Google+

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tutorial Statistici Ipb pentru mybb
#1
1. Admin CP/Template & Themes > Template > Tema pe care o folosesti > Index Page Templates > index
Adauga dupa {$forums}

PHP Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<center>
<span class="smalltext">

<span class="stat">{$stats['numposts']}</span>
<strong>Total Posts</strong>

<span class="stat">{$stats['numthreads']}</span>
<strong>Total Threads</strong>

<span class="stat">{$stats['numusers']}</span>
<strong>Members</strong>

<span class="stat">{$stats['lastusername']}</span>
<strong>Newest Member</strong>

<span class="stat">{$mostonline['numusers']}</span>
<strong>Most Online</strong>

</span>
</center>

2. Admin CP/Mergi la tema ta > global.css > advanced mode si adauga jos:

PHP Code:
1
2
3
4
5
6
7
.stat {
   background: url(images/thead_bg.gif) repeat-x top left;
   border-radius: 5px 5px 5px 5px;
   color: #FFFFFF;
   margin-left: 15px;
   padding: 7px 14px;
}

Preview: [Image: Untitled.jpg]
Tutorial tradus de adiXM.

Sursa: mybb.com
Reply
#2
Cred că-l voi folosi şi eu, la tema pe care-o meşteresc. Mulţumesc.
Reply
#3
Poti modifica imaginea de la preview ? ca nu mai e buna ^^ .
Multumesc
Reply
#4
Gata,imeaginea de la preview a fost modificata!
It always seems impossible until its done.


Reply
#5
Cred, ca incerc si eu ... Smile Sa vad ce iese, la tema care lucrez . Smile

Multumesc pt. tutorial .
Reply
#6
frumos :d
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)