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

152 user(s) are online (106 user(s) are browsing Support Forums)


Members: 0


Guests: 152


more...

Donat-O-Meter

Stats
Goal: AU$15.00
Due Date: Jul 31
Gross Amount: AU$0.00
Net Balance: AU$0.00
Left to go: AU$15.00
Make donations with PayPal!

Latest GitHub Commits