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.199 seconds

For starters it's just so easy to design an app in a way that I'm used to i.e. database first then views followed by customization. The fork system is pure brilliance from a developer standpoint as I can override things and still add and update my projects with minimal effort! Truly amazing to be able to build components in Joomla using incremental refinement without having to do everything by hand. Thanks for the great tool! I am so much more productive now than ever and I can't imagine building components any other way!!!!
Dave (Forum)

Get Started