Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
How to eliminate the Add Topic button in posts
Avatar
Shama
Thailand
Member
Free Members
sp_UserOfflineSmall Offline
Dec 2, 2017 - 2:29 am

Although I provide a detailed tutorial about the forum posting process to my members, there are always some who don't get it that they are supposed to click on Submit Reply to add new posts, and instead they click on Add Topic, which of course separates their new post from the original thread. I am wondering if there is any way to get rid of the Add Topic button below the post so that they are not so tempted to click on it?

https://www.screencast.com/t/pUljfSPlqr

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Dec 2, 2017 - 4:45 am

This can be done with a simple theme template edit. What SP theme are you using and are you using a child theme for that which would make it easier?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Shama
Thailand
Member
Free Members
sp_UserOfflineSmall Offline
Dec 2, 2017 - 11:40 am

I am using the Reboot theme, but no child theme.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Dec 2, 2017 - 12:35 pm

you will want to create a child theme first so as not to lose changes on updates...

then in the child theme, copy over the reboot/templates/desktop/spTopicViewDesktop.php file... be sure to duplicate the directory structure where the file came from in the child theme...

edit the desktop one and remove these lines:

sp_PostNewTopicButton('tagId=spPostNewTopicButtonTop&iconLock=sp_ForumStatusLockWhite.png&tagClass=spButton spRight',__sp('Add Topic'), __sp('Start a new topic'), __sp('This forum is locked'));

                                        sp_PostNewTopicButton('tagId=spPostNewTopicButtonBottom&iconLock=sp_ForumStatusLockWhite.png&tagClass=spButton spRight',__sp('Add Topic'), __sp('Start a new topic'), __sp('This forum is locked'));

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 647
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 616
Members: 17344
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10117
Posts: 79596