Page 1 of 7

[MODDB] Guest Hide BBCode MOD

Posted: Mon Dec 15, 2008 5:03 pm
by AllCity
About this MOD
Title: Guest Hide BBCode MOD
Description: With the [hide] BBCode, members can hide their message content from guest!
Version: 1.4.0
Installation Level: Easy
Installation Time: ~3 minutes
Author
Username: AllCity
Name: Shapoval Andrey Vladimirovich
WWW: *LINK REMOVED*
MOD History
2008-12-15 - Version 1.0.0
Initial Release.

2008-12-17 - Version 1.1.0
Changed BBCode call tag.
Fixed bug when you click "Preview".
Added multi language support.
Added Russian language.

2008-12-24 - Version 1.1.1
Debug guest error FIX (Undefined variable: replace_hide).

2008-12-27 - Version 1.1.2
Added Hebrew language.
Added Ukrainian language.
Added html comment before and after the hide tag (Bug FIX).

2008-12-31 - Version 1.1.3
Added possible to ENABLED/DISABLED MOD.
Added possible to configure script.

2009-01-04 - Version 1.2.0
Added possible to ENABLED/DISABLED view the text only after the user post (From Simple Hide BBcode MOD).
Added possible to ENABLED/DISABLED Admins and Moderators read hidden content if view the text only after the user post on (From Simple Hide BBcode MOD).

2009-01-08 - Version 1.2.1
Added possible to ENABLED/DISABLED hide the text in search.

2009-01-27 - Version 1.2.5
Removed possible to view the text only after the user post (From Simple Hide BBcode MOD).
Removed possible to Admins and Moderators read hidden content if view the text only after the user post on (From Simple Hide BBcode MOD).
Added possible to ENABLED/DISABLED hide the text in review topics (Bug fix for guest reply).

2009-02-28 - Version 1.3.0
Rewritten almost the entire script.
This mod no longer works on hook system.
Now there are over hidden message indicates it is hidden or not.
Changed the language file (translation).
Fixed a bug where guest can watch what is hidden in the signature.
Fix style to BBCode hide.
Added new class for the style BBCode hide (line).
Added possible to ENABLED/DISABLED hide the text from bots.
Removed possible to ENABLED/DISABLED hide the text in search (But the bug for guest is fixed).
Removed possible to ENABLED/DISABLED hide the text in review topics (But the bug for guest is fixed).
Minor bugfixes...

2009-03-04 - Version 1.3.1
Added possible to ENABLED/DISABLED link to registration.
Style line fix.
Changed html coment.

2009-04-14 - Version 1.4.0
If the mod disabled the file style is not including.
Cleaned mod code.
Up to 1.4.0 version for validation on phpBB.com web site.
SCREENSHOT:
Image
Image

Re: [RC] Guest Hide BB-Code MOD 1.0.0

Posted: Mon Dec 15, 2008 5:30 pm
by darkonia
cool, nice bbcode :ugeek:

Re: [RC] Guest Hide BB-Code MOD 1.0.0

Posted: Tue Dec 16, 2008 12:23 pm
by ChriZathens
Ehmm... how does this work? :?:

Re: [RC] Guest Hide BB-Code MOD 1.0.0

Posted: Tue Dec 16, 2008 1:12 pm
by AllCity
[hide]Secret![/hide] :)

Re: [RC] Guest Hide BB-Code MOD 1.0.0

Posted: Tue Dec 16, 2008 1:32 pm
by ChriZathens
Well, yes.. I installed the mod and wrote [hide]something[/hide] but it showed up as [hide]something[/hide]
Is this supposed to add a bbcode in acp? (I guess not..)
Because it didn't...

Re: [RC] Guest Hide BB-Code MOD 1.0.0

Posted: Tue Dec 16, 2008 4:38 pm
by AllCity
Fixed!

Re: [RC] Guest Hide BBCode MOD 1.1.0

Posted: Tue Dec 16, 2008 8:56 pm
by AllCity
Updated mod to 1.1.0 version

Re: [RC] Guest Hide BBCode MOD 1.1.0

Posted: Thu Dec 18, 2008 9:28 am
by stokerpiller
This is nice, but there is some bugs when using attachments.
Screenshot when logged in: http://easycaptures.com/3307957020
Screenshot when guest: http://easycaptures.com/5726500044
Note that avatar and profile info gets screwed.

Or maybe this is because of the Highslide mod I am using?


Edit: Also problems with validation, does not validate strict xhtml
And there is some kind of hidden debug error for guests?

Code: Select all

[phpBB Debug] PHP Notice: in file /includes/hooks/hook_guest_hide_bbcode_mod.php on line 31: Undefined variable: replace_hide
[phpBB Debug] PHP Notice: in file /includes/hooks/hook_guest_hide_bbcode_mod.php on line 31: Undefined variable: replace_hide
[phpBB Debug] PHP Notice: in file /includes/hooks/hook_guest_hide_bbcode_mod.php on line 31: Undefined variable: replace_hide

Re: [RC] Guest Hide BBCode MOD 1.1.1

Posted: Wed Dec 24, 2008 5:11 pm
by AllCity
stokerpiller wrote: And there is some kind of hidden debug error for guests?

Code: Select all

[phpBB Debug] PHP Notice: in file /includes/hooks/hook_guest_hide_bbcode_mod.php on line 31: Undefined variable: replace_hide
[phpBB Debug] PHP Notice: in file /includes/hooks/hook_guest_hide_bbcode_mod.php on line 31: Undefined variable: replace_hide
[phpBB Debug] PHP Notice: in file /includes/hooks/hook_guest_hide_bbcode_mod.php on line 31: Undefined variable: replace_hide
Fixed (Updated mod to 1.1.1 version).
stokerpiller wrote:This is nice, but there is some bugs when using attachments.
Screenshot when logged in: http://easycaptures.com/3307957020
Screenshot when guest: http://easycaptures.com/5726500044
Note that avatar and profile info gets screwed.

Or maybe this is because of the Highslide mod I am using?
I think this is over Highslide mod, because I have everything is OK.

Re: [RC] Guest Hide BBCode MOD 1.1.1

Posted: Fri Dec 26, 2008 12:59 am
by DragonMaster1
I’d love to get this to work

But when I make a link, all I get it a lighter box going across the area that both members and guests CAN see

I tired this with links and just text and they can both be seen by all

I am using subsilver & Divine Black as a skin on 304

Re: [RC] Guest Hide BBCode MOD 1.1.1

Posted: Fri Dec 26, 2008 1:28 am
by stokerpiller
Thanks, its working now.

Dragonmaster -> Purge cache ;)

Re: [RC] Guest Hide BBCode MOD 1.1.1

Posted: Fri Dec 26, 2008 3:21 am
by DragonMaster1
OH!!!!

VERY KEWL!!!

Hidden text, only to users.

Yes....I do like this

Guess I forgot to clear the cache :mrgreen:

Thanx Much!!!

Re: [RC] Guest Hide BBCode MOD 1.1.1

Posted: Fri Dec 26, 2008 11:44 am
by AllCity
DragonMaster1 wrote:forgot to clear the cache
Next time, do not forget :lol:
stokerpiller wrote:Thanks, its working now.
So now everything is working properly?

P.S. Who notices the bugs write here! 8-)

Re: [RC] Guest Hide BBCode MOD 1.1.1

Posted: Fri Dec 26, 2008 11:52 am
by mtrs
Does this ([hide]Content[/hide]) bbcode hide content also from BOTs?

Re: [RC] Guest Hide BBCode MOD 1.1.1

Posted: Fri Dec 26, 2008 12:30 pm
by stokerpiller
AllCity wrote:So now everything is working properly?
Yes, but there is a conflict with the Highslide attachment mod.