MyBB Tutorials

Clean Forum Stats

Submitted by Azzurra, , Thread ID: 8492

Thread Closed
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

#2
Very nice tutorial thank you for sharing this Smile

RE: Clean Forum Stats

#3
What about css mate ?
| A | v4hl| Addicted | Senpai | Sui | Sensei | H | fdigl |


RE: Clean Forum Stats

OP
#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

#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

OP
#6
02-08-2015, 11:55 PM
Believer Wrote:
What about css mate ?

added the css

RE: Clean Forum Stats

#7
Very nice tutorial thank you for sharing this

RE: Clean Forum Stats

#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

#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

#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)