3.2 & 3.3 Extensions Database 3.2 / 3.3Reply to see content

<span class="qte-attr qte_32_33-qte">3.2.x & 3.3.x</span>
User avatar

Topic Author
dmzx Online
Founder
Founder
Posts: 6464
Joined: 13 Jan 2014, 21:45
    Windows 10 Chrome

Reply to see content

Post by dmzx »

Extension Name: Reply to see content
Author: dmzx

Special thanks to: martin

Extension Description:
Reply to see content in topic. Member has to make a reply to see the content in the topic.
Forum can be selected in ACP under "Manage forums" .

Image




Enhancements
- Per-forum URL masking: replytoseecontent_url_hide is now respected per forum (seecontent_url($forum_id)).
- Safer masking stage: URL/attachment masking now runs on rendered HTML (MESSAGE) instead of post_text (s9e XML), avoiding renderer crashes.
- Smarter matching: Expanded masking to cover inline attachments, HTML anchors, plain http(s) URLs, and optionally images.
- First-post visibility refinements:
- When a user has u_replytoseecontent_see_ft, the first post remains visible.
- In the first post (with see_ft), images, [badge], and [username] remain visible and are not masked.
- Other links and inline attachments in the first post are still replaced with REPLYTOSEECONTENT_URL_TEXT.

Bug fixes
- Fixed fatal error “Cannot load XML: Extra content at the end of the document” by no longer mutating s9e-compiled post_text.
- Fixed “Undefined property: ... $content_post_id” warning by initializing and always setting content_post_id during topic review.
- Corrected topic review behavior to consistently prevent quoting and display placeholders when content is hidden.
- Ensured moderator permissions (m_) and u_replytoseecontent_see_all always bypass hiding as intended.

Behavior changes
- URL/attachment masking applies uniformly to hidden content across topic view and topic review.
- Quoting is disabled (U_QUOTE false) when content is hidden to prevent bypass via quotes.


- Added post visibility in search.
- Added option to hide url until post reply.


- Changed code when no posts are made, no message.


- Added permission to see all content for groups.
- Changed code for review first post.
- Changed search code for first post hide when using permission.


- Fix code for viewtopic.
- Added permission to see first post content.

Screenshots:

Image

Above can set the forum you like to hide the content until a reply is made.


Image

Above test topic made by admin.

Image

Above when member did not make a reply yet.


Image

Above member want to make a reply but cannot see the review and also quote buttons are disabled.

If reply needs approve the topic will not show until approve is done.


Image

Above member did make reply and see all posts in topic.


Image

Above other member wants to search the words but cannot see the post.


Image

Above other member cannot see when he search on members posts until here replies also in that topic.


Extension Download:
Download-link
Reply to see content v1.0.5
Installation:
  1. Download the latest release.
  2. Unzip the downloaded release, and change the name of the folder to `replytoseecontent`.
  3. In the `ext` directory of your phpBB board, create a new directory named `dmzx` (if it does not already exist).
  4. Copy the `replytoseecontent` folder to `/ext/dmzx/` if done correctly, you'll have the main extension class at
    (your forum root)/ext/dmzx/replytoseecontent/composer.json
  5. Navigate in the ACP to `Customise -> Manage extensions`
  6. Look for `Reply to see content` under the Disabled Extensions list, and click its `Enable` link.

User avatar

The Good
Users
Users
Posts: 93
Joined: 05 Nov 2015, 22:48
    Windows 10 Firefox

Re: Reply to see content

Post by The Good »

Thanks my friend :smile: its different than bbcode hide but I will find solution to enter this ext in my forum
first post (topic ) I will post a preview image and the rest of contain I will post it in the second post (reply).. members who want to see the rest of contain should reply

User avatar

Topic Author
dmzx Online
Founder
Founder
Posts: 6464
Joined: 13 Jan 2014, 21:45
    Windows 10 Chrome

Re: Reply to see content

Post by dmzx »

