The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#31
|
|||
|
|||
Also, should I have:
$bangroup=$DB_site->query_first("SELECT usergroupid,title FROM usergroup WHERE usergroupid=X"); or $bangroup=$DB_site->query_first("SELECT usergroupid,title,usertitle FROM usergroup WHERE usergroupid=x"); Since you have said both, but I'm assuming the second and using that... |
#32
|
|||
|
|||
They are in usergroup 2, If you know at all...why do I have usergroups up to 8, when I only have 6 too?
|
#33
|
||||
|
||||
the usergroupid of your banned group must be higher than 6:
PHP Code:
this is the line which produces your error: PHP Code:
|
#34
|
|||
|
|||
For the usergroup, is there a way to allow them to ban other usergroups also, such as going 2,3? For some reason, I redid the file and everything is working normally before, so that's setup fine, thanks fo rhte help. One thing though, I turned on moderate new users, and now all users are autlmatically being set to Administrator, could this hack have had anything to do with it?
|
#35
|
||||
|
||||
no, this hack hasn't anything to do with this problem.
perhaps you have made the moderated gruop as a secound admingroup? you shouldn't change the rights of usergroups < 7, because often vb puts automatically users in one of this groups... to ban also other usergroups, just add a clause to this: PHP Code:
PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|