Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
YBMF-Bellardia-Thread-Starter-v1.00 Details »»
YBMF-Bellardia-Thread-Starter-v1.00
Version: 1.1, by TimberFloorAu TimberFloorAu is offline
Developer Last Online: Jan 2013 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.8.0 Rating:
Released: 01-13-2009 Last Update: 10-12-2009 Installs: 18
Template Edits
Re-useable Code Translations  
No support by the author.

YoBroMoFo Thread Starter Hack.

V1.00 should work on all VB versions.

From Timberfloorau from code provided by Bellardia

Bellardia > https://vborg.vbsupport.ru/member.php?u=209699
Timberfloorau > https://vborg.vbsupport.ru/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 :
Code:
$template_hook[postbit_signature_start]
$ad_location[ad_showthread_firstpost_sig]
After this add:
Code:
<!--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-->
************************************************** ***********************************************

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

Download Now

File Type: zip YBMF-Bellardia_thread_starter_v1.1.zip (56.2 KB, 55 views)

Screenshots

File Type: gif thread_starter.gif (1.3 KB, 0 views)
File Type: gif threadstarter_dutch.gif (1.3 KB, 0 views)
File Type: gif threadstarter_french.gif (1.4 KB, 0 views)
File Type: gif threadstarter_demo.gif (25.2 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
JohorBahru

Comments
  #2  
Old 01-15-2009, 07:50 AM
troppodel's Avatar
troppodel troppodel is offline
 
Join Date: Nov 2008
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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-->
Reply With Quote
  #3  
Old 10-13-2009, 08:18 PM
TimberFloorAu's Avatar
TimberFloorAu TimberFloorAu is offline
 
Join Date: May 2008
Location: Brisbane
Posts: 2,264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Thanks for the change
Reply With Quote
  #4  
Old 10-13-2009, 08:57 PM
linuxututs linuxututs is offline
 
Join Date: Oct 2009
Posts: 160
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ours to.

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

Thanks,
Reply With Quote
  #5  
Old 10-13-2009, 11:55 PM
TimberFloorAu's Avatar
TimberFloorAu TimberFloorAu is offline
 
Join Date: May 2008
Location: Brisbane
Posts: 2,264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by linuxututs View Post
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
Reply With Quote
  #6  
Old 10-14-2009, 04:27 AM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just like the Developer/Installed here on the .org, I like it nice thinking and way to implement
Reply With Quote
  #7  
Old 10-14-2009, 10:19 AM
TimberFloorAu's Avatar
TimberFloorAu TimberFloorAu is offline
 
Join Date: May 2008
Location: Brisbane
Posts: 2,264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TheLastSuperman View Post
Just like the Developer/Installed here on the .org, I like it nice thinking and way to implement

Cheers Mike :up:
Reply With Quote
  #8  
Old 10-14-2009, 01:21 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TimberFloorAu View Post
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

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

Mike
Reply With Quote
  #9  
Old 10-15-2009, 07:32 PM
TimberFloorAu's Avatar
TimberFloorAu TimberFloorAu is offline
 
Join Date: May 2008
Location: Brisbane
Posts: 2,264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #10  
Old 04-05-2010, 11:01 PM
Verionia Verionia is offline
 
Join Date: Jul 2009
Posts: 274
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works for 4.02?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:58 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09040 seconds
  • Memory Usage 2,335KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (5)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete