Results 1 to 2 of 2
Hybrid View
-
10th Apr 2011, 02:53 AM #1OPMemberWebsite's:
wcore.netHide content within [code] tags
Source: http://www.simplemachines.org/commun...topic=416558.0
In Themes\Default\Modification.english.php
Find:
Code:?>
Code:$txt['locked'] = 'Only registered users can see contents.'; $txt['redirect'] = 'Please click here to <a target="_blank" href="' . $scripturl . '?action=register"">Register</a> or <a target="_blank" href="' . $scripturl . '?action=login">Login</a>';
Find:
Code:'tag' => 'code', 'type' => 'unparsed_content', 'content' => '<div class="codeheader">' . $txt['code'] . ': <a href="javascript:void(0);" onclick="return smfSelectText(this);" class="codeoperation">' . $txt['code_select'] . '</a></div><code class="bbc_code">$1</code>',
Code:'tag' => 'code', 'type' => 'unparsed_content', 'content' => $user_info['is_guest'] ? '<div class="codeheader">' . $txt['code'] . ': </div><code class="bbc_code">' . $txt['locked'] . ' ' . $txt['redirect'] . '</code>' : '<div class="codeheader">' . $txt['code'] . ': <a href="javascript:void(0);" onclick="return smfSelectText(this);" class="codeoperation">' . $txt['code_select'] . '</a></div><code class="bbc_code">$1</code>',
Only small tweaks are needed for this to work with 2.0 RC5Leg!on Reviewed by Leg!on on . Hide content within [code] tags Source: http://www.simplemachines.org/community/index.php?topic=416558.0 In Themes\Default\Modification.english.php Find: ?> Add Before: $txt = 'Only registered users can see contents.'; Rating: 5
-
10th Apr 2011, 04:49 AM #2
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
how to hide tags
By friendspassio in forum vBulletinReplies: 3Last Post: 20th Jul 2012, 09:22 AM -
Hide Special Part in Content of Post?!Need Plugin!
By Deadmau5 in forum WordpressReplies: 5Last Post: 19th Jan 2012, 05:07 PM -
Change Code tags To Hide Tags In SharpLeech
By blow in forum Webmaster DiscussionReplies: 2Last Post: 4th Jan 2011, 07:04 AM -
(T30) Hide Content 1.1.1 help please
By anti-human in forum IP.BoardReplies: 3Last Post: 10th May 2010, 05:26 PM -
Code tags To Quote tags
By GoonzNetwork in forum vBulletinReplies: 2Last Post: 3rd Apr 2010, 04:10 PM
themaLeecher - leech and manage...
Version 5.03 released. Open older version (or...