UBB.Dev
Posted By: Travis Mouseover Effects - 07/21/2002 2:49 AM
Description: Make your forum cells "highlight" when your mouse goes over them. Also allows you to go into the forum without clicking the actual link.
Demo: http://www.zeldaxtreme.com/ubbcgi/ultimatebb.cgi

Download: http://www.zeldaxtreme.com/mouseover.txt
Posted By: CTM Re: Mouseover Effects - 07/21/2002 1:08 PM
Isn't this HyperCells?
Posted By: Lord Dexter Re: Mouseover Effects - 07/21/2002 1:38 PM
Not exactly. Well kinda, but it's an easier way of installing it.
Posted By: Travis Re: Mouseover Effects - 07/22/2002 6:17 AM
quote:
Originally posted by CTM:
Isn't this HyperCells?

Basically. Choose which way you would like to install it. smile
Posted By: CTM Re: Mouseover Effects - 07/22/2002 11:21 AM
Ahh, OK... Well, I'd prefer it this way, cause it's easier. smile
Posted By: Lord Dexter Re: Mouseover Effects - 07/22/2002 1:15 PM
I also did it that way, Hypercells takes time. tipsy
Posted By: Bookie Re: Mouseover Effects - 07/23/2002 6:44 PM
But hypercells is CP operated, and puts this effect in several more places other than the forum summary.
Posted By: Lord Dexter Re: Mouseover Effects - 07/24/2002 5:59 AM
I put mine into the forum summary and thread lists page, like Hypercells. And I just use AltColumnColor1 when going over AltColumColor2 and vice versa.
Posted By: tyfa Re: Mouseover Effects - 07/24/2002 7:12 PM
this hacks is same phpBB effect www.phpbb2-user.de
Posted By: Travis Re: Mouseover Effects - 07/24/2002 7:48 PM
That link doesn't work... And no it wasn't copied from phpbb.
Posted By: tyfa Re: Mouseover Effects - 07/24/2002 9:09 PM
sorry it here http://www.phpbb2-users.de/

and this:
Code
############################################### 
##
## MOD Title: hypercells v2.0
## MOD Version: 2.0.0 - final release
## Author: psychopathic & Clonedout (contributed to by sevnn)
## Cai tien: Le Hoan (tuong thich PhpBB v2.0.0 Final)
## Description: allows users to click anywhere in the
## cell to access the forum or a topic.
##
## Installation Level: Easy!
## Installation Time: 2-5 Minutes
## Files To Edit: 2 (index_body.tpl) (viewforum_body.tpl)
## Included Files: none, cause we're cool like that
##
###############################################
##
## Version 2.0 History:
##
## 2.0 Alpha - Hypercells ported to phpBB2
## 2.0 Final - Cosmetic Effects ported by Clonedout
##
###############################################
#
#-----[ OPEN: ]------------------------------------------
#
# index_body.tpl (located in the templates/subSilver folder)
#
#-----[ FIND: ]------------------------------------------
#
#

<td class="row1" width="100%" height="50"><span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a>


#
#-----[ REPLACE WITH: ]----------------------------------
#

<td class="row1" width="100%" height="50" onMouseOver=this.style.backgroundColor="{T_TD_COLOR1}";this.style.cursor="hand" onMouseOut=this.style.backgroundColor="" onclick="window.location.href='{catrow.forumrow.U_VIEWFORUM}'"><span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a>


#
#-----[ SAVE AND CLOSE: ]--------------------------------
#
# index_body.tpl
#
#-----[ OPEN: ]------------------------------------------
#
# viewforum_body.tpl (also a template)
#
#-----[ FIND: ]------------------------------------------
#
#

<td class="row1" width="100%"><span class="topictitle">{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a></span><span class="gensmall">


#
#-----[ REPLACE WITH: ]----------------------------------
#
#

<td class="row1" width="100%" onMouseOver=this.style.backgroundColor="{T_TD_COLOR1}";this.style.cursor="hand" onMouseOut=this.style.backgroundColor="" onclick="window.location.href='{topicrow.U_VIEW_TOPIC}'"><span class="topictitle">{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a></span><span class="gensmall">


#
#-----[ SAVE AND CLOSE: ]--------------------------------
#
# viewforum_body.tpl
#
#--------------------------------------------------------
#
EOF
it same same yours ?
Posted By: Travis Re: Mouseover Effects - 07/24/2002 10:16 PM
What do u mean is it the same as mine? It's just an html edit to a template?

confused

Also can u edit ur post, it's stretching the screen.
Posted By: Lord Dexter Re: Mouseover Effects - 07/25/2002 2:14 AM
It's not exactly the same but you can use the same "OnMouseOver" code bit, but it's easier to just copy it from Travis's file and put it where you want.

confused
Posted By: freak.scene Re: Mouseover Effects - 07/26/2002 12:13 AM
I for one can say the name hypercells was taken from the ubb mod (cause I thought it up after a couple guiness & a long night o' coding) tipsy

the Hypercells mod does take a while to install but offers a toggle (on/off) option. If you don't care to turn it off for other theme sets I would recommend the straight coding as instructed above too.

blah - back to the bar.. ummmm work wink

thumbsup
Posted By: Lord Dexter Re: Mouseover Effects - 07/26/2002 2:04 AM
All you have to do is remove the code to turn it off and change the AltColumColor1 or whatever it is to a Hex code and your set. May not be as easy but it does the same thing.
Posted By: freak.scene Re: Mouseover Effects - 07/26/2002 2:49 AM
yep - the only catch to that it is not as easy as setting a switch in the cp that can be related to a particular theme. for example - done the other way, you could have one style with hypercells on and one with it off and let the user decide which to use (if you were to use the My Style mod). I'm not saying hypercells is better by anymeans, in fact, if you are going to use the effect all the time this is the way to go!

smile - I'll probably through a hypercells lite version together in the next day or so. - cover most pages but have just a toggle switch. this will require only very little changes (compared to the current version) smile
Posted By: Lord Dexter Re: Mouseover Effects - 07/26/2002 8:51 AM
Well you made your point about changing it for other styles...

But I don't use MyStyle so it doesn't really matter.
Posted By: tyfa Re: Mouseover Effects - 07/26/2002 9:28 AM
OK, although, your hacks is a simplest one, easylier, .... thanks
If your hacks have on/off option so it will be a best hypercell
Posted By: Lord Dexter Re: Mouseover Effects - 07/26/2002 10:40 AM
Jus remove the code, simple.
Posted By: freak.scene Re: Mouseover Effects - 07/26/2002 1:10 PM
Quote
quote:
Originally posted by Lord Dexter:
Well you made your point about changing it for other styles...

But I don't use MyStyle so it doesn't really matter.
I was really trying to downplay the hypercells hack I made because in hindsite, it is overly complicated for its purpose (late nite rambling)! I forgot the basics :: Keep It Simple Stupid! DOH!
Posted By: Lord Dexter Re: Mouseover Effects - 07/26/2002 2:27 PM
Keep it the way it is, it has all the features it needs.
Posted By: Clownmoun Re: Mouseover Effects - 07/30/2002 1:48 AM
The main code doesent even work. This small code that he put. Doesent work!
Posted By: tyfa Re: Mouseover Effects - 08/12/2002 9:34 AM
how about this effects in forum page ?
Posted By: Lord Dexter Re: Mouseover Effects - 08/12/2002 1:27 PM
Find:

Quote
code:
Code
	$this_html .= qq~
<td valign="top" align="left" bgcolor="$alt_color">
<font size="$vars_style{TextSize}" face="$vars_style{FontFace}">
<a href="$ULTIMATEBB?ubb=get_topic;f=$in{f};t=$one">$subject</a>$extra_pages</font>
</td>
~;

Replace with:

code:
[qb]
Code
	$this_html .= qq~
<td valign="top" align="left" bgcolor="$alt_color" onMouseover="this.style.backgroundColor='$vars_style{AltColumnColor2}'; this.style.cursor='hand';" onMouseout="this.style.backgroundColor='$vars_style{AltColunmColor1}'" onclick="window.location.href='$ULTIMATEBB?ubb=get_topic;f=$in{f};t=$one'">
<font size="$vars_style{TextSize}" face="$vars_style{FontFace}">
$sticky<a href="$ULTIMATEBB?ubb=get_topic;f=$in{f};t=$one">$subject</a>
$extra_pages</font>
</td>
~;
[/qb]
Posted By: tyfa Re: Mouseover Effects - 08/12/2002 7:08 PM
sorry, I have to open file ?
© UBB.Developers