MyBB Community Forums

Full Version: Hide custom code on index
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi

I have added some custom code on my index to display ads, however I have set up a certain usergroup for mobile devices

I was wondering if it was possible to hide this from that usergroup so it doesn't slow their browser right down while browsing on a mobile



You can do that with Template Conditional plugin:
http://mybbhacks.zingaburga.com/showthread.php?tid=464
Downloaded your plugin, but I'm now having a problem of finding the right condition to hide the code for the usergroup