Back to vBulletin 4.x Template Modifications

Tag OP on thread starter's postbit
Mod Version: 1.00, by Hades-

vB Version: 4.2.x Rating: (1 vote - 5.00 average) Installs: 6
Released: 23 May 2015 Last Update: Never Downloads: 0
Not Supported Template Edits Re-usable Code  

Ok, well I seen there was an actual modification for this but that is completely unnesscary and this method makes it much easier to place it where YOU want and you can easily change the image path or what it says. Basically this is for people who want to place it somewhere else other then

Code:
{vb:raw template_hook.postbit_userinfo_right_after_posts}
Personally my issue was that the DBTech thanks mod uses that hook also and I made my users information a AJAX collapsible box to give a cleaner look but I didn't want the OP tag to be in the drop down, I wanted it to always display. So here is MY fix!


If you use my fix please mark as installed! If you need help placing it feel free to ask for help and I'll do my best to assist.

Open up postbit_legacy and find:

Code:
{vb:raw post.icqicon} {vb:raw post.aimicon} {vb:raw post.msnicon} {vb:raw post.yahooicon} {vb:raw post.skypeicon}
Then AFTER that add:

Code:
				<vb:if condition="$thread['postuserid'] == $post['userid'] && $thread['firstpostid'] != $post['postid']">
				<div align="center"><img src="path/to/your/image/thread_starter.png" class="inlineimg" alt="Thread Starter" title="Thread Starter" /></div>
				</vb:if>
You can also place it elsewhere, I just used the IM icons as an example. Well, that's all. ENJOY!





Credits to Boofo for the original modification found here.

Heres the link to the collapsible postbit information for anyone interested in using it also...I did modify that a bit also so if you have a question about that feel free to ask.


Download

No files for download.

Screenshots

Click image for larger version
Name:	OP Guide.png
Views:	361
Size:	32.9 KB
ID:	152526  

Similar Mods

Show Thread Enhancements Thread Starter in Postbit for vB 4 vBulletin 4.x Add-ons
Show Thread Enhancements Add (OP) to thread starter's postbit vBulletin 3.8 Template Modifications
Show Thread Enhancements Thread Starter Image in Postbit for OP vBulletin 4.x Template Modifications
Thread Starter on postbit. vBulletin 3.5 Template Modifications

vblts.ru supports vBulletin®, 2022-2024