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)
-   -   vbulletin-ip Plotter (https://vborg.vbsupport.ru/showthread.php?t=42340)

Boofo 08-22-2002 03:06 AM

Ok, Drk, I moved everything and changed all of the links and it works fine except now every-time I run it from the on-line.php on the site, It makes me login to the Admin CP first before it shows. Any way to bypass that?

Brad 08-23-2002 12:45 AM

nice hack m8

DrkFusion 08-23-2002 03:42 PM

Boofo:
did you edit it in the Whos Online? The Link? If so, then you got to edit one of the php files included in the zip.

Hmm..I will check it out, but Im suer vbipplot.php is me best bet. There may be file includes telling it to go yo mod folder.

Boofo 08-23-2002 05:40 PM

It goes to the plotter window fine, it just asks for my login password to the admin dir every-time I do now, is all. Once I give it, it will allow me to go there again and again without the password having to be entered again. Cookies, maybe? :)

Quote:

Originally posted by DrkFusion
Boofo:
did you edit it in the Whos Online? The Link? If so, then you got to edit one of the php files included in the zip.

Hmm..I will check it out, but Im suer vbipplot.php is me best bet. There may be file includes telling it to go yo mod folder.


DrkFusion 08-23-2002 06:04 PM

Maybe...I will talk to you when I get back, I am going out of down for few days.

Bye!

Boofo 08-23-2002 06:12 PM

Don't forget to bring me back a souvenir, Drk. :)

Quote:

Originally posted by DrkFusion
Maybe...I will talk to you when I get back, I am going out of down for few days.

Bye!


NTLDR 08-23-2002 09:09 PM

Quote:

Originally posted by Boofo
It goes to the plotter window fine, it just asks for my login password to the admin dir every-time I do now, is all. Once I give it, it will allow me to go there again and again without the password having to be entered again. Cookies, maybe? :)
This is true of all files in the admin directory that include admin/global.php and use cpheader(); and cpfooter(); Its a security feature in vB.

Boofo 08-23-2002 09:17 PM

That makes sense. I supose I could move it all to the forum root directory. That wouldn't hurt anything would it? No one but the admin should see it even from there, should they?

NTLDR 08-23-2002 09:35 PM

It won't hurt being there, however you need to remove the cpheader(); and cpfooter(); lines as that will cause parse errors.

If you do move it into the forums directory I suggest that you add this code after require('./global.php'); so that only admins can view the page, and everyone else gets the no permission error.

PHP Code:

if ($bbuserinfo[usergroupid]!=6) {
show_nopermission();



Boofo 08-23-2002 10:43 PM

Good idea, although, with it set up like it is, I think only Admins can view IPs on my site already, so it should be set to go if I move it there. The show nopermissions is a good safety catch though. :)

Let me ask you this...how could I do the permissions for like it is set for in the Admin CP, for whoever I have it set for to be able to see IPs?

Quote:

Originally posted by NTLDR
It won't hurt being there, however you need to remove the cpheader(); and cpfooter(); lines as that will cause parse errors.

If you do move it into the forums directory I suggest that you add this code after require('./global.php'); so that only admins can view the page, and everyone else gets the no permission error.

PHP Code:

if ($bbuserinfo[usergroupid]!=6) {
show_nopermission();





All times are GMT. The time now is 01:53 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
  • Page Generation 0.01193 seconds
  • Memory Usage 1,741KB
  • 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
  • (2)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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