vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=134)
-   -   Right (or left) side bar on forumhome (https://vborg.vbsupport.ru/showthread.php?t=89246)

zurv 02-14-2006 05:39 AM

Ok, I have seen this question asked through this hack, and on just about every other hack involving a right/left colum.

I and many others wish to have the 10 most recent topics in the right hand side column.

For an example please look here:
http://forum.resellerzoom.com

Not as importantly, I would also like to know how to ad a login box on the right nav similar to the link above.

And last of all, how can I change the width of my right column? it is a little wide.

btw, great hack.

Thanks in advance,
-Griffe

QueenBee 02-15-2006 10:14 PM

Quote:

Originally Posted by QueenBee
can anyone help me? i het this after i hit the save button when changing the forumhome template:

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/queenie/public_html/forums/includes/adminfunctions_template.php(3537) : eval()'d code on line 23

please anyone


im still needing help.

shawn2004 02-16-2006 12:14 AM

I want to add more boxes on the right side,I how do i do that

This is the footer

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

$spacer_close
<!-- /content area table -->
<if condition="THIS_SCRIPT == index">
</td>

<td style="padding:6px 25px 25px 0px" width="200" valign="top" class="page" style="padding: $stylevar 0px;">

<!-- IFC Latest Video's -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" style="margin-top:10px" align="center">
<tr>
<td class="tcat"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('right_side_one')">
<img id="collapseimg_left_side_one" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_right_side_one].gif" alt="" border="0" /></a>
<!-- Title Start -->
<font color="000000"><strong>IFC Lastest Videos</strong></font></a>

<!-- Title End -->
</td>
</tr>
<tbody id="collapseobj_right_side_one" style="$vbcollapse[collapseobj_right_side_one]">
<tr>
<td bgcolor="white">
<!-- Text Start -->
<Left>
<div>
<a href="http://www.iranfootballcenter.com/forum/showthread.php?t=1459">
<font color="000000"><strong>Mahdavikia's Goal against Mainz + aftermatch interview</strong></font></a>
</div>
<br />
<div>
<a href="http://www.iranfootballcenter.com/forum/showthread.php?p=6861#post6861">
<font color="000000"><strong>Schalke 7-4 Leverkusen goals</strong></font></a>
</div>
<br />
<div>
<a href="http://www.iranfootballcenter.com/forum/showthread.php?t=1442">
<font color="000000"><strong>Hashemian's goal against HSV</strong></font></a>
</div>
</Left>
<!-- Text End -->
</td>
</tr>
</table>
<!-- IFC Latest Video's -->

</td>

</tr>
</table>
</if>


<form action="$vboptions[forumhome].php" method="get">

<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="$stylevar[outertablewidth]" 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>
<a href="$vboptions[homeurl]">$vboptions[hometitle]</a> -
<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>

<br />

<div align="center">
<div class="smallfont" align="center">
<!-- Do not remove this copyright notice -->
$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" 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">
<!--
// Main vBulletin Javascript Initialization
vBulletin_init();

//-->
</script>[PHP]

This is the Header

[PHP]<!-- logo -->
<tr>
<td align="$stylevar[left]"><a href="http://www.iranfootballcenter.com" title="Iran Football Center Homepage"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a>
</td>
<td align="$stylevar[right]">
&nbsp;
<!--
NEW HEADER &amp; NAVBAR

Now that the nav buttons are in the
navbar template, you can stick whatever
you like into this space.
This makes it much easier for novice
admins to customize their header
template without affecting important
navigation elements.
-->
</td>
</tr>
</table>
<!-- /logo -->

<table width="stylevar[outertablewidth]" to width="98%" border="0" cellpadding="0" cellspacing="0" align="center">
<tr>

<td valign="top">


<!-- content table -->
$spacer_open
$_phpinclude_output
[PHP]

Roms 02-17-2006 12:32 AM

I could use this, Thanks :)

Annie^.^ 02-17-2006 03:33 PM

no matter what i do it doesn't want to appear under the navbar.... www.bikerstalkonline.com

ubblite 02-26-2006 12:29 AM

Quote:

Originally Posted by LEAD_WEIGHT
They got this in vbulletin.com/forum Quick Tips By Jake Bunce & Floris :)

amykhar
https://vborg.vbsupport.ru/showthread.php?t=94495

None of those 3 you mentioned will work as they are intended to display in all Forums, not on the Forumhome only. I have yet to find a product/code/link to one that will do so for vb 3.5.3.

Zowners 03-01-2006 10:29 AM

Quote:

Originally Posted by ubblite
None of those 3 you mentioned will work as they are intended to display in all Forums, not on the Forumhome only. I have yet to find a product/code/link to one that will do so for vb 3.5.3.

well this "hack" will, it's just a template edit.

OFFSHORE DAN 05-04-2006 12:04 PM

I will check this out!

sam marland 03-14-2007 06:27 PM

hey huys, i was wondering what the path of "FORUMHOME template"? :D

rubberduck 07-29-2008 12:54 PM

Simple question. I followed the instructions and my forum is spaced out ready for content on left. Thing is, I can't get any content to show up when I paste it in sidebar template; I tried pasting it in "my content" and then in "some stuff here". Nothing.

<table cellpadding="$stylevar[outerborderwidth]" cellspacing="0" border="0" class="tborder" width="$stylevar[tablewidth]" align="center">
<tr>
<td>
<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" style="width:100%">
<tr align="center">
<td class="thead"><span class="smallfont"><b>My Content</b></span></td>
</tr>
<tr>
<td class="alt1">some stuff here</td>
</tr>
</table>
</td>
</tr>
</table>
<br />


All times are GMT. The time now is 02:49 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.01193 seconds
  • Memory Usage 1,762KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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