Problem with poll module

Current Version: 2.1.0
Released: 2015-10-26
Forum rules
Before creating a new support thread, please take a look at the board3 Portal FAQ and use the search!
Many questions have already been answered.

Topic author
Liam Davis
Active Member
Active Member
Posts: 10
Joined: 2. November 2020 14:05
phpBB.de User: Liam Davis
phpBB.com User: Liam Davis

Problem with poll module

Post by Liam Davis »

Get this in view topic with poll module enabled, any fix please ?

https://i.ibb.co/4pn0zR2/Capture.png

Image
User avatar

Kirk
Portal Professional
Portal Professional
Posts: 1769
Joined: 27. July 2010 18:02
phpBB.de User: Kirk

Re: Problem with poll module

Post by Kirk »

The picture does not show the poll module.
What phpBB version and what style (download link) are you using?

Topic author
Liam Davis
Active Member
Active Member
Posts: 10
Joined: 2. November 2020 14:05
phpBB.de User: Liam Davis
phpBB.com User: Liam Davis

Re: Problem with poll module

Post by Liam Davis »

Thanks for answer. Version is 3.3.4 style is prosilver and ne-blackgreen
Last edited by Kirk on 27. August 2021 17:20, edited 1 time in total.
Reason: Removed unnecessary full quote

Topic author
Liam Davis
Active Member
Active Member
Posts: 10
Joined: 2. November 2020 14:05
phpBB.de User: Liam Davis
phpBB.com User: Liam Davis

Re: Problem with poll module

Post by Liam Davis »

This is how the poll looks in the topic which it was created..

Image

This is how it looks in all other topics

Image

When I try to set the poll for forums in the block module the poll disappears.

Image
User avatar

Kirk
Portal Professional
Portal Professional
Posts: 1769
Joined: 27. July 2010 18:02
phpBB.de User: Kirk

Re: Problem with poll module

Post by Kirk »

Polls are only shown in the topic where it was created.

Topic author
Liam Davis
Active Member
Active Member
Posts: 10
Joined: 2. November 2020 14:05
phpBB.de User: Liam Davis
phpBB.com User: Liam Davis

Re: Problem with poll module

Post by Liam Davis »

Yes but mine are not...They are trying to be displayed in the other topics which is where this is coming from..

Image


Its only happening with the portal poll module enabled.

Is there anyway to reinstall just the poll part of board3, Maybe that will fix it ?
Last edited by Kirk on 27. August 2021 19:00, edited 1 time in total.
Reason: Removed unnecessary full quote
User avatar

Kirk
Portal Professional
Portal Professional
Posts: 1769
Joined: 27. July 2010 18:02
phpBB.de User: Kirk

Re: Problem with poll module

Post by Kirk »

You don't always have to answer with a full quote!

That's not really possible, the poll module can only be displayed sideways in a topic. A link to your board would be helpful.
You can reset the module to the default settings.
b3p_poll_moule_default.jpg
You do not have the required permissions to view the files attached to this post.

Topic author
Liam Davis
Active Member
Active Member
Posts: 10
Joined: 2. November 2020 14:05
phpBB.de User: Liam Davis
phpBB.com User: Liam Davis

Re: Problem with poll module

Post by Liam Davis »

Reset did not fix.
Board is on local xampp not published on live server yet, thanks for your time anyway.

Topic author
Liam Davis
Active Member
Active Member
Posts: 10
Joined: 2. November 2020 14:05
phpBB.de User: Liam Davis
phpBB.com User: Liam Davis

Re: Problem with poll module

Post by Liam Davis »

If I move the portal poll block to the left column issue solved, right block issue returns.
User avatar

Kirk
Portal Professional
Portal Professional
Posts: 1769
Joined: 27. July 2010 18:02
phpBB.de User: Kirk

Re: Problem with poll module

Post by Kirk »

You should have mentioned that this problem only occurs when this module is displayed on the right side. ;)
I can understand the problem, the solution may take some time.

Topic author
Liam Davis
Active Member
Active Member
Posts: 10
Joined: 2. November 2020 14:05
phpBB.de User: Liam Davis
phpBB.com User: Liam Davis

Re: Problem with poll module

Post by Liam Davis »

I only just discovered the left side working. Thanks again much appreciated.
User avatar

Kirk
Portal Professional
Portal Professional
Posts: 1769
Joined: 27. July 2010 18:02
phpBB.de User: Kirk

Re: Problem with poll module

Post by Kirk »

Here is the solution
Open: root/ext/board3/portal/modules/poll.php
Find:

Code: Select all

				'S_HAS_POLL'			=> $has_poll,
Replace with:

Code: Select all

				'S_HAS_B3P_POLL'		=> $has_poll,
Go to Directory: root/ext/board3/portal/styles/prosilver/template/portal/modules/
Open the files: poll_center.html and poll_side.html
Find in these files:

Code: Select all

<!-- IF S_HAS_POLL -->
Replace in these files with:

Code: Select all

<!-- IF S_HAS_B3P_POLL -->
In the end "ACP -> General" --> purge cache It's recommended to purge your browser cache too.

Topic author
Liam Davis
Active Member
Active Member
Posts: 10
Joined: 2. November 2020 14:05
phpBB.de User: Liam Davis
phpBB.com User: Liam Davis

Re: Problem with poll module

Post by Liam Davis »

Worked perfectly...You sir are a star ;)
Last edited by Liam Davis on 28. August 2021 18:41, edited 1 time in total.
User avatar

Kirk
Portal Professional
Portal Professional
Posts: 1769
Joined: 27. July 2010 18:02
phpBB.de User: Kirk

Re: Problem with poll module

Post by Kirk »

Your welcome :)

Return to “Board3 Portal 2.1.x - English Support”