• Welcome to Simple Machines Community Forum. Please login or sign up.
November 27, 2021, 02:38:14 PM

News:

Want to get involved in developing SMF, then why not lend a hand on our github!


Select Online Status When Logging In

Started by Kays, September 22, 2009, 11:19:12 PM

Previous topic - Next topic

Kays

I'm glad to hear that. :)

I wonder if the package manager has a limit on the number of mods it can handle.

If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods

Arantor

There are users with 100+ mods installed, so I don't think it's that.
No good deed goes unpunished
All helpful urges should be circumvented

Kays


If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods

Sabre™

Quote from: Arantor on September 26, 2009, 07:34:20 PM
There are users with 100+ mods installed, so I don't think it's that.

One of mine has over 130 if I recall correct.
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


babjusi


SoLoGHoST

Agreed, excellent mod Kays, and congrats on Septembers, Mod of the Month :)

Kays

Thanks all. :)

I didn't think that this mod would be so popular.

If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods

Arantor

No good deed goes unpunished
All helpful urges should be circumvented

TheListener

Are the admins still able to see all users online?


Arantor

Yes, they always would be.

It just sets whether the user appears as online in the regular online list or 'hidden' to regular users, just as if they could set that by default themselves.
No good deed goes unpunished
All helpful urges should be circumvented

Eclipse16V

I worked with:
SMF 2 in German

Shop:
SID Giessen

Eclipse16V

Nice Mod

Please update it for SMF 2.0RC3  ;)

Thanks
I worked with:
SMF 2 in German

Shop:
SID Giessen

Kays

It's been updated. :)

No changes were required.

If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods

~DS~

Looks awesome and another "this should have be default in SMF" quote from me.  :P
"There is no god, and that's the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

Cobra_JK

March 17, 2010, 01:25:56 PM #34 Last Edit: March 17, 2010, 01:41:27 PM by Cobra_JK
Hi,

nice mod, but i have a little problem:

I deactivated the "Allow guests to browse the forum" feature to disallow guests to see my forum. So a log in page is the first thing a user sees as Overview but in this page the mod doesn't work. If i manually select the 'normal'  log in page (click on the Login-Tab) as if i could see the forum as guest, the mod works.
Seems there is one more place, where the check-box should be added.

PS: I use SMF 1.1.11

Kays

Thanks for that  Cobra_JK. :)

I've added it there also and updated the mod.

Quote from: Dismal Shadow on March 15, 2010, 03:12:45 PM
Looks awesome and another "this should have be default in SMF" quote from me.  :P

Thanks. Maybe so, but it's not a mod that I use.

If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods

TheListener

March 20, 2010, 10:16:06 PM #36 Last Edit: March 20, 2010, 10:35:36 PM by Brack1
Installed ok except all I see when using the test account is a box which is ticked and no text.

Am using the curvemavi theme on rc2

Had this error.

50:
<dl>
51:
<dt>', $txt['mins_logged_in'], ':</dt>
52:    
<dd><input type="text" name="cookielength" size="4" maxlength="4" value="', $modSettings['cookieTime'], '"', $context['never_expire'] ? ' disabled="disabled"' : '', ' class="input_text" /></dd>
53:    
<dt>', $txt['always_logged_in'], ':</dt>
54:    
<dd><input type="checkbox" name="cookieneverexp"', $context['never_expire'] ? ' checked="checked"' : '', ' class="input_check" onclick="this.form.cookielength.disabled = this.checked;" /></dd>
==>55:    
<dt>', $txt['show_online'], ':</dt>
56:    
<dd><input type="hidden" name="show_online" /><input type="checkbox" name="show_online" class="input_check"', isset($_POST['show_online']) && empty($_POST['show_online']) ? '' : ' checked="checked"', ' /></dd>';
57:    
// If they have deleted their account, give them a chance to change their mind.

Kays

For which version of the mod and which of the login boxes is affected? The default one?

If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods

TheListener

Oops made a booboo meant RC3 not RC2.


Total time logged in doesn't show when registering or below the forums main banner

~DS~

Look like it got conflit with enotify
http://forum.com/index.php?action=enotify
8: Undefined index: show_online
File: /home/user/public_html/forum.com/Themes/default/Login.template.php
Line: 132


I got many of this in the error logs.
"There is no god, and that's the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

Advertisement: