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

Top Poster of Last X Hours [Deleted]

Discussion in 'Add-on Releases' started by Quiver, May 18, 2013.

  1. Quiver

    Quiver Active Member

    Quiver submitted a new resource:

    Top Poster of The Last Hour - Displays Top Poster of The Last Hour in Sidebar

    Read more about this resource...
     
  2. FredC

    FredC Well-Known Member

  3. Quiver

    Quiver Active Member

    Oh, my bad. I will look into fixing this. Sorry about that. ;)
    In the meantime, edit the twistedpromotion_topuser template.
     
  4. usAdultAds

    usAdultAds Active Member

    How about:

    Top Post Last 7 Days....
    Top Poster Last 30 Days
    Top Poster YTD...
     
    surfsup likes this.
  5. Brandon Sheley

    Brandon Sheley Well-Known Member

    very nice!

    and the question several will ask, will it work with the widget framework?

    nvm, looks like you could just call it to the template "twistedpromotion_topuser"
    going to try it now :)
     
  6. Quiver

    Quiver Active Member

    That could be possible in future updates I suppose. ;)
    Using the same kind of technique I used to make this.

    Not sure about widget framework. Haven't tried it to be honest.
    I'm trying to make it work in XenPorta sidebar, but I'm not sure how to make a XenPorta block.
    Anyone know?
     
    resonansER likes this.
  7. Brandon Sheley

    Brandon Sheley Well-Known Member

    I don't use xenportal now but I did get this working on the framework using the above method.
    I like the 1 hour time limit.

    One suggest I would like is to be able to remove groups from being included.
    I wouldn't want staff in there or the brand new users to protect against spam.
     
    Bram and resonansER like this.
  8. Quiver

    Quiver Active Member

    That shouldn't be too difficult. I'll look into it for future updates. ;)
     
    resonansER and Brandon Sheley like this.
  9. usAdultAds

    usAdultAds Active Member

    read the txt, tried it, didnt show on home page.
    update when frame ready and it works.

    Thanks
     
  10. Quiver

    Quiver Active Member

    It only shows if there is actually a top poster in the last hour.
    If nobody has posted in the last hour, the sidebar disappears.
     
  11. usAdultAds

    usAdultAds Active Member

    damn it I have already uninstalled it. :)
    it needs to be frame ready...i do not
    like making template edits....




     
  12. Quiver

    Quiver Active Member

    I'll look into it. This is only the first release. ;)
    There's only one template edit required though.
    I don't see why that's so hard, but never mind. :D
     
    wilson and Brandon Sheley like this.
  13. Quiver

    Quiver Active Member

  14. surfsup

    surfsup Well-Known Member

    I agree with this one, and would be AWESOME if in the backend we can see WHO was the top posterS for the month so we can make announcements each month stating so.

    Is this possible?
     
  15. Quiver

    Quiver Active Member

    Top Poster in Last X number of hours was introduced in the latest update.
    You can now choose how many hours: anything from 1 to 8760 (365 days).
    I'm not sure about the back end record of the top posters of the month.
    That would involve saving records and I'm not sure if I could make that.
     
    surfsup likes this.
  16. surfsup

    surfsup Well-Known Member

    Ah ok no worries, so just for the record, what about instead of 'hours' weeks/months? So we don't have to use a calculator and see how many there is every different month ?

    Ah and is it only 1 poster or can we choose more than 1?
     
  17. Quiver

    Quiver Active Member

    I was thinking about that, but the addon was originally "Top Poster of the Last Hour".
    To make hours into weeks would involve a separate variable, so it's quite complex. ;)
    I will look into it though, as I was thinking that myself. :)
     
  18. Brandon Sheley

    Brandon Sheley Well-Known Member

    Thanks for the update, works great!

    Where can I edit the title of the block, it did say top poster last hour or something like that, it now say top "usergroup of the user" eg. top contributor.. I'd like it just to say top user last hour or something along those lines again

    thanks


    nvm above, I found the phrase "twistedpromotion_topuser"
     
  19. Quiver

    Quiver Active Member

    You can edit the phrase twistedpromotion_topuser :)
     
    Brandon Sheley likes this.
  20. Brandon Sheley

    Brandon Sheley Well-Known Member

    yup, I found it

    I do see another issue, how do I remove your link from the "set your homepage" link?

    homepage.png

    that goes to your twisterpromo site

    thanks
     

Share This Page