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

0 Members and 1 Guest are viewing this topic.

Offline eZz

  • Newbie
  • *
  • Posts: 17
    • View Profile
    • WALLPAPERS
Re: [MOD]country flags of your visitors in "Who's online?" in home page
« Reply #60 on: October 07, 2005, 09:44:36 PM »
ty dude   :D

now all works fine

Offline kief24

  • Sr. Member
  • ****
  • Posts: 267
    • View Profile
Re: [MOD]country flags of your visitors in "Who's online?" in home page
« Reply #61 on: October 08, 2005, 01:04:19 PM »
Look this....


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

already did this, but no effect.
This is also not my problem.
My problem is that for every online registered user, there is a flag shown, (above the flags with the numbers of visitors of each country).
In the beginning there was the name of each registerd user next to those upper flags.
The name is gone because i removed some code, but the flags are still there...




Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD]country flags of your visitors in "Who's online?" in home page
« Reply #62 on: October 08, 2005, 04:34:19 PM »
just remove {user_online_list} from whos_online.html template...
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline kief24

  • Sr. Member
  • ****
  • Posts: 267
    • View Profile
Re: [MOD]country flags of your visitors in "Who's online?" in home page
« Reply #63 on: October 09, 2005, 10:04:24 AM »
thx V@no

Offline knuffi

  • Newbie
  • *
  • Posts: 12
    • View Profile
Habe diesen mod installiert
« Reply #64 on: October 10, 2005, 10:21:17 PM »
Hallo

Beim iInloggen kommt nun immer diese Fehlermeldung.

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/webandar/public_html/4images/includes/geoip.inc:495) in /home/webandar/public_html/4images/includes/sessions.php on line 103

Warning: Cannot modify header information - headers already sent by (output started at /home/webandar/public_html/4images/includes/geoip.inc:495) in /home/webandar/public_html/4images/includes/sessions.php on line 111

Warning: Cannot modify header information - headers already sent by (output started at /home/webandar/public_html/4images/includes/geoip.inc:495) in /home/webandar/public_html/4images/includes/sessions.php on line 111

Warning: Cannot modify header information - headers already sent by (output started at /home/webandar/public_html/4images/includes/geoip.inc:495) in /home/webandar/public_html/4images/includes/sessions.php on line 111

Warning: Cannot modify header information - headers already sent by (output started at /home/webandar/public_html/4images/includes/geoip.inc:495) in /home/webandar/public_html/4images/login.php on line 51

was ist hier falsch gelaufen.....

Offline Loda

  • Sr. Member
  • ****
  • Posts: 353
    • View Profile
    • Fotosucht Schweiz
Re: [MOD]country flags of your visitors in "Who's online?" in home page
« Reply #65 on: October 20, 2005, 05:10:33 PM »
a great mod.. thank you..
is it possible to count the flags of the users and show them in a new "statistic table"?

for example:
25 user - uk
20 user china
etc...

Offline beseech

  • Full Member
  • ***
  • Posts: 150
    • View Profile
Re: [MOD]country flags of your visitors in "Who's online?" in home page
« Reply #66 on: October 20, 2005, 08:55:27 PM »
this must be interesting like add this on stats :

(flag) + (country name) + ( Nşusers )

Good ideia Loda  ;)

Offline Flo2005

  • Full Member
  • ***
  • Posts: 237
  • Copy & Paste Profi :)
    • View Profile
    • snuup.de! - Bilder - Sounds - Videos - fun4FREE!
Re: [MOD]country flags of your visitors in "Who's online?" in home page
« Reply #67 on: October 29, 2005, 02:49:08 PM »
One little cosmetic correction



I want a space without this underline  :o

Project offline

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD]country flags of your visitors in "Who's online?" in home page
« Reply #68 on: October 29, 2005, 06:22:09 PM »
I want a space without this underline  :o
Ah, you are so picky! ;)

in includes/sessions.php find:
Code: [Select]
        $username = "<img src=\"".ROOT_PATH."flags/".strtolower($cid).".png"."\" alt=\"".(($cid != "lan") ? $gi->GEOIP_COUNTRY_NAMES[$gi->GEOIP_COUNTRY_CODE_TO_NUMBER[$cid]] : "Unknown or LAN")."\" border=0> ".$username;
/*
  MOD VISITORS COUNTRY FLAGS
  END INSERT
*/   
          $user_online_list .= "<a href=\"".$site_sess->url($user_profile_link)."\">".$username."</a>".$invisibleuser;
Replace it with:
Code: [Select]
        $flag = "<img src=\"".ROOT_PATH."flags/".strtolower($cid).".png"."\" alt=\"".(($cid != "lan") ? $gi->GEOIP_COUNTRY_NAMES[$gi->GEOIP_COUNTRY_CODE_TO_NUMBER[$cid]] : "Unknown or LAN")."\" border=0>";
/*
  MOD VISITORS COUNTRY FLAGS
  END INSERT
*/   
          $user_online_list .= "<a href=\"".$site_sess->url($user_profile_link)."\">".$flag."</a>&nbsp;<a href=\"".$site_sess->url($user_profile_link)."\">".$username."</a>".$invisibleuser;
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline castor

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: [MOD]country flags of your visitors in "Who's online?" in home page
« Reply #69 on: October 29, 2005, 06:53:56 PM »
@ V@no: 
          -    yeah thats good... searched also for it ..
          -    hehe .. in your code first Line at the end.. 1 space to much before  ";           :D

Offline Flo2005

  • Full Member
  • ***
  • Posts: 237
  • Copy & Paste Profi :)
    • View Profile
    • snuup.de! - Bilder - Sounds - Videos - fun4FREE!
Re: [MOD]country flags of your visitors in "Who's online?" in home page
« Reply #70 on: October 29, 2005, 06:57:50 PM »
I also searched this space  :lol:

Yeah that´s fine!

=0> ";

very fine

....sometimes you must be picky  :lol:

Edit: Thanks  :mrgreen:

Project offline

Offline kief24

  • Sr. Member
  • ****
  • Posts: 267
    • View Profile
Re: [MOD]country flags of your visitors in "Who's online?" in home page
« Reply #71 on: November 06, 2005, 05:48:50 PM »
there are still some flags missing in the flags.zip ( el salvador, honduras, suriname, ... )
i found all missing flags here : http://www.33ff.com/flags/world-flags0001.html

Offline kief24

  • Sr. Member
  • ****
  • Posts: 267
    • View Profile
Re: [MOD]country flags of your visitors in "Who's online?" in home page
« Reply #72 on: November 06, 2005, 05:50:18 PM »
Hi eZz
Use this flags

http://www.hahn-hotel.com/flags/zip/world.small.zip

an rename in the code "gif" with "png" and everthing is O.K.

Matthias

there are still some flags missing

Found them all here : http://www.33ff.com/flags/world-flags0001.html

Offline Vincent

  • 4images Moderator
  • Addicted member
  • *****
  • Posts: 1.195
    • View Profile
    • www.foto-kocher.com
Re: [MOD]country flags of your visitors in "Who's online?" in home page
« Reply #73 on: November 13, 2005, 12:44:22 AM »
Installed tonight and it works fine! thanks a lot!

just a small question - I would like to have the numer(of visitor) X flag

but i can't find out which part i have to change! in the middle of the second page is a change but this part of the code have been removed somewhere in the middle of the first page! hope you knwo what i mean!

sincerly vincent
Beati pauperi spiritus

4images 1.7 // My Installed Mods


Offline Vincent

  • 4images Moderator
  • Addicted member
  • *****
  • Posts: 1.195
    • View Profile
    • www.foto-kocher.com
Re: [MOD]country flags of your visitors in "Who's online?" in home page
« Reply #74 on: November 15, 2005, 12:58:20 PM »
it works nice -
it would be also nice to have a daily or weekly report of the country which visit the page sometimes i am realy surprised to see who found my page

sincerly
vincent
Beati pauperi spiritus

4images 1.7 // My Installed Mods