Joomla Forum

Joomla Hacks => Joomla-SMF 1.1.x => Topic started by: -Wolverine on June 20, 2006, 06:09:19 PM



Title: Joomla-SMF Who's Online
Post by: -Wolverine on June 20, 2006, 06:09:19 PM
Updated the module to work with J! 1.0.9.




Title: Re: Joomla-SMF Who's Online
Post by: Benediktus on June 20, 2006, 08:33:09 PM
Very.. Very big thanks Mr. Wolverine,
Happy good day..  ;D


PS. I choose List style = Delimeted, but still with Bulleted?


Title: Re: Joomla-SMF Who's Online
Post by: kai920 on June 20, 2006, 09:20:26 PM
First of all, thanks Wolverine!

-like the new "PM" icon :)

-attached is what the list looks like in "delimited" setting. as benediktus said, it looks bulleted, but not sure if this is the intended output.

-comparison of two Who's Online modules - the bottom is your J-SMF module.  the online members differ... is it because your module pulls users from the Joomla database?  In my case, user "Dee" was not logged into SMF, but his status was 'logged in' from Joomla backend.  I'm not saying one method is better than the other, just thought you might want to know  ;)


Title: Re: Joomla-SMF Who's Online
Post by: -Wolverine on June 20, 2006, 11:30:02 PM
the list style shouldn't be any different than in the previous versions.  The people online are taken from jos_sessions whereas smf takes the users from smf_sessions(or a similar table). 


Title: Re: Joomla-SMF Who's Online
Post by: insightrob on June 21, 2006, 08:30:31 AM
Great work wolverine, been looking forward to this fix.

Any ideas on the max number of users that will be shown on the list? Could get scary on a busy site.


Title: Re: Joomla-SMF Who's Online
Post by: -Wolverine on June 21, 2006, 10:11:12 AM
the list style shouldn't be any different than in the previous versions.  The people online are taken from jos_sessions whereas smf takes the users from smf_sessions(or a similar table). 
actually, the style is slightly different(following J! 1.0.9 way of styling), but the delimited arrows were in the last version as well.  I'm open to suggestions!  ;D


Title: Re: Joomla-SMF Who's Online
Post by: infocine13 on June 29, 2006, 02:42:53 AM
Bonjour à tous! je suis francais...
je vais essayer de faire simple...

when : Link Username To:  No Link   SMF     CB
                                            OK     error*    n/a

* message : Table \'infocine131._smfmembers\' doesn\'t exist SQL=SELECT ID_MEMBER, ID_GROUP, ID_POST_GROUP\n FROM _smfmembers\n WHERE memberName = \'infocine13\'

when : Add PM Link :   No Link    SMF     PMS
                                    OK       error*     n/a

* message :
Table \'infocine131._smfmembers\' doesn\'t exist SQL=SELECT ID_MEMBER, ID_GROUP, ID_POST_GROUP\n FROM _smfmembers\n WHERE memberName = \'infocine13\'

my version:
joomla 1.0.10
smf 1.1 RC2
joomla-smf 1.1.4
joomla-smf-login 1.4.2
Joomla-SMF Who's Online 1.4

désolé je ne parle pas anglais.... :-[ :-[


Title: Re: Joomla-SMF Who's Online
Post by: bdark on July 05, 2006, 07:32:36 AM
Hola,
I have joomla 1.0.9 with Joom!Fish 1.7, smf 1.1 rc2 with bridge 1.1.3 and smf login 1.4.2. I have prob with new Joomla-SMF Who's Online (1.4). In English Joom!Fish Version in my site is ok the module!
In Greek Version it shows this.."We have $guest_array guests online" or if a have login members this "We have $user_array users online" how i fix this? 


Title: Re: Joomla-SMF Who's Online
Post by: -Wolverine on July 05, 2006, 08:44:16 AM
there is a difference in the way J! 1.0.9 and previous versions displayed this information.  Since it doesn't appear there is any backward compatability built into J! I will try to add some.  However, you shouldn't be seeing that on J! 1.0.9 bdark.


Title: Re: Joomla-SMF Who's Online
Post by: Fletsch on July 05, 2006, 09:49:58 AM
Hola,
I have joomla 1.0.9 with Joom!Fish 1.7, smf 1.1 rc2 with bridge 1.1.3 and smf login 1.4.2. I have prob with new Joomla-SMF Who's Online (1.4). In English Joom!Fish Version in my site is ok the module!
In Greek Version it shows this.."We have $guest_array guests online" or if a have login members this "We have $user_array users online" how i fix this? 

This is because the Joomla language file has changed! That's how it should look like:
Code:
/** whos_online.php */
DEFINE('_WE_HAVE', 'We have ');
DEFINE('_AND', ' and ');
DEFINE('_GUEST_COUNT','%s guest');
DEFINE('_GUESTS_COUNT','%s guests');
DEFINE('_MEMBER_COUNT','%s member');
DEFINE('_MEMBERS_COUNT','%s members');
DEFINE('_ONLINE',' online');
DEFINE('_NONE','No Users Online');

Look in the greek language file - and change it! ore download a new language file!

For the german vistisors in german.php:

Code:
DEFINE('_WE_HAVE', 'Aktuell ');
DEFINE('_AND', ' und ');
DEFINE('_GUEST_COUNT','ist %s Gast');
DEFINE('_GUESTS_COUNT','sind %s Gäste');
DEFINE('_MEMBER_COUNT','%s Mitglied');
DEFINE('_MEMBERS_COUNT','%s Mitglieder');
DEFINE('_ONLINE',' Online');
DEFINE('_NONE','Kein Benutzer Online');

Peace!



Title: Re: Joomla-SMF Who's Online
Post by: zmobie on July 05, 2006, 04:43:26 PM
I had the same problem and solved it, thanks to Fletsch.

Here's my modified part of the french language file if someone needs it:

Code:
/** whos_online.php */
DEFINE('_WE_HAVE', 'Il y a actuellement ');
DEFINE('_AND', ' et ');
DEFINE('_GUEST_COUNT','%s invité');
DEFINE('_GUESTS_COUNT','%s invités');
DEFINE('_MEMBER_COUNT','%s membre');
DEFINE('_MEMBERS_COUNT','%s membres');
DEFINE('_ONLINE',' en ligne');
DEFINE('_NONE','Aucun membre en ligne');


Title: Re: Joomla-SMF Who's Online
Post by: bdark on July 06, 2006, 09:12:57 AM
This is because the Joomla language file has changed! That's how it should look like:
Code:
/** whos_online.php */
DEFINE('_WE_HAVE', 'We have ');
DEFINE('_AND', ' and ');
DEFINE('_GUEST_COUNT','%s guest');
DEFINE('_GUESTS_COUNT','%s guests');
DEFINE('_MEMBER_COUNT','%s member');
DEFINE('_MEMBERS_COUNT','%s members');
DEFINE('_ONLINE',' online');
DEFINE('_NONE','No Users Online');

Look in the greek language file - and change it! ore download a new language file!

For the german vistisors in german.php:

Code:
DEFINE('_WE_HAVE', 'Aktuell ');
DEFINE('_AND', ' und ');
DEFINE('_GUEST_COUNT','ist %s Gast');
DEFINE('_GUESTS_COUNT','sind %s Gäste');
DEFINE('_MEMBER_COUNT','%s Mitglied');
DEFINE('_MEMBERS_COUNT','%s Mitglieder');
DEFINE('_ONLINE',' Online');
DEFINE('_NONE','Kein Benutzer Online');

Peace!


thnx Fletsch!!!


Title: Re: Joomla-SMF Who's Online
Post by: videoed on July 07, 2006, 01:47:31 PM
Here you are Spanish SMF Who's Online 1.4 version


Title: Re: Joomla-SMF Who's Online
Post by: teovmy on July 13, 2006, 01:02:48 PM
I get an error message. $guest_array. It shows: there are $guest_array users online.

Have Joomla 1.10 and SMF 1.1 RC2


Title: Re: Joomla-SMF Who's Online
Post by: -Wolverine on July 13, 2006, 01:11:07 PM
reread this topic, the answer is there


Title: Re: Joomla-SMF Who's Online
Post by: teovmy on July 13, 2006, 01:48:52 PM
Sorry but where to find the language file so solf this problem


Title: Re: Joomla-SMF Who's Online
Post by: -Wolverine on July 13, 2006, 02:03:36 PM
under your webroot.... /language/


Title: Re: Joomla-SMF Who's Online
Post by: teovmy on July 13, 2006, 02:17:53 PM
This is how mine lookes:

DEFINE('_WE_HAVE', 'Nu ');
DEFINE('_AND', ' en ');
DEFINE('_GUEST_COUNT','$guest_array bezoeker');
DEFINE('_GUESTS_COUNT','$guest_array bezoekers');
DEFINE('_MEMBER_COUNT','$user_array lid');
DEFINE('_MEMBERS_COUNT','$user_array leden');
DEFINE('_ONLINE',' online');
DEFINE('_NONE','Geen bezoekers online');

But what do I need to change???


Title: Re: Joomla-SMF Who's Online
Post by: -Wolverine on July 13, 2006, 03:03:49 PM
replace $guest_array and $user_array with %s


Title: Re: Joomla-SMF Who's Online
Post by: teovmy on July 13, 2006, 03:22:19 PM
-Wolverine... GREAT it works. Thanx


Title: Re: Joomla-SMF Who's Online
Post by: -Wolverine on July 13, 2006, 03:25:59 PM
no problem, glad you got it fixed! ;D


Title: Re: Joomla-SMF Who's Online
Post by: bdark on September 07, 2006, 10:07:27 AM
hola,
i have smf 1.1 rc3 and in module SMF Who's Online 1.4 displays only the guests,logged users are invisible y?!


Title: Re: Joomla-SMF Who's Online
Post by: bdark on September 18, 2006, 07:11:56 AM
hola,
i have smf 1.1 rc3 and in module SMF Who's Online 1.4 displays only the guests,logged users are invisible y?!
help? ??? ::)


Title: Re: Joomla-SMF Who's Online
Post by: bdark on September 29, 2006, 06:25:10 AM
help? ??? ::)
help...?


Title: Re: Joomla-SMF Who's Online
Post by: al0000 on September 29, 2006, 09:37:51 PM
This module works nice, but it seems that it generates TONS of queries.

It generates 2-3 queries per user, so if we have 500 users online, it may generate 1500 queries per page that loads (if you have the module visible on every page).

I have 0,5sec generation times with the module running, and BELLOW 0,1sec generation time with the module off.

Any workaround to this?

Thanx!


Title: Re: Joomla-SMF Who's Online
Post by: -Wolverine on September 29, 2006, 10:06:23 PM
looking at caching the query with the next version


Title: Re: Joomla-SMF Who's Online
Post by: samurai-lupin on April 24, 2008, 01:22:10 AM
Hello,

is there a way to configure the module so it will list users which have been online in the past 30 minutes?

Thank you


Title: Re: Joomla-SMF Who's Online
Post by: locutus on April 24, 2008, 06:17:39 AM
As you can read in the stickies. Development has stopped at joomlahacks. Sad but true  :'(


Title: Re: Joomla-SMF Who's Online
Post by: Superdaantje on May 02, 2008, 07:09:19 PM
Yes the development and the Support has been stopped on June 2007 ;)

So the members have to support each other. Think it is wise to take an look at an alternative.

Mambo with SMF  (yes there is also coming an bridge for SMF 2.0)
Joomla! with PHPbb
Or other options.




Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com