News:

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

Main Menu

Users Online Today Mod

Started by Nibogo, November 06, 2005, 01:42:31 AM

Previous topic - Next topic

JimM

Quote from: CL0WNER on May 27, 2009, 10:30:22 PM
anybody know why i cant find this line?
$context['num_users_online'] = count($context['users_online']) + $context['num_users_hidden'];
in BoardIndex.template.php

That line is located in this file:

./Sources/BoardIndex.php
Jim "JimM" Moore
Former Support Specialist

IvoLeite

Quote from: Hell Raiser on May 29, 2009, 06:48:54 AM
I think there is something wrong i can also cant find that line   :'(




That code is only for the "Users Online Today Mod (ver. 1.4.0)".

You're probably using the other version (Users_Online_Today_1.5.4.zip).

usa4all

Quote from: usa4all on May 23, 2009, 06:42:49 AM
Help wanted..

I try to install this mod. But i getting this error message: ./Themes/default/languages/Stats.english.php  test failed.
The default language of the forum is dutch. Is that a problem?

Any tips how to get this mod working?  I'm using the them safmc..

tx in advance



Quote from: usa4all on May 23, 2009, 06:42:49 AM
Help wanted..

I try to install this mod. But i getting this error message: ./Themes/default/languages/Stats.english.php  test failed.
The default language of the forum is dutch. Is that a problem?

Any tips how to get this mod working?  I'm using the them safmc..

tx in advance




Anyone?

Bachian

I'm using version 1.1.9. I installed and applied the "Users Online Today Mod" and it said it installed correctly and is applied, but it doesn't show on the forum.

Anyone know how to fix this? I'll attach the BoardIndex. Thanks!

JimM

The code was not in that file.  I added it, but you need to use the mod parser and make sure all the other edits took otherwise it still won't work.

Try this one.
Jim "JimM" Moore
Former Support Specialist

philcross

I am running Users Online Today v 1.5.4 on 2.0 RC1

It shows my most users online was May 20th.

However, I had more users than that online yesterday but the info isnt reflecting this.

Anyone have a solution or suggestion please?

Thanks

Morp

#1286
Iam using the forum version 1.1.9 and I installed this mod.
The Mods works but....

This is the how it is:

It should say:
Total: 11 (Visible: 11, Hidden: 0)
All the members here

but it says

: 11 (: 11, : 0)
All the Members here

Any ideas?

philcross

Quotebut it says

: 11 (: 11, : 0)

Have you recently installed a new language pack?

I had that happen with a different Mod when I installed the English British pack instead of English US - the words just vanished and left the same stuff as you have got.



Morp

Quote from: philcross on May 31, 2009, 07:43:41 AM
Quotebut it says

: 11 (: 11, : 0)

Have you recently installed a new language pack?

I had that happen with a different Mod when I installed the English British pack instead of English US - the words just vanished and left the same stuff as you have got.



Well I got almost every language so I don't know which versions those are and won't upgrade all those language that are too much
Is that the problem?
Can you fix that without deleting all the languages?

philcross


Sorry Morp

I was simply trying a suggestion based on experience.

Unfortunately, I have no idea how to fix these things.

I am stuck with my own problem posted above  :'(

QuoteI am running Users Online Today v 1.5.4 on 2.0 RC1

It shows my most users online was May 20th.

However, I had more users than that online yesterday but the info isnt reflecting this.

Anyone have a solution or suggestion please?

Thanks


Bachian

Quote from: JimM on May 31, 2009, 01:29:07 AM
The code was not in that file.  I added it, but you need to use the mod parser and make sure all the other edits took otherwise it still won't work.

Try this one.
Thanks, works great.

Is there any way to put above it "Uses Logged in Today"? As it doen't say.


JimM

@Bachian - Make sure the edits for ./Themes/default/languages/Modifications.english.php are in place.
Jim "JimM" Moore
Former Support Specialist

Bachian

Quote from: JimM on June 01, 2009, 10:25:14 AM
@Bachian - Make sure the edits for ./Themes/default/languages/Modifications.english.php are in place.
I have no idea what you mean... I have a very basic understanding of this stuff, but I have got everything right except this last thing.

Can you explain this for me, please?

JimM

Quote from: Bachian on June 01, 2009, 10:33:03 AM
Quote from: JimM on June 01, 2009, 10:25:14 AM
@Bachian - Make sure the edits for ./Themes/default/languages/Modifications.english.php are in place.
I have no idea what you mean... I have a very basic understanding of this stuff, but I have got everything right except this last thing.

Can you explain this for me, please?

Did you install the mod through the package manager?  The file you uploaded didn't have the mod code in it.  There are some more files that need to be edited for the mod to work completely.  Did you edit those files manually?
Jim "JimM" Moore
Former Support Specialist

Bachian

Quote from: JimM on June 01, 2009, 10:36:54 AM
Quote from: Bachian on June 01, 2009, 10:33:03 AM
Quote from: JimM on June 01, 2009, 10:25:14 AM
@Bachian - Make sure the edits for ./Themes/default/languages/Modifications.english.php are in place.
I have no idea what you mean... I have a very basic understanding of this stuff, but I have got everything right except this last thing.

Can you explain this for me, please?

Did you install the mod through the package manager?  The file you uploaded didn't have the mod code in it.  There are some more files that need to be edited for the mod to work completely.  Did you edit those files manually?
No, and I have no idea how to do that.

JimM

Here is some documentation on using the package manager. 

Package Manager
Jim "JimM" Moore
Former Support Specialist

Bachian

Quote from: JimM on June 01, 2009, 10:45:40 AM
Here is some documentation on using the package manager. 

Package Manager
I edited it and now it works.  :D

Thanks, Jim.


philcross


Anyone able to help with this one..........

I am running Users Online Today v 1.5.4 on 2.0 RC1

It shows my most users online was May 20th.

However, I had more users than that online yesterday but the info isnt reflecting this.

Anyone have a solution or suggestion please?

Thanks

JimM

Most users online is not a function of this mod.   

This mod displays the users that have been online today (either current day, last 24 hours, or last 7 days - you decide which by changing the array)

The most users online function of SMF counts the most users on line "at the same time".  That's probably what is causing the confusion.
Jim "JimM" Moore
Former Support Specialist

blanix

#1299
hi all

any ideas to add a little avatar and last active ??


cya


EDIT:
woho, ok, last active with $lastlogin.
but i can't set the avatar oO
My SMF: 1.1.9

Advertisement: