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

Hide Avatars from Guest [Deleted]

Discussion in 'Template Modifications' started by Adam Howard, May 9, 2013.

  1. Adam Howard

    Adam Howard Well-Known Member

  2. Adam Howard

    Adam Howard Well-Known Member

    This resource was made "on the fly" when having a conversation with erich37 in this thread (link)

    It will be expanded upon at a later date.
  3. igrec

    igrec Member

    Just a little one

    closing tag should be

    SneakyDave and Adam Howard like this.
  4. Adam Howard

    Adam Howard Well-Known Member

    You are correct. A small oversight on my part.... I made this "on the fly" (in the moment & quickly).

    Seems as though I forgot something.... Thanks for pointing this out igrec :)

    edit: Actually, you're wrong. ..... Well you're not wrong that it's needed.... You're right about that. However, you are wrong in saying that it is missing.

    It does close with <xen:if /> ;)


    ^ If you actually read the resource.... It is there. I was not missing it. So no correction is needed.
  5. igrec

    igrec Member

    Yeap, the resource has cut the end. I just jumped into the discussion and missed the "...".

    what purpose the else serves? It works with no <xen:else />
    Adam Howard and SneakyDave like this.
  6. Adam Howard

    Adam Howard Well-Known Member

    You know, while you were wrong about the first thing you reported.....

    You're right about this one though. See... There was something off. :p

    I had copied and pasted the closing tag from one of my other modifications which required it to display a notice....

    Again this current template edit was done on the fly (quickly & in the moment).
    igrec likes this.
  7. Adam Howard

    Adam Howard Well-Known Member

  8. igrec

    igrec Member

    :D Way to go.

    When you have time and nothing to do, let me know I have an idea for a template mod :) And I'll test it for you!
    Adam Howard likes this.
  9. Adam Howard

    Adam Howard Well-Known Member

    At this moment, I'm not busy...
  10. igrec

    igrec Member

    Ok then the idea is to move the "username". I know the xen's devs have done everything to avoid copying others. So I though how about brake the rules and actually have usernames not in the top but in the bottom of the posts. Styled with funky font. Just like in the real life, the person's name goes into the bottom of a letter. The reason is so we don't need to worry about the long usernames breaking into lines.

    And then it can be modified to show no avarat's block in the PMs(here is the else would play nicely), a big space benefit for forums with fixed width.
  11. Adam Howard

    Adam Howard Well-Known Member

    So a basic mock-up is you would want something like this?

  12. igrec

    igrec Member

    Yeap, kida like that for the forum threads. More like this


    and this for convos
    Adam Howard likes this.
  13. Adam Howard

    Adam Howard Well-Known Member

    Getting it like that wouldn't be hard.

    The font type would be an issue though. You'd want to keep to web font standards for user compatibility.

    You could technically include the font on your server, so that it would automatically be downloaded and loaded in the browser for proper display, but not all browsers support this... Typically mobile devices would have a big issue on that.

    But the basic concept that you want, can easily be done.
  14. igrec

    igrec Member

    Yeah I know about the fonts , Luchida just was the first funky one in the top of my head.
  15. Adam Howard

    Adam Howard Well-Known Member

    I'm not at exactly at home at this moment. I'd need to install my test site before I get working on this. But I should have a working prototype tonight or tomorrow.

    As this is fairly easy (I did something similar for someone else); I'll release this to the public at no cost. :)
    igrec likes this.
  16. snoopy5

    snoopy5 Well-Known Member

    Is this also compatible with XF 1.2.1?
  17. Adam Howard

    Adam Howard Well-Known Member

    I've not checked it out.... It's only a template edit, so you're welcome to find out for everyone else. It's easy and safe to change back should it not.

    (Always wonder why people don't test things themselves)
  18. Andre Daub

    Andre Daub Member

    I want to show Avatars to all, Guests and normal User, but i have 2 active Users who want not to see avatars. Is it possible to make the if Condition work with User ID´s?

    User Id 543 - show no Avatars
    All othres - show avatars
  19. LurkerLou

    LurkerLou Active Member

    Is there a way to edit this to hide avatars for another group if a specific one was created?
  20. Adam Howard

    Adam Howard Well-Known Member


    ^^ All the information either of you will need to change this so it works for select groups or users can be found there.

Share This Page