I want hide image from guest (unregister member) and i want register member can view the images in post/thread.
I make this simple plugin, and this plugin hide images from all member.
PHP Code:
{
$this->post['message'] = preg_replace("/<img.+?\>/i" , "<img $1 />", $this->post['message']);
}
how to hide images only for guest and register user can view the image?
please help me!
--------------- Added [DATE]1313311792[/DATE] at [TIME]1313311792[/TIME] ---------------
help me, please!