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

Displaying extra info from my own MySQL database on user post

Discussion in 'XenForo Development Discussions' started by AUSFIFA, Nov 11, 2015.

  1. AUSFIFA

    AUSFIFA Member

    I am running Xenforo on my PHP website which has its own database tables, and I'd like to be able to display information from these tables for each user when they post.

    Example of what I want to achieve:
    [​IMG]

    Please note that the info would need to come from database tables outside of Xenforo, and it would be specific to the author of the post.

    I have looked through the files inside library/Xenforo but I can't seem to find what I'm looking for. Any help would be greatly appreciated. Thanks!
     
  2. AUSFIFA

    AUSFIFA Member

    I really just need to know which code handles the post user sidebar (which displays username, user title, avatar etc.)... I'm not asking how to code it. I just want to know where I should be looking... anybody?
     
  3. Mouth

    Mouth Well-Known Member

  4. Robust

    Robust Well-Known Member

    Different MySQL database? In addition to what Mouth said, you'll need to init it using Zend_Db::factory
     

Share This Page