vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=229)
-   -   Forum Display Enhancements - onMouseOver Forum Home, Subforums & Threadbits (https://vborg.vbsupport.ru/showthread.php?t=193717)

dannykilla 10-14-2008 10:00 PM

onMouseOver Forum Home, Subforums & Threadbits
 
OnMouseOver effect on Forum categories!

This has been tested on 3.7.x & 3.8 beta 1.

Demo

On the template "forumhome_forumbit_level1_post"

Replace:
Code:

<td class="alt1Active" colspan="2" align="$stylevar[left]" id="f$forum[forumid]">
with:
Code:

<td class="alt1Active" colspan="2" align="$stylevar[left]" id="f$forum[forumid]" title="$thread[preview]" style="cursor:hand;" onmouseover="this.className='alt2Active';" onmouseout="this.className='alt1Active';">

Save template.

Go to the template called "forumhome_forumbit_level2_post"

Replace:
Code:

<td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]">
with:
Code:

<td class="alt1Active" align="$stylevar[left]" id="td_title_$thread[realthreadid]" title="$thread[preview]" style="cursor:hand;" onmouseover="this.className='alt2Active';" onmouseout="this.className='alt1Active';">

Then go to the template called "threadbit"

Replace:
Code:

<td class="alt1" id="td_threadtitle_$thread[realthreadid]" title="$thread[preview]">
with:
Code:

        <td id="td_threadtitle_$thread[realthreadid]" class="alt1Active" onmouseout="this.className='alt1Active';" onmouseover="this.className='alt2Active';" title="$thread[preview]">

That's it!
For more styling add this to the "additional CSS" located in Main CSS.

Code:

.alt1, .alt1Active
{
        background: #xxxxxx;
        color: #xxxxxx;
        /* #xxxxxx*/
}
.alt1 a:link, .alt1_alink, .alt1Active a:link, .alt1Active_alink
{
        color: #xxxxxx;
}
.alt1 a:visited, .alt1_avisited, .alt1Active a:visited, .alt1Active_avisited
{
        color: #xxxxxx;
}
.alt1 a:hover, .alt1 a:active, .alt1_ahover, .alt1Active a:hover, .alt1Active a:active, .alt1Active_ahover
{
        color: #xxxxxx;
}
.alt2, .alt2Active
{
        background: #xxxxxx;
        color: #xxxxxx;
}
.alt2 a:link, .alt2_alink, .alt2Active a:link, .alt2Active_alink
{
        color: #xxxxxx;
}
.alt2 a:visited, .alt2_avisited, .alt2Active a:visited, .alt2Active_avisited
{
        color: #xxxxxx;
}
.alt2 a:hover, .alt2 a:active, .alt2_ahover, .alt2Active a:hover, .alt2Active a:active, .alt2Active_ahover
{
        color: #xxxxxx;
}


Remember to replace "xxxxxx" with your forums style colours.

Enjoy!

RobbieZ 10-15-2008 07:58 PM

Demo Please :)

dannykilla 10-15-2008 08:00 PM

Demo is near the top!

Magnumutz 10-15-2008 09:13 PM

Your users will find this rather annoying at one time.

aryshi 10-15-2008 10:36 PM

thanx dannykilla

looks nice .. installed

but there is little broplem in the modfing threadbit templet

its disabled the ajax modify for theards

dannykilla 10-15-2008 10:46 PM

its disabled the ajax modify for theards - is that a mod ?

aryshi 10-15-2008 10:57 PM

no, its vBulletin feature in general settings

setting disable ajax title

allow to modify the title of thread in the forumdisplay

ssslippy 10-15-2008 10:57 PM

That's how you change the title of a thread. Its part of the default vbulletin.

dannykilla 10-15-2008 11:21 PM

Ok I have had a look on settings and I cant see where this option is?
How do I do perform the change title ?

aryshi 10-15-2008 11:54 PM

by click doble near the title in forumdisply : )


All times are GMT. The time now is 08:05 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02842 seconds
  • Memory Usage 1,737KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (7)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete