tintin74
05-30-2010, 03:13 PM
Hi everybody,
I need to insert some affiliate banner into the showthread template using for every thread a specific and different banner.
I'm running a large board with a lot of traffic (20.000 unique users a day).
I'm inserting a lot of conditional like this
<if condition="$threadinfo['threadid'] == 'XXXX'">banner 1
</if>
to get a different banner for every thread, but I don't know if this kind of method has a bad impact over the cpu load or making the page loading too slow.
Consider I need to insert a large number of conditional maybe 400-500.
If this method is not good , which is the best? Do you know any modification that could do this ?
Thank you ,
Tintin
I need to insert some affiliate banner into the showthread template using for every thread a specific and different banner.
I'm running a large board with a lot of traffic (20.000 unique users a day).
I'm inserting a lot of conditional like this
<if condition="$threadinfo['threadid'] == 'XXXX'">banner 1
</if>
to get a different banner for every thread, but I don't know if this kind of method has a bad impact over the cpu load or making the page loading too slow.
Consider I need to insert a large number of conditional maybe 400-500.
If this method is not good , which is the best? Do you know any modification that could do this ?
Thank you ,
Tintin