Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Making sticky without getting sticky
Would it be possible to make a discussion sticky w/o having "[Sticky]" displayed next to the discussion title?
0
This discussion has been closed.
Comments
$Context->Dictionary['TextWhispered'] = 'Private'; $Context->Dictionary['TextSticky'] = 'Sticky'; $Context->Dictionary['TextClosed'] = 'Closed'; $Context->Dictionary['TextHidden'] = 'Deleted'; $Context->Dictionary['TextSink'] = 'Sink'; $Context->Dictionary['TextBookmarked'] = 'Bookmarked'; $Context->Dictionary['TextPrefix'] = '['; $Context->Dictionary['TextSuffix'] = ']';
You could just delete the word Sticky, but then you would still see the "[]". To remove these (for all labels, you would delete the [ and ]. You would then have:
$Context->Dictionary['TextWhispered'] = 'Private'; $Context->Dictionary['TextSticky'] = ''; $Context->Dictionary['TextClosed'] = 'Closed'; $Context->Dictionary['TextHidden'] = 'Deleted'; $Context->Dictionary['TextSink'] = 'Sink'; $Context->Dictionary['TextBookmarked'] = 'Bookmarked'; $Context->Dictionary['TextPrefix'] = ''; $Context->Dictionary['TextSuffix'] = '';
The other labels would now still show up but without the [ ].
$Context->Dictionary['TextSticky'] = '';
it won't display [] for it, because it displays prefix and suffix only if it is not empty.
the only thing is that this affect all Sticky discussions