Log in

View Full Version : Custom post category (like poll:, sticky:)


Fuitad
08-23-2002, 05:51 PM
I'd like to add custom post category to a certain forum in my forums. Something like Bug: Feature: Fixed: etc...

is there a way to do it? Or an existing hack (I searched but couldnt find any)? If not, what should I modify to create this?

Xenon
08-23-2002, 05:56 PM
you have to alte table thread add one extrafield called prefix varchar(10) (should be enough ;))

then you have to modify at least 2 files:
newthread.php (add an input field for Prefix into the newthread template and don't forget to save it in DB newthread.php)

forumdisplay.php (add $thread[prefix] in forumdisplaythreadlistbit(forgot the correct name ;)) template and change the query to also get thread.prefix out of the database ;)

Fuitad
08-23-2002, 05:58 PM
sounds quite simple, thanks

should I release this hack once done?

Xenon
08-23-2002, 06:07 PM
https://vborg.vbsupport.ru/showthread.php?s=&threadid=32038&highlight=thread+prefix

i think there it has been released already ;)

but i don't find install file ;)
if it isn't there you can perhaps rerelease it ;)

but for a full hack you should also modify postings.php (editthread section ;))

Fuitad
08-23-2002, 06:11 PM
thanks ! :) feel free to close this thread