Page 1 of 1

Problem with poll module

Posted: 27. August 2021 11:27
by Liam Davis
Get this in view topic with poll module enabled, any fix please ?

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

Image

Re: Problem with poll module

Posted: 27. August 2021 15:49
by Kirk
The picture does not show the poll module.
What phpBB version and what style (download link) are you using?

Re: Problem with poll module

Posted: 27. August 2021 15:59
by Liam Davis
Thanks for answer. Version is 3.3.4 style is prosilver and ne-blackgreen

Re: Problem with poll module

Posted: 27. August 2021 16:16
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

Re: Problem with poll module

Posted: 27. August 2021 16:45
by Kirk
Polls are only shown in the topic where it was created.

Re: Problem with poll module

Posted: 27. August 2021 18:21
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 ?

Re: Problem with poll module

Posted: 27. August 2021 19:09
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
b3p_poll_moule_default.jpg (11.13 KiB) Viewed 19162 times

Re: Problem with poll module

Posted: 27. August 2021 19:23
by Liam Davis
Reset did not fix.
Board is on local xampp not published on live server yet, thanks for your time anyway.

Re: Problem with poll module

Posted: 28. August 2021 10:44
by Liam Davis
If I move the portal poll block to the left column issue solved, right block issue returns.

Re: Problem with poll module

Posted: 28. August 2021 13:55
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.

Re: Problem with poll module

Posted: 28. August 2021 14:00
by Liam Davis
I only just discovered the left side working. Thanks again much appreciated.

Re: Problem with poll module

Posted: 28. August 2021 14:21
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.

Re: Problem with poll module

Posted: 28. August 2021 14:35
by Liam Davis
Worked perfectly...You sir are a star ;)

Re: Problem with poll module

Posted: 28. August 2021 14:38
by Kirk
Your welcome :)