FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Remove Registration Link
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Remove Registration Link [message #164090] Mon, 03 January 2011 15:15 Go to next message
kingargyle is currently offline  kingargyle   United States
Messages: 3
Registered: January 2011
Karma: 0
Junior Member
I'm trying to remove the Registration link all together, instead of just disabling it. I've looked through the TMPL files, but I'm not sure what I need to change. I know that if I modify my template for my them, all the php files get re-written so I can't make modifications directly there.

Basically, I don't want to show a link at all for Registration, as my Single Signon process will take care of the registration part.


Re: Remove Registration Link [message #164091 is a reply to message #164090] Mon, 03 January 2011 15:52 Go to previous messageGo to next message
Ernesto is currently offline  Ernesto   Sweden
Messages: 413
Registered: August 2005
Karma: 0
Senior Member
Go into the template manager and use that to edit your files, or you have to edit the files found in the DATA_ROOT/thm/themename/tmpl/

The thing you are looking for is in usercp.tmpl -> register ({SECTION: register})


[Updated on: Mon, 03 January 2011 15:53]

Report message to a moderator

Re: Remove Registration Link [message #164095 is a reply to message #164091] Mon, 03 January 2011 16:00 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Alternatively, apply this patch:
http://fudforum.svn.sourceforge.net/viewvc/fudforum?view=revision&revis ion=5096

Remember to rebuild your themes when you are done.
Re: Remove Registration Link [message #164098 is a reply to message #164091] Mon, 03 January 2011 17:04 Go to previous messageGo to next message
kingargyle is currently offline  kingargyle   United States
Messages: 3
Registered: January 2011
Karma: 0
Junior Member
Thanks. Editing the default template worked.
Re: Remove Registration Link [message #165254 is a reply to message #164095] Tue, 17 May 2011 13:59 Go to previous messageGo to next message
edenys is currently offline  edenys   United States
Messages: 3
Registered: December 2010
Karma: 0
Junior Member
Hi,
I applied the patch and it removed the 'register' link.

How can I remove the "Want to register?" link in the main Login Form page and update the URL for the "Forgot password" link?

thank-you
Ernest
Re: Remove Registration Link [message #165256 is a reply to message #165254] Tue, 17 May 2011 14:25 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Edit login.tmpl and remove the link.

Alternatively, apply http://fudforum.svn.sourceforge.net/fudforum/?rev=5269&view=rev
Re: Remove Registration Link [message #165261 is a reply to message #165256] Tue, 17 May 2011 16:49 Go to previous messageGo to next message
edenys is currently offline  edenys   United States
Messages: 3
Registered: December 2010
Karma: 0
Junior Member
got it! Thanks.

I would also like to change the 'Forgot Password' link so it directs our users to our SSO application. I believe this change would be in the reset.php, correct? Or could this also be done in the login.php?

What code should I use to change the link from going to the FUDForum password reminder page, and instead navigate to a URL outside of FUDForum?

Re: Remove Registration Link [message #165264 is a reply to message #165261] Tue, 17 May 2011 17:14 Go to previous message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Just replace the "reset password" link in login.tmpl with your own HTML link.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Registration troubles
Next Topic: maillist.php and permission problems
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon May 06 04:33:52 GMT 2024

Total time taken to generate the page: 0.03133 seconds