[SOLVED] Create an auto action for popup message to a user to update his Avatar if none uploaded on his profile.

8 years 4 months ago #274545 by pranaydhruv
Hello Nant,

is there any other trigger that can be used and i can enter the popup box JS code ?

the next logical i can think of is on profile edit.

Thanks
Pranay
The topic has been locked.
8 years 4 months ago #274596 by nant

pranaydhruv wrote: Hello Nant,

is there any other trigger that can be used and i can enter the popup box JS code ?

the next logical i can think of is on profile edit.

Thanks
Pranay


I guess you can try onAfterUserProfileDisplay trigger
The topic has been locked.
8 years 4 months ago #274629 by nant
You can also do the following:

Create 2 actions:

One code (JS Internal) action with trigger set to none that displays the js alert you want.

And a second action that is a Redirect action off the onAfterLogin trigger that conditions off the avatar (see previous example I gave) and redirects to the internal url of the code action you create.
The topic has been locked.
8 years 4 months ago - 8 years 4 months ago #274697 by pranaydhruv
Dear nant,

Thanks , these work fine, and i am able to get the function i was looking for, just one thing ,on this page i have put a button to re-direct the user to edit his profile view where he can upload his Photo, however it lands on the wrong tab, how can i make him land on the right tab ,please see the URL below :-

/index.php?option=com_comprofiler&view=userdetails&Itemid=526#cbtabpane20

BTW- i want him to land on tabpane20, but they land on the canvas tab.

Thanks
Pranay
The topic has been locked.
8 years 4 months ago #274699 by nant

pranaydhruv wrote: Dear nant,

Thanks , these work fine, and i am able to get the function i was looking for, just one thing ,on this page i have put a button to re-direct the user to edit his profile view where he can upload his Photo, however it lands on the wrong tab, how can i make him land on the right tab ,please see the URL below :-

/index.php?option=com_comprofiler&view=userdetails&Itemid=526#cbtabpane20

BTW- i want him to land on tabpane20, but they land on the canvas tab.

Thanks
Pranay


www.joomlapolis.com/forum/153-professional-member-support/231978-solved-link-to-tab?limitstart=0
The following user(s) said Thank You: pranaydhruv
The topic has been locked.
8 years 4 months ago #274704 by pranaydhruv
Dear Nick,

That resolves all issues with this function.




Thanks
Pranay
The topic has been locked.
Moderators: beatnantkrileon
Time to create page: 0.252 seconds

Facebook Twitter LinkedIn