Hi again ,
I am integrating itraders into this modification and just wondered if someone could help me with a small plugin
Have a look how far I have got so far:
For Sale. RGH Halo4 Slim
You can see the classifieds feedback just above the attachments
This is only visible in the classifieds forums of course
However,
I am looking to add a plugin for the showthreads page to be able to get the percentage score as you can see it just shows a percentage.
Here is my thinking
Would that work, and what would be the implications of such a query?
Regards
Mick
I am integrating itraders into this modification and just wondered if someone could help me with a small plugin
Have a look how far I have got so far:
For Sale. RGH Halo4 Slim
You can see the classifieds feedback just above the attachments
This is only visible in the classifieds forums of course
However,
I am looking to add a plugin for the showthreads page to be able to get the percentage score as you can see it just shows a percentage.
Here is my thinking
Code:
$tradepcnt = $vbulletin->db->query_first_slave("
SELECT itrader_pcnt
FROM " . TABLE_PREFIX . "itrader
WHERE $thread['userid'] = " . $userinfo['userid'] . "
");
vB_Template::preRegister('showthread',array('tradepcnt' => $tradepcnt));
Would that work, and what would be the implications of such a query?
Regards
Mick