MyBB Codes
[Plugin for Mybb 1.4.*] Hide Posts Until Reply! - Printable Version

+- MyBB Codes (http://www.mybbcodes.com)
+-- Forum: Mods Database (/forumdisplay.php?fid=4)
+--- Forum: Premium Mods (/forumdisplay.php?fid=8)
+---- Forum: Babjusi Plug ins (/forumdisplay.php?fid=48)
+---- Thread: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! (/showthread.php?tid=1159)


[Plugin for Mybb 1.4.*] Hide Posts Until Reply! - babjusi - 12-14-2009 01:37 PM

Name: Hide Posts Until Reply!

Type: Plugin for Mybb

Version: For any versions of Mybb 1.4* series.

Funcionality: Originally I was going to make it to automatically hide only links which would be seen until users had replied as requested here:

http://www.forumsecurity.eu/showthread.php?tid=98

But then skiilz came up with some extra suggestions that were appealing to me as like that I can make use of the plugin myself as well.

Anyway, this plugin will allow you to hide posts at certain forum/forums, until a user has replied to see them. You can hide the entire post, half of the post, links or whatever you wish. When the user will see the hidden content, he/she will see a message informing him/her that they must reply in order to see it. After they reply, they must refresh the browser and they will see the hidden content along with a nice message thanking them for their post.

Both messages that will be displayed to the users, before and after the reply, are fully customizable in the acp. There you can also enable and disable the plugin, enter the id''s of the forum where you wish to hide the posts and as last but not least, you can also choose which membergroups can see the hidden contents without having to reply.

The admins see the hidden content automatically.

To have an idea how the plugin looks like in action, please check the attached screenshots below.

Important: Nobody is authorized to upload this plugin in other sites/forums and claim it as their own. You are also not allowed to remove the copyright without my permission. By downloading the plugin you agree to the above.

Download link:

The plugin is free. However 5 posts are needed to download it. If you will bother to post at all, then please make them quality ones. You now need to be a MyBBCodes.com subscriber to download this plugin. Thank you Smile


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - babjusi - 12-14-2009 01:40 PM

Here are some extra screenshots.


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - skiilz - 12-14-2009 02:00 PM

Thank you.
I'll download this plugin now.
Keep the good work.


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - babjusi - 12-14-2009 02:01 PM

(12-14-2009 02:00 PM)skiilz Wrote:  Thank you.
I'll download this plugin now.
Keep the good work.

You are most welcome and thank you for helping test it.

This was my last plugin for a while.


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - skiilz - 12-14-2009 02:11 PM

Ok, no problem.
Yes. Wait till the 1.6 is out.


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - Svizy - 12-14-2009 02:45 PM

I belive its a great plugin, however I can't get it to work. Is there any settings I need to change except activating it in settings and specifieing the forums and groups?

Thanks in advance Smile


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - babjusi - 12-14-2009 02:51 PM

(12-14-2009 02:45 PM)Svizy Wrote:  I belive its a great plugin, however I can't get it to work. Is there any settings I need to change except activating it in settings and specifieing the forums and groups?

Thanks in advance Smile

All you need to do is to enable it and enter the settings correctly. Note, that the admins will see the hidden posts automatically.

Can you tell me what problems are you experiencing with the plugin btw? Cos it has been tested thoroughly and it works fine.


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - Svizy - 12-14-2009 02:54 PM

I've installed it on my localhost so I cannot provide an live demo. I'm not experiancing any error, only it seems like it doesn't work. I've left all settings as it is with exception of activating it (Yes) and adding an forum to use it on (fID: 2).
But I still see the regular bbcode istead of the warning message:
[hide]hidden content[/hide]



RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - babjusi - 12-14-2009 02:56 PM

(12-14-2009 02:54 PM)Svizy Wrote:  I've installed it on my localhost so I cannot provide an live demo. I'm not experiancing any error, only it seems like it doesn't work. I've left all settings as it is with exception of activating it (Yes) and adding an forum to use it on (fID: 2).
But I still see the regular bbcode istead of the warning message:
[hide]hidden content[/hide]

That is because you see it as an admin and the admins see the hidden content automatically. Create a test account and try to view the hidden content with it instead.


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - Svizy - 12-14-2009 02:58 PM

Works fine now, but in order to successfuly use it I would need to remove the multiquote, because it shows the hidden content Wink

EDIT:
To prove this I did it on this board, I haven't replied to any of the test areas and I know what the hidden text is in the second one:
[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]



RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - babjusi - 12-14-2009 03:00 PM

(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.


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - Svizy - 12-14-2009 03:01 PM

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]



RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - babjusi - 12-14-2009 03:14 PM

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?


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - Svizy - 12-14-2009 03:18 PM

I've tested once more, but its the same problem on both forums Sad
I know you can fix this Wink


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - babjusi - 12-14-2009 03:26 PM

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.


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - Svizy - 12-14-2009 03:34 PM

(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


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - babjusi - 12-14-2009 03:37 PM

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.


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - Svizy - 12-14-2009 03:39 PM

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


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - babjusi - 12-14-2009 03:45 PM

(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?


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - Svizy - 12-14-2009 03:46 PM

(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


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - babjusi - 12-14-2009 03:47 PM

(12-14-2009 03:46 PM)Svizy Wrote:  
(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

No confusion at all Big Grin


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - Rafael_mybb_import479 - 12-14-2009 04:20 PM

How can I make it to hide automatically the urls instead the hide?

I look into the code and if I replace this:
PHP Code:[Highlight]
'#\[hide\](.*?)\[/hide\]#siU' 

For this:
PHP Code:[Highlight]
'!<a[^>]*(http|www)(.*)</a>!siU' 

I Have problems cause the links are not showing Huh

How can I made this little conversion?

Tnx!


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - babjusi - 12-14-2009 04:23 PM

It is a bit more complicated than that Rafael. It would require some other edits and atm I am extremly busy to look into that. Maybe later on if I get some free time I will create such a plugin to automatically hide the links when posted but I can''t promise anything.

But all you have to do is place the links between hide tags.


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - tarekovski - 12-14-2009 08:09 PM

Awesome hack. It works perfect at my forum. There is no way to see the hidden links.


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - Svizy - 12-15-2009 10:15 AM

The replacement code you've gave me that would make hidden content viewable only by super administrator is not correct Wink
But I've decided that I'll use it the way it is (without changing) *installs into actual forum*


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - babjusi - 12-15-2009 11:11 AM

(12-15-2009 10:15 AM)Svizy Wrote:  The replacement code you've gave me that would make hidden content viewable only by super administrator is not correct Wink
But I've decided that I'll use it the way it is (without changing) *installs into actual forum*

I didn''t test it but if it didn''t work, simply put their id at the settings for the groups and you will be all set Smile


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - Rafael_mybb_import479 - 12-15-2009 05:09 PM

(12-14-2009 04:23 PM)babjusi Wrote:  It is a bit more complicated than that Rafael. It would require some other edits and atm I am extremly busy to look into that. Maybe later on if I get some free time I will create such a plugin to automatically hide the links when posted but I can''t promise anything.

But all you have to do is place the links between hide tags.

Ok, If you can, do it Smile

Thanks!


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - Rafael_mybb_import479 - 12-15-2009 07:38 PM

I want something like this:

Show a Image instead a Text Message but, I have problems.

How can I Add a Image with a link to reply the post Im trying with this but doesnt work:
PHP Code:[Highlight]
<a href="{$mybb->settings['bburl']}/newreply.php?tid={$tid}"><img src="{$mybb->settings['bburl']}/path/to/image.lol" title="Anything" alt="Anything"></img></a

How Can I do that?


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - babjusi - 12-15-2009 08:34 PM

(12-15-2009 07:38 PM)Rafael Wrote:  I want something like this:

Show a Image instead a Text Message but, I have problems.

How can I Add a Image with a link to reply the post Im trying with this but doesnt work:
PHP Code:[Highlight]
<a href="{$mybb->settings['bburl']}/newreply.php?tid={$tid}"><img src="{$mybb->settings['bburl']}/path/to/image.lol" title="Anything" alt="Anything"></img></a

How Can I do that?

You should use the img tag, like this:

<img src="image url" alt="" />

For ex, if the image that you want to use is at the images directory and named hidden.gif, you would use this code:

<img src="images/hidden.gif" alt="" />

Let me know how it will go.


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - Rafael_mybb_import479 - 12-16-2009 01:27 AM

Have the same problem, the image loads good, but I want to add a link on the image and dont work.

You can take a look at here

Im using the code that you give me.

The problem is on the TID.

Thanks!


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - babjusi - 12-16-2009 08:41 AM

(12-16-2009 01:27 AM)Rafael Wrote:  Have the same problem, the image loads good, but I want to add a link on the image and dont work.

You can take a look at here

Im using the code that you give me.

The problem is on the TID.

Thanks!

I get a login screen when clicking at the link you posted?

Anyway, what kind of link do you mean that you want to add to the image?


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - chonghua - 12-17-2009 10:30 AM

wow.... thanks again! Smile finally a free hide till reply plugin... nice job babjusi...


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - Rafael_mybb_import479 - 12-18-2009 11:09 AM

(12-16-2009 08:41 AM)babjusi Wrote:  
(12-16-2009 01:27 AM)Rafael Wrote:  Have the same problem, the image loads good, but I want to add a link on the image and dont work.

You can take a look at here

Im using the code that you give me.

The problem is on the TID.

Thanks!

I get a login screen when clicking at the link you posted?

Anyway, what kind of link do you mean that you want to add to the image?

A link to go at the newreply page for the thread.

A Suggestion: In the Forums where the posts will be hidden. setting, can u Add a "Leave Blank for use on All Forums" Option?


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - babjusi - 12-18-2009 11:11 AM

(12-18-2009 11:09 AM)Rafael Wrote:  
(12-16-2009 08:41 AM)babjusi Wrote:  
(12-16-2009 01:27 AM)Rafael Wrote:  Have the same problem, the image loads good, but I want to add a link on the image and dont work.

You can take a look at here

Im using the code that you give me.

The problem is on the TID.

Thanks!

I get a login screen when clicking at the link you posted?

Anyway, what kind of link do you mean that you want to add to the image?

A link to go at the newreply page for the thread.

A Suggestion: In the Forums where the posts will be hidden. setting, can u Add a "Leave Blank for use on All Forums" Option?

To make the image a link wrap it inside the link.

I am not sure I understood what you meant by "In the Forums where the posts will be hidden. setting, can u Add a "Leave Blank for use on All Forums" Option?"


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - Rafael_mybb_import479 - 12-21-2009 06:03 PM

In the setting called: In the Forums where the posts will be hidden you have to add each forum ID to work on a forum but I think can be good a Option that if you leave blank this without any Forum ID the plugin will work on all the forums.


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - tarekovski - 12-21-2009 08:57 PM

It is better to use it at a few forums than in all of them. But this is how I think. If babjusi want to change the hack then he can change it.


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - Rafael_mybb_import479 - 12-21-2009 10:21 PM

(12-21-2009 08:57 PM)tarekovski Wrote:  It is better to use it at a few forums than in all of them. But this is how I think. If babjusi want to change the hack then he can change it.

Yes, But if you want to use in all dont need to do nothing, only leave the option blank Wink


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - babjusi - 12-22-2009 06:35 AM

I won''t be changing the plugin to add or remove features. It is fine the way it is now. However, you are free to edit it for personal use to suit your needs and likings.


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - Shell - 12-23-2009 02:45 PM

Awesome plugin! Just what I need!


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - argentina4ever - 12-28-2009 10:06 AM

can i place mesage for hiden post in my language or hiden mesage only english


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - babjusi - 12-28-2009 11:01 AM

(12-28-2009 10:06 AM)argentina4ever Wrote:  can i place mesage for hiden post in my language or hiden mesage only english

You can place the message in any language you wish for the hidden content and for after the reply.


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - funnydude - 12-30-2009 10:51 AM

thank you u're such a great coder


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - EnjatsRed - 12-30-2009 01:59 PM

thanks for post


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - blazingprofits - 01-01-2010 04:41 AM

how do i download this? registered but cant download..


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - jetext - 06-20-2010 12:24 PM

thank you


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - djxfactor - 06-22-2010 10:09 PM

thankyou


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - stephengames - 07-20-2010 11:55 AM

how to download this plugin?


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - exdiogene - 07-20-2010 12:34 PM

You must be a subscriber to be allowed to download from the premium plugins section. Meantime you have only access to regular plugins.

Wink


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - Technoman - 07-23-2010 09:12 PM

Question, im looking in creating a sorta of application in a certain area of my forum, where users can post very important imformation about themselves and where other users can NOT see other members threads ONLY admins can see everything NOT users unless its the members own thread they created?

Hmmm I hope its simple to understand ... Smile


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - exdiogene - 07-23-2010 09:46 PM

If you need that only an administrator see a message, i would strongly suggest to ask your members to send them by PMs...

Wink

P.S. You could also use the PM forwarder plugin here to transfer the PMs to someone else.


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - luca360 - 07-24-2010 06:27 PM

help me
but, if donwload is free becouse i must do 5 post?
thanks for download


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - exdiogene - 07-24-2010 08:47 PM

Hello luca360,

Since we have bought all Babjusi plugins they are only available to our subscribers.

I did not went trought all threads and posts to edit what Babjusi wrote about the way to get them, but i edited this thread about it.

Sorry for the inconvenience.

Wink


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - asgard - 08-01-2010 05:47 PM

thank you I'll test this Mod


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - Jithukl - 08-15-2010 01:28 AM

Thank you
Cant download this..So sad plz make this free


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - Yuksel - 08-22-2010 06:37 PM

Thank's !


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - Minox - 08-22-2010 07:13 PM

Thanks


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - mi6 - 09-12-2010 10:11 AM

Nice plugin
hope it works with mybb 1.6


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - rahul19285 - 09-21-2010 08:16 AM

Well seems nice plugin will try it soon thanx for it


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - t3kla - 10-07-2010 05:42 PM

does it work with 1.6?


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - exdiogene - 10-07-2010 06:13 PM

Yes, it is compatible with MyBB 1.4.x and 1.6.x

Wink


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - mikeyjai - 10-16-2010 11:57 AM

Thanks, just subscribed today and starting to download a lot of awesome mods.

Editted:

Just tested it out with default groups of 1,2,4 where 1=guests 2=members 4=administrators. with proper forum ids of testing and still able to see posts without replying on mybb version 1.6.

I will still continue to test this to see if there might be some other way of working it.


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - exdiogene - 10-16-2010 12:16 PM

Welcome fellow Canadian citizen!

I really hope you find what you need here.

Wink


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - mikeyjai - 10-17-2010 11:08 AM

Hi, i would like to know if this plugin is being looked into for the compatibility of mybb 1.6?


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - exdiogene - 10-17-2010 11:48 AM

Yes i have tested the local plugin yesterday and made other tests today with the version available online to download. Each time it was working properly, but i discovered that the instructions are not very clear on how to use this plugin and i will update them.

Meantime if you did not read this thread about the plugin, i will tell you these few details :

1- Administrators can always see the post content.

2- The Forums list is for the forums that will be affected with the hidden proccess.

3- The Groups list is for the people that will be enabled to always see the hidden posts.

4- You must put these two tags to tell the plugin which part of your post you want to hide :

PHP Code:[Highlight]
[hideThe hidden content is here [/hide

Please tell me if these details are helping you to resolve your issues. Wink

Thank you!


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - mikeyjai - 10-17-2010 12:00 PM

hmmmm ur right about the instructions. I always thought it was by default automatically hidden. I was actually looking forward for the entire post to not be shown and to have it replied for people to see it, would that be possible to do without the [hide] tags [/hide]?


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - exdiogene - 10-17-2010 12:01 PM

Yes, you just put the tags to include the whole post. Wink

The main purpose of this is for creating "teasers"...

I could also modify the plugin to hide everything, when there is no [hide] [/hide] tags in it.


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - mikeyjai - 10-17-2010 12:24 PM

would it be possible to hide [code] and links until replied?


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - exdiogene - 10-17-2010 12:46 PM

You can achieve this manually by putting the "[code] and links" between the [hide][/hide] tags.

Or you can use another plugin like this one "Min. Posts To View Links".


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - mikeyjai - 10-17-2010 01:27 PM

The thing is I would have to manually go through every post with any [code] tags to add the additional [hide] tags. Going through hundreds of post to add the additional [hide] is not productive and time efficient. May i request the [code], links and [hide] tags post until reply plugin be made? As this will help keep posts alive by having it bumped and replied to.


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - exdiogene - 10-17-2010 01:59 PM

I may suggest you to have the search and replace automaticely done with phpmyadmin mysql requests.

You will need to search '[ code ]' in all posts message and replace it with '[ hide ][ code ]' and do the same for '[ /code ]' and '[ /code ][ /hide ]'.

Do a backup of your table just in case before. Wink

Sample requests :

PHP Code:[Highlight]
UPDATE `mybb_postsSET `message` = REPLACE(`message`,
 
'[code]''[hide][code]'WHERE `messageLIKE '%[code]%'

UPDATE `mybb_postsSET `message` = REPLACE(`message`,
 
'[/code]''[/code][/hide]'WHERE `messageLIKE '%[/code]%' 
P.S. These requests have not been tested...


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - DzSergio - 05-28-2011 02:26 PM

thnax


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - rocksteadyrocks1 - 06-26-2011 09:39 AM

thanks a lkot


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - Technoman - 06-29-2011 07:20 AM

Does this work also for Mybb 1.63?


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - exdiogene - 06-29-2011 08:14 AM

All our plugins have been converted to work with MyBB 1.6.*, most of Babjusi ones have also been converted...


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - Technoman - 06-29-2011 07:44 PM

(06-29-2011 08:14 AM)exdiogene Wrote:  All our plugins have been converted to work with MyBB 1.6.*, most of Babjusi ones have also been converted...

Ok Thanks for the reply 'exdiogene' but maybe just my personal oppion for futur referance adding in thread title and post like [Plugin for Mybb 1.4.*] to [Plugin for Mybb 1.4.* + 1.6*] for some of Babjusi plugins?

Cheers!


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - embarao - 01-09-2012 09:25 PM

Thank you, bro. You're awesome.


RE: [Plugin for Mybb 1.4.*] Hide Posts Until Reply! - copa2 - 02-04-2012 11:04 PM

Nice , very good!