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 06-20-2006 06:56 AM

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?

futuredood 06-21-2006 04:02 AM

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.

futuredood 06-21-2006 04:07 AM

actually, don't reply i found it lol.. sorry about that, shall brb.

futuredood 06-22-2006 08:22 AM

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.

theguywhoknowz 06-22-2006 10:55 AM

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.

futuredood 06-22-2006 11:42 AM

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.

theguywhoknowz 06-22-2006 12:50 PM

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

futuredood 06-22-2006 08:02 PM

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].

chewy 06-30-2006 01:08 PM

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]

squall leonhart 07-04-2006 12:21 AM

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?


All times are GMT. The time now is 02:22 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.00956 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
  • (6)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