The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Help Please ~ iTrader :(
how can i add itrader to post bit like this
Also How Can I Add Bit Like Verified Above.. so it will show if user is a verified member. |
#2
|
||||
|
||||
You would output the data by adding a variable containing the required value to the postbits template (or postbits_legacy if you use vertical postbits)
You would need to modify the showthread.php file somewhere in the loop that generates the postbits for each post in the thread This loop starts Code:
while ($post = $db->fetch_array($posts)) { Code:
} $db->free_result($posts); Code:
($hook = vBulletinHook::fetch_hook('showthread_postbit_create')) ? eval($hook) : false; Basically what you need to do is make sure your variable (eg: $membersitrader) contains the author of that posts irating (27 in your example) each time the while loop iterates. Then add $membersitrader to the postbits template at the point you want it to display and you will get the desired result You can get the owner of each post from the $post array while you are within the while loop Where you read the irating value from I don't know as I don't have that on my site but it must be available in the database if it is not already stored in one of the common vbulletin arrays I hope this info gives you enough idea how to solve your problem Rich |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|