11
pmhoran
Re: Autologin on 2.2?
  • 2005/8/8 11:01

  • pmhoran

  • Not too shy to talk

  • Posts: 115

  • Since: 2003/2/21


If you are experiencing problems with the Autologin ... I suggest you post about it on GIJOE's site.

None of my members have mentioned a problem using it ... yet.

Peter

12
ffakk
Re: Autologin on 2.2?
  • 2005/8/8 12:41

  • ffakk

  • Just popping in

  • Posts: 13

  • Since: 2004/10/5


Quote:

jdseymour wrote:
No after the changes are updated, and the login screen has the autologin tick box, you turn off the update in preferences general settings.

As for the errors, what message?


can't access forum
&
incorrect login

this kind of error messages (I do not know exactly for I don' t have any problems myself)

13
libervis
Re: Autologin on 2.2?
  • 2005/8/9 8:03

  • libervis

  • Not too shy to talk

  • Posts: 183

  • Since: 2004/7/4 1


I've attempted to install the hack according to the instructions, however I cannot edit the mainfile.php. However I open it for editing (either with ftp or web based file manager from cpanel), edit and save it, it never actually saves changes. That happened before. mainfile.php seems to be resiliant to editing, or it constantly overwrites all changes.

What's up with that? How can I get to edit and save the changes?

Most likely because of this, my autologin hack doesn't work.

Thanks
Daniel
XOOPS Site: Libervis.com :: For a Free World

-- Libervis Network --

14
charpres
Re: Autologin on 2.2?
  • 2005/8/11 15:32

  • charpres

  • Not too shy to talk

  • Posts: 168

  • Since: 2003/9/4 2


Mainfile.php is set to 444 to prevent changes --either malicious or accidental.

You will need to CHMOD it to 777 before you can edit it.

15
libervis
Re: Autologin on 2.2?
  • 2005/8/11 19:57

  • libervis

  • Not too shy to talk

  • Posts: 183

  • Since: 2004/7/4 1


Yeah, Dave_L told me that. I have changed permissions to 644 which was enough to edit it, and then changed back to 444. However, autologin hack still doesn't seem to work..

I just verified all the changes I had to make and it's all there. It just doesn't work. I still come back after a while and I have to login back myself.

I wonder what it is..
XOOPS Site: Libervis.com :: For a Free World

-- Libervis Network --

16
charpres
Re: Autologin on 2.2?
  • 2005/8/12 15:15

  • charpres

  • Not too shy to talk

  • Posts: 168

  • Since: 2003/9/4 2


I'll try the 2.2 hack on an experimental site I have running to see if it works for me.

I will let you know how it went.

17
charpres
Re: Autologin on 2.2?
  • 2005/8/12 15:43

  • charpres

  • Not too shy to talk

  • Posts: 168

  • Since: 2003/9/4 2


I applied the hack. Works with no problem.

Interesting, though. The autologin check box is already in the login block in the template but is commented out. It also doesn't have the text "remember me" or whatever you might want.

So, I uploaded the two new files as instructed. Then I edited the entry in mainfile.php. And finally, I edited the block template from within the administration template editing area to un-comment out the remember check box. I then saved the new template.

Remember that you will need to clone your template since you can't edit the default template, then you will have to make the new template your default template from the system admin area.

18
Jyotirmaya
Re: Autologin on 2.2?
  • 2005/9/20 13:51

  • Jyotirmaya

  • Not too shy to talk

  • Posts: 105

  • Since: 2005/2/10


I got the autologin hack working with 2.2. However, I don't use the login block, but rather a link to user.php which brings up a login screen if the user is not logged in.

Does anyone know how to include the remember me checkbox in this screen? www.anandamarga.org.uk
"You are never alone or helpless, the force that guides the stars guides you too"

19
yuchuns
Re: Autologin on 2.2?
  • 2005/9/22 5:47

  • yuchuns

  • Just popping in

  • Posts: 2

  • Since: 2004/11/26


In your Admin area
1) go to [Misc. Tools] - [Templates]
2) make sure you have already cloned another template set
since the default template set can't be changed. (If you
really want to change, go to your DB and change table
tpl_source - Field [tpl_source], Field [tpl_id] 4)
3) If you got the cloned template, then modilfy [system] -
[system_userform.html] as the following
<{$lang_password}> <input type="password" name="pass" size="21" maxlength="32" /><br />
<!-- add the following line //-->
<input type="checkbox" name="rememberme" value="On" class ="formButton" />remember me<br />
<!-- end of a line //-->
<input type="hidden" name="op" value="login" />
4) After submiting the above change, go to [Preferences] -
[system] - [General settings] and change
[Default template set] to whatever you have just cloned
and modified.

-----------------
Tip: After logout from your Admin, go to
http://www.anandamarga.org.uk/user.php. If you did not
see the change, just go ahead to delete all the temp
files in your "templates_c" folder, which is under your
XOOPS Root directory.

Login

Who's Online

247 user(s) are online (163 user(s) are browsing Support Forums)


Members: 0


Guests: 247


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits