Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Am I using it correctly?
Irreligious Offline
Junior Member
**
Posts: 2
Joined: Jan 2013
Post: #1
Am I using it correctly?
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
01-20-2013 01:18 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #2
RE: Am I using it correctly?
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?

My Blog
01-20-2013 01:44 PM
Find all posts by this user Quote this message in a reply
Irreligious Offline
Junior Member
**
Posts: 2
Joined: Jan 2013
Post: #3
RE: Am I using it correctly?
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.
01-20-2013 02:00 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: