MyBB Central

Full Version: Need Help :D
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello, how I can do this? :

[Image: vmiraqd1.png]

When you pass mouse changes.


LINK:

http://www.mersinfenlisesi.com/index.php

Thanks
That's some simple template and css edits.

You will probably need to make a new class for those rows and then of course add the css to the theme. Specifically I can't recall which templates to change but look in source code as it always gives the template names by default inside comment tags.

Here is his TD btw from forumbit_depth2_forum template.

Code:
<td class="trow1" valign="top"
style='background:#F7F7F7 no-repeat bottom right;'
onclick="window.location.href='forumdisplay.php?fid=6'" onMouseOver="this.style.background='#e7f5bc url(images/mflsummer/mouseover.gif) no-repeat bottom right'; this.style.cursor='pointer'" onMouseOut="this.style.background='#F7F7F7   no-repeat bottom right';">
<strong><a href="forumdisplay.php?fid=6">MFL Forum Kurallarý</a></strong><div class="smalltext">Tüm üyelerimizin uymasý forumlarda uymasý gereken kurallar...Üye olmadan önce lütfen forum kurallarýmýzý okuyunuz!...</div>
</td>


It's pretty much all there. That should be enough for you to do the rest.
really easy, thanks labrocca Big Grin
Ok I am a noob LOL. I am getting some difficulty.

I copied this from source page

Quote:<td class="trow2" valign="top" 'onclick="window.location.href='forumdisplay.php?fid=46'" onMouseOver="this.style.background='#efefef url(images/go.png) no-repeat bottom right'; this.style.cursor='pointer'" onMouseOut="this.style.background='#F7F7F7 no-repeat bottom right';">

Now I don't get what to modify and replace here

Quote:'onclick="window.location.href='forumdisplay.php?fid=46'"
Try this - forumbit_depth2_forum

'onclick="window.location.href='{$forum_url}'"
Thx Jsen, that helped. But inserting this code messed up my forum, not sure what to do.

My forumbit_depth2_forum

PHP Code:
<tr>
<
td class="{$bgcolor}align="center" valign="top" width="1"><img src="{$theme['imgdir']}/{$lightbulb['folder']}.gif" alt="{$lightbulb['altonoff']}title="{$lightbulb['altonoff']}class="ajax_mark_read" id="mark_read_{$forum['fid']}/></td>
<
td class="{$bgcolor}valign="top">
<
strong><a href="{$forum_url}">{$forum['name']}</a></strong>{$forum_viewers_text}<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="right" style="white-space: nowrap">{$lastpost}</td>
</
tr

After I add this line

PHP Code:
<tr>
<
td class="{$bgcolor}align="center" valign="top" width="1"><img src="{$theme['imgdir']}/{$lightbulb['folder']}.gif" alt="{$lightbulb['altonoff']}title="{$lightbulb['altonoff']}class="ajax_mark_read" id="mark_read_{$forum['fid']}/></td>
<
td class="trow2" valign="top" 'onclick="window.location.href='{$forum_url}'" onMouseOver="this.style.background='#efefef url(images/go.png) no-repeat bottom right'; this.style.cursor='pointer'" onMouseOut="this.style.background='#F7F7F7   no-repeat bottom right';">
<td class="{$bgcolor}valign="top">
<
strong><a href="{$forum_url}">{$forum['name']}</a></strong>{$forum_viewers_text}<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="right" style="white-space: nowrap">{$lastpost}</td>
</
tr

My forum looks like

[Image: 29012117hv9.jpg]
Hi

Replaces your forumbit_depth2_forum with this code:

Code:
<tr>
<td class="{$bgcolor}" align="center" valign="top" width="1"><img src="{$theme['imgdir']}/{$lightbulb['folder']}.gif" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" class="ajax_mark_read" id="mark_read_{$forum['fid']}" /></td>
<td class="{$bgcolor}" valign="top" 'onclick="window.location.href='{$forum_url}'" onMouseOver="this.style.background='#efefef url(images2/go1.png) no-repeat bottom right'; this.style.cursor='pointer'" onMouseOut="this.style.background='#F7F7F7   no-repeat bottom right';">
<strong><a href="{$forum_url}">{$forum['name']}</a></strong>{$forum_viewers_text}<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="right" style="white-space: nowrap">{$lastpost}</td>
</tr>

Just change the route of image and colors
Wow working like a charm, thx brother.