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)

Boofo 02-28-2011 09:11 AM

I take it by your silence either that is a "no" or not worth your time fixing?

traen 02-28-2011 10:57 AM

Can you disable it for certain usergroups or is it a all or nothing ordeal?

Boofo 02-28-2011 11:10 AM

Quote:

Originally Posted by traen (Post 2167822)
Can you disable it for certain usergroups or is it a all or nothing ordeal?

There is no settings for that. It only works if there are logged in users. But I have a user logged in the other day and she got the errors and an empty map. She logged on later and it was fine.

digitalpoint 03-01-2011 05:11 AM

Quote:

Originally Posted by Boofo (Post 2166960)
Shaun, is there a way to suppress the foreach errors that show up if a guest clicks the link and no users are logged in?

Yeah, would be simple enough to wrap it in some logic to prevent it from foreaching if there are none to foreach.

Not a *huge* priority though to be honest. The percentage of forums that have no users on (guests, registered or spiders) I would guess might be like 1 in 1,000 (MAYBE). Then on top of it, the first page that a user starts their session at is the user map page... probably another 1 in 1,000 chance. So yeah... it obviously could happen, but the chances of everything (no users, spiders, etc.), then the first user hitting the user map page as their first page seems rather low.

I'll do it in the next version, but not going to bother with a version just for that.

Boofo 03-01-2011 05:57 AM

Any idea when the next version might be coming then?

Also, The errors showed up for a user that was logged in using Safari. When she logged out and back in later, she didn't get the errors. So it also seems to happen sporadically under certain conditions.

digitalpoint 03-01-2011 08:00 AM

Well the only time it should happen is if no one has been on the forum (logged in, spiders or guests) in whatever time the session window is set to. And even then it probably is only going to happen if the first page view of the user is on the user map page (basically the request that creates the session).

Boofo 03-01-2011 10:31 AM

My point was that is does happen, though.

OldSchoolDSL 03-25-2011 08:51 PM

Code:

Warning: Invalid argument supplied for foreach() in+[path]/usermap.php+on line+128
Warning: Invalid argument supplied for foreach() in+[path]/usermap.php+on line 133
Warning: Invalid argument supplied for foreach() in+[path]/usermap.php+on line 152

Had this error show up on another community. Only had 2 members online.

It could be the caching causing it when it renews the cache.

x YNWA x 04-02-2011 10:15 PM

Does anyone have a step by step guide on how I install this GeoIP PHP extension please? http://www.maxmind.com/app/php Just gives a download link but no instructions... Thanks

OldSchoolDSL 04-03-2011 02:31 AM

Quote:

Originally Posted by x YNWA x (Post 2180233)
Does anyone have a step by step guide on how I install this GeoIP PHP extension please? http://www.maxmind.com/app/php Just gives a download link but no instructions... Thanks


As root:

Debian / Ubuntu

Code:

aptitude install php5-geoip
Red Hat / Cent OS / Fendora

Code:

yum install php5-geoip
Restart Apached or Lightpd or Nginx (which ever you are using)

Done


All times are GMT. The time now is 02:55 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.01488 seconds
  • Memory Usage 1,740KB
  • 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
  • (3)bbcode_code_printable
  • (3)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