Sorry for niewbie information, but i have installed new mod and i have a new line in forumhome. the code is:
<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat" colspan="2">
<if condition="can_moderate()">
<a class="smallfont" style="float:$stylevar[right]" href="#" onclick="return new_random_user.init()" target="_blank">[Re-Draw]</a>
</if>
User of the day!
</td>
</tr>
<tr>
<td class="thead" width="50%">Avatar</td>
<td class="thead" width="50%">Username</td>
</tr>
<tr>
<td class="alt1" id="ru_avatar"><if condition="$randomisedavatar">$randomisedavatar<else />The user does not have an avatar.</if></td>
<td class="alt1" id="ru_user">$randomisedusername</td>
</tr>
</table>
<script type="text/javascript">
<!--
reload_user = function()
{
this.init = function()
{
this.ajax = new vB_AJAX_Handler(true)
this.ajax.onreadystatechange(new_random_user.update)
this.ajax.send('pickuser.php', '')
return false
}
this.update = function()
{
if (new_random_user.ajax.handler.readyState == 4 && new_random_user.ajax.handler.status == 200 && new_random_user.ajax.handler.responseText)
{
new_random_user.update_info = new_random_user.ajax.handler.responseText.split('|||')
new_random_user.do_update()
}
}
this.do_update = function()
{
fetch_object('ru_user').innerHTML = new_random_user.update_info[0]
fetch_object('ru_avatar').innerHTML = new_random_user.update_info[1] ? new_random_user.update_info[1] : 'The user does not have an avatar.'
}
}
new_random_user = new reload_user;
-->
</script>
For aquasoft skin request modifications?
Thanks for support ![]()
Aqua-Soft Forums