MyBB Community Forums

Full Version: [RELEASE] HideUntilPost
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
(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]


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 Smile
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 Smile
Give me the chance to try this,
thanks Big Grin
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
Pages: 1 2