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.

Oblivion Knight 07-30-2009 06:17 AM

Sorry about that, I must have been half asleep! Stupid medication..

Use [minicode]AND $foruminfo['forumid'] != '2'[/minicode] (tested and working).

Storyteller69 07-30-2009 08:04 AM

Great that works fine!
Don't beat me :) but is it for another website possible to set only the one forum in which it should work?

Oblivion Knight 07-30-2009 09:38 AM

1.0.2 is now released with the forum permission included.

Hopefully this will be the last update for a while.. ;)

Storyteller69 07-30-2009 10:22 AM

:)
Wow, works great! :up: Many thanks again!

FReeSTER 08-09-2009 01:01 AM

Im sorry to ask but where do I find the menu?
https://vborg.vbsupport.ru/external/2009/09/6.jpg

Oblivion Knight 08-09-2009 08:47 AM

Quote:

Originally Posted by El Intocable (Post 1863831)
Im sorry to ask but where do I find the menu?

What menu? I'm sorry, I don't understand..

The forum based permission is located in the "Forums & Moderators" section of the Admin CP.

xuanhuy238 09-25-2009 05:52 AM

Quote:

Originally Posted by El Intocable (Post 1863831)
Im sorry to ask but where do I find the menu?
https://vborg.vbsupport.ru/attachmen...0&d=1248859557


Forum Display Options (forumdisplay)

Polaris4ever12 05-17-2013 06:42 PM

Can this be updated to vB4? If someone would do that, it would be a pleasure :)

Ravallojr 09-21-2014 11:21 AM

What he said ^^^

ozzy47 09-22-2014 01:33 AM

Quote:

Originally Posted by Polaris4ever12 (Post 2422749)
Can this be updated to vB4? If someone would do that, it would be a pleasure :)

Quote:

Originally Posted by Ravallojr (Post 2516009)
What he said ^^^

Here is the vB4 version of the mod, https://vborg.vbsupport.ru/showthread.php?t=314458


All times are GMT. The time now is 05:47 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.01166 seconds
  • Memory Usage 1,752KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (20)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete