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)

Mecho 11-14-2006 12:47 PM

Quote:

Originally Posted by djlotus (Post 1105806)
I really love this hack, BUT since it connaot be displayed below the navbar, I cannont use it.:hurt: Any suggestions on how to/where to find an identical hack, that works below the navbar.:confused:

yea . i need it too .

Thanks

Ronak 11-22-2006 04:12 AM

anyway to disable the scrolling effect ??

MAME 11-28-2006 12:22 AM

Ok well I added the menu and I see the text perfectly. How do I make it link to pages now. Im sorry. Im very new to this. I dont even know what language this is to learn. lol. From the text below, can you describe whic portion is used for what and where I would put a link to another page pleeease.

My Menu
</td>
</tr> <-- do I add a link in here? eg. <a href="http://wwww..blah..com>?
<tr>
<td class="alt1"> <----whats this mean?
News
</td>
</tr>
<tr>
<td class="alt1">
Gameplay Tips

peterska2 11-28-2006 02:13 AM

The language used for this is HTML

In a table (which is what is used here) you have two main parts. A tr is a row across the table and a td is a cell in that table.

Your content needs to go between a <td> and an </td>

To add a link use <a href="YOUR LINK HERE">text here</a>

swatkins 11-28-2006 04:08 PM

Quote:

Originally Posted by Ronak (Post 1122752)
anyway to disable the scrolling effect ??

I was wondering this also.. I sure could use the space to place a few more boxes but can't because of the scroll..

Thanks for the great mod !

peterska2 11-28-2006 04:15 PM

Quote:

Originally Posted by Ronak (Post 1122752)
anyway to disable the scrolling effect ??

Quote:

Originally Posted by swatkins (Post 1127349)
I was wondering this also.. I sure could use the space to place a few more boxes but can't because of the scroll..

Thanks for the great mod !

Have a look in my profile for the left column on forumhome only

dadu911 12-03-2006 09:15 PM

How do i add a block or edit the current block? Can't seem to find in header template where the code is for the block?

peterska2 12-03-2006 09:48 PM

Look in the code you added to the header template for Heading and Content. I included 1 heading and 8 content sections as default.

needtheend 12-06-2006 09:22 PM

I do all changes correctly but something is wrong :) There is a problem like in the picture below. How can i fix it?

http://resim.betonarme.com/out.php/t123_nt.JPG

My header:

Code:

<!-- logo -->
<a name="top"></a>
<!-- main table --><table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center" class="maintable">
<tr>
        <td><!-- content table --><table border="0" width="100%" cellpadding="0" cellspacing="0" align="center">
<tr>
        <td class="header-row"><table border="0" cellspacing="0" cellpadding="0" class="header-table" width="100%">
        <tr>
                <td align="$stylevar[right]" width="9"><img src="$stylevar[imgdir_misc]/logo_left.gif" width="9" height="92" border="0" alt="" /></td>
                <td align="$stylevar[left]" class="header-table-row"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" height="92" alt="$vboptions[bbtitle]" /></a></td>
                <td align="$stylevar[right]" valign="bottom" width="100%" style="padding: 5px" nowrap="nowrap" class="header-table-row">

                <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>
                        <if condition="$show['pmwarning']"><br /><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></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>
                <table cellpadding="0" cellspacing="$stylevar[formspacer]" 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" 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>       

                </td>
                <td width="9" align="$stylevar[right]" class="header-table-row"><img src="$stylevar[imgdir_misc]/logo_right.gif" width="9" height="92" border="0" alt="" /></td>
        </tr>
        </table></td>
</tr>
<!-- /logo -->
<!-- peterska2 fixed sidebar header edit start -->
<div class="page">
<span>
<div id="navigation">
<table width="160" cellspacing="$stylevar[cellspacing]" cellpadding="$stylevar[cellpadding]" border="0" class="tborder">
<tr>
<td class="tcat">
Heading
</td>
</tr>
<tr>
<td class="alt1">
Content
</td>
</tr>
<tr>
<td class="alt1">
Content
</td>
</tr>
<tr>
<td class="alt1">
Content
</td>
</tr>
<tr>
<td class="alt1">
Content
</td>
</tr>
<tr>
<td class="alt1">
Content
</td>
</tr>
<tr>
<td class="alt1">
Content
</td>
</tr>
<tr>
<td class="alt1">
Content
</td>
</tr>
<tr>
<td class="alt1">
Content
</td>
</tr>
</table>
</div>
</span>
<div id="content">
<!-- peterska2 fixed sidebar header edit end -->

<!-- nav buttons bar -->
<script type="text/javascript">
<!--
function log_out()
{
        ht = document.getElementsByTagName("html");
        ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)";
        if (confirm('$vbphrase[sure_you_want_to_log_out]'))
        {
                return true;
        }
        else
        {
                ht[0].style.filter = "";
                return false;
        }
}
//-->
</script>

<tr>
        <td style="border: none; padding: 0;"><table border="0" cellspacing="0" cellpadding="0" width="100%">
        <tr>
                <td width="9" align="right" valign="bottom"><img src="$stylevar[imgdir_misc]/nav_top_left.gif" width="9" height="2" border="0" alt="" /></td>
                <td width="100%" class="navbar-top-row"><img src="$vboptions[cleargifurl]" width="1" height="2" border="0" alt="" /></td>
                <td width="9" align="left" valign="bottom"><img src="$stylevar[imgdir_misc]/nav_top_right.gif" width="9" height="2" border="0" alt="" /></td>
        </tr>
        </table></td>
