Can you create a custom bbcode taht doesn't auto-appear in the FAQ so you only give it to members you want to?
Secret BBCode?
Collapse
X
-
-
No, all bbcode is public. Even if you hid it and only gave it to specific users, other users can just quote a post and get the bbcode. -
Solution
Actually you can keep your custom bbcode secret.
Edit template help_bbcodes
Remove the following lines:
Code:$template[bbcodelinks]
Code:$template[bbcodebits]
Let's say your custom bbcode is
[test]value[/test]
Create a new pluggin
Hook Location : newreply_quote
PHP Code:$pagetext = str_replace('[test]', '[???]', $pagetext);
$pagetext = str_replace('[/test]', '[/???]', $pagetext);
$pagetext = str_replace('[TEST]', '[???]', $pagetext);
$pagetext = str_replace('[/TEST]', '[/???]', $pagetext);
[???]value[/???]
Et voila
NB: I don't use multiquoting on my forum so I have not tested my hack with that feature, but for normal quoting it works fineComment
Related Topics
Collapse
-
by ActronI want to create a custom bbcode like the standart "code" bbcode with no name.... so if i use the custom bbcode there will only show following without the "Code :" on top:
Code:like
-
Channel: Support Issues & Questions
-
Comment