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)

tanyeri24 07-07-2007 06:51 PM

oke you've right.
country table is there but no flag no country name on WOL.
In admincp is set the show... again there is created "COUNTRY" in WOL
but no FLAG no COUNTRYNAME.
installed exact like .txt.

mfyvie 07-07-2007 07:00 PM

Quote:

Originally Posted by tanyeri24 (Post 1285267)
oke you've right.
country table is there but no flag no country name on WOL.
In admincp is set the show... again there is created "COUNTRY" in WOL
but no FLAG no COUNTRYNAME.
installed exact like .txt.

That's a bit better. You've obviously confirmed that the table "ip2country" is in your database (I take it that's what you mean by country table). The next thing you should do is check your session table, and see if the country column has been added to the session table, and if it is populated.

On the other hand, you might be saying that country table is the column for "Country" on the who's online table itself (if this is what you meant the column rather than table is the word you wanted).

Although you've improved the amount of information you've supplied, please take the time to write clearly and in detail, and I might be able to help you more. In the meantime, I take it you noticed this part in the instructions:

Quote:

Please click install. Support requests from people who have not clicked install may not be answered.

jderouen 07-07-2007 07:17 PM

Am I correct in assuming that the displays don't update until someone changes what they're doing on the forums? ie: I just installed it, but only a smattering of the 100+ people listed in the Who's Online have a flag next to their name. But as I've reloaded over the last several minutes, I've noticed some of them filling in as they moved around the board.

Is that correct, or is something wrong?

Thanks!
Joe

mfyvie 07-07-2007 07:23 PM

Quote:

Originally Posted by jderouen (Post 1285282)
Am I correct in assuming that the displays don't update until someone changes what they're doing on the forums? ie: I just installed it, but only a smattering of the 100+ people listed in the Who's Online have a flag next to their name. But as I've reloaded over the last several minutes, I've noticed some of them filling in as they moved around the board.

Is that correct, or is something wrong?

Thanks!
Joe

Hi Joe, you are correct - someone has to actually load a page before the required code will fire up for the first time. You can't expect it to work for the sessions that have been inactive since before you installed it. :) Speaking of installed. [cough] forgotten to click install?

tanyeri24 07-07-2007 07:37 PM

Quote:

Originally Posted by mfyvie (Post 1285273)
On the other hand, you might be saying that country table is the column for "Country" on the who's online table itself (if this is what you meant the column rather than table is the word you wanted).

yeah column is there on WOL but no FLAG no NAME. Thanks.

alessai 07-07-2007 07:39 PM

i'll love this if it can show up in the postbit

Xil Ze 07-07-2007 07:42 PM

i'm using 3.6.4, so that may be the issue. the database is good and everything installed correctly as far as i can tell but there's no cell for the country data on the page:

Code:

        <td class="alt1"><div class="smallfont">
                       
                                <a href="online.php?do=resolveip&amp;ipaddress=" id="resolveip_1" title="Resolve IP Address"></a>
                       
                       
                </div></td>

Flag cell should be here.
       
        <td class="alt1"></td>
                <td class="alt2" align="center" nowrap="nowrap">
                        <a href="#" onclick="imwindow('aim', '1', 400, 200); return false;"><img src="http://blogicology.com/images/misc/im_aim.gif" alt="Send a message via AIM " border="0" /></a>
                </td>

(i guess my issue is the same as the other guy's.)

mfyvie 07-07-2007 07:53 PM

Quote:

Originally Posted by Xil Ze (Post 1285304)
i'm using 3.6.4, so that may be the issue. the database is good and everything installed correctly as far as i can tell but there's no cell for the country data on the page:

Xil Ze - Bonus points for realising that this is a 3.6.7 mod, but you are running on 3.6.4.

Ok, this is the string I am targetting in both WHOSONLINE and whosonlinebit:

Code:

<if condition="$vboptions['showimicons']">
It looks like you have shown your HTML output there. If you can find the equivalent text in your whosonlinebit template and copy it here (with a couple of lines either side), I'll see what I can do about making it detect 3.6.4 as well. Please check only the standard template (not one you may have modified!). I don't have 3.6.4 so you'll have to send me an email, so I can email you back a version for you to test.

Xil Ze 07-07-2007 08:44 PM

alright, i've determined that, on my board, $userinfo[country_iso2] $userinfo[country] are invariably returned as null. though they're correct in the session table.

mfyvie 07-07-2007 08:52 PM

Quote:

Originally Posted by Xil Ze (Post 1285335)
alright, i've determined that, on my board, $userinfo[country_iso2] $userinfo[country] are invariably returned as null. though they're correct in the session table.

That sounds very strange. Try adding something to one of your templates just on a temporary basis: $session[country]. This should display YOUR country, for your own session (from GLA itself). The $userinfo variables belong to the who's online mod.

You can switch to PM's now if you like - that would help to keep all the boring stuff off the thread until we resolve this. If there's information that comes out that is useful, I'll update this thread.


All times are GMT. The time now is 06: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.01104 seconds
  • Memory Usage 1,750KB
  • 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_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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