The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Statics Modification

3 posters

Go down

Solved Statics Modification

Post by Ellianna17 September 27th 2015, 1:58 pm

Hello,

As you know, the default wordings for the Statics is this:
Our users have posted a total of 2202 messages
We have 29 registered users
The newest registered user is SplonderDemon
I do want it to be changed to something simple, perhaps something like this:
2202 Fairy Messages Sent
29 Known Winxters
Newest Known Winxter is SplonderDemon
Perhaps there is a coding for it? Statics Modification Whistle

Thanks in advance!
Ellianna
Ellianna17
Ellianna17
Forumember

Female Posts : 539
Reputation : 126
Language : English, Filipino, and Basic Spanish

http://winxclub.site-forums.com

Back to top Go down

Solved Re: Statics Modification

Post by Ange Tuteur September 27th 2015, 2:25 pm

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 :
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>
You should do this for each variable. Wink

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. Add


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 :
Statics Modification Captur72
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: Statics Modification

Post by Ellianna17 September 28th 2015, 4:58 am

Thank you, Ange! I tested it on my test forum and it worked! Thank you once again! This topic can now be archived. =)
Ellianna17
Ellianna17
Forumember

Female Posts : 539
Reputation : 126
Language : English, Filipino, and Basic Spanish

http://winxclub.site-forums.com

Back to top Go down

Solved Re: Statics Modification

Post by SLGray September 28th 2015, 5:08 am

Topic solved and archived



Statics Modification Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51463
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum