Modification Name: HyperCells
Author(s): Weird Al
Description: Adds that really cool mouseover effect for the table cells
Demo: none
Requirements: 6.6.x - 6.7.x
Download Link: 6.6 6.7 Credits: Gizzy for making me do it, and for the 6.4 version
Instructions / Other Info: Upload files once done. The Hypercell settings can be found in the Style edit page
YEY! now to get ubb news fader finalized and i shoudl be done
. well and the ubb chat mod (got lk's permission to have it ported for 6.6...
The news fader in color? and fading out as well as in?
quote:
Originally posted by RandyM:
The news fader in color? and fading out as well as in?
This mod has nothing to do with the news fader... Al and Brett are tryin to get me to upgrade my board, hence their updating mod's... Was just stating that the 2 i need to upgrade is having the news fader fixed and the chat mod done
...
Hypercells is a modification for BBS' that will fade the cells for the forum names when you hover over them.
News Fader is the mod that fades news in/out on the top of your forum.
In order for me to upgrade to each new versions i end up having to get so many mod's ported so i can use them heh...
Yeah, I know what hypercells is. I was just refering to the fact that you had mentioned the news fader earlier in this thread, that's all.
Does this one work on 6.7.1?
I just installed it, the only difference is
public_forum_summary.pl
instead of:
<a href="$ULTIMATEBB?ubb=forum;f=$x">$ForumName</a>
its:
<a href="$ULTIMATEBB{"ubb=forum;f=$x"}">$ForumName</a>
To search and replace for.
HyperCells working well! Thanks again Brett.
This is broke for 6.7 or it lost some functionality. Does not Hypercell in the forum itself, onlt the summary - verified my install with Bretts verified test hack not working as well. CELL is hot but no color change or cursor change. I'm about to fiddle and see if I can tell whats missing.. but someone post the correction please
Can anyone add this for active topics as well ?
verified error; i think there was a dramatic change or something, I don't recall exactly; noticed it a few days ago but didn't get to posting
...
Found it ....
IN public_forum_page.pl FIND
} # end icons column
if ($alt_color eq "$vars_style{AltColumnColor1}") {
$alt_color = "$vars_style{AltColumnColor2}";
} else {
$alt_color = "$vars_style{AltColumnColor1}";
}
REPLACE WITH
} # end icons column
if ($alt_color eq "$vars_style{AltColumnColor1}") {
$alt_color = "$vars_style{AltColumnColor2}";
$alt_HyperCells = "$HyperCellInsert1";
} else {
$alt_color = "$vars_style{AltColumnColor1}";
$alt_HyperCells = "$HyperCellInsert2";
}
Viola!
Originally posted by Gizzy:
verified error; i think there was a dramatic change or something, I don't recall exactly; noticed it a few days ago but didn't get to posting
...
Sure, Sure
You, the guy with the Demo test forum with no threads to TEST it on
Thanks for all the help guys .. glad to be able to contribute every once in a dozen updates
I just installed this on 6.7.1, and it does nothing on the SEARCH RESULTS and ACTIVE TOPICS pages...
I know the Active Topics pages was the hard one in the past, but I actually worked out that code for the 6.3 version.
I have the {Search Results} page showing the HyperCell rollovers, but it doesn't seem to want to pick up the URL unless clicking directly on the text...
::
public_search_results.pl ::
I replaced this:
<td bgcolor="$vars_style{AltColumnColor1}" align="left">
With this:
<td bgcolor="$vars_style{AltColumnColor1}" align="left" $HyperCellInsert1$HyperCellPath>
I now have the same on the {Active Topics} page, but again, yiu have to clilck the actual link to catch the URL.
In public_search_results.pl,
Change:
$HyperCellPath = qq~onclick="window.location.href='$TheURL';"~;
to
$HyperCellPath = qq~onclick="window.location.href='$url';"~;
In public_daily_topics.pl, all I can see is you'd need to use
$ULTIMATEBB{"ubb=get_topic;f=$forum;t=$topic;p=$pagenum#$zline[1]"}
as the url
I just discovered another glitch...
When clicking on the {Last Post} cell from the {Forum Summary} page, it takes you into that specific section, but not directly to the linked post, unless you specifically click on the text link.
For the purposes of the {Forum Summary} page, shouldn't there be a second set of parameters to pick up the secondary link..? It would be easy to do with onMouseOver & onClick stringss, but that defeats the purpose of having the global commands.
I just fixed the afore mentioned error...
public_forum_summary.pl#### FIND ####
sub Normal_Table_Row {
#HyperCells Hack
#Get Correct Path for HyperCells link
$HyperCellPath1 = "";
if ($vars_style{HyperCells_Toggle} == 1) {
$HyperCellPath1 = qq~onclick="window.location.href='$ULTIMATEBB{"ubb=forum;f=$x"}';"~;
}
#### REPLACE WITH ####
sub Normal_Table_Row {
#HyperCells Hack
#Get Correct Path for HyperCells link
$HyperCellPath1 = "";
if ($vars_style{HyperCells_Toggle} == 1) {
$HyperCellPath1 = qq~onclick="window.location.href='$ULTIMATEBB{"ubb=forum;f=$x"}';"~;
}
$HyperCellPath2 = "";
if ($vars_style{HyperCells_Toggle} == 1) {
$HyperCellPath2 = qq~onclick="window.location.href='$ULTIMATEBB{"ubb=get_topic;f=$x;t=$last_post_number$pglnk#"}';"~;
}
#### FIND ####
$Row .= qq~
<td bgcolor="$alt_color" nowrap="nowrap" valign="top" align="left" $alt_HyperCells$HyperCellPath>
#### REPLACE WITH ####
$Row .= qq~
<td bgcolor="$alt_color" nowrap="nowrap" valign="top" align="left" $alt_HyperCells$HyperCellPath2>
To see it in action, visit
www.gr-outdoors.com {FORUMS}
I now have the {SEARCH RESULTS} page functioning properly as well..
::
public_search_results.pl ::
Replace this:
<td bgcolor="$vars_style{AltColumnColor1}" align="left">
With this:
<td bgcolor="$vars_style{AltColumnColor1}" align="left" $HyperCellInsert1 onclick="window.location.href='$url'">
I now have the {ACTIVE TOPICS} page functioning properly as well..
::
public_daily_topics.pl ::
Replace this:
<td bgcolor="$vars_style{AltColumnColor1}" align="left">
With this:
<td bgcolor="$vars_style{AltColumnColor1}" align="left" $HyperCellInsert1 onclick="window.location.href='$ULTIMATEBB{"ubb=get_topic;f=$forum;t=$topic;p=$pagenum#$zline[1]"}'">
It appears that all bugs have now been worked out with the code I've placed above, and I've also added the "HyperCells" feature to the {Active Topics} page...