Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
Put a Column on the Left Side of Every Forum Page Details »»
Put a Column on the Left Side of Every Forum Page
Version: 1.1, by amykhar amykhar is offline
Developer Last Online: Nov 2013 Show Printable Version Email this Page

Version: 3.5.0 RC2 Rating:
Released: 07-08-2005 Last Update: 08-16-2005 Installs: 338
Uses Plugins Template Edits
 
No support by the author.

This little PRODUCT will provide you with a template to put content in a column going down the left side of every forum page.

What you put there is limited only by your imagination.

This can easily be combined with the right column product to have a column on both sides.

To use this with the right column product , change the footer code to:
Code:
<!-- Right Column Code  -->
</td>
<td width="160" valign="top" align="left">$rightcolumn</td>
</tr>
</table>
</td></tr>
</table>
<!-- End Right Column Code -->
Changes in 1.1
Some very important changes were made to the header and footer template changes. Please modify your header and footer code to use the new version.

This is now a PRODUCT and not a plugin. Use the product manager to import it. If you are upgrading, copy the contents of your left_column template to notepad BEFORE you install the product. Then, replace the template contents with your backup.

This version now includes sample html in the left_column template. Thanks to iguanairs for that code.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #372  
Old 08-19-2006, 04:12 PM
ithf ithf is offline
 
Join Date: Jan 2006
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for the hack..

few questions though...

first of all, where exactly in the header template would u add the code...?
i added at the very top, above evrything else and then added it in the footer...

it added the right block, though it wasnt possitioned complete to the left as u have it on your screenshot, there was a gap between the block and the left side of the skin..also, i am not using a fixed template so as I added the blocked it streeched the main skin it self to the right adding a scroll bar at the bottom..

also, where would u edit the content of the block
and also, how would u another one right under it?

thanks
Reply With Quote
  #373  
Old 08-19-2006, 08:15 PM
Rik Brown's Avatar
Rik Brown Rik Brown is offline
 
Join Date: Nov 2005
Location: St. Louis, Missouri, USA
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by skyecade
I just added this to my forum (3.6) and it works great with 1 minor exception. When I view a thread (showthread.php) it seems to disalign some of the tables. Anyone know a fix to this problem?

Everything else seems to be working okay.
I just added it to 3.6.0 too. Likewise, everything looks fine except that in the threadview, it all expands from 1000 pix (my default vb width) to 1160 pix with the left side bar added in. Again, this is only on thread view and the rest of the site doesn't exceed the normal 1000 pix I have it defaulted to...

If anyone know a fix for this, I'd like to know, too

Thanks. -- Rik
Reply With Quote
  #374  
Old 08-21-2006, 10:25 AM
GrantHorizons GrantHorizons is offline
 
Join Date: Mar 2005
Location: Vancouver BC Canada
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Amy, any chance of a full upgrade to VB 3.6 for this lovely hack?

I'm not much of a coder and would like to just install and go! lazy, I know, but with a busy board it's dangerous to play when you don't know what you're doing! And it DOES seem there are a few problems.
Reply With Quote
  #375  
Old 08-21-2006, 03:59 PM
JenniferK JenniferK is offline
 
Join Date: Dec 2005
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Rik - check post #367

GrantHorizons - It works fine for 3.6
Reply With Quote
  #376  
Old 08-23-2006, 06:00 PM
GrantHorizons GrantHorizons is offline
 
Join Date: Mar 2005
Location: Vancouver BC Canada
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JenniferK
Rik - check post #367

GrantHorizons - It works fine for 3.6
Thanks Jennifer!
Reply With Quote
  #377  
Old 08-24-2006, 02:01 AM
Rik Brown's Avatar
Rik Brown Rik Brown is offline
 
Join Date: Nov 2005
Location: St. Louis, Missouri, USA
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JenniferK
Rik - check post #367

GrantHorizons - It works fine for 3.6
Jennifer:

Your post #367 fixed almost every page. I'm still just having difficulties on viewing threads (which are still too wide). But all other pages seem fine.

Thank you very much. -- Rik

P.S for Anyone: Also, I'm using this mod for Google Adsense ads. They really shouldn't be displayed on all pages (such as thread editing pages). Is there a way with PHP to know what vbulletin page you are on and then using if/then/else determine whether to display the left column or not?
Reply With Quote
  #378  
Old 08-24-2006, 08:15 AM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Rik,

Have a look at instructions in this post. They explain how to not have it on the register page. You add more pages by using the same variable and getting the script name from the top of the php file and adding an or to your conditional so you might end up with a conditional like this (well actually you won't but I just picked some pages that I kow the script names of)
Code:
<if condition="THIS_SCRIPT!='register' || THIS_SCRIPT!='index' || THIS_SCRIPT!='private' || THIS_SCRIPT!='adv_index'">
Whatever you do don't actually use that conditional as it will not display on your vBAdvanced (if you use it), your forumhome, private messaging, and registration pages. That is just a sample to show how to put more pages into the conditional.
Reply With Quote
  #379  
Old 08-24-2006, 05:03 PM
JenniferK JenniferK is offline
 
Join Date: Dec 2005
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Glad I was actually able to be of some help to someone

Anyone have any ideas about how to make the footer (What's Going On) not get pushed over by the column?
Reply With Quote
  #380  
Old 08-24-2006, 08:48 PM
Rik Brown's Avatar
Rik Brown Rik Brown is offline
 
Join Date: Nov 2005
Location: St. Louis, Missouri, USA
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Kerry-Anne: Fantastic. Your message #377 solved it for me. Thanks. -- Rik
Reply With Quote
  #381  
Old 08-24-2006, 09:06 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JenniferK
Glad I was actually able to be of some help to someone

Anyone have any ideas about how to make the footer (What's Going On) not get pushed over by the column?
Thats going to be fun, as it will need some fancy conditional work

(actually not really, but it sounds good lol)

In your footer wrap the edit with
Code:
<if condition="THIS_SCRIPT!='index'">additional stuff for the column</if>
Then in your forumhome template above the whats going on box code, add the code normally put in the footer.

It's not tested, but you shouldn't have any problems.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:57 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05004 seconds
  • Memory Usage 2,308KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete