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)

Logikos 07-20-2005 10:00 PM

Forumhome Mouseover Effect
 
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!

Brinnie 07-21-2005 10:31 AM

Ahhh yes. Cell rollovers. :)

Wayne Luke 07-21-2005 01:33 PM

I understand the concept but I honestly don't see any difference in the two pictures shown. All looks the same color to me.

Logikos 07-21-2005 01:41 PM

Thats because my alt1 is #2D3851 and alt2 is #243048. Which are very close. Screenshot updated.

cclaerhout 07-21-2005 01:53 PM

Does it work with Firefox too ?

Logikos 07-21-2005 01:55 PM

Yes, It works with Mozilla FireFox, Internet Exploder, Opera, Maxthon, and Netscape. Those are the only ones that I'm sure of that this works on.

atxhorn 07-23-2005 02:31 PM

i think the code is wrong? editing forumhome level 2 twice? one of them should be forumbit_level1_post

Logikos 07-23-2005 02:55 PM

Thanks for that small typo. First post 'updated'

cecdah 07-23-2005 06:42 PM

Installed and working perfectly. Thanks a lot. :)

darnoldy 07-24-2005 12:26 AM

Dude-

Like the word is "Effect"--an "affect" is a "Feeling or emotion, especially as manifested by facial expression or body language"

Tony G 07-24-2005 01:34 AM

There, the title has been fixed. It's not that big of a deal, anyway.

Thanks for sharing this mod. ^^ Always liked the mouseover effect on forums.

Logikos 07-24-2005 07:03 AM

Quote:

Originally Posted by darnoldy
Dude-

Like the word is "Effect"--an "affect" is a "Feeling or emotion, especially as manifested by facial expression or body language"

Opps.. :p

Thanks Tony :)

Roms 07-24-2005 12:39 PM

Works great on 3.0.3 too. :) Thanks

darnoldy 07-24-2005 07:35 PM

Quote:

Originally Posted by Tony G
It's not that big of a deal, anyway.

Some things just grate--like a sesame seed stuck between your teeth. Thanks for fixing it.

--don

Herc 07-25-2005 03:57 PM

doesn't removing // in front of active cells in the footer not achieve the same effect for both forumhome and Display.?

chanzero 08-07-2005 12:44 AM

cool, thanks!

*clicks install*

nix 08-07-2005 04:38 AM

Anyway to get this to work once you go inside and are looking at the post?

Tony G 08-07-2005 07:11 AM

You want a hover effect when over a post?

nix 08-07-2005 08:11 AM

No I mean say like the page before this one. Were it list all the post.

Tony G 08-07-2005 10:47 AM

Oh, you mean forumdisplay?

It's possible and not that hard either, just have to put the similar code (from this mod) into the forumdisplay templates.

Xplorer4x4 08-08-2005 11:41 PM

Quote:

Originally Posted by Tony G
Oh, you mean forumdisplay?

It's possible and not that hard either, just have to put the similar code (from this mod) into the forumdisplay templates.

There are two codes, and where? I tried both codes seperatley and neither worked. Where do you add them in the forumdisplay template?

Gizmo5h1t3 08-08-2005 11:56 PM

works like a charm

Oblivion Knight 08-09-2005 07:10 PM

Quote:

Originally Posted by Tony G
It's possible and not that hard either, just have to put the similar code (from this mod) into the forumdisplay templates.

The only problem being that if you still want the cell to direct you to the appropriate thread once clicked, it renders the AJAX feature of being able to edit the thread title rather useless.. ;)


Quote:

Originally Posted by Xplorer4x4
There are two codes, and where? I tried both codes seperatley and neither worked. Where do you add them in the forumdisplay template?

It's in the [high]threadbit[/high] template..

Find:
HTML Code:

        <td class="alt1" id="td_title_$thread[realthreadid]" title="$thread[preview]">
Replace it with:
HTML Code:

        <td class="alt1Active" id="td_title_$thread[realthreadid]" title="$thread[preview]" onmouseover="this.className='alt2Active'" onmouseout="this.className='alt1Active'">
This takes in to consideration the problem that I mentioned above, and as such the onclick and style attributes have been removed..

sheikfreik 08-10-2005 02:57 AM

thanks for the forumhome effect and also thanks for the threadbit mod. :)

Logikos 08-10-2005 03:21 AM

Thanks O.K. Saved me the trouble. :p

Xplorer4x4 08-12-2005 10:17 PM

Quote:

Originally Posted by Oblivion Knight
The only problem being that if you still want the cell to direct you to the appropriate thread once clicked, it renders the AJAX feature of being able to edit the thread title rather useless.. ;)

Thats sucks:( Thats partialy why I wanted it. But thanks for the threadbit part anyways. I still plan on using it. :)

socalsoccer 08-27-2005 11:05 PM

Threadbit mod worked and The main mod worked perfect. They both go hand in hand.

Thanks

KuRi 08-28-2005 01:20 AM

can this be done for threads as well??

Xplorer4x4 08-28-2005 05:24 AM

Quote:

Originally Posted by KuRi
can this be done for threads as well??

Are you refering to this page or the page before this? If you meant the page before this refer to this post: https://vborg.vbsupport.ru/showpost....0&postcount=23

If you mean this page I assume you would copy and paste the same code listed in that post into your show thread template. But I am just guessing.

KuRi 08-28-2005 11:16 PM

thanx for your help.... i missed that post whilst skimming through

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 08:11 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.01465 seconds
  • Memory Usage 1,841KB
  • 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
  • (2)bbcode_html_printable
  • (1)bbcode_php_printable
  • (9)bbcode_quote_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
  • (40)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