Support Forum

Reboot theme – post tools links not showing – fix

DA DavidPolensky
DavidPolensky
Member

For those that are using the Reboot theme and are not seeing the post tools links (tools, edit, history, permalink, delete, edit etc…) there is a simple fix that will take you just a matter of minutes to fix. You will need to use a program such as notepad++ and have access to your websites file manager.

Open the reboot folder and navigate to template > desktop and open spTopicViewDesktop.php in your text editor (preferably NotePad++).

Text in red = text you need to add

** You will need to edit both desktop and mobile spTopicViewDesktop.php and spTopicViewMobile.php **

 

starting at line 188: (spTopicViewDesktop.php)

sp_PostForumToolButton(“tagClass=spToolsButton spToolsButtonTopicMobile spLeft&hide=0”, ‘Tools‘, __sp(‘Open the forum toolset’));

sp_PostIndexPermalink(‘tagClass=spButton spLeft’, ‘Permalink‘, __sp(‘The post permalink’));

sp_PostIndexPrint(‘tagClass=spButton spLeft’, ‘Print‘, __sp(‘Print this post’));

sp_PostIndexEditHistory(‘tagClass=spButton spLeft’, ‘History‘, __sp(‘Edited by %USER% on %DATE%’), __sp(‘View edit history’));

sp_UserNewPostFlag(”, ‘topic’);

if (function_exists(‘sp_PostIndexThreadedReply’)) sp_PostIndexThreadedReply(‘tagClass=spButton spRight’, __sp(”), __sp(‘Reply to this post’));

if (function_exists(‘sp_PostIndexRatePost’)) sp_PostIndexRatePost(‘tagClass=spLabelBordered spPostRating spRight’);

sp_PostIndexQuote(‘tagClass=spButton spRight’, __sp(‘Quote‘), __sp(‘Quote this post’));

sp_PostIndexEdit(‘tagClass=spButton spRight’, __sp(‘Edit‘), __sp(‘Edit this post’));

if (function_exists(‘sp_PostIndexDeleteThread’)) {

sp_PostIndexDeleteThread(‘tagClass=spButton spRight’, __sp(‘Delete‘), __sp(‘Delete‘), __sp(‘Delete this thread’), __sp(‘Delete this post’));
} else {
sp_PostIndexDelete(‘tagClass=spButton spRight’, __sp(‘Delete‘), __sp(‘Delete this post’));
}

 

starting at Line 202 : (spTopicViewMobile.php)

 

sp_SectionStart(‘tagClass=spPostActionSection’, ‘postActionButtons’);

sp_PostIndexNumber(‘tagClass=spLabelBordered spLeft’);

sp_PostForumToolButton(“tagClass=spToolsButtonMobile spToolsButtonTopicMobile spLeft&hide=0”, ‘Tools‘, __sp(‘Open the forum toolset’));

sp_PostIndexPinned(‘tagClass=spStatusIcon spLeft’, __sp(‘This post is pinned’));

sp_UserNewPostFlag(”, ‘topic’);

if (function_exists(‘sp_PostIndexThreadedReply’)) sp_PostIndexThreadedReply(‘tagClass=spButton spRight’, __sp(‘Reply’), __sp(‘Reply to this post’));

if (function_exists(‘sp_PostIndexReportPost’)) sp_PostIndexReportPost(‘tagClass=spRight’, ‘Report’, __sp(‘Report this post to admin’));

sp_PostIndexQuote(‘tagClass=spRight’, ‘Qoute‘, __sp(‘Quote this post’));

sp_PostIndexEdit(‘tagClass=spRight’, ‘Edit‘, __sp(‘Edit this post’));

if (function_exists(‘sp_PostIndexSendPm’)) sp_PostIndexSendPm(‘tagClass=spRight’, ”, __sp(‘Send PM to this user’));

if (function_exists(‘sp_thanks_thank_the_post’)) sp_thanks_thank_the_post(‘tagClass=spRight’, ‘Thanks’, ‘Thanks’, __sp(‘Add thanks to this post’), __sp(‘You have already thanked this post’));

 

Enjoy!

Dave

No answers yet

Be the first to answer. A good reply helps the whole community.

Log in to reply