Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Bitlab Media Group Posted December 2, 2019 Posted December 2, 2019 Can I redirect the signup button to one of my custom pages, which also has links to the register form? Or hide it? thanks ~saraJ
Lucas James Posted December 2, 2019 Posted December 2, 2019 AdminCP > Settings > Advanced Configuration > Friendly URLs > Search: register (Edit)
Bitlab Media Group Posted December 2, 2019 Author Posted December 2, 2019 1 hour ago, Lucas James said: AdminCP > Settings > Advanced Configuration > Friendly URLs > Search: register (Edit) Hi there thanks. I don't want to change the look of the link on rollover. I want it, to go to a custom page I made, not the system register. Or just remove the SIGN UP button. It is making things confusing with my setup. Thanks for any help ~saraJ
TDBF Posted December 2, 2019 Posted December 2, 2019 Just now, Bitlab Media Group said: Hi there thanks. I don't want to change the look of the link on rollover. I want it, to go to a custom page I made, not the system register. Or just remove the SIGN UP button. It is making things confusing with my setup. Thanks for any help ~saraJ He has just given you an example of how you can change the URL so you can have it pointing to own register page. 🙂 Change that URL to the one you want people to go too.
Bitlab Media Group Posted December 2, 2019 Author Posted December 2, 2019 6 minutes ago, TDBF said: He has just given you an example of how you can change the URL so you can have it pointing to own register page. 🙂 Change that URL to the one you want people to go too. i did. I changed it to my registration.html, took off the /register/ as was. on rollover i see the url, has changed to mine. but the button is still loading a pop up for sign up.. i want to change the REAL url.. Â
TDBF Posted December 2, 2019 Posted December 2, 2019 1 minute ago, Bitlab Media Group said: i did. I changed it to my registration.html, took off the /register/ as was. on rollover i see the url, has changed to mine. but the button is still loading a pop up for sign up.. i want to change the REAL url.. I see what you mean. You will probably have to edit the userBar templete and change the code for this Look for the following around line 128 <li id='elSignInLink'> <a href='{url="app=core&module=system&controller=login" seoTemplate="login"}' data-ipsMenu-closeOnClick="false" data-ipsMenu id='elUserSignIn'> {lang="sign_in"} <i class='fa fa-caret-down'></i> </a> {template="loginPopup" app="core" group="global" params="new \IPS\Login( \IPS\Http\Url::internal( 'app=core&module=system&controller=login', 'front', 'login' ) )"} </li> and change it too: <li id='elSignInLink'> <a href='{url="app=core&module=system&controller=login" seoTemplate="login"}'> {lang="sign_in"} <i class='fa fa-caret-down'></i> </a> </li> That should redirect you to your new page without the pop-up. Or you could create a plugin to do this in a more clean way. Disclaimer... I haven't properly tested this 🙂
Bitlab Media Group Posted December 2, 2019 Author Posted December 2, 2019 1 minute ago, TDBF said: I see what you mean. You will probably have to edit the userBar templete and change the code for this Look for the following around line 128 <li id='elSignInLink'> <a href='{url="app=core&module=system&controller=login" seoTemplate="login"}' data-ipsMenu-closeOnClick="false" data-ipsMenu id='elUserSignIn'> {lang="sign_in"} <i class='fa fa-caret-down'></i> </a> {template="loginPopup" app="core" group="global" params="new \IPS\Login( \IPS\Http\Url::internal( 'app=core&module=system&controller=login', 'front', 'login' ) )"} </li> and change it too: <li id='elSignInLink'> <a href='{url="app=core&module=system&controller=login" seoTemplate="login"}'> {lang="sign_in"} <i class='fa fa-caret-down'></i> </a> </li> That should redirect you to your new page without the pop-up. Or you could create a plugin to do this in a more clean way. Disclaimer... I haven't properly tested this 🙂 Hum, ya I was already in the userBar changing things before i posted this. but didn't get it to work. i even deleted all the code from userBar and the button was still there.. ok thanks for your notes. ill try again with your suggestion.
TDBF Posted December 2, 2019 Posted December 2, 2019 Will send you a PM with a plugin, so you don't have to edit the code. 🙂
bfarber Posted December 2, 2019 Posted December 2, 2019 None of the above is necessary. Go to AdminCP > System > Settings > Login & Registration > "Registration" tab Change "Allow new registrations?" to "Redirect to an external site" and supply the URL you want to direct users to. Done.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.