Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Forumhome Mouseover Effect Details »»
Forumhome Mouseover Effect
Version: 1.0.0, by Logikos Logikos is offline
Developer Last Online: Sep 2023 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.5.3 Rating:
Released: 07-20-2005 Last Update: 01-30-2006 Installs: 369
Template Edits
 
No support by the author.

What this does:
This will create a hover effect when your members place there mouse over your forums. See screen shot for an example. This will also create the same effect in your threadbit area!

3 Small Template changes. Should take no less then 2 min.

Update Notes:
v1.2 Updated threadlist area.
v1.0 Released.

!CLICK INSTALL!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #82  
Old 01-07-2006, 07:08 PM
drumsy's Avatar
drumsy drumsy is offline
 
Join Date: Nov 2001
Location: Charlotte, NC
Posts: 292
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I attempted to have the same effect in the forumdisplay utilizing the following code that I assembled from this thread creator's code and a previous poster. I am running into a problem though where I cannot force the hand to show in the forum display.

Edited in the threadbit template

PHP Code:
<td class="alt1Active" id="td_title_$thread[realthreadid]title="$thread[preview]style="cursor: pointer;" onmouseover="this.className='alt2Active';" onmouseout="this.className='alt1Active';" onclick="window.location.href='showthread.php?$session[sessionurl]t=$thread[threadid]';"
Reply With Quote
  #83  
Old 01-07-2006, 09:03 PM
silurius silurius is offline
 
Join Date: Oct 2004
Posts: 404
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Beautiful!
Reply With Quote
  #84  
Old 01-09-2006, 11:19 PM
Dark_D Dark_D is offline
 
Join Date: Oct 2005
Location: U.S.A.
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works like a charm on 3.5.3, thanks
Reply With Quote
  #85  
Old 01-13-2006, 01:05 AM
kregger kregger is offline
 
Join Date: Jul 2005
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I like it a lot! *Install*

Craig
Reply With Quote
  #86  
Old 01-14-2006, 10:26 PM
Club3G Club3G is offline
 
Join Date: Aug 2004
Location: Orlando, Fl
Posts: 300
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Working, but it's changing my forum font to 9 pixels instead of 10, and causing my cells to shift:



How do I get around this? Thanks!

[high]* Club3G clicks install[/high]
Reply With Quote
  #87  
Old 01-14-2006, 10:50 PM
Club3G Club3G is offline
 
Join Date: Aug 2004
Location: Orlando, Fl
Posts: 300
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fixed. I had to do the following, for anyone encountering a similar problem:

Add this to the main CSS. If your style isn't using verdana in that cell, substitute which font you're looking for.

Code:
/* ***** Forum Rollover Coloring ***** */
 .forumrollover  
{
	background: #555555;
	color: #CCCCCC;
         font: verdana;
}
Where the colors are from your alt2Active settings.

Then where this is present:

Code:
onmouseover="this.className='alt2Active'
Change to:

Code:
onmouseover="this.className='forumrollover'
Hope that helps anyone that might run into the same problem. IMHO this is a better way of doing it, as someone else mentioned, since it uses a separate CSS slot for a very specific feature, and it'll allow you to edit the color to your choosing without changing your alt2Active color settings globally.

- Chris
Reply With Quote
  #88  
Old 01-14-2006, 11:15 PM
RYoBiOS RYoBiOS is offline
 
Join Date: Apr 2005
Location: Italia
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible even in thread pages?
Reply With Quote
  #89  
Old 01-15-2006, 04:28 AM
Club3G Club3G is offline
 
Join Date: Aug 2004
Location: Orlando, Fl
Posts: 300
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RYoBiOS
Is it possible even in thread pages?
Yeah, just make the same changes to I believe, threadbit.

Done my way (see a few posts up) with a CSS variable for the rollover:

Replace:

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

Code:
<td class="alt1" id="td_title_$thread[realthreadid]" title="$thread[preview]" onmouseover="this.className='forumrollover';" onmouseout="this.className='alt1';">
Reply With Quote
  #90  
Old 01-15-2006, 04:38 AM
QueenBee's Avatar
QueenBee QueenBee is offline
 
Join Date: Jan 2006
Location: On Cloud 9
Posts: 197
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wow i actually did it, but is there any way i can change the color of it?? i have a light theme, and the color that it makes is bothering my eyes.

thanks
Reply With Quote
  #91  
Old 01-15-2006, 04:49 AM
Club3G Club3G is offline
 
Join Date: Aug 2004
Location: Orlando, Fl
Posts: 300
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by QueenBee
wow i actually did it, but is there any way i can change the color of it?? i have a light theme, and the color that it makes is bothering my eyes.

thanks
Yup.

In the main CSS for your style, add this to the bottom of the "Additional CSS Definitions" block down the bottom.

Code:
/* ***** Forum Rollover Coloring ***** */
 .forumrollover  
{
	background: #555555;
	color: #CCCCCC;
         font: verdana;
}
You might not need the color and font lines, I have them in there to fix the bug I posted a few posts up. If you're not using the verdana font, you definitely don't want that in there.

Change the #555555 to whichever color you want to change to.

Then in the template edits, change:

Code:
onmouseover="this.className='alt2Active';"
to

Code:
onmouseover="this.className='forumrollover';"
That way if you every want to change it, just edit the CSS entry.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:37 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04782 seconds
  • Memory Usage 2,312KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (8)bbcode_code
  • (1)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete