vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Left/Right Column Hack with Include File Enabled (https://vborg.vbsupport.ru/showthread.php?t=114813)

theguywhoknowz 05-04-2006 10:00 PM

Left/Right Column Hack with Include File Enabled
 
First of all, this hack is modify from the original column mod by amykhar. I would assume you already have the original mod installed, if not, click here

As many people have asked but got no answer, the original mod did not let you to have include file or using vb include function. This little hack will help you. :banana:

Example here: http://www.Maternity.com

Hack by GameReviews.com Team

DeMiNe0 05-05-2006 03:02 PM

Here is a good question for ya... Alot of people use vbadvanced.... How would they use this to include a collumn from vbadvanced into there forums?

theguywhoknowz 05-05-2006 06:56 PM

I havent tried, but it seem just using the same method to work around, it should work.

pcoskat 05-06-2006 11:36 AM

Nifty!

Question: Can this be set to have the column ONLY appear on ShowThread & ForumDisplay, in specific forums? (ie: I only want the column to appear in one forum)

Thanks!

Webmist 05-07-2006 05:04 PM

Quote:

Originally Posted by pcoskat
Nifty!

Question: Can this be set to have the column ONLY appear on ShowThread & ForumDisplay, in specific forums? (ie: I only want the column to appear in one forum)

Thanks!

I did that with include statements in my forum header.
PHP Code:

<!-- Left Column Code  -->
<
table border="0" width="$stylevar[outertablewidth]cellpadding="0" cellspacing="0" align="center">
<if 
condition="in_array($foruminfo['forumid'], array(0,3,8,29,49,50,51,52,53,59,62))">
<
tr>
<
td width="15%" valign="top" align="left">$leftcolumn</td>
<
td valign="top">
<
table width="100%" cellpadding="0" cellspacing="0" border="0">
<
tr>
</if><
td valign="top">
<!-- 
End Left Column Code --> 

Just change the forum id's to the ones you want to show the left colum on. Leave the 0 though if you want the left column on non-forum pages like home or any pages you have added.

Snake 05-07-2006 05:54 PM

Thanks!

pcoskat 05-07-2006 08:09 PM

Quote:

Originally Posted by Webmist
I did that with include statements in my forum header.

Thanks, Webmist!! Much appreciated!:banana:

wdlove 05-09-2006 12:57 AM

For the users with vbadvanced and would like to include their columns througout the site:

http://www.vbadvanced.com/membersare...tid=4&pageid=6

theguywhoknowz 05-17-2006 07:38 AM

Quote:

Originally Posted by wdlove
For the users with vbadvanced and would like to include their columns througout the site:

http://www.vbadvanced.com/membersare...tid=4&pageid=6

awesome!

futuredood 06-20-2006 12:55 AM

can you be a little clearer with the instructions?

first, i added the new plugin.. which automatically lead to a automatic error that made my whole site inactive. i set the plugin to "active" because the instructions didn't say whether to leave it on/off.

also, the instructions said to go to your modified footer template to replace $leftcolumn with $testinclude. in amykhar's original instructions, it didn't say to include any $leftcolumn code..

thanks for the help, and great hack.


All times are GMT. The time now is 07:03 AM.

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.01089 seconds
  • Memory Usage 1,738KB
  • 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
  • (1)bbcode_php_printable
  • (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