Thread: IPB add banner
View Single Post
08-17-2006, 11:37 AM
#6
fluke is offline fluke
Status: I'm new around here
Join date: Jun 2006
Location:
Expertise:
Software:
 
Posts: 17
iTrader: 0 / 0%
 

fluke is on a distinguished road

  Old

okay the instructions i said before will show the message to all people. if you want to do that then put a code like

HTML Code:
<table  width="100%" cellspacing="2" cellpadding="2">
	<tr>
		<td class="message" bgcolor="#b00203"><img src="stop.gif" style="float: left;" alt="" /><font color="#FFFFFF"><strong>HELLO AND WELCOME!</strong> 
		<br>Thanks for stopping by. Before you can post a question give an answers 
		or access our downloads , you'll have to 
		</font> 
		<a href="register.php" rel="nofollow" style="text-decoration: none;font-weight:700">
		<font color="#FFFFFF">register</font></a><font color="#FFFFFF"> -- it's completely free! If you just want to browse through the existing questions, just select the forum that you want to visit from the selection below. Otherwise, 
		</font> 
		<a href="register.php" rel="nofollow" style="text-decoration: none;font-weight:700">
		<font color="#FFFFFF">click here to register!</font></a>
</td>	</tr>
</table>
where i told you before


if you want it to only be shown to unregistered people then you have to do it differently.

log in to admin cp, then go look and feel. in the skin sets click the button on the right of the skin you want to edit and then in the drop down menu choose "edit template html". now click on "all global html" and then more links will appear on the right hand side. Find the "member bar" and click that.

a text box will appear, scroll to the bottom of that and put in the code


HTML Code:
<!-- guest welcome message -->
<if="ipb.member['id'] == 0"> 

	

<table  width="100%" cellspacing="2" cellpadding="2">
	<tr>
		<td class="message" bgcolor="#b00203"><img src="stop.gif" style="float: left;" alt="" /><font color="#FFFFFF"><strong>HELLO AND WELCOME!</strong> 
		<br>Thanks for stopping by. Before you can post a question give an answers 
		or access our downloads , you'll have to 
		</font> 
		<a href="register.php" rel="nofollow" style="text-decoration: none;font-weight:700">
		<font color="#FFFFFF">register</font></a><font color="#FFFFFF"> -- it's completely free! If you just want to browse through the existing questions, just select the forum that you want to visit from the selection below. Otherwise, 
		</font> 
		<a href="register.php" rel="nofollow" style="text-decoration: none;font-weight:700">
		<font color="#FFFFFF">click here to register!</font></a>
</td>	</tr>
</table>	


</if>
<!-- / guest welcome message -->
save it. now a message will appear to your guests only.



Hope one of the methods is what you want




(the table code i told you to put in is copied directly from that site your suggested. Use your sense to see how you want to edit it to your needs)