Author Topic: [MOD]country flags of your visitors in "Who's online?" in home page  (Read 265026 times)

0 Members and 1 Guest are viewing this topic.

skiemor

  • Guest
Re: [MOD]country flags of your visitors in "Who's online?" in home page
« Reply #150 on: September 28, 2007, 05:20:25 PM »
Everything is working good and flags are also visible but after all user flags it show quomas,,,
As by default after every user flag there is a quoma, but quomas or appearing after all user flags.

Check: www.deskbeauty.com  and go to footer

and plz help me how to get out these quomas ,,,, ?

sessions.php
Um Zeile 493 oder 494: nimm' das Komma aus den Gänsefüßchen raus.
if ($num_guests_online > 1){
$invitado_online_list .= "hier das Komma raus ";

skiemor

  • Guest
Re: [MOD]country flags of your visitors in "Who's online?" in home page
« Reply #151 on: September 28, 2007, 06:48:46 PM »
Hallo, ich habe jetzt bei drei Gästen aus Deutschland drei Flaggen in der Anzeige:
3 flag 2 flag 1 flag. Cooler wäre es, wenn nur eine Flagge angezeigt würde und davor (besser noch dahinter) die Anzahl 3.
Kann mir jemand sagen, was ich dazu ändern muss. Inzwischen setze ich meine Suche danach fort. Es scheint ja irgendwie zu gehen. ;-)

Wer suchet, der findet:

http://www.4homepages.de/forum/index.php?topic=7831.msg35812#msg35812

Gruß.


« Last Edit: September 28, 2007, 07:01:41 PM by skiemor »

Offline jilla

  • Pre-Newbie
  • Posts: 1
    • View Profile
Re: [MOD]country flags of your visitors in "Who's online?" in home page
« Reply #152 on: September 28, 2007, 06:50:11 PM »
thanx a lot!  :wink:

__
http://ksavary.com -- dream means sogn

skiemor

  • Guest
Re: [MOD]country flags of your visitors in "Who's online?" in home page
« Reply #153 on: September 28, 2007, 08:28:46 PM »
Hallo, Besucher aus Deutschland, die mit AOL surfen, kriegen die Ami-Flagge verpasst. ;-)
Kann man das ändern?

Gruß.

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [MOD]country flags of your visitors in "Who's online?" in home page
« Reply #154 on: September 29, 2007, 12:48:50 AM »
@skiemor
... nicht mehr alle ... ;)
... über die IP wird der Standort des Providers ermittelt und der ist bei AOL nun mal irgendwo in Kansas ...
... da aber Alice bei AOL-D eingestiegen ist, werden bereits einige IPs mit Standort Hamburg vergeben ...
... du kannst also AOL-Surfer mit D- oder US-Flagge haben ...
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

skiemor

  • Guest
Re: [MOD]country flags of your visitors in "Who's online?" in home page
« Reply #155 on: September 29, 2007, 11:00:39 AM »
@mawenzi, danke für die Info. ;-)

@skiemor
... nicht mehr alle ... ;)
... über die IP wird der Standort des Providers ermittelt und der ist bei AOL nun mal irgendwo in Kansas ...
... da aber Alice bei AOL-D eingestiegen ist, werden bereits einige IPs mit Standort Hamburg vergeben ...
... du kannst also AOL-Surfer mit D- oder US-Flagge haben ...

Offline mathuatden

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
Re: [MOD]country flags of your visitors in "Who's online?" in home page
« Reply #156 on: October 17, 2007, 05:22:31 AM »
How can work with 4images1.7.4?
I have a blank page when hack this mod, who can send me session.php file (v1.7.4)

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD]country flags of your visitors in "Who's online?" in home page
« Reply #157 on: October 17, 2007, 01:04:12 PM »
Quote
who can send me session.php file (v1.7.4)

You can download fresh copy of 4images and use sessions.php file ...
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline mathuatden

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
Re: [MOD]country flags of your visitors in "Who's online?" in home page
« Reply #158 on: October 17, 2007, 02:06:07 PM »
I want session.php file (v1.7.4)  which was hack this mod

Offline Omsky

  • Newbie
  • *
  • Posts: 42
    • View Profile
Re: [MOD]country flags of your visitors in "Who's online?" in home page
« Reply #159 on: November 20, 2007, 09:21:15 AM »
mini fix  :mrgreen:

change in mod code .../includes/sessions.php
find
Code: [Select]
alt=
replace to
Code: [Select]
title=
alt= not worked in Mozilla FireFox.

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD]country flags of your visitors in "Who's online?" in home page
« Reply #160 on: November 20, 2007, 01:50:35 PM »
No need for replace. Add title with alt. ;)
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline orb4

  • Newbie
  • *
  • Posts: 28
    • View Profile
Re: [MOD]country flags of your visitors in "Who's online?" in home page
« Reply #161 on: December 02, 2007, 07:32:58 PM »
Hello, this mod works great in 1.7.4, thank you!

I also wanted to add flags in comments like here :
http://www.4homepages.de/forum/index.php?topic=7831.msg57237#msg57237

jamstave says he put 2nd part of the code also in details.php; yes, but where?

All this code is only for details.php? There is not any code in comment_bit.html?

but no flag appears in comments for me.
Please, help me, HOW to proceed simply with this code?

Offline shadowhunter

  • Full Member
  • ***
  • Posts: 114
    • View Profile
    • Fotogalerie & Fotocommunity scluzern.com
Re: [MOD]country flags of your visitors in "Who's online?" in home page
« Reply #162 on: December 09, 2007, 08:15:53 PM »
Hallo!
Kann ich dasselbe mit diesem GeoIP machen, wenn ich anstatt eine IP-Adresse das ganze Land (z.B. Germany) habe?
Sodass das ausgeschrieben Land, welches in der Datenbank liegt, das Country Flag anzeigen?
Wird dies überhaupt mit diesem Script zugelassen?
Ich habe etwas probiert, aber es wird nur das Land anstatt das Flag angezeigt:
Code: [Select]
//--- User COUNTRY FLAGS ---
    if (!class_exists("GeoIP"))
    {
      include(ROOT_PATH."includes/geoip.inc");
    }
    $gi = geoip_open(ROOT_PATH."includes/GeoIP.dat",GEOIP_STANDARD);
    $countries = array();
    //$cid = geoip_country_names($gi, $user_row['user_country']);
    $cid = $user_row['user_country'];
    if (empty($cid)) $cid = "lan";
    $countries[$cid] = isset($countries[$cid]) ? $countries[$cid]+1 : 1;
    $user_flag = "<img src=\"".ROOT_PATH."flags/".strtolower($cid).".png"."\" style=\"vertical-align:text-bottom\" alt=\"".$cid."\"  title=\"".$cid."\" border=0>";
   //--- User COUNTRY FLAGS ---

Bin dankbar für eure Hilfe!
Gruss

Offline Pedrocas

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: [MOD]country flags of your visitors in "Who's online?" in home page
« Reply #163 on: March 20, 2008, 05:25:34 PM »
Does anybody knows if this MOD works with version 1.7.6?

Thanks,