PDA

View Full Version : Miscellaneous Hacks - Create Leftside Rightside Column - includes Table(s)


LEAD_WEIGHT
06-03-2007, 10:00 PM
These instructions are with table(s) added into the empty column you see after using the instruction provided by Floris & Jake Bunce tutorials in Quick Tips forum @ vBulletin.com. I have little changes, but in whole it is the same. This is for displaying under navbar menu. If you are using a portal, you can add modules within forum and those instruction are posted within other sites forums.

Left Column Table

Admin CP > Styles & Templates > Style Manager > Edit Templates {Drop Down Menu} > footer

# find in template: footer
# add 'leftside column' close table code
# optional: to display in certain pages and not all, add conditional statement


$spacer_close
<!-- /content area table -->

<!-- leftside column -->
</td>
</tr>
</table>
<!-- / leftside column -->

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


Example of conditional to display in three selected forum pages and must be applied to other code in same manner.

$spacer_close
<!-- /content area table -->

<if condition="THIS_SCRIPT=='index' OR THIS_SCRIPT=='forumdisplay' OR THIS_SCRIPT=='showthread'">
<!-- leftside column -->
</td>
</tr>
</table>
<!-- / leftside column -->
</if>

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



Admin CP > Styles & Templates > Style Manager > Edit Templates {Drop Down Menu} > navbar

# find in template: navbar
# add 'leftside column' open table code
# optional: to display in certain pages and not all, add conditional statement


<!-- / PAGENAV POPUP -->
</if>

<!-- leftside column -->
<table width="100%" border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td style="padding:0px 10px 0px 0px" width="175" valign="top" class="page" style="0px;">
<table class="tborder" border="0" cellspacing="1" cellpadding="6" width="100%" align="center">
<!-- leftsidebar_1 -->
<thead width="150" valign="top">
<tr align="center">
<td class="thead">
Left Column
</td>
</tr>
</thead>
<tbody>
<tr align="center">
<td class="tcat">
<a style="float:right" href="#top" onclick="return toggle_collapse('leftsidebar_1')"><img id="collapseimg_leftsidebar_1" src="images/buttons/collapse_tcat.gif" alt="" border="0" /></a>
<!-- title start -->
Left Column Bar
<!-- / title end -->
</td>
</tr>
</tbody>
<tbody id="collapseobj_leftsidebar_1" style="">
<tr align="center">
<td class="alt2">
<!-- leftbar_1 code -->



<!-- / leftbar_1 code -->
</td>
</tr>
</tbody>
<!-- / leftsidebar_1 -->
</table>

</td>
<td valign="top">
<!-- / leftside column -->


Example of conditional to display in three selected forum pages and must be applied to other code in same manner.

<!-- / PAGENAV POPUP -->
</if>

<if condition="THIS_SCRIPT=='index' OR THIS_SCRIPT=='forumdisplay' OR THIS_SCRIPT=='showthread'">
<!-- leftside column -->
<table width="100%" border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td style="padding:0px 10px 0px 0px" width="175" valign="top" class="page" style="0px;">
<table class="tborder" border="0" cellspacing="1" cellpadding="6" width="100%" align="center">
<!-- leftsidebar_1 -->
<thead width="150" valign="top">
<tr align="center">
<td class="thead">
Left Column
</td>
</tr>
</thead>
<tbody>
<tr align="center">
<td class="tcat">
<a style="float:right" href="#top" onclick="return toggle_collapse('leftsidebar_1')"><img id="collapseimg_leftsidebar_1" src="images/buttons/collapse_tcat.gif" alt="" border="0" /></a>
<!-- title start -->
Left Column Bar
<!-- / title end -->
</td>
</tr>
</tbody>
<tbody id="collapseobj_leftsidebar_1" style="">
<tr align="center">
<td class="alt2">
<!-- leftbar_1 code -->



<!-- / leftbar_1 code -->
</td>
</tr>
</tbody>
<!-- / leftsidebar_1 -->
</table>

</td>
<td valign="top">
<!-- / leftside column -->
</if>







These instructions are with table(s) added into the empty column you see after using the instruction provided by Floris & Jake Bunce tutorials in Quick Tips forum. I have little changes, but in whole it is the same. This is for displaying under navbar menu. If you are using a portal, you can add modules within forum and those instruction are posted within other sites forums.

Right Column Table

Admin CP > Styles & Templates > Style Manager > Edit Templates {Drop Down Menu} > footer

# find in template: footer
# add 'rightside column' close table code
# optional: to display in certain pages and not all, add conditional statement


$spacer_close
<!-- /content area table -->

<!-- rightside column -->
</td>
<td width="10px"></td>
<td valign="top" width="175">
<table class="tborder" border="0" cellspacing="1" cellpadding="6" width="100%" align="center">
<!-- rightsidebar_1 -->
<thead>
<tr align="center">
<td class="thead">
Right Column
</td>
</tr>
</thead>
<tbody>
<tr align="center">
<td class="tcat">
<a style="float:right" href="#top" onclick="return toggle_collapse('rightbar_1')"><img id="collapseimg_rightbar_1" src="images/buttons/collapse_tcat.gif" alt="" border="0" /></a>
<!-- title start -->
Right Column Bar
<!-- / title end -->
</td>
</tr>
</tbody>
<tbody id="collapseobj_rightbar_1" style="">
<tr align="center">
<td class="alt2">
<!-- rightbar_1 code -->



<!-- / rightbar_1 code -->
</td>
</tr>
</tbody>
<!-- / rightsidebar_1 -->
</table>
</td>
</tr>
</table>
<!-- / rightside column -->

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


Example of conditional to display in three selected forum pages and must be applied to other code in same manner.

$spacer_close
<!-- /content area table -->

<if condition="THIS_SCRIPT=='index' OR THIS_SCRIPT=='forumdisplay' OR THIS_SCRIPT=='showthread'">
<!-- rightside column -->
</td>
<td width="10px"></td>
<td valign="top" width="175">
<table class="tborder" border="0" cellspacing="1" cellpadding="6" width="100%" align="center">
<!-- rightsidebar_1 -->
<thead>
<tr align="center">
<td class="thead">
Right Column
</td>
</tr>
</thead>
<tbody>
<tr align="center">
<td class="tcat">
<a style="float:right" href="#top" onclick="return toggle_collapse('rightbar_1')"><img id="collapseimg_rightbar_1" src="images/buttons/collapse_tcat.gif" alt="" border="0" /></a>
<!-- title start -->
Right Column Bar
<!-- / title end -->
</td>
</tr>
</tbody>
<tbody id="collapseobj_rightbar_1" style="">
<tr align="center">
<td class="alt2">
<!-- rightbar_1 code -->



<!-- / rightbar_1 code -->
</td>
</tr>
</tbody>
<!-- / rightsidebar_1 -->
</table>
</td>
</tr>
</table>
<!-- / rightside column -->
</if>

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



Admin CP > Styles & Templates > Style Manager > Edit Templates {Drop Down Menu} > navbar

# find in template: navbar
# add 'rightside column' open table code
# optional: to display in certain pages and not all, add conditional statement


<!-- / PAGENAV POPUP -->
</if>

<!-- rightside column -->
<table border="0" width="100%" class="page" cellspacing="0" cellpadding="0" align="center">
<tr>
<td valign="top">
<!-- / rightside column -->


Example of conditional to display in three selected forum pages and must be applied to other code in same manner.

<!-- / PAGENAV POPUP -->
</if>

<if condition="THIS_SCRIPT=='index' OR THIS_SCRIPT=='forumdisplay' OR THIS_SCRIPT=='showthread'">
<!-- rightside column -->
<table border="0" width="100%" class="page" cellspacing="0" cellpadding="0" align="center">
<tr>
<td valign="top">
<!-- / rightside column -->
</if>






These instructions are with table(s) added into the empty column you see after using the instruction provided by Floris & Jake Bunce tutorials in Quick Tips forum. I have little changes, but in whole it is the same. This is for displaying under navbar menu. If you are using a portal, you can add modules within forum and those instruction are posted within other sites forums.

Left and Right Column Table

Admin CP > Styles & Templates > Style Manager > Edit Templates {Drop Down Menu} > footer

# find in template: footer
# add 'rightside & leftside column' close/open table code
# optional: to display in certain pages and not all, add conditional statement


$spacer_close
<!-- /content area table -->

<!-- leftside column -->
</td>
</tr>
</table>
<!-- / leftside column -->

<!-- rightside column -->
</td>
<td width="10px"></td>
<td valign="top" width="175">
<table class="tborder" border="0" cellspacing="1" cellpadding="6" width="100%" align="center">
<!-- rightbar_1 -->
<thead>
<tr align="center">
<td class="thead">
Right Column
</td>
</tr>
</thead>
<tbody>
<tr align="center">
<td class="tcat">
<a style="float:right" href="#top" onclick="return toggle_collapse('rightbar_1')"><img id="collapseimg_rightbar_1" src="images/buttons/collapse_tcat.gif" alt="" border="0" /></a>
<!-- title start -->
Right Column Bar
<!-- / title end -->
</td>
</tr>
</tbody>
<tbody id="collapseobj_rightbar_1" style="">
<tr align="center">
<td class="alt2">
<!-- rightbar_1 code -->



<!-- / rightbar_1 code -->
</td>
</tr>
</tbody>
<!-- / rightsidebar_1 -->
</table>
</td>
</tr>
</table>
<!-- / rightside column -->

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


Example of conditional to display in three selected forum pages and must be applied to other code in same manner.

$spacer_close
<!-- /content area table -->

<if condition="THIS_SCRIPT=='index' OR THIS_SCRIPT=='forumdisplay' OR THIS_SCRIPT=='showthread'">
<!-- leftside column -->
</td>
</tr>
</table>
<!-- / leftside column -->

<!-- rightside column -->
</td>
<td width="10px"></td>
<td valign="top" width="175">
<table class="tborder" border="0" cellspacing="1" cellpadding="6" width="100%" align="center">
<!-- rightbar_1 -->
<thead>
<tr align="center">
<td class="thead">
Right Column
</td>
</tr>
</thead>
<tbody>
<tr align="center">
<td class="tcat">
<a style="float:right" href="#top" onclick="return toggle_collapse('rightbar_1')"><img id="collapseimg_rightbar_1" src="images/buttons/collapse_tcat.gif" alt="" border="0" /></a>
<!-- title start -->
Right Column Bar
<!-- / title end -->
</td>
</tr>
</tbody>
<tbody id="collapseobj_rightbar_1" style="">
<tr align="center">
<td class="alt2">
<!-- rightbar_1 code -->



<!-- / rightbar_1 code -->
</td>
</tr>
</tbody>
<!-- / rightsidebar_1 -->
</table>
</td>
</tr>
</table>
<!-- / rightside column -->
</if>

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



Admin CP > Styles & Templates > Style Manager > Edit Templates {Drop Down Menu} > navbar

# find in template: navbar
# add 'rightside & leftside column' close/open table code
# optional: to display in certain pages and not all, add conditional statement


<!-- / PAGENAV POPUP -->
</if>

<!-- leftside column -->
<table width="100%" border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td style="padding:0px 10px 0px 0px" width="175" valign="top" class="page" style="0px;">
<table class="tborder" border="0" cellspacing="1" cellpadding="6" width="100%" align="center">
<!-- leftsidebar_1 -->
<thead width="150" valign="top">
<tr align="center">
<td class="thead">
Left Column
</td>
</tr>
</thead>
<tbody>
<tr align="center">
<td class="tcat">
<a style="float:right" href="#top" onclick="return toggle_collapse('leftsidebar_1')"><img id="collapseimg_leftsidebar_1" src="images/buttons/collapse_tcat.gif" alt="" border="0" /></a>
<!-- title start -->
Left Column Bar
<!-- / title end -->
</td>
</tr>
</tbody>
<tbody id="collapseobj_leftsidebar_1" style="">
<tr align="center">
<td class="alt2">
<!-- leftbar_1 code -->



<!-- / leftbar_1 code -->
</td>
</tr>
</tbody>
<!-- / leftsidebar_1 -->
</table>

</td>
<td valign="top">
<!-- / leftside column -->

<!-- rightside column -->
<table border="0" width="100%" class="page" cellspacing="0" cellpadding="0" align="center">
<tr>
<td valign="top">
<!-- / rightside column -->


Example of conditional to display in three selected forum pages and must be applied to other code in same manner.

<!-- / PAGENAV POPUP -->
</if>

<if condition="THIS_SCRIPT=='index' OR THIS_SCRIPT=='forumdisplay' OR THIS_SCRIPT=='showthread'">
<!-- leftside column -->
<table width="100%" border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td style="padding:0px 10px 0px 0px" width="175" valign="top" class="page" style="0px;">
<table class="tborder" border="0" cellspacing="1" cellpadding="6" width="100%" align="center">
<!-- leftsidebar_1 -->
<thead width="150" valign="top">
<tr align="center">
<td class="thead">
Left Column
</td>
</tr>
</thead>
<tbody>
<tr align="center">
<td class="tcat">
<a style="float:right" href="#top" onclick="return toggle_collapse('leftsidebar_1')"><img id="collapseimg_leftsidebar_1" src="images/buttons/collapse_tcat.gif" alt="" border="0" /></a>
<!-- title start -->
Left Column Bar
<!-- / title end -->
</td>
</tr>
</tbody>
<tbody id="collapseobj_leftsidebar_1" style="">
<tr align="center">
<td class="alt2">
<!-- leftbar_1 code -->



<!-- / leftbar_1 code -->
</td>
</tr>
</tbody>
<!-- / leftsidebar_1 -->
</table>

</td>
<td valign="top">
<!-- / leftside column -->

<!-- rightside column -->
<table border="0" width="100%" class="page" cellspacing="0" cellpadding="0" align="center">
<tr>
<td valign="top">
<!-- / rightside column -->
</if>


Admin CP > Styles & Templates > Style Manager > StyleVars {Drop Down Menu} > Sizes and Dimensions


Message Area Width (pixels): [440px]
(This value allows you to specify the width in pixels of the text box used for all message posting in vBulletin)

Code Block Width (pixels): [440px]
(This value controls the width of [code], [php] and [html] bbcode blocks. You may set this value to 'auto', but if you do, Internet Explorer will stretch the width of the block rather than inserting a scrollbar.)


Maintenance > Update Counters > Rebuild Post Cache

You also need to use postbit instead of postbit_legacy to utilize the most of message space.



View images below.

http://img413.imageshack.us/img413/6600/sidebarforumhomeya7.th.gif (http://img413.imageshack.us/my.php?image=sidebarforumhomeya7.gif)http://img237.imageshack.us/img237/7734/sidebarforumdisplaylv1pv7.th.gif (http://img237.imageshack.us/my.php?image=sidebarforumdisplaylv1pv7.gif)http://img180.imageshack.us/img180/9149/sidebarforumdisplaylv2jl8.th.gif (http://img180.imageshack.us/my.php?image=sidebarforumdisplaylv2jl8.gif)http://img237.imageshack.us/img237/9248/sidebarshowthreadsqu0.th.gif (http://img237.imageshack.us/my.php?image=sidebarshowthreadsqu0.gif)

Yes, I do know many have posted variation of this and this is a variation of that. It is place under navbar and you may choose both to display at same time.

LEAD_WEIGHT
06-04-2007, 05:51 PM
Reserved for side addons

Log in Block


<if condition="$show['member']">
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td class="alt2" valign="top" width="175px">
<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>
</td>
</tr>
</table>
<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" align="left"><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>
</tr>
<tr>
<td class="smallfont" align="left"><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>
</tr>
<tr>
<td class="smallfont" colspan="2" nowrap="nowrap" align="left"><label for="cb_cookieuser_navbar">$vbphrase[remember_me]</label><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" /></td>
</tr>
<tr>
<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>



Calendar Block *non-vB
# upload files to root/directory
# replace with root forum folder name


<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr valign="top">
<td align="center">

<iframe name="gToday:calendar:" id="gToday:calendar:"src="/test_vbb/calendar/cal.htm" scrolling="no" frameborder="0"></iframe>

</td>
</tr>
</table>


66651

Ohiosweetheart
06-07-2007, 10:11 PM
Looks like I'll be trying this one :)

LEAD_WEIGHT
06-08-2007, 02:49 AM
This is a nice mod, great work.

*Installed*
Than you for your comment

Looks like I'll be trying this one :)
I hope it works for you, :) and will tinker with other. ;)

Emre Goren
06-11-2007, 07:49 PM
Thank you so much , I was looking for something like this and couldnt get enough help from official help staff..

LEAD_WEIGHT
06-11-2007, 10:22 PM
Thank you so much , I was looking for something like this and couldnt get enough help from official help staff..

In vbulletin.com or on this site? I do help people over at vbulletin.com... [Jose Amaral Rego] is the username I have over on that site.

blindman4556
06-14-2007, 09:29 PM
is there a way to push it up to the top like image 1, cuz right now it stays down below shout like image 2: and i tried putting it in the header but it pushes it clear to the top.
http://i130.photobucket.com/albums/p269/blindman4556/image1.jpg

http://i130.photobucket.com/albums/p269/blindman4556/image2.jpg

LEAD_WEIGHT
06-14-2007, 09:54 PM
What hack are you using for a shoutbox? I can always see where that edit was placed. It most likely under the template: header code.

A|X
07-01-2007, 03:04 PM
I like this MOD. But after installation my left and right column not same level with my forum page/column.

Look at my attachment. I need your help. What should i do?

Thanks.

LEAD_WEIGHT
07-01-2007, 05:47 PM
Just notice you are using separate 'Categories Modification'. I am going to see what I can do to fix the problem, it should be easy enough. I am going to edit my templates with same edits you have in your forum.

A|X
07-01-2007, 06:13 PM
many thank for your respond.
waiting for your feedback.

LEAD_WEIGHT
07-01-2007, 06:53 PM
-----------------
Amend post
-----------------
Note: It does not work in IE 7. I have to go though it again to see what I can do to work with 'Separate Categories Mod'. I have fixed what was wrong in IE7. This is going to work for only forum index and if you want it to line up on other pages, then please post a request and I will give more information in how to achieve this.


# find in template: footer
# add <td> {Table Data Cell} with padding
# adjust padding 15=top 0=right 0=bottom 0=left

$spacer_close
<!-- /content area table -->

<!-- leftside column -->
</td>
</tr>
</table>
<!-- / leftside column -->

<!-- rightside column -->
</td>
<td width="10px"></td>
<td style="padding: 15px 0px 0px 0px" valign="top" width="175">
<table class="tborder" border="0" cellspacing="1" cellpadding="6" width="100%" align="center">
<!-- rightbar_1 -->


# find in template: footer
# replace variable '$stylevar[outertablewidth]' with numerical percent
Note: This will correct footer and display it as Forum lenght.

<!-- / rightside column -->

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

<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" class="page" align="center">
<tr>


# find in template: navbar
# adjust padding 15=top 10=right 0=bottom 0=left

<!-- / PAGENAV POPUP -->
</if>

<!-- leftside column -->
<table width="100%" border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td style="padding: 15px 10px 0px 0px" width="175" valign="top" class="page" style="0px;">
<table class="tborder" border="0" cellspacing="1" cellpadding="6" width="100%" align="center">
<!-- leftsidebar_1 -->

http://img115.imageshack.us/img115/6651/columnrd1.th.gif (http://img115.imageshack.us/my.php?image=columnrd1.gif)

A|X
07-03-2007, 05:01 AM
LEAD_WEIGHT , thank you very much for your help. All problem solve now :D

Ski-Whiz
07-03-2007, 06:05 PM
Great mod..

Can you please post a conditional based on usergroups??

For example, do not display for usergroup X (paid membership) or vice versa....


Would I just wrap your code in this:

<if condition="is_member_of($vbulletin->userinfo, 5, 6, 7)">

</if>


thanks for the nice mod!!

LEAD_WEIGHT
07-04-2007, 08:46 AM
If you are using the other conditional in the instruction, you can combine like this. This will make it not show for these usergroup(s). You need ! to not display.

<if condition="in_array(THIS_SCRIPT, array('index','forumdisplay','showthread')) AND !is_member_of($vbulletin->userinfo, array(5, 6, 7))">

</if>

njoker555
07-04-2007, 04:52 PM
ok im a pretty newbie at this and would like to know how the first image blindman put up was done - the codes for that and the settings, how would i set that up to be like that?

response is appreciated

njoker555
07-04-2007, 09:08 PM
ok i kinda got it but it seems to look really really bad when u view a thread with more than one page - here is an example

http://www.gamers-forum.com/showthread.php?t=1019

help is appreciated - thanks!

edit: it only seems to be like that in ie7 :( and in firefox the bar on top is longer than the post box

LEAD_WEIGHT
07-04-2007, 10:37 PM
njoker555 you need to click 'installed' for any more help. ;)

# find template: spacer_open
# replace all contents with below
<!-- open content container -->
<if condition="$show['old_explorer']">
<table cellpadding="0" cellspacing="0" border="0" width="$stylevar[outertablewidth]" align="center"><tr><td class="page" class="spacer-open">
<else />
<div align="center">
<div class="page" style="width:$stylevar[outerdivwidth]; text-align:$stylevar[left]">
<div class="spacer-open">
</if>

# Admin CP -> Styles & Templates -> Style Manager -> All Styles Options -> Go -> Additional CSS Definitions
# enter below into second input box

.spacer-open { padding: 0 25px; }
.spacer-open .spacer-open { padding: 0; }

njoker555
07-04-2007, 10:59 PM
thanks a lot - marked as installed, thought i did it already but didnt :)

well anyway, your thing helped me fix it in FF but not in ie - in IE - check this following thread - the first page, the column is overlapping the text area and in the second page, it really really stretches

http://www.gamers-forum.com/showthread.php?t=56

help appreciated once again, thanks!

LEAD_WEIGHT
07-04-2007, 11:05 PM
njoker555 you must of miss the last part of the instruction on fisrt post.

Admin CP > Styles & Templates > Style Manager > StyleVars {Drop Down Menu} > Sizes and Dimensions


Message Area Width (pixels): [440px]
(This value allows you to specify the width in pixels of the text box used for all message posting in vBulletin)

Code Block Width (pixels): [440px]
(This value controls the width of [code], [php] and [html] bbcode blocks. You may set this value to 'auto', but if you do, Internet Explorer will stretch the width of the block rather than inserting a scrollbar.)


Maintenance > Update Counters > Rebuild Post Cache

You also need to use postbit instead of postbit_legacy to utilize the most of message space.

njoker555
07-04-2007, 11:12 PM
actually i did miss that but it didnt work - can you explain what you meant by postbit and postbit_legacy ?

you can go back to that thread link i gave, didnt work there - and i updated counters too :(

LEAD_WEIGHT
07-04-2007, 11:15 PM
You need to fix your signature(s), it is not stacking on your pages.

What knd odf code are you using for your sig?

njoker555
07-04-2007, 11:27 PM
oh wow, thanks lol - dam i just converted today and it looks bad, i have to look at the people's sigs one by one :) thanks a lot, excellent support for this mod :D

LEAD_WEIGHT
07-04-2007, 11:33 PM
Just remove <br /> and ask them or just place sig image on next line below.. Now I wonder why I do not see any padding between block and post?.

I will be back after I have dinner...

njoker555
07-04-2007, 11:38 PM
Just remove <br /> and ask them or just place sig image on next line below.. Now I wonder why I do not see any padding between block and post?.

I will be back after I have dinner...

yea im removing those myself lol - and about the padding between block and post, does that regard me?

LEAD_WEIGHT
07-05-2007, 12:22 AM
yea im removing those myself lol - and about the padding between block and post, does that regard me?

Not anymore, as I just seen your site and it seems alright for now.. :)

