Jump to content


Authenticate_visitor


  • You cannot reply to this topic
73 replies to this topic

#61 Bjarne

    Etomite Forum Fan

  • Member
  • Pip
  • 94 posts

Posted 08 August 2007 - 09:19 AM

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

#62 Ralph

    Loves Etomite Forums!

  • Admin
  • 6,506 posts
  • Gender:Male

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 Bjarne

    Etomite Forum Fan

  • Member
  • Pip
  • 94 posts

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?

Edited by Bjarne, 08 August 2007 - 09:54 PM.


#64 pixelstyle

    Etomite Forum Newbie

  • Member
  • 6 posts

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.

Edited by pixelstyle, 12 October 2007 - 11:37 AM.


#65 Opal

    Etomite Forum Newbie

  • Member
  • 23 posts

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 Ralph

    Loves Etomite Forums!

  • Admin
  • 6,506 posts
  • Gender:Male

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 Opal

    Etomite Forum Newbie

  • Member
  • 23 posts

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 Ralph

    Loves Etomite Forums!

  • Admin
  • 6,506 posts
  • Gender:Male

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 Cris D.

    Loves Etomite Forums!

  • Developers
  • PipPipPipPip
  • 1,104 posts
  • Gender:Male

Posted 18 July 2009 - 09:33 AM

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

#70 bwoodsdesign

    Likes Etomite Forums!

  • Member
  • PipPip
  • 236 posts

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'

Edited by bwoodsdesign, 12 March 2010 - 06:20 PM.


#71 Ralph

    Loves Etomite Forums!

  • Admin
  • 6,506 posts
  • Gender:Male

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 bwoodsdesign

    Likes Etomite Forums!

  • Member
  • PipPip
  • 236 posts

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*

#73 Rickyx

    Etomite Forum Newbie

  • Member
  • 21 posts

Posted 26 August 2011 - 11:29 PM

View PostRalph, on 22 May 2006 - 03:28 PM, said:

<<< FIX >>>
The attached modified copy of manager/includes/form_class.php should resolve the errors reported... It should also address an issue with XHTML validation... :eto:
(from page 2 of the thread)

Hi,

I've got problems with this snippet. I'm trying to download this fix but it seems I download not form_class.php but something else.
Can someone provide the right file?

Thank you,
Rickyx

Edited by Rickyx, 26 August 2011 - 11:30 PM.


#74 Ralph

    Loves Etomite Forums!

  • Admin
  • 6,506 posts
  • Gender:Male

Posted 27 August 2011 - 01:17 PM

View PostRickyx, on 26 August 2011 - 11:29 PM, said:

(from page 2 of the thread)

Hi,

I've got problems with this snippet. I'm trying to download this fix but it seems I download not form_class.php but something else.
Can someone provide the right file?

Thank you,
Rickyx

That fix is already included in the latest Etomite 1.x code base...





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users