AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

[Closed] Turn 10 K into 10000 in forum statistics

4 Posts
4 Users
1 Reactions
1,440 Views
Posts: 11
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@mahmutisdar)
Active Member
Joined: 8 years ago
[#10834]

One of my forums has passed 10000 users and in forum statistics it says 10 K. I would like to change it into 10000 because most of people don't know what 10 K means in my country. How can I do that? (In phrases section, I changed [number] K into [number] 000 but this time 10000 will not change as long as I have a hundred new users and it will show up as 10.1 000. This is not good for me) 


3 Replies
Sofy
Posts: 5774
 Sofy
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@sofy)
Support Team
Joined: 8 years ago

Hi @mahmutisdar,

(In phrases section, I changed [number] K into [number] 000 but this time 10000 will not change as long as I have a hundred new users and it will show up as 10.1 000. This is not good for me) 

Please cancel the changes you've made and follow the steps below to get it resolved:

1. Copy the footer.php file from the /wp-content/plugins/wpforo/wpf-themes/classic/ folder to your active theme's folder as described here: https://wpforo.com/docs/root/forum-themes/theme-customization/

2. In the copied file find the following line (line 50)

<span class="wpf-stat-value"><?php echo wpforo_print_number($stat['members']) ?></span>

3. Replace with this one:

<span class="wpf-stat-value"><?php echo$stat['members'] ?></span>

Posts: 22
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@meibukan76)
Eminent Member
Joined: 5 years ago

Should this also work for Posts? If I'd like show the exact numbers of posts, would I change to the following?

<span class="wpf-stat-value"><?php echo$stat['posts'] ?></span>

1 Reply
Chris
(@chris)
Joined: 5 years ago

Famed Member
Posts: 3610
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

Hi @meibukan76,

Yes, that will work.


Share: