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

User Profile mod: show specific posts created

Discussion in 'Styling and Customization Questions' started by ibenick, Feb 5, 2012.

  1. ibenick

    ibenick Active Member

    My site is heavily oriented towards users posting trip reports from their outdoors adventures. There is a Forum on my site dedicated only to Trip Reports with sub-forums for the various activities like hiking, backpacking, canyoneering, etc. Encouraging users to share good content in this section is crucial.

    I would like to figure out how to make it so that any trip report a user has created can be shown in a list on their user profile so that other users can see a quick list of their Trip Reports. Pretty much exactly like the data that comes up under the 'Postings' tab but filter it to only show threads created by that member within the Trip Reports forum. It would be ideal if this Trip Reports tab was the default view when someone views a user profile.

    Would this be very difficult? I'm okay with making template edits if I have an idea of what I'm doing but if this is a lot more work than I am hoping, I would even be willing to pay someone to help me, especially if I could also add a "Trip Reports: xx" on to the users list of messages, likes, etc. next to each post they make.

    My site is http://backcountrypost.com/forum/

    Thank You.
     
  2. ragtek

    ragtek Guest

    I've coded this for free for somebody.
    Let me see if i can find this
     
    ibenick likes this.
  3. ragtek

    ragtek Guest

    Hm, ok it's not exactly the same.
    This add-on uses only 1 forum and not "sub forums"...

    Would this work for you?
     
  4. ibenick

    ibenick Active Member

    So this would work if the sub-forums were no longer there and all of the trip reports were just in the main trip reports forum? I've thought about using thread prefixes rather than sub-forums for the different type of trip reports. My only concern is that it may make page titles excessively long. Would it be possible to modify this to grab from each of the sub-forums?
     
  5. ragtek

    ragtek Guest

    I'm no fan of options, i prefer config files, that's why you have to

    change in ragtek/SLXT/Config.php the node ids
    PHP:
    static $nodeId = array(44,53);
    as next upload the files and install the add-on

    search for the phrase with tile "newest_songs" and change it to "road trips" or whatever you want

    3. donate some cents to ragga@ragtek.org :p
     

    Attached Files:

  6. ibenick

    ibenick Active Member

    This is looking really good! I have it installed and it is grabbing from the appropriate nodes. But it is displaying the full post. Is it possible to modify so that it just shows the thread title like you would see when browsing a forum or like it shows under the 'Postings' tab? Also, any thoughts on how to add "Trip Reports: xx" above the Message count below the users avatar?

    Example of how it's showing entire posts on my profile page:
    http://backcountrypost.com/forum/index.php?members/ibenick.1/

    I will definitely be making a donation if I can get this going! ;)
     
  7. ragtek

    ragtek Guest

    I'll send you tomorrow a custom version:)
     
    ibenick likes this.
  8. ragtek

    ragtek Guest

    here we go:)

    update instructions:

    change Config.php
    upload files
    upgrade the add-on
     
    gordy likes this.
  9. ibenick

    ibenick Active Member

    Fantastic! Sorry I have not had a chance to work on this until now. I have one question though.

    I can see how to change the number of trip reports shown in the config.php. But is there a way to show them all? And if so, somehow be able to click through to more if there are so many that it would not make sense to display all on that page?

    Thanks!
     
  10. ibenick

    ibenick Active Member

    And I'm sure this has an easy answer. How can I get the name of that tab to have spaces between the title words. XenForo won't accept it with spaces or %20.
     
  11. Sheldon

    Sheldon Well-Known Member

    It should be in "Phrases"...
     
  12. ragtek

    ragtek Guest

    Do you mean this?
    tab.png.png

    There is a space?!
     
  13. gordy

    gordy Well-Known Member

    Is there a way to link that into the post bit and output the threads to a separate page ?
     

Share This Page