View Full Version : Import unique icon into specific users postbit
TimberFloorAu
07-08-2008, 11:21 PM
Can this be done?
Can we upload an award icon for example: and import it into a specific users postbit , so it shows on their forum posts under their avatar?
We run an awards thing on the site ( actually a few ) and I need to be able to inject a specific icon, for specific users.
Any help muchly appreciated
Ozzy
Dismounted
07-09-2008, 05:14 AM
<if condition="$post['userid'] == X">AWARD FOR USER WITH ID X</if>
TimberFloorAu
07-09-2008, 06:59 AM
<if condition="$post['userid'] == X">AWARD FOR USER WITH ID X</if>
Where should I add this code please?
Opserty
07-09-2008, 08:02 AM
AdminCP > Styles & Templates > Style Manager > Edit Templates > Postbit Templates > postbit
TimberFloorAu
07-09-2008, 08:09 AM
AdminCP > Styles & Templates > Style Manager > Edit Templates > Postbit Templates > postbit
You 2 are the bizzness !!
Thanks :)
--------------- Added 1215643262 at 1215643262 ---------------
Doesnt this mean tho.... with say 50 different awards... going on within the site, that the postbit.. is gonna increase by 50 lines of code, for every single post?
TimberFloorAu
07-11-2008, 12:00 AM
Bump?
Dismounted
07-11-2008, 05:17 AM
Basically, yes. 50 lines of basic comparison code that can be done faster than...well, fast. :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.