1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. 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.

Likes Review - Most Liked Posts

Discussion in 'Add-on Releases [Archive]' started by Kier, Oct 6, 2010.

  1. Kier

    Kier XenForo Developer Staff Member

    This is the script I threw together for my Have You Seen... video 'Playing With Colour'.

    It adds a new page that shows the most liked posts on the board. The number of posts shown is controlled by an option in the Messages group that is inserted by the add-on.

    Screen shot 2010-10-06 at 21.09.44.png

    To install, unzip the attached file, copy the 'LikeReview' folder into the 'library' of your XenForo Directory, then install the add-on XML file using your XenForo admin control panel.

    The new page will then be available at /likes-review/ on your installation.

    Most-Liked-Posts-_-XenForo-Community_1286395934137.jpg

    This add-on is fairly basic, but it should give a good insight into how completely new pages can be created for XenForo.

    Note this is for demonstration purposes: it doesn't check post viewing permissions.
     

    Attached Files:

    51463, ProCom, erich37 and 42 others like this.
  2. Mythotical

    Mythotical Well-Known Member

    Definitely will use this.
     
  3. RastaLulz

    RastaLulz Well-Known Member

    Very nice release Kier! I will be sure to install this on my forums as soon as I finish typing this post. :cool:
     
    dapmoed likes this.
  4. RickM

    RickM Well-Known Member

    Thanks Kier :)
     
  5. Brogan

    Brogan XenForo Moderator Staff Member

    Does it add a new menu bar item or is the page only accessible if you know the URL?
     
  6. RickM

    RickM Well-Known Member

    As standard it doesnt add a menu item - but you should be able to just add that on to the code (someone posted showing you how to add a tab in the articles/tutorials section IIRC)
     
  7. Mike

    Mike XenForo Developer Staff Member

    Just as a caveat, this is mostly just a demonstration. It doesn't check post viewing permissions.
     
  8. projectego

    projectego Active Member

    Cheers, Kier! This'll be among the first mods. Thanks again. :)
     
  9. Netrosis

    Netrosis New Member

    Thanks, I finally figured out what I was doing wrong. :)

    This mod works nicely too.
     
  10. dutchbb

    dutchbb Well-Known Member

    The fact that it doesn't check for post viewing permissions is probably something that is worth mentioning in the OP.
     
    RastaLulz likes this.
  11. Floris

    Floris Guest

    Looks great! :D
     
  12. Mike

    Mike XenForo Developer Staff Member

    It does say that, right at the end - above the download link. :)
     
  13. dutchbb

    dutchbb Well-Known Member

    Did you or Kier add that? *hoping for an answer that doesn't make me look stupid*
     
  14. Mike

    Mike XenForo Developer Staff Member

    I added it before I posted my first comment.
     
  15. Booth

    Booth Well-Known Member

    Installed - with a little bit more work this could be a really cool add-on.
     
  16. Sador

    Sador Well-Known Member

    Hm, sounds actually more useful to put under the forum statistics sidebar to be honest.
     
  17. Dismal Shadow

    Dismal Shadow Active Member

    I take it this will be added in Beta 2?
     
  18. Floris

    Floris Guest

    Hopefully not! If it lists liked content from the staff forums or premium forums; it then discloses those titles :p
     
  19. Brogan

    Brogan XenForo Moderator Staff Member

    Couldn't you use conditionals to filter the content based on user permissions?
     
    gordy likes this.
  20. kkm323

    kkm323 Well-Known Member

    great mod
    any chance this would go in the sidebar
    +
    Instead of having it for all time. It would be great if we can set the top liked in x day
    what you think?
     

Share This Page