[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!
Anti-Spam Guide
User avatar
AllCity
Registered User
Posts: 230
Joined: Sun Jun 22, 2008 6:33 pm
Name: Andrey Shapoval
Contact:

Re: [RC1] Guest Hide BBCode MOD 1.2.1

Post by AllCity » Sat Jan 17, 2009 9:29 am

4. Under "HTML replacement", enters: <!-- BBHide --><div class="HideBlockA">{TEXT}</div><!-- /BBHide -->
My mods home page.

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

Re: [RC1] Guest Hide BBCode MOD 1.2.1

Post by DragonMaster1 » Sat Jan 17, 2009 9:58 am

Just not understanding the only for experts part

User avatar
hejowicz
Registered User
Posts: 442
Joined: Sun Dec 23, 2007 4:03 pm

Re: [RC1] Guest Hide BBCode MOD 1.2.1

Post by hejowicz » Mon Jan 26, 2009 12:46 pm

Hi ;)

I have one question

... My users are pretty lazy and they can forggeting about hide content (they use to bbcode code)

so How to change /swap bbcode hide to code ?

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

Re: [RC2] Guest Hide BBCode MOD 1.2.5

Post by AllCity » Tue Jan 27, 2009 9:00 pm

ProSilver:
Z:\home\localhost\www\phpBB3\styles\prosilver\template\bbcode.html
Find:

Code: Select all

<!-- BEGIN code_open --><dl class="codebox"><dt>{L_CODE}: <a href="#" onclick="selectCode(this); return false;">{L_SELECT_ALL_CODE}</a></dt><dd><code><!-- END code_open -->
<!-- BEGIN code_close --></code></dd></dl><!-- END code_close -->
replace to:

Code: Select all

<!-- BEGIN code_open --><!-- BBHide --><div class="HideBlockA"><dl class="codebox"><dt>{L_CODE}: <a href="#" onclick="selectCode(this); return false;">{L_SELECT_ALL_CODE}</a></dt><dd><code><!-- END code_open -->
<!-- BEGIN code_close --></code></dd></dl></div><!-- /BBHide --><!-- END code_close -->
SubSilver2:
Z:\home\localhost\www\phpBB3\styles\subsilver2\template\bbcode.html
Find:

Code: Select all

<!-- BEGIN code_open -->
<div class="codetitle"><b>{L_CODE}:</b></div><div class="codecontent">
<!-- END code_open -->

<!-- BEGIN code_close -->
</div>
<!-- END code_close -->
raplace to:

Code: Select all

<!-- BEGIN code_open -->
<!-- BBHide --><div class="HideBlockA"><div class="codetitle"><b>{L_CODE}:</b></div><div class="codecontent">
<!-- END code_open -->

<!-- BEGIN code_close -->
</div></div><!-- /BBHide -->
<!-- END code_close -->
Purge the cache
My mods home page.

CrapBag
Registered User
Posts: 3
Joined: Wed Jan 28, 2009 6:35 pm

Re: [RC2] Guest Hide BBCode MOD 1.2.5

Post by CrapBag » Wed Jan 28, 2009 6:40 pm

Great work on this. :D

I have a question though, does the newest release (1.2.5) not support HIDE from users so they have to reply to the topic to see what's hidden? I don't need to hide anything from guests because you have to register to my board to see anything at all, but i want to hide links/text etc. from registered users until they reply. Do you know how i can get this to work again? Or do you have an old version with that feature enabled i can get?

Thank you so much!

:-)

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

Re: [RC2] Guest Hide BBCode MOD 1.2.5

Post by AllCity » Wed Jan 28, 2009 8:03 pm

Check PM (v1.2.1)
My mods home page.

CrapBag
Registered User
Posts: 3
Joined: Wed Jan 28, 2009 6:35 pm

Re: [RC2] Guest Hide BBCode MOD 1.2.5

Post by CrapBag » Wed Jan 28, 2009 10:01 pm

AllCity wrote:Check PM (v1.2.1)
Thanks alot:-D

Have some issues getting it to work properly though. All the users can read the hidden content even if they have not replied. What kinda modifications do i have to do?
I have only edited this:

Code: Select all

('GUEST_HIDE_BBCODE_MOD_SEARCH', false);
&

Code: Select all

('GUEST_HIDE_BBCODE_MOD_INPOST', true);
And it always show the message. I would really appreciate it if anyone can help me fix this.

Thanks in advance. :)

User avatar
hejowicz
Registered User
Posts: 442
Joined: Sun Dec 23, 2007 4:03 pm

Re: [RC2] Guest Hide BBCode MOD 1.2.5

Post by hejowicz » Thu Jan 29, 2009 4:11 am

thanks

alphatran
Registered User
Posts: 38
Joined: Sun Jul 20, 2008 5:09 am

Re: [RC2] Guest Hide BBCode MOD 1.2.5

Post by alphatran » Sat Feb 21, 2009 6:09 am

I'm quite new to mod installation and this mod, please tell me how to install this mode ?
It sounds very cool mod. Thanks !

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

Re: [RC2] Guest Hide BBCode MOD 1.2.5

Post by AllCity » Sat Feb 21, 2009 8:49 am

look at install.xml
My mods home page.

alphatran
Registered User
Posts: 38
Joined: Sun Jul 20, 2008 5:09 am

Re: [RC2] Guest Hide BBCode MOD 1.2.5

Post by alphatran » Sat Feb 21, 2009 10:13 am

I have installed but it did not work
For exapmle:

I want to protect this string: "This message is protected by hide mod"

It shows me:

Code: Select all

<!-- BBHide --><div class="HideBlockA">This message is protected by hide mod</div><!-- /BBHide -->
Please help me !

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

Re: [RC2] Guest Hide BBCode MOD 1.2.5

Post by AllCity » Sat Feb 21, 2009 10:26 am

.....\language\en\mods\guest_hide_bbcode_mod.php
My mods home page.

alphatran
Registered User
Posts: 38
Joined: Sun Jul 20, 2008 5:09 am

Re: [RC2] Guest Hide BBCode MOD 1.2.5

Post by alphatran » Sun Feb 22, 2009 3:35 am

Thank you,

I installed it success ! it's working

One more question, can this mod hide content from bots such as Google Bots, Yahoo Bots?

User avatar
BizimPencere
Registered User
Posts: 396
Joined: Sat Aug 25, 2007 8:31 pm

Re: [RC2] Guest Hide BBCode MOD 1.2.5

Post by BizimPencere » Sun Feb 22, 2009 9:44 am

alphatran wrote:Thank you,

I installed it success ! it's working

One more question, can this mod hide content from bots such as Google Bots, Yahoo Bots?
Good question...

And Question 2 : I need function to answer hide mod without cannot members answered to topic.

Not replyed message , no see hide contest.,

It is a possible?
www.phpbbturkiye.net | Turkish phpBB3 support and development

Cebar
Registered User
Posts: 39
Joined: Sat Oct 04, 2008 3:20 pm

Re: [RC2] Guest Hide BBCode MOD 1.2.5

Post by Cebar » Fri Feb 27, 2009 8:55 am

2009-01-27 - Version 1.2.5
Removed possible to view the text only after the user post. (From Simple Hide BBcode MOD)
so it does not support this anymore? :shock:

Locked

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