| 
			
			
			 
				Chi Kien Uong  
				Geranienstraße 30  
				71034 Böblingen  
				Deutschland / Germany
			 
		 | 
		
	
		
			
				
					
						
							If you are not registered or logged in, you may still use these forums but with limited features.
							 Show recent topics
						 
					 | 
					
						
					 | 
				 
			 
		 | 
	 
	
		
	
		
			
			
			
			
				
				
					| Author | 
					Message | 
				 
				 
	
					
						
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 23/06/2008 00:02:49
	  
	
	
 						 | 
					 
					
						
						
thCAli
 
	Newbie
	 
  
	Joined: 22/06/2008 23:52:18 
	Messages: 2
 
		Offline 
 						 | 
		
						
						
							
									Hello! I think i looked every topic according adv. poll, but didn't find any type of my problem. So. I have a gallery, which information is stored in MySQL DB. And i want to put a VOTE button under every photo. By clicking on it, a popup window pops up (     ) and the vote appears there. BUT! I don't want to make for every photo a photoid.php file! I want to have one file, which will work for every photo. I've tried to modify the source code like this:
   
  but it didn't work. I mean, that it showed the adv.vote's index page, where user can choose his answer and vote. but when i click vote, i have the next error message:
  
			Poll ID  does not exist. 
		 
  please, help me! how can i do it?
  
  my second question is, how can i make comments public?
  
  best regards: Aliii   
							
							
						 | 
					 
		
					 
						| 
						 | 
					 
	
					
						
	
				
		![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 24/06/2008 15:14:47
	  
	
	
 						 | 
					 
					
						
						
thCAli
 
	Newbie
	 
  
	Joined: 22/06/2008 23:52:18 
	Messages: 2
 
		Offline 
 						 | 
		
						
						
							
									i've solved it. just had to modify the /include/class_poll.php file too..
							
							
						 | 
					 
		
					 
						| 
						 | 
					 
				
		
				
					| 
						
					 | 
				 
			 
		
			
			
			
			
			
		 | 
	 
 
 | 
 
	
		| 
			
		 | 
	 
 
	
		Based on the open source JForum
	
 
		 |