Back to vBulletin 3.6 Template Modifications

Simple Left or Right Columns on Every Page
Mod Version: 1.01, by Adam21

This modification is in the archives.
vB Version: 3.6.11 Rating: (4 votes - 5.00 average) Installs: 41
Released: 28 May 2007 Last Update: 05 Oct 2008 Downloads: 355
Not Supported Template Edits  

These template edits will allow you to place either left or right column blocks on every page of your forum...

TO HAVE LEFT COLUMN BLOCKS ON EVERY PAGE

Admin CP -> Styles & Templates -> Style Manager -> Common Templates (in the menu)

In the HEADER template,find these codes

Code:
<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
	<td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
	<td align="$stylevar[right]">
		&nbsp;
	</td>
</tr>
</table>
<!-- /logo -->
After it,add these codes after it

Code:
    <table width="$stylevar[outertablewidth]" border="0" cellpadding="0" cellspacing="0" align="center">
    	<tr>
    	<td width="150" valign="top" class="page" style="padding: $stylevar[cellpadding]px;">
<!-- ################## Side Column ##################-->
<table border="0" cellpadding="0" cellspacing="0" width="100%" align="center">
<div class="smallfont" style="line-height:1.5;"><strong>Forum Members: $numbermembers<br />
Total Threads: $totalthreads<br />
Total Posts: $totalposts<br /> 
<br /></strong>
There are <a href="online.php" style="color:#854f99;">$totalonline users</a>
currently browsing forums.</div><
</table>
<!-- ################## /Side Column ##################-->
    	</td>
    	<td valign="top">

Save it and in the FOOTER template,find these codes

Code:
    <br />
    <div class="smallfont" align="center">$vbphrase[all_times_are_gmt_x_time_now_is_y]</div>
    <br />
    $spacer_close
    <!-- /content area table -->
Add these codes after it

Code:
    	</td>
    	</tr>
    </table>
SAVE IT AND YOU ARE DONE!Now you add your custom codes between the <!-- ################## Side Column ##################--> comments.The above is just an example only.

TO HAVE RIGHT COLUMN BLOCKS ON EVERY PAGE

Admin CP -> Styles & Templates -> Style Manager -> Common Templates (in the menu)

In the HEADER template,find these codes

Code:
<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
	<td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
	<td align="$stylevar[right]">
		&nbsp;
	</td>
</tr>
</table>
<!-- /logo -->

Add these codes after it

Code:
<table width="$stylevar[outertablewidth]" border="0" cellpadding="0" cellspacing="0" align="center">
	<tr>
	<td valign="top">


Save it and in the FOOTER template,find these codes

Code:
<br />
<div class="smallfont" align="center">$vbphrase[all_times_are_gmt_x_time_now_is_y]</div>
<br />
$spacer_close
<!-- /content area table -->
Add these codes after it

Code:
	</td>
	<td width="150" valign="top" class="page" style="padding: $stylevar[cellpadding]px;">
		YOUR CONTENT HERE
	</td>
	</tr>
</table>
Save it.Edit the content in your side column exactly like the left column example above

1 last step for either type of installation,

In your Admin CP -> Styles & Templates -> Style Manager -> « » -> spacer_open

Replace all the code inside with this codes

Code:
<!-- open content container -->
<if condition="$show['old_explorer']">
	<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center"><tr><td class="page" style="padding:0px $stylevar[spacersize]px 0px $stylevar[spacersize]px">
<else />
	<div align="center">
		<div class="page" style="width:100%; text-align:$stylevar[left]">
			<div style="padding:0px $stylevar[spacersize]px 0px $stylevar[spacersize]px">
</if>

Download

This modification is archived, downloads are still allowed.

File Type: %1$s simple left or right columns on every page.txt (3.8 KB, 60 downloads)

Screenshots

Click image for larger version
Name:	01-10-2006_04-36-21.png
Views:	1993
Size:	33.6 KB
ID:	64830  


vblts.ru supports vBulletin®, 2022-2024