Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

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
  #222  
Old 01-11-2006, 10:57 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

NexDog

I've done a bit of poking around for you and this should work.

Download this mod and import the plugin.

The template edit to do in the readme file apply to your left_column template instead of the navbar.

If it doesn't work, you can hit me with a big stick.
Reply With Quote
  #223  
Old 01-12-2006, 02:31 AM
Viks Viks is offline
 
Join Date: Sep 2004
Location: Toronto
Posts: 295
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Amykhar, Is it possible for the left coloumn to be the EXACT same hieght as the forumshome coloumn on the right.

I mean the length of the LEFT coloumn should match the one on the right...even if it is blank.

is it possible?
Reply With Quote
  #224  
Old 01-12-2006, 03:03 AM
NexDog's Avatar
NexDog NexDog is offline
 
Join Date: Mar 2002
Location: Lost in the Nexus
Posts: 388
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by peterska2
NexDog

I've done a bit of poking around for you and this should work.

Download this mod and import the plugin.

The template edit to do in the readme file apply to your left_column template instead of the navbar.

If it doesn't work, you can hit me with a big stick.
Actually, already tried that and it doesn't work. But if I put the $navbar variable in the forumhome template the navbar comes up with the avatar in there.
Reply With Quote
  #225  
Old 01-12-2006, 03:24 AM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll play with it tomorrow and see what I can come up with
Reply With Quote
  #226  
Old 01-12-2006, 04:28 AM
NexDog's Avatar
NexDog NexDog is offline
 
Join Date: Mar 2002
Location: Lost in the Nexus
Posts: 388
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey, thanks, I really appreciate that. It amazes me that people are always willing to give up valuable time to help people on this board.
Reply With Quote
  #227  
Old 01-13-2006, 10:17 AM
NexDog's Avatar
NexDog NexDog is offline
 
Join Date: Mar 2002
Location: Lost in the Nexus
Posts: 388
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

One of our coders got this to work.

1) He modified the left_column plugin code to create a variable called
"UserAvatar".

2) He modified the left column template to show said variable.

3) He had to hack one file - includes/class_core.php to force the function
fetch_user() to return avatar details. This is where we need help.

The other plugin (Avatar_In_Navbar) has a specific define that tells the
code to include the avatar stuff. How can we activate that define through a
plug in so that we don't need to modify the core files? Otherwise, each
time I do a security update, I'll kill the hack....
Reply With Quote
  #228  
Old 01-16-2006, 03:55 PM
NemoTech NemoTech is offline
 
Join Date: Oct 2005
Location: Toronto, Ontario
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by amykhar
Header
Code:
<if condition="(in_array($vbulletin->userinfo['usergroupid'], array(6,27)))">
<!-- Left Column Code  -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="left">
<tr>
<td width="160" valign="top" align="left">$leftcolumn</td>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td valign="top">
<!-- End Left Column Code -->
</if>
Footer
Code:
<if condition="(in_array($vbulletin->userinfo['usergroupid'], array(6,27)))">
<!-- Left Column Code  -->
</td></tr>
</table>
</td></tr>
</table>
<!-- End Left Column Code -->
</if>
This example would only show the column to the people in usergroups 6 and 27
What if you wanted to exclude certain forums from having the left column? What changes do I make in the if statement?

Thanks.
Reply With Quote
  #229  
Old 01-18-2006, 05:47 PM
todd222222 todd222222 is offline
 
Join Date: Mar 2003
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How would I go about having the column show up on every page except my vbadvanced home page? Any help would be greatful.

Thanks
Todd
Reply With Quote
  #230  
Old 01-20-2006, 11:07 PM
Langly Langly is offline
 
Join Date: Dec 2005
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BiReL41r
This is a good hack to display your google adsense ads on the left. Some other sites do this aswell apposed to the top or footer of the site.

Can you give an example of the code and where to put the google ads at in this hack?
Reply With Quote
  #231  
Old 01-30-2006, 01:40 AM
Z28.com Z28.com is offline
 
Join Date: Jan 2003
Location: Baton Rouge, Louisiana
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

pardon my ignorance,

but how exactly do I import the XML file?? I have installed the script in the header/footer and the column works fine. I just dont understand what the XML file is about?

Thanks
Reply With Quote
Reply


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 06:47 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.06121 seconds
  • Memory Usage 2,312KB
  • 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
  • (3)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
  • (2)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