• Welcome to Simple Machines Community Forum. Please login or sign up.
December 09, 2021, 02:43:42 AM

News:

SMF 2.0.18 has been released! Please update. Read more.


Select Online Status When Logging In

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

Previous topic - Next topic

Kays

September 22, 2009, 11:19:12 PM Last Edit: March 18, 2010, 02:31:54 PM by Kays
Link to Mod

Adds the option to select one's online status when logging in.

V1.0 - Initial release
V1.1 - Fixed problem with the "Always stay logged in:" checkbox disappearing in SMF 1.1
V1.2 - Fixed several bare strings on both versions
V1.3 Updated for SMF 2.0 RC2
V1.4 Updated for SMF 2.0 RC3
V1.5 Added the checkboxes to the KickGuests template

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

shadow82x

Colin B
Former Spammer, Customize, & Support Team Member

digit

Yeah....  very cool, thanks...   but why do you replace the text "Stay logged in" with "Show online status" in the Login.template.php file?

It seems to me that should be an "add after" not a replace.  Thanks.

Happily using a heavily modified 1.1.16 version of SMF!

2748011 Posts in 320998 Topics by 50986 Members


SOLD my website - thanks it was a good run - they converted to vbadvanced. (and screwed it up good!)

Kays

Thanks digt. It actually should be an "add before" and it only affected SMF 1.1.

This has been corrected and a new version uploaded.

This caused the "Always stay logged in" checkbox to dissapear. So anyone wishes it to re-appear, please uninstall the old version and install the revised version.




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

Kays

This only places the option in the login forum at the bottom of the board index and on the page which appears when you click on the logn link.

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


Bass_Chaz

It isn't showing up on my site at all.

I think its a great idea though.

Kays

Are you using the default theme? Were there any errors when installing the mod?

Also do you have any other mods installed which have anything to do with loging in?

Can you please attach Login.template.php from the theme you are using or from the default theme if not there to a post. So I can have a look at it.

Please don't delete your posts. It makes it hard for somone to follow the conversation.


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

Bass_Chaz

Quote from: Kays on September 23, 2009, 07:17:21 PM
Are you using the default theme?
Yes..

Were there any errors when installing the mod?
No..

Also do you have any other mods installed which have anything to do with loging in?
Mod List:
   Mod Name     Version     
