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

TOPIC:

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

  • JoomGuy
  • JoomGuy's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
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!!!

Please Log in or Create an account to join the conversation.

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

  • JoomGuy
  • JoomGuy's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
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!!!

Please Log in or Create an account to join the conversation.

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

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Cool.

You've just earned 25 Euros ;-)
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

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

  • JoomGuy
  • JoomGuy's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
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!!!

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Time to create page: 0.061 seconds

This Component Generator is the REAL component generator. This tool is very easy to use and in a matter of minutes I was building a fully working extension. I was amazed with the end result... worth every cent...
Griiettner (JED)

         

Get Started