not lucky
check:
http://saxxon.squadcenter.de
what did i do:
Step 1
vbindex.php
PHP Code:
eval("dooutput(\"".gettemplate('home')."\");");
change to:
PHP Code:
$shout = $DB_site->query_first("SELECT u.username, s.userid, s.shout_text, s.timestamp FROM user u, shoutbox s WHERE u.userid = s.userid ORDER BY s.timestamp DESC LIMIT 1");
$shout[timestamp] = vbdate('n-j-y, g:i:s a', $shout[timestamp]);
$shout[shout_text] = bbcodeparse($shout[shout_text]);
eval("\$the_shoutbox .= \"".gettemplate("home_shoutbox")."\";");
eval("dooutput(\"".gettemplate('home')."\");");
Step 2
template (home_right) p.s. i was modify home_right template
PHP Code:
<td width=165 valign="top">
<table cellpadding="0" cellspacing="0" border="0" width=165>
<tr>
<td width=165 valign="top">
<table cellpadding="0" cellspacing="0" border="0" width="165" align="center" bgcolor="{tablebordercolor}" >
<tr>
<td>
<table cellpadding="4" cellspacing="1" border="0" width="165">
<tr>
<td bgcolor="{tableheadbgcolor}"><center><normalfont><b>Downloads</b></normalfont></center></td>
</tr>
<tr>
<td bgcolor="{firstaltcolor}">
<smallfont>
<center><b>Custom Maps</b></center>
<p>
You will need these custom maps to be able to play on the 4th server!
<p>
<b><big>?</big></b> <a href=http://4th.croox.de/Maps2/allmaps.zip>Map-Pack</a>
<p>
<center>Or Download them Individually</center>
<p>
<b><big>?</big></b> <a href=http://4th.croox.de/Maps2/User-obj_thunder.pk3>Thunder</a><br>
<b><big>?</big></b> <a href=http://4th.croox.de/Maps2/User-zutphen.pk3><b>Zutphen</b></a><br>
<b><big>?</big></b> <a href=http://4th.croox.de/Maps2/user-courtyardv1_1.pk3>Courtyard</a><br>
<b><big>?</big></b> <a href=http://4th.croox.de/Maps2/push_cityhall.pk3>CityHall Push</a><br>
<b><big>?</big></b> <a href=http://4th.croox.de/Maps2/thefarm.pk3>The Farm</a><br>
<b><big>?</big></b> <a href=http://4th.croox.de/Maps2/user-dasboot.pk3> <b>Dasboot</b></a>
<p>
<b>Bold</b> = Upgrade or new map
<p>
<center>For Download Instructions click <a href="misc.php?action=faq&page=5">here</a></center>
</smallfont>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
change to:
PHP Code:
<td width=165 valign="top">
<table cellpadding="0" cellspacing="0" border="0" width=165>
<tr>
<td width=165 valign="top">
<table cellpadding="0" cellspacing="0" border="0" width="165" align="center" bgcolor="{tablebordercolor}" >
<tr>
<td>
<table cellpadding="4" cellspacing="1" border="0" width="165">
<tr>
<td bgcolor="{tableheadbgcolor}"><center><normalfont><b>Downloads</b></normalfont></center></td>
</tr>
<tr>
<td bgcolor="{firstaltcolor}">
<smallfont>
<center><b>Custom Maps</b></center>
<p>
You will need these custom maps to be able to play on the 4th server!
<p>
<b><big>?</big></b> <a href=http://4th.croox.de/Maps2/allmaps.zip>Map-Pack</a>
<p>
<center>Or Download them Individually</center>
<p>
<b><big>?</big></b> <a href=http://4th.croox.de/Maps2/User-obj_thunder.pk3>Thunder</a><br>
<b><big>?</big></b> <a href=http://4th.croox.de/Maps2/User-zutphen.pk3><b>Zutphen</b></a><br>
<b><big>?</big></b> <a href=http://4th.croox.de/Maps2/user-courtyardv1_1.pk3>Courtyard</a><br>
<b><big>?</big></b> <a href=http://4th.croox.de/Maps2/push_cityhall.pk3>CityHall Push</a><br>
<b><big>?</big></b> <a href=http://4th.croox.de/Maps2/thefarm.pk3>The Farm</a><br>
<b><big>?</big></b> <a href=http://4th.croox.de/Maps2/user-dasboot.pk3> <b>Dasboot</b></a>
<p>
<b>Bold</b> = Upgrade or new map
<p>
<center>For Download Instructions click <a href="misc.php?action=faq&page=5">here</a></center>
</smallfont>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td width=165 valign="top">
<table cellpadding="0" cellspacing="0" border="0" width="165" align="center" bgcolor="{tablebordercolor}" >
<tr>
<td>
<table cellpadding="4" cellspacing="1" border="0" width="165">
<tr>
<td bgcolor="{tableheadbgcolor}"><center><normalfont><b>Shoutbox</b></normalfont></center></td>
</tr>
<tr>
<td bgcolor="{firstaltcolor}">
<table width="100%" cellpadding="2" cellspacing="0">
$the_shoutbox
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
Step 3
Add new template (home_shoutbox)
PHP Code:
<tr>
<td bgcolor="{secondaltcolor}" colspan="6"><smallfont><b>Posted by <a href="$bburl/member.php?s=$sesion[sessionhash]&action=getinfo&userid=$shout[userid]" class="small">$shout[username]</a> on $shout[timestamp]</b></smallfont><br/><smallfont>$shout[shout_text]</smallfont></td>
</tr>
I did wrong?