![]() |
This post explains how to make misc.php?do=bbcode reflect these permissions. Disallowed codes will not appear.
In misc.php, find: PHP Code:
PHP Code:
|
Quote:
Is there a way to prevent the disallowed codes *from appearing at all?* It also seemed to introduce a new "phantom" BBcode at the bottom of the list: https://vborg.vbsupport.ru/external/2007/04/25.jpg Any way to get rid of that? |
Quote:
|
Thanks for the edit, thincom2000. That took care of the "phantom" BBcode at the bottom of the list.
But I still have a disallowed code showing up on Registered Users' misc.php?do=bbcode page. The example output doesn't display... but the code is still listed there. Anything else I can try? I appreciate all the help and sharing! |
Quote:
|
Quote:
Also not necessarily directed at you, but does anyone know what happens if we have more than 32 BB-codes? Integer overflow? I'm at 29 right now. |
Quote:
https://vborg.vbsupport.ru/showthread.php?t=143468 And yet registered users still see it in that BBCode page. It just doesn't render an example. I'd rather that entry not appear at all, if that's possible. |
If you are using the most recent code above, this is only possible if the BB-code still exists in the tag list. The BB-Code permissions hack removes forbidden BB-codes from the list. If you are having issues on the misc.php?do=bbcode page after making my edit, then most likely these users will be able to post this parsed bb-code as well.
First test with other BB-codes to make sure it is an issue only with your iframe code. Make sure your Registered Users definitely have this tag turned off. Make sure the user you are testing isn't a member of any groups that are allowed to use the tag. Make sure you have under 32 BB-codes in the permissions list, since I believe strange behavior may occur beyond this number. Make sure you only have one instance of the BB-code in the BB-code Manager. If you have a version that uses an option and one that doesn't, you can run into problems. |
If will be wonderfull if there will be one more option in this mod.
If user is not allowed to use say bbcode [ B ] , then user is not allowed to EDIT post. This one will be very-very cool! |
Quote:
|
All times are GMT. The time now is 06:43 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:
|