Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

Reply
 
Thread Tools
Closed Thread Title Markup Details »»
Closed Thread Title Markup
Version: 1.0.2, by Oblivion Knight Oblivion Knight is offline
Developer Last Online: Nov 2016 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 3.8.x Rating:
Released: 07-27-2009 Last Update: 07-29-2009 Installs: 47
DB Changes Uses Plugins
Re-useable Code Translations  
No support by the author.

<font size="3">Closed Thread Title Markup</font>

This simple product will provide a new option via the admincp to add custom text markup to closed thread titles on the FORUMDISPLAY page.

View screenshots to give an example of this, it's running on my forums.

There are existing modifications available on vbulletin.org that achieve similar results, but they're a bit "bloated" and "clumsy" for my liking.. They have several options just for the markup, with their own setting group.

This product adds just 2 options and 1 forum permission; a CSS text based option so that you can enter whatever you want for the markup, and an option to disable the markup on sticky threads. Both are added to an already existing setting group "Forum Display Options (forumdisplay)". The forum permission allows you to use the Closed Thread Markup on a per-forum basis.

This product was re-named to "Closed Thread Title Markup" from 1.0.2 onwards.

Download Now

File Type: xml product-closedthreaddec.xml (3.8 KB, 221 views)

Screenshots

File Type: jpg screen_forum.jpg (27.9 KB, 0 views)
File Type: jpg screen_admin.jpg (41.9 KB, 0 views)
File Type: jpg screen_perm.jpg (57.3 KB, 0 views)

Show Your Support

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

Comments
  #2  
Old 07-28-2009, 01:26 PM
nextslit's Avatar
nextslit nextslit is offline
 
Join Date: May 2009
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thx
Reply With Quote
  #3  
Old 07-28-2009, 03:13 PM
goxy63 goxy63 is offline
 
Join Date: Oct 2008
Location: its like another planet:D
Posts: 657
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks

Very simple and nice

Here is link for those who are like me new to CSS
http://www.w3schools.com/css/css_reference.asp

Cheers
Reply With Quote
  #4  
Old 07-29-2009, 06:19 AM
Arcade Fire's Avatar
Arcade Fire Arcade Fire is offline
 
Join Date: May 2008
Location: Menorca, Spain
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks,

can u made an option for disable in sticky threads? or sticky threads with another CSS...

Installed & 5 stars.
Reply With Quote
  #5  
Old 07-29-2009, 08:27 AM
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Arcade Fire View Post
can u made an option for disable in sticky threads? or sticky threads with another CSS...
Updated with this suggestion integrated. Thanks.
Reply With Quote
  #6  
Old 07-29-2009, 09:51 AM
Arcade Fire's Avatar
Arcade Fire Arcade Fire is offline
 
Join Date: May 2008
Location: Menorca, Spain
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Oblivion Knight View Post
Updated with this suggestion integrated. Thanks.

Thanks to you!! Great!
Reply With Quote
  #7  
Old 07-29-2009, 01:59 PM
stevetank stevetank is offline
 
Join Date: Feb 2006
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice one,

Looks and works a treat.

ST.
Reply With Quote
  #8  
Old 07-29-2009, 08:01 PM
Storyteller69 Storyteller69 is offline
 
Join Date: Jun 2008
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, looks great so far!
Do you think it's possible to get a option for entering the forum-id's for which this addon should work? Because for example a "line-through" is in some "sub"-forums very nice and usefull but in some i don't realy need it.
Reply With Quote
  #9  
Old 07-29-2009, 08:25 PM
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll consider it for another update.

For now, you could achieve this adding [minicode]AND !$forum['forumid'] = X[/minicode] to the first conditional on the plugin, where X is the forumid that you wish to exclude.
Reply With Quote
  #10  
Old 07-30-2009, 03:55 AM
Storyteller69 Storyteller69 is offline
 
Join Date: Jun 2008
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Many Thanks! I will try to change the plugin.

Edit:
I try the following:
Code:
if ($vbulletin->options['closedthread_dec'] AND !$thread['open'] AND !$forum['forumid'] = 2)
But then it doesn't work in any forum.
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 03:38 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.05637 seconds
  • Memory Usage 2,315KB
  • Queries Executed 24 (?)
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
  • (1)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
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (4)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_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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete