![]() |
Quote:
Quote:
|
This mod functions properly for the most part on showthread and in post preview; however,
disallowed BB-codes still parse in the WYSIWYG editor. I have been investigating this on my own, and I'm not sure I see any way around it, since WYSIWYG seems to make direct text replacements rather than iterating through any sort of tag list. |
Quote:
1. User are not allowed to use [ MOD] [ /MOD] 1. User made a post. 2. Moderator came an left a note like [ MOD]WARNING![ /MOD] there. 3. User came back and hit EDIT the post. 4. But as user are not allowed to use [ MOD] [ /MOD] he was not able to edit that post. 5. User just removed [ MOD]WARNING![ /MOD] and saved the post. Sorry there is some mess up here. User are not allowed to use [ MOD] [ /MOD], bu he just removed it. That is why I proposed "If user is not allowed to use say bbcode [ B ] , then user is not allowed to EDIT post". |
Sounds like you need to use an external callback function for your [MOD] tag, rather than HTML replacement. Since you require the reverse of the Advanced Permissions while editing a post, you should probably just hardcode the checks into the function.
|
Quote:
|
Installed , very nice hack man
|
installed...thanks for this good hack... ;)
|
It seems this hack has some issues with the new 3.6.6, since they made some changes to class_bbcode.
Actually it's a conflict if do_parse() is called directly. The bbcode_parse_complete plugin needs a check before restoring $tag_list. Like this: PHP Code:
Also I figured out why my misc.php?do=bbcode changes weren't working for some people. Just make the plugin change above (as well as the misc.php changes here) and disallowed bb-codes won't show there. |
Quote:
|
this doesn't work on vBulletin 3.6.7PL1 foreach() errors in the admincp
|
All times are GMT. The time now is 06:41 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|