![]() |
Custom post category (like poll:, sticky:)
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? |
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 ;) |
sounds quite simple, thanks
should I release this hack once done? |
https://vborg.vbsupport.ru/showthrea...=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 ;)) |
thanks ! :) feel free to close this thread
|
All times are GMT. The time now is 12:31 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|