Announcement

Collapse
No announcement yet.

change html tag

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [Forum] change html tag

    hi all,

    i want to change
    this tag
    PHP Code:
    <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en" id="vbulletin_html"
    to be this
    PHP Code:
    <html xmlns="http://www.w3.org/1999/xhtml"
    how i can do it?

    thanks in advance for your help

    with my regards

    saaddaas

  • #2
    What would you be wanting to change these? There are many different templates with this in them, you will need to search for that and find all the templates affected.
    Vote for:

    - *Admin Settable Paid Subscription Reminder Timeframe*
    -
    *PM - Add ability to reply to originator only*
    - Add Admin ability to auto-subscribe users to specific channel(s)
    - Highlight the correct navigation tab when you are on a custom page
    - "Quick Route" Interface...
    - Allow to use custom icons for individual forums

    Comment


    • #3
      yes, we have many different templates,

      please i need to know how to change : <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en" id="vbulletin_html">

      to this one:<html xmlns="http://www.w3.org/1999/xhtml">

      thanks in advance for your help

      regrads


      saad

      Comment


      • #5
        hi,

        i search a lot inside templates that contain and not find it
        please can you tell where it exactly inside templates that contain

        thanks in advance for your help

        regards

        saad

        Comment


        • #6
          Search for the code:
          HTML Code:
          <html xmlns="http://www.w3.org/1999/xhtml"<vb:if condition="$vboptions['enablefacebookconnect']"> xmlns:fb="http://www.facebook.com/2008/fbml"</vb:if> dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html">
          Replace it with what you want... But it makes no sense to do this.

          Comment


          • #7
            Actually, wouldn't apache think this an html document? If so then apache would try to cache it as html even though php is not assigned to be cached according to the contents of the htaccess file below.

            Code:
            # BEGIN W3TC Browser Cache
            <IfModule mod_mime.c>
                AddType text/css .css
                AddType text/x-component .htc
                AddType text/html .html .htm .shtml
                AddType text/richtext .rtf .rtx
                AddType image/svg+xml .svg .svgz
                AddType text/plain .txt
                AddType text/xsd .xsd
                AddType text/xsl .xsl
                AddType text/xml .xml
                AddType video/asf .asf .asx .wax .wmv .wmx
                AddType video/avi .avi
                AddType image/bmp .bmp
                AddType application/java .class
                AddType video/divx .divx
                AddType application/msword .doc .docx
                AddType application/vnd.ms-fontobject .eot
                AddType application/x-msdownload .exe
                AddType image/gif .gif
                AddType application/x-gzip .gz .gzip
                AddType image/x-icon .ico
                AddType image/jpeg .jpg .jpeg .jpe
                AddType application/vnd.ms-access .mdb
                AddType audio/midi .mid .midi
                AddType video/quicktime .mov .qt
                AddType audio/mpeg .mp3 .m4a
                AddType video/mp4 .mp4 .m4v
                AddType video/mpeg .mpeg .mpg .mpe
                AddType application/vnd.ms-project .mpp
                AddType application/x-font-otf .otf
                AddType application/vnd.oasis.opendocument.database .odb
                AddType application/vnd.oasis.opendocument.chart .odc
                AddType application/vnd.oasis.opendocument.formula .odf
                AddType application/vnd.oasis.opendocument.graphics .odg
                AddType application/vnd.oasis.opendocument.presentation .odp
                AddType application/vnd.oasis.opendocument.spreadsheet .ods
                AddType application/vnd.oasis.opendocument.text .odt
                AddType audio/ogg .ogg
                AddType application/pdf .pdf
                AddType image/png .png
                AddType application/vnd.ms-powerpoint .pot .pps .ppt .pptx
                AddType audio/x-realaudio .ra .ram
                AddType application/x-shockwave-flash .swf
                AddType application/x-tar .tar
                AddType image/tiff .tif .tiff
                AddType application/x-font-ttf .ttf .ttc
                AddType audio/wav .wav
                AddType audio/wma .wma
                AddType application/vnd.ms-write .wri
                AddType application/vnd.ms-excel .xla .xls .xlsx .xlt .xlw
                AddType application/zip .zip
            </IfModule>
            <IfModule mod_expires.c>
                ExpiresActive On
                ExpiresByType text/css A2628000
                ExpiresByType text/x-component A32628000
                ExpiresByType text/html A2628000
                ExpiresByType text/richtext A2628000
                ExpiresByType image/svg+xml A2628000
                ExpiresByType text/plain A2628000
                ExpiresByType text/xsd A2628000
                ExpiresByType text/xsl A2628000
                ExpiresByType text/xml A2628000
                ExpiresByType video/asf A2628000
                ExpiresByType video/avi A2628000
                ExpiresByType image/bmp A2628000
                ExpiresByType application/java A2628000
                ExpiresByType video/divx A2628000
                ExpiresByType application/msword A2628000
                ExpiresByType application/vnd.ms-fontobject A2628000
                ExpiresByType application/x-msdownload A2628000
                ExpiresByType image/gif A2628000
                ExpiresByType application/x-gzip A2628000
                ExpiresByType image/x-icon A2628000
                ExpiresByType image/jpeg A2628000
                ExpiresByType application/vnd.ms-access A2628000
                ExpiresByType audio/midi A2628000
                ExpiresByType video/quicktime A2628000
                ExpiresByType audio/mpeg A2628000
                ExpiresByType video/mp4 A2628000
                ExpiresByType video/mpeg A2628000
                ExpiresByType application/vnd.ms-project A2628000
                ExpiresByType application/x-font-otf A2628000
                ExpiresByType application/vnd.oasis.opendocument.database A2628000
                ExpiresByType application/vnd.oasis.opendocument.chart A2628000
                ExpiresByType application/vnd.oasis.opendocument.formula A2628000
                ExpiresByType application/vnd.oasis.opendocument.graphics A2628000
                ExpiresByType application/vnd.oasis.opendocument.presentation A2628000
                ExpiresByType application/vnd.oasis.opendocument.spreadsheet A2628000
                ExpiresByType application/vnd.oasis.opendocument.text A2628000
                ExpiresByType audio/ogg A2628000
                ExpiresByType application/pdf A2628000
                ExpiresByType image/png A2628000
                ExpiresByType application/vnd.ms-powerpoint A2628000
                ExpiresByType audio/x-realaudio A2628000
                ExpiresByType image/svg+xml A2628000
                ExpiresByType application/x-shockwave-flash A2628000
                ExpiresByType application/x-tar A2628000
                ExpiresByType image/tiff A2628000
                ExpiresByType application/x-font-ttf A2628000
                ExpiresByType audio/wav A2628000
                ExpiresByType audio/wma A2628000
                ExpiresByType application/vnd.ms-write A2628000
                ExpiresByType application/vnd.ms-excel A2628000
                ExpiresByType application/zip A2628000
            </IfModule>
            <IfModule mod_deflate.c>
                <IfModule mod_setenvif.c>
                    BrowserMatch ^Mozilla/4 gzip-only-text/html
                    BrowserMatch ^Mozilla/4\.0[678] no-gzip
                    BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
                    BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
                </IfModule>
                <IfModule mod_headers.c>
                    Header append Vary User-Agent env=!dont-vary
                </IfModule>
                <IfModule mod_filter.c>
                    AddOutputFilterByType DEFLATE text/css application/x-javascript text/x-component text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon
                </IfModule>
            </IfModule>
            <FilesMatch "\.(css|htc|CSS|HTC)$">
                <IfModule mod_headers.c>
                    Header set Pragma "public"
                    Header append Cache-Control "public, must-revalidate, proxy-revalidate"
                </IfModule>
                FileETag MTime Size
            </FilesMatch>
            <FilesMatch "\.(html|htm|rtf|rtx|shtml|svg|svgz|txt|xsd|xsl|xml|HTML|HTM|RTF|RTX|SVG|SVGZ|TXT|XSD|XSL|XML)$">
                <IfModule mod_headers.c>
                    Header set Pragma "public"
                    Header append Cache-Control "public, must-revalidate, proxy-revalidate"
                </IfModule>
                FileETag MTime Size
            </FilesMatch>
            <FilesMatch "\.(asf|asx|wax|wmv|wmx|avi|bmp|class|divx|doc|docx|eot|exe|gif|gz|gzip|ico|jpg|jpeg|jpe|mdb|mid|midi|mov|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|mpp|otf|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|png|pot|pps|ppt|pptx|ra|ram|svg|svgz|swf|tar|tif|tiff|ttf|ttc|wav|wma|wri|xla|xls|xlsx|xlt|xlw|zip|ASF|ASX|WAX|WMV|WMX|AVI|BMP|CLASS|DIVX|DOC|DOCX|EOT|EXE|GIF|GZ|GZIP|ICO|JPG|JPEG|JPE|MDB|MID|MIDI|MOV|QT|MP3|M4A|MP4|M4V|MPEG|MPG|MPE|MPP|OTF|ODB|ODC|ODF|ODG|ODP|ODS|ODT|OGG|PDF|PNG|POT|PPS|PPT|PPTX|RA|RAM|SVG|SVGZ|SWF|TAR|TIF|TIFF|TTF|TTC|WAV|WMA|WRI|XLA|XLS|XLSX|XLT|XLW|ZIP)$">
                <IfModule mod_headers.c>
                    Header set Pragma "public"
                    Header append Cache-Control "public, must-revalidate, proxy-revalidate"
                </IfModule>
                FileETag MTime Size
            </FilesMatch>
            # END W3TC Browser Cache
            Originally posted by BirdOPrey5 View Post
            Search for the code:
            HTML Code:
            <html xmlns="http://www.w3.org/1999/xhtml"<vb:if condition="$vboptions['enablefacebookconnect']"> xmlns:fb="http://www.facebook.com/2008/fbml"</vb:if> dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html">
            Replace it with what you want... But it makes no sense to do this.
            More specifically I'm concerned about the entire top part.

            PHP Code:
            <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
            <
            html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en" id="vbulletin_html">
            <
            head>
                <
            meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> 
            Last edited by scylla22; Wed 28th Mar '12, 7:30am.

            Comment

            widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
            Working...
            X