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

Reply
 
Thread Tools
highlight threadstarter posts! Details »»
highlight threadstarter posts!
Version: 1.00, by ToNetU ToNetU is offline
Developer Last Online: Oct 2012 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 4.0.x Rating:
Released: 01-24-2010 Last Update: Never Installs: 26
Template Edits
Re-useable Code  
No support by the author.

hi there,

this is an easy way to
highlight threadstarter post by editing ONE template.

In this mod, it will be below the user title, but if you want it somewhere else just let me know here NOT in pm please!

let's start:
1- go to postbit or postbit_legacy template

2- search for:
Code:
<span class="usertitle">
{vb:raw post.usertitle}
</span>
3- add below it:
Code:
<vb:if condition="$post['postcount'] == 1">
<vb:else />
<vb:if condition="$thread[postuserid] == $post[userid]">
<img src="images/misc/subscribed.png" alt="Thread Starter"/> <span style="color:red"><b><u>Thread Starter</u></b></span>
</vb:if></vb:if>

screenshot: http://i45.tinypic.com/2l8d89t.png

FAQ:
- What this mod will do?
it will show you who's the thread starter in the thread by add text "Thread Starter" and an icon next to it!


- Where it will be the "text and icon"?
it will be any where you want in the thread. for example if you want it to be below/above the signature, below the post, with the member info, below the member title... etc!


- Why this mod is very important for some forum?for example here in vb.org how could you know if the post from the thread starter? and you wanna follow his/her posts! better than scrolling up and down to see who's the thread starter!

- If i want to put it somewhere else can you help me?
YES ofcourse! just tell me where do you want it and i will be very happy to help
after you clicked INSTALL.

- Does this mod will appear "thread starter" in the first post [which is the thread] ?
NO THIS WILL NOT APPEAR IN THE FIRST PORT #1 , IT WILL APPEAR IN THE POSTS AFTER THE THREAD ONLY

- Can i change the prefix of "Thread Starter" to something else?
YES you can just edit it to anything else of any language you want!

- Can i change the icon to another one?
YES you can just edit this code
Code:
<img src="images/misc/subscribed.png" alt="Thread Starter"/>

to the icon you want
.
PLEASE DON'T FORGET TO CLICK INSTALL.

that's it , enjoy it

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 01-27-2010, 02:57 PM
ToNetU ToNetU is offline
 
Join Date: Mar 2003
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by min0taur View Post
If you Edit postbit and it doesnt work try postbit_legacy instead
Quote:
Originally Posted by Front Range View Post
Thanks, works for me.
finally someone confirmed it
thank you...
Reply With Quote
  #13  
Old 01-27-2010, 08:02 PM
RedHacker RedHacker is offline
 
Join Date: Jan 2009
Posts: 878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It is now work.. Can display "Thread Starter" and the first post....?
Reply With Quote
  #14  
Old 01-27-2010, 09:18 PM
Front Range 4x4 Front Range 4x4 is offline
 
Join Date: Jan 2009
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ToNetU View Post
finally someone confirmed it
thank you...
I didn't use the image but it shouldn't matter, here's how I changed it to suit my needs.

<vb:if condition="$post['postcount'] == 1">
<vb:else />
<vb:if condition="$thread[postuserid] == $post[userid]">
<br /><b><small>Started this Thread</small></b></span>
</vb:if></vb:if>
Reply With Quote
  #15  
Old 01-28-2010, 04:42 PM
ToNetU ToNetU is offline
 
Join Date: Mar 2003
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RedHacker View Post
It is now work.. Can display "Thread Starter" and the first post....?
do you want to display "Thread Starter" in the first post as well? if YES , use this code instead of the old one:
Code:
<vb:if condition="$thread[postuserid] == $post[userid]">
<img src="images/misc/subscribed.png" alt="Thread Starter"/> <span style="color:red"><b><u>Thread Starter</u></b></span>
</vb:if>
this will display "Thread Starter" in all his/her posts + the first post "which is the thread"

and PLEASE don't forget to click INSTALL.

Quote:
Originally Posted by Front Range 4x4 View Post
I didn't use the image but it shouldn't matter, here's how I changed it to suit my needs.

<vb:if condition="$post['postcount'] == 1">
<vb:else />
<vb:if condition="$thread[postuserid] == $post[userid]">
<br /><b><small>Started this Thread</small></b></span>
</vb:if></vb:if>
if you doesn't want to use the image/icon use this code better:
Code:
<vb:if condition="$post['postcount'] == 1">
<vb:else />
<vb:if condition="$thread[postuserid] == $post[userid]">
<br /><b><small>Started this Thread</small></b>
</vb:if></vb:if>
- removed </span>
Reply With Quote
  #16  
Old 01-28-2010, 05:26 PM
Front Range Front Range is offline
 
Join Date: Apr 2008
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ToNetU View Post
- removed </span>
Oops, thanks.
Reply With Quote
  #17  
Old 01-28-2010, 05:31 PM
ToNetU ToNetU is offline
 
Join Date: Mar 2003
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Front Range View Post
Oops, thanks.
u r welcome
Reply With Quote
  #18  
Old 01-29-2010, 05:01 AM
RedHacker RedHacker is offline
 
Join Date: Jan 2009
Posts: 878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ToNetU View Post
do you want to display "Thread Starter" in the first post as well? if YES , use this code instead of the old one:
Code:
<vb:if condition="$thread[postuserid] == $post[userid]">
<img src="images/misc/subscribed.png" alt="Thread Starter"/> <span style="color:red"><b><u>Thread Starter</u></b></span>
</vb:if>
this will display "Thread Starter" in all his/her posts + the first post "which is the thread"

and PLEASE don't forget to click INSTALL.
Thanks very much...
Sorry i forgot to click install..
It is now Installed....
Reply With Quote
  #19  
Old 01-30-2010, 08:49 PM
ToNetU ToNetU is offline
 
Join Date: Mar 2003
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RedHacker View Post
Thanks very much...
Sorry i forgot to click install..
It is now Installed....
thank you.
Reply With Quote
  #20  
Old 02-12-2010, 12:53 AM
ToNetU ToNetU is offline
 
Join Date: Mar 2003
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dr.osamA View Post
installed

thanxx man

مشكور اخوي الله يوفقك
u r most welcome brother..
Reply With Quote
  #21  
Old 03-07-2010, 06:01 PM
Juggernaut Juggernaut is offline
 
Join Date: Dec 2009
Location: California
Posts: 589
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed, I love this
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 10:30 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04712 seconds
  • Memory Usage 2,339KB
  • Queries Executed 27 (?)
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
  • (6)bbcode_code
  • (10)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete