Log me on automatically each visit

Looking for a MOD? Have a MOD request? Post here for help. (Note: This forum is community supported; phpBB does not have official MOD authors)
Scam Warning
Locked
SexProffesor
Registered User
Posts: 67
Joined: Tue Sep 21, 2010 8:47 am

Log me on automatically each visit

Post by SexProffesor » Mon Dec 27, 2010 9:43 am

how to make "Log me on automatically each visit" mark when members come in my site

for example one site have that option:
http://img12.imageshack.us/img12/5527/84880213.jpg


example site : http://www.phpbb3bbcodes.com/ucp.php?mo ... 100cddc694

User avatar
Oyabun1
Former Team Member
Posts: 23162
Joined: Sun May 17, 2009 1:05 pm
Location: Australia
Name: Bill

Re: Log me on automatically each visit

Post by Oyabun1 » Tue Dec 28, 2010 7:24 am

Maybe you should have had a better look at your "example site", Autologin as Standard.
                      Support Request Template
3.0.x: Knowledge Base Styles Support MOD Requests
3.1.x: Knowledge BaseStyles SupportExtension Requests

SexProffesor
Registered User
Posts: 67
Joined: Tue Sep 21, 2010 8:47 am

Re: Log me on automatically each visit

Post by SexProffesor » Wed Dec 29, 2010 9:52 am

any one can help me to do that for my site too?

.m.
Registered User
Posts: 438
Joined: Wed Nov 04, 2009 8:39 pm

Re: Log me on automatically each visit

Post by .m. » Wed Dec 29, 2010 10:39 am

^ it should be a standard feature on most of templates. not sure why you are missing it !

SexProffesor
Registered User
Posts: 67
Joined: Tue Sep 21, 2010 8:47 am

Re: Log me on automatically each visit

Post by SexProffesor » Thu Dec 30, 2010 9:05 am

no i mean how to make mark when members try to login?

User avatar
ChriZathens
Registered User
Posts: 1477
Joined: Tue Apr 18, 2006 9:11 pm
Location: Athens, Greece
Name: Chris

Re: Log me on automatically each visit

Post by ChriZathens » Thu Dec 30, 2010 12:06 pm

Open styles/prosilver/template/login_body.html
find

Code: Select all

<!-- IF S_AUTOLOGIN_ENABLED --><dd><label for="autologin"><input type="checkbox" name="autologin" id="autologin" tabindex="4" /> {L_LOG_ME_IN}</label></dd><!-- ENDIF -->
Replace with

Code: Select all

			<!-- IF S_AUTOLOGIN_ENABLED --><dd><label for="autologin"><input type="checkbox" checked="checked" name="autologin" id="autologin" tabindex="4" /> {L_LOG_ME_IN}</label></dd><!-- ENDIF -->
That should do it..
Remember to clear your cache afterwards..
My mods in MODDB:
Add Homepage link in header - Change user activity post limit - Post number in viewtopic
If you need support click on the support tab there and post your question.
Do not PM me - chances of viewing my PMs are way thinner than viewing the support question in the customization DB...

Locked

Return to “[3.0.x] MOD Requests”