Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 09-19-2009, 03:09 AM
HeWatchesOverUs HeWatchesOverUs is offline
 
Join Date: Aug 2009
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default ~ Sidebar Link Help ~

I have an issue that I'm having trouble figuring out. I have the Battle Gear Skin and I have changed the Sidebar alittle to go with my nitch, but what I have also done is switch the location of the "Sponsor Link" with a "Verse Of The Day Link". Now buy doing this anything below the Sponsor Link is not sitting flush to the forum like above it and I know it's something simple that I'm overlooking in the code.

If anyone can assit with this issue, it would be much appreciate. I have attached the code so that you can see where the error could be. Thanks in advance for any help on this.


Here is the site so that you can see what I'm talking about. www.christianforumcafe.com



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="#">Ladders</a> &nbsp; - &nbsp;
  <a href="#">Tournaments</a> &nbsp; - &nbsp;
  <a href="$vboptions[forumhome].php$session[sessionurl_q]">Forums</a> &nbsp; - &nbsp;
  <a href="$vboptions[contactuslink]">Contact</a> &nbsp; - &nbsp;
  <a href="#">Advertising</a>
 </div>
 <a class="logo" href="$vboptions[forumhome].php$session[sessionurl_q]">&nbsp;</a>
</div>
<div class="main">
<div class="memberbar">
 <div class="console">
  <span>Select Console:</span>
  <a href="#">Wii</a>
  <a href="#">Playstation 3</a>
  <a href="#">XBOX</a>
  <a href="#">XBOX 360</a>
  <a href="#">PS2</a>
  <a href="#">PC</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']">
            <div><span id="notifications"><a href="usercp.php$session[sessionurl_q]">$vbphrase[your_notifications]:</a> <strong>$notifications_total</strong></span></div>
            <if condition="$show['popups']">
                <script type="text/javascript"> vBmenu.register("notifications"); </script>
            <else />
                <script type="text/javascript" src="clientscript/vbulletin_notifications_nopopups.js?v=$vboptions[simpleversion]"></script>
                <script type="text/javascript"> vBulletin.register_control("vB_Notifications_NoPopups", "notifications");  </script>
            </if>
        <else /><if condition="$show['pmstats']">
            <div><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></div>
        </if></if>
 
        <if condition="$show['pmwarning']"><div><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></div></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="{IF}/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>
<table cellpadding="0" cellspacing="0" width="100%">
<tr valign="top">
<if condition="THIS_SCRIPT=='index'">
 <td class="sidebar">
  <div class="sidebar_cat">Navigation</div>
  <div class="sidebar_menu"><a href="#">MAIN CATEGORY</a></div>
  <div class="sidebar_menu"><a href="#">RELIGIONS</a></div>
  <div class="sidebar_menu"><a href="#">FELLOWSHIP</a></div>
  <div class="sidebar_menu"><a href="#">PRAYERS & PRAISE</a></div>
  <div class="sidebar_menu"><a href="#">TEENS & YOUTH</a></div>
                  <div class="sidebar_menu"><a href="#">NEWS & EVENTS</a></div>
                  <div class="sidebar_menu"><a href="#">SUPPORT</a></div>
  <div class="sidebar_cat">Members Area</div>
  <div class="sidebar_menu"><a href="#">MY ACCOUNT</a></div>
  <div class="sidebar_menu"><a href="#">MY MESSAGES</a></div>
  <div class="sidebar_menu"><a href="#">MY FRIENDS</a></div>
  <div class="sidebar_menu"><a href="#">MY THREADS</a></div>
  <div class="sidebar_cat">Verse Of The Day</div>
<div class="sidebar_content" align="center">
 
<script type="text/javascript" language="JavaScript" src="http://www.biblegateway.com/votd/votd.write.callback.js"> 
</script>
<script type="text/javascript" language="JavaScript" src="http://www.biblegateway.com/votd/get?format=json&version=31&callback=BG.votdWriteCallback"> 
</script>
<!-- alternative for no javascript -->
<noscript>
<iframe framespacing="0" frameborder="no" src="http://www.biblegateway.com/votd/get?format=html&version=31">View Verse of the Day</iframe> 
</noscript>
 
</br>
 
<div class="sidebar_cat">Sponsors</div>
<div class="sidebar_content"></div>
              <br />  
              <div align="center">  
              <a href="http://www.vbskinworks.com"><img src="$stylevar[imgdir_misc]/vbsw125.jpg" alt="" border="0" /></a></div>
  
 </td>
</if>
 <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>
        <if condition="$show['registerbutton']">
            <a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a> &nbsp; - &nbsp;
        </if>
        $template_hook[navbar_buttons_left]
 <if condition="$show['communitylink'] AND $show['popups']">
            <a id="community" href="$show[nojs_link]#community" rel="nofollow" accesskey="6">$vbphrase[community]</a> &nbsp; - &nbsp; <script type="text/javascript"> vbmenu_register("community", 1); </script>
        <else />
            <if condition="$vboptions['enablememberlist']">
                <a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a> &nbsp; - &nbsp;
            </if></if>
 <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>
        $template_hook[navbar_buttons_right]
 <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
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:48 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03092 seconds
  • Memory Usage 2,187KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete