MyBB Community Forums

Full Version: Mod Block Whith Mouseover
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
English
You Know mouseover effect is don't run when we add mod block but after now it will run Big Grin My english is not full Big Grin

Turkish
Bildiğiniz Üzere Normalde moderatör blogunu eklediğimizde ana sayfada forumların üzerindeki mouseover gidiyodu bu sabah daredle konuşurken ne yapabilirim dedim madem öle bende şunu düzeltip yayınliim dedim nese fazla uzatmayalım yolumuz uzun Smile



Author;Guild M@ster
Demo;www.atlagelabi.net



Open>> index.php

find
SELECT m.uid, m.fid, u.username

change

SELECT m.uid, m.fid, u.username, u.usergroup, u.displaygroup

open functions_forumlist.php

find
$moderators .= "{$comma}<a href=\"member.php?action=profile&amp;uid={$moderator['uid']}\">".htmlspecialchars_uni($moderator['username'])."</a>";

change
$moderators .= "{$comma}<a href=\"member.php?action=profile&uid={$moderator['uid']}\"> ".format_name($moderator['username'], $moderator['usergroup'], $moderator['displaygroup'])."</a>";

Open forumbit_depth1_cat and Change all with this

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead" colspan="7">
<div class="expcolimage"><img src="{$theme['imgdir']}/{$expcolimage}" id="cat_{$forum['fid']}_img" class="expander" alt="{$expaltext}" /></div>
<div><strong><a href="forumdisplay.php?fid={$forum['fid']}">{$forum['name']}</a></strong><br /><div class="smalltext">{$forum['description']}</div></div>
</td>
</tr>
</thead>
<tbody style="{$expdisplay}" id="cat_{$forum['fid']}_e">
<tr>
<td class="tcat" width="35"> </td>
<td class="tcat" width="59%"><strong>{$lang->forumbit_forum}</strong></td>
<td class="tcat" width="65" align="center" style="white-space: nowrap"><strong>Konular</strong></td>
<td class="tcat" width="65" align="center" style="white-space: nowrap"><strong>Mesajlar</strong></td>
<td class="tcat" width="200" align="center"><strong>{$lang->forumbit_lastpost}</strong></td>
<td class="tcat" width="20" align="center"><b>    Yönetici </b></td>
</tr>
{$sub_forums}
</tbody>
</table>
<br />

Open forumbit_depth2_forum and Change all with this

<tr>
<td class="{$bgcolor}" align="center" valign="top"><img src="{$theme['imgdir']}/{$lightbulb['folder']}.gif" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" /></td>
<td class="{$bgcolor}" valign="top"style='background:#F7F7F7 no-repeat bottom right;' 
onclick="window.location.href='forumdisplay.php?fid={$forum['fid']}'" onMouseOver="this.style.background='#e7fcba url(images/mouseover.png) no-repeat bottom right'; this.style.cursor='pointer'" onMouseOut="this.style.background='#F7F7F7   no-repeat bottom right';">
<strong><a href="forumdisplay.php?fid={$forum['fid']}">{$forum['name']}</a></strong><div class="smalltext">{$forum['description']}{$modlist}{$subforums}</div>
</td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$threads}{$unapproved['unapproved_threads']}</td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$posts}{$unapproved['unapproved_posts']}</td>
<td class="{$bgcolor}" valign="top" align="left" style="white-space: nowrap"><table width="230"> $lastpost</table></td>
<td class="$bgcolor" valign="top" align="center" nowrap="nowrap" style='background:#F7F7F7 no-repeat bottom right;' 
onclick="window.location.href='forumdisplay.php?fid={$forum['fid']}'" onMouseOver="this.style.background='#e7fcba url(images/mouseover.png) no-repeat bottom right'; this.style.cursor='pointer'" onMouseOut="this.style.background='#F7F7F7   no-repeat bottom right';">
<table width="100">$moderators</table>
</tr></td>
</tr>


#F7F7F7 it mouseover colour you can change it if you want

graphic for mouseover Wink
[Image: mouseover.png]
süpersin guild master ellerine sağlık dostum....