vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Add Who's Online locations from Admin CP (https://vborg.vbsupport.ru/showthread.php?t=32849)

Hooper 12-16-2001 05:08 PM

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. :)

JJR512 12-17-2001 02:54 AM

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

Hooper 12-17-2001 02:56 AM

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... :)

KuraFire 12-17-2001 07:23 AM

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) ??

:)

Dontom 12-17-2001 07:30 AM

Easy to install, works perfekt with external pages!
:D
Thanks a lot!
Tom

Hooper 12-17-2001 07:57 AM

[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) ??

:)

KuraFire 12-17-2001 09:27 AM

*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)

Hooper 12-17-2001 11:48 AM

[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)

KuraFire 12-17-2001 03:03 PM

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?

Hooper 12-17-2001 03:09 PM

[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
  • Page Generation 0.01279 seconds
  • Memory Usage 1,733KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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