The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Do multiple promotions from the same user group really work?
As I was investigating adding some promotion capabilities to my activity hack, I found that all promotions are started by the query
Code:
$promotions = $DB_site->query(" SELECT user.joindate, user.userid, user.membergroupids, user.posts, user.reputation, user.usergroupid, user.displaygroupid, user.customtitle, user.username, userpromotion.joinusergroupid, userpromotion.reputation AS jumpreputation, userpromotion.posts AS jumpposts, userpromotion.date AS jumpdate, userpromotion.type, userpromotion.strategy, usergroup.title, usergroup.usertitle AS ug_usertitle FROM " . TABLE_PREFIX . "user AS user LEFT JOIN " . TABLE_PREFIX . "userpromotion AS userpromotion ON (user.usergroupid = userpromotion.usergroupid) LEFT JOIN " . TABLE_PREFIX . "usergroup AS usergroup ON (userpromotion.joinusergroupid = usergroup.usergroupid) " . iif(VB_AREA != 'AdminCP', "WHERE user.lastactivity >= " . (TIMENOW - $nextrun)) ); |
#2
|
||||
|
||||
I'm still waiting on an answer on this.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|