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
Left/Right Column Hack with Include File Enabled Details »»
Left/Right Column Hack with Include File Enabled
Version: 1.00, by theguywhoknowz theguywhoknowz is offline
Developer Last Online: Jul 2007 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 05-04-2006 Last Update: Never Installs: 13
 
No support by the author.

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

Show Your Support

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

Comments
  #12  
Old 06-20-2006, 06:56 AM
theguywhoknowz theguywhoknowz is offline
 
Join Date: Feb 2006
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by futuredood
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.
Did you get it working finally?
Reply With Quote
  #13  
Old 06-21-2006, 04:02 AM
futuredood futuredood is offline
 
Join Date: Jan 2002
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no, i didn't.. i was stuck at where i had left the message. i hope that wasn't a newbie question from me.. looking at the instructions for the original left column hack, there was no $leftcolumn code to replace. also, on the initial install, i made the plugin active which shut down my site.
Reply With Quote
  #14  
Old 06-21-2006, 04:07 AM
futuredood futuredood is offline
 
Join Date: Jan 2002
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

actually, don't reply i found it lol.. sorry about that, shall brb.
Reply With Quote
  #15  
Old 06-22-2006, 08:22 AM
futuredood futuredood is offline
 
Join Date: Jan 2002
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

k, now i have some more valid questions .

the problem i had was concerning the left column. your instructions said to look in the footer, but for left column it's only in header (i haven't checked right column). you might want to note that in the instructions.

also, here's the problem. in instructions, i noticed this code:

require('your file path.php');

is this the absolute path or relative path, and to what file?

thanks.
Reply With Quote
  #16  
Old 06-22-2006, 10:55 AM
theguywhoknowz theguywhoknowz is offline
 
Join Date: Feb 2006
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by futuredood
k, now i have some more valid questions .

the problem i had was concerning the left column. your instructions said to look in the footer, but for left column it's only in header (i haven't checked right column). you might want to note that in the instructions.

also, here's the problem. in instructions, i noticed this code:

require('your file path.php');

is this the absolute path or relative path, and to what file?

thanks.
I think I mean absolute path like, and the file is whatever file is you are including.
Reply With Quote
  #17  
Old 06-22-2006, 11:42 AM
futuredood futuredood is offline
 
Join Date: Jan 2002
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by theguywhoknowz
I think I mean absolute path like, and the file is whatever file is you are including.
ah, i see. i thought this was to allow code into your left column.. for example, welcome $post[musername] and also to show how many new private messages the user received.
Reply With Quote
  #18  
Old 06-22-2006, 12:50 PM
theguywhoknowz theguywhoknowz is offline
 
Join Date: Feb 2006
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by futuredood
ah, i see. i thought this was to allow code into your left column.. for example, welcome $post[musername] and also to show how many new private messages the user received.
In theory, you can, just make a custom file that do all that then include it in
Reply With Quote
  #19  
Old 06-22-2006, 08:02 PM
futuredood futuredood is offline
 
Join Date: Jan 2002
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by theguywhoknowz
In theory, you can, just make a custom file that do all that then include it in
hmm can you give me some pointers on how to? all i can think of is say a .txt file with code that says $post[fieldXX], but that is pretty much the same as placing in $post[fieldXX].
Reply With Quote
  #20  
Old 06-30-2006, 01:08 PM
chewy chewy is offline
 
Join Date: Oct 2003
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, i have managed to get the side column to output some text via an include file but how do I allow vb to run $vbphrase's like below ???

$vbphrase[welcome_back_x]
$vbphrase[last_visited_x_at_y]
Reply With Quote
  #21  
Old 07-04-2006, 12:21 AM
squall leonhart squall leonhart is offline
 
Join Date: Jun 2006
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by chewy
Ok, i have managed to get the side column to output some text via an include file but how do I allow vb to run $vbphrase's like below ???

$vbphrase[welcome_back_x]
$vbphrase[last_visited_x_at_y]
Yeah! This is my problem with me too. I want to add the login form to the left column but when I added it & tried to login, the welcome was shown on the main navigation bar, not on the left column as I expected (I copied all of the code in navbar). How to do?
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 05:16 PM.


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.04662 seconds
  • Memory Usage 2,305KB
  • 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
  • (6)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
  • (2)pagenav_pagelink
  • (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