Support Forums / Tips & tricks / Archives / 07-24-2006 / Q: Sticky

Topic: Q: Sticky
December 21st, 2005 10:34 AM
motherboard If you make a thread sticky. The name is [Sticky] . . . . .
Is it possible that you change Sticky for an other word??

And my second question is is it possible to make the name of a thread in a other color??
December 21st, 2005 11:43 AM
Catchow replace common text with image or replace text are scripts written to do what you ask about the sticky threads. I have to think about your second question to see if what I think you mean is really what you mean. I will be back later.

Ok I thought about it some and I do suppose that there is a way althought I don't know for sure what it is. The thing is that the thread topic is a link and my attempt to recode the thread link locked up my testboard.
[Edited by Catchow]
December 21st, 2005 05:20 PM
sdn I think it's possible. But it requires an ass-backwards template mod and I don't know if it will work. Sage, you wanna do it? :D Mahud? Ady?

Add another span before the {threads.sticky} or whatever and give it an ID of {threads.sticky} (or whatever the template variable is.) End it after the thread link.

Then add this to the CSS:

span#[Sticky] { color:#something;}

There's a good chance it won't work. I'm rather busy with a website project at the moment, but if no one else steps up I'll try it.
December 21st, 2005 05:51 PM
Sage hmm...I can try it. but I cant promise anything.

----edit----

I dont think it is possible with a template mod...

<span class="NormalText"><b>{threads.sticky}{threads.PollQ}</b><a href="thread.php?forumid={threads.forumid}&threadid={threads.threadid}">{threads.title}</a></span>

{threads.sticky} only adds [Sticky] :(

I think that you would have to use javascript to find if [Sticky] is in the <td> or not...but I'm javascript n00b! :p
December 21st, 2005 11:15 PM
sdn This is what I meant:
code:

<span class="NormalText"><span class="{threads.sticky}"><b>{threads.sticky}{threads.PollQ}</b><a href="thread.php?whatever...">{threads.title}</a></span></span>



code:

CSS...
span.[Sticky] {whatever;}



But I'm pretty sure [] aren't allowed in class names.
December 22nd, 2005 12:23 AM
Catchow OK I am going to go ask Mahud because these answers you guys are giving are confusing to say the very least. Plus they are really stretching out the board.
December 22nd, 2005 06:02 AM
mahud I think this is way beyond me :D but i'll have a mess around :D

i seem to remember trying to replace it with an image before without any success
December 22nd, 2005 04:39 PM
sdn The image replacement has been done.
January 8th, 2006 01:54 PM
gloriana [quote]motherboard wrote:
If you make a thread sticky. The name is [Sticky] . . . . .
Is it possible that you change Sticky for an other word??

HI I'M NEW and I cant find out how to make a post into a sticky - I am using a template - does anyone know where my sticky button is (gosh that sounds weird)

thanks
gloriana
January 8th, 2006 06:20 PM
gloriana
Quote:
gloriana wrote:
[quote]motherboard wrote:
If you make a thread sticky. The name is [Sticky] . . . . .
Is it possible that you change Sticky for an other word??

HI I'M NEW and I cant find out how to make a post into a sticky - I am using a template - does anyone know where my sticky button is (gosh that sounds weird)

thanks
gloriana


SORRY, i found it.;)