Advanced Polls Mod Support (Modzzz) - part 2

Quote · 22 Aug 2014

 

I have a Poll with 12 Votes, but only 1 vote is listed..... Is this because they are NOT Logged in ??

poll

Quote · 22 Aug 2014

@albarnes - There was an issue where members could have modified Poll answers after voting has started and this affected the statistics. On July 29th, the mod was updated to fix this so please re-upload the files.

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 23 Aug 2014

 

@albarnes - There was an issue where members could have modified Poll answers after voting has started and this affected the statistics. On July 29th, the mod was updated to fix this so please re-upload the files.

 I keep uploading the modules folder and even though some of the files have been updated it keeps reporting being 2.0.4 version...... suggestion on a fix welcomed ;)

Quote · 23 Aug 2014

Patch 2.0.5 was released on July 27th. If your site is saying 2.0.4, it means you did not apply patch 2.0.5.

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 23 Aug 2014

 

Patch 2.0.5 was released on July 27th. If your site is saying 2.0.4, it means you did not apply patch 2.0.5.

 Exactly, i seem to be having trouble getting 2.0.5 to over ride 2.0.4.... i copy the modules folder over and it asks me for permission to over write and i agree , then it still reports 2.0.4

Quote · 23 Aug 2014

Please check the patches\version_2.0.5 folder for proper installation instructions. You have not applied the patch as instructed in the readme.txt.

 

Patch 2.0.5 was released on July 27th. If your site is saying 2.0.4, it means you did not apply patch 2.0.5.

 Exactly, i seem to be having trouble getting 2.0.5 to over ride 2.0.4.... i copy the modules folder over and it asks me for permission to over write and i agree , then it still reports 2.0.4

 

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 24 Aug 2014

 You are right, i didnt read it correctly as i forgot to go to the Patches folder.....

   Sorry

Thanks

 

Al

 

Please check the patches\version_2.0.5 folder for proper installation instructions. You have not applied the patch as instructed in the readme.txt.

 

Patch 2.0.5 was released on July 27th. If your site is saying 2.0.4, it means you did not apply patch 2.0.5.

 Exactly, i seem to be having trouble getting 2.0.5 to over ride 2.0.4.... i copy the modules folder over and it asks me for permission to over write and i agree , then it still reports 2.0.4

 

 

Quote · 24 Aug 2014

I cannot delete any of my polls since my upgrade to 2.0.5

Quote · 1 Sep 2014

 It seems the delete button isn't functional

I cannot delete any of my polls since my upgrade to 2.0.5

 

Quote · 2 Sep 2014

It seems there is an issue with your upgrade as I am not replicating any issue with the delete functionality in the latest version. PM me your site details and I will check it out.

I cannot delete any of my polls since my upgrade to 2.0.5

 

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 3 Sep 2014

 I deleted the software and did a fresh install, all is fine.   Thanks

 

Al

It seems there is an issue with your upgrade as I am not replicating any issue with the delete functionality in the latest version. PM me your site details and I will check it out.

I cannot delete any of my polls since my upgrade to 2.0.5

 

 

Quote · 3 Sep 2014

Hey Modzzz,

How can I make the Poll Choice MANDATORY. I have a member that is trying to make polls that have no options.. I would like to see the Poll Choice mandatory and remove the mandatory off the descriptions. Maybe if blank it copies the title block in the description instead of making it mandatory..

 

Thank you..

Quote · 1 Feb 2015

Version 2.0.6 released. (See patches/version_2.0.6 folder in zip file)

Added ability to properly manage existing Poll Answers.
Polls posted without Answer Options are automatically placed in pending status until Answers are added.

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 19 Aug 2015

Advanced Polls Module  - This is now compatible with Dolphin 7.2 . For those upgrading from Dolphin 7.1, please check the upgrade folder for instructions.

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 20 Sep 2015

The module is updated so that expiry date is not mandatory. Re-upload the modules\modzzz\polls\classes folder.

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 28 Jan 2016

In addition to the instruction above, also recompile the language for the module in the "Modules" section in the Admin panel.

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 29 Jan 2016

Version 2.0.7 released. (See patches/version_2.0.7 folder in zip file)

 

Add ordering to Poll Answers based on order created.

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 6 Mar 2016

This module is updated to facilitate integration with Group Polls and Blog Polls module. Please re-upload files and clear cache.

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 25 Nov 2017

 

Add ordering to Poll Answers based on order created.

 

I've just installed the mod, but my answers are random. I entered A B C D E F G H and it's displaying E D B  C  A F G H. 

I changed and saved the order in "edit answers" but when I returned, the answers were once again out of sequence. I'm concerned because nobody else has commented about this issue. 

Quote · 2 Jan 2018

The following file is updated : modules/modzzz/polls/classes/BxPollsDb.php

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 2 Jan 2018

I reinstalled it and the problem went away. Before installing it the second time, I physically cleared the site cache and deleted the Boonex poll after uninstalling it. As I only downloaded the file today I assume the new db file was included. 

Quote · 2 Jan 2018

Version 2.0.8 released. (See patches/version_2.0.8 folder in zip file)

Update made to facilitate compatibility with Group Polls module

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 2 Jan 2018

Version 2.0.9 released. (See patches/version_2.0.9 folder in zip file)

Fixes issue with Polls link on Profile page.

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 2 Jan 2018

This only happens in the Featured Polls block on Polls Home:

----------------

What device will you regularly use to access the site?

Categories: __all_categories__

---------------

Other Blocks show correct category:

---------------

What device will you regularly use to access the site?

Categories: Site Improvements 

-------------


Quote · 7 Jan 2018

The following file is updated : modules/modzzz/polls/templates/base/featured_unit.html

Clear cache after making the update.

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 7 Jan 2018

That fixed it and thanks again for your speedy responses.

Quote · 8 Jan 2018

How to remove asterisk for tags in the form?

Meaning: It should not be compulsory

Quote · 15 May 2018

@sureandhraindia

In modules/modzzz/polls/classes/BxPollsFormAdd.php, find and remove this block of code :

                    'required' => true,
                    'checker' => array (
                        'func' => 'avail',
                        'error' => _t ('_modzzz_polls_form_err_tags'),
                    ),

Replace with :

                   'required' => false,

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 15 May 2018

Thank you very much

Quote · 15 May 2018

 

Version 2.0.9 released. (See patches/version_2.0.9 folder in zip file)

Fixes issue with Polls link on Profile page.

 currently I am having 2.0.8 and customized by you. But this module is not in my account to update to 2.0.9. so, please add to my account.

Quote · 17 May 2018

I've just noticed that the polls are not appearing on the Home Page or Profile Page. I've tried Recent, Featured, Top, but no result. I'm still using 7.3.5 on PHP 5.6

Other than that, the Polls are working perfectly and other modules such as Newsletter appear on the home page fine.

Is anyone else experiencing this problem?

Quote · 9 Jul 2019

If you check the demo site, you will notice the Poll blocks on both pages. Please note though that only items with public viewing access will show. How are you adding Recent, Featured, Top etc. blocks ? If you are using some tool to copy those blocks they probably will not work without adjustment to the code.

I've just noticed that the polls are not appearing on the Home Page or Profile Page. I've tried Recent, Featured, Top, but no result. I'm still using 7.3.5 on PHP 5.6

 

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 9 Jul 2019

 

Please note though that only items with public viewing access will show.

Now you have me totally confused. If that's the case, why on earth do you allow admins to select the other options?:

  • Me Only
  • Public
  • Members
  • Friends

Surely if only one option allows Admin to place a block on the home page and profile page, the remaining options should not be available?

I tried it on a clean Dolphin site and it works as you state, but my site no longer has "Public (3)" as an option. Mine is a Members Only site and the word "Public", as opposed to "Members" has created so much confusion. Either I deleted the option, or it disappeared when I installed your "Adult Content" module. Either way, I don't want "Public" as an option because it's confusing.

When creating the Polls, I selected "Members". I also did this on the clean install and the Poll doesn't appear on the Home Page. I consider this to be a programming BUG rather than human error, because "Members" is the option most people would select.

The database clearly shows that Members (4) has been selected. Thus, I believe you need to remove the options above, or design the module so that it works with any of the options selected.

 

Quote · 10 Jul 2019

@johnk42 - When designing Dolphin third party modules, I try to follow the convention of default modules that comes with the script to maintain consistency. The Polls module functions exactly like default Dolphin modules (Groups, Events etc.). For those modules, only items with "public" viewing appear on Homepage and Profile page. Items with other viewing privileges will have to be accessed from the module page itself. Whether that represents good design or not is a matter that should be taken up with the Dolphin script developers. As a module developer, I simply followed their established convention.

 

You cannot simply get rid of "public" from your site without making underlying code changes because Dolphin was designed with the expectation that this privacy option will always exist.

 

The following change below to Dolphin core code may help to alleviate your problem :

 

In inc/classes/BxDolTwigSearchResult.php

Find : 

    function setPublicUnitsOnly($isPublic)
    {
        $this->aCurrent['restriction']['public']['value'] = $isPublic ? BX_DOL_PG_ALL : false;    
    }

Replace with : 

    function setPublicUnitsOnly($isPublic) 
    { 
        $this->aCurrent['restriction']['public']['value'] = $isPublic ? BX_DOL_PG_MEMBERS : false;     
    }

 

The change above should allow items with "members" privacy to be shown whenever a module request to show "public" items.

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 10 Jul 2019

Thanks Modzzz. As you know, getting the Dolphin Developers to make changes is harder than getting Caesar to build a different Rome.

I got it to work by changing the values from 4 to 3 in the database, but I'll implement your suggested changes as soon as I can find time.

Appreciated.

Quote · 10 Jul 2019

Hi Modzzz, I tried your fix but it didn't do anything. I reinstated Public using Admin/Settings/Privacy Settings/Settings/Enable 'Public' group.

This raises a few questions and problems:

  1. If the Public Group is essential for Dolphin to work, why would there an option to switch it off? Most members like myself will choose "Members" because Public implies that the Public may be able to see something. 
  2. Is it safe to disengage Members? Then my members may understand that "Public" is meant to refer to members - just maybe? I certainly don't want both because my users will select it and it seems that "Members" doesn't work for Polls and possibly other modules of yours.

The following problem may or may not have anything to do with the above:

Home Page Block Only and tested on three sites, one of which is clean.

If a Poll is Featured, the Results and Votes buttons don't work. If I un-feature the Poll, the buttons work as expected.

On the Clean site, The buttons on a featured poll aren't aligned properly. (See attachments)

 Thanks in advance.

 

 

Pol issue 1.jpg · 30.8K · 246 views
Pol issue 2.jpg · 32.5K · 256 views
Quote · 26 Jul 2019

Is there a solution to the above problem?

Quote · 19 Aug 2019

An issue with featured Polls (voting and viewing results) has been resolved. The following files are updated :

 

modules/modzzz/polls/js/polls.js

modules/modzzz/polls/templates/base/block_featured_vote_result.html

modules/modzzz/polls/templates/base/featured_unit.html

modules/modzzz/polls/classes/BxPollsPageView.php

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 3 Sep 2019

Thanks Modzzz. I haven't tried it yet, but  it will make a difference. I currently have to display all polls.

I hope you survived Hurricane Dorian okay. I live in a Cyclone area and I know that both can do widespread damage over vast areas. If it isn't the wind or the rain, it's tidal surges or flooding. I've lost my roof twice, so I know how it feels.

Good luck and best wishes.

John King

Quote · 4 Sep 2019

Thanks John. I am OK but family members have been severely affected. Contact has been lost with some, but praying for the best.

Thanks Modzzz. I haven't tried it yet, but  it will make a difference. I currently have to display all polls.

I hope you survived Hurricane Dorian okay. I live in a Cyclone area and I know that both can do widespread damage over vast areas. If it isn't the wind or the rain, it's tidal surges or flooding. I've lost my roof twice, so I know how it feels.

Good luck and best wishes.

John King

 

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 4 Sep 2019

Hi Modzzz,

I've made the points integration with the "http://www.yoursite.com/sqlpoints.php".

But the poll module does not appear in the point module.

 

Do I have to adjust something or is not it?

Quote · 11 Oct 2019

I stumbled across error messages coming to the admin email which read:

"An uncaught exception was thrown in http://reunite-id.com/


Type: Error

Message: Call to a member function processPolls() on null

File: /home/reuniteid/public_html/modules/modzzz/polls/classes/BxPollsCron.php

Line: 43

Debug backtrace:

#0 /home/reuniteid/public_html/periodic/cron.php(117): BxPollsCron->processing()<br />
#1 /home/reuniteid/public_html/periodic/cron.php(133): runJob(Array)<br />
#2 {main}

Called script: cron.php


Request parameters:

Array
(
)
Even Monkeys and Retards get it right with repitition! - Author Unknown
Quote · 20 Mar 2023

 I cannot replicate. Let me know if this is recurring error that you are still noticing or it happened just once.

I stumbled across error messages coming to the admin email which read:

"An uncaught exception was thrown in http://reunite-id.com/


Type: Error

Message: Call to a member function processPolls() on null

File: /home/reuniteid/public_html/modules/modzzz/polls/classes/BxPollsCron.php

Line: 43

Debug backtrace:

#0 /home/reuniteid/public_html/periodic/cron.php(117): BxPollsCron->processing()<br />
#1 /home/reuniteid/public_html/periodic/cron.php(133): runJob(Array)<br />
#2 {main}

Called script: cron.php


Request parameters:

Array
(
)

 

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 2 Apr 2023
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.