Oops, another post to make sense.
The code above adds a Hide bbc code that members can click to "hide" whatever text they select, ...
Moderators: Gaia.
| Author | Post |
|---|---|
|
#26 Wed Jan 09, 2008 3:31 pm
|
|
|
Member
Registered: May 2005
Posts: 296
Location: 98671
|
Oops, another post to make sense.
The code above adds a Hide bbc code that members can click to "hide" whatever text they select, ... |
|
#27 Wed Jan 09, 2008 3:42 pm
|
|
|
Member
Registered: Dec 2007
Posts: 62
|
I did exactly as explained, but it doesnt work.
When I type [hide]HIDDENTEXT[/hide] Everyone can still see "HIDDENTEXT" plus the [hide] and [/ is showing ^^ |
|
#28 Wed Jan 09, 2008 5:25 pm
|
|
|
Member
Registered: May 2005
Posts: 296
Location: 98671
|
Code works... http://www.wmcintosh.com/board/topic.php?id=1 (only signature shows, actual post is hidden).
I believe you are missing code. |
|
#29 Wed Jan 09, 2008 6:06 pm
|
|
|
Member
Registered: Dec 2007
Posts: 62
|
I re-added the code even tho I checked it a second time before, but it doesnt work.
Maybe I have to remove cookies or something? I'm using Firefox |
|
#30 Thu Jan 10, 2008 4:21 pm
|
|
|
Developer
Registered: Apr 2004
Posts: 2215
Location: Belgium
|
Member tag feature request merged with topic about hide tag mod.
_______________ |
|
#31 Thu Jan 24, 2008 12:14 am
|
|
|
Member
Registered: May 2005
Posts: 296
Location: 98671
|
Hello Samuel.
Though hide works http://www.wmcintosh.com/board/topic.php?id=1 But shows when you do search member's posts. http://www.wmcintosh.com/board/profile.php?id=1 I really like this addition, is there anyway to hide for that search? Thanks |
|
#32 Thu Jan 24, 2008 11:09 am
|
|
|
Member
Registered: Apr 2004
Posts: 192
Location: Brussels Belgium
|
I'm not sure if this is completely bugfree.
Find in sources/functions.php (line 1507) /** Under $existing_tags = array(... Add $string = preg_replace('#\[hide\][^\[]*\[/hide\]#i', '' ,$string);The result should be this. function bbcode_clear($string) {_______________ |
|
#33 Thu Jan 24, 2008 2:30 pm
|
|
|
Member
Registered: May 2005
Posts: 296
Location: 98671
|
Appears to work, thank you.
|
|
#34 Thu Jan 24, 2008 4:17 pm
|
|
|
Member
Registered: May 2005
Posts: 296
Location: 98671
|
Posted to be sure other text showed that weren't hid, so it still appears to work great.
|
UseBB Community is powered by UseBB 1 Forum Software