Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: vbgamer45 on January 10, 2010, 10:17:04 AM

Title: Auto Refresh Who Online (action=who)
Post by: vbgamer45 on January 10, 2010, 10:17:04 AM
Link to the mod (https://custom.simplemachines.org/index.php?mod=2369)

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fbit.ly%2FkZVDB6&hash=7836fdef4323714489209ed06cd4e4f88c199aea)

[glow=black,2,300]Auto Refresh Who Online (action=who)[/glow]
Developed by Vicram10 (http://www.simplemachines.org/community/index.php?action=profile;u=171824) for SMFSimple.com (http://www.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]
Title: Re: Auto Refresh Who Online
Post by: JBlaze on January 10, 2010, 10:17:35 AM
Congrats on your approved mod!
Title: Re: Auto Refresh Who Online
Post by: 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
Title: Re: Auto Refresh Who Online
Post by: vicram10 on January 10, 2010, 10:31:01 AM
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

;)
Title: Re: Auto Refresh Who Online
Post by: adbrad on January 10, 2010, 11:43:06 AM
thanks for the info
Title: Re: Auto Refresh Who Online
Post by: Gidget Claire on January 10, 2010, 11:45:55 AM
Great mod idea & congrats! ;)
Title: Re: Auto Refresh Who Online
Post by: 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';
Title: Re: Auto Refresh Who Online
Post by: vicram10 on January 10, 2010, 12:06:35 PM
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 ;)
Title: Re: Auto Refresh Who Online
Post by: ApplianceJunk on January 10, 2010, 12:20:48 PM
great info, thanks.
Title: Re: Auto Refresh Who Online
Post by: drhamza on January 10, 2010, 02:04:10 PM
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
Title: Re: Auto Refresh Who Online
Post by: vicram10 on January 10, 2010, 02:25:10 PM
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.
Title: Re: Auto Refresh Who Online
Post by: Spoogs on January 10, 2010, 02:34:14 PM
very cool mod, i always wanted something like this
Title: Re: Auto Refresh Who Online
Post by: 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';
Title: Re: Auto Refresh Who Online
Post by: vicram10 on January 11, 2010, 07:36:31 AM
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 ;)
Title: Re: Auto Refresh Who Online
Post by: 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.
Title: Re: Auto Refresh Who Online
Post by: vicram10 on January 11, 2010, 05:50:21 PM
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 .'" />';
   
Title: Re: Auto Refresh Who Online
Post by: Spoogs on January 11, 2010, 07:09:16 PM
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
Title: Re: Auto Refresh Who Online
Post by: underfire on January 14, 2010, 06:38:00 AM
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
Title: Re: Auto Refresh Who Online
Post by: Özgür on January 18, 2010, 02:40:06 AM
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;
Title: Re: Auto Refresh Who Online
Post by: grafitus on February 08, 2010, 08:12:29 AM
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.
Title: Re: Auto Refresh Who Online
Post by: vicram10 on February 09, 2010, 10:26:35 PM
Updated

# Turkish by grafitus...
# Turkish language correction Daydreamer

;)

greetings
Title: Re: Auto Refresh Who Online
Post by: oOo--STAR--oOo on February 12, 2010, 10:31:48 AM
Installed perfect on 2.0RC also no change in the size of the who is online List..

Thanks great mod :)
Title: Re: Auto Refresh Who Online
Post by: Eclipse16V on March 15, 2010, 01:53:00 AM
Nice Mod

Please update it for SMF 2.0RC3  ;)

Thanks
Title: Re: Auto Refresh Who Online
Post by: lucas-ruroken on April 29, 2010, 01:28:11 PM
Thanks vicram10, nice work ^^
Title: Re: Auto Refresh Who Online
Post by: Quexinos on May 24, 2010, 05:36:14 AM
yeah I also had the page shrink  ???

But it only shrank on a couple skins, not all of them... anyone ever find out what's up with that?
Title: Re: Auto Refresh Who Online
Post by: vicram10 on May 24, 2010, 09:17:22 AM
Quote from: Quexinos on May 24, 2010, 05:36:14 AM
yeah I also had the page shrink  ???
But it only shrank on a couple skins, not all of them... anyone ever find out what's up with that?

