MyBB Community Forums

Full Version: MyCode to hide IMG Tag and Youtube links from GUEST
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
friends,

is there any mycode sample to hide IMAGES and Youtube links from guest.

thanks
(2013-02-17, 09:10 AM)mmadhankumar Wrote: [ -> ]but you have this Big Grin

http://mods.mybb.com/view/scd-code-hide-...d-plugin-2

thanks mmadhankumar after installing this also guests are able to view images i am not sure why so.

do i need some setting change after installing this plugin to stop guest from viewing images

do i need to add something in mycode after installing this plugin

i am unable to understand the readme part of it, can you explain if possible

In order to block quoted posts for 1.4.x you have to modify some core files to insert plugin hooks to make this work..

Line Numbers are from 1.4.13
In xmlhttp.php (line 540) and newreply.php (line 686) find:
PHP Code:
$quoted_post['message'] = $parser->parse_badwords($quoted_post['message']);

And after it insert:
PHP Code:
$plugins->run_hooks_by_ref("parse_quoted_message", $quoted_post);
any plugin for v1.8 ?