[2.0.12] Hide BBcode MOD

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

Rating:

Excellent!
42
72%
Very Good
3
5%
Good
8
14%
Fair
0
No votes
Poor
5
9%
 
Total votes: 58

Extensions Robot
Extensions Robot
Extensions Robot
Posts: 27564
Joined: Sat Aug 16, 2003 7:36 am

[2.0.12] Hide BBcode MOD

Post by Extensions Robot » Mon Aug 09, 2004 2:05 am

MOD Name: Hide BBcode MOD
Author: EGIS
MOD Description: Adds a Hide BBcode to your forum, which reveals the hidden code (images too) when some text is clicked. Great if you want other users to agree before viewing information about for example the ending of a book. Also great for hiding screenshots and big images so they don't screw up the page layout.
Usage: [hide]Hidden code here[/hide] or [hide=Text to be clicked]Hidden code here[/hide]


MOD Version: 1.3.0 (Updated 03/04/05)

Download File: hide_bbcode_1.3.0.zip
mods overview page: View
File Size: 5805 Bytes

Security Score: 0
Last edited by Extensions Robot on Mon Apr 30, 2007 12:30 am, edited 1 time in total.
(this is a non-active account manager for the phpBB Extension Customisations Team)

User avatar
wGEric
Former Team Member
Posts: 8805
Joined: Sun Oct 13, 2002 3:01 am
Location: Friday
Name: Eric Faerber
Contact:

Post by wGEric » Tue Aug 24, 2004 7:01 pm

MOD Validated/Released

Notes:
This MOD makes it so that you can hide text in your posts and it is only readable when the user clicks some text.

This MOD will not work if users have javascript disabled but the hidden text will be readable.
Last edited by wGEric on Tue Aug 24, 2004 7:13 pm, edited 1 time in total.

User avatar
EGIS
Registered User
Posts: 60
Joined: Sat Apr 24, 2004 3:37 am
Location: Norway
Contact:

Post by EGIS » Tue Aug 24, 2004 7:05 pm

Thank you, that was fast!
Demo board here. (guests may post)
Last edited by EGIS on Thu Oct 14, 2004 12:39 pm, edited 3 times in total.
My mod: [Hide BBcode MOD]

User avatar
markus_petrux
Former Team Member
Posts: 1887
Joined: Wed Apr 23, 2003 7:11 am
Location: Girona, Catalunya (Spain)
Contact:

Post by markus_petrux » Tue Aug 24, 2004 8:13 pm

EGIS wrote: It will still show the content though.

It does not show the text for NS4, Opera5 and Opera6. :roll:
EasyMOD Standards | MOD Template Actions | MODs in Development Rules
Useful information for MOD Authors | MOD Queue Stats | Search MODs
Write SQL/DDL portable to all SQL servers supported by phpBB!
Get EasyMOD 0.3.0! | Suport al phpBB en Català!
8)

Shof515
Registered User
Posts: 1169
Joined: Wed Mar 19, 2003 4:36 am

Post by Shof515 » Tue Aug 24, 2004 8:17 pm

i have no problems with Opera 7.. :roll: :roll:
Whos missing up my sig?

User avatar
EGIS
Registered User
Posts: 60
Joined: Sat Apr 24, 2004 3:37 am
Location: Norway
Contact:

Post by EGIS » Tue Aug 24, 2004 8:22 pm

markus_petrux wrote: It does not show the text for NS4, Opera5 and Opera6. :roll:

You mean the [hide=text]? It's not shown on any browser without javascript because it's generated by the javascript.
If you mean the [hide]text[/hide], that's very strange because it's not made with any javascript, and the opening tag for the container-div is inside <noscript> tags.
My mod: [Hide BBcode MOD]

User avatar
markus_petrux
Former Team Member
Posts: 1887
Joined: Wed Apr 23, 2003 7:11 am
Location: Girona, Catalunya (Spain)
Contact:

Post by markus_petrux » Tue Aug 24, 2004 8:33 pm

Opera5 and Opera6 supports the display attribute, but it is read-only, so it can't be changed.

NS4 does not support the display attribute at all. It only supports the visibility attribute, but this is a different thing.

You can see the difference in this site:
http://www.quirksmode.org/js/blockinvi.html

That's a bit outdated, though.

Shof515, Opera added write support for the display attribute with version 7. ;)
EasyMOD Standards | MOD Template Actions | MODs in Development Rules
Useful information for MOD Authors | MOD Queue Stats | Search MODs
Write SQL/DDL portable to all SQL servers supported by phpBB!
Get EasyMOD 0.3.0! | Suport al phpBB en Català!
8)

User avatar
EGIS
Registered User
Posts: 60
Joined: Sat Apr 24, 2004 3:37 am
Location: Norway
Contact:

Post by EGIS » Tue Aug 24, 2004 8:50 pm

markus_petrux wrote: Opera5 and Opera6 supports the display attribute, but it is read-only, so it can't be changed.
NS4 does not support the display attribute at all. It only supports the visibility attribute, but this is a different thing.

Sorry I didn't know that, but I can't think of any fix for it. Luckily these are old browser's that's not widely used. (lame excuse)
My mod: [Hide BBcode MOD]

User avatar
markus_petrux
Former Team Member
Posts: 1887
Joined: Wed Apr 23, 2003 7:11 am
Location: Girona, Catalunya (Spain)
Contact:

Post by markus_petrux » Tue Aug 24, 2004 9:15 pm

Egis, check out your PM inbox.


HTH+ ...I like a lot your MOD.
EasyMOD Standards | MOD Template Actions | MODs in Development Rules
Useful information for MOD Authors | MOD Queue Stats | Search MODs
Write SQL/DDL portable to all SQL servers supported by phpBB!
Get EasyMOD 0.3.0! | Suport al phpBB en Català!
8)

SirAndrew
Registered User
Posts: 5
Joined: Thu Jul 01, 2004 4:35 am
Contact:

Post by SirAndrew » Fri Aug 27, 2004 2:52 am

I was unable to actually install this mod. In the very begining it states to find in the posting.php file

Code: Select all

#-----[ FIND ]--------------------------------- 
# 
$EMBB_keys = array('' 
$EMBB_widths = array('' 
$EMBB_values = array('' 
I am unable to find this coding in my original posting.php file. Please help.

Shof515
Registered User
Posts: 1169
Joined: Wed Mar 19, 2003 4:36 am

Post by Shof515 » Fri Aug 27, 2004 3:52 am

you will need the mutiple bb-code mod installed
Whos missing up my sig?

SirAndrew
Registered User
Posts: 5
Joined: Thu Jul 01, 2004 4:35 am
Contact:

Post by SirAndrew » Fri Aug 27, 2004 5:13 am

Multiple BBCode MOD 1.2.1 is already installed.

Shof515
Registered User
Posts: 1169
Joined: Wed Mar 19, 2003 4:36 am

Post by Shof515 » Fri Aug 27, 2004 5:28 am

can u find $EMBB_keys?
Whos missing up my sig?

User avatar
EGIS
Registered User
Posts: 60
Joined: Sat Apr 24, 2004 3:37 am
Location: Norway
Contact:

Post by EGIS » Fri Aug 27, 2004 9:33 am

SirAndrew:
I have tested installing it with Easymod and it works, so it should find the lines. Another mod may have changed this, so try looking for

Code: Select all

$EMBB_keys
as Shof515 said.

I have submitted an update to the mod that will have better browser support (thanks to markus_petrux), fix javascript error in simple_header.tpl and will also fix a security issue with the javascript.
My mod: [Hide BBcode MOD]

User avatar
Cuper
Registered User
Posts: 22
Joined: Tue Aug 19, 2003 12:05 pm
Location: Israel
Contact:

Post by Cuper » Sat Aug 28, 2004 9:42 pm

how can i use this mod in ezportal

Post Reply

Return to “[2.0.x] MOD Database Cleanup”

Who is online

Users browsing this forum: No registered users and 4 guests