vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=201696

YBMF-Bellardia-Thread-Starter-v1.00
by TimberFloorAu
14 Jan 2009 02:53

5 Attachment(s)
YoBroMoFo Thread Starter Hack.

V1.00 should work on all VB versions.

From Timberfloorau from code provided by Bellardia

Bellardia > http://www.vbulletin.org/forum/member.php?u=209699
Timberfloorau > http://www.vbulletin.org/forum/member.php?u=252664

This very simple template hack, is awesome. You and your users will love it. It requires one template edit, and one image to be uploaded.
I have included the zip, which has the template edit, and couple of images we use, and the PSD.

No linkbacks required for this hack, but would like for you to recognise this great hack, by clicking "installed"

***************************************************
14th January 2009 release YBMF-Bellardia-Thread-Starter-v1.00

What does this hack do ?

Answer: quite simply, it displays in the signature of the thread starter a thread starter graphic.

Gee thats brilliant, WHY !!!!! ???

Answer: why not, how often do you read thru latest posts and think what a great THREAD ! Then want to give Karma/Thanks to the original thread

starter ? Now you can.. its VERY simple.

TRY IT your members will love it.


***************************************************
Graphics included for french , dutch
PSD included:
Just open in Adobe Photoshop, highlight layer style for border, and change colour. Or change text, save as thread_starter.gif

Template changes.

Goto AdminCP > Styles And Templates, search in templates ( in current style )

in dropdown box choose ( current style )
in search for Text type : postbit_legacy ( or postbit if you use that )

radio button for Search Titles Only click YES
Click FIND

Open the postbit_legacy template

in Search In Template type :

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

After this add:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

******************************************************************************** *****************

Change http://yourwebsite.com/forum/images/thread_starter.gif to your filepath for the image
Upload the image to this destination using FTP
Change the alt="Thread Starter" above to your language translation or leave as is.

Click Save

DONE !!!!!

If the image does not display on new threads, in post view, then check you have the correct filepath.

As always full assistance given.

Please note this code was designed by Bellardia based on our request. Full attributation to Bellardia.

If you use, please MARK AS INSTALLED and/or click Nominate for Mod of the Month.

14th October: removed $post[signature] from original code. This should work flawlessly now.
With thanks to: troppodel

troppodel 15 Jan 2009 08:50

hi there nice
but i see double signature, i removed the variable $post[signature]
here the code corrected:

<!--YoBroMoFo Bellardia Thread Starter-->
<if condition="$post['signature'] OR $thread[postuserid] == $post[userid]">
<!-- sig -->
<div>
__________________<br />
<if condition="$thread[postuserid] == $post[userid]">
<img src="http://yourwebsite.com/forum/images/thread_starter.gif" alt="Thread Starter"><br />
</if>
</div>
<!-- / sig -->
</if>
<!--end of YoBroMoFo Bellardia Thread Starter-->

TimberFloorAu 13 Oct 2009 21:18

Seems weird, as this works with no issues on our forums.

Thanks for the change

linuxututs 13 Oct 2009 21:57

Ours to.

Thank You, simple hacks like this is what makes a board. ( To me anyway )

Thanks,

TimberFloorAu 14 Oct 2009 00:55

Quote:

Originally Posted by linuxututs (Post 1899307)
Ours to.

Thank You, simple hacks like this is what makes a board. ( To me anyway )

Thanks,

Very simple hack, but very very popular. You are more than welcome :)

TheLastSuperman 14 Oct 2009 05:27

Just like the Developer/Installed here on the .org, I like it nice thinking and way to implement ;)

TimberFloorAu 14 Oct 2009 11:19

Quote:

Originally Posted by TheLastSuperman (Post 1899521)
Just like the Developer/Installed here on the .org, I like it nice thinking and way to implement ;)


Cheers Mike :up:

TheLastSuperman 14 Oct 2009 14:21

Quote:

Originally Posted by TimberFloorAu (Post 1899602)
Cheers Mike :up:

No no sir, it all yours as long as you keep coming up with innovative ideas no matter how small or large :D

(Ok I'm not going to spam anymore compliments in your thread so everyone else as you were lol)

Mike

TimberFloorAu 15 Oct 2009 20:32

UPDATE:

My original code is in fact correct.
Please revert postbit template changes, with this code below.

Open the postbit_legacy template

in Search In Template type :
$template_hook[postbit_signature_start]
$ad_location[ad_showthread_firstpost_sig]

After this add:

<!--YoBroMoFo Bellardia Thread Starter-->
<if condition="$post['signature'] OR $thread[postuserid] == $post[userid]">
<!-- sig -->
<div>
__________________<br />
<if condition="$thread[postuserid] == $post[userid]">
<img src="http://yourwebsite.com/forum/images/thread_starter.gif" alt="Thread Starter"><br />
</if>
$post[signature]
</div>
<!-- / sig -->
</if>
<!--end of YoBroMoFo Bellardia Thread Starter-->

******************************************************************************** *****************

Change http://yourwebsite.com/forum/images/thread_starter.gif to your filepath for the image
Upload the image to this destination using FTP
Change the alt="Thread Starter" above to your language translation or leave as is.

Please make special note to INCLUDE

$post[signature]

so that members signatures also appear.

Verionia 06 Apr 2010 00:01

works for 4.02?


All times are GMT. The time now is 03:45.

Powered by vBulletin® Version 3.8.14
Copyright © 2020, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.