SMF Quiz

Started by Diego Andrés, February 18, 2009, 01:08:19 PM

Previous topic - Next topic

Diego Andrés

You can change the query a bit

// Get the admins
$adminQuery = $smcFunc['db_query']('', '
SELECT id_member
FROM {db_prefix}members
WHERE id_group = {int:admin}
AND id_member NOT IN ({array_int:exclude_admins})',
array(
'admin' => 1,
'exclude_admins' => array(1,2,3), // IDs of admins to exclude
)
);

SMF Tricks - Free & Premium Responsive Themes for SMF.

Dave J

Thanks again Diego, I'll test it out tomorrow and reply here
If you want quizzes to add to the new SMF2.1 quiz mod go here . There are also walkthroughs in the forum to explain how to install them and other tips.

Dave J

That works a treat Diego, thank you very much for the help
If you want quizzes to add to the new SMF2.1 quiz mod go here . There are also walkthroughs in the forum to explain how to install them and other tips.

jovanddd

diego is the man  8)
dezinsekcija [nofollow]
deratizacija [nofollow]

Advertisement: