![]() |
Chen,
I haven't found any problems. Added several outside pages and everything seems to be doing super. I've even managed to pull in a news script that ends up using various files and it works super. Ready for release as far as I can see. Thank you for the super hack. :) |
[QUOTE]Originally posted by FireFly
The major advantage is using the sessions vBulletin provides. Other than that, checking for permission becomes easier, and also templates. You can use templates with that. |
I couldn't get it to work that way either JJR. It works properly without including the sessionhash as far as I can see. The only thing I did different is I added the sessionhash to all of my links in the forum. So SiteNews.php has a link with the sessionhash included. In other words I didn't add the sessionhash to the link in the hack, I added the sessionhash to the link in the forums that takes you to that page.
Hope this helps... :) |
Erm, but isn't everyone's sessionhash unique etc. etc. ?
Anyway, Hooper do you have the global.php script required at the start of all of those pages (listed in your attached ready.gif above) ?? :) |
Easy to install, works perfekt with external pages!
:D Thanks a lot! Tom |
[QUOTE]Originally posted by KuraFire
Erm, but isn't everyone's sessionhash unique etc. etc. ? Anyway, Hooper do you have the global.php script required at the start of all of those pages (listed in your attached ready.gif above) ?? :) |
*nods*
But I still don't know how to fix the three errors I get when I include global.php on a page.. :( (see posts #59 and #61 in this thread, for the details) |
[QUOTE]Originally posted by KuraFire
*nods* But I still don't know how to fix the three errors I get when I include global.php on a page.. :( (see posts #59 and #61 in this thread, for the details) |
My global.php (I assume this is the one in the root directory, not the ./admin/ directory) is untouched (never edited it), and my external files are in the very same directory. I keep all my external pages that extract data from my vB-database in the same directory, cos yes that's a lot easier for everything. :D
Anyway, no, I doubt it's a path error. The two lines (85 and 88) in my global.php are: if ($HTTP_GET_VARS['HTTP_POST_VARS']['action'] == $HTTP_POST_VARS['action']) { unset($HTTP_POST_VARS['action']); } $HTTP_POST_VARS['action'] = trim($HTTP_POST_VARS['action']); (with the second line as 85, and the last line as 88) Maybe I ought to try this online instead of on my own computer (set up as apache+php+mysql) - that might be it? |
[QUOTE]Originally posted by KuraFire
My global.php (I assume this is the one in the root directory, not the ./admin/ directory) is untouched (never edited it), and my external files are in the very same directory. I keep all my external pages that extract data from my vB-database in the same directory, cos yes that's a lot easier for everything. :D Anyway, no, I doubt it's a path error. The two lines (85 and 88) in my global.php are: if ($HTTP_GET_VARS['HTTP_POST_VARS']['action'] == $HTTP_POST_VARS['action']) { unset($HTTP_POST_VARS['action']); } $HTTP_POST_VARS['action'] = trim($HTTP_POST_VARS['action']); (with the second line as 85, and the last line as 88) Maybe I ought to try this online instead of on my own computer (set up as apache+php+mysql) - that might be it? |
All times are GMT. The time now is 11:49 AM. |
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:
|