The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
via usergroup - a way to prevent BBC code - IN POSTS
I am shocked to find out that my new usergroup with no BBC code setting ONLY works for sigs.
This is so lame. I have a bunch of wacko users that go crazy with BBC formatting - large fonts, etc.. Is there a way to get this ability to work in posts too? How would you do it? Thanks in advance.. |
#2
|
||||
|
||||
The only thing aside from finding a hack, would be to modify the Global BB Code settings located in:
Vbulletin Options > Message Posting and Editing Options > Enabled Built-in BB Codes |
#3
|
||||
|
||||
Actually that is in vboptions > bb code settings
Enabled Built-in BB Codes Quote:
This will affect everybody. Earlier I was looking at the functions_bbcode file... Perhaps I could put something like: if ($bbuserinfo['userid'] != 9582) do bbcode? I couldn't figure out where though. Have you or anybody else played around in there? |
#4
|
||||
|
||||
Your best bet is to find an existing hack that allows this, I did a quick search and found this:
https://vborg.vbsupport.ru/showthrea...code+usergroup Not sure if it'll work since it's outdated. Look more carefully, maybe I missed something. |
#5
|
|||
|
|||
This is the modification posted above which is for vBulletin 3.6.8 https://vborg.vbsupport.ru/showthread.php?t=122942
|
#6
|
||||
|
||||
I saw that but if you read the thread there have been numerous bugs reports.
I'd like to keep to a simple conditional based on user if possible. I appreciate your help with this however. I am just trying to get away from more mods. I am still having issues with usergroups since I had installed 'who viewed my profile' |
#7
|
|||
|
|||
The function construct_postbit in the file class_postbit.php runs the post through the bbcode system with the line.
PHP Code:
Also this is in 3.7 R1 but it probably close to the same on 3.6.8 |
#8
|
|||
|
|||
There is also a strip_bbcode() function in functions.php, which you could probably utilise.
$this->registry->userinfo['userid'] should hold a value, though I don't have the file handy so I'm no 100% sure. |
#9
|
||||
|
||||
Thanks for the tips! More are welcome...
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|