The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Hey Guys,
Im trying to add a php code that will show up under the navigation bar and the php code is the following: PHP Code:
Quote:
|
|
#2
|
|||
|
|||
|
In the place you want to put it in the template use this code.
Quote:
|
|
#3
|
|||
|
|||
|
Cheers !
but for some reason the background image on the table doesnt showup
|
|
#4
|
|||
|
|||
|
instead of $_GET['f'] its nicer if you use <if condition="$forumid==34">
and what exactly have you written? |
|
#5
|
|||
|
|||
|
thanks for the reply, but no images will show. this is the source i have put in.
Code:
<if condition="$forumid==44">
<head>
<style type="text/css">
<!--
.style1 {
color: #FFFFFF;
font-weight: bold;
}
-->
</style>
</head>
<body>
<div align="center">
<table width="569" height="104" border="0" cellpadding="0" cellspacing="0">
<tr>
<td background="http://img237.imageshack.us/img237/5152/lottohk5.gif" valign="top"><table width="100%" height="98" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="47" colspan="3"> </td>
<td colspan="4" valign="bottom"><div align="center"><span class="style1">Next Draw: Saturday 26th January </span></div></td>
</tr>
<tr>
<td width="20%"><div align="center"><strong>
</strong><span class="style1">Last Weeks<br />
Results:</span></div></td>
<td width="13%"> <strong>10</strong></td>
<td width="11%"> <strong>24</strong></td>
<td width="16%"> <strong> 28</strong></td>
<td width="13%"> <strong>37</strong></td>
<td width="13%"> <strong> 39</strong></td>
<td width="14%"> <strong> 40</strong></td>
</tr>
</table></td>
</tr>
</table>
</div>
</body>
</if>
|
|
#6
|
|||
|
|||
|
why are you using head&body in the code
and where exactly did you put this code in? |
|
#7
|
|||
|
|||
|
i dont really know, im weird.
I put it at the very bottom of Navbar Template so it shows under the nav bar. --------------- Added [DATE]1200850168[/DATE] at [TIME]1200850168[/TIME] --------------- ok never mind sorted it by adding it to the CSS background |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|