The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
I want to select all user records that are members of secondary group X. Is there any fancy SQL that would allow me to directly select these records? Or should I select all user records and parse through them with the is_member_of() function?
|
#2
|
||||
|
||||
![]()
http://dev.mysql.com/doc/mysql/en/String_functions.html
Functions which may be of use to are FIND_IN_SET and SUBSTR. This works (only tested under MySQL 4.0.21): [sql] SELECT * FROM user WHERE FIND_IN_SET(2, membergroupids) [/sql] |
#3
|
||||
|
||||
![]()
FIND_IN_SET seems to work. thx
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|