The Good wrote: 16 Apr 2020, 11:48 thanks my friend :smile: its different than bbcode hide but I will find solution to enter this ext in my forum
first post (topic ) I will post a preview image and the rest of contain I will post it in the second post (reply).. members who want to see the rest of contain should reply
Yes you can use this extension then. let me know if all works for you. :thumbup:

User avatar

Topic Author
dmzx Online
Founder
Founder
Posts: 6464
Joined: 13 Jan 2014, 21:45
    Windows 10 Chrome

Re: Reply to see content

Post by dmzx »

First post updated.

User avatar

Peralta
Donator
Donator
Posts: 190
Joined: 13 Dec 2014, 17:04
    Windows 10 Firefox

Re: Reply to see content

Post by Peralta »

Hi dmzx great extension :thumbup:

It's possible to add a new permission for other groups, in addition to the moderator's group, can bypass to reply to see content?
I speak spanish. Sorry for my bad english.

User avatar

Topic Author
dmzx Online
Founder
Founder
Posts: 6464
Joined: 13 Jan 2014, 21:45
    Android Chrome

Re: Reply to see content

Post by dmzx »

Peralta wrote: 16 Apr 2020, 18:16 Hi dmzx great extension :thumbup:

It's possible to add a new permission for other groups, in addition to the moderator's group, can bypass to reply to see content?
Yes will look into this.

User avatar

The Good
Users
Users
Posts: 93
Joined: 05 Nov 2015, 22:48
    Windows 10 Firefox

Re: Reply to see content

Post by The Good »

Hey admin check this image !! possible to have this ??
Image

User avatar

umi
Users
Users
Posts: 89
Joined: 05 Aug 2019, 14:18
    Windows 7 Firefox

Re: Reply to see content

Post by umi »

My little contribution with this ext, I translated it to spanish.

Thanks fou your work!!!

Regards
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.

User avatar

umi
Users
Users
Posts: 89
Joined: 05 Aug 2019, 14:18
    Windows 7 Firefox

Re: Reply to see content

Post by umi »

The Good wrote: 16 Apr 2020, 20:08 hey admin check this image !! possible to have this ??
Image
This option is that I need if it works by topic, not for full forum...

User avatar

The Good
Users
Users
Posts: 93
Joined: 05 Nov 2015, 22:48
    Windows 10 Firefox

Re: Reply to see content

Post by The Good »

umi wrote: 16 Apr 2020, 21:09
The Good wrote: 16 Apr 2020, 20:08 hey admin check this image !! possible to have this ??
Image
This option is that I need if it works by topic, not for full forum...
yeah !! interesting to open some subject in general discussion forum :smile:

User avatar

miri4ever
Users
Users
Posts: 71
Joined: 22 Jan 2017, 15:39
    Windows 10 Opera

Re: Reply to see content

Post by miri4ever »

Does it work only with new posted topics or all even old if avtivate ? If there is no real info with admin account to see how its display normal or hidden is just a litttle problem. There should be maybe a short info for topiic starter too, that his topic cant be see by others with out post.

User avatar

Topic Author
dmzx Online
Founder
Founder
Posts: 6464
Joined: 13 Jan 2014, 21:45
    Android Chrome

Re: Reply to see content

Post by dmzx »

If you activate it in a forum that already exist all "old" topics will be hide also untill member replies.

If you want to set a message it can be done also in forum as a standard option.

User avatar

Topic Author
dmzx Online
Founder
Founder
Posts: 6464
Joined: 13 Jan 2014, 21:45
    Windows 10 Chrome

Re: Reply to see content

Post by dmzx »

First post updated.

User avatar

Peralta
Donator
Donator
Posts: 190
Joined: 13 Dec 2014, 17:04
    Windows 10 Firefox

Re: Reply to see content

Post by Peralta »

:buigen: Thank you dmzx :buigen:

User avatar

Kevicar
Donator
Donator
Posts: 89
Joined: 20 Sep 2015, 19:34
    Windows 10 Chrome

Re: Reply to see content

Post by Kevicar »

Hello,

French translation ready for Reply to see content 1.0.2 :tumbsyes:
fr.zip
Best regards and enjoy! :mml:
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.
Image

Post Reply Previous topicNext topic