[2.0.15] MouseOver Spoiler MOD

The cleanup is complete. This forum is now read only.

Rating:

Excellent!
4
31%
Very Good
5
38%
Good
2
15%
Fair
1
8%
Poor
1
8%
 
Total votes : 13

[2.0.15] MouseOver Spoiler MOD

Postby MOD Robot » Sat May 14, 2005 7:15 am

MOD Name: MouseOver Spoiler MOD
Author: Gigs
MOD Description: Adds a spoiler BBcode, which "reveals" the hidden text OnMouseover. Uses tables for readability.


MOD Version: 1.0.0

Download File: mouseover_spoiler_bbcode.mod
mods overview page: View
File Size: 6331 Bytes

Security Score: 0
Last edited by MOD Robot on Mon Apr 30, 2007 12:30 am, edited 1 time in total.
(this is a non-active account manager for the phpBB MOD Team)
MOD Robot
MOD Queue Bot
MOD Queue Bot
 
Posts: 22154
Joined: Sat Aug 16, 2003 7:36 am

Postby ycl6 » Wed May 18, 2005 12:17 pm

MOD Validated/Released

Notes:
With this MOD, text wrapped inside the Spoiler BBcode will be hidden inside the black background and will be revealed when mouseover.

One thing to note: If text were already wrapped within other bbcodes (e.g. color, code, quote, URL, ect), the mouseover effect is broken.
User avatar
ycl6
Former Team Member
 
Posts: 5702
Joined: Sat Feb 15, 2003 10:35 am
Location: Taiwan

Postby Rocket Baby Dolls » Fri May 20, 2005 9:17 am

the download isnt working
Rocket Baby Dolls
Registered User
 
Posts: 52
Joined: Tue Feb 01, 2005 11:49 am

Postby AaronOwnsYou » Sun May 22, 2005 2:39 am

Rocket Baby Dolls wrote:the download isnt working

You mean you have problem installation?
So do I!

Code: Select all
Critical Error

FIND FAILED: In file [includes/bbcode.php] could not find:

$EMBB_widths = array(''
$EMBB_values = array(''

MOD script line #47 :: FAQ :: Report
User avatar
AaronOwnsYou
Registered User
 
Posts: 131
Joined: Sat Mar 19, 2005 12:41 pm
Location: Singapore

Postby MHobbit » Sun May 22, 2005 3:01 am

You need the Multiple BBCodes MOD by Nuttzy installed before installing this MOD. :wink:
Former phpBB MOD Team member
No private support is offered.
"There’s too many things to get done, and I’m running out of days..."
User avatar
MHobbit
Former Team Member
 
Posts: 4763
Joined: Thu Mar 18, 2004 5:32 pm
Location: There and Back Again

Postby AaronOwnsYou » Sun May 22, 2005 3:18 am

MennoniteHobbit wrote:You need the Multiple BBCodes MOD by Nuttzy installed before installing this MOD. :wink:

Oh, I see.
Is the "Multiple BBCodes" compatible with phpBB 2.0.15?
User avatar
AaronOwnsYou
Registered User
 
Posts: 131
Joined: Sat Mar 19, 2005 12:41 pm
Location: Singapore

Postby ycl6 » Sun May 22, 2005 8:21 am

AaronOwnsYou wrote:Oh, I see.
Is the "Multiple BBCodes" compatible with phpBB 2.0.15?

Yes, it is.

~Mac
User avatar
ycl6
Former Team Member
 
Posts: 5702
Joined: Sat Feb 15, 2003 10:35 am
Location: Taiwan

Postby AaronOwnsYou » Sun May 22, 2005 9:20 am

ycl6 wrote:
AaronOwnsYou wrote:Oh, I see.
Is the "Multiple BBCodes" compatible with phpBB 2.0.15?

Yes, it is.

~Mac

Is it validated yet?
User avatar
AaronOwnsYou
Registered User
 
Posts: 131
Joined: Sat Mar 19, 2005 12:41 pm
Location: Singapore

Postby Rocket Baby Dolls » Tue May 24, 2005 2:39 pm

MennoniteHobbit wrote:You need the Multiple BBCodes MOD by Nuttzy installed before installing this MOD. :wink:


Where do i get it?
Rocket Baby Dolls
Registered User
 
Posts: 52
Joined: Tue Feb 01, 2005 11:49 am

Postby ycl6 » Tue May 24, 2005 2:52 pm

You can easily find it using the search function :wink:

http://www.phpbb.com/phpBB/viewtopic.php?t=145513

~Mac
User avatar
ycl6
Former Team Member
 
Posts: 5702
Joined: Sat Feb 15, 2003 10:35 am
Location: Taiwan

Postby Rocket Baby Dolls » Tue May 24, 2005 3:07 pm

ycl6 wrote:You can easily find it using the search function :wink:

http://www.phpbb.com/phpBB/viewtopic.php?t=145513

~Mac


Thankyou. I did use the search engine but it brought up about 300 different threads
Rocket Baby Dolls
Registered User
 
Posts: 52
Joined: Tue Feb 01, 2005 11:49 am

Postby Neo_Bahamut » Thu May 26, 2005 6:23 am

For some reason, I can't get it to work with the SubMerged theme.
Easymod couldn't modify bbcode.tpl correctly, so I'm doing it manually, but it just won't work. I did get it to work with VereorLCARS, though. (bbcode.tpl modified manually)
MOD code:
Code: Select all
#-----[ FIND ]------------------------------------------
#
<!-- BEGIN b_open --><span style="font-weight: bold"><!-- END b_open -->
<!-- BEGIN b_close --></span><!-- END b_close -->

#
#-----[ BEFORE, ADD ]------------------------------------------
#
<!-- BEGIN spoiler_open --><b>Spoiler:</b> <table><tr><td bgcolor=black style="padding: 10px; background-color: black; font-color: black; font-face=arial, sans-serif; font-size: .8em;" onMouseOver='javascript:this.style.color="white";' onMouseOut='javascript:this.style.color="black";'><!-- END spoiler_open -->
<!-- BEGIN spoiler_close --></td></tr></table><!-- END spoiler_close -->

I think it's because of this in the SubMerged code:
Code: Select all
<!-- BEGIN b_open --><span style='font-weight: bold'><!-- END b_open -->
<!-- BEGIN b_close --></span><!-- END b_close -->

It uses single quotes instead of double quotes throughout the code.

The file is here if you want to look at it in its entirety:
bbcode.tpl
Neo_Bahamut
Registered User
 
Posts: 8
Joined: Thu May 19, 2005 9:43 pm

Postby Rocket Baby Dolls » Sun May 29, 2005 11:10 pm

For some reason the spoiler code shows on the thread. The only way to make it disappear is to move the mouse onto it and back off it. Is there any way to have it invisible from the start? Also maybe a 'quote' box surrounding it to let people know a spoiler is occupying it?
Rocket Baby Dolls
Registered User
 
Posts: 52
Joined: Tue Feb 01, 2005 11:49 am

Postby BigRed01 » Mon May 30, 2005 9:59 am

Demo?
BigRed01
Registered User
 
Posts: 343
Joined: Mon Jan 24, 2005 9:26 am
Location: The upper midwest

Postby King Moonraiser » Wed Jun 15, 2005 8:39 pm

I had the same problem with the spoiler text not being black until you mouseover and then off.

I didn't care for the table, so I replaced the code with a simple span tag.

Before:
Code: Select all
<!-- BEGIN spoiler_open --><b>Spoiler:</b> <table><tr><td bgcolor=black style="padding: 10px; background-color: black; font-color: black; font-face=arial, sans-serif; font-size: .8em;" onMouseOver='javascript:this.style.color="white";' onMouseOut='javascript:this.style.color="black";'><!-- END spoiler_open -->
<!-- BEGIN spoiler_close --></td></tr></table><!-- END spoiler_close -->

After:
Code: Select all
<!-- BEGIN spoiler_open --><SPAN style="background-color:#000000;color:#000000" onmouseover="this.style.color='#FFFFFF';" onmouseout="this.style.color=this.style.backgroundColor='#000000'"><!-- END spoiler_open -->
<!-- BEGIN spoiler_close --></span><!-- END spoiler_close -->


This seems to work fine. Change the #000000 to a different color, like #808080, if your background is dark (e.g., subBlack).
User avatar
King Moonraiser
Registered User
 
Posts: 50
Joined: Wed Jun 15, 2005 8:31 pm

Next

Return to [2.0.x] MOD Database Cleanup

Who is online

Users browsing this forum: No registered users and 1 guest