Skip to Content Skip to Menu

[SOLVED] substitution link to admin-side profile edit

  • cpaschen
  • cpaschen
  • OFFLINE
  • Posts: 328
  • Thanks: 42
  • Karma: 9
7 years 9 months ago - 7 years 9 months ago #289282 by cpaschen
I'm using auto actions to generate an email to our admins, letting them know that they need to manually review and edit a user's profile.

I'd like to be able to insert a link within the email that when clicked will take the user to the admin-side profile edit screen for the given user.



The email will be generated onUserProfileUpdate, so we will have the user's ID and other data when the email is generated.

Is there any way to do that?
Last edit: 7 years 9 months ago by krileon. Reason: Added [SOLVED] tag to subject

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48437
  • Thanks: 8275
  • Karma: 1443
7 years 9 months ago - 7 years 9 months ago #289293 by krileon
Replied by krileon on topic substitution link to admin-side profile edit
Backend user edit URL is /administrator/index.php?option=com_comprofiler&view=edit&cid=USER_ID_HERE, but it probably won't work if they're not already logged in.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Last edit: 7 years 9 months ago by krileon.

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

  • cpaschen
  • cpaschen
  • OFFLINE
  • Posts: 328
  • Thanks: 42
  • Karma: 9
7 years 9 months ago #289319 by cpaschen
Replied by cpaschen on topic substitution link to admin-side profile edit
Thanks.
That's what I needed.

For those reading this later, I actually ended up using this:
Code:
/administrator/index.php?option=com_comprofiler&view=edit&cid=[user_id]

But as noted, the user needs to be logged in to the admin-side first.
AND be sure that you include the full URL in the link if using it in email (i.e. you have to add the ' my.domain.com " before the relative URL listed above)

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

Moderators: beatnantkrileon
Powered by Kunena Forum