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

XF 1.5 Change Addon Data Order In Message User Info Block

Discussion in 'Styling and Customization Questions' started by fishb6nes, Oct 7, 2015.

  1. fishb6nes

    fishb6nes Member

    I'm looking to swap the positions of the data output of 2 addons (Post Ratings and dbMedal to be more precise) in the user info block on the left side of a post. I've found all the Custom User Fields and default fields like Location, Join Date, and what not in the message_user_info template, I can't however for the life of me find the template that inserts the addon fields (or a place where the addon order is defined).

    Any help that can point me in the right direction would be greatly appreciated.
  2. fishb6nes

    fishb6nes Member

    To be more specific I'd like to swap the positions of elements 1 and 2 as shown below;

    Element 1 is generated by bdMedal and element 2 by Post Ratings. You can find a test topic on the live forum here. And finally the contents of my message_user_info template can be found in this pastebin.
  3. Brogan

    Brogan XenForo Moderator Staff Member

    You will likely need to edit the template modifications, but it depends how the content has been added.

    The best place to seek support is in the respective add-on threads.
    fishb6nes likes this.
  4. fishb6nes

    fishb6nes Member

    Awesome, thank you! I wasn't aware of the Addon Template Modifications menu's existence. Is there any way to bypass the "This modification can only be enabled or disabled." setting or are they so strict that my only option would be to place a request with the addon authors?
  5. Brogan

    Brogan XenForo Moderator Staff Member

    You can enable debug mode which will allow you to edit template modifications.

    However, the next time you upgrade, they will revert to the original state.
  6. fishb6nes

    fishb6nes Member

    That's perfect, thanks again.

    Hope it'll help anyone; to avoid having to deal with all the regex and what not of which I have no decent understanding I simply disabled both message_user_info template modifications from bdMedal and inserted the template include (<xen:include template="bdmedal_message_medals" />) those modifications would have inserted myself in the desired location in the template in question.
    Last edited: Oct 8, 2015

Share This Page