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

XF 1.4 Hide signatures to guests "advanced"...

Discussion in 'XenForo Questions and Support' started by derandechser, Aug 7, 2015.

Tags:
  1. derandechser

    derandechser Member

    Hi there,
    i just have a question about the signatures.
    I know, it´s possible to hide signatures for guests.
    But is this possible:
    I only want to show admin signature and hide the other signatures to guests.
    Is there a way to handle it?

    Thank you and have a good day,
    Peter
     
  2. derandechser

    derandechser Member

    Does anyone has an idea?
    Thank you, Peter;)
     
  3. Nuno

    Nuno Active Member

    You can use conditionals in the signature template to do it
     
  4. derandechser

    derandechser Member

    Hi, thank you.
    Could you tell me, which conditionals i have to use?
    Would be great,
    greetings, Peter
     
  5. Nuno

    Nuno Active Member

    I haven' t tested, but you can try this replacement in the message template:

    Code:
    <xen:if is="{$visitor.content_show_signature} && {$message.signature}">
    with:

    Code:
    <xen:if is="{$message.user_id} == YOUR USER ID && {$message.signature}">
     
  6. derandechser

    derandechser Member

    Hi Nuno,
    thanks for this, but this hides the signatures for logged in users, too...
     

Share This Page