MyBB Hacks

Full Version: Am I using it correctly?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I just want to see if I am using it correctly. It's working like I want, but maybe there is a better way to do this.

I am using the plugin MyAdvertisements to show one banner in the header and another one in the footer. I want to hide them from a specific section. I will show here what I did in the header:

Quote:<if $GLOBALS['style']['fid'] != '17'  then>
{myadvertisements[zone_1]}</if>

Like I said, it's working, it's hiding the ads from the forum id 17. I did the same thing for the footer, too.

Am I using it correctly?

By the way, thank you for your plugins. Smile
Looks reasonable to me.  If you want to be super certain, you'd need to check all relevant pages, which can be a pain, but...

Was there anything you'd hope to improve on?
Not really. I was just wondering. If I wasn't using it correctly if it would slow down the forum. But glad to know that it's alright.
Reference URL's