PDA

View Full Version : How to hide Thread Subscriptions?


RTMdotORG
08-13-2009, 03:57 PM
First off, Thanks to whomever can help me with this(will probably be Lynne:))
But I would like to disable thread subscriptions, I dont want it to show in usercp or in the thread tools...any ideas?

Thanks

Lynne
08-13-2009, 04:26 PM
Actually, this is NOT an easy task. There is no option to turn it off, nor is there some option on the pages that determines whether a user may subscribe or not. You would basically have to remove any reference to this in the templates.

What I would do is create a plugin at "usersub_start":
standard_error('Sorry, but Subscriptions are disabled.');

That basically throws an error anytime a user tries to do anything with subscriptions. Then I'd decide if I really wanted to go through and remove stuff from the templates. (I'd probably remove the lins in USERCP_SHELL and navbar and see if that was enough to satisfy me.)