The Arcive of vBulletin Modifications Site. |
|
help with secondary usergroups Details »»
|
|||||||||||||||||||||||||
How do I restrict which secondary usergroups a member can purchase?
Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Quote:
|
|
#3
|
|||
|
|||
|
Can you be more specific? Are you talking about in the php file?
|
|
#4
|
||||
|
||||
|
Quote:
|
|
#5
|
|||
|
|||
|
Isn't that to restrict which groups can purchase the option, not which groups they can purchase?
|
|
#6
|
|||
|
|||
|
Ok, my problems with this part of the shop are blossoming. When I first installed this hack, I deleted this option. Now that I'm trying to use it, I've reinstalled it as is (I haven't tried to change the code at all yet), I'm getting an SQL error when I try to purchase the option:
Database error in vBulletin 3.0.6: Invalid SQL: SELECT * FROM usergroup WHERE usergroupid IN () mysql error: You have an error in your SQL syntax near ')' at line 1 mysql error number: 1064 Any help with this? |
![]() |
|
|