Enhanced Survey Block wont give random poll

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Enhanced Survey Block wont give random poll
prekill
CZ Newbie
prekill has been a member for over 18 year's 18 Year Member
Gender: Male
Status: Offline
Joined: Jul 15, 2005
0.00 posts per day
Posts: 28
Points: 148
   
Hey Telli

I have the Enhanced Survey Block by you, I change $make_random to 1 but it will not random.. any idea why?



Back to top Reply with quote
#2   
Telli
Site Admin
Telli has been a member for over 20 year's 20 Year Member
Occupation: Self Employed
Age: 45
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.06 posts per day
Posts: 8089
Points: 494,430
   
Silly question... do you have more then one poll?

Please attach the block in a zip file.




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#3   re: Enhanced Survey Block wont give random poll
prekill
CZ Newbie
prekill has been a member for over 18 year's 18 Year Member
Gender: Male
Status: Offline
Joined: Jul 15, 2005
0.00 posts per day
Posts: 28
Points: 148
   
yeah, I got a few...



Attached Files
CZEnhancedSurvey.zip (2.2 KB, Downloaded: 883 Time(s))


Back to top Reply with quote
#4   
Telli
Site Admin
Telli has been a member for over 20 year's 20 Year Member
Occupation: Self Employed
Age: 45
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.06 posts per day
Posts: 8089
Points: 494,430
   
For some reason the zip file won't open. Please try making a new zip file and attaching it.




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#5   re: Enhanced Survey Block wont give random poll
prekill
CZ Newbie
prekill has been a member for over 18 year's 18 Year Member
Gender: Male
Status: Offline
Joined: Jul 15, 2005
0.00 posts per day
Posts: 28
Points: 148
   
here you go:



Attached Files
Enhanced-Survey.zip (2.76 KB, Downloaded: 888 Time(s))


Back to top Reply with quote
#6   
Telli
Site Admin
Telli has been a member for over 20 year's 20 Year Member
Occupation: Self Employed
Age: 45
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.06 posts per day
Posts: 8089
Points: 494,430
   
The block you attached says: $make_random = 0;

In order for it be random it needs to be: $make_random = 1;

Can you verify that it is set to that?

After that it is pretty much straight forward.




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#7   re: Enhanced Survey Block wont give random poll
prekill
CZ Newbie
prekill has been a member for over 18 year's 18 Year Member
Gender: Male
Status: Offline
Joined: Jul 15, 2005
0.00 posts per day
Posts: 28
Points: 148
   
It is set to 1... icon_idea.gif (aint that stupid.. lol! icon_biggrin.gif )



Back to top Reply with quote
#8   
Telli
Site Admin
Telli has been a member for over 20 year's 20 Year Member
Occupation: Self Employed
Age: 45
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.06 posts per day
Posts: 8089
Points: 494,430
   
Can you attach a copy of your DB table nuke_poll_desc please. You havnt made any changes to the block itself?




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#9   re: Enhanced Survey Block wont give random poll
prekill
CZ Newbie
prekill has been a member for over 18 year's 18 Year Member
Gender: Male
Status: Offline
Joined: Jul 15, 2005
0.00 posts per day
Posts: 28
Points: 148
   


icon_rolleyes.gif



Back to top Reply with quote
#10   
Telli
Site Admin
Telli has been a member for over 20 year's 20 Year Member
Occupation: Self Employed
Age: 45
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.06 posts per day
Posts: 8089
Points: 494,430
   
Do you have some sort of a cache system?


Try running this query in phpmyadmin:


SELECT * FROM nuke_poll_desc ORDER BY RAND() LIMIT 1;


And see if it returns a random result...



_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum