7 of 7
7
LG Polls: Ready for purchase
Posted: 01 April 2009 11:52 PM   [ Ignore ]   [ # 109 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  391
Joined  02-03-2005

I just installed LG_Poll, and it broke my control panel. I uploaded all of the files as specified in the instructions, and clicked the link to install the module. When I click the install link, it just loads a blank page. If I go back, it shows the module is not installed, and when I try to load the extensions manager, I also get a blank page.

Edit: I’m running EE 1.6.7, and it is installed on a subdomain.

Seems to be a problem with the ext.lg_polls_controller.php file. If I remove that from the extensions manager, the page comes back.

 Signature 

Artificial Memory

Profile
 
 
Posted: 19 April 2009 02:02 PM   [ Ignore ]   [ # 110 ]  
Summer Student
Total Posts:  1
Joined  07-26-2004
sv - 05 March 2008 12:13 AM

In EEPolls, polls could be presented so that two buttons appeared, one for submitting a vote, the other for viewing the results before voting. A reader of our site initially would see the poll question, the possible answers and two buttons. If they chose not to vote, by clicking on “View” they could still see the results.

LG Polls has the same functionality, but—if I’m understanding the documentation correctly—the only way to accomplish this is to display the poll question, the possible answers and the “Submit” button along with the poll answers repeated with their respective results. In other words, the reader sees the answers twice, which is redundant.

Would it possible to include an “either-or” function in LG Polls so that someone who has not voted has the choice of either voting or viewing the current results, but not both at the same time?

Leevi Graham - 05 March 2008 12:18 AM

When rendering the poll you display the question and answers in one div (div 1) and the existing poll results in another hidden div (div 2).
Now add a link inside div 1 which when clicked hides div 1 and shows div 2.

Hi Leevi,
If my polls is set at “After vote is cast”, the

{results_answers} 

tag can’t display the result after the expired date.

I put

{results_answers} 
inside
{if expired} 

tag, but I can’t get the results (only manage to show total votes).

What is the right way to show result for both “After vote is cast” and “After vote has expired”?

Thank you.

Profile
 
 
Posted: 14 July 2009 02:45 PM   [ Ignore ]   [ # 111 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  101
Joined  04-11-2003

We cannot view statistics on one of our polls, I presume due to a high number of votes - over 40K.  Is there any way this can be fixed?

Profile
 
 
Posted: 14 October 2009 08:38 AM   [ Ignore ]   [ # 112 ]  
Lab Assistant
RankRank
Total Posts:  216
Joined  08-28-2008
Leevi Graham - 29 July 2008 10:38 PM

I always use relationships to attach a poll to an entry. That should solve your problem.  Cheers

Hi Leevi
Can you show me the code you use to do attach a poll to an entry. I seem to be having a few problems and wonder is it the embed components that is causing the problems.

Thanks

Profile
 
 
Posted: 14 October 2009 05:03 PM   [ Ignore ]   [ # 113 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1336
Joined  01-24-2006
Alli - 14 October 2009 12:38 PM
Leevi Graham - 29 July 2008 10:38 PM

I always use relationships to attach a poll to an entry. That should solve your problem.  Cheers

Hi Leevi
Can you show me the code you use to do attach a poll to an entry. I seem to be having a few problems and wonder is it the embed components that is causing the problems.

Thanks

Does your parent entry have a relationship custom field?

 Signature 

EE-Garage.com - All my ExpressionEngine 2 Addons!


EE2 - NSM Better Meta - SEO Meta & XML Sitemap Generator
EE2 - NSM Live Look - Real entry previews


Newism - Newcastle - ExpressionEngine Experts

Profile
 
 
Posted: 14 October 2009 05:32 PM   [ Ignore ]   [ # 114 ]  
Lab Assistant
RankRank
Total Posts:  216
Joined  08-28-2008

Yes and I can choose the correct poll from the drop down.

Profile
 
 
Posted: 26 October 2009 01:36 PM   [ Ignore ]   [ # 115 ]  
Lab Assistant
RankRank
Total Posts:  216
Joined  08-28-2008

Sorry to bump this but I am still having problems getting the Polls to attach and display to a related entry.

Leevi could you show me an example?

Thanks

Alli

Profile
 
 
Posted: 07 December 2009 08:43 PM   [ Ignore ]   [ # 116 ]  
Grad Student
Avatar
Rank
Total Posts:  50
Joined  12-26-2007

Hello everyone, I’ve just installed LG_Polls, and everything seemed to work.

As Levi said in a previous post in this thread, adding custom fields to my poll weblog was as easy as with any other weblog. However I’ve been trying to display a comment form too, but I had no luck. The code snippet is correct, if I paste it in any other weblog I get a fully functioning comment form. I checked the weblog settings, and comments are allowed, so apparently there’s no reason why comments shouldn’t show on my polls page.

Does anyone have a clue about what could be causing this error? I’m sure I must be doing something wrong…

Solved: I made some changes to my template and now I have comments on my page. Still don’t know what caused the problem, but it must have been some missing tag.

Profile
 
 
Posted: 13 January 2010 10:48 PM   [ Ignore ]   [ # 117 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  141
Joined  09-22-2009
Leevi Graham - 29 January 2008 06:45 AM
mdesign - 18 January 2008 10:46 PM

I think e-junkie looks pretty cool,

E-Junkie sound nice ....

Leevi, just curious here - can I ask what you ended up doing on your site?  I bought something from you and liked the checkout process.

Did you go with e-junkie? Or simple commerce?

Profile
 
 
Posted: 28 January 2010 04:23 PM   [ Ignore ]   [ # 118 ]  
Lab Assistant
RankRank
Total Posts:  268
Joined  06-26-2008

Hey Levi,

I posted about a strange quirk I’m having in this thread. Wanted to repost here in case this is a better way to reach you.

First, thanks for a great module! It’s been a popular part of our site, and well worth the money.

One problem: When I display an index of all my polls, the “Loading…” animation appears no matter which poll you’re voting in, but it always appears within the box of the first poll. This is a difficult problem to describe, so check it out here:
http://uvamagazine.org/polls/

Take the second or third poll, and once you vote, notice how the “loading” animation appears on the FIRST poll.

Is there any way I can fix this?

Thank you!

Brittany

Profile
 
 
Posted: 20 February 2010 06:28 AM   [ Ignore ]   [ # 119 ]  
Grad Student
Rank
Total Posts:  42
Joined  10-28-2007

Hi Leevi,

will there be an EE2.0 version of lg_poll?

Kindly
Frank

Profile
 
 
Posted: 02 March 2010 10:17 AM   [ Ignore ]   [ # 120 ]  
Lab Assistant
RankRank
Total Posts:  268
Joined  06-26-2008

Hey Leevi,

Tried lots of different fixes for the strange position of the “Loading…” animation when I have multiple polls on the page, but no such luck. Any ideas? Is there a better way to get LG polls support (on your personal site, for example)? Thank you so much!

Brittany

Profile
 
 
Posted: 03 March 2010 01:38 PM   [ Ignore ]   [ # 121 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  127
Joined  07-20-2006

Leevi-

Thanks for the excellent LG Polls. I’m styling my poll template right now, but I can’t seem to get the pie chart to show completely within the size I’m specifying. I would like my pie chart to fit to 180px wide (it’s in a sidebar). I looked at the LG Polls doc’n but did not see anything about minimum dimensions.

What I’m finding is that any width less than 300 and the contents of my chart image begins to get cropped on either side. Oddly, the chart image is scaled down as I specify a smaller width—so specifying size to be 100x100 shows a much smaller pie chart than when the size is at 280x280—but the contents of the chart image are still cropped on either side.

Any comments are appreciated! smile

Profile
 
 
   
7 of 7
7