The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Add message in first post
I was hoping someone could help me with a simple mod. I would like to add a small .png graphic to the end of the first post of a thread. I dont want this repeated for the every post the threadstarter makes after this, just the original post.
The small catch is I would also like to be able to limit this feature to select forum ID's also. I have searched but while there are a few mods based around this most highlighted the threadstarter for the whole thread and couldn't be limited to certain forums. Im hoping its just a matter of adding some code to the templates. Thank you very much. |
#2
|
|||
|
|||
Posted in wrong section try unpaid or paid section
|
#3
|
||||
|
||||
Oh, come on, Force, that's exactly what this sections here are about - people asking questions about little changes to the software. They do it all the time, and they get answers here. This one is a simple and straightforward template edit, no need for a full-blown modificaton request.
Edit your postbit and/or postbit_legacy template. Find: Code:
{vb:raw post.message} Code:
<div><vb:if condition="$post['postcount']=='1' AND in_array($thread['forumid'], array(X, Y, Z))"><img src="path/to/image.png" alt="Alt-Text" title="Your image title" /></vb:if></div> |
Благодарность от: | ||
Krusty1231 |
#4
|
|||
|
|||
Thank you very much once again cellarius for your help and kindness!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|