Announcement

Collapse
No announcement yet.

Broken code showing

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

  • GaryT
    replied
    Problem fixed. It was as shown in the source of page but was from the integration of custom content from another page? Make any sense? So, basically it was a vba issue.

    Thanks guys

    Leave a comment:


  • GaryT
    replied
    Originally posted by Zachery View Post
    I've already provided the anwser, its this snipet of code

    <meta name="description" content="<meta name="robots" content "none">" />


    Its being generated by your Meta description in the admincp under the vBulletin Options
    I see that when I view source through browser. I removed that and all meta in admincp > vbulletin options > and it's still there when I view source. Must be the ghost of Christmas past. I'll keep digging. Thanks

    Leave a comment:

  • steven s
    Senior Member

  • steven s
    replied
    I thought it was just a guess?

    Leave a comment:

  • Zachery
    Former vBulletin Support

  • Zachery
    replied
    I've already provided the anwser, its this snipet of code

    <meta name="description" content="<meta name="robots" content "none">" />


    Its being generated by your Meta description in the admincp under the vBulletin Options

    Leave a comment:


  • GaryT
    replied
    Originally posted by 1996 328ti View Post
    Might be easier to simply provide a link.

    Maybe it's your peel script?
    Just activated the peel script about 30 minutes ago.

    Leave a comment:

  • steven s
    Senior Member

  • steven s
    replied
    Might be easier to simply provide a link.

    Maybe it's your peel script?

    Leave a comment:


  • GaryT
    replied
    Originally posted by Zachery View Post
    Providing a link to your site to help debug errors is always useful
    Zach I don't know what I was thinking. Of course it would have helped but, I guess I was so tired from looking I simply overlooked the obvious.

    I think that is much the case for a lot of folk when they're not real comfortable working with code.

    Leave a comment:


  • GaryT
    replied
    Originally posted by turkforum View Post
    Check the /includes/config.php
    I looked at it but I've never done anything to that file. It looks like more than I could handle anyway.

    Leave a comment:


  • GaryT
    replied
    Originally posted by Hatsu View Post
    Look at the beginning of your header or headinclude template.
    This from my header code...

    Code:
    <a name="top"></a>
    
    <div class="body2" align="center">
        <div style="width:$stylevar[outerdivwidth];">
    
    <div style="text-align:left">
        <div class="nav">
        <a href="<if condition="$vboptions['hometitle']">$vboptions[homeurl]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>">Return Home</a> &nbsp; - &nbsp;
                <a href="http://www.publicwarriors.com/forums/forumdisplay.php?do=markread">Mark Forums Read</a> &nbsp; - &nbsp;
                <a href="http://www.publicwarriors.com/forums/view.php?pg=info_aboutus">About us</a> &nbsp; - &nbsp;
                <a href="$vboptions[contactuslink]">Contact</a> &nbsp; &nbsp;
    </div>
        <a class="logo" href="$vboptions[forumhome].php$session[sessionurl_q]">&nbsp;</a>
    </div>
    
    <div class="main">
    
    <div class="memberbar">
        <div class="console">
            <span>Site Links:</span>
            <a href="http://www.publicwarriors.com/forums/all_albums.php">Albums</a>
            <a href="http://www.publicwarriors.com/forums/arcade.php">Arcade</a>
            <a href="http://www.publicwarriors.com/forums/blog.php?">Blog</a>
            <a href="http://www.publicwarriors.com/forums/misc.php?do=flashchat&room=1">Chat</a>
            <a href="http://www.publicwarriors.com/gary/popup.html" target="page" onclick="window.open('','page','toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=475,height=290,left=50,top=50,titlebar=yes')">MP3 Player</a>
            <a href="http://www.publicwarriors.com/forums/radioandtv.php" target="page" onclick="window.open('','page','toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=900,height=500,left=50,top=50,titlebar=yes')">Radio & TV</a>
                            <a href="worldmap.php$session[sessionurl_q]">Members World Map</a>
                    <a href="http://www.publicwarriors.com/forums/easy_pages.php?p=2" target="_self">Buy & Sell</a>
                    <a href="http://www.publicwarriors.com/tlr" target="_new">Author's Site</a>
    </div>
        <div class="member">
        <if condition="$show['member']">
            <div class="smallfont">
                <strong><phrase 1="$bbuserinfo[username]" 2="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[welcome_x_link_y]</phrase></strong>
                <if condition="$show['notifications'] AND $show['popups']">
                    <span id="notifications"><a href="usercp.php$session[sessionurl_q]">$vbphrase[your_notifications]:</a> <strong>$notifications_total</strong></span>
                    <script type="text/javascript"> vBmenu.register("notifications"); </script>
                <else /><if condition="$show['pmstats']">
                    <phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase>
                </if></if>
            </div>
        <else />
            <!-- login form -->
            <form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
            <script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
            
            <input type="image" src="images/styles/bgear/style/button_go.gif" value="" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" />
            <input type="password" class="bginput" name="vb_login_password" id="navbar_password" size="10" tabindex="102" />
            <input type="text" class="bginput" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" />
            <span>Log In:</span>
            
            <input type="hidden" name="s" value="$session[sessionhash]" />
            <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
            <input type="hidden" name="do" value="login" />
            <input type="hidden" name="cookieuser" value="1" />
            <input type="hidden" name="vb_login_md5password" />
            <input type="hidden" name="vb_login_md5password_utf" />
            </form>
            <!-- / login form -->
        </if>
        </div>
    </div>
    
    <div class="banner">
        
    </div>
    
        <td class="content">
    
    <div class="forumlinks">
        <a href="$vboptions[forumhome].php$session[sessionurl_q]">Forum Index</a> &nbsp; - &nbsp;
        <if condition="$show['member']"><a href="usercp.php$session[sessionurl_q]">User CP</a> &nbsp; - &nbsp;</if>
        <a href="memberlist.php$session[sessionurl_q]">Member List</a> &nbsp; - &nbsp;
        <a href="search.php?$session[sessionurl]do=getnew">New Posts</a> &nbsp; - &nbsp;
        <a id="navbar_search" href="search.php$session[sessionurl_q]">Search</a> &nbsp; - &nbsp; <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search", 1); </script></if>
        <if condition="$show['member']"><a id="usercptools" href="$show[nojs_link]#usercptools">Quick Links</a> &nbsp; - &nbsp; <script type="text/javascript"> vbmenu_register("usercptools", 1); </script></if>
        <if condition="$show['member']"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]">Logout</a></if>
        <if condition="$show['registerbutton']"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></if>
    </div>
    
    <div style="padding:4px">
    
    <!-- content table -->
    $_phpinclude_output
    $cornerpeeler1
    and this from my headerinclude....

    Code:
    <meta http-equiv="Content-Type" content="text/html; charset=$stylevar[charset]" />
    <meta name="generator" content="vBulletin $vboptions[templateversion]" />
    <if condition="$show['threadinfo']">
    <meta name="keywords" content="<if condition="$threadinfo['taglist']">$threadinfo[taglist], </if>$threadinfo[prefix_plain_html] $threadinfo[title], $vboptions[keywords]" />
    <meta name="description" content="<if condition="$pagenumber>1"><phrase 1="$pagenumber">$vbphrase[page_x]</phrase>-</if>$threadinfo[prefix_plain_html] $threadinfo[title] $foruminfo[title_clean]" />
    <else /><if condition="$show['foruminfo']">
    <meta name="keywords" content="$foruminfo[title_clean], $vboptions[keywords]" />
    <meta name="description" content="<if condition="$pagenumber>1"><phrase 1="$pagenumber">$vbphrase[page_x]</phrase>-</if>$foruminfo[description_clean]" />
    <else />
    <meta name="keywords" content="$vboptions[keywords]" />
    <meta name="description" content="$vboptions[description]" />
    </if></if>
    
    <!-- CSS Stylesheet -->
    $style[css]
    <if condition="is_browser('opera') AND !is_browser('opera', '8.0.1')">
    <style type="text/css" id="vbulletin_opera8fix_css">
    ul, ol { padding-$stylevar[left]:20px; }
    </style>
    </if>
    <if condition="$show['editor_css']">
    $editor_css
    </if>
    <!-- / CSS Stylesheet -->
    
    <script type="text/javascript" src="$stylevar[yuipath]/yahoo-dom-event/yahoo-dom-event.js?v=$vboptions[simpleversion]"></script>
    <script type="text/javascript" src="$stylevar[yuipath]/connection/connection-min.js?v=$vboptions[simpleversion]"></script>
    <script type="text/javascript">
    <!--
    var SESSIONURL = "$session[sessionurl_js]";
    var SECURITYTOKEN = "$bbuserinfo[securitytoken]";
    var IMGDIR_MISC = "$stylevar[imgdir_misc]";
    var vb_disable_ajax = parseInt("$vboptions[disable_ajax]", 10);
    // -->
    </script>
    <script type="text/javascript" src="clientscript/vbulletin_global.js?v=$vboptions[simpleversion]"></script>
    <if condition="$show['popups']"><script type="text/javascript" src="clientscript/vbulletin_menu.js?v=$vboptions[simpleversion]"></script></if>
    
    <if condition="$vboptions['externalrss']">
        <link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] RSS Feed" href="external.php?type=RSS2" />
        <if condition="$show['foruminfo'] OR $show['threadinfo']">
            <link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] - $foruminfo[title_clean] - RSS Feed" href="external.php?type=RSS2&amp;forumids=$foruminfo[forumid]" />
        </if>
    </if>
    See anything? I've looked until my eyeballs hurt

    Leave a comment:

  • turkforum
    Senior Member

  • turkforum
    replied
    Check the /includes/config.php

    Leave a comment:

  • Hatsu
    Senior Member

  • Hatsu
    replied
    Look at the beginning of your header or headinclude template.

    Leave a comment:

  • Zachery
    Former vBulletin Support

  • Zachery
    replied
    Providing a link to your site to help debug errors is always useful

    If i had to take a stab in the dark its this line

    <meta name="description" content="<meta name="robots" content "none">" />

    You need to edit the admincp > vbulletin options >

    And change the meta description setting.

    Leave a comment:


  • GaryT
    started a topic Broken code showing

    Broken code showing

    I've looked in the index.php and can't find the broken code (as shown in image below) The broken code shows up on all the styles I have. Any ideas?

Related Topics

Collapse

Working...
X