</tr>
<tr>
        <td class="navbar-row" align="center"><table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" class="navbar-row-table">
        <tr align="center" class="vbmenu_dark">
                <td width="9" align="right" style="padding: 0;"><img src="$stylevar[imgdir_misc]/nav_left.gif" width="9" height="21" border="0" alt="" /></td>
                <if condition="$show['member']">
                        <td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
                </if>
                <if condition="$show['registerbutton']">
                        <td class="vbmenu_control"><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"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search"); </script></if></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"); </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"><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"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">$vbphrase[log_out]</a></td>
                </if>
                <td width="9" align="left" style="padding: 0;"><img src="$stylevar[imgdir_misc]/nav_right.gif" width="9" height="21" border="0" alt="" /></td>
        </tr>
        </table></td>
</tr>

<!-- content table -->
$spacer_open

$_phpinclude_output


my footer:

Code:

<br />
<div class="smallfont" align="center">$vbphrase[all_times_are_gmt_x_time_now_is_y]</div>
<br />

$spacer_close
<!-- /content area table -->
<!-- peterska2 fixed sidebar footer edit start -->
</div>
</div>
<!-- peterska2 fixed sidebar footer edit end -->
<tr>
<form action="$vboptions[forumhome].php" method="get" style="display: inline;">
        <td class="footer-row"><table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" class="page" align="center">
<tr>
        <if condition="$show['quickchooser']">
                <td class="tfoot">
                        <select name="styleid" onchange="switch_id(this, 'style')">
                                <optgroup label="$vbphrase[quick_style_chooser]">
                                        $quickchooserbits
                                </optgroup>
                        </select>
                </td>
        </if>
        <if condition="$show['languagechooser']">
                <td class="tfoot">
                        <select name="langid" onchange="switch_id(this, 'lang')">
                                <optgroup label="$vbphrase[quick_language_chooser]">
                                        $languagechooserbits
                                </optgroup>
                        </select>
                </td>
        </if>
        <td class="tfoot" align="$stylevar[right]" width="100%">
                <div class="smallfont">
                        <strong>
                                <if condition="$show['contactus']"><a href="$vboptions[contactuslink]" rel="nofollow">$vbphrase[contact_us]</a> -</if>
                                <if condition="$vboptions['hometitle']"><a href="$vboptions[homeurl]">$vboptions[hometitle]</a> -</if>
                                <if condition="$show['admincplink']"><a href="$admincpdir/index.php$session[sessionurl_q]">$vbphrase[admin]</a> -</if>
                                <if condition="$show['modcplink']"><a href="$modcpdir/index.php$session[sessionurl_q]">$vbphrase[mod]</a> -</if>
                                <if condition="$vboptions['archiveenabled']"><a href="archive/index.php">$vbphrase[archive]</a> -</if>
                                <if condition="$vboptions[privacyurl]"><a href="$vboptions[privacyurl]">$vbphrase[privacy_statement]</a> -</if>
                                <a href="#top" onclick="self.scrollTo(0, 0); return false;">$vbphrase[top]</a>
                        </strong>
                </div>
        </td>
</tr>
</table><!-- / footer table --></td>
</tr>
</table><!-- / content table --></td>
</tr>
</table><!-- / main table -->

<br />

<div align="center">
        <div class="smallfont" align="center">
        <!-- Do not remove this copyright notice -->
        Design by <a href="http://www.stsoftware.biz">Vjacheslav Trushkin</a>.<br />
        $vbphrase[powered_by_vbulletin]
        <!-- Do not remove this copyright notice -->
        </div>
       
        <div class="smallfont" align="center">
        <!-- Do not remove $cronimage or your scheduled tasks will cease to function -->
        $cronimage
        <!-- Do not remove $cronimage or your scheduled tasks will cease to function -->
       
        $vboptions[copyrighttext]
        </div>
</div>

</form>

<if condition="$show['dst_correction']">
<!-- auto DST correction code -->
<form action="profile.php?do=dst" method="post" name="dstform">
        <input type="hidden" name="s" value="$session[sessionhash]" />
        <input type="hidden" name="do" value="dst" />
</form>
<script type="text/javascript">
<!--
        var tzOffset = $bbuserinfo[timezoneoffset] + $bbuserinfo[dstonoff];
        var utcOffset = new Date().getTimezoneOffset() / 60;
        if (Math.abs(tzOffset + utcOffset) == 1)
        {        // Dst offset is 1 so its changed
                document.forms.dstform.submit();
        }
//-->
</script>
<!-- / auto DST correction code -->

</if>


<script type="text/javascript" src="$stylevar[imgdir_misc]/scripts.js"></script>
<if condition="THIS_SCRIPT == 'index'">
<script type="text/javascript" src="$stylevar[imgdir_misc]/scripts_index.js"></script>
</if>

<script type="text/javascript">
<!--
        // Main vBulletin Javascript Initialization
        vBulletin_init();
//-->
</script>


peterska2 12-07-2006 05:54 AM

Sorry, the difference is the custom coded header with the navbar in. Without seeing the whole style, (and preferably an export of it) then I couldn't even start trying to work it out.

I would try putting it lower down in the header template, after your navbar stuff, but it's just a suggestion and I cannot guarentee that it will work.


All times are GMT. The time now is 03:53 PM.

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.01211 seconds
  • Memory Usage 1,834KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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