We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Locked Topic
[ C ] Posts/Topics for Last 2 Weeks
Topic Started: Aug 13 2017, 03:03 PM (258 Views)
JamieMN
Member
[ *  *  * ]
Hi,

Is there a way so I can get two fields added to a profile for a user which counts the "amount of topics" and "amount of posts" they've done for the last 2 weeks [Constantly 2 weeks before the date we are looking at, so it'd be constantly changing per day]?

And for the topics and posts counting to only count from specific subforums/forum sections?
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
I could be wrong, but I don't believe this is possible because the only way I'm aware this can be done is to have JavaScript/AJAX go through the List Member's Posts and List Member's Topics pages and use math to add up the amount of posts/topics made within a two week period. The problem with this is, AJAX overuse, where you don't know the amount of posts/topics a user has made and it has to keep reaching a new page to calculate that data.
Offline Profile Goto Top
 
JamieMN
Member
[ *  *  * ]
Ahh, didn't consider it'd have to go through and count. That's a shame! Would have made our job much easier!

We have activity checks for roleplay to pay people taxes (in-game currency) so manually count between two dates. On the Modern Nations theme, the "List Members Posts" doesn't display the date of that post like it does on standard ZB. Would it be possible if you could provide a script to show the date it was posted instead?
Offline Profile Goto Top
 
DaPizzaMan
Member Avatar
#TeamSupport

JamieMN
Aug 15 2017, 08:03 AM
On the Modern Nations theme, the "List Members Posts" doesn't display the date of that post like it does on standard ZB. Would it be possible if you could provide a script to show the date it was posted instead?
Would you mind if that was disabled/undone?
Offline Profile Goto Top
 
JamieMN
Member
[ *  *  * ]
By disabled/undone, you mean so we can see the dates/times for the posts? If so, yes please :)
Offline Profile Goto Top
 
DaPizzaMan
Member Avatar
#TeamSupport

Add the following to the bottom of the Theme Appearance:
Code:
 
table.search_results_post tbody td.c_postinfo {
display:table-cell !important;
}
Offline Profile Goto Top
 
JamieMN
Member
[ *  *  * ]
DaPizzaMan
Sep 7 2017, 08:26 PM
Add the following to the bottom of the Theme Appearance:
Code:
 
table.search_results_post tbody td.c_postinfo {
display:table-cell !important;
}
Perfect, thank you DPM!

Had a little scare to begin with.. added it and the entire CSS messed up. Had to re-apply. XD But looks to be working as expected now :) thank you^^
Offline Profile Goto Top
 
DaPizzaMan
Member Avatar
#TeamSupport

Completed!

Your request has been completed. If you have any questions or concerns regarding the state of your request, please feel free to contact me via PM.
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Closed Requests · Next Topic »
Locked Topic