TinyPortal

Development => Support => Topic started by: dbtees on March 12, 2012, 08:43:52 PM

Title: Getting rid of Downloads manager and Simple shout
Post by: dbtees on March 12, 2012, 08:43:52 PM
Link to my site: Site not publicly available
SMF version: 2.0.2
TP version: 1 rc3
Default Forum Language: English
Theme name and version: Outline
Browser Name and Version: Firefox
Mods installed: Downloads manager, TP Simple Shout
Related Error messages: Undefined index

I don't want to use the TP Downloads manager or TP Simple Shout and have turned them both "Off" in the modules page of TP Admin. However, under Profile Summary > Tinyportal I still have links for 'Uploaded files' and 'View shouts.' I'm unable to figure out how to completely get rid of these two mods and those two links.
Title: Re: Getting rid of Downloads manager and Simple shout
Post by: IchBin on March 13, 2012, 05:42:25 AM
Yeah those aren't set to turn off with the modules. You'll have to comment out some code, probably in the TPprofile.template.php file. If you don't find it, let me know and I'll look tomorrow when I get on my computer with access to my files.
Title: Re: Getting rid of Downloads manager and Simple shout
Post by: dbtees on March 13, 2012, 02:48:19 PM
Thanks. Can't find the relevant code yet, but I'll keep trying. Thanks for a great piece of software, BTW! When all other forum+bridge+CMS combos failed me, yours+SMF has given me exactly what I was looking for.
Title: Re: Getting rid of Downloads manager and Simple shout
Post by: IchBin on March 13, 2012, 06:27:47 PM
It's actually in the Sources/TPmodules.php file.

Find this function and comment out the sections you don't want.

function tp_getprofileareas
Title: Re: Getting rid of Downloads manager and Simple shout
Post by: dbtees on March 13, 2012, 07:38:21 PM
Awesome. Thank you!  :)