(2011-03-02, 01:28 PM)annaconda Wrote: [ -> ]I was trying to install the Plugin name : Hide to Guests
Hide To Guests (0.2.1)
Plugin hides content from unwanted groups by putting it in specified tag.
Created by Mariusz Kujawski
I am getting the following error when trying to activate it from the Admin CP;
![[Image: Capture.jpg]](https://camo.mybb.com/f6744fbcf7d3b082f2dba1a9053929c66186116c/687474703a2f2f696d672e74656368706f77657275702e6f72672f3131303330322f436170747572652e6a7067)
Please help.
thanks.
Your problem hasn't got anything to do with this plugin whatsoever. You should post this in the appropriate release thread.
@SM: Nice plugin mate

didn't work on my forum
I use verson 1.6.5
open plugin file (hideUntilPost.php) in a code editor (eg. notepad ++) ;
find below code in around line 178
function hideUntilPost_code($message)
change to below code & save the file
function hideUntilPost_code(&$message)
it should work ; checked on localhost - myBB 1.6.5
Thank you sir
It works good now
This looks great

Give me the chance to try this,
thanks

hello sir..i had done changes whatever mention here ..
(2011-12-26, 03:13 PM)ranjani Wrote: [ -> ]open plugin file (hideUntilPost.php) in a code editor (eg. notepad ++) ;
find below code in around line 178
function hideUntilPost_code($message)
change to below code & save the file
function hideUntilPost_code(&$message)
it should work ; checked on localhost - myBB 1.6.5
And also changes mention in made at
http://mods.mybb.com/reviews/hideuntilpost
pen plugin file and find;
PHP Code:
eval("\$post['attachments'] = \"".$templates->get("hideUntilPost_box",1,0)."\";");
and ADD the following code just after that line;
PHP Code:
return $post;
and
PHP Code:
$message = preg_replace("#\[lock\](.*)\[/lock\]#is",'$1',$message);
}
And add this on a new line:
PHP Code:
return $message;
And find:
PHP Code:
$msg = preg_replace("#\[lock\](.*)\[/lock\]#is",'',$msg);
}
}
And add this on a new line:
PHP Code:
return $msg;
even though its not working.
Please help me to be working.
I am really sorry for bumping this old thread but can anyone tell me where i can find this plugin or similar one? MYB 1.8