vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Show Thread Enhancements - Thread Starter in Postbit for vB 4 (https://vborg.vbsupport.ru/showthread.php?t=244238)

Boofo 06-08-2010 10:00 PM

Thread Starter in Postbit for vB 4
 
1 Attachment(s)
Thread Starter in Postbit for vB 4
Version 1.0.3
(By Boofo)

What does this product do?
This will add a thread starter icon/text to the postbit. There are 4 locations to choose from (2 icon and 2 text). I know this had been done already, but I didn't like how it showed in the postbit. You do not have to have a signature for this to work. This product is just an upgrade to the manual template edit I have used in the past.

Note: This product was written using the postbit_legacy template and has not been tested on the postbit template, although it should work fine.

Version Information:
Version 1.0.0 --Initial release for vBulletin 4.0.0
Version 1.0.1 --Fixed to work for vB 4.0.4
Version 1.0.2 --Added 2 new locations with highlighted text.
Version 1.0.3 --All 4 options are now linked to the first post of the thread. Also fixed a template cache error that was showing up for PMs.

Installation Overview:
-----------------------------------------------------
1 Product XML (2 Plugins, 1 template, 7 phrases and 1 setting)
1 image file

Installation Instructions:
-----------------------------------------------------
1. Upload thread_starter.gif to the forums/images/misc folder on your site.

2. Go to your Admin CP
Scroll down to 'Plugins & Products'
Click 'Manage Products'
Click 'Add/Import Product'
Click the 'Browse' button, and locate the product-boofo_threadstarter.xml file on your computer

3. Go to your Admin CP -> vBulletin Options -> 'Thread Starter in Postbit' and set the following option:
--Show Thread Starter Icon/Text?: This will add the Thread Starter icon/text to your chosen location in the postbit.

--"No" will disable the Thread Starter icon/text from showing anywhere in the postbit. (Default)
--"Yes, Show icon under userinfo" will place the Thread Starter icon under the userinfo.
--"Yes, Show icon in message area" will place the Thread Starter icon at the top right of the message area.
--"Yes, Show text in button bar" will place the highlighted Thread Starter text in the button bar at the bottom of the post.
--"Yes, Show text in message area" will place the highlighted Thread Starter text at the top center of the message area.
-----------------------------------------------------

Done!
Enjoy!


Code:

if ($mark_as_installed != 'clicked')
{
        $you_get = 'squat';
}
else
{
        $you_get = 'support';
}


your24hourstore 06-08-2010 10:29 PM

1st installed works great as i knew it would

Boofo 06-08-2010 10:31 PM

Thank you, sir. ;)

wierdo124 06-09-2010 02:36 AM

Needs a better image, anybody wanna make one?

Boofo 06-09-2010 03:51 AM

You don't like the image, don't use it. I happen to like it and have been using it for a long time.

ViktorDA 06-09-2010 07:21 AM

Thank you! Excellent!

KURTZ 06-09-2010 09:21 AM

good hack Bobby ... ;)

Boofo 06-09-2010 09:56 AM

KURTZ, it's waiting for you when you make the jump to vb4, sir. ;)

KURTZ 06-09-2010 11:04 AM

Quote:

Originally Posted by Boofo (Post 2050910)
KURTZ, it's waiting for you when you make the jump to vb4, sir. ;)

i think that in this week i'll make the jump ... :p (i've just renewed my vBSEO license so i'm ready ...)

Boofo 06-09-2010 11:20 AM

Make sure you click the install buttons on whatever ones you install, in case there are updates.


All times are GMT. The time now is 06:06 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.01460 seconds
  • Memory Usage 1,734KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete