Log in

View Full Version : Disable Vb Code per usergroup?


Sweet Cheeks
01-05-2003, 03:23 PM
Wasnt sure if this was a hack yet or not, I wanted to disable Vb Code per user group, I was going to install this hack here https://vborg.vbsupport.ru/showthread.php?s=&threadid=43325&highlight=disable+VBulletin+code+per+usergroup but wasnt sure if that would do the trick, any ideas? Thanks in advance :banana:

Dean C
01-06-2003, 10:06 AM
Unfortunately that hack wouldn't work. The vbcode functions are hard-coded into functions.php and i think there may be some instances in global.php

I'm sure someone would be willing to help if you posted a request in the requests forum :)

Regards

- miSt

okrogius
01-06-2003, 02:58 PM
Of top of my head some ideas... *may not be 100% correct, but likely :p*

As far as my head tells me all bb code is done via bbcodeparse() or some other function in the functions file. Inside the function global $bbuserinfpo and unless the usergroupid parameter is what you watn run a return statement before anything is done.