The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Statics Modification

View previous topic View next topic Go down

Solved Statics Modification

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

Hello,

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

Thanks in advance!
Ellianna

Ellianna17
Forumember

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

http://winxclub.site-forums.com

Back to top Go down

Solved Re: Statics Modification

Post by Ange Tuteur on 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 :

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Statics Modification

Post by Ellianna17 on 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
Forumember

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

http://winxclub.site-forums.com

Back to top Go down

Solved Re: Statics Modification

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

Topic solved and archived



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


SLGray
Administrator
Administrator

Male Posts : 36659
Reputation : 2444
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


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