Quote:
Originally Posted by eNforce
ok, see my attachment 
|
I just checked, that cant be done without a code modification...
Inside forumdisplay.php
Code:
$forumusers = $db->query_read("
SELECT user.username, (user.options & " . $vbulletin->bf_misc_useroptions['invisible'] . ") AS invisible, user.usergroupid, session.userid, session.inforum, session.lastactivity,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid
FROM " . TABLE_PREFIX . "session AS session
LEFT JOIN " . TABLE_PREFIX . "user AS user ON(user.userid = session.userid)
WHERE session.lastactivity > $datecut
ORDER BY" . iif($vbulletin->options['showforumusers'] == 1, " username ASC,") . " lastactivity DESC
");
You would have to add a couple things there to the SELECT line... like...
Code:
$forumusers = $db->query_read("
SELECT user.username, (user.options & " . $vbulletin->bf_misc_useroptions['invisible'] . ") AS invisible, user.usergroupid, session.userid, session.inforum, session.lastactivity, user.displayflags, user.namecolor, user.usertitlecolor, user.glowcolor
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid
FROM " . TABLE_PREFIX . "session AS session
LEFT JOIN " . TABLE_PREFIX . "user AS user ON(user.userid = session.userid)
WHERE session.lastactivity > $datecut
ORDER BY" . iif($vbulletin->options['showforumusers'] == 1, " username ASC,") . " lastactivity DESC
");
But then u have a problem because the hook is in a bad spot for forumdisplay_loggedinuser...
it does the hook then it overwrites musername right before it evals it to the template... so it would need to be modified to move the hook down to under neath the
Code:
$loggedin['musername'] = fetch_musername($loggedin);
And u would still have to add the plugin for it, as well as edit the forumdisplay_loggedinuser template too.. It sounds like a Code Modification Add On to me.
I really think vBulletin should implement an easy way to modify any SELECT queries that do not pull table.* from the tables....
Quote:
Originally Posted by trackpads
The gifts are weird, I again reinstalled the store and made sure that overwrite was ok, I then fixed all the gifts postbits and no luck. The weird thing is tha tsome users are showing a single gift and some are showing none.
Any ideas?
Thanks again!!
-Jason
|
Check in PhpMyAdmin how many entries are inside the TABLE_PREFIX + estoregifts table.
-CMX