News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Auto Refresh Who Online (action=who)

Started by vbgamer45, January 10, 2010, 10:17:04 AM

Previous topic - Next topic

vbgamer45

Link to the mod


[glow=black,2,300]Auto Refresh Who Online (action=who)[/glow]
Developed by Vicram10 for SMFSimple.com
SMF 2.0



[glow=black,2,300]El soporte oficial de los desarrolladores de nuestros mods lo encontraras en SMFSimple.com[/glow]



[glow=black,2,300]Description:[/glow]
With this mod, you can determinate, how many seconds the "who online" is  automaticly refresh


[glow=black,2,300]Descripcion:[/glow]
Con este mod, tu puedes determinar, cuantos segundos el "Quien Esta en Linea" se actualiza automaticamente


[glow=black,2,300]Settings/Configuracion:[/glow]
o SMF 1.1.X => Admin ---> Feature and Options
o SMF 2.0   => Admin ---> Feature and Options


Language Support | Lenguajes Soportados
- English
- Spanish_latin



[glow=black,2,300]Auto Refresh Who Online (action=who)[/glow]
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

JBlaze

Jason Clemons
Former Team Member 2009 - 2012

adbrad

what does this actually refresh the online list in the info center or the who's online list at action=who

vicram10

Quote from: adbrad on January 10, 2010, 10:27:31 AM
what does this actually refresh the online list in the info center or the who's online list at action=who

the who's online list at action=who

;)

adbrad


Gidget Claire


Friend of the friends!

grafitus

Good idea. ;)

Turkish translate:
Code (./Themes/default/languages/Modifications.turkish.php) Select
//AutoRefreshWho Mod
$txt['autorefresh_timeout'] = '"Kimler Online" için zaman aşımını ayarlayın (saniye)
<br/>Varsayılan değer: 10 saniye';

vicram10

Quote from: adbrad on January 10, 2010, 11:43:06 AM
thanks for the info

your welcome ;)

Quote from: Gidget Claire on January 10, 2010, 11:45:55 AM
Great mod idea & congrats! ;)

thanks, but the original idea is mafia7  :P

Quote from: grafitus... on January 10, 2010, 11:55:52 AM
Good idea. ;)

Turkish translate:
Code (./Themes/default/languages/Modifications.turkish.php) Select
//AutoRefreshWho Mod
$txt['autorefresh_timeout'] = '"Kimler Online" için zaman aşımını ayarlayın (saniye)
<br/>Varsayılan değer: 10 saniye';


Thanks man, added your translation ;)


drhamza

awesome, i've always thought about it :D, but can it be done so we can apply it as php block for example in portal blocks?
thanks for the mod :D

vicram10

I do not know, because the refresh, is into the entire page, but you can try  :)

In the code block, add this variable

$context [ 'html_headers'] = '<meta http-equiv="refresh" content="SECONDS" />',

Where

SECOND = represent how many seconds is automaticly refresh, your php block.

Spoogs

very cool mod, i always wanted something like this

Eclipse16V

Nice Mod

Here the German Lang
//AutoRefreshWho Mod
$txt['autorefresh_timeout'] = 'AutoRefresh Sekunden auf der "Wer ist online" Seite
<br/>Standardwert: 10 Sekunden';
I worked with:
SMF 2 in German

Shop:
SID Giessen

vicram10

Quote from: Eclipse16V on January 11, 2010, 03:29:51 AM
Nice Mod

Here the German Lang
//AutoRefreshWho Mod
$txt['autorefresh_timeout'] = 'AutoRefresh Sekunden auf der "Wer ist online" Seite
<br/>Standardwert: 10 Sekunden';


Thanks man, added your translation ;)

Spoogs

I'm not sure what different but i first tested this on my local server but today when i install on the live site, my action=who shrunk in width. There are no errors and it works fine, just shrunken is all.

vicram10

Quote from: Spoogs on January 11, 2010, 05:16:02 PM
I'm not sure what different but i first tested this on my local server but today when i install on the live site, my action=who shrunk in width. There are no errors and it works fine, just shrunken is all.

mmm, I don't know, because this modification only added this parte in the Who.php


//Auto Refresh
global $modSettings;
$auto_refresh = !empty($modSettings['autorefresh_timeout']) ? $modSettings['autorefresh_timeout'] : 10;
$context['html_headers'] = '<meta http-equiv="refresh" content="'. $auto_refresh .'" />';
   

Spoogs

its no bug deal really, it works which is the important part, as i stated there are no errors but all i members did report that action=who shrunk

underfire

Quote from: Spoogs on January 11, 2010, 05:16:02 PM
I'm not sure what different but i first tested this on my local server but today when i install on the live site, my action=who shrunk in width. There are no errors and it works fine, just shrunken is all.

i have the same problem.. i dont know why :S

Özgür

Quote from: grafitus... on January 10, 2010, 11:55:52 AM
Good idea. ;)

Turkish translate:
Code (./Themes/default/languages/Modifications.turkish.php) Select
//AutoRefreshWho Mod
$txt['autorefresh_timeout'] = '"Kimler Online" için zaman aşımını ayarlayın (saniye)
<br/>Varsayılan değer: 10 saniye';


If you don't know about the turkish language, please don't try to translate mods. Because mod creator don't know whats that mean.

@vicram10,
Please update turkish translate, and use this. Thanks for your understanding.
//AutoRefreshWho Mod
$txt['autorefresh_timeout'] = '"Kimler Çevrimiçi" listesi için otomatik yenileme periyodu (saniye)
<br/>Normal Değer: 10 saniye;
So Long

grafitus

#19
Quote from: Daydreamer on January 18, 2010, 02:40:06 AM
If you don't know about the turkish language, please don't try to translate mods. Because mod creator don't know whats that mean.

Do you think that you know the Turkish Language very well? I don't think so... You had better speak about Turkish Language rather than personal problems. But than you very much. ;) Because I realized my mistake, and you taught me something...

Thanks.

Advertisement: