Log in

View Full Version : how do I turn off the poll prefix is a specific forum


BBR-APBT
06-07-2009, 04:06 PM
How do I turn off the poll prefix is a specific forum.

I want to change the Poll Prefix with one of my own but only in a specific forum.
When I add a prefix it adds both and looks silly.

So how can I remove it or change it from pole to vote?

Lynne
06-07-2009, 04:42 PM
The variable in the threadbit template is $thread[typeprefix]. So, you can either do a condition in the threadbit template based on the forumid and whether that variable is equal to "poll", or you could probably write a plugin to do the same check and set it to 'vote' if it equals "poll" in that forum.

BBR-APBT
06-07-2009, 04:48 PM
I wrote a plugin for threadbit_display with some code and I got it working. Thank you lynn.