vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Fixed Sidebar On All Pages (left side) (https://vborg.vbsupport.ru/showthread.php?t=128702)

needtheend 12-07-2006 06:03 AM

done. thanx

Ronak 12-15-2006 04:09 AM

Yeah i have installed your only Left Side On Forumhome hack...but i want on all pages so thought this hack wud help ??

i just want to know can i disable the scrolling effect on all pages by any way ?

peterska2 12-15-2006 03:23 PM

amykhar released a sidebar on all pages for 3.5.x which works on 3.6.x that does not have the scrolling effect.

rareclownfish 01-02-2007 12:08 AM

Here is my forum header template, I can't find where to put your code.
Thanks for looking.

Code:

<div id="wrapper">
<div id="container">

$spacer_open

<div class="tborder">
<div id="top"><div id="stats"><span>$vbphrase[threads]: $totalthreads, $vbphrase[posts]: $totalposts, $vbphrase[members]: $numbermembers</span></div><div id="online"><span>$vbphrase[online]: $headerusers</span></div></div>
<div id="headercont">
<div id="headerleftbkg">
<div id="header">

<div id="login">

<if condition="$show['member']">

                <div class="smallfont">
                        <strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
                        <phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
                        <if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if>
                </div>
               
        <else />
                       
                <!-- login form -->
                <form action="login.php" 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"></script>
                <table cellspacing="0" cellpadding="0" border="0">
                <tr>
                        <td class="smallfont"><label for="navbar_username">$vbphrase[username]</label></td>
                        <td><input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td>
                        <td class="smallfont" colspan="2" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />$vbphrase[remember_me]</label></td>
                </tr>
                <tr>
                        <td class="smallfont"><label for="navbar_password">$vbphrase[password]</label></td>
                        <td><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" accesskey="p" tabindex="102" /></td>
                        <td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td>
                </tr>
                </table>
                <input type="hidden" name="s" value="$session[sessionhash]" />
                <input type="hidden" name="do" value="login" />               
                <input type="hidden" name="vb_login_md5password" />
                <input type="hidden" name="vb_login_md5password_utf" />
                </form>
                <!-- / login form -->
               
        </if>       
       

</div>

<div id="logo">
<a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></div>

<div id="avatarbox">
$navbaravatar
</div>


                        <table id="nav" cellpadding="0" cellspacing="0" border="0" width="70%" align="left">
        <tr align="center">
                        <td class="vbmenu_control" style="border-left-width: 0px;"><a href="$vbpoptions[portalhome]">Home</a></td>
                        <td class="vbmenu_control" style="border-left-width: 0px;"><a href="$vbpoptions[bbdir]/index.php">Forums</a></td>
                <if condition="$show['member']">
                        <td class="vbmenu_control" style="border-left-width: 0px;"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
                </if>
                <if condition="$show['registerbutton']">
                        <td class="vbmenu_control" style="border-left-width: 0px;"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
                </if>
                <td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
                <td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
                <td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
                <if condition="$show['popups']">               
                        <if condition="$show['searchbuttons']">
                                <if condition="$show['member']">
                                <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
                                <else />
                                <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
                                </if>
                                <td id="navbar_search" class="vbmenu_control"<if condition="!$show[member]"> style="border-right-width: 0px;"</if>><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <script type="text/javascript"> vbmenu_register("navbar_search",true); </script></td>
                        </if>
                        <if condition="$show['member']">
                                <td id="usercptools" class="vbmenu_control"><a href="$show[nojs_link]#usercptools">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools",true); </script></td>               
                        </if>
                <else />               
                        <if condition="$show['searchbuttons']">
                                <td class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>
                                <if condition="$show['member']">
                                <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
                                <else />
                                <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
                                </if>
                        </if>
                        <td class="vbmenu_control"<if condition="!$show[member]"> style="border-right-width: 0px;"</if>><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td>
                        <if condition="$show['member']">                       
                                <td class="vbmenu_control"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td>                       
                        </if>                       
                </if>
                <if condition="$show['member']">
                        <td class="vbmenu_control" style="border-right-width: 0px;"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">$vbphrase[log_out]</a></td>
                </if>
<td width="13"><img src="{IF}/misc/navright.gif" alt="" /></td>
        </tr>
        </table>
</div>
</div>
</div>
<div id="headerfoot"></div>
</div>

<!-- content table -->

$_phpinclude_output


peterska2 01-02-2007 01:33 AM

try just above
Code:

$spacer_open
It may not work there though due to your heavily modified template. If it doesn't, please export your style and attach it then I can have a better look.

Masked Crusader 01-19-2007 08:51 PM

Hey Kerry-Anne.

Got a little bit of an issue. I also have a very heavily modded header template. The left column is showing up fine, it is just its starting position that I have an issue with. Take a look at my site as soon as you have a chance. Thanks for your time.

http://www.defyingevolution.com

peterska2 01-20-2007 09:25 PM

Try using the instructions given above. I've only just had chance to look at this, and there is nothing on your site to even give a clue as to what is not right.

brookemegg 02-06-2007 02:21 AM

Thanks for the great mod :D

I have installed a Top Posters mod and would like to put a link to that in my left-hand nav bar. Is this possible? If so, what is the exact code to put in there?

Thanks!

tutusinghsohi 02-06-2007 09:15 PM

can we display google adsense ad's on this side box?

peterska2 02-06-2007 10:52 PM

Quote:

Originally Posted by brookemegg (Post 1175703)
Thanks for the great mod :D

I have installed a Top Posters mod and would like to put a link to that in my left-hand nav bar. Is this possible? If so, what is the exact code to put in there?

Thanks!

You would need to be able to use the top posters mod on a global basis in order to use it in the sidebar. You will need to get that sorted out with the author of the modification that you are using first.

Quote:

Originally Posted by tutusinghsohi (Post 1176350)
can we display google adsense ad's on this side box?

Yes, although please do be aware of googles T&C's which require that ads are not placed on certain pages.


All times are GMT. The time now is 03:35 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.01132 seconds
  • Memory Usage 1,770KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete