PDA

View Full Version : Sticky thread prefix


Reverend
09-29-2002, 09:21 PM
I've edited my "Prefix for sticky threads" to Important:

Is there a hack available that lets you prefix individual sticky threads
i.e have some that are prefixed with Important: and some that are prefixed with Sticky:

wolfe
09-30-2002, 12:50 AM
good idea d00d i could do with this too :D nice one :D

Logician
09-30-2002, 07:50 AM
I assume you would want something integrated to Admin CP, but well it's not a 2 min. hack so here is my fast solution: :)

Edit forumdisplay.php, find:
$thread[typeprefix]=$stickythreadprefix.$thread[typeprefix];

Replace it as:

if ($thread[threadid]==X OR $thread[threadid]==Y OR $thread[threadid]==Z)
{$thread[typeprefix]='STICKY:'.$thread[typeprefix];}
else
{$thread[typeprefix]=$stickythreadprefix.$thread[typeprefix];}


Replace X, Y, Z with the threadid of threads that you want to have "sticky:" prefix.. Others will be prefixed with your admin cp specified prefix..

Enjoy

Erwin
09-30-2002, 10:34 AM
There is also another hack available that is called custom prefixes that let's you make up custom prefixes in Admin CP.

g-force2k2
09-30-2002, 11:01 AM
yeah Erwin thats true... but does it restrict who can use those prefixs? regards...

g-force2k2

NTLDR
09-30-2002, 11:15 AM
Originally posted by g-force2k2
but does it restrict who can use those prefixs? regards...

Both Custom Post Prefix hacks restrict who can use them by usergroup :)

I'd go for the latest version by Burns.

Reverend
09-30-2002, 11:34 AM
It would be handy if you had an option to give the thread a prefix when making it a sticky.
either by the "edit thread" or "stick/unstick" thread option.

Just a thought. ;)