removing "Polls"

Support for PhpBB3. Post here to get help with any phpBB3 related issue here
There is no support here! Only Read Access!
Forum rules
In order the get any support, you will have to do following:
1. Use a describing title!
2. Describe your problem and what happened when the problem occured
3. Tell us what version of phpBB3 you are currently using.
Else your topic may be ignored or locked!
Locked
Jeguia
BBCoder II
BBCoder II
Posts: 9
Joined: 01 Apr 2010, 12:17

removing "Polls"

Post by Jeguia »

Hello,

I want to remove the "Poll" from the topic title

exemple :
Image

how can i remove it ?

thnx
cisco007
BBCoder VI
BBCoder VI
Posts: 1015
Joined: 16 Mar 2010, 18:14
Location: Don't really know!

Re: removing "Polls"

Post by cisco007 »

do you want to remove just the word poll? or do you want to remove the poll from the topic!?
Jeguia
BBCoder II
BBCoder II
Posts: 9
Joined: 01 Apr 2010, 12:17

Re: removing "Polls"

Post by Jeguia »

cisco007 » 05 Jun 2010, 18:19 wrote:do you want to remove just the word poll? or do you want to remove the poll from the topic!?
No just the word poll before the topic name.
cisco007
BBCoder VI
BBCoder VI
Posts: 1015
Joined: 16 Mar 2010, 18:14
Location: Don't really know!

Re: removing "Polls"

Post by cisco007 »

from what style prosilver, subsilver, or a style based on either?
Jeguia
BBCoder II
BBCoder II
Posts: 9
Joined: 01 Apr 2010, 12:17

Re: removing "Polls"

Post by Jeguia »

cisco007 » 05 Jun 2010, 18:23 wrote:from what style prosilver, subsilver, or a style based on either?
It's subsilver based theme - the name is fisubic 2

thanks :thumb:
cisco007
BBCoder VI
BBCoder VI
Posts: 1015
Joined: 16 Mar 2010, 18:14
Location: Don't really know!

Re: removing "Polls"

Post by cisco007 »

i think that styles uses template inheritance, so you will have to open subsilver2/template/viewforum_body.html

find both instances of:

Code: Select all

<!-- IF topicrow.S_HAS_POLL or topicrow.S_TOPIC_MOVED -->
and replace with:

Code: Select all

<!-- IF topicrow.S_TOPIC_MOVED -->
Jeguia
BBCoder II
BBCoder II
Posts: 9
Joined: 01 Apr 2010, 12:17

Re: removing "Polls"

Post by Jeguia »

Thank you so much. It worked :D
Locked