The mod, fits any theme, not depends on the theme you have...
Title: Re: Auto Refresh Who Online
Post by: Quexinos on May 24, 2010, 05:25:35 PM
but... why does it make some skins shrink? O_o
Title: Re: Auto Refresh Who Online
Post by: vicram10 on May 24, 2010, 09:43:27 PM
Quote from: Quexinos on May 24, 2010, 05:25:35 PM
but... why does it make some skins shrink? O_o

see, the manual installation

SMF 1.1.x => http://custom.simplemachines.org/mods/index.php?action=parse;mod=2369;attach=134311;smf_version=1.1.11
SMF 2.0 RC3 => http://custom.simplemachines.org/mods/index.php?action=parse;mod=2369;attach=134312;smf_version=2.0_RC3

check if your files have the modifications
Title: Re: Auto Refresh Who Online
Post by: distante on June 16, 2010, 01:48:32 AM
Hi! great mod, but this happen to me too, or well something similar.

Quote from: Spoogs link=topic=359060.msg2450027#msg2450027   date=1263254956
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

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg2.pict.com%2F4c%2Fa3%2F9a%2F3668716%2F0%2Fqui25c325a9n2520est25c325a12520e.png&hash=455749b4cd3c40fc241bd4e48271b9425ec1758e)

When I try to see only the "Only Users" that space is really big!

::) any Ideas

ahh in RC2
Title: Re: Auto Refresh Who Online
Post by: Eclipse16V on August 14, 2010, 06:10:44 PM
Hello, I has a small problem with these Mod and the PortaMX Mod. Both Mods do not get along with me with one another.

On .../index.php?action=who he does not load any longer the following from PortaMx:

// Output any remaining HTML headers. (from mods, maybe?)
echo $context['html_headers'];


Can anyone help me?
Title: Re: Auto Refresh Who Online
Post by: Masterd on August 15, 2010, 09:53:02 AM
Nice mod.
Title: Re: Auto Refresh Who Online
Post by: PLAYBOY on June 19, 2011, 12:42:15 PM
Bug found:

Gives syntax error because there is no ' before the ; in modifications.turkish.php
Title: Re: Auto Refresh Who Online
Post by: SSimple Team on July 11, 2011, 10:10:29 AM
Updated

SMF 1.1.X
SMF 2.0

Quote from: PLAYBOY on June 19, 2011, 12:42:15 PM
Bug found:

Gives syntax error because there is no ' before the ; in modifications.turkish.php

Thanks ;)
Title: Re: Auto Refresh Who Online
Post by: bruce86 on July 11, 2011, 04:58:50 PM
Italian translation ..;)
Title: Re: Auto Refresh Who Online
Post by: SSimple Team on July 12, 2011, 08:48:51 AM
Quote from: bruce86 on July 11, 2011, 04:58:50 PM
Italian translation ..;)

Thanks bruce ;)
Title: Re: Auto Refresh Who Online
Post by: Eclipse16V on July 13, 2011, 05:54:40 AM
Doesn´t work with PortaMX Mod.
Title: Re: Auto Refresh Who Online
Post by: Inti31 on July 13, 2011, 06:10:40 AM
I like that - it works fine in my testboard...
Title: Re: Auto Refresh Who Online
Post by: SSimple Team on July 13, 2011, 10:01:40 AM
Quote from: Eclipse16V on July 13, 2011, 05:54:40 AM
Doesn´t work with PortaMX Mod.

mmm.. strange... because, this mod only change 1 thing... the Who.php file and the PortaMX not change anything in this file...

but you can try again, with this new version...

Quote from: Inti31 on July 13, 2011, 06:10:40 AM
I like that - it works fine in my testboard...

thanks ;)
Title: Re: Auto Refresh Who Online
Post by: Eclipse16V on July 14, 2011, 12:50:14 AM
Thanks
The new version works. ;-)
Title: Re: Auto Refresh Who Online
Post by: SSimple Team on July 14, 2011, 08:00:30 PM
Quote from: Eclipse16V on July 14, 2011, 12:50:14 AM
Thanks
The new version works. ;-)
Thanks!
Title: Re: Auto Refresh Who Online
Post by: SSimple Team on February 07, 2012, 05:03:27 PM
Mod updated to SMF 2.0.2
Enjoy it!