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

Home » FUDforum » How To » Remove Registration Link
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
Remove Registration Link [message #164090] Mon, 03 January 2011 10:15 Go to next message
kingargyle is currently offline  kingargyle   United States
Messages: 3
Registered: January 2011
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
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 10:52 Go to previous messageGo to next message
Ernesto is currently offline  Ernesto   Sweden
Messages: 413
Registered: August 2005
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
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 10:53]

Report message to a moderator

Re: Remove Registration Link [message #164095 is a reply to message #164091] Mon, 03 January 2011 11:00 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3632
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
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 12:04 Go to previous messageGo to next message
kingargyle is currently offline  kingargyle   United States
Messages: 3
Registered: January 2011
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
Thanks. Editing the default template worked.
Re: Remove Registration Link [message #165254 is a reply to message #164095] Tue, 17 May 2011 09:59 Go to previous messageGo to next message
edenys is currently offline  edenys   United States
Messages: 3
Registered: December 2010
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
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 10:25 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3632
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
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 12:49 Go to previous messageGo to next message
edenys is currently offline  edenys   United States
Messages: 3
Registered: December 2010
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
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 13:14 Go to previous message
naudefj is currently offline  naudefj   South Africa
Messages: 3632
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
Just replace the "reset password" link in login.tmpl with your own HTML link.
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: Registration troubles
Next Topic: maillist.php and permission problems
Goto Forum:
  

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

Current Time: Sun Dec 17 14:45:03 EST 2017

Total time taken to generate the page: 0.00868 seconds