MyBB Codes

Full Version: [Plugin for Mybb 1.4.*] Hide Posts Until Reply!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8
(12-14-2009 02:58 PM)Svizy Wrote: [ -> ]Works fine now, but in order to successfuly use it I would need to remove the multiquote, because it shows the hidden content Wink

No, the hidden content is not shown at the multiquote as shown in the screenshots above. The hidden content shows only to admins by default and those groups that you will give permissions to view the hidden post without having to reply.

Go to the test board here and try to view it there and you will see that it is hidden.
Please read my previous post again, I'll post here again just to prove to you that multiquote shows me the hidden text of the second test thread on this forum.
[hide]This is a test post to test if part of the post will be hidden and be seen only after the user replied. Thank you for helping to test the plugin.[/hide]
Thank you very much for letting me know. It appears that I had atatched another package from the testing. Now I updated it with the right one. Can you please try it once again and let me know?
I've tested once more, but its the same problem on both forums Sad
I know you can fix this Wink
It is fixed. I just tried it here at the test board and everything is ok.

Can you please redownload the plugin package once again from the first post and overwrite the one you were using and let me know. Thanks.
(12-14-2009 03:26 PM)babjusi Wrote: [ -> ]It is fixed. I just tried it here at the test board and everything is ok.

Can you please redownload the plugin package once again from the first post and overwrite the one you were using and let me know. Thanks.
Works perfectly now Big Grin
I guess I've just downloaded the same package before you've replaced it Tongue
Thank you for such a quick fix and support. I hope that there will be more such great plugins in near future Wink

P.S
Is there any way to restrict administrators from seeing the content as well, I mean that only super administrators would be able to see the content without need to reply?

Thanks in advance Wink
You are most welcome and thank you for letting me know about the wrong package.

To make for the superadmins to see the hidden content without having to reply, find this at the plugin file:

PHP Code:[Highlight]
if(in_array($fid$fids) && $mybb->usergroup['cancp'] == 0

And replace it with:

PHP Code:[Highlight]
if(in_array($fid$fids) && $mybb->usergroup['issupermod'] == 0

Edit: I haven''t test it nor do I have time to, but it would be much easier to simply enter their group id at the settings that allows them to see the hidden content without having to reply.
Just for comfirmation, this edit will restrict "normal" administrators from viewing the hidden content while super administrators will be able to see it without repliying? Smile
(12-14-2009 03:39 PM)Svizy Wrote: [ -> ]Just for comfirmation, this edit will restrict "normal" administrators from viewing the hidden content while super administrators will be able to see it without repliying? Smile


Yes, isn''t it what you wanted?
(12-14-2009 03:45 PM)babjusi Wrote: [ -> ]
(12-14-2009 03:39 PM)Svizy Wrote: [ -> ]Just for comfirmation, this edit will restrict "normal" administrators from viewing the hidden content while super administrators will be able to see it without repliying? Smile


Yes, isn''t it what you wanted?
Yes, I just wanted you to comfirm that Tongue Sorry if I've confused you Wink
Pages: 1 2 3 4 5 6 7 8
Reference URL's