News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Last Users In 24 Hours

Started by صلاح الدين, December 15, 2009, 04:53:53 AM

Previous topic - Next topic

صلاح الدين

Link to Mod


Last Users In 24 Hours ... By: Saladine
..count (Last Users In 24 Hours)
..display (Last Users In 24 Hours)
Compatible With:2.0 RC2
Language:

    english
    english-utf8
    arabic
    arabic-utf8
image:


Am'

اذا أحس أحد انه لم يخطأ ابدا في حياته, فهذا يعني أنه لم يجرب أي جديد في حياته
My Mods For SMF 2 RC3 : XQuote XCode - Vbulletin Style New Meta Tags

.Vapor

I cannot get this to work on smf 2 rc2 on Mobile theme from Crip.

SEABOY

QuoteThe package you are trying to download or install is either corrupt or not compatible with this version of SMF.

i'm using smf 1.1.11

with mod installed
2. MoodBobels 2.3.1
3. Moderator and Administrator Comment Tags 1.7
4. AjaxChat Integration 3.2.1
5. NiceTooltips 1.5
6. Country Flags 1.0.3
7. SMF Media Gallery 2.0.5
8. SimplePortal 2.3.1
9. Ultimate Profile 0.9
10. Aeva ~ Auto-Embed Video & Audio 7.0

Costa

Quote from: SEABOY on December 20, 2009, 02:30:34 PM
QuoteThe package you are trying to download or install is either corrupt or not compatible with this version of SMF.

i'm using smf 1.1.11


Compatible With: 2.0 RC2
Hugo "Costa" Fernandes - PT SMF
Todas as MP's a pedir ajuda são sujeitas a radioactividade, microondas, queimadas e atiradas borda fora.

"At least someone appreciates the fact that I am doing and not thinking..."
"Laziness is counter-revolutionary."

SEABOY

Okay sorry my mistake...

now i installed this mod in smf2 rc2 but can't see the additional menu for members online?!!!

صلاح الدين

Quote from: V@POR on December 20, 2009, 12:50:11 PM
I cannot get this to work on smf 2 rc2 on Mobile theme from Crip.
giv me the link of this theme?
to edit this mod to work in this theme ...

صلاح الدين

Quote from: SEABOY on December 20, 2009, 02:30:34 PM
QuoteThe package you are trying to download or install is either corrupt or not compatible with this version of SMF.

i'm using smf 1.1.11

with mod installed
2. MoodBobels 2.3.1
3. Moderator and Administrator Comment Tags 1.7
4. AjaxChat Integration 3.2.1
5. NiceTooltips 1.5
6. Country Flags 1.0.3
7. SMF Media Gallery 2.0.5
8. SimplePortal 2.3.1
9. Ultimate Profile 0.9
10. Aeva ~ Auto-Embed Video & Audio 7.0
sorry now it just comatible with smf 2 rc2 ... i will update it to work with smf 1.1.11 soon ....

SEABOY

Quote from: SEABOY on December 20, 2009, 05:45:16 PM
Okay sorry my mistake...

now i installed this mod in smf2 rc2 but can't see the additional menu for members online?!!!

.Vapor

Quote from: Saladine on December 21, 2009, 08:06:48 AM
Quote from: V@POR on December 20, 2009, 12:50:11 PM
I cannot get this to work on smf 2 rc2 on Mobile theme from Crip.
giv me the link of this theme?
to edit this mod to work in this theme ...

Thank you :
http://www.simplemachines.org/community/index.php?topic=347406.0

psi0

Thanks

portuguese PT:
$txt['num_last_24'] = 'Total utilizadores online nas últimas 24 horas';

steve51184


luuuciano

someone knows if it works in rc3 without changes?
No me agradan los foros que no te dejan borrar TU PROPIO usuario, como por ejemplo smfsimple.com.
E incluso te mandan emails no solicitados, de los cuales, quizá, no puedas escapar porque NO te dejan posibilidad a deshabilitarlos (a menos que NO te tengan en su lista negra).

Bugo

Perfect works on RC3 (after small manual changes).

Saladine, in your install.xml file find:

      if($row['group_name'] == 0)
         $row['group_name'] = $txt['who_member'];

and replace with:

      if($row['group_name'] == '0')
         $row['group_name'] = $txt['who_member'];


Russian translation => see attachments

steve51184

any idea how to disable this for guests?

Bugo

Quote from: zx71 on June 04, 2010, 10:25:54 PM
any idea how to disable this for guests?
BoardIndex.template.php, find block:
// Last Users In 24 Hours
echo '
<h4 class="titlebg"><span class="left"></span>
<img class="icon" src="', $settings['images_url'], '/icons/online.gif', '" alt="', $txt['num_last_24'], '" />
<span>'. $txt['num_last_24'] . ': ' .$context['num_last_24']. '</span>
</h4>
<p class="pminfo">';
echo implode(', ', $context['list_last_24']);
echo '
</p>';

and replace it with:
// Last Users In 24 Hours
if (!$context['user']['is_guest']) {
echo '
<h4 class="titlebg"><span class="left"></span>
<img class="icon" src="', $settings['images_url'], '/icons/online.gif', '" alt="', $txt['num_last_24'], '" />
<span>'. $txt['num_last_24'] . ': ' .$context['num_last_24']. '</span>
</h4>
<p class="pminfo">';
echo implode(', ', $context['list_last_24']);
echo '
</p>';
}

steve51184


.Vapor

Will this be updated for Rc3 ?

صلاح الدين

thank you Bugo, [/color]psi0
I update the mod for rc4

phpshiva

Dutch language


Before
?>

Insert
$txt['num_last_24'] = 'Totaal bezoekers die online waren in de afgelopen 24 uur';


Advertisement: