Previous Thread
Next Thread
Print Thread
Hop To
#223491 03/03/2009 4:31 PM
Joined: Jan 2007
Posts: 72
Softrak Offline OP
journeyman
OP Offline
journeyman
Joined: Jan 2007
Posts: 72
Hi,

Is it possible to reset the count on the top posters island?

Thanks

Joined: Dec 2003
Posts: 6,409
Likes: 55
Offline
Joined: Dec 2003
Posts: 6,409
Likes: 55
I guess it depends on why?
The island just shows how many posts a user has made.
If you deleted a lot of posts and it still is counting them you could run the cp>> content rebuilder>>Rebuild post count


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Ruben #223493 03/03/2009 5:13 PM
Joined: Jan 2007
Posts: 72
Softrak Offline OP
journeyman
OP Offline
journeyman
Joined: Jan 2007
Posts: 72
Ok.

See the top posters on the left in this forum... it says (30 Days) how do I do that?

Joined: Dec 2003
Posts: 6,409
Likes: 55
Offline
Joined: Dec 2003
Posts: 6,409
Likes: 55
That is a new feature island as of version 7.4


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jun 2006
Posts: 16,115
Likes: 79
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,115
Likes: 79
I think it was added in 7.4; it'd be:
CP -> Portal -> Portal Layout -> Enable the "Top Posters (last 30 days) " option.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Gizmo #223502 03/03/2009 5:47 PM
Joined: Jan 2007
Posts: 72
Softrak Offline OP
journeyman
OP Offline
journeyman
Joined: Jan 2007
Posts: 72
Ok. Thanks.

Back to my original question how do I reset the post count to zero? I'm assuming the count right now is from all time.

Joined: Dec 2003
Posts: 6,409
Likes: 55
Offline
Joined: Dec 2003
Posts: 6,409
Likes: 55
Never tried it so don't know how it impacts to operation of the forum. But the top poster list just pulls total posts from the user_profile table, It is not just a special field for the island. So resetting the field to zero will impact the total posts when displaying a profile as well as when viewing the user list and total posts when viewing a topic.

Maybe someone else will chime in.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jun 2006
Posts: 16,115
Likes: 79
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,115
Likes: 79
I think the users total posts are stored in the db; so you'd update the "USER_TOTAL_POSTS" value in the "USER_PROFILE" table.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Gizmo #223515 03/03/2009 7:03 PM
Joined: Apr 2007
Posts: 3,940
SD Offline
Former Developer
Offline
Former Developer
Joined: Apr 2007
Posts: 3,940
SQL Query
update ubbt_USER_PROFLE set USER_TOTAL_POSTS=0

zeroes them all out..

but MAKE SURE THAT IS WHAT YOU WANT!!! cuz it makes everyone have 0 posts from that point on..

they they start counting up from there..

SD #223565 03/04/2009 2:33 PM
Joined: Jan 2007
Posts: 72
Softrak Offline OP
journeyman
OP Offline
journeyman
Joined: Jan 2007
Posts: 72
Ok great thanks a lot.


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Lost Forum
by PrplPplEater - 10/20/2021 9:28 AM
utf8mb4, apostrophes, and periods... oh my!
by PrplPplEater - 10/16/2021 4:47 PM
Incorrect integer value
by DaveZ - 09/26/2021 4:09 PM
"Hide" a member rather than delete?
by jgeoff - 09/24/2021 4:38 PM
Who's Online Now
0 members (), 55 guests, and 79 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
gallery test
gallery test
by Mors, September 23
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 7.7.5