Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: [SOLVED] HOW TO Set Custom Session after login

Re: 25 Euros for J2.5 onLoginUser Plugin Help! 27 Oct 2012 09:29 #4776

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 64
Hi @admin,

Just tried changing it as suggested but still nothing...

Any thoughts?

Anything from my last posts?

Many thanks,

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
The administrator has disabled public write access.

Re: 25 Euros for J2.5 onLoginUser Plugin Help! 27 Oct 2012 11:30 #4777

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 64
OK, Got it working!!! :woohoo:

This was probably the most simple yet difficult to find fix - mostly due to my error!!!

Of course, if Joomla had their docs sorted for 2.5 this would have been straight forward. Anyway...

Here's the fix...

Contrary to that in J1.5 syntax for calling the login function like
onLoginUser(...)
In J2.5 you MUST USE
onUserLogin($user, $options)

That's it!

Follow the original post with this small change (should be reflected there by the time you read this)...

Many thanks @admin for your time looking into this!!!

K+1

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
The administrator has disabled public write access.

Re: 25 Euros for J2.5 onLoginUser Plugin Help! 27 Oct 2012 11:44 #4778

  • admin
  • admin's Avatar
  • Online
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
Cool.

You've just earned 25 Euros ;-)
Coding is now a piece of cake
The administrator has disabled public write access.

Re: 25 Euros for J2.5 onLoginUser Plugin Help! 27 Oct 2012 11:47 #4779

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 64
Very relieved!

I just can't believe that J can make such a fundamental, un-documented change - and, for no apparent reason...

If only I could afford to pay myself 250 euros for it! ;)

Thanks @admin!

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 0.245 seconds

Get Started