njoker555
07-05-2007, 12:28 AM
Not anymore, as I just seen your site and it seems alright for now.. :)

ok thanks a lot, appreciate the help a lot :)

and question, do you know how i can put the info around the forum in there - such as this on top right corner when u login it says "You last visited: Today at 03:53 PM" into the panel.

and stuff like you have "this much private msgs" etc. also forum statistics like total members, posts, etc. on there.

thanks!

LEAD_WEIGHT
07-05-2007, 02:09 AM
njoker555m I have the log in block on post number #2
https://vborg.vbsupport.ru/showpost.php?p=1261163&postcount=2

njoker555
07-05-2007, 03:09 AM
right, thanks! :) i've been missing a lot of things lately :/ thanks a lot again :D

edit: i've just tried to set this up on another skin - like copy and paste all the contents and move them where they belong but it didnt work out for me, it all went all the way at the bottom, under copyright and stuff, about to try on another one, hope it works

LEAD_WEIGHT
07-05-2007, 04:56 AM
njoker555, you can not use the same identification to collaspe a cell. This is meant for one cell and you ca change 'rightbar_1' to 'rightbar_2' or if you callaspe one with the same (id), then it will stay close or just not work at all.

If you create a collasping cell make sure that cell has its own (id).

<td class="tcat">
<a style="float:right" href="#top" onclick="return toggle_collapse('rightbar_1')"><img id="collapseimg_rightbar_1" src="images/buttons/collapse_tcat.gif" alt="" border="0" /></a>
<!-- title start -->
Right Column Bar
<!-- / title end -->
</td>
</tr>
</tbody>
<tbody id="collapseobj_rightbar_1"

njoker555
07-05-2007, 02:52 PM
yea i fixed that - but im trying to set it up on another theme - http://www.gamers-forum.com/index.php?styleid=4 - and in the frnt page looks good but on the footer, it stretches the white line and when you go into see a topic, the top bar like shrinks, and when u post a reply the panel overlaps - i've tried changing the stylevars like last time but its not working, it just looks worse, i've attached some screenshots of those pics. help again, is apprecaite :D

thanks!

edit: and i did the spacer thing u showed and it just screws it up even more

LEAD_WEIGHT
07-05-2007, 10:21 PM
njoker555 did you add to Additional Cascading Style Sheetings and edit spacer_open in that style. Plus did you edit in 'Sizes and Dimensions' for message area & code and then run update counter.

njoker555
07-06-2007, 12:17 AM
njoker555 did you add to Additional Cascading Style Sheetings and edit spacer_open in that style. Plus did you edit in 'Sizes and Dimensions' for message area & code and then run update counter.

yes i did - but these were already in the additional cascading style sheet - in the bottom text box, so i just put the addition there, this is what it already had:

.menu {
padding-left: 10px;
font-size: 8pt;
color: #FFFFFF;
border-left: 2px solid #1E1E1E;
border-right: 2px solid #1E1E1E;
}

.menu a:link, .menu a:visited, .menu a:active {
font-size: 8pt;
color: #FFFFFF;
font-weight: bold;
text-decoration: none;
}

.menu a:hover {
font-size: 8pt;
color: #FFFFFF;
font-weight: bold;
text-decoration: underline;
}

and i added this under it:

.spacer-open { padding: 0 25px; }
.spacer-open .spacer-open { padding: 0; }

i dont know if thats the problem

LEAD_WEIGHT
07-06-2007, 12:50 AM
What does your 'Sizes and Dimensions' of Style RedBar have for values.

Message Area Width (pixels) [???]
(This value allows you to specify the width in pixels of the text box used for all message posting in vBulletin)

Code Block Width (pixels) [???]
(This value controls the width of [code], [php] and [html] bbcode blocks. You may set this value to 'auto', but if you do, Internet Explorer will stretch the width of the block rather than inserting a scrollbar.)

njoker555
07-06-2007, 01:13 AM
Main Table Width (pixels or percentage) - 780
Spacer Size (pixels) -- 10
Outer Border Width (pixels) -- 20
Inner Border Width (pixels) -- 1
Table Cell Padding (pixels) -- 6
Form Element Spacer Size (pixels) --3
Form Width (pixels) -- 640px
User Control Panel Form Width (pixels) -- 480px
Message Area Width (pixels) -- 440px
User Control Panel Message Area Width (pixels) -- 380px
Code Block Width (pixels) -- 440px

thats all of them

edit: and if u look at the theme with teal black - its all the way at the bottom, i dont know why but icant get it to work in any other themes except the first one :(

help really appreciated, thanks!

LEAD_WEIGHT
07-06-2007, 02:12 AM
I do not see any difference in Teal to default style other then you do not have sidebar displaying at forum index on Teal.

I would want to test that style RedBar, but I do not have the time to do it this week. I know it is something simple with the navbar template, but I am not sure. Is this style located at vBulletin.org [Free Styles Forum]

njoker555
07-06-2007, 02:31 AM
yea thats where i got it - and for the teal one - in the front page, its all the way at the bottom of the forum lol, look for it, just scroll all the way down

and i finally found a template that works -- http://www.gamers-forum.com/index.php?styleid=11 - silver and red - also from this forum - and it works perfectly :)

thanks for all your help - i do like redbar better but just let me know when/if you've found a solutions because i can live with this current one now :)

how would i make it so this theme is changed for everyone and people visiting the forum sees this first?

LEAD_WEIGHT
07-06-2007, 02:39 AM
I could just help you edit these into your template(s) if you want. Just make me have only 'Can Administer Styles' set for that user.

If you do it has to be next day... as I am going out right about now.

skooby
07-07-2007, 02:36 AM
Is there anyway to show your calendar in the weekly view in one of the boxes?

LEAD_WEIGHT
07-07-2007, 01:06 PM
skooby if you want a real working vB calendar, then you should get vBadvanced.com cmps or this Java Script one here in this link. I am in the process of creating a .php version that loads faster.
https://vborg.vbsupport.ru/showpost.php?p=1261163&postcount=2

njoker555
07-09-2007, 02:24 AM
I could just help you edit these into your template(s) if you want. Just make me have only 'Can Administer Styles' set for that user.

If you do it has to be next day... as I am going out right about now.

oh sorry lol, i havent visited back this thread :( well if u still want to do that u can, just register and tell me

will u keep doing it for new styles? or just the ones i have now? lol - i could use someone like u on the staff lol :D

njoker555
07-09-2007, 04:40 PM
i was wrong lol, in silver and red - if you go to the register page - the right bar is gone and it goes under the forum time :( awww - its not that big of a deal i guess but it does look kind of bad lol

skooby
07-09-2007, 07:01 PM
skooby if you want a real working vB calendar, then you should get vBadvanced.com cmps or this Java Script one here in this link. I am in the process of creating a .php version that loads faster.
https://vborg.vbsupport.ru/showpost.php?p=1261163&postcount=2

Thanks for the help. I didn't want to go with a CMPS because I just wanted the calendar, not the everything else. Unfort. Ihave been unable to get just the calendar to show in weekly view (and not the montly calendar like yours displays). Thanks for the help.

JeffreySmith
08-03-2007, 04:38 AM
i was wrong lol, in silver and red - if you go to the register page - the right bar is gone and it goes under the forum time :( awww - its not that big of a deal i guess but it does look kind of bad lol

I had this problem too. I just added the green text (the conditional stuff) to where he says to add it and it works. Now I no longer have that nasty looking box on my register.php page.

spipo
10-09-2007, 04:51 PM
nice modofocation but i would like if it will be in the same horizon as the postbit in the showthread also like this image

I would like a Right side colum at the same orizon as the forum tool in postbit... like this forum

http://xs118.xs.to/xs118/07352/column-right.JPG

thank you

pedro84
10-29-2007, 10:55 AM
Is it opporunity to add vertical margins beetween two blocks?

Pedro

artcarolann
10-31-2007, 03:21 PM
Successful!! and Beautiful!!!
Thank you!

LEAD_WEIGHT
11-01-2007, 03:34 AM
nice modofocation but i would like if it will be in the same horizon as the postbit in the showthread also like this image

I would like a Right side colum at the same orizon as the forum tool in postbit... like this forum

thank you

They moved the 'Post Reply' button and that is why it is align. I will give you more information once I have time. I will post it in first post of mine when I am done.

xcingix
11-19-2007, 05:28 PM
how can i display the latest posts (not threads) and or top posters?

xcingix
11-19-2007, 08:53 PM
Is there any way for doing this for top posters and or latest posts?
<span class="smallfont"><script type="text/javascript" src="http://www.ny-dev.com/forums/external.php?type=js"></script>
<script language="" type="text/javascript">
<!--
for (i = 0; i < 10; i++)
{
document.writeln("<a href=\"http://www.ny-dev.com/forums/showthread.php?threadid="+threads[i].threadid+"\">"+threads[i].title+"</a><br /> <hr />");
}
//-->
</script></span>

jeffinator15
01-01-2008, 04:12 AM
Is it possible to have this show up on every page except usercp, messenger etc. Like could i do if page='usercp'> nothing</else>sidebar? sorry about poor explanation, its the best i can do xD

LEAD_WEIGHT
01-19-2008, 05:49 AM
Is it possible to have this show up on every page except usercp, messenger etc. Like could i do if page='usercp'> nothing</else>sidebar? sorry about poor explanation, its the best i can do xD

I made one with the following within the first post that it will only display in selected pages.
<if condition="THIS_SCRIPT

*Note: this is only good for fluid style, as I seen some issue with fixed width.

SNATCH3R
01-24-2008, 07:09 AM
Thanks for this gr8 mod......

I have a few queries on this .....


I am using vbAdvanced CMPS, and I would like to bring the Calendar, Today's Birthdays, Latest Threads into the right side column
If I have a fixed style, will it have any problems or does this work only with fluid styles. I tested only on the default style as of now. Will be testing with Red bar later in the day.Thanks....

LEAD_WEIGHT
01-26-2008, 09:59 PM
Thanks for this gr8 mod......

I have a few queries on this .....


I am using vbAdvanced CMPS, and I would like to bring the Calendar, Today's Birthdays, Latest Threads into the right side column
If I have a fixed style, will it have any problems or does this work only with fluid styles. I tested only on the default style as of now. Will be testing with Red bar later in the day.Thanks....

You do ot need this modification if you have vBadvanced, as it can do the excact same thing, but better.

SNATCH3R
01-30-2008, 09:38 AM
You do ot need this modification if you have vBadvanced, as it can do the excact same thing, but better.

can you help me on how this can be done without this mod.....and only with vbAdvanced....

your help will be highly appreciated.

Another problem I am facing is when I add these codes for left side column, and when test the browser in 1024 x 78 Resolution, i have to scroll the screen from left to right to see the entire contents.. :(

Thanks

FamChap
02-05-2008, 06:54 AM
hi, after installing this

my footer bar with the "Contact us - Admin - Mod - Archive - Top" has changed a little bit in size.

it use to match the full width of the page, which is what i liked. now it's the same total width of the side column and forum.

how can i fix this so that the bar will be full width of outer table again?

thank you

malmen
03-03-2008, 04:31 PM
I have the same problem as FamChap. I tried to just set the size of that row to a size who looked ok. But on the pages where i don't show the right column it looks wierd :\

I'm using a fixed size forum. Except that little error, it's a killer mod! :up: :up:

EDIT:
It looks wierd in IE as well, forumsize is like 20px to big. :\

Mikecp421
04-17-2008, 04:52 PM
can this resize automatically to adjust for the actual ad size?

michelleh
04-23-2008, 09:23 PM
Hey there,

just wondering how to sort the following problem.

Every other page but the home page look like this:

https://vborg.vbsupport.ru/

which is what i want. My home page loads like this:

https://vborg.vbsupport.ru/

i want the right col to be inline with the rest of the content like in the first image.

Any ideas on how to do this ? cheers

silver_wing
05-16-2008, 04:00 PM
Thanks for this mod.

I am also using the Latest blogs product which I want to add in the right sidebar without having any extra borders like the one on my site www.tvforum.tv. When I try to fix this the sidebar gets broken. How can I fix this?

chiptz
04-10-2009, 04:15 PM
hello,

I have this mod installed however I am not able to fix a problem: the column jumps off on thread viewing and on memberlist, at least.

I believe I have followed all steps on the thread.

Any idea on how to fix this?

Ok when viewing index or inside a forum:
97553

Not ok when viewing threads or memberlist.
97554

chiptz
04-16-2009, 07:48 AM
already fixed, a div tag with width was killing the layout

alfanexus
04-25-2009, 06:39 PM
already fixed, a div tag with width was killing the layout

I have the same problem. Where was the div tag? and how did you fix it?

ArnyVee
04-28-2009, 11:08 PM
already fixed, a div tag with width was killing the layout

Please share how you did it chiptz :D

swisscotton
08-16-2009, 07:03 PM
I have just set this up and it works however i have two questions:

How to i line it up to the main forum as it sits just to high. I have tried putting in padding on the top but it just reduces the main forum in width. I have tried putting a div around the table and that?s not working either

How to i separate the boxes?

http://www.goldenbunnies.co.uk

jlistic
11-14-2009, 08:49 PM
Would anyone know how I can add a right column under my statistics section and above my What's going on section? If so, please share!!

swisscotton
12-30-2009, 01:44 PM
Is anyone still supporting this? I am having an on going issue that is really doing my head in! I cannot get my right column to match the forum height or the left one. I am not using separate boxes (as I couldn?t establish that). When I have tried putting in a td padding its messes it up.

Could someone please reply!!!????

https://vborg.vbsupport.ru/external/2009/12/6.jpg

Jonathan81
02-04-2012, 04:03 PM
Old thread revival...

Just installed this. Working great only for one issue. I also have vb.Sponsors installed but for some reason, any forums which are not sponsored (i.e. should be in their original state without any modifications), the right column appears underneath the entire website. Anyone have any ideas?

Jonathan81
02-05-2012, 12:28 PM
Please ignore, now sorted. Found an extra bit of code that shouldn't have been there.