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

XF 1.4 Add team logo to postbit

Discussion in 'Styling and Customization Questions' started by ChiTownTalk, Oct 3, 2014.

  1. ChiTownTalk

    ChiTownTalk New Member


    Does anyone know how to add team logos into the postbit? What I'm looking for was what North American Team Logos (on vBulletin accomplished, if anyone is familiar with that).

    I have all the logos done for the teams.

    Last edited: Oct 3, 2014
  2. dieketzer

    dieketzer Well-Known Member

    rephrase the mood addon.
    ChiTownTalk likes this.
  3. ChiTownTalk

    ChiTownTalk New Member

    I was suggested this but I don't think I can disable the recent activity (which I don't want) and I'd like to allow users to select up to 4 different teams.
  4. dieketzer

    dieketzer Well-Known Member

    maybe look at 'multiple-choice drop down selection' custom user fields.
    ChiTownTalk likes this.
  5. ChiTownTalk

    ChiTownTalk New Member

    How would I rephrase it btw?

    Going to try and get this to work.

    Edit: Almost got this working.

    Just need help regarding three things

    1 - How do I remove the team logos from the quick reply (http://i.imgur.com/yClWl4K.png)

    2 - How do I change Mood Choser to Team Chooser (http://i.imgur.com/edq6FmU.png)

    3 - How do I change the Select the mood you are currently in ----> to 'Select your favorite Midwest Sports Team' (http://i.imgur.com/xrVkxsa.png)
    Last edited: Oct 3, 2014
  6. dieketzer

    dieketzer Well-Known Member

    look for things that need to be changed, like 'select a mood' and search for it in phrases.
    ChiTownTalk likes this.
  7. ChiTownTalk

    ChiTownTalk New Member

    Thanks for all the help so far, I rephrased it.

    Just a couple things:
    1) How do I remove the team logos from the quick reply (http://i.imgur.com/yClWl4K.png)
    2) How do I resize the post bit so the icons fit in it (the size of the icons are 200 x 50)?
  8. Sheldon

    Sheldon Well-Known Member

    Create custom profile fields, skip using moods. Then you can have 4 teams shown.
  9. ChiTownTalk

    ChiTownTalk New Member

    I'm still adjusting to Xenforo since I recently switched over from vBulletin, but how would I do this?
  10. Russ

    Russ Well-Known Member

    It takes a little bit of a setup but this is one way we did a custom user field on our old site:


    Replace gen# with the team name.png, then replace the "level #" with the team name itself, this would show in the dropdown.


    The value display html
    <img src="/styles/site-images/{$choice}.png" class="genLevel Tooltip" title="Regeneration {$value}" alt="{$value}" />
    We'd name all of our images:
    gen3.png ect ect...

    so whatever "Regen" level those chose, it would display that image on the post bit.

    It takes some leg work initially but once you get a few in there it moves pretty quick :D.
    dieketzer likes this.
  11. Betclever

    Betclever Active Member


    Is there any add-on to add some NBA, NHL icons without applying this tuto?

  12. Sheldon

    Sheldon Well-Known Member

    If you use the "Moods" addon, change some phrases, and upload team images before doing it, you can select 1.

    Save that, the only way I know to show more than 1 is the template edit / custom fields method.
  13. Dylan V

    Dylan V Well-Known Member


    I can fix your problem, but can you give me a screenshot of the location where you want to place the logo?
  14. Sheldon

    Sheldon Well-Known Member

    How can you fix the problem? The problem is they don't want to do the tutorial, instead have an add-on do it.
  15. Betclever

    Betclever Active Member

    In fact, I would like to choose more than one so I will check with custom field.
    However, can someone make an app for this?

    Of course, I will pay the fees but IDK if it's possible or not?

  16. Dylan V

    Dylan V Well-Known Member

    If he needs an add-on for this, is that it is poorly explained, because the postbit represents that for me:


    And who told you that I don't know to create an add-on?
  17. Sheldon

    Sheldon Well-Known Member

    I don't recall saying you didn't.

    I was going by what he said. I replied as such.

    https://xfuniverse.com/threads/custom-userfields-into-postbit.196/ <--- This is a very easy to follow tutorial @Betclever, if you need any help, feel free to ask in the thread.

    As far as an add-on, I'd like to see one as well. I just can't justify the expense to have it developed when a 5 minute template edit will get the same results.

    Best of luck either way.
  18. Betclever

    Betclever Active Member


    I'm using game profile where I can choose between PSN, skype, FB, Twitter but it is an add-on and I don't know where I can find logo of the team
    cause I want to do this for Us sports and soccer to begin?

    However, can we put a limit to 6 by example?

  19. Sheldon

    Sheldon Well-Known Member

    The guide I posted you can add as many as you want.... or as little.
  20. Betclever

    Betclever Active Member

    Hum ok so I have to follow the one on your website and don't use the one here?
    Sorry but I'm just dubitative so it's the reason I'm asking you which one shall I follow...

    However, what a bout the size of the logo?

    For my forum, I would like to have icons 24x24 but shall I resize them or I can take the ones on the official team sites or nba.com by example and the system
    will resize them for me?


Share This Page