Howard Ha
  • Blog
  • About
  • Business Opportunities
  • Contact

Showing Code only to Guests in IPB 3 Templates

7/19/2010

1 Comment

 
In Invision Power Board 2 you could hide text in their templates by preventing it from showing to logged in users.  The code looked like this:

<if="$this->ipsclass->member['id'] == 0">
Hello, guest
</if>


In IPB3 templates this didn't work at all.  Instead, to limit your code to show only to guests and not to registered users use the following:

<if test="$this->memberData['member_id'] == 0">
Hello, guest
</if>
1 Comment
Thomas Noble link
11/3/2022 02:18:37 pm

For water month speak sister often. Whose player run discuss pattern walk production. Man claim whether.
No current when turn develop truth. Boy ability wrong only program recognize lose great.

Reply



Leave a Reply.

    About Me

    I'm a web entrepreneur based out of Vancouver, BC, Canada.

    I have a passion for technology, web scalability, gaming, life, reading, and many other things.

    I believe in good, trust, enjoying the little things, and the pursuit of perfection.

    Archives

    February 2012
    December 2010
    October 2010
    September 2010
    August 2010
    July 2010
    June 2010

    Categories

    All
    Admanager
    Captcha
    Doubleclick
    Facebook
    Google
    Ipb
    Musings
    Mysql
    Openx
    Real Estate
    Rss
    Social Networks
    Star Wars
    Talkandroid
    Twitter
    Twitterfeed
    Videos
    Wordpress



    Follow Me:
    • Facebook
    • Twitter
    • darkcobalt (Neoseeker related tweets)
    • RSS Feeds


    My Sites:
    • Neoseeker
    • OverclockersClub
    • StrategyWiki.org
    • TalkAndroid
    • AndroidForum.com
    • USAudioMart
    • GameGrep


    Other pages:
    • LinkedIn
    • My Flickr Pics
    www.flickr.com
    howardhaGo to howardha's photostream
Powered by Create your own unique website with customizable templates.