hi all how do i put this in to the MEMBERINFO, and memberlist_resultsbit please thanks in advance ive put it in postbit and postbit_legacy
Code:
Template Instructions:
Two fields are added to the "user" table to facilitate rating usage pretty much anywhere you please within the forum. The two fields are:
* itrader_total - iTrader Score (stored as an integer)
* itrader_pcnt - Percent Positive Feedback (also stored as an integer)
Most likely you will want to add the score info to the postbit and/or postbit_legacy template(s), MEMBERINFO, and memberlist_resultsbit template. Actual placement and style is entirely up to you, however here's a sample to get you started. Note that the MEMBERINFO & memberlist_resultsbit templates won't need the conditional around the text since you can't view a "guest" in those cases.
<if condition="$post['userid']"><div>iTrader: (<b><a href="itrader.php?$session[sessionurl]u=$post[userid]">$post[itrader_total]</a></b>)</div></if>