vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Forum Display Enhancements - Country Display for Who's Online (https://vborg.vbsupport.ru/showthread.php?t=151600)

mfyvie 07-08-2007 10:08 AM

Quote:

Originally Posted by Ahsin1 (Post 1285701)
WHta is this man i import that Geo Location i got this msg when i open my forums

You've just posted exactly the same thing on the GLA thread (the correct place for that issue), and I've answered you on that thread.

Quote:

Originally Posted by Kaycee123 (Post 1285702)
I've installed GLA and this program and everything is working fine except the flag pictures don't come up. I have them all installed under /images/misc/flags/ Is that where they're supposed to be??

Yes that's the correct location. Two possibilities - file permissions error. Is the flags directory accessible from the outside world? Try manually typing in the full URL to one of the flags. The other possibilities is the style variable that points to the misc directory is set somewhere else. If you are using multiple styles and have multiple "misc" directories, then you can put the flags directory in there (this allows you to show different sets of flags according to different styles).

mfyvie 07-08-2007 10:12 AM

@Ahsin1 - this is now the third time you've pasted exactly the same post. If you continue to do this, I will ignore you. I've already given you a solution (i.e. disable product and then follow the instructions) on the GLA thread, which is the correct thread.

This thread is for discussion of the who's online hack.

Kaycee123 07-08-2007 10:19 AM

Quote:

Originally Posted by mfyvie (Post 1285707)

Yes that's the correct location. Two possibilities - file permissions error. Is the flags directory accessible from the outside world? Try manually typing in the full URL to one of the flags. The other possibilities is the style variable that points to the misc directory is set somewhere else. If you are using multiple styles and have multiple "misc" directories, then you can put the flags directory in there (this allows you to show different sets of flags according to different styles).

Thanks for the advice, they were in the wrong misc directory - I have a custom skin and when I moved the flags directory into the misc file for that skin it works great!! Thank you very much for your prompt response:up:

Ahsin1 07-08-2007 10:19 AM

Quote:

Originally Posted by mfyvie (Post 1285709)
@Ahsin1 - this is now the third time you've pasted exactly the same post. If you continue to do this, I will ignore you. I've already given you a solution (i.e. disable product and then follow the instructions) on the GLA thread, which is the correct thread.

This thread is for discussion of the who's online hack.

OKk i wont ...i disable it now forums is working :)

mfyvie 07-08-2007 10:21 AM

Quote:

Originally Posted by Kaycee123 (Post 1285716)
Thanks for the advice, they were in the wrong misc directory - I have a custom skin and when I moved the flags directory into the misc file for that skin it works great!! Thank you very much for your prompt response:up:

I might put a note in the instructions for people with multiple styles to check that.

shamda 07-08-2007 02:26 PM

Very nice add on! I just installed it and it works great, except that there are one of two that do not show including mine! I am using comcast isp in florida, not sure why it does not show. I have it set to show flag and country. Right now there are 20 online and all show except mine and one other. I am the super admin for my board, not sure if that has something to do with it. Any ideas?

mfyvie 07-08-2007 02:31 PM

Quote:

Originally Posted by shamda (Post 1285832)
Very nice add on! I just installed it and it works great, except that there are one of two that do not show including mine! I am using comcast isp in florida, not sure why it does not show. I have it set to show flag and country. Right now there are 20 online and all show except mine and one other. I am the super admin for my board, not sure if that has something to do with it. Any ideas?

That's an issue concerning GLA itself, rather than this mod. But if you look in the instructions for GLA you'll find the link to the site that provides the database. It's just bad luck that your ISP isn't in it.

JD45 07-08-2007 03:31 PM

Quote:

Originally Posted by mfyvie (Post 1285612)
Ok, that's odd. If you have the session columns and they are populated, then it's working. Once that table is extended, those values are loaded automatically by vb. You may be putting it in a part of the template that doesn't display?

I just went to footer, and inserted $session[host] as the very first line. This displays the IP address and should work for you - it worked for me and has nothing at all to do with this mod.

Of course there's a remote possibility that your own session has the country field blank if it couldn't look up your address. Maybe you should double check the session table to find your own entry and check.

I put $session[host] in the first line of the footer and it did show up. I put $session[country] and nothing showed up.

I checked the session table again, and there is a country being shown for each session listed.

I'm at a loss..

It seems all the data is there, I just can't get it to display.

steven s 07-08-2007 03:55 PM

Quote:

Originally Posted by JD45 (Post 1285890)
It seems all the data is there, I just can't get it to display.

What if you do add this to a template?

HTML Code:

<img src="$stylevar[imgdir_misc]/flags/$session[country_iso2].png" alt="$session[country]" />
Look at www.318ti.org/forum/
Do you see the US flag in the lower right of the header banner?

mfyvie 07-08-2007 04:04 PM

Quote:

Originally Posted by JD45 (Post 1285890)
I put $session[host] in the first line of the footer and it did show up. I put $session[country] and nothing showed up.

I checked the session table again, and there is a country being shown for each session listed.

I'm at a loss..

It seems all the data is there, I just can't get it to display.

All I can think of is that your session isn't matching. Post your current IP or PM it to me and I'll look it up to see if it is matching. I presume also you are running on 3.6.7.


All times are GMT. The time now is 05:22 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.01412 seconds
  • Memory Usage 1,752KB
  • 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_html_printable
  • (9)bbcode_quote_printable
  • (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