1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. This forum is for release discussion only. Discussions that do not relate specifically to the resource release should be discussed in another, more appropriate forum.
    Dismiss Notice
  3. This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

Find all posts and threads on popup card to member

Discussion in 'Template Modifications [Archive]' started by Allan, Nov 2, 2010.

  1. Allan

    Allan Well-Known Member


    Find all posts and threads on popup card to member
    ______________________________
    That add 2 links for find all posts and all threads on popup card to member
    • In "member_card" template, find:
    Code:
    </div>
    	<a class="close OverlayCloser"></a>
    
    • Add above:
    Code:
    <div class="userLinks">
                  <a href="{xen:link search/member, '', 'user_id={$user.user_id}'}">Find all posts</a>
                   <a href="{xen:link search/member, '', 'user_id={$user.user_id}', 'content=thread'}">Find all started threads</a>
    </div>
    
    avant.gif

    after.gif

     
  2. bambua

    bambua Well-Known Member

    That's a nice little template hack, nice work.
     
  3. Allan

    Allan Well-Known Member

    Yes, just useful, no big hack :p
     
  4. Trombones13

    Trombones13 Well-Known Member

    Perhaps you just did this since your versions are in French, lol, but wouldn't it make sense to use the "find_all_content_by_x" and "find_all_threads_by_x" phrases instead of writing them out?

    Either way, useful mod; thanks! :D
     
  5. Peggy

    Peggy Well-Known Member

    Thanks for releasing this Allan. Good mod!

    @ Trombones - no, it would not make sense for it to say, Find all posts by trombones, and find all threads by Trombones, since they are clearly looking at your member card. :)
     
  6. Allan

    Allan Well-Known Member

    Correct
    I had also thought, but the fonction for username in expresions don't work in the other template.
     
  7. Trombones13

    Trombones13 Well-Known Member

    Oh; that makes sense. Thanks for the clarification. :D
     
  8. yilmaz

    yilmaz Active Member

    Very good job thanks
     
  9. Shelley

    Shelley Well-Known Member

    Nice little hack. I think and would recommend the devs to include this into the core product. There's been many times I wanted to checkup threads and posts by user-x. Good job Allan.
     
  10. Peggy

    Peggy Well-Known Member

    You can find posts on their profile. :)
     
    Shelley likes this.
  11. Shelley

    Shelley Well-Known Member

    Blimey so you can missed that. I think it would also be nice in the membercard still. Often than not the membercard is the are people venture to first when looking up somebody. Thanks Peggy. :)
     
  12. Trip

    Trip Active Member

    Nice one Allan. Great addition to the member card.
     
  13. Allan

    Allan Well-Known Member

    +1 ^-^
     
  14. kkm323

    kkm323 Well-Known Member

    nice job
     

Share This Page