Page 1 of 1
		
			
				Display if not logged in
				
Posted: 
Wed Aug 02, 2006 3:33 am 
				Author: maddocks
				Hi,
how do i make a button only display when the user is not logged in. It is a (register) button and is displayed next to post reply and new topic in the viewtopic.php file. Thanks
Maddocks
			 
			
		
			
				Re: Display if not logged in
				
Posted: 
Wed Aug 02, 2006 3:38 am 
				Author: Teelk
				In templates/yourtheme/viewtopic_body.tpl you can add the switches...
<BEGIN>
and
<END>
...around the image.
			 
			
		
			
				Re: Display if not logged in
				
Posted: 
Wed Aug 02, 2006 4:00 am 
				Author: maddocks
				omg, yes i completely forgot about that. Thanks Mate for reminding me!
maddocks
			 
			
		
			
				
				
Posted: 
Wed Aug 02, 2006 4:17 am 
				Author: maddocks
				hi,
that is not working, here is my code:
	<BEGIN> 
<a><img></a>
<END>
Thanks
maddocks
			 
			
		
			
				Re: Display if not logged in
				
Posted: 
Wed Aug 02, 2006 9:41 pm 
				Author: Teelk
				Try putting it around the cell <td> tags, or if your code isn't using those just around that image, you can add <span></span> around it and see if that works.  I believe it must be around a cell though.