News:

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

Main Menu

Users Active in Last 24 Hours

Started by steve in houston, October 06, 2006, 08:37:45 PM

Previous topic - Next topic

asdas2

i installed to more mods aft that ... one is ad karma decription mod ... seeens dosent work ...

next one is add fontface and size drop down menu ... works perfectily fine .....

www.chillparadise.com

for all desi people .... get everything u ever wanted.... log in to view hidden stuff.

asdas2

www.chillparadise.com

for all desi people .... get everything u ever wanted.... log in to view hidden stuff.

clocktower


TrueSatan

Quote from: clocktower on August 04, 2007, 07:08:55 AM
were do i add these 2 files ??

Your question is impossible to answer as it doesn't seem to relate to proper installation and use of this mod.

ham1299

I am using this mod, which I really like. My only question is that sometimes it says "26 User" instead of "26 Users" for the number. Sometimes it has it correct, with the "s" on there, but sometimes it doesn't. Any idea how to fix that? ???
Heather

TrueSatan

@ ham1299

Would you mind doing a screenshot of the error when it occurs please?

The only mention of "user" as opposed to "users" in the code is this:

<u>', $context['num_users_online_last24'], ' ', $context['num_users_online'] == 1 ? $txt['user'] : $txt['users'], '</u><br />

That line looks at the number of users and if it is only 1 changes the output to "1 user" rather than "1 users"...other than that there is no other use of "user".

ham1299

#46
Of course. Sorry I didn't do that earlier. It doesn't always do it, but finally it did it just now:

Heather

TrueSatan

This has me doing a lot of head scratching...and I was quite bald enough already without it...can you see if it is happening with different numbers of users online or only at 23?

ham1299

I'm pretty sure I've seen it with other numbers, but I'll pay closer attention. (Sorry about the head scratching! LOL)
Heather

TrueSatan

 I was wondering about the 23 because that is at the rollover to another day but if it's happening with other numbers, and particularly if it's unpredictable, then I don't think it's a problem with this mod...could be a conflict with another mod...perhaps a hosting issue...you could try the mod on a test board and put in some fake users...I've beeing doing just that to try to replicate your problem but can't get it to happen. Unpredictability of it occuring would make me think that another mod was probably not to blame.

If the problem were a more important one I'd suggest that you rebuilt your forum using new files and reapplied mods and themes but it's not worth doing, IMHO, for such a minor issue.

ham1299

Of course, now it's saying "23 Users" LOL

It's really not a big deal - and certainly not worth rebuilding the site or anything. Just a minor annoyance. Perhaps it is related to the host! ??? I'm not sure. But, I will report back if I see it with any numbers other than 23, just to give you all the facts! ;)
Heather

TrueSatan

Thanks...the unpredictability alone shouts that it isn't this mod at fault as, obviously, the mod doesn't change each time it is used.

ham1299

Must be my server then, maybe? ??? Oh, and it's not just 23. A little while ago, it said "24 User" - and a few minutes later "24 Users"! It's really nothing more than an annoyance! LOL
Heather

TrueSatan

 I'd tend towards thinking it was a server issue rather than some error in the files of your forum...the only way to prove it would be to rebuild the files...not really that hard a task BTW.

ham1299

Heather

TrueSatan

You would begin by getting the latest SMF installation package...look at the files and directories in it...the only ones not to replace would be your attachments directory, Settings.php and Settings_bak.php in your forum root. Backup all your existing files so you can always restore them if things go wrong.

Replace all but the above mentioned files and directory...note delete the old directories as that way you'll flush everything old out and replace with new from the package.

Once done reinstall all your mods and themes...start with the "biggest" mods first.

Not too hard is it?

ham1299

Ummm....I just might have to pass on that! LOL While it's not all that complex, it's more trouble than it's worth. The "user" instead of "users" doesn't bother me all THAT much. And I bet most people don't even notice!
Heather

TrueSatan

Fair enough...mind you I do find it useful to do the above from time to time (usually when SMF comes out with a new version) as a "spring clean".

asdas2

Install Actions
Installations actions for "Users Active in Last 24 Hours":
Installing this package will perform the following actions:  Type Action Description
1. Execute Modification ./Sources/BoardIndex.php Test failed
2. Execute Modification ./Themes/default/BoardIndex.template.php Test failed

3. Execute Modification ./Themes/default/languages/index.english.php Test successful
www.chillparadise.com

for all desi people .... get everything u ever wanted.... log in to view hidden stuff.

TrueSatan

Your error is a variant on the most common error of all those reported on these pages...it tells you that another mod you have installed has already edited the file in question and that you thus need to do a manual installation of this mod. Please read:

http://docs.simplemachines.org/index.php?topic=402.msg531#msg531

http://www.simplemachines.org/community/index.php?topic=34526.0

The following may also prove helpful:

http://modparser.dev.dansoftaustralia.net/

Advertisement: