News:

Wondering if this will always be free?  See why free is better.

Main Menu

Users Online Today Mod

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

Previous topic - Next topic

easyrider77

Quote from: Carceri on June 01, 2011, 05:25:07 AM

Does it help to allocate more memory for PHP, or is that out of memory error related to something different?


This error come when i go to:

"update your forum" >    Download Packages >Simple Machines Third-party Mod Site  > [ Browse ]


Please check the topic i create for this issue.
http://www.simplemachines.org/community/index.php?topic=435685
SMF  1.1.11 / Joomla 1.5.20  /default theme

kalpatron

Hello guys
Recently I spotted that on my main page, in the section whre Users_Online_Today appears, some of the members (actually admins) are colored red and some of them are also bold.

We are 4 admins, and all our usernames are colored red. But only two of us are bold in this list... Can you explain how this happens?

OCJ

Each membergroup can have a colour set for them (users names) - see individual settings for membergroups.
I think bold is for 'Buddies' but check that.


King Death II

Hi guys, I downloaded a new theme called Dino Light v.2 but it seems that this mod is not working with that theme. Is there any reason why? And how would I fix it so that it does work with this theme.

OCJ

I think it says the mod requires edits to the theme files. In that case either manually for the new theme,  or if you installed the theme after the mod it is maybe best to uninstall and reinstall so it modifies the new theme.

kalpatron

Quote from: igirisjin on June 05, 2011, 03:36:23 PM
Each membergroup can have a colour set for them (users names) - see individual settings for membergroups.
I think bold is for 'Buddies' but check that.

There are 3 groups there: Administrator, Global Moderator and Moderator. We are all in the Administrator group...?

Carceri

Quote from: easyrider77 on June 02, 2011, 08:12:31 AM
Quote from: Carceri on June 01, 2011, 05:25:07 AM
Does it help to allocate more memory for PHP, or is that out of memory error related to something different?

This error come when i go to:

"update your forum" >    Download Packages >Simple Machines Third-party Mod Site  > [ Browse ]

It seems you are just running out of memory. Of course this mod needs memory to build the list (quite a lot for such a large list), and if too many things are using memory and your limit is too low, well :)

Celia N. Foster

Hi. I just had my forum transferred to a new host. When I try to log in to my account, I keep getting the error:

Call to undefined function getUsersOnlineTodayStats() in /hermes/bosweb26b/b647/ipg.judithbarsicom/forum/Sources/BoardIndex.php on line 133

my forum is here:
http://judithevabarsi.com/forum/

I am running SMF 2.0 RC5

What needs to be done to stop this error? Please help me!

Thanks very much in advance!

-Celia

Carceri

Quote from: Celia N. Foster on June 07, 2011, 02:10:04 PM
Call to undefined function getUsersOnlineTodayStats() in /hermes/bosweb26b/b647/ipg.judithbarsicom/forum/Sources/BoardIndex.php on line 133

Looks like the modification hook is not installed properly. Maybe caused by some settings that was not copied correctly from the old to the new database? Try removing the mod and reinstalling it.

Celia N. Foster

How do I remove the mod and reinstall it?

yakyakyak

Please advise the required edits in RC3 to remove these leftover icons in a non default theme after package removal




thank you

khamseen

#1671
I've just updated to 2.0 from RC5 and I removed all my packages before updating and then reinstalled them. Everything was working until I reinstalled this one and now my forums have crapped out.

Fatal error: Cannot redeclare usersonlinetoday_settings() (previously declared in /home/khamseen/public_html/Sources/Subs-UsersOnlineToday.php:24) in /home/khamseen/public_html/trial/Sources/Subs-UsersOnlineToday.php on line 41

Can't get back to a page to uninstall the mod, it showed no errors before installing, everything said it tested successfully.

EDIT:
Deleting the file sources/subs-usersonlinetoday.php allowed me to go back and uninstall the mod.
"In hope we find despair and in despair we find truth." - Myself

Carceri

Quote from: khamseen on June 14, 2011, 09:02:58 AM
Fatal error: Cannot redeclare usersonlinetoday_settings() (previously declared in /home/khamseen/public_html/Sources/Subs-UsersOnlineToday.php:24) in /home/khamseen/public_html/trial/Sources/Subs-UsersOnlineToday.php on line 41

What does line 41 in that file says? Mine does not have a redeclaration of the function on that line. Line 24 is where the function is first declared though.

khamseen

My one looks the same, line 41 is the trailing bracket.

When I read over what it said again though, it seems to be getting mixed up with the main forums (I was installing it on our trial setup in a sub domain using a separate database and path), it states it couldn't redeclare it because it was already declared by the one on our main domain. Which I don't understand since they don't share any files or directories.
"In hope we find despair and in despair we find truth." - Myself

TheListener

Quote from: Carceri on June 15, 2011, 05:13:53 AM
Quote from: khamseen on June 14, 2011, 09:02:58 AM
Fatal error: Cannot redeclare usersonlinetoday_settings() (previously declared in /home/khamseen/public_html/Sources/Subs-UsersOnlineToday.php:24) in /home/khamseen/public_html/trial/Sources/Subs-UsersOnlineToday.php on line 41

What does line 41 in that file says? Mine does not have a redeclaration of the function on that line. Line 24 is where the function is first declared though.

You may have two lines the same in the file.

sharks

With 102479 downloads, this is undeniably one of the most popular mods for SMF, so i really hope that Carceri will update his work to support 2.0 and 1.1.14. On the mod page, it says support only 2.0 RC5 and 1.1.13

Carceri

Heh, didn't realise that 2.0 final was out. I'm not running any SMF forums (except one just for testing this mod) myself and haven't done so for some years now, so I'm not quite up to speed :)

It seems that the mod works fine without changes for both 1.14 and 2.0 though.

When I get the time I will try to support the themes included with 2.0 final.

yakyakyak

Quote from: yakyakyak on June 09, 2011, 05:27:07 AM
Please advise the required edits in RC3 to remove these leftover icons in a non default theme after package removal




thank you

please

Aoife

After installing the latest version (1.6.0) to SMF 2.0, the mod does seem to work as it should but I get the following error message filling up my log:

***/forums/index.php?action=forum
2: in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument
File: ***/forums/Themes/default/BoardIndex.template.php
Line: 183


Any ideas on how to fix?







sharks

Carceri, thanks for updating compatibility for your mod to 2.0 and 1.1.14 but on the mod download page: http://mods.simplemachines.org/index.php?mod=217
There are 2 versions of 1.6.0: Users_Online_Today_1.6.0.tar.gz and Users_Online_Today_1.6.0.zip
Which one to download for SMF 2.0 final? It's quite confusing. I think you should keep only one instance, if it's the same version.

Advertisement: