Announcement

Collapse
No announcement yet.

Hide title image until after login

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Hide title image until after login

    Hi

    Is there any way to hide the title image from users who are not logged in?

    Thanks

    Peter

  • #2
    Code:
    <if condition="$show[member]">
    Your image here.
    </if>
    My vBulletin Modifications.

    Comment


    • #3
      Thanks that works great.

      There is only one problem: users who have registered and are waiting in the moderation queue can see the logo when they log in, these users see the below and the logo:

      XYZ, you do not have permission to access this page. This could be due to one of several reasons:
      1. Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
      2. If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
      Is there any way of removing the logo on this page as well?

      Thanks

      Peter

      Comment


      • #4
        Use
        Code:
        <if condition="is_member_of($vbulletin->userinfo, 1, 3, 4)">
        instead of
        Code:
        <if condition="$show[member]">
        Kerry-Anne :)

        Twitter Blog

        www.peterska2.com www.worldnewszone.com www.popularusenetgroups.com www.superclickers.co.uk www.forumsforchrist.com www.browsergameplanet.com

        Comment


        • #5
          Originally posted by Kerry-Anne View Post
          Use
          Code:
          <if condition="is_member_of($vbulletin->userinfo, 1, 3, 4)">
          Ok, what does the 1,3,4 mean? I have a custom user group which I want to be able to see the logotype, will they be able to?

          Thanks

          Peter

          Comment


          • #6
            You can see that each 'Usergroup' has an identification number associated to it.

            AdminCP > Usergroups > Usergroup Manager

            Comment

            widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
            Working...
            X