Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
Tag OP on thread starter's postbit Details »»
Tag OP on thread starter's postbit
Version: 1.00, by Hades- Hades- is offline
Developer Last Online: Mar 2016 Show Printable Version Email this Page

Category: Mini Mods - Version: 4.2.x Rating:
Released: 05-22-2015 Last Update: Never Installs: 6
Template Edits
Re-useable Code  
No support by the author.

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.



Screenshots

File Type: png OP Guide.png (32.9 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
3 благодарности(ей) от:
Black Snow, RichieBoy67, SaN-DeeP

Comments
  #2  
Old 05-26-2015, 04:54 PM
SaN-DeeP's Avatar
SaN-DeeP SaN-DeeP is offline
 
Join Date: Jun 2002
Location: Mumbai, India
Posts: 1,195
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, saw this working on some great forums.. you easily have a code for same.

Not tested if working or not yet..

Regards,
Reply With Quote
  #3  
Old 05-27-2015, 02:38 PM
boss22 boss22 is offline
 
Join Date: Oct 2012
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For me works not - tried both codes - come no image in userinfo???

Use vb 4.2.3 RC1

regards
bosss
Reply With Quote
  #4  
Old 06-01-2015, 03:03 AM
Hades- Hades- is offline
 
Join Date: Mar 2011
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by boss22 View Post
For me works not - tried both codes - come no image in userinfo???

Use vb 4.2.3 RC1

regards
bosss
I've only tested this on vB 4.2.2, did you upload the image? Check the image URL you are using also and make sure it is correct.
Reply With Quote
  #5  
Old 06-01-2015, 03:10 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by boss22 View Post
For me works not - tried both codes - come no image in userinfo???

Use vb 4.2.3 RC1

regards
bosss
It would also help if you posted a link to a live page where the image should be displayed...this can make diagnosing the issue much easier.
Reply With Quote
  #6  
Old 07-06-2015, 02:26 PM
Ravallojr Ravallojr is offline
 
Join Date: Jun 2011
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How did you get your reputation like that, along with rep power also?
Reply With Quote
Reply

Thread Tools

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 04:44 PM.


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.07163 seconds
  • Memory Usage 2,272KB
  • Queries Executed 22 (?)
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
  • (3)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (3)post_thanks_box_bit
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (1)postbit_attachment
  • (6)postbit_onlinestatus
  • (6)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