[MODDB] Guest Hide BBCode MOD

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Suggested Hosts
Locked
User avatar
AllCity
Registered User
Posts: 230
Joined: Sun Jun 22, 2008 6:33 pm
Name: Andrey Shapoval
Contact:

[MODDB] Guest Hide BBCode MOD

Post by AllCity » Mon Dec 15, 2008 5:03 pm

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
Last edited by AllCity on Sun May 10, 2009 5:11 am, edited 48 times in total.
My mods home page.

User avatar
darkonia
Registered User
Posts: 1901
Joined: Tue May 13, 2008 1:10 pm
Location: Munich, Germany
Contact:

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

Post by darkonia » Mon Dec 15, 2008 5:30 pm

cool, nice bbcode :ugeek:
MMOG-Heaven - Das Gaming Portal
Community bedeutet Gleichgesinnte finden - MMOG-Heaven ist Deine Community! Von Spielern für Spieler bietet Dir dieses Portal genau das, was ein Spieler braucht. Bleibe ständig informiert, finde die neuesten MMORPGs, oder suche die frischesten News aus der Welt des Online Gamings - dieses und vieles mehr erwartet Dich auf MMOG-Heaven.

User avatar
ChriZathens
Registered User
Posts: 1477
Joined: Tue Apr 18, 2006 9:11 pm
Location: Athens, Greece
Name: Chris

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

Post by ChriZathens » Tue Dec 16, 2008 12:23 pm

Ehmm... how does this work? :?:
My mods in MODDB:
Add Homepage link in header - Change user activity post limit - Post number in viewtopic
If you need support click on the support tab there and post your question.
Do not PM me - chances of viewing my PMs are way thinner than viewing the support question in the customization DB...

User avatar
AllCity
Registered User
Posts: 230
Joined: Sun Jun 22, 2008 6:33 pm
Name: Andrey Shapoval
Contact:

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

Post by AllCity » Tue Dec 16, 2008 1:12 pm

[hide]Secret![/hide] :)
My mods home page.

User avatar
ChriZathens
Registered User
Posts: 1477
Joined: Tue Apr 18, 2006 9:11 pm
Location: Athens, Greece
Name: Chris

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

Post by ChriZathens » Tue Dec 16, 2008 1:32 pm

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...
My mods in MODDB:
Add Homepage link in header - Change user activity post limit - Post number in viewtopic
If you need support click on the support tab there and post your question.
Do not PM me - chances of viewing my PMs are way thinner than viewing the support question in the customization DB...

User avatar
AllCity
Registered User
Posts: 230
Joined: Sun Jun 22, 2008 6:33 pm
Name: Andrey Shapoval
Contact:

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

Post by AllCity » Tue Dec 16, 2008 4:38 pm

Fixed!
My mods home page.

User avatar
AllCity
Registered User
Posts: 230
Joined: Sun Jun 22, 2008 6:33 pm
Name: Andrey Shapoval
Contact:

Re: [RC] Guest Hide BBCode MOD 1.1.0

Post by AllCity » Tue Dec 16, 2008 8:56 pm

Updated mod to 1.1.0 version
My mods home page.

stokerpiller
Registered User
Posts: 1934
Joined: Wed Feb 28, 2007 8:06 pm

Re: [RC] Guest Hide BBCode MOD 1.1.0

Post by stokerpiller » Thu Dec 18, 2008 9:28 am

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
I am done with phpBB

User avatar
AllCity
Registered User
Posts: 230
Joined: Sun Jun 22, 2008 6:33 pm
Name: Andrey Shapoval
Contact:

Re: [RC] Guest Hide BBCode MOD 1.1.1

Post by AllCity » Wed Dec 24, 2008 5:11 pm

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.
My mods home page.

User avatar
DragonMaster1
Registered User
Posts: 994
Joined: Tue Aug 17, 2004 11:04 am
Name: Terry
Contact:

Re: [RC] Guest Hide BBCode MOD 1.1.1

Post by DragonMaster1 » Fri Dec 26, 2008 12:59 am

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

stokerpiller
Registered User
Posts: 1934
Joined: Wed Feb 28, 2007 8:06 pm

Re: [RC] Guest Hide BBCode MOD 1.1.1

Post by stokerpiller » Fri Dec 26, 2008 1:28 am

Thanks, its working now.

Dragonmaster -> Purge cache ;)
I am done with phpBB

User avatar
DragonMaster1
Registered User
Posts: 994
Joined: Tue Aug 17, 2004 11:04 am
Name: Terry
Contact:

Re: [RC] Guest Hide BBCode MOD 1.1.1

Post by DragonMaster1 » Fri Dec 26, 2008 3:21 am

OH!!!!

VERY KEWL!!!

Hidden text, only to users.

Yes....I do like this

Guess I forgot to clear the cache :mrgreen:

Thanx Much!!!

User avatar
AllCity
Registered User
Posts: 230
Joined: Sun Jun 22, 2008 6:33 pm
Name: Andrey Shapoval
Contact:

Re: [RC] Guest Hide BBCode MOD 1.1.1

Post by AllCity » Fri Dec 26, 2008 11:44 am

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-)
My mods home page.

mtrs
Registered User
Posts: 2049
Joined: Sat Sep 22, 2007 2:39 pm

Re: [RC] Guest Hide BBCode MOD 1.1.1

Post by mtrs » Fri Dec 26, 2008 11:52 am

Does this ([hide]Content[/hide]) bbcode hide content also from BOTs?
I abandoned all of my mods.

stokerpiller
Registered User
Posts: 1934
Joined: Wed Feb 28, 2007 8:06 pm

Re: [RC] Guest Hide BBCode MOD 1.1.1

Post by stokerpiller » Fri Dec 26, 2008 12:30 pm

AllCity wrote:So now everything is working properly?
Yes, but there is a conflict with the Highslide attachment mod.
I am done with phpBB

Locked

Return to “[3.0.x] MODs in Development”