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.
Locked

Topic author
Liam Davis
Active Member
Posts: 10
Joined: 2. November 2020 13: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
Dev
Posts: 1937
Joined: 27. July 2010 18:02
phpBB.de User: Kirk
Contact:

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?
Gruß Udo

Topic author
Liam Davis
Active Member
Posts: 10
Joined: 2. November 2020 13: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
Posts: 10
Joined: 2. November 2020 13: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
Dev
Posts: 1937
Joined: 27. July 2010 18:02
phpBB.de User: Kirk
Contact:

Re: Problem with poll module

Post by Kirk »

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

Topic author
Liam Davis
Active Member
Posts: 10
Joined: 2. November 2020 13: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
Dev
Posts: 1937
Joined: 27. July 2010 18:02
phpBB.de User: Kirk
Contact:

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
b3p_poll_moule_default.jpg (11.13 KiB) Viewed 18914 times
Gruß Udo

Topic author
Liam Davis
Active Member
Posts: 10
Joined: 2. November 2020 13: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
Posts: 10
Joined: 2. November 2020 13: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
Dev
Posts: 1937
Joined: 27. July 2010 18:02
phpBB.de User: Kirk
Contact:

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.
Gruß Udo

Topic author
Liam Davis
Active Member
Posts: 10
Joined: 2. November 2020 13: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
Dev
Posts: 1937
Joined: 27. July 2010 18:02
phpBB.de User: Kirk
Contact:

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.
Gruß Udo

Topic author
Liam Davis
Active Member
Posts: 10
Joined: 2. November 2020 13: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
Dev
Posts: 1937
Joined: 27. July 2010 18:02
phpBB.de User: Kirk
Contact:

Re: Problem with poll module

Post by Kirk »

Your welcome :)
Gruß Udo
Locked

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