vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Digital Point User Map (https://vborg.vbsupport.ru/showthread.php?t=244236)

FTDave 01-02-2012 03:06 PM

1 Attachment(s)
here is a snapshot of my usermap and session table
The id 2999 is me

FTDave 01-02-2012 03:20 PM

It looks like the bots are user id 0
Why are they showing as admins?

Boofo 01-02-2012 04:16 PM

Are you running a cache on your server? And did you clear your browser cache?

FTDave 01-02-2012 04:31 PM

no cache on server.
I cleared browser cache.
I can delete all sessions in table and all pins go away
Strange.

Boofo 01-02-2012 09:10 PM

What do you have set for the cookie timeout?

digitalpoint 01-02-2012 10:05 PM

The code itself doesn't look at secondary usergroups, so you can rule that out.

Let's see if it's the setting first of all...

In your usermap.php file, if you change this:

PHP Code:

$admins_mods explode(','$vbulletin->options['digitalpoint_usermap_admins']); 

to this:
PHP Code:

$admins_mods explode(','$vbulletin->options['digitalpoint_usermap_admins']);
print_r ($admins_mods); 

It should barf out an array of usergroup IDs that it thinks should be mods/admins.

FTDave 01-04-2012 03:55 PM

When I tried this it came up with the correct userid.

Update:
I did nothing. The map started working. I have no idea.

Boofo 01-04-2012 04:44 PM

The session table must gave gotten cleared out okay.

Gamelobby 01-06-2012 04:25 AM

Quote:

Originally Posted by Gamelobby (Post 2280155)
I found the link.. but here is what i get when i click on it.
It this because of my host.? (missing php ext)
Code:

Fatal error: Call to undefined function geoip_record_by_name() in /home/content/08/4856008/html/gamelobby/Forum/usermap.php on line 100

Any ideas.?
My host says they do support it.

Thanks

digitalpoint 01-06-2012 07:49 AM

Quote:

Originally Posted by Gamelobby (Post 2284358)
Any ideas.?
My host says they do support it.

Thanks

They are wrong. :)


All times are GMT. The time now is 03:14 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.01407 seconds
  • Memory Usage 1,739KB
  • 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)bbcode_code_printable
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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