| Author | 
					Message | 
				
				 
	
					
						
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 11/01/2002 18:23:43
	  
	
	
 						 | 
					
					
						
						
Anonymous
 
  
 
 						 | 
		
						
						
							
									Hello,
  
  Is it possible to have numbers in front of the poll options showing the order, let's say from 1 to 10, descending by votes.
  
  Like this:
  
  1. option1 15votes
  2. option2 10votes
  3. option3 4votes
  ...
  
  I want to have the numbers in bold appear in my poll.
  
  Thank You
  
  btw. Very nice forum   
							
							
						 | 
					
		
					 
						| 
						 | 
					
	
					
						
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 11/01/2002 20:15:20
	  
	
	
 						 | 
					
					
						
						
Anonymous
 
  
 
 						 | 
		
						
						
							
									I really need this.     Please help me   
							
							
						 | 
					
		
					 
						| 
						 | 
					
	
					
						
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 13/01/2002 09:56:16
	  
	
	
 						 | 
					
					
						
						
Anonymous
 
  
 
 						 | 
		
						
						
							
									Come on. Anyone.....
							
							
						 | 
					
		
					 
						| 
						 | 
					
	
					
						
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 14/01/2002 12:35:42
	  
	
	
 						 | 
					
					
						
						
Anonymous
 
  
 
 						 | 
		
						
						
							
									possible,  but only with the mysql version.
  
  add the following lines
  
  function view_poll_result() {
  .
  .
  for ($i=0;$i<sizeof($this->options[$poll_id]['option_id']);$i++) {
     $option_id = $this->options[$poll_id]['option_id'][$i]; /* add this */
  .
  
  and add '$option_id ' to the templates 'result_loop'
							
							
						 | 
					
		
					 
						| 
						 | 
					
	
					
						
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 15/01/2002 19:06:05
	  
	
	
 						 | 
					
					
						
						
Anonymous
 
  
 
 						 | 
		
						
						
							
									Ok. I'll try it out and report.
  
  Thanks
							
							
						 | 
					
		
					 
						| 
						 | 
					
	
					
						
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 15/01/2002 19:37:11
	  
	
	
 						 | 
					
					
						
						
Anonymous
 
  
 
 						 | 
		
						
						
							
									That's not what I want. I don't want option_id in front of my options but the exact numbers, 1, 2, 3,...10. Sort of top 10 list.
  
  Is that possible?
							
							
						 | 
					
		
					 
						| 
						 | 
					
	
					
						
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 16/01/2002 10:27:17
	  
	
	
 						 | 
					
					
						
						
Anonymous
 
  
 
 						 | 
		
						
						
							
									$option_id = $i+1;
							
							
						 | 
					
		
					 
						| 
						 | 
					
	
					
						
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 16/01/2002 21:08:40
	  
	
	
 						 | 
					
					
						
						
Anonymous
 
  
 
 						 | 
		
						
						
							
									Great it works. Thank you.
							
							
						 | 
					
		
					 
						| 
						 | 
					
	
					
						
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 16/01/2002 21:48:46
	  
	
	
 						 | 
					
					
						
						
Anonymous
 
  
 
 						 | 
		
						
						
							
									OK, I have another question.
  
  Is it possible to display that in a 'normal' poll? Not only the results. I've been trying something out, but it doesn't work.
  
  Thanks
							
							
						 | 
					
		
					 
						| 
						 | 
					
				
		
				
					| 
						
					 |