The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#21
|
|||
|
|||
![]()
No matter what I try, I get this damn message:
Warning: Failed opening './admin/config.php3' for inclusion (include_path='') in ./bulletinboard/global.php3 on line 66 |
#22
|
|||
|
|||
![]()
Try going to that line and change the path to your full path.
ie. change ./admin/config.php to /home/username/public_html/bb/admin/config.php or whatever it is on your server. That worked for me. |
#23
|
|||
|
|||
![]()
Awesome ... thanks!
|
#24
|
|||
|
|||
![]()
This is driving me nuts! I stopped the warning message about the config.php, but now I'm getting something about the headers already being sent.
I use a template system to build my pages (one centrally located file with the header and footer). I'm trying to add your hack as an include on this template file. This is the newest warning I'm getting: Warning: Cannot add header information - headers already sent by (output started at include/template.inc:143) in /htdocs/bulletinboard/admin/functions.php3 on line 1187 Is there a way to put the <? require("global.php3"); ?> at the top of my template, and then use your hack later as an include on the page? When I try this I get the login boxes and they work fine (I can log onto the forum), but I never see the welcome message. Any guidance? Thanks. |
#25
|
|||
|
|||
![]()
This is an addition to my post above.
I have two functions called my_siteTop and my_siteBottom, which draw the header and footer for every one of my pages on my site. I believe this is the root of my problem with getting the global.php and login script to work correctly. Here's what it looks like now: <? $path= "c:/nusphere/apache/htdocs"; $baseref= "http://localhost/"; require("$path/bulletinboard/global.php3"); function my_siteTop ( $page= "", $title= "", $description= "", $keywords= "", $author= "", $baseref= "http://localhost/", $path= "/www/webdirectorylocation" ) { global $path; global $baseref; include("$path/include/site_top.php3"); } function my_siteBottom ( $path= "/www/webdirectorylocation" ) { global $path; include("$path/include/site_bottom.php3"); } ?> |
#26
|
|||
|
|||
![]()
Got it working.
|
#27
|
|||
|
|||
![]()
I get the same message about headers already being sent, anyone come up with a fix for this?
Thanks Sean |
#28
|
|||
|
|||
![]()
So......can someone please fill out what we need to put on our sites?
I still dont know. |
#29
|
|||
|
|||
![]()
Sorry to bring up an old thread, but can someone go to www.dumbfounded.net and see what I want to do; I basically want to do the same general idea of this, but the login boxes are at the bottom of the site; I want the welcome guest or $username to be up in the top bar where the day/date is, except aligned to the left side. Can anyone help me out?
Thanks. |
#30
|
|||
|
|||
![]()
also is the require suppose to be a path to the global.php file or the config.php because when i did it as the global.php I was getting errors, even with the full path, but when I did the full path of config.php I didn't get errors, but nothing showed up at all.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|