Quote:
Originally Posted by Digital Jedi
Your wanting to block all the embedding based on a users image settings? I thought you were just referring to images. If your using AME 2.5 you can try using the conditionals to achieve that end, since the containers are template based in that version, keeping in mind the limitations of conditionals as laid out in the initial post.
|
Those conditionals won't work as they are cached according to the OP. Where does the magic occur for AME? I've tried poking around but there doesn't appear to be any obvious spots that it hooks into in order to do the parsing of the [ame] tags. There has to be something I can wrap an if( ->userinfo["showimages"] == true ) { } around to stop the media from embedding. Even better would be if( ->userinfo["showimages"] != true ) { do whatever to get the [url] stuff from a quote/edit } else { embed }
Edit: Hrm, I just found ame_bbcode.php and am going to start poking around in there. Previously I was just looking at the plugins and where they hooked..