1.    User Email System    1.3    
2.    All Topics Unsubscriber    1.1    
3.    New Topic Button    1.0    
4.    Links Managment    1.0    
5.    Strike Out Locked Topics    1.0    
6.    Reg Bar    1.0.2    
7.    Quote Clear Line    1.0    
8.    last login in post    1.0    
9.    Go up post button    1.0    
10.    Google Video BBC Tag (XHTML Compliant)    1.3    
11.    RSS Feed Icon    1.1    
12.    Aeva ~ Auto-Embed Video & Audio    6.9.99    
13.    Irritate lurkers with 0 posts    0.1    
14.    Downloads System    1.0.4    
15.    Custom Profile Field Mod    3.19    
16.    Chatroom Button    1.01
17.    Contact Page    1.1    
18.    BK-SMF Sub-Board    1.5
19.    Welcome Topic Mod    1.1    
20.    Admin member list registration date    1.0    
21.    Users Online Today Mod    1.4.0    
22.    Hide Info Center From Guests    1.0
23.    User Control Panel By Alan S    2.0
24.    Twitter Field    1.0    
25.    Trim Url    1.0.2    
26.    TinyPortal    0.983    
27.    Admin Ban Button in Post    1.1    
28.    Set forum width from Acp    0.1    
29.    SMF Links    1.6.7
30.    RemovePM    1.1.4    
31.    Colored_Calendar_Frame    1.1.1    
32.    Referrals Mod    2.0.1    
33.    Signature Area BBCode Buttons    1.5    
34.    Redirect on Login and/or Logout mod    0.2
35.    Previous and Next Links for Page Index    1.0    
36.    User Post Limit Options    1.0.1    
37.    Poll Option in Post    1.0
38.    PM Popup - Uses Active Window    1.3    
39.    Reply Button in All Posts    1.0
40.    Hide "Logged" and IP Image    1.0    
41.    Notify of posts and replys by default    1.0    
42.    Most Popular Topic Today    2.0    
43.    Monthly Statistics on Profile    1.0    
44.    MCLegendII.2    2.0
45.    Limit A Guests Daily PageViews Mod    1.0    
46.    Karma Buttons    1.0    
47.    Invite    1.14    
48.    Header Rotator    1.1.0    
49.    Group on Registration    1.1.1    
50.    FavIcon    1.1    
51.    Enhance Recent Post    1.0    
52.    EmailValidator    1.0    
53.    Edit_Display_Name_Permission    1.0
54.    Date_Registerd on post    1.0
55.    Copy Topics    1.4    
56.    Color And BgColor BBCode Bar    3.3.1    
57.    Clickable Avatars    1.0.1    
58.    Attachment Icon File    1.0
59.    Enhanced Calendar    1.1    
60.    AvatarOnBoard    2.0    [
61.    Add PM Info To Header (v1.1)    1.0    
62.    Last Topics of Person    1.0    
63.    Auto Email Inactive Ordinary Users    1.6
64.    AjaxChat Integration    1.0    
65.    Auto Merge Double Post    1.2    
66.    No Quote BBCode    1.0    
67.    NewsTextChanger    1.2    
68.    Activate account redirection    0.1
69.    Todays Birthday    1.2    
70.    ROT13 BBcode    1.0    
71.    Ignore Another User    1.0    
72.    Post_and_Change_as_Alternate_User    1.0
73.    Attachment Icon File    1.0    
74.    CountDown BBC    1.0    
75.    Anti-Bot Registration Puzzles    1.2    
76.    Change Account Status From Profile    1.0    
77.    Password Protect Boards    0.2    
78.    Reflection Avatar    1.1
79.    Space Between Posts    1.0    
80.    BBC [you]    1.2    
81.    Moderator and Administrator Comment Tags    1.3    
82.    Enhanced PM Warning Message    1.0    
83.    PDF Tag    1.1    
84.    Random_Quote    1.1
85.    Logout pop up    0.1    
86.    Caps_Lock_Detection_on_Login    1.1

Wanted to POST and not quick reply. That was the reason for the deletion. Sorry 'bout that here ya go.
I know LOTS of Mods.
BUT VERY few errors the way I have it right now.
There were no errors on Install.. Thats why I went ahead with the install.
(I learned QUICK NOT to install if there are errors!!)
Ok so I should have just included the Log In Mods.. But ya never know..
BTW its Version 1.1.10 ..

Kays

That is quite a number of mods.

I don't see a reason for it not installing on that file. The only thing I can suggests is to install the mod and the check using the package parser to see if any of it did install.

I'm curious as to what's happening.

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

Arantor

By the way, this will on some setups throw an error on login due to $txt[show_online] which should be $txt['show_online'].
No good deed goes unpunished
All helpful urges should be circumvented

Bass_Chaz

Im going to try it on a fresh install and work from there.

Kays

Thanks Arantor, that's been corrected.

Let us know how it goes Bass_Chaz.

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

Sabre™

Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Sudhakar Arjunan

Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

digit

FYI - I uninstalled this - because people who had already deselected "show online status" in their profile were wondering why they had to check "hide online status" AGAIN.

SIGH.
Happily using a heavily modified 1.1.16 version of SMF!

2748011 Posts in 320998 Topics by 50986 Members


SOLD my website - thanks it was a good run - they converted to vbadvanced. (and screwed it up good!)

Kays

Unfortunately there's no way easy around that. Since when you're logging in and still considered a guest, SMF doesn't know what your previous choice was.

The top login box is unaffected by the mod. They can use it normally.

Thanks Sabre™ and A. SK :)

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

Xerendipity

GREAT mod, but how do I uninstall it please? 

I thought it was only to allow the admin (ME  :D) to choose this, but now I see a couple of little hidden people on my site and don't like it!   ;D

Thank you!

Kays

To uninstall it, just go into the package manager and click on the uninstall link next to the mod's name.

Agan, because you are considered a guest until you are logged in SMF has no way of knowing that you're an admin.


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

Bass_Chaz

Works GREAT on the New Install!!
Great work..
NOW what was it that was causing it NOT to work on my working Board...
Im going to apply ALL of the current Mods onto the new site and keep this one and then back up and reinstall onto the current site IF all goes well..

Advertisement: