1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Profile modification questions

Discussion in 'XenForo Questions and Support' started by Leandros9999, Jul 19, 2011.

  1. Leandros9999

    Leandros9999 New Member


    I want to modify the profile a bit. I want to add the profile tab from the infractions addon, but its showed to everyone. How can I hide this to visitors and show it only to the owner? At the moment I only send a message If a person get a infraction. If he delete this message thread, he can forget the infraction. Bad situation.

    The second is, that I want to show the computer system to the visitor. I know, the user can use the "about me", but I want it like this. (See picture)
    There is a input field for every system component e.g CPU, GPU, RAM and others

    Hope you can help me.

    Edit: Hope this is the right forum section, If not, feel free to move. :D

    Attached Files:

  2. Brogan

    Brogan XenForo Moderator Staff Member

    You will need to contact the infraction add-on author for the first part.
    They will need to update it to achieve what you want with regards to permission to view the tab.

    Regarding the second part, custom profile fields are coming in 1.1.

    Already moved it ;)
  3. Leandros9999

    Leandros9999 New Member

    Thanks. The problem is, the author isnt answering. :D
    Then I will wait for 1.1.

  4. Leandros9999

    Leandros9999 New Member

    Another Question. I configured a "Announcement" Forum, where I had set the permissions that only the administrative group can post.
    Now I want to give another user the permission to post, but I dont want the in the administrative group. The user is in moderative, the moderative group had NOT the permission to post there. If I now define the user seperatly that they can post, they can't post.
    How i solve this?


    Edit: Awww. Sorry for double post -__- Damn refresh button.
  5. Brogan

    Brogan XenForo Moderator Staff Member

    Double check your permissions.

    If you assign node permissions to that user then they will be able to post, as long as you haven't set Never for any of the groups they are a member of.
  6. Leandros9999

    Leandros9999 New Member

    Ouhh. I made a mistake. I set the permission for posting to never. No I think it should work. Thanks.
  7. James

    James Well-Known Member

    This should be simple with something like this conditional (untested):
    <xen:if is="{$visitor.user_id} == {$user.user_id}">
    // show profile tab
  8. Leandros9999

    Leandros9999 New Member

    Thanks. Will try it for sure. I give you feedback.
  9. Leandros9999

    Leandros9999 New Member

    It works. Can I modify this a bit, that administrators can see it, too?

    Edit: I mean, how I modify this. :)
  10. James

    James Well-Known Member

    <xen:if is="{$visitor.user_id} == {$user.user_id} OR {$visitor.is_admin}">
    // profile tab
  11. Leandros9999

    Leandros9999 New Member

    Thanks a lot!

Share This Page