![]() |
I still haven't seen a definitive reply as to if/how this works with other php scripts. I have a php include at the top of my page already for my content management system...how can I add the php require/chdir line for this hack and not screw up that? I'm not well versed in this stuff so please help!
|
I definitely can't get this to work properly with my other include statement because of the way it changes directories to the forum...I have the last 10 posts hack by tubedogg...it seems to be able toa access forum info (and plays nice with my other php scripts) without having to chdir?
Is this possible? I really need a log-in on my front page. |
magic168:
You may have to chdir back to your original directory after including the vbulletin global.php file, or before your other includes. |
If I access my vB forums directly (shortcut, per se) and then visit the other, non-vB with the hack, I get that awful error that says "Warning: Cannot add header information - headers already sent by ..."
Why does it do that? |
Hi, I wonder if anyone can help with this problem. I have done all needed to install the hack and it sort of works... BUT..
If you are NOT logged in then it simply jumps to the "normal" login page. What I want is to display my non-vbb HTML page (well PHP actually) but with a nice neat little login box. Any ideas on what is going wrong ? |
All right! Just about to install this one to our test setup :)
Cheers and thanks for the hack D.Lewis |
hello
on my server where the forum is it workz perfectly but............. on the server where the page (forum and page are on seperated servers) is hostet it shows this error message Warning: ChDir: No such file or directory (errno 2) in /homepages/45/d72897891/htdocs/vashXT/laststyle2/index2.php on line 2 Fatal error: Failed opening required 'global.php' (include_path='.:/usr/local/lib/php') in /homepages/45/d72897891/htdocs/vashXT/laststyle2/index2.php on line 3 |
Does anyone know how to get rid of this?
PHP Code:
|
Cool hack , added this without a hitch , easily customizable look thru the templates too :)
Thanks for the hack ! :D |
BrAinZ
You may need to check your templates to make sure that the paths to the forums are correct in the login form. Or make sure the cookie setup is correct in the vbulletin admin panel (see earlier in this thread). Kamui Shirou Check the path to the vbulletin global.php file. PHP cannot find it, so displays that message. TYorke Make sure the call to the vbulletin global.php file is at the very top of your non-vb page not at the top of the webwelcome.php file, as you mention in your earlier post. Make sure there is nothing before that line apart from the <?php opening tag. Make sure no white space before this tag too. Jethro & cinq Thanks for the kind comments. Glad you like it. |
All times are GMT. The time now is 05:05 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|