PDA

View Full Version : ZH - Closed Thread Mark-Up


Ziki
04-17-2006, 10:00 PM
This modification was brought to you by
KXDesign
http://www.kxdesign.com/


~Hack name
Closed Thread Mark-Up

~Hack description
Choose what color you want for your closed threads!

~Hack options

On/Off
Color
Bold title
Italize title
Strike title
Blink Title


~Hack info
File uploads: 0
Template edits: 0
File edits: 0
Plugins: 1
SQL Queries: 0
Phrases: 5
Settings: 2

Install time: 3 sec
Install level: Easy

~Hack installation

Step 1: Import Product


~Hack screenshots
None.Hard to imagine another color?;)

~Hack copyright
This may not be distributed,released or claimed as your work without author's permission.

Trana
04-18-2006, 07:08 PM
Any screenshots?

Ziki
04-18-2006, 07:14 PM
Oh well.....wait a minute

mat64
04-18-2006, 07:14 PM
Dosnt glow only work in IE?

Ziki
04-18-2006, 07:17 PM
It is not a glow actualy....only makes it red

mat64
04-18-2006, 07:23 PM
Ah ok, I might look into it later

Trana
04-18-2006, 07:24 PM
A virtual screen shot?

Good luck with this.

VaaKo
04-18-2006, 09:18 PM
a screenshot please!

C.Birch
04-18-2006, 09:21 PM
It just makes the font for the topic names go red if the topics locked

VaaKo
04-18-2006, 09:42 PM
it wouldve been better if it takes the topic unclickable as well!

OndaReal
04-18-2006, 11:39 PM
Very nice, installed.

PennylessZ28
04-18-2006, 11:52 PM
I think it's good enough as is. Very nice. INSTALLED

Nathan2006
04-19-2006, 01:13 AM
Thank you ZIKI-SET

Great idea! :cool:

Install

Would be a nice idea if you could make them bold when there are new
posts in them? like the default ones :)

it wouldve been better if it takes the topic unclickable as well!

I have a lot of locked threads with information in them &
if members could not click them I would be stuck lol:p

C.Birch
04-19-2006, 06:48 AM
what might be good is to make the table row of the locked topic a other colour so it stands out more.

Skyline_GT
04-19-2006, 07:16 AM
is it possible to make sticky threads red?

Nathan2006
04-19-2006, 08:18 AM
what might be good is to make the table row of the locked topic a other colour so it stands out more.


Now that sounds like a great idea :cool:

Ziki
04-19-2006, 04:43 PM
Sure it is possible.I make it later on.Wait :p

EDIT: I meant the sticky thread idea

Ziki
04-19-2006, 06:23 PM
Now that sounds like a great idea :cool:

I don't get it.Can you explain it?

Nathan2006
04-19-2006, 06:34 PM
I don't get it.Can you explain it?

Hi,

Meaning the cell color of the threads when they are locked :)

I have added a screenshot so you know what I mean:cool: What do you think?

It stands out really well too

Originally Posted by C.Birch
what might be good is to make the table row of the locked topic a other colour so it stands out more.

Paul M
04-19-2006, 06:38 PM
Won't that clash with the inline moderation colouring ?

Ziki
04-19-2006, 06:42 PM
I really don't know but I don't think it will

EDIT: Yeah it will.

Nathan2006
04-19-2006, 06:42 PM
Won't that clash with the inline moderation colouring ?

I dont know cos Im not a coder :(

Or even have a little color changer so it goes with any template

But really this would be a different hack anyway cos this one is great just as it is :)

Ziki
04-19-2006, 06:52 PM
cause when you tick the thread it also changes the color so it will get dizzy

ZombieAndy
04-19-2006, 07:00 PM
im about 99% sure this could be done with a template edit

Ziki
04-19-2006, 07:01 PM
The whole hack?

ZombieAndy
04-19-2006, 07:07 PM
changing a thread title to red when its locked?... yeah

thats all this does isnt it?

Pathor
04-19-2006, 07:31 PM
changing a thread title to red when its locked?... yeah

thats all this does isnt it?

A product is in my opinion better than a template edit. Boardupdate... ;)

Ziki
04-19-2006, 07:35 PM
Just wanted to say.It is more comfortable

Code Monkey
04-19-2006, 07:41 PM
A product is in my opinion better than a template edit. Boardupdate... ;)

You will think that until you run out of resources. If something can be done with a template edit it will take up far less resources than a product. Just depends on how much overhead you can afford.

TwTom
04-19-2006, 09:27 PM
Nice work.

Thank you!

Ziki
04-20-2006, 11:42 AM
I'm glad you like it.Looks like this is my most successfull hack

amykhar
04-20-2006, 02:24 PM
you don't need a plugin for this one either. A template mod will do.

sandrodz
04-20-2006, 03:19 PM
possible to make it light gray? I mean if you use this with your red sticky topic script it will confused users... it would be better to have sticky topics in red and the closed one in light gray :) what do you think about this idea?

Ziki
04-20-2006, 07:51 PM
I think I change sticky to green :)

@amy
I like plugins better and also they count towards coder titles :p

Ziki
04-21-2006, 12:25 PM
Added three new colours

amykhar
04-21-2006, 12:38 PM
Yeah, Ziki, we figured you were trying to inflate your title. And hell, if people are dumb enough to install the stuff, more power to ya.

Ziki
04-21-2006, 12:40 PM
Maybe I didn't get it right but you mean I submit crappy hacks?

wizardan
04-21-2006, 12:46 PM
And hell, if people are dumb enough to install the stuff, more power to ya.I've installed some of your hacks, Amykhar.
I've also installed the one pertinent to this thread.
Maybe some of us vBulletin license owners are just grateful, as I am, that you people devote time and energy to these modifications.
And for some of us, that it be a template mod, file edit or plugin simply won't matter.
Nothing dumb about me.
Just gratitude that others with more coding skill than I ever will have are sharing their ideas.

amykhar
04-21-2006, 12:46 PM
I didn't use the word crappy. I was commenting on your using the more resource intensive plugins instead of a template mod because you want to inflate your coder title.

they count towards coder titles

Ziki
04-21-2006, 12:51 PM
But still I think plugins are better than template mods.I personaly HATE template editting.

Trana
04-21-2006, 01:49 PM
If you are going to release this as a "product", at least put all of the mods into one package and create an admincp option to change the color.

You shouldn't release 4 different versions of a "product" just to support a different color code. As Amy said, this should be a template mod if you aren't going to go the distance.

Oblivion Knight
04-21-2006, 01:50 PM
To make it somewhat worthwhile being a plugin, I suggest that you may want to try adding an option to the Admin CP whereby a color can be defined for what admins want closed threads on their board to appear in. It makes sense to me rather than having 4 different versions just to have different colors..

Yes it uses more resources, but as long as you don't go crazy with the amount of plugins you have installed, it's relatively minimal.


---EDIT---
Well I'll be.. I got beaten to it! :o

Ziki
04-21-2006, 02:00 PM
To make it somewhat worthwhile being a plugin, I suggest that you may want to try adding an option to the Admin CP whereby a color can be defined for what admins want closed threads on their board to appear in. It makes sense to me rather than having 4 different versions just to have different colors..

Yes it uses more resources, but as long as you don't go crazy with the amount of plugins you have installed, it's relatively minimal.


Working on :)


---EDIT---
Well I'll be.. I got beaten to it! :o

Quite didn't get it

Ziki
04-21-2006, 08:54 PM
You can release it as your hack!A template edit....still I like plugins more

ZombieAndy
04-22-2006, 01:49 PM
You can release it as your hack!A template edit....still I like plugins more

cuz they inflate your title :p

Ziki
04-22-2006, 06:09 PM
No cause they are faster than a template edit and much easier to install :D

But also because of that :)

ZombieAndy
04-22-2006, 07:27 PM
they also use up more resources and slow down your board. :p

Ziki
04-22-2006, 07:56 PM
That is not my problem :)

Ziki
04-22-2006, 08:36 PM
Updated with minor changes

Trana
04-22-2006, 10:50 PM
That is not my problem :)

Nice.

Maybe you should mention the alternative as an option in the hack listing. People should at least know that this is not the optimal way to do this.

Paul M
04-22-2006, 11:14 PM
Let's just get a little perspective here - the amount of "resouces" that this will use is too small to be measured and for that matter, a template edit also uses "resources" as it has to be compiled, fetched, etc. At the end of the day, this is easier for some people, and no one forces you to use it.

Ziki
04-23-2006, 05:27 AM
Atleast someone is on my side :)

Bubble #5
05-04-2006, 11:58 PM
Let's just get a little perspective here - the amount of "resouces" that this will use is too small to be measured and for that matter, a template edit also uses "resources" as it has to be compiled, fetched, etc. At the end of the day, this is easier for some people, and no one forces you to use it.
I agree 110% ;)

Ziki
05-05-2006, 09:06 PM
You know this is wierd.All starting coders start like this.Why didn't you do this,why that etc.
Everyone is complaining.
But about senior coders when they release a plugin that can be made with a template edit they don't say anything just that it is great etc.
Not fair

Bubble #5
05-05-2006, 09:59 PM
Why didn't you do this,why that etc. Everyone is complaining
I wouldn't worry about it. Some people just like to complain :rolleyes: They think that by bringing you down a notch that it somehow raises them up a notch, but we all know it doesn't work that way ;) Life is too short, so don't let them get to you or bring you down. Thanks for your contribution to vB. Looking forward to seeing your next one :bunny:

Ziki
05-07-2006, 12:43 PM
Thank you XD

Zia
05-18-2006, 04:02 AM
:) are we going to get a product insted of plugins..
including sticky thread's color?

its a nice idea..liked it really

surely we will install it...

Ziki
05-30-2006, 04:13 PM
Dude I already made a hack like that :p

kall
07-11-2006, 08:08 AM
A suggestion: Use valid XHTML in your plugins. <font> tags are deprecated. :)

Ziki
07-14-2006, 10:10 AM
Why that?

kall
07-14-2006, 10:25 AM
Many people like to have a valid site.

Ziki
07-26-2006, 06:05 PM
lol it's normal.<font> tags are invalid?

kall
07-27-2006, 07:06 PM
That's correct, otherwise..why would I say that your code is not valid? :)

Ziki
07-27-2006, 07:12 PM
I don't get why they are invalid :S

Kirk Y
07-31-2006, 07:49 AM
It's more that they're just old -- outdated, not necessarily invalid. Why drive in a Model-T when you could drive a Shelby GT Mustang?

Ziki
08-03-2006, 08:09 AM
Cause it is my decission :p

kall
08-03-2006, 11:16 PM
The whole reasoning behind making code valid is to ensure inter-operability between browsers.

It also shows you care enough about your end-users' experience to make the effort to provide *correct and valid* code.

Ziki
08-04-2006, 08:06 AM
Ok so what other tags should I use then

TechLack
08-04-2006, 08:31 AM
liked your work and its installed thanks :)

Ziki
08-22-2006, 07:20 PM
Very well.I think I should use span tags right?

Ziki
12-02-2006, 02:13 PM
1.1.0 released

Ziki
12-03-2006, 02:17 PM
1.1.1 released

Bold title,Italize title,Strike and Blink title options added :)

Devil Woman
12-03-2006, 06:27 PM
I just went to upgrade to 1.1.1 and I got this error

Database error in vBulletin 3.6.4:

Invalid SQL:

INSERT INTO setting
(varname, grouptitle, value, defaultvalue, datatype, optioncode, displayorder, advanced, volatile, validationcode, blacklist, product)
VALUES
(
'zh_closed_onoff',
'zh_closed',
'1',
'0',
'number',
'yesno',
10,
0,
1,
'',
0,
'zh_closed'
),
(
'zh_closed_color',
'zh_closed',
'red',
'red',
'free',
'',
20,
0,
1,
'',
0,
'zh_closed'
),
(
'zh_closed_bold',
'zh_closed',
'0',
'0',
'number',
'yesno',
30,
0,
1,
'',
0,
'zh_closed'
),
(
'zh_closed_italic',
'zh_closed',
'0',
'0',
'number',
'yesno',
40,
0,
1,
'',
0,
'zh_closed'
),
(
'zh_closed_strike',
'zh_closed',
'0',
'0',
'number',
'yesno',
50,
0,
1,
'',
0,
'zh_closed'
),
(
'zh_closed_blink',
'zh_closed',
'0',
'0',
'number',
'yesno',
60,
0,
1,
'',
0,
'zh_closed'
);

Any help is appreciated

Thanks

Ziki
12-03-2006, 06:47 PM
Try installing the 3.6 version ;)

Devil Woman
12-03-2006, 07:42 PM
lmao, too many late nights and early mornings lol

Thanks will try that lol

TheWhite
12-28-2006, 04:07 AM
cool

akschu
01-06-2007, 08:22 PM
possible to not mark closed stickys?

Ziki
01-06-2007, 09:21 PM
Yes but lazy to write it :p

may be in the next version