vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Change Forum Cell Colour on Mouseover (https://vborg.vbsupport.ru/showthread.php?t=127515)

ZombieAndy 09-24-2006 10:00 PM

Change Forum Cell Colour on Mouseover
 
Easier than it sounds, ive been looking for this mod for a while and couldn't find it, and when i asked for help here, no-one answered, so apologies if its been done before.

i put this together myself, all it does is change the colour of a forum cell between the alt 1 and alt 2 colours when the user move's their cursor over.

Confused? look at the screenies, that'll answer it :)

Fully Tested and working on 3.6.1

Shouldn't take more than a minute to install and i dont think you'll have any problems, but i'll support it as best i can (just in case).



===============
Changes

1.01 - Fixed a bug where it would cause problems in subforums.

tazB.ca 09-25-2006 10:19 AM

Thx:)

ZombieAndy 09-25-2006 08:34 PM

sorry guys i dont use sub-forums myself so i didn't spot this earlier, but a friend of mine pointed out that it kind squashes sub-forums up if you use them.

if you do, download the text file again and make the relevant changes to the "forumhome_forumbit_level1_post" template.

that will fix it :)

mkdevo 09-26-2006 03:05 PM

thanks for this..

unfortunately, when using it on the threadbit, it makes the entire cell a hyperlink to the thread, and thus takes away the 'quick thread title edit' feature. is there any way to change this?

ZombieAndy 09-26-2006 04:47 PM

Quote:

Originally Posted by mkdevo
thanks for this..

unfortunately, when using it on the threadbit, it makes the entire cell a hyperlink to the thread, and thus takes away the 'quick thread title edit' feature. is there any way to change this?


to make it so ONLY the link to the thread opens it and not the whole cell,

open template "threadbit" and find

Code:

<td class="alt1" id="td_title_$thread[realthreadid]" title="$thread[preview]" style="cursor:hand;" onmouseover="this.className='alt2Active';" onmouseout="this.className='alt1Active';" onclick="window.location.href='<if condition="$show['gotonewpost']">showthread.php?$session[sessionurl]goto=newpost&amp;t=$thread[threadid]<else />showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]</if>';">
and replace with

Code:

<td class="alt1" id="td_title_$thread[realthreadid]" title="$thread[preview]" style="cursor:hand;" onmouseover="this.className='alt2Active';" onmouseout="this.className='alt1Active';"<else />
let me know if this solves your problem for you :)

mkdevo 09-26-2006 07:56 PM

that did remove the 'entire cell link', however, the inline thread title edit still doesn't work..

giza 10-03-2006 02:58 PM

Quote:

to make it so ONLY the link to the thread opens it and not the whole cell,

open template "threadbit" and find
i cannot find your code in my threadbit template can you plz help me make this work i want only the link to work not the whole cell.

here is my threadbit template:

Code:

<tr>
        <td class="alt1" id="td_threadstatusicon_$thread[realthreadid]">
                $thread[openclose_editable]
                <img src="$stylevar[imgdir_statusicon]/thread$thread[statusicon].gif" id="thread_statusicon_$thread[realthreadid]" alt="<if condition="$show['threadcount']"><phrase 1="$thread[dot_count]" 2="$thread[dot_lastpost]">$vbphrase[have_x_posts_in_thread_last_y]</phrase></if>" border="" />
        </td>
        <if condition="$show['threadicons']">
                <td class="alt2"><if condition="$show['threadicon']"><img src="$thread[threadiconpath]" alt="$thread[threadicontitle]" border="0" /><else />&nbsp;</if></td>
        </if>

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

                $thread[title_editable]
                <div>
                        <if condition="$show['moderated'] OR $show['deletedthread'] OR $show['paperclip'] OR $show['subscribed'] OR $show['sticky'] OR $show['rexpires']">
                                <span style="float:$stylevar[right]">
                                        <if condition="$show['rexpires']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/expires.gif" alt="<phrase 1="$thread[expiredate]" 2="$thread[expiretime]">$vbphrase[expires_on_x_y]</phrase>" /> </if>
                                        <if condition="$show['moderated']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/moderated_small.gif" alt="<phrase 1="$thread[hiddencount]">$vbphrase[x_moderated_posts]</phrase>" /> </if>
                                        <if condition="$show['deletedthread']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/trashcan_small.gif" alt="<phrase 1="$thread[deletedcount]">$vbphrase[x_deleted_posts]</phrase>" /> </if>
                                        <if condition="$show['paperclip']"> <a href="#" onclick="attachments($thread[threadid]); return false"> <img class="inlineimg" src="$stylevar[imgdir_misc]/paperclip.gif" border="0" alt="<phrase 1="$thread[attach]">$vbphrase[x_attachments]</phrase>" /></a> </if>
                                        <if condition="$show['subscribed']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/subscribed.gif" alt="$vbphrase[you_are_subscribed_to_this_thread]" /> </if>
                                        <if condition="$show['sticky']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/sticky.gif" alt="$vbphrase[sticky_thread]" /> </if>
                                </span>
                        </if>
                        <if condition="$show['gotonewpost']"><a href="showthread.php?$session[sessionurl]goto=newpost&amp;t=$thread[threadid]" id="thread_gotonew_$thread[realthreadid]"><img class="inlineimg" src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[go_to_first_new_post]" border="0" /></a></if>
                        $thread[movedprefix]
                        $thread[typeprefix]
                        $thread[moderatedprefix]
                        <a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]"<if condition="$show['gotonewpost']"> style="font-weight:bold"</if>>$thread[threadtitle]</a>
                        <if condition="$thread['pagenav']">$stylevar[dirmark]<span class="smallfont" style="white-space:nowrap">(<img class="inlineimg" src="$stylevar[imgdir_misc]/multipage.gif" alt="$vbphrase[multipage_thread]" border="0" /> $thread[pagenav]<if condition="$show[pagenavmore]"> ... <a href="showthread.php?$session[sessionurl]t=$thread[threadid]&amp;page=$thread[totalpages]$thread[highlight]">$vbphrase[last_page]</a></if>)</span></if><if condition="$thread['threaddesc']"><span class="smallfont">- $thread[threaddesc]</span></if>
                </div>
       
                <if condition="$show['rmanage']"><div class="smallfont"><span style="float:$stylevar[right]"><a href="postings.php?$session[sessionurl]do=editthread&amp;t=$thread[redirectthreadid]">$vbphrase[manage]</a></span></div></if>
                       
                <div class="smallfont">
                        <if condition="$show['threadratings'] AND $show['threadrating']"><span style="float:$stylevar[right]"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" border="0" alt="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" /></span></if>
                        <if condition="$show['guestuser']">
                                $thread[postusername]
                        <else />
                                <span style="cursor:pointer" onclick="window.open('member.php?$session[sessionurl]u=$thread[postuserid]', '_self')">$thread[postusername]</span>
                        </if>
                </div>
               
                <if condition="$show['unsubscribe']">
                        <div class="smallfont">
                                <a href="newreply.php?$session[sessionurl]do=newreply&amp;t=$thread[threadid]" rel="nofollow">$vbphrase[reply]</a> |
                                <a href="subscription.php?$session[sessionurl]do=removesubscription&amp;return=ucp&amp;t=$thread[threadid]" rel="nofollow">$vbphrase[unsubscribe]</a>
                        </div>
                </if>
               
        </td>
       
        <if condition="$show['threadmoved']">
        <td class="alt2" align="center">-</td>
        <else />
        <td class="alt2" title="<phrase 1="$thread[replycount]" 2="$thread[views]">$vbphrase[replies_x_views_y]</phrase>">
                <div class="smallfont" style="text-align:$stylevar[right]; white-space:nowrap">
                        $thread[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$thread[lastposttime]</span></if><br />
                        <phrase 1="member.php?find=lastposter&amp;t=$thread[threadid]" 2="$thread[lastposter]">$vbphrase[by_x]</phrase>  <a href="showthread.php?$session[sessionurl]p=$thread[lastpostid]$thread[highlight]#post$thread[lastpostid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a>
                </div>
        </td>
        </if>
       
        <if condition="$show['notificationtype']">
                <td class="alt1"><div class="smallfont">
                        <label for="sub$subscribethread[$threadid]">$thread[notification]</label>
                </div></td>
                <td class="alt2"><input type="checkbox" name="deletebox[$subscribethread[$threadid]]" id="sub$subscribethread[$threadid]" value="yes" /></td>
        <else />
                <td class="alt1" align="center"><if condition="$show['threadmoved']">-<else /><a href="#" onclick="who($thread[threadid]); return false;">$thread[replycount]</a></if></td>
                <td class="alt2" align="center">$thread[views]</td>
                       
                <if condition="$show['forumlink']">
                        <td class="alt1"><a href="forumdisplay.php?$session[sessionurl]f=$thread[forumid]">$thread[forumtitle]</a></td>
                </if>
        </if>
       
        <if condition="$show['inlinemod']">
                <td class="alt1">
                        <input type="checkbox" name="tlist[$thread[realthreadid]]" id="tlist_$thread[realthreadid]" value="$thread[checkbox_value]" <if condition="$show['disabled']">disabled="disabled"</if> />
                </td>
        </if>
</tr>


Devil Woman 10-04-2006 12:23 AM

Hi there I have added this to my test forum to ensure it works ok, have gone to test it and nothing changes, on your screenshots it shows when you mouseover it goes red, do I have to change anything for it to do that or should it do it automatically, if so where am I going wrong?

Thanks

Shazz 10-04-2006 02:21 AM

Installed*!

osmanungur 10-04-2006 10:30 AM

installed

honestjohn 10-06-2006 06:40 AM

I used to use a similar mod, but with an extension: the "last post" cell I also made a hyperlink to the latest post (both in forumview and threadbit view).

I can't figure out how to do this in 3.6, any help?

professional77 10-10-2006 05:12 AM

Quote:

Originally Posted by mkdevo
thanks for this..

unfortunately, when using it on the threadbit, it makes the entire cell a hyperlink to the thread, and thus takes away the 'quick thread title edit' feature. is there any way to change this?

welcome all
Open Template "threadbit"
FIND

PHP Code:

<td class="alt1" id="td_threadtitle_$thread[realthreadid]title="$thread[preview]"

REPLACE WITH

PHP Code:

<td class="alt1" id="td_threadtitle_$thread[realthreadid]title="$thread[preview]style="cursor:hand;" onmouseover="this.className='alt2Active';" onmouseout="this.className='alt1Active';" Dublclick="window.location.href='<if condition="$show['gotonewpost']">showthread.php?$session[sessionurl]goto=newpost&amp;t=$thread[threadid]<else />showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]</if>';"

the error in
PHP Code:

td_title_$thread 

the ok
PHP Code:

td_threadtitle_$thread 

working on 3.6.2
go to site
http://www.professional77.com/vb

Enjoy!

https://vborg.vbsupport.ru/external/2007/07/25.jpg

ZombieAndy 10-11-2006 01:01 AM

Quote:

Originally Posted by giza
i cannot find your code in my threadbit template can you plz help me make this work i want only the link to work not the whole cell.

here is my threadbit template:

Code:

<tr>
        <td class="alt1" id="td_threadstatusicon_$thread[realthreadid]">
                $thread[openclose_editable]
                <img src="$stylevar[imgdir_statusicon]/thread$thread[statusicon].gif" id="thread_statusicon_$thread[realthreadid]" alt="<if condition="$show['threadcount']"><phrase 1="$thread[dot_count]" 2="$thread[dot_lastpost]">$vbphrase[have_x_posts_in_thread_last_y]</phrase></if>" border="" />
        </td>
        <if condition="$show['threadicons']">
                <td class="alt2"><if condition="$show['threadicon']"><img src="$thread[threadiconpath]" alt="$thread[threadicontitle]" border="0" /><else />&nbsp;</if></td>
        </if>

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

                $thread[title_editable]
                <div>
                        <if condition="$show['moderated'] OR $show['deletedthread'] OR $show['paperclip'] OR $show['subscribed'] OR $show['sticky'] OR $show['rexpires']">
                                <span style="float:$stylevar[right]">
                                        <if condition="$show['rexpires']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/expires.gif" alt="<phrase 1="$thread[expiredate]" 2="$thread[expiretime]">$vbphrase[expires_on_x_y]</phrase>" /> </if>
                                        <if condition="$show['moderated']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/moderated_small.gif" alt="<phrase 1="$thread[hiddencount]">$vbphrase[x_moderated_posts]</phrase>" /> </if>
                                        <if condition="$show['deletedthread']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/trashcan_small.gif" alt="<phrase 1="$thread[deletedcount]">$vbphrase[x_deleted_posts]</phrase>" /> </if>
                                        <if condition="$show['paperclip']"> <a href="#" onclick="attachments($thread[threadid]); return false"> <img class="inlineimg" src="$stylevar[imgdir_misc]/paperclip.gif" border="0" alt="<phrase 1="$thread[attach]">$vbphrase[x_attachments]</phrase>" /></a> </if>
                                        <if condition="$show['subscribed']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/subscribed.gif" alt="$vbphrase[you_are_subscribed_to_this_thread]" /> </if>
                                        <if condition="$show['sticky']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/sticky.gif" alt="$vbphrase[sticky_thread]" /> </if>
                                </span>
                        </if>
                        <if condition="$show['gotonewpost']"><a href="showthread.php?$session[sessionurl]goto=newpost&amp;t=$thread[threadid]" id="thread_gotonew_$thread[realthreadid]"><img class="inlineimg" src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[go_to_first_new_post]" border="0" /></a></if>
                        $thread[movedprefix]
                        $thread[typeprefix]
                        $thread[moderatedprefix]
                        <a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]"<if condition="$show['gotonewpost']"> style="font-weight:bold"</if>>$thread[threadtitle]</a>
                        <if condition="$thread['pagenav']">$stylevar[dirmark]<span class="smallfont" style="white-space:nowrap">(<img class="inlineimg" src="$stylevar[imgdir_misc]/multipage.gif" alt="$vbphrase[multipage_thread]" border="0" /> $thread[pagenav]<if condition="$show[pagenavmore]"> ... <a href="showthread.php?$session[sessionurl]t=$thread[threadid]&amp;page=$thread[totalpages]$thread[highlight]">$vbphrase[last_page]</a></if>)</span></if><if condition="$thread['threaddesc']"><span class="smallfont">- $thread[threaddesc]</span></if>
                </div>
       
                <if condition="$show['rmanage']"><div class="smallfont"><span style="float:$stylevar[right]"><a href="postings.php?$session[sessionurl]do=editthread&amp;t=$thread[redirectthreadid]">$vbphrase[manage]</a></span></div></if>
                       
                <div class="smallfont">
                        <if condition="$show['threadratings'] AND $show['threadrating']"><span style="float:$stylevar[right]"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" border="0" alt="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" /></span></if>
                        <if condition="$show['guestuser']">
                                $thread[postusername]
                        <else />
                                <span style="cursor:pointer" onclick="window.open('member.php?$session[sessionurl]u=$thread[postuserid]', '_self')">$thread[postusername]</span>
                        </if>
                </div>
               
                <if condition="$show['unsubscribe']">
                        <div class="smallfont">
                                <a href="newreply.php?$session[sessionurl]do=newreply&amp;t=$thread[threadid]" rel="nofollow">$vbphrase[reply]</a> |
                                <a href="subscription.php?$session[sessionurl]do=removesubscription&amp;return=ucp&amp;t=$thread[threadid]" rel="nofollow">$vbphrase[unsubscribe]</a>
                        </div>
                </if>
               
        </td>
       
        <if condition="$show['threadmoved']">
        <td class="alt2" align="center">-</td>
        <else />
        <td class="alt2" title="<phrase 1="$thread[replycount]" 2="$thread[views]">$vbphrase[replies_x_views_y]</phrase>">
                <div class="smallfont" style="text-align:$stylevar[right]; white-space:nowrap">
                        $thread[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$thread[lastposttime]</span></if><br />
                        <phrase 1="member.php?find=lastposter&amp;t=$thread[threadid]" 2="$thread[lastposter]">$vbphrase[by_x]</phrase>  <a href="showthread.php?$session[sessionurl]p=$thread[lastpostid]$thread[highlight]#post$thread[lastpostid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a>
                </div>
        </td>
        </if>
       
        <if condition="$show['notificationtype']">
                <td class="alt1"><div class="smallfont">
                        <label for="sub$subscribethread[$threadid]">$thread[notification]</label>
                </div></td>
                <td class="alt2"><input type="checkbox" name="deletebox[$subscribethread[$threadid]]" id="sub$subscribethread[$threadid]" value="yes" /></td>
        <else />
                <td class="alt1" align="center"><if condition="$show['threadmoved']">-<else /><a href="#" onclick="who($thread[threadid]); return false;">$thread[replycount]</a></if></td>
                <td class="alt2" align="center">$thread[views]</td>
                       
                <if condition="$show['forumlink']">
                        <td class="alt1"><a href="forumdisplay.php?$session[sessionurl]f=$thread[forumid]">$thread[forumtitle]</a></td>
                </if>
        </if>
       
        <if condition="$show['inlinemod']">
                <td class="alt1">
                        <input type="checkbox" name="tlist[$thread[realthreadid]]" id="tlist_$thread[realthreadid]" value="$thread[checkbox_value]" <if condition="$show['disabled']">disabled="disabled"</if> />
                </td>
        </if>
</tr>


thats a replacement for the line in the textfile.

you need to find:

Code:

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

Code:

<td class="alt1" id="td_threadtitle_$thread[realthreadid]" title="$thread[preview]" style="cursor:hand;" onmouseover="this.className='alt2Active';" onmouseout="this.className='alt1Active';" Dublclick="window.location.href='<if condition="$show['gotonewpost']">showthread.php?$session[sessionurl]goto=newpost&amp;t=$thread[threadid]<else />showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]</if>';">

AdmiralSpock 10-11-2006 03:01 PM

Wow! This is fantastic! I've installed it on my test board, and I'll put it on my live site soon. Thank you!

KevinLiles 10-12-2006 03:39 PM

thank you

Greek Wizard 10-17-2006 10:39 AM

Stupid Question.

I have installed this and it works fine.

What would I edit/add change the "recent Topics" on vBadvanced to match this on the main portal page.

[edit]Never mind, found the answer on vBa site[/edit]

sinoeu 10-17-2006 06:47 PM

Very very very cool! Thanks,I like this change very much.

ESADCG 10-26-2006 02:12 PM

Am I blind? I didn't know of any "Inline Thread Title Edit Feature" where is this functionality located?

Installed and seems to be working fine.

category 11-10-2006 05:25 PM

how come there is no pointer in firefox like in ie can anyone help me how to get it?

Shazz 11-10-2006 05:53 PM

Working perfectly...

Guest210212002 11-10-2006 08:25 PM

[high]* Guest210212002 notes that this looks an awful lot like one of his mods. ;)[/high]

Shazz 11-10-2006 09:28 PM

Which one?

Mr MaRo 11-12-2006 05:32 AM

Thanks!

category 11-13-2006 03:21 PM

anyoe know how to fix firefox problem?

Brew 01-10-2007 11:53 PM

I have this working but I think my CSS doesn't have the required class names or something.

Using my LCD screen at an extreme angle I can see that the lines are highlited but so close to the default theme that it's unnoticable.

Can you point out what is needed to change the color in the hover mode?

You can see what I'm talking about here:

http://www.tankkillers.com/forums/forumdisplay.php?f=5

Thanks!

TheFrienzNet 01-13-2007 03:35 PM

Ehhh! Thanks. :D

Endurer 01-13-2007 04:26 PM

Thank you :) Installed.

Ragnarok 03-02-2007 03:32 AM

I dunno why I didn't mark this as installed when I first installed it >.>

Installed on both my forums anyway.

BigJimTheLug 03-05-2007 10:50 PM

Hey, how can I choose different colors on mouseover?

GXT Owner 03-15-2007 03:01 AM

How Do i make it so the whole Cell is a link? IT wont work http://www.xeon-gaming.net/forums/index.php

Guest210212002 03-26-2007 11:43 AM

This is pretty similar (rather, almost exactly the same) as my mouseover hack for 3.5.

Shazz 03-26-2007 12:10 PM

Quote:

Originally Posted by Chris-777 (Post 1212662)
This is pretty similar (rather, almost exactly the same) as my mouseover hack for 3.5.

You see duplicates everyday :\

anywares 03-27-2007 12:15 AM

ZombieAndy this is one of the best template mod releases made in this year imo

thanks for this AWESOME release!

l3it3r 05-11-2007 11:30 AM

I had to remove the 'onclick' line from the threadbit hack because it killed my collapsable first post mod.

Ohiosweetheart 07-05-2007 12:29 AM

I LOVE this hack, works very well on my forum.

BuRNZau 07-19-2007 12:23 PM

Quote:

Originally Posted by professional77 (Post 1093717)

welcome all
Open Template "threadbit"
FIND

PHP Code:

<td class="alt1" id="td_threadtitle_$thread[realthreadid]title="$thread[preview]"

REPLACE WITH

PHP Code:

<td class="alt1" id="td_threadtitle_$thread[realthreadid]title="$thread[preview]style="cursor:hand;" onmouseover="this.className='alt2Active';" onmouseout="this.className='alt1Active';" Dublclick="window.location.href='<if condition="$show['gotonewpost']">showthread.php?$session[sessionurl]goto=newpost&amp;t=$thread[threadid]<else />showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]</if>';"

the error in
PHP Code:

td_title_$thread 

the ok
PHP Code:

td_threadtitle_$thread 

working on 3.6.2
go to site
http://www.professional77.com/vb

Enjoy!

https://vborg.vbsupport.ru/attachmen...1&d=1160460693

Does this work on 3.6.7? I love this mod but I love my inline edit also.

Realm of Horror Comics 08-03-2007 09:34 PM

How can I make it so that on the forum homepage, only the actual forum links are clickable, and not the entire cell?

Thanks!

ZombieAndy 08-03-2007 09:59 PM

Thanks alot for your comments guys, it was nothing really just a small cosmetic mod i wanted for a while. Really sorry i havn't been around to answer questions but ive been snowed under at work and on my own forums.. im sure you guys know how it is, i suppose i shouldn't of marked it as supported or check back more often lol..

Anyway, ive turned on email subscription so if anyone else has any probs, i will do my best to answer them.

Quote:

Originally Posted by MARKETPROFITS (Post 1196694)
Hey, how can I choose different colors on mouseover?

It uses ALT1 and ALT2 colours defined in your style, you just need to change those to change the colours it uses.

Quote:

Originally Posted by Chris-777 (Post 1212662)
This is pretty similar (rather, almost exactly the same) as my mouseover hack for 3.5.

Well i did say i searched for this before i made it, i couldn't find a similar hack at the time of release.

Quote:

Originally Posted by Realm of Horror Comics (Post 1309235)
How can I make it so that on the forum homepage, only the actual forum links are clickable, and not the entire cell?

Thanks!

open template "threadbit" and find

Code:

<td class="alt1" id="td_title_$thread[realthreadid]" title="$thread[preview]" style="cursor:hand;" onmouseover="this.className='alt2Active';" onmouseout="this.className='alt1Active';" onclick="window.location.href='<if condition="$show['gotonewpost']">showthread.php?$session[sessionurl]goto=newpost&amp;t=$thread[threadid]<else />showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]</if>';">
and replace with

Code:

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

deathbyalfonzo 08-03-2007 10:48 PM

thanks dude

installed

applyimage 08-11-2007 06:25 PM

Quote:

Originally Posted by ZombieAndy (Post 1309251)
It uses ALT1 and ALT2 colours defined in your style, you just need to change those to change the colours it uses.

Excuse me it appears i'm a retard, could you be more specific as to where I edit this? thanks buddy. :)

EDIT: DONE LOOKS GREAT!!!!


All times are GMT. The time now is 09:17 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.01776 seconds
  • Memory Usage 1,937KB
  • 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
  • (8)bbcode_code_printable
  • (8)bbcode_php_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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