Redirect after registration/edit the last page

8 years 2 months ago #178543 by arcoinvest
Hello guys,

This seems to be what I am looking for; a way to redirect users to a custom page after registration.

Great to know that it can be done but could you please give esay instructions for dummies? Which file, located where do I have to change and where exactelly do I insert what code?

What seems obvious for some is a deep dark whole for others...

Cheers,
Andre
8 years 2 months ago #178544 by jvande
This is the language file that generates the success message at the end of a community builder registration. Simply edit the DEFINE('_UE_REG_COMPLETE' entry to add
<META HTTP-EQUIV="Refresh" CONTENT="3; URL=http://www.yoursite.com">

to the copy. The CONTENT parameter sets the length of time till the page directs.


/components/com_comprofiler/plugin/language/default_language/default_language.php
The following user(s) said Thank You: arcoinvest
8 years 2 months ago #178786 by arcoinvest
Thanks for that mate!

For people like me that require confirmation after registration, insert the code at DEFINE('_UE_REG_COMPLETE_CONF' instead.

And for Joomlapolis crew here`s my suggestion to add it to the backend control. Something that may take a few minutes for you but could stop a lot of people from trying via code. That would also avoid backtracking when updating CB.

cheers,
andre
Moderators: beatnantkrileon
Time to create page: 0.408 seconds

Facebook Twitter LinkedIn