MyBB Tutorials

Clean Forum Stats

Submitted by Azzurra, , Thread ID: 8492

Thread Closed
Azzurra
In Love With Aoki
Level:
0
Reputation:
19
Posts:
571
Likes:
50
Credits:
864
02-08-2015, 11:53 PM
This post was last modified: 02-08-2015, 11:58 PM by Azzurra
#1
Didnt see this

Enjoy these!
Demo
[Image: L6jHxQy.png]
Css
Code:
.boardstats > li {
display: inline-block;

margin-right: 6px;
padding: 5px 6px;
background-color: #232528;
box-shadow: 0px 0px 2px black inset;
}
Code:
<center><ul class="boardstats clearfix smalltext">

<li><span class="boardstats_text">Posts: </span><span class="boardstats_stat">{$stats['numposts']}</span></i></span></li>

<li><span class="boardstats_text">Threads: </span><span class="boardstats_stat">{$stats['numthreads']}</span></i></span></li>

<li><span class="boardstats_text">Users: </span><span class="boardstats_stat">{$stats['numusers']}</span>></span></li>

<li><span class="boardstats_text">Most online: </span><span class="boardstats_stat">{$recordcount}</span></span></li>
</li> -->

</ul>
<p><span class="boardstats_text">Please welcome our newest member, <span class="boardstats_stat">{$stats['lastusername']}</span></span></p></center>

Most online is commented out on demo.
1

RE: Clean Forum Stats

iHydra
Closed Account
Level:
0
Reputation:
3
Posts:
232
Likes:
12
Credits:
27
02-08-2015, 11:53 PM
#2
Very nice tutorial thank you for sharing this Smile

RE: Clean Forum Stats

Azzurra
In Love With Aoki
Level:
0
Reputation:
19
Posts:
571
Likes:
50
Credits:
864
OP
02-08-2015, 11:56 PM
#4
02-08-2015, 11:55 PM
Believer Wrote:
What about css mate ?

Well its really just what you decide..

Ill add what mine are if ye like

RE: Clean Forum Stats

linkzy
No pressure, no diamonds
Level:
0
Reputation:
181
Posts:
5.34K
Likes:
341
Credits:
54
02-08-2015, 11:58 PM
#5
02-08-2015, 11:56 PM
Azzurra Wrote:
02-08-2015, 11:55 PM
Believer Wrote:
What about css mate ?

Well its really just what you decide..

Ill add what mine are if ye like

Add yours. Itll be helpfull for newbies
| A | v4hl| Addicted | Senpai | Sui | Sensei | H | fdigl |


RE: Clean Forum Stats

Azzurra
In Love With Aoki
Level:
0
Reputation:
19
Posts:
571
Likes:
50
Credits:
864
OP
02-08-2015, 11:58 PM
#6
02-08-2015, 11:55 PM
Believer Wrote:
What about css mate ?

added the css

RE: Clean Forum Stats

MinecraftGo1
Closed Account
Level:
0
Reputation:
0
Posts:
45
Likes:
1
Credits:
17
03-08-2015, 07:36 PM
#7
Very nice tutorial thank you for sharing this

RE: Clean Forum Stats

Gummy
Verified Rad Pirate Dad
Supreme
Level:
4
Reputation:
60
Posts:
1.38K
Likes:
85
Credits:
44
03-08-2015, 08:30 PM
#8
You could actually be able to use this CSS/code for something else. Like if your website had
like a script for num of visitors, you could just use it like you would use this code with numthreads
and replace the values ect, and use it for something else. Thanks OP.
[Image: giphy.gif]

RE: Clean Forum Stats

Faded
Legend
Level:
21
Reputation:
215
Posts:
10.2K
Likes:
1.12K
Credits:
15K
03-08-2015, 08:32 PM
#9
03-08-2015, 08:30 PM
Gummy Wrote:
You could actually be able to use this CSS/code for something else. Like if your website had
like a script for num of visitors, you could just use it like you would use this code with numthreads
and replace the values ect, and use it for something else. Thanks OP.

You do like stating the obvious a lot.
[Image: InZ3hGx.png]

RE: Clean Forum Stats

Gummy
Verified Rad Pirate Dad
Supreme
Level:
4
Reputation:
60
Posts:
1.38K
Likes:
85
Credits:
44
03-08-2015, 08:33 PM
#10
03-08-2015, 08:32 PM
Faded Wrote:
03-08-2015, 08:30 PM
Gummy Wrote:
You could actually be able to use this CSS/code for something else. Like if your website had
like a script for num of visitors, you could just use it like you would use this code with numthreads
and replace the values ect, and use it for something else. Thanks OP.

You do like stating the obvious a lot.

Well, of course. I was just giving a decent reply, because I might actually do this for one of my websites
or my tumblr page to make it look cooler :x
[Image: giphy.gif]

Users browsing this thread: 1 Guest(s)