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.

How to make stylist statistics

View previous topic View next topic Go down

Solved How to make stylist statistics

Post by The Singer on January 3rd 2017, 8:45 pm

I saw this statistics in @valoish forum. Here is the screenshot of it how to make this type of statistics? Guide me please


Last edited by The Singer on January 4th 2017, 7:45 pm; edited 1 time in total
avatar
The Singer
Forumember

Male Posts : 251
Reputation : 2
Language : english

http://avacschat.yforum.biz

Back to top Go down

Solved Re: How to make stylist statistics

Post by SLGray on January 3rd 2017, 9:49 pm

Are you using the modern mobile theme?


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

avatar
SLGray
Administrator
Administrator

Male Posts : 39694
Reputation : 2679
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Solved Re: How to make stylist statistics

Post by The Singer on January 3rd 2017, 9:52 pm

Modern mobile theme by ange? I have two forums with simple theme and modern theme but I am wanting above statistics. Fm has same statostics too
avatar
The Singer
Forumember

Male Posts : 251
Reputation : 2
Language : english

http://avacschat.yforum.biz

Back to top Go down

Solved Re: How to make stylist statistics

Post by Valoish on January 3rd 2017, 9:57 pm

My forum doesn't have a mobile version activated. So he's browsing the default desktop version even when on Mobile. Here's a screenshot of the Stats on a desktop: http://prntscr.com/dr5f1d
avatar
Valoish
Forumember

Female Posts : 291
Reputation : 53
Language : English
Location : NYC

http://www.canvastutorials.org/

Back to top Go down

Solved Re: How to make stylist statistics

Post by The Singer on January 3rd 2017, 9:59 pm

Yes @valoish I am wanting this one
avatar
The Singer
Forumember

Male Posts : 251
Reputation : 2
Language : english

http://avacschat.yforum.biz

Back to top Go down

Solved Re: How to make stylist statistics

Post by Alamgir Hossain on January 4th 2017, 3:59 pm

i need this too
avatar
Alamgir Hossain
New Member

Male Posts : 18
Reputation : 4
Language : English
Location : Forumotion

http://forum.avacsir.com

Back to top Go down

Solved Re: How to make stylist statistics

Post by Valoish on January 4th 2017, 4:56 pm

Okay so, I found where the Statistics box was edited. Make sure you're logged into the Founder's account to do this.
1. ACP > Display > Templates > General > index_body
2. Search for <!-- BEGIN disable_viewonline -->
3. Paste the following under it:
Code:
<div id ="fa_stats">
<span class = "stat_label">{TOTAL_POSTS}></span><span>MESSAGES</span>
<span class ="stat_label">{TOTAL_USERS}></span><span>REGISTERED USERS</span>
  <span class ="stat_label">{NEWEST_USER}></span><span>NEWEST USER</span>
</div>
<style>
#fa_stats {
    background: #40b3d4;
    color: #FFF;
    font-family: Arial, Verdana, Sans-serif;
  font-size:10px;
    padding: 15px 0;
    text-align: center;
}
#online-box #fa_qeel {
    clear: both;
    margin: 0 -5px;
}
.stat_label {
    background: #F2F2F2;
    border-radius: 3px;
    color: #2E3133;
    display: inline-block;
    font-size: 0;
    margin: 0 12px 0 3%;
    padding: 6px 12px;
    vertical-align: middle;
}
.stat_label strong {
    display: inline-block;
    font-size: 14px;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
}
</style>
Then just play around with the colors until they fit the theme of your forum c:
my forum is phpBB2 though, so if it doesn't work with that coding someone will have to alter it to match phpBB3's coding
avatar
Valoish
Forumember

Female Posts : 291
Reputation : 53
Language : English
Location : NYC

http://www.canvastutorials.org/

Back to top Go down

Solved Re: How to make stylist statistics

Post by The Singer on January 4th 2017, 6:08 pm

It works but how to make background coloe black?
avatar
The Singer
Forumember

Male Posts : 251
Reputation : 2
Language : english

http://avacschat.yforum.biz

Back to top Go down

Solved Re: How to make stylist statistics

Post by Valoish on January 4th 2017, 6:44 pm

Ooh, awesome c:
In the CSS that you added in along with the code, find #fa_stats, and changebackground: #40b3d4; tobackground: #000;
avatar
Valoish
Forumember

Female Posts : 291
Reputation : 53
Language : English
Location : NYC

http://www.canvastutorials.org/

Back to top Go down

Solved Re: How to make stylist statistics

Post by The Singer on January 4th 2017, 7:18 pm

Ok thanks solved
avatar
The Singer
Forumember

Male Posts : 251
Reputation : 2
Language : english

http://avacschat.yforum.biz

Back to top Go down

Solved Re: How to make stylist statistics

Post by Valoish on January 4th 2017, 7:37 pm

Awesome ^^ Please don't forget to edit your first post and add the little green "Solved" icon so the staff knows to archive this thread~
avatar
Valoish
Forumember

Female Posts : 291
Reputation : 53
Language : English
Location : NYC

http://www.canvastutorials.org/

Back to top Go down

Solved Re: How to make stylist statistics

Post by SLGray on January 4th 2017, 10:09 pm

Problem solved & topic archived.
Please read our forum rules: ESF General Rules


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

avatar
SLGray
Administrator
Administrator

Male Posts : 39694
Reputation : 2679
Language : English
Location : United States

https://fmthemes.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