• 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]

Quiver

Active member
#1
Quiver submitted a new resource:

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

Displays the Top Poster of The Last Hour in the forum sidebar, along with a link to their homepage. It's a great way of encouraging members to post more often as the top poster of the last hour gets a link to their website (free advertising) on the forum index, as well as a shout-out for being the top poster. If there is no top poster in the last hour, the Top Poster of The Last Hour sidebar block gracefully disappears. It's better that way. Who wants to see "No top poster"? That just makes...
Read more about this resource...
 

Brandon Sheley

Well-known member
#5
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 :)
 

Quiver

Active member
#6
How about:

Top Post Last 7 Days....
Top Poster Last 30 Days
Top Poster YTD...
That could be possible in future updates I suppose. ;)
Using the same kind of technique I used to make this.

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 :)
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?
 

Brandon Sheley

Well-known member
#7
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.
 

Quiver

Active member
#15
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?
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

Well-known member
#16
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.
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?
 

Quiver

Active member
#17
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?
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. :)
 

Brandon Sheley

Well-known member
#18
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"
 

Quiver

Active member
#19
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"
You can edit the phrase twistedpromotion_topuser :)