The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#31
|
|||
|
|||
Quote:
Promotions.php contains this code (note the "save a bit of cpu time.").. Code:
// $nextrun is the time difference between runs. Should be sent over from cron.php!! // We only check the users that have been active since the lastrun to save a bit of cpu time. $thisrun = TIMENOW; $lastrun = $vbulletin->crondata['promotions_lastrun'] ? $vbulletin->crondata['promotions_lastrun'] : $thisrun - ($nextrun - $thisrun); $promotions = $vbulletin->db->query_read(" SELECT user.joindate, user.userid, user.membergroupids, user.posts, user.reputation, user.usergroupid, user.displaygroupid, user.customtitle, user.username, user.ipoints, 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, usertextfield.rank FROM " . TABLE_PREFIX . "user AS user INNER JOIN " . TABLE_PREFIX . "userpromotion AS userpromotion ON (user.usergroupid = userpromotion.usergroupid) LEFT JOIN " . TABLE_PREFIX . "usergroup AS usergroup ON (userpromotion.joinusergroupid = usergroup.usergroupid) LEFT JOIN " . TABLE_PREFIX . "usertextfield AS usertextfield ON (usertextfield.userid = user.userid) " . iif(VB_AREA != 'AdminCP', "WHERE user.lastactivity >= $lastrun") ); And FYI, this is confirmed and in the product backlog in JIRA. http://tracker.vbulletin.com/browse/VBIV-12929 But we are so far off topic now that I think it's time to stop posting the good/bad of vB 4. |
#32
|
|||
|
|||
Quote:
|
#33
|
||||
|
||||
You can rest assure this clown has misunderstood what you said 95% of his posts are misunderstandings..........lol
Quote:
|
#34
|
||||
|
||||
clown ?!... thanks, i was not named a clown for a long time, it remembers me the old days !!
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|