The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Import unique icon into specific users postbit
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 |
#2
|
||||
|
||||
Code:
<if condition="$post['userid'] == X">AWARD FOR USER WITH ID X</if> |
#3
|
||||
|
||||
Where should I add this code please?
|
#4
|
|||
|
|||
AdminCP > Styles & Templates > Style Manager > Edit Templates > Postbit Templates > postbit
|
#5
|
||||
|
||||
Quote:
Thanks --------------- Added [DATE]1215643262[/DATE] at [TIME]1215643262[/TIME] --------------- 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? |
#6
|
||||
|
||||
Bump?
|
#7
|
||||
|
||||
Basically, yes. 50 lines of basic comparison code that can be done faster than...well, fast.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|