Forums / Addon Sideboxes / Poll Manager Support Thread

Poll Manager Support Thread

Views: 68,862

Results 81 to 100 of 149
12 Apr 2011, 7:37 AM
#81
kobra8 avatar

kobra8

Zen Follower

Join Date:
Mar 2009
Location:
Serbia
Posts:
350
Plugin Contributions:
0

Poll Manager Support Thread

boudewijn:

Hi,

I could make this an option, to display the vote button if 'Show vote button on overview page' is set to 'yes', and either 'Allow multiple votes' is set to 'yes', or the IP of the customer hasn't voted yet. What do you think?

Boudewijn

Hi Boudewijn,
if 'Show vote button on overview page' is set to 'yes' and IP of the customer hasn't voted yet.

To customer have opportunity to vote from overview page.

7 Jul 2011, 10:02 AM
#82
teaj avatar

teaj

New Zenner

Join Date:
Dec 2007
Location:
South, UK
Posts:
66
Plugin Contributions:
0

Re: Poll Manager Support Thread

Hello, I would like to put the poll manager poll and results on a page and not the sidebar.

I have copied the code from the sidebox template and put it on a page - this works if the sidebox is enabled too but if I disable it then the questions/poll dissappears.

Would you be able to advise me on this or should I give up?!

Thanks

7 Jul 2011, 10:45 AM
#83
boudewijn avatar

boudewijn

Zen Follower

Join Date:
Jun 2009
Posts:
207
Plugin Contributions:
0

Re: Poll Manager Support Thread

Hi,

The poll information is collected in the sidebox MODULE, and displayed in the sidebox TEMPLATE. I guess you only added the TEMPLATE code to your page? In that case, if you switch off the poll sidebox, it won't execute the module code anymore, and there will be nothing to display.
What you might try is add the MODULE code to your page too, this is in /includes/modules/sideboxes/<your template>/poll_box.php.

Please let me know how it works out!

Boudewijn

Boudewijn Sjouke
http://www.chinesedingen.nl

7 Jul 2011, 11:28 AM
#84
teaj avatar

teaj

New Zenner

Join Date:
Dec 2007
Location:
South, UK
Posts:
66
Plugin Contributions:
0

Re: Poll Manager Support Thread

Hi, many thanks for the quick reply. Yes this is what happened... it works fine when the module code is copied accross too. Just need to change the styling a little and it will look good on my page.

:) cheers Boudewijn!

24 Jul 2011, 10:49 AM
#85
rafcamera avatar

rafcamera

New Zenner

Join Date:
Mar 2006
Location:
Belarus
Posts:
63
Plugin Contributions:
0

Re: Poll Manager Support Thread

Hi!
I've installed the PM, but it throws me to login page when I'm clicking 'add option' or 'send' button. What can be wrong?
Thanks

1 Aug 2011, 5:43 AM
#86
boudewijn avatar

boudewijn

Zen Follower

Join Date:
Jun 2009
Posts:
207
Plugin Contributions:
0

Re: Poll Manager Support Thread

Hi,

What version of ZC are you running and what version of PM?

Boudewijn Sjouke
http://www.chinesedingen.nl

3 Aug 2011, 5:48 AM
#88
boudewijn avatar

boudewijn

Zen Follower

Join Date:
Jun 2009
Posts:
207
Plugin Contributions:
0

Re: Poll Manager Support Thread

Did the install script run without errors?
If you enabled error tracking, did it show any errors?

Boudewijn Sjouke
http://www.chinesedingen.nl

4 Aug 2011, 12:51 PM
#89
rafcamera avatar

rafcamera

New Zenner

Join Date:
Mar 2006
Location:
Belarus
Posts:
63
Plugin Contributions:
0

Re: Poll Manager Support Thread

No errors. But it seems that I've did something wrong during different mods installation since I can't even turn Website Maintenance On/Off (no options offered).
So, I'll wait till 1.5 release and rework on the mods then. Thanks for your time.

27 Aug 2011, 7:05 AM
#90
amyleew avatar

amyleew

Zen Follower

Join Date:
Jul 2009
Posts:
159
Plugin Contributions:
0

Re: Poll Manager Support Thread

boudewijn:

Hi,

The disappearing text issue won't be hard to fix. If you display the page without text, and view the page source in your browser, you will probably discover there that the texts are present, but invisible. This could very well be a CSS issue, where the style for the text is redefined in that specific template. The style for the poll box is 'sideBoxContent'.
If the site is accessible from outside, I can also have a look for you.

Hi there

The text for the options does not display on mine either (the question is there and the radio buttons below but they are blank so you don't know what each button is for). If you click and vote on one of the blank options it displays the text right in the results though.

I don't know what a CSS issue is. Are you able to give some more detailed instructions on how I can fix this? Other than not showing the text in that first instance it all works fine and looks like it will be very handy.

Amy

27 Aug 2011, 7:43 AM
#91
boudewijn avatar

boudewijn

Zen Follower

Join Date:
Jun 2009
Posts:
207
Plugin Contributions:
0

Re: Poll Manager Support Thread

amyleew:

Hi there

The text for the options does not display on mine either (the question is there and the radio buttons below but they are blank so you don't know what each button is for). If you click and vote on one of the blank options it displays the text right in the results though.

I don't know what a CSS issue is. Are you able to give some more detailed instructions on how I can fix this? Other than not showing the text in that first instance it all works fine and looks like it will be very handy.

Amy

Hi Amy,

Can you post a link to your site? I need to see the page to determine what is wrong and what should be fixed.

Thanks,
Boudewijn

Boudewijn Sjouke
http://www.chinesedingen.nl

27 Aug 2011, 7:59 AM
#92
amyleew avatar

amyleew

Zen Follower

Join Date:
Jul 2009
Posts:
159
Plugin Contributions:
0

Re: Poll Manager Support Thread

Thanks for your help - http://www.stampinstuff.com.au/

27 Aug 2011, 8:37 AM
#93
boudewijn avatar

boudewijn

Zen Follower

Join Date:
Jun 2009
Posts:
207
Plugin Contributions:
0

Re: Poll Manager Support Thread

amyleew:

Thanks for your help - http://www.stampinstuff.com.au/

Amy,

In your stylesheet (includes/templates/cherry_zen/css/stylesheet.css) the class clearBoth is defined with a font size of 0 pixels. This of course makes the text for the options invisible :-)

You can edit the stylesheet and remove that line from the class, although I am not sure what the impact will be on other parts of the site.

You can also alter the layout by editing includes/extra_configures/poll_box.php and change:

define('PM_POLL_OPTIONS_LAYOUT', 'style="width:99%;" class="clearBoth"');

to:

define('PM_POLL_OPTIONS_LAYOUT', 'style="width:99%; font-size: 12px;" class="clearBoth"');

This will at least fix the visibility issue.

Boudewijn

Boudewijn Sjouke
http://www.chinesedingen.nl

27 Aug 2011, 10:58 AM
#94
amyleew avatar

amyleew

Zen Follower

Join Date:
Jul 2009
Posts:
159
Plugin Contributions:
0

Re: Poll Manager Support Thread

We have the words visible now but the words are running over the radio buttons.

27 Aug 2011, 11:48 AM
#95
boudewijn avatar

boudewijn

Zen Follower

Join Date:
Jun 2009
Posts:
207
Plugin Contributions:
0

Re: Poll Manager Support Thread

amyleew:

We have the words visible now but the words are running over the radio buttons.

The problem is again the cherry_zen stylesheet. It defaults the radio button to padding 0px, causing the text to be right on it.
In the next version of PM I will probably add a separate stylesheet for the poll box, making it easier to overrule the faulty behaviour of a template.

For now, you have to make some adjustments to the code:

In the file: includes/templates/<YOUR TEMPLATE>/sideboxes/tpl_poll_box.php:

Line 120: $content .= '<div class="back" style="width:12%;">' . "\n";
Change the 12% to 16%

Line 122: $content .= '</div><div class="back" style="width:87%; line-height:1.5em;">' . $option['text'];
Change the 87% to 83%

Also I noticed that the poll form (and also the search box above it) are shifted to the right too much. You can fix this by altering the stylesheet I mentioned in my earlier post: set the margin in the "FORM" class from 0.5em to 0em. That looks much better But make sure that other input forms on your website are not affected in a negative way.

Boudewijn

Boudewijn Sjouke
http://www.chinesedingen.nl

29 Aug 2011, 10:37 AM
#96
amyleew avatar

amyleew

Zen Follower

Join Date:
Jul 2009
Posts:
159
Plugin Contributions:
0

Re: Poll Manager Support Thread

It worked! Thanks so much for your time and for the help you have given in addition to creating the mod in the first place. It looks like a great mod and in two days of the poll running it gave me the total opposite result (94%) to my own opinion so I can see that it will be very helpful in providing what my customers want.

3 Sep 2011, 12:14 AM
#97
d9studios avatar

d9studios

New Zenner

Join Date:
Jul 2009
Posts:
15
Plugin Contributions:
0

Re: Poll Manager Support Thread

I tried using the search function but couldn't find an answer. I'm using the latest version of Zen Cart and my shop can be found here: http://d9s.co/shop

The trouble I'm having is that I'm using the CSS button mod (found here) and while the Vote! button works fine, the other button shows up as "PM_GOTO_RESULT". I'm not sure who's mod to ask this on but I need to know what I need to edit to make "PM_GOTO_RESULT" say "See Results" or something like that.

Thank you for any help and for this wonderful mod. :)

3 Sep 2011, 5:00 AM
#98
boudewijn avatar

boudewijn

Zen Follower

Join Date:
Jun 2009
Posts:
207
Plugin Contributions:
0

Re: Poll Manager Support Thread

D9Studios:

I tried using the search function but couldn't find an answer. I'm using the latest version of Zen Cart and my shop can be found here: http://d9s.co/shop

The trouble I'm having is that I'm using the CSS button mod (found here) and while the Vote! button works fine, the other button shows up as "PM_GOTO_RESULT". I'm not sure who's mod to ask this on but I need to know what I need to edit to make "PM_GOTO_RESULT" say "See Results" or something like that.

Thank you for any help and for this wonderful mod. :)

Hi,

You truly found a bug in PM. A language constant is defined in the wrong place.
To correct this:

Add the line:
define('PM_GOTO_RESULT', 'All poll results');
to the file: /includes/languages/english/extra_definitions/poll_box.php

Be sure to add it BEFORE the line that contains ?>.

You also may remove the same line from the file: /includes/languages/english/poll_overview.php
But this is not absolutely necessary.

Furthermore I noticed that the radio buttons and the text of the poll options are very close to eachother. You may use the fix mentioned earlier (changing the percentages) to correct this.

Boudewijn

Boudewijn Sjouke
http://www.chinesedingen.nl

3 Sep 2011, 5:33 AM
#99
d9studios avatar

d9studios

New Zenner

Join Date:
Jul 2009
Posts:
15
Plugin Contributions:
0

Re: Poll Manager Support Thread

boudewijn:

Hi,

You truly found a bug in PM. A language constant is defined in the wrong place.
To correct this:

Add the line:
define('PM_GOTO_RESULT', 'All poll results');
to the file: /includes/languages/english/extra_definitions/poll_box.php

Be sure to add it BEFORE the line that contains ?>.

You also may remove the same line from the file: /includes/languages/english/poll_overview.php
But this is not absolutely necessary.

Furthermore I noticed that the radio buttons and the text of the poll options are very close to eachother. You may use the fix mentioned earlier (changing the percentages) to correct this.

Boudewijn

Thank you so much!! I'll go find that post on percentages now... :D