| 
Welcome, Guest
  • Page:
  • 1

TOPIC: Redirect for Profile Update Cancel?

Redirect for Profile Update Cancel? 2 years 2 months ago #156957

  • dupree1015
  • dupree1015
  • OFFLINE
  • Senior Boarder
    Senior Boarder
  • Posts: 52
  • Karma: -
Hello,

I love the CB redirect feature and was able to use it for when people update their profile and hit update. However, if someone hits "cancel" it's going to where I don't want it to go. Is there a redirect if someone presses cancel or is there somewhere else I need to go to create this particular redirect? I looked at the redirect list inside CB Redirect but didn't know which one to choose for this function.

Thanks,

Cat'
The administrator has disabled public write access.

Re: Redirect for Profile Update Cancel? 2 years 2 months ago #156990

  • krileon
  • krileon
  • ONLINE
  • Moderator
    Moderator
  • Posts: 31502
  • Karma: 903
There's no trigger for the cancel button so CB Redirect can't do anything to act on cancel action. The cancel redirect is hardcoded in the function userEdit inside comprofiler.html.php.
Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Tutorials + Search the forums
CB links: Documentation - Tutorials - Templates - CBSubs - Hosting - Forge - Incubator - GroupJive
--
If you are a Advanced, Professional, Developer, or CBSubs 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 Advanced, 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 EST to 4:00 PM EST. 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.
--
If you use Community Builder, please post a rating and a review at the Joomla! Extensions Directory.
The administrator has disabled public write access.

Re: Redirect for Profile Update Cancel? 2 years 2 months ago #157006

  • dupree1015
  • dupree1015
  • OFFLINE
  • Senior Boarder
    Senior Boarder
  • Posts: 52
  • Karma: -
Thank you for getting back to me. Is there any way that I can change the PHP to have it direct somewhere else? I need to have this done because the way I am using CB it will confusing to the members if they see their actual profile pages. If there is a way to change it, would you please instruct me on how to do so since I'm not a PHP expert?

Thanks,

Cat'
The administrator has disabled public write access.

Re: Redirect for Profile Update Cancel? 2 years 2 months ago #157030

  • beat
  • beat
  • OFFLINE
  • Administrator
    Administrator
  • Posts: 6986
  • Karma: 335
It's not completely trivial to do it right.
Added a Feature request as #2412

As quick implementation, the cancel button javascript could add a param &cancelled=1 to the url, and in profile view state trigger that param could be evaluated.
Beat - Community Builder Team Member
If you use Community Builder, please take a minute to post a rating and a review at the Joomla! Extensions Directory. :cheer:
Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info
The administrator has disabled public write access.

Re: Redirect for Profile Update Cancel? 2 years 2 months ago #157644

  • dupree1015
  • dupree1015
  • OFFLINE
  • Senior Boarder
    Senior Boarder
  • Posts: 52
  • Karma: -
Thank you again for your reply. Does this mean that you have added a request for this feature? If so, would you be able to tell me when we can expect an update for the plugin? :) :)

Cat'
The administrator has disabled public write access.

Re: Redirect for Profile Update Cancel? 2 years 2 months ago #157697

  • krileon
  • krileon
  • ONLINE
  • Moderator
    Moderator
  • Posts: 31502
  • Karma: 903
Thank you again for your reply. Does this mean that you have added a request for this feature?
Yes.
If so, would you be able to tell me when we can expect an update for the plugin?
Not something the plugin can add, this is an addition that needs to be made to core of CB as cancel URL is hardcoded.
Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Tutorials + Search the forums
CB links: Documentation - Tutorials - Templates - CBSubs - Hosting - Forge - Incubator - GroupJive
--
If you are a Advanced, Professional, Developer, or CBSubs 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 Advanced, 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 EST to 4:00 PM EST. 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.
--
If you use Community Builder, please post a rating and a review at the Joomla! Extensions Directory.
The administrator has disabled public write access.
  • Page:
  • 1
Time to create page: 0.212 seconds