2009-07-03, 04:19 PM
Hi,
I'm sending my new release that does this: http://ketto.altervista.org/forum/index.php
You can view that the browser redirects to profile page of moderator
You must follow only 5 little steps
1)
In forumbit_depth1_cat edit
2)
Add after
this
3)
In Ungrouped Templates > headerinclude insert this
after
4)
In forumbit_depth2_forum insert
after
5)
Modify file ./inc/functions_forumlist.php inserting
Byeeeee
I'm sending my new release that does this: http://ketto.altervista.org/forum/index.php
You can view that the browser redirects to profile page of moderator
You must follow only 5 little steps
1)
In forumbit_depth1_cat edit
<td class="thead" colspan="5">
with<td class="thead" colspan="6">
2)
Add after
<td class="tcat" width="200" align="center"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></td>
this
<td class="tcat" width="200" align="center"><span class="smalltext"><strong>Moderators</strong></span></td>
3)
In Ungrouped Templates > headerinclude insert this
function redirect( optionValue ) {
var uid;
var address;
uid = optionValue
address = "member.php?action=profile&uid=";
location.href = address+uid;
}
after
// -->
4)
In forumbit_depth2_forum insert
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap"><form>
<select name="test" onchange="redirect(this.value);">
<option value="" selected>Moderators</option>
{$moderators}
</select>
</form> </td>
after
<td class="{$bgcolor}" valign="top" align="right" style="white-space: nowrap">{$lastpost}</td>
5)
Modify file ./inc/functions_forumlist.php inserting
$moderators .= "<option value=\"".get_profile_link($moderator['uid'])."\">".htmlspecialchars_uni($moderator['username'])."</option>";
instaed of$moderators .= "<br /><a href=\"".get_profile_link($moderator['uid'])."\">".htmlspecialchars_uni($moderator['username'])."</a>";
Byeeeee