Etomite Community Forums: Authenticate_visitor - Etomite Community Forums

Jump to content

Read Me

This forum is posted in automatically when a snippet is added to the library, or updated. Please use the snippet topic to discuss that snippet.
  • (5 Pages)
  • +
  • « First
  • 3
  • 4
  • 5
  • You cannot start a new topic
  • You cannot reply to this topic

Authenticate_visitor

#61 User is offline   Bjarne 

  • Etomite Forum Fan
  • Pip
  • Group: Member
  • Posts: 94
  • Joined: 28-December 04

Posted 08 August 2007 - 09:19 AM

Is it possible to add a "Remember me" function to the Authenticate_visitor snippet?

#62 User is offline   Ralph 

  • Etomite Administrator
  • Group: Admin
  • Posts: 6,418
  • Joined: 01-July 04
  • Gender:Male
  • Location:Jamestown, NY USA
  • Interests:Computers, Camping, Hiking, Aviation

Posted 08 August 2007 - 01:38 PM

View PostBjarne, on Aug 8 2007, 05:19 AM, said:

Is it possible to add a "Remember me" function to the Authenticate_visitor snippet?

You could just as easily set the entire Etomite session to last longer than it does by using the custom session handling features within your manager/includes/config.inc.php file as long as you are running Etomite 0.6.1.3 or newer... I usually have my system set to save sessions for a week, a month, or forever... However, this can only be done successfully if you use a custom session_save_path, otherwise a general cleanup triggered by any other script on the server might thwart your efforts at retaining sessions for a longer period of time than the default set in the servers php.ini file... The config.inc.php file should have adequate documentation on how to reconfigure it for longer sessions...

If you are intent on using a Remember Me checkbox there are several articles on the net that can be found by Googling "remember me checkbox" that might help determine what code to add to the snippet... I seem to recall someone mentioning that they implemented this feature a while back... Maybe they can share the code... I, personally, simply don't have the time right now to add what is probably just several lines of code...

#63 User is offline   Bjarne 

  • Etomite Forum Fan
  • Pip
  • Group: Member
  • Posts: 94
  • Joined: 28-December 04

Posted 08 August 2007 - 09:54 PM

Thank you for your answer. It is the check box I think I would prefer. I'll guess I'll just wait to see if anyone can provide the neccessary code for me here, before I start bugging my PHP-buddies. :-)

Anyone?

This post has been edited by Bjarne: 08 August 2007 - 09:54 PM


#64 User is offline   pixelstyle 

  • Etomite Forum Newbie
  • Group: Member
  • Posts: 6
  • Joined: 12-October 07

Posted 12 October 2007 - 11:14 AM

I just installed this snippet and for logging in and autentication of pages it works great, my users will be really happy with it.

The logout button however, doesn't do anything. I tested it in FF2 and IE7. Same result. Are there any known problems with the logout button?

Edit: Replacing [[ ]] with [! !] did the trick.

This post has been edited by pixelstyle: 12 October 2007 - 11:37 AM


#65 User is offline   Opal 

  • Etomite Forum Newbie
  • Group: Member
  • Posts: 23
  • Joined: 16-January 09
  • Gender:Female

Posted 14 July 2009 - 01:02 PM

I'm having some javascript problems (I think?) in IE, when the password is incorrect.

In Firefox, I get a single pop-up informing me that the username or password is incorrect. I click OK, and return to the same login form.
In IE, I get the pop-up twice, and then get pushed back to whatever page I was on before clicking to the form.

The snippet call: [!authenticate_visitor?use_captcha=0&use_logout=1&login_id=310&logout_id=311!]

Any suggestions? I've poked around in the Tigra bits briefly and don't see a reason for the double-fire.

#66 User is offline   Ralph 

  • Etomite Administrator
  • Group: Admin
  • Posts: 6,418
  • Joined: 01-July 04
  • Gender:Male
  • Location:Jamestown, NY USA
  • Interests:Computers, Camping, Hiking, Aviation

Posted 14 July 2009 - 01:51 PM

The double popup makes me wonder whether the page is redirecting twice... This would explain the double popup as well as not working with the first CAPTCHA code, which I am assuming you have enabled...

#67 User is offline   Opal 

  • Etomite Forum Newbie
  • Group: Member
  • Posts: 23
  • Joined: 16-January 09
  • Gender:Female

Posted 14 July 2009 - 03:42 PM

View PostRalph, on 14 July 2009 - 01:51 PM, said:

The double popup makes me wonder whether the page is redirecting twice... This would explain the double popup as well as not working with the first CAPTCHA code, which I am assuming you have enabled...


No CAPTCHA enabled.

Where would you recommend I begin looking for a 2x redirect, Ralph, with the snippet or Tigra?

#68 User is offline   Ralph 

  • Etomite Administrator
  • Group: Admin
  • Posts: 6,418
  • Joined: 01-July 04
  • Gender:Male
  • Location:Jamestown, NY USA
  • Interests:Computers, Camping, Hiking, Aviation

Posted 14 July 2009 - 07:15 PM

I'd be leaning towards the Snippet code as you'd have to manually add a Javascript redirect into the Tigra Validation code...

#69 User is offline   Cris D. 

  • Loves Etomite Forums!
  • PipPipPipPip
  • Group: Member
  • Posts: 1,076
  • Joined: 10-August 06
  • Gender:Not Telling

Posted 18 July 2009 - 09:33 AM

Is this tied in with the .htaccess issues in the other thread??

#70 User is offline   bwoodsdesign 

  • Likes Etomite Forums!
  • PipPip
  • Group: Member
  • Posts: 227
  • Joined: 21-April 05
  • Gender:Female
  • Location:Saint Paul, MN - USA
  • Interests:volunteering, walking, computers, reading, cooking, trashy reality tv and cocktails when I'm not working (which is rarely, if ever)!

Posted 12 March 2010 - 06:19 PM

Is this snippet still working with the latest release of Etomite?

I saw an earlier comment saying it was only working with 0.6!

http://www.etomite.c...dpost__p__52103

edited because I misspelled 'release'

This post has been edited by bwoodsdesign: 12 March 2010 - 06:20 PM


#71 User is offline   Ralph 

  • Etomite Administrator
  • Group: Admin
  • Posts: 6,418
  • Joined: 01-July 04
  • Gender:Male
  • Location:Jamestown, NY USA
  • Interests:Computers, Camping, Hiking, Aviation

Posted 12 March 2010 - 06:53 PM

Both the authenticate_visitor and Login|Logout snippets work with all releases of Etomite to the best of my knowledge... Mine are working in v1.1 just fine...

#72 User is offline   bwoodsdesign 

  • Likes Etomite Forums!
  • PipPip
  • Group: Member
  • Posts: 227
  • Joined: 21-April 05
  • Gender:Female
  • Location:Saint Paul, MN - USA
  • Interests:volunteering, walking, computers, reading, cooking, trashy reality tv and cocktails when I'm not working (which is rarely, if ever)!

Posted 12 March 2010 - 06:58 PM

Hiya Ralph

Because I typically find not getting responses around here to be very fast, I went ahead and tried it. Seems to be working OK so far.

Now I've just got to nail down this whole EtoGal thing - it's not working according to the documenation I followed.

*shrug*

Share this topic:


  • (5 Pages)
  • +
  • « First
  • 3
  • 4
  • 5
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users