GeneralHide selected content before thanks for post

General information
Previous topicNext topic
User avatar

Topic Author
proavia
Users
Users
Status: Offline
User theme: Dark
Posts: 65
Joined: Aug 30th, '15, 20:50
    Windows 7 Internet Explorer

Hide selected content before thanks for post

Post by proavia »

Hi All!

I was talking with a friend today about his phpBB 3.1 forum. He would like a way to track if someone views hidden content within a post.

He has installed a "Thanks for Posts" extension (https://github.com/rxu/thanks_for_posts) and was wondering if an addon for that extension or an additional extension could be made available to hide selected content of a post from a member until that member "thanks" for the post. I'm certainly NOT a programmer, but I think a custom bbcode could somehow be tied in to only show content within the bbcode after thanks are given. The bbcode may also need the ability to place other bbcodes with the tags.

He is using ABBC3 on the forum and it already has a [hidden] bbcode - so an additional bbcode (??) would be needed to use the "hide until thanks" hidden content.

There is something similar to this for MyBB (https://mods.mybb.com/view/hide-until-thanks) - but, of course, he doesn't want to change from phpBB.

Is this at all possible? Would anyone be up for the challenge to make this available?

TIA!
User avatar

clight77
Donator
Donator
Status: Offline
User theme: Dark
Posts: 499
Joined: Sep 24th, '15, 14:23
    Windows 10 Chrome

Re: Hide selected content before thanks for post

Post by clight77 »

Probably not even what you are after.
Just throwing it out there for ya :)

https://github.com/marcovo/phpbb_hidebbcode
User avatar

Topic Author
proavia
Users
Users
Status: Offline
User theme: Dark
Posts: 65
Joined: Aug 30th, '15, 20:50
    Windows 7 Internet Explorer

Re: Hide selected content before thanks for post

Post by proavia »

:thankyou: for the reply!

I will show that to him. But I think he is attempting to have members NOT post a thank you and instead use the "thanks for posts' extension.

EDIT:
Ok, I was mistaken - guess I should have read the REAME first. :wall: :wall: :wall:
I installed on my development site to test and it appears to due what he wants it to.

From the README:

Code: Select all

With the [[hide] bbcode][5], members can hide their message content from people that haven't posted in their topic. One can also choose whether or not attachments should be hidden.
Compatibility has been added for these extensions:
 * [Thanks for Posts][1]: You can choose in the ACP that people can also (or only) unhide [hide] codes by thanking the user for the post. Thanks on posts containing a [hide] code may not be deleted.
 * [Quick Reply][2]: When needed, page reloads after a quick reply.

Caution should be taken with these extensions:
 * [Topic Preview][3]: This extension [seems][4] to display the hidden text by default. You can disallow the BBCode to show up in the ACP of Topic Preview.

## Installation:
 * Copy the contents of the extension to ext/marcovo/hideBBcode/
 * Install the extension under ACP -> Customise -> Manage extensions.
 * Configure the extension under ACP -> Extensions -> [HIDE] BBCODE -> General settings


 [1]: https://github.com/rxu/thanks_for_posts
 [2]: https://github.com/Tatiana5/QuickReply
 [3]: https://github.com/VSEphpbb/topicpreview
 [4]: https://www.phpbb.com/community/viewtopic.php?p=14164491#p14164491
 [5]: https://www.phpbb.com/community/viewtopic.php?f=456&t=2279486
So again: :thankyou: :thankyou: :thankyou:
User avatar

yusufdj
Users
Users
Status: Offline
User theme: Dark
Posts: 11
Joined: Mar 20th, '18, 23:02
    Windows 10 Firefox

Re: Hide selected content before thanks for post

Post by yusufdj »

Hi do you have the 3.2 version of the plugin you mentioned?
User avatar

caliventura
Users
Users
Status: Offline
User theme: Dark
Posts: 1
Joined: Jun 12th, '18, 20:39
    Windows 10 Chrome

Re: Hide selected content before thanks for post

Post by caliventura »

Anybody has tested this Extension in version 3.2.x? Apparently this is an abandoned Extension.

I have it working in perfectly in PHPBB 3.1.10. I tried to upgrade to 3.12 and stop working, so I decided to stay in 3.1.0.

Now with 3.2.2 out there still a chance that works again.

Image

Image

Image
User avatar

yusufdj
Users
Users
Status: Offline
User theme: Dark
Posts: 11
Joined: Mar 20th, '18, 23:02
    Mac OS X Chrome

Re: Hide selected content before thanks for post

Post by yusufdj »

caliventura wrote: Jun 12th, '18, 21:06 Anybody has tested this Extension in version 3.2.x? Apparently this is an abandoned Extension.

I have it working in perfectly in PHPBB 3.1.10. I tried to upgrade to 3.12 and stop working, so I decided to stay in 3.1.0.

Now with 3.2.2 out there still a chance that works again.

Image

Image

Image
Have you tried version 3.2.x? does it work?
Previous topicNext topic