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

Martine M

#1640
The default forum language is English but many use Dutch as there language.
But I altered the modifiaction.dutch-utf8.php and the stats.dutch-utf8.php manually.

It worked perfectly when I used the Mech theme, it is just when I switched themes that I get these errors.
even after reinstalling it.
Running SMF 2.09 - Diego Andrés Theme Elegant Mind - TP 1.0 - Main Forum language English - Browser Firefox 33


Martine M

I checked all the php files I found in the manual install on the mod site and all is correct installed.
Running SMF 2.09 - Diego Andrés Theme Elegant Mind - TP 1.0 - Main Forum language English - Browser Firefox 33


Martine M

#1642
I think I solved it myself, seems I forgot to alter the english-utf8 and the French language files.
We have one French member keep forgetting that.
Running SMF 2.09 - Diego Andrés Theme Elegant Mind - TP 1.0 - Main Forum language English - Browser Firefox 33


Carceri

Glad to hear you resolved it. Actually I think that if some foreign language files can not be found, SMF should fall back to using the english ones if available. That would solve a lot of problems reported here about errors in the log and missing text in the user interface.

Arantor

Quote, SMF should fall back to using the english ones if available.

It does for the Modifications language file, but nothing else. I ended up solving this in SimpleDesk by writing a wrapper around loadLanguage with my own function to force English to be loaded first (in case there were missing strings in an incomplete translation)
Holder of controversial views, all of which my own.


Martine M

Yes I think so to, but maybe not possible as Once Upon A Star is saying.
It's my first forum that I'm running and it is with members from different languages and if I install something I now learned I have to put it myself in all language php myself even with the standard theme.
And I learned that what you see on the forum in one language is not necessarily so in another language for sure with Tiny Portal have to set all manually for which language it has to be viewable. 
But I'm getting the hang of it and I'm learning everyday.
Still have one error left in regards of Peoplesign hope they can help me, cause I can't solve that one myself.

Thanks  :)
Running SMF 2.09 - Diego Andrés Theme Elegant Mind - TP 1.0 - Main Forum language English - Browser Firefox 33


Arantor

Quotebut maybe not possible as Once Upon A Star is saying.

It's so not possible that I did it for SimpleDesk (which has multiple language files, and I did it a year ago for the first release, specifically to work around this behaviour) and that Din1031 even wrote a mod to apply the same behaviour to every single language file so that it would always attempt to load English first.
Holder of controversial views, all of which my own.


Martine M

I'm sorry I read your first answer a bit wrong, I was already posting then. :-[
Running SMF 2.09 - Diego Andrés Theme Elegant Mind - TP 1.0 - Main Forum language English - Browser Firefox 33


tank_fv101

Hello everyone,

I have this MOD installed on my forum (SMF 1.1.13), and it always works fine, except for one thing.  The total of users it shows as online today is different to what is displayed on the original information panel is always less.  For example:- UOT shows 40, and the original info panel show Most Online Today: 27.

Would this be something to do with this MOD not using the same time as the forum?  I've tried going into 'Overall time offset' and I had to get to -8 hours to get it to 28 members online today.  But this obviously messes up everything on the forum.

Many thanks for your help.

Carceri

Quote from: tank_fv101 on May 16, 2011, 06:50:15 AM
I have this MOD installed on my forum (SMF 1.1.13), and it always works fine, except for one thing.  The total of users it shows as online today is different to what is displayed on the original information panel is always less.  For example:- UOT shows 40, and the original info panel show Most Online Today: 27.

You are comparing apples to oranges: They are showing two different things. This mod displays the number of unique users that have been online during the day. The original info panel shows the number of users that have been online at the same time (where "same time" can be defined somewhere - I think the default is 15 minutes). Clearly UOT >= Most Online Today

tank_fv101

Thanks Carceri, I hadn't realised the original one was for users online at the same time. ::)  Many thanks for your help. ;) :D

Carceri

You're welcome :)

I was also originally confused, and it was actually once I realised that the original only counted users online at the same time, that I decided to create this mod.

easyrider77

Hi there,
When users logged in is more than 600 about,  no one can see the forum index.
When click on forum link  they see only a blank page.
When they not logged in (as guest's) can easy see the index.

Can see the separate the pages  via "recent posts" mod, but not the index..

Also after 12 when counter go to zero again and users is only few both logged and guests can see the forum index. Strange.  ???


Anyone have same problem..? Any solution..?

thanks
SMF  1.1.11 / Joomla 1.5.20  /default theme

Apllicmz

Thank you
when Update portuguese dont forget

$txt['uot_users_online_today']='Utilizadores online hoje';
$txt['uot_total']='Total';
$txt['uot_visible']='Visível';
$txt['uot_hidden']='Escondido';
$txt['uot_setting_sortby_pre_txt']='Ordenar a lista por utilizador';
$txt['uot_setting_sortby_post_txt']='';
$txt['uot_setting_sortorder_pre_txt']='Ordenar lista do utilizador online hoje';
$txt['uot_setting_sortorder_post_txt']='Ordenar';
$txt['uot_setting_period_pre_txt']='A lista de utilizadores deve cobrir os';
$txt['uot_setting_period_post_txt']='';
$txt['uot_setting_canview_pre_txt']='Fazer a lista de utilizadores visíveis';
$txt['uot_setting_canview_post_txt']=''




easyrider77

Carceri hi,

When users logged in is more then 650 about, no one cant see the forum index. And when i unistall this mod the forum index works perfect. Have you idea what is the problem..?
SMF  1.1.11 / Joomla 1.5.20  /default theme

Individul

Somebody have the problem with font size forum text after install this package ?. My forum font increased :'(

Carceri

Quote from: easyrider77 on May 30, 2011, 01:42:36 PM
When users logged in is more then 650 about, no one cant see the forum index. And when i unistall this mod the forum index works perfect. Have you idea what is the problem..?

No. Any errors in the log?

OCJ

Like it! Lot clearer than the standard  "Most users online today" which displays only the total number simultaneously online... which is less than half those that actually 'went online' or logged in.

Only thing is the number of non-critical errors - about 600/day now with only 100 registered users.

implode() [<a href='function.implode'>function.implode</a>]: Invalid arguments passed
Apply Filter: Only show the errors from this file
File: /home2/....../public_html/..../Themes/default/languages/UsersOnlineToday.english.php (main sub template - eval?


Would be nice to reduce the error log.
Andy


easyrider77

Quote from: Carceri on May 31, 2011, 02:32:32 AM
Quote from: easyrider77 on May 30, 2011, 01:42:36 PM
When users logged in is more then 650 about, no one cant see the forum index. And when i unistall this mod the forum index works perfect. Have you idea what is the problem..?

No. Any errors in the log?


this is the latest errors in smf log .

[28-May-2011 13:27:09] PHP Fatal error:  Allowed memory size of 33554432 bytes exhausted (tried to allocate 4630343 bytes) in /home/adultfor/public_html/forum/Sources/Subs-Package.php on line 2507
[28-May-2011 13:27:41] PHP Fatal error:  Allowed memory size of 33554432 bytes exhausted (tried to allocate 4630343 bytes) in /home/adultfor/public_html/forum/Sources/Subs-Package.php on line 2507
[28-May-2011 21:40:23] PHP Fatal error:  Allowed memory size of 33554432 bytes exhausted (tried to allocate 4630343 bytes) in /home/adultfor/public_html/forum/Sources/Subs-Package.php on line 2507
[28-May-2011 21:54:04] PHP Fatal error:  Allowed memory size of 33554432 bytes exhausted (tried to allocate 4630343 bytes) in /home/adultfor/public_html/forum/Sources/Subs-Package.php on line 2507
[28-May-2011 22:43:13] PHP Fatal error:  Allowed memory size of 33554432 bytes exhausted (tried to allocate 4630343 bytes) in /home/adultfor/public_html/forum/Sources/Subs-Package.php on line 2507
SMF  1.1.11 / Joomla 1.5.20  /default theme

Carceri

Quote from: easyrider77 on May 31, 2011, 08:31:03 AM
this is the latest errors in smf log .

[28-May-2011 13:27:09] PHP Fatal error:  Allowed memory size of 33554432 bytes exhausted (tried to allocate 4630343 bytes) in /home/adultfor/public_html/forum/Sources/Subs-Package.php on line 2507
[28-May-2011 13:27:41] PHP Fatal error:  Allowed memory size of 33554432 bytes exhausted (tried to allocate 4630343 bytes) in /home/adultfor/public_html/forum/Sources/Subs-Package.php on line 2507
[28-May-2011 21:40:23] PHP Fatal error:  Allowed memory size of 33554432 bytes exhausted (tried to allocate 4630343 bytes) in /home/adultfor/public_html/forum/Sources/Subs-Package.php on line 2507
[28-May-2011 21:54:04] PHP Fatal error:  Allowed memory size of 33554432 bytes exhausted (tried to allocate 4630343 bytes) in /home/adultfor/public_html/forum/Sources/Subs-Package.php on line 2507
[28-May-2011 22:43:13] PHP Fatal error:  Allowed memory size of 33554432 bytes exhausted (tried to allocate 4630343 bytes) in /home/adultfor/public_html/forum/Sources/Subs-Package.php on line 2507


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

Advertisement: