PDA

View Full Version : Forum Display Enhancements - Closed Thread Title Markup


Oblivion Knight
07-27-2009, 10:00 PM
<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
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
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 AND !$forum['forumid'] = X 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: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 AND $foruminfo['forumid'] != '2' (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
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
Im sorry to ask but where do I find the menu?
https://vborg.vbsupport.ru/attachment.php?attachmentid=102620&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
Can this be updated to vB4? If someone would do that, it would be a pleasure :)

What he said ^^^

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