vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Forum Display Enhancements - Closed Thread Title Markup (https://vborg.vbsupport.ru/showthread.php?t=219633)

Oblivion Knight 07-27-2009 10:00 PM

Closed Thread Title Markup
 
1 Attachment(s)
<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.

nextslit 07-28-2009 01:26 PM

Thx

goxy63 07-28-2009 03:13 PM

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

Arcade Fire 07-29-2009 06:19 AM

Thanks,

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

Installed & 5 stars.

Oblivion Knight 07-29-2009 08:27 AM

Quote:

Originally Posted by Arcade Fire (Post 1857690)
can u made an option for disable in sticky threads? or sticky threads with another CSS...

Updated with this suggestion integrated. Thanks.

Arcade Fire 07-29-2009 09:51 AM

Quote:

Originally Posted by Oblivion Knight (Post 1857726)
Updated with this suggestion integrated. Thanks.


Thanks to you!! Great! :)

stevetank 07-29-2009 01:59 PM

Nice one,

Looks and works a treat.

ST.

Storyteller69 07-29-2009 08:01 PM

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.

Oblivion Knight 07-29-2009 08:25 PM

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.

Storyteller69 07-30-2009 03:55 AM

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.


All times are GMT. The time now is 06:29 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.06447 seconds
  • Memory Usage 1,726KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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