Bitlab Media Group Posted December 2, 2019 Share 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 Link to comment Share on other sites More sharing options...
Lucas James Posted December 2, 2019 Share Posted December 2, 2019 AdminCP > Settings > Advanced Configuration > Friendly URLs > Search: register (Edit) Link to comment Share on other sites More sharing options...
Bitlab Media Group Posted December 2, 2019 Author Share 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 Link to comment Share on other sites More sharing options...
TDBF Posted December 2, 2019 Share 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. Link to comment Share on other sites More sharing options...
Bitlab Media Group Posted December 2, 2019 Author Share 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..  Link to comment Share on other sites More sharing options...
TDBF Posted December 2, 2019 Share 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 🙂 Link to comment Share on other sites More sharing options...
Bitlab Media Group Posted December 2, 2019 Author Share 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. Link to comment Share on other sites More sharing options...
TDBF Posted December 2, 2019 Share Posted December 2, 2019 Will send you a PM with a plugin, so you don't have to edit the code. 🙂 Link to comment Share on other sites More sharing options...
bfarber Posted December 2, 2019 Share 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.