![]() |
ok... write me a FULL PATH to your forum
|
I put this in
chdir("/home/realweb/public_html/forums/"); require("./global.php"); chdir("/home/realwhttp://www.vbulletin.com/forum/newreply.php?action=newreply&threadid=21329eb/public_html/chat/chat/"); Now go here and see what we get http://chat.realwebhost.net |
u has a small tipp mistake there
but as i have seen in link it works... replace "no" wiht page that means "chat is only for forum registered members... please login yourself or register" or so that ;) |
this is what I put in go to link and see result
print "/index.php3"; //Message if the user has no cookie exit; |
you should write
require("./index.php3"); BUT IT WOULD NOT WORK! you can foget the standart login page with this hack... :( users without forum-accout can not use it :( |
ok I changed go to link and see result
|
here is line 9 and 10 of my global.php file
// get rid of slashes in get / post / cookie data function stripslashesarray (&$arr) { |
ups ;)
i dont know php very good.. delete the line ;) replace "no" with HTML code |
we tired I think the way you put require ./index.php3 in is correct problem somewhere else. I f you have it working could you direct to the url where I could see it in action?
|
i`ll show you original php-code
~~ if ($bbuserid == 0) { print "<html> Please register you or login you by our forum. </html> "; exit; } else { if ($bbusername == "" || (isset($bbusername))==0) ~~ somthing like this |
All times are GMT. The time now is 09:47 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:
|