Notifications
Clear all

wpForo 1.x.x [Solved] Problem with visualization of number of post in profile

6 Posts
2 Users
3 Likes
1,765 Views
Bruzelan
Posts: 4
Topic starter
(@bruzelan)
New Member
Joined: 5 years ago

Hello!

I've installed this forum system in a new wordpress. It's works fine, but now I'm triyng to pass some data from my old forum: number of topics-post for users (i'm doing this manually, after user register again in the new system. No problem, are few users active at this time) and forum stats.

Althought the last months in my old forum activity stops, my forum has more than 10 years and some users have a lot of comments. And here appear first problem... when the user have more than 10K posts, in profile view number of post dissapear. I've +34K forum messages but in profile view the postcount not show. In database are well save the data (I attach a screenshot).

Do you know where can be the problem?

Another "problem" is where can I modify the data for the entire forum statistic. I made the change and show ok number of post in eac forum info , but in footer info for forum total only count the new post (the post write since installation) Where can I change this info to be able to show history total postcount?

I don't want migrate the posts, topics and other content, only the post/topic count for users and forums.

Thank you very much!

PD: Sorry for my english.

5 Replies
Robert
Posts: 9256
Admin
(@robert)
Support Team
Joined: 6 years ago

Althought the last months in my old forum activity stops, my forum has more than 10 years and some users have a lot of comments. And here appear first problem... when the user have more than 10K posts, in profile view number of post dissapear. I've +34K forum messages but in profile view the postcount not show. In database are well save the data (I attach a screenshot).

Do you know where can be the problem?

Could you please edit the /wpforo/wpf-includes/functions.php file, find this code:

$phrase = str_replace('{number}', '', $phrase);

Change to this:

//$phrase = str_replace('{number}', '', $phrase);

Then navigate to Dashboard > Forums > Dashboard and click on [Delete Phrase Cache] button, then delete all caches (if you have cache plugin).

Another "problem" is where can I modify the data for the entire forum statistic. I made the change and show ok number of post in eac forum info , but in footer info for forum total only count the new post (the post write since installation) Where can I change this info to be able to show history total postcount?

Just click on these buttons in Dashboard > Forums > Dashboard admin page:

Β 

Reply
Robert
Posts: 9256
Admin
(@robert)
Support Team
Joined: 6 years ago

Another option is adding these phrases in Dashboard > Forums > Phrases admin page:

For example Phrase Key: {number}K | Phrase value: K

The phrase value ca also be the translated value if your forum language is not on English

  • K means 1000
  • M Million
  • B Billion
  • T Trillion
Reply
Bruzelan
Posts: 4
Topic starter
(@bruzelan)
New Member
Joined: 5 years ago

Thank you Robert, but I still have the same problem.

After I doing all this solutions, ths situation not change. And when clicked "update forum statistic"... this delete forum postcount and recount for "true" messages (deleting my manual-change-data in database. It change them to pass mi old-forum postcount). The same with user infoΒ  hahaha.

But no problem, I change it again πŸ™‚

It's a extranger thing...

Reply
Robert
Posts: 9256
Admin
(@robert)
Support Team
Joined: 6 years ago

I'm sorry but I can't follow you what have you done with forum database and what you want to get now. wpFror counts number of posts in wp_wpforo_posts tale of each user and displays in Profile Statistic. Are you sure the userID is set correctly in database. s this a migrated forum?

Reply
Page 1 / 2
Share: