
12-23-2007, 01:55 PM
|
|
|
Join Date: Apr 2006
Posts: 241
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by hamidof
I thought I will share this:
If you want to show iTrader in just some forums, use this code instead:
PHP Code:
<if condition="$post['userid'] AND in_array($forum[forumid], array(3,43,23,9))"><div>iTrader Feedback(s): (<b><a href="itrader.php?$session[sessionurl]u=$post[userid]">$post[itrader_total]</a></b>)</div></if>
Note:
3,43,23,9 (coma separated) are sample forum IDs where you have to use your own, to find these IDs simply browse the forums you want to include and in the URL you see your_domain.com/forumdisplay.php?f=40 where 40 is the ID of this forum.
|
This is really great, just what I was looking for, in what and where in the template would I need to paste this code to work?
|