You might want to change this below, the wrap, to match accordingly.Thanks I used this combination as it stands out
Code:.userBanner.bannerStaff { background-color: #f9ecb6; border-color: #ffcb05; color: #990000; }
View attachment 73463
.userBanner.bannerStaff.wrapped span
You might want to change this below, the wrap, to match accordingly.
Code:.userBanner.bannerStaff.wrapped span
Nope
Posts in forums with "Count messages posted in this forum toward user total" disabled seem to still be counting towards their total.
Take alook at my current top poster "Snake": http://appinvasion.com/forums/
You can see that in your widget it shows he has 800+ posts but if you click into his profile his actual total message count is only 100+.
Hello, how can one Exclude Forums are not to be counted
I generally prefer the top 10, but my members are asking for a top 50 list for the prior month. I can set it to display 50 on the main page but not any previous months. Is there a way to get that setting to carry over?
Hello Gang,
I'm kind of losing patients with this add-on... The fist month I added this, it reset the count at an odd time on the last day of the month. @Aayush was kind enough to try to fix the problem in crons and we tested the servers local time and it is the same as my local time. Between then and the next month (April) I installed a new theme/style. On the last day of April it reset the count again at 5 PM PST (local time). I figured the crons got reset when I installed the new them so I went in and changed the crons. When I went in and changed the time in the crons I noted it didnt reflect the correct time in the "Cron Entries" list, so I adjusted the dials until the time was correct in the "Cron Entries" list. At 5 PM PST (local time) today it reset the monthly count again even though the "Cron Entries" list shows Top Poster Of Month Winner Declaration Next Run: Jun 1, 2014 at 12:01AM. It is currently 5:27 PM PST (local time), May 31, 2014.
This is a big problem when I'm running contests and the members are running a close race. When it ends too early it can cause a big problem when trying to decide the winner. Can someone please explain how I can get the counter to reset at my local time?
Many Thanks,
Nick
Cron Entries List Screen Shot
View attachment 74892
Edit Cron Entry: Top Poster Of Month Winner Declaration Screen Shot
View attachment 74891
Never mind, I already deleted the bot user.How can I exclude a user?
I have Shoutbox user Bot that archive chat message every 6 hours.
Thanks!
When a forum's "Count messages posted in this forum toward user total" option is disabled does the addon still count messages posted in that forum toward user's total?
Posts in forums with "Count messages posted in this forum toward user total" disabled seem to still be counting towards their total.
Take alook at my current top poster "Snake": http://appinvasion.com/forums/
You can see that in your widget it shows he has 800+ posts but if you click into his profile his actual total message count is only 100+.
This was a feature suggested a while ago but was never implemented.
$sql = "SELECT *, count(xf_post.username) as c
FROM xf_post
INNER JOIN xf_user
ON xf_post.username = xf_user.username
WHERE xf_post.post_date > '".$currentMonth."'
AND xf_post.post_date < '".$nextMonth."'
AND xf_user.user_group_id IN (".$sql_in.")
GROUP BY xf_post.user_id
ORDER BY c DESC
LIMIT ".$options->ls_number_of_leaderboard_users;
$sql = "SELECT xf_post.*, count(xf_post.username) as c
FROM xf_post
INNER JOIN xf_user ON xf_post.username = xf_user.username
INNER JOIN xf_thread ON xf_post.thread_id = xf_thread.thread_id
INNER JOIN xf_forum ON xf_thread.node_id = xf_forum.node_id
WHERE xf_post.post_date > '".$currentMonth."'
AND xf_post.post_date < '".$nextMonth."'
AND xf_user.user_group_id IN (".$sql_in.")
AND xf_forum.count_messages = 1
GROUP BY xf_post.user_id
ORDER BY c DESC
LIMIT ".$options->ls_number_of_leaderboard_users;
$sql = "SELECT *, count(xf_post.username) as c
FROM xf_post
INNER JOIN xf_user
ON xf_post.username = xf_user.username
WHERE xf_post.post_date > '".$currentMonth."'
AND xf_post.post_date < '".$nextMonth."'
AND xf_user.user_group_id IN (".$sql_in.")
GROUP BY xf_post.user_id
ORDER BY c DESC
LIMIT ".$number;
$sql = "SELECT xf_post.*, count(xf_post.username) as c
FROM xf_post
INNER JOIN xf_user ON xf_post.username = xf_user.username
INNER JOIN xf_thread ON xf_post.thread_id = xf_thread.thread_id
INNER JOIN xf_forum ON xf_thread.node_id = xf_forum.node_id
WHERE xf_post.post_date > '".$currentMonth."'
AND xf_post.post_date < '".$nextMonth."'
AND xf_user.user_group_id IN (".$sql_in.")
AND xf_forum.count_messages = 1
GROUP BY xf_post.user_id
ORDER BY c DESC
LIMIT ".$number;
AND xf_user.user_group_id IN (".$sql_in.")
AND xf_user.user_group_id NOT IN (".$sql_in.")
We use essential cookies to make this site work, and optional cookies to enhance your experience.