Ok... I am looking for a hack that will allow me to either restrict an existing bbcode from certain usergroups and display an "error" message instead, or create another bbcode like [restricted]...[/restricted] that will do the above.
I was playing around with is_member_of() function a bit, but I guess it's been changed a bit in version 3.5, and I am totally lost now... what I have at the moment is (I believe it was one of the hacks posted below) a customized bbcode_code template that checks if the user is_member_of certain usergroups, and if not then it displays an error message, if yes, it displays whatever is in
tags.
There are a couple of hacks that actually do something similar to what I am looking for, but are for vb3.0.
https://vborg.vbsupport.ru/showthread.php?t=77456
https://vborg.vbsupport.ru/showthread.php?t=59648
How hard would it be to do something like this in 3.5?