1
khuhner
Xoops Code in Banner?
  • 2007/6/5 23:46

  • khuhner

  • Quite a regular

  • Posts: 232

  • Since: 2006/1/6 3


I'd like to have some code in my banner that only displays the ad if a user is registered not a premium user.

I enclosed my banner info (Googles AdSense) between this IF statement:

Quote:

<{if !in_array(4,$xoops_usergroups)}>
<{/if}>


However the IF statement wasnt rendered but merely shown as "plain text."

Anyone have any suggestions on how to accomplish this?

Kurt

Login

Who's Online

398 user(s) are online (283 user(s) are browsing Support Forums)


Members: 0


Guests: 398


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits