Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Topic started by: n00bhelp on March 25, 2010, 10:24:23 PM

Title: [EASY] How to remove "Select" text in code
Post by: n00bhelp on March 25, 2010, 10:24:23 PM
This should be easy for the pros here.
I just want to know how to remove the "select" text next to the code.. Running SMF RC2.X



How to remove "[Select]" below?
Example is this
Title: Re: [EASY] How to remove "Select" text in code
Post by: n00bhelp on March 29, 2010, 12:55:12 AM
BUMP
Title: Re: [EASY] How to remove "Select" text in code
Post by: Arantor on March 29, 2010, 07:30:11 AM
Easy if you know what specific version of SMF to look at... you've said 2.0 RC, there have been 5 separate versions of 2.0 with an RC tag...
Title: Re: [EASY] How to remove "Select" text in code
Post by: Yağız... on March 29, 2010, 07:37:51 AM
Find and remove from ./Souces/Subs.php:
<a href="javascript:void(0);" onclick="return smfSelectText(this);" class="codeoperation">' . $txt['code_select'] . '</a>
Find and remove:
<a href="#" onclick="return smfSelectText(this);" class="codeoperation">' . $txt['code_select'] . '</a>
Title: Re: [EASY] How to remove "Select" text in code
Post by: Arantor on March 29, 2010, 07:38:36 AM
/me isn't sure whether it changed between RCs or not... hence asking in the first instance.
Title: Re: [EASY] How to remove "Select" text in code
Post by: Yağız... on March 29, 2010, 07:40:41 AM
Quote from: Arantor on March 29, 2010, 07:38:36 AM
/me isn't sure whether it changed between RCs or not... hence asking in the first instance.
Yeah this may not work on RC2 as those are RC3 codes :)
Title: Re: [EASY] How to remove "Select" text in code
Post by: n00bhelp on March 30, 2010, 07:15:51 PM
Thanks a lot Yağız...! It worked! Im running RC3 by the way.