Statics Modification
3 posters
Page 1 of 1
Statics Modification
Hello,
As you know, the default wordings for the Statics is this:
Thanks in advance!
Ellianna
As you know, the default wordings for the Statics is this:
I do want it to be changed to something simple, perhaps something like this:Our users have posted a total of 2202 messages
We have 29 registered users
The newest registered user is SplonderDemon
Perhaps there is a coding for it?2202 Fairy Messages Sent
29 Known Winxters
Newest Known Winxter is SplonderDemon
Thanks in advance!
Ellianna
Re: Statics Modification
Hi @Ellianna17,
That should be possible by modifying the templates.
Go to Display > Templates > General and open the index_body template.
For the messages value, find {TOTAL_POSTS} and replace it with this :
You can place whatever texts you want to display before or after the span tags. Like this :
Next find the total users : {TOTAL_USERS} and replace it with this :
Lastly find the newest user : {NEWEST_USER} and replace it with :
If you want to add any text before or after these tags go ahead. When you're finished remember to save and publish the template.
At the moment it'll look the same with some extra text you added. To only show the values, you need to add the CSS below to your stylesheet :
Display > Colors > CSS stylesheet
Thus producing the following result :
That should be possible by modifying the templates.
Go to Display > Templates > General and open the index_body template.
For the messages value, find {TOTAL_POSTS} and replace it with this :
- Code:
<span class="qeel_val">{TOTAL_POSTS}</span>
You can place whatever texts you want to display before or after the span tags. Like this :
- Code:
Messages : <span class="qeel_val">{TOTAL_POSTS}</span>
Next find the total users : {TOTAL_USERS} and replace it with this :
- Code:
<span class="qeel_val">{TOTAL_USERS}</span>
Lastly find the newest user : {NEWEST_USER} and replace it with :
- Code:
<span class="qeel_val">{NEWEST_USER}</span>
If you want to add any text before or after these tags go ahead. When you're finished remember to save and publish the template.
At the moment it'll look the same with some extra text you added. To only show the values, you need to add the CSS below to your stylesheet :
Display > Colors > CSS stylesheet
- Code:
.qeel_val { font-size:0 }
.qeel_val strong { font-size:10px }
Thus producing the following result :
Re: Statics Modification
Thank you, Ange! I tested it on my test forum and it worked! Thank you once again! This topic can now be archived. =)
Re: Statics Modification
Topic solved and archived
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Similar topics
» Quasar Duel Academy
» Moving Statics and Who's online to a separate page?
» request to make me a who is online,birthday,calender,statics and chatbox icon for my forum plz
» GDPR: even more protection for your personal data
» Mod_Login Modification
» Moving Statics and Who's online to a separate page?
» request to make me a who is online,birthday,calender,statics and chatbox icon for my forum plz
» GDPR: even more protection for your personal data
» Mod_Login Modification
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum