The problem with that is the text is always there. This ext just toggles the css class of the div. So you can always right click, view source, and see the hidden info, or "block comment/user" and see the info.
Users seem to have a hard time finding the "unhide" button at first. I think it would be a lot better if the (Hidden) part was actually the link to unhide it.
i was trying to type hidden text for ages, manually adding the tags to the post. then i realised that you ave to use square brackets - doh! [hide] is the only tag on my board which uses the square brackets, i think it would be much cooler if it was used like this - < hide>spoiler< /hide>. cool, nonetheless.
Uploaded the wrong file, thats why the bot posted twice - whoops.
**NEW**
Added the ability to change the hidden text marker/link. This is the text that is displayed as a place holder of what is hidded. Default is "(Hidden)", but now you may change it to anything you like. Simply log in as the administrator and go to the settings tab. On the left pane you will now see another option - "Change Hidden Text Marker". Click this and enter your desired text.
It has not been thoroughly tested so let me know of any kinks.
Hm. Is there a way to let useres only see hidden text but not use it? We want this plugin to seperate offtopic from relevant posts, so when anyone posts offtopic we put the tags round it, but that doesnt make very much sense when the useres got the ability to use it, too
Comments
Line 23:
$PreferencesForm->AddPreference('Hidden Text', 'Disable Hide hidden text', 'HideHiddenText', 1);
(change made was adding the word Disable)
Line 31:
if (!$Context->Session->User->Preference('HideHiddenText')) {
(change made was adding the ! infront of context)
The new Readme can be viewed here
**NEW**
Added the ability to change the hidden text marker/link. This is the text that is displayed
as a place holder of what is hidded. Default is "(Hidden)", but now you may change it to anything
you like. Simply log in as the administrator and go to the settings tab. On the left pane you will
now see another option - "Change Hidden Text Marker". Click this and enter your desired text.
It has not been thoroughly tested so let me know of any kinks.
We want this plugin to seperate offtopic from relevant posts, so when anyone posts offtopic we put the tags round it, but that doesnt make very much sense when the useres got the ability to use it, too