vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Forum Home Enhancements - Forumhome Mouseover Effect (https://vborg.vbsupport.ru/showthread.php?t=92600)

Xplorer4x4 09-01-2005 06:36 AM

If this was clarfied before I missed it as well, but i needed a way to change the color of the mouse over. For example I have the Power blue skin instaled as my default. The mouseover did not show up because Alt1 and Alt2 were the same.

I went through and changed Alt 2(in red)
PHP Code:

onmouseover="this.className='alt2Active'" 

to .legend in my case. To try a diffrent color, in your CSS options each table has a name in the bottom left corner of it. Just try those various classes in place of Alt2 untill you fidn oen that works. :)

matt2cacnio 09-04-2005 05:29 PM

for some reason that mouseover effect does not work with the bo20 skin thats in this site. It only works for the default skin?

loonytune15 09-19-2005 01:57 PM

did you make the appropriate changes in the bo20 skin's templates?

Doc Great 09-19-2005 04:36 PM

Great, it also works for 3.0.x :D

Do you also have a way for recent threads (vBadvanced)? :)

Code:

<if condition="$mods['modcol'] == 1">

        <tr>
                <if condition="$mod_options['portal_threads_showicon']">
                        <td class="alt2"><if condition="$show['threadicon']"><img alt="" border="0" src="$thread[threadiconpath]" title="$thread[threadicontitle]" /></if></td>
                </if>
               
                <td class="alt1">
                        <if condition="$thread['subscribed']">
                                <span style="float:$stylevar[right]"><img alt="" class="inlineimg" src="$stylevar[imgdir_misc]/subscribed.gif" title="$vbphrase[you_are_subscribed_to_this_thread]" /></span>
                        </if>
                <b><span style="font-size:11px"><a href="$vboptions[bburl]/showthread.php?t=$thread[threadid]" title="$thread[preview]">$thread[title]</a></span></b>

                        <if condition="$thread['rating']">
                                <span style="float:$stylevar[right]"><img alt="" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" title="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" /></span>
                        </if>
               
                <div class="smallfont"><span style="cursor:pointer" onclick="window.open('$vboptions[bburl]/member.php?$session[sessionurl]u=$thread[postuserid]')">$thread[postusername]</span>
                </div>

                <if condition="$mod_options['portal_threads_showdate']"><div class="smallfont">$thread[postdate] $thread[posttime]</div></if>
                </td>
                <if condition="$show['lastpost']">
                        <td class="alt2">
                                <div class="smallfont" style="text-align:right; white-space:nowrap">$thread[lastpostdate] <span class="time">$thread[lastposttime]</span><br /><phrase 1="$vboptions[bburl]/member.php?$session[sessionurl]find=lastposter&amp;t=$thread[threadid]" 2="$thread[lastposter]">$vbphrase[by_x]</phrase> <a href="$vboptions[bburl]/showthread.php?$session[sessionurl]goto=lastpost&amp;t=$thread[threadid]"><img alt="" border="0" src="$stylevar[imgdir_button]/lastpost.gif" title="$vbphrase[go_to_last_post]" /></a></div>
                        </td>
                </if>
                <td align="center" class="<if condition="$show['lastpost']">alt1<else />alt2</if>"><span class="smallfont">$thread[replycount]</span></td>

                <td align="center" class="<if condition="$show['lastpost']">alt2<else />alt1</if>"><span class="smallfont">$thread[views]</span></td>
                        <if condition="$mod_options['portal_threads_showforum']">
                                <td class="<if condition="$show['lastpost']">alt1<else />alt2</if>"><span class="smallfont"><a href="$vboptions[bburl]/forumdisplay.php?$session[sessionurl]f=$thread[forumid]">$thread[forumtitle]</a></span></td>
                        </if>               
        </tr>

<else />

        <tr>
                <td class="$bgclass">
                        <if condition="$show['threadicon']">
                                <img alt="" src="$thread[threadiconpath]" border="0" title="$thread[threadicontitle]" />
                        </if>
                        <if condition="$thread['subscribed']">
                                <img alt="" class="inlineimg" src="$stylevar[imgdir_misc]/subscribed.gif" title="$vbphrase[you_are_subscribed_to_this_thread]" />
                        </if>
                        <span class="smallfont"><strong><a href="$vboptions[bburl]/showthread.php?t=$thread[threadid]" title="<if condition="$thread[preview]">$thread[preview]

</if>$vbphrase[by] $thread[postusername] <if condition="$mod_options['portal_threads_showdate']">$thread[postdate] $thread[posttime]</if>">$thread[title]</a></strong></span>

                        <if condition="$thread['rating']">
                                <div style="margin-top:4px"><img alt="" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" title="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" /></div>
                        </if>
                        <if condition="$show['lastpost']">
                                <div class="smallfont" style="margin-top:4px"><a href="$vboptions[bburl]/showthread.php?$session[sessionurl]goto=lastpost&amp;t=$thread[threadid]"><img alt="" border="0" src="$stylevar[imgdir_button]/lastpost.gif" title="$vbphrase[go_to_last_post]" /></a> $vbphrase[last_post_by] <a href="$vboptions[bburl]/member.php?find=lastposter&amp;t=$thread[threadid]">$thread[lastposter]</a></div>
                                <div class="smallfont">$thread[lastpostdate] <span class="time">$thread[lastposttime]</span></div>
                        </if>
                        <if condition="$mod_options['portal_threads_showforum']">
                                <div class="smallfont"><a href="$vboptions[bburl]/forumdisplay.php?$session[sessionurl]f=$thread[forumid]">$thread[forumtitle]</a></div>
                        </if>
                <div class="smallfont">$thread[replycount] $vbphrase[replies], $thread[views] $vbphrase[views]</div></td>
        </tr>
</if>


Mr Chad 09-22-2005 03:16 AM

is it possible to change the mouse over color where you can directly enter it into the template so i dont have to change my Alt colors?

Xplorer4x4 09-22-2005 04:04 AM

Quote:

Originally Posted by chatbum
is it possible to change the mouse over color where you can directly enter it into the template so i dont have to change my Alt colors?

Much easier to search a thread then wait for an answer. ;) I answered this in post: https://vborg.vbsupport.ru/showpost....5&postcount=31

Thats the only method i was able to find. Perhpas somone else can find a method to use hex codes, but I couldn't.

mohhas 09-23-2005 11:51 AM

Thanks very much for this cool effect

Logikos 09-23-2005 02:47 PM

Quote:

Originally Posted by Xplorer4x4
Much easier to search a thread then wait for an answer.

As you may have noticed. The support tick is not checked. ;)

Ramsesx 09-23-2005 04:51 PM

Very sweet, thank you. But with the new Opera 8.50 it's looking a little bit funny (screenshot) :D

Xplorer4x4 09-23-2005 08:27 PM

@Livewire..Didn't notice it :p (honestley). @Ramsesx - It looks like your Alt1 and Alt2 are the same color.(White) Use my method above to change the color.


All times are GMT. The time now is 05:31 PM.

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.04016 seconds
  • Memory Usage 1,764KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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