New messages Members Forum rules Search
  • Page 1 of 2
  • 1
  • 2
  • »
uCoz Support Forum by uCozers » General » Suggestions to Improve forum » Add a Statistics section on the bottom of the uCozers forum (sml[answered])
Add a Statistics section on the bottom of the uCozers forum
BadBoyDate: Monday, 2009 September 14, 1:49 AM | Message # 1
Font size: A | A |
Lieutenant
Group: uCozer
Message: 74
[ ]
Offline
i like the way they did the statistics forum in this forum (http://game-network.ucoz.net/forum/)
where they give Recent Posts, Most Popular Threads, Top Users, and New Users

it would be really nice if you guys added this kind of feature in your forum
and also added an tutorial showing users how to do it.

 
kostovaDate: Monday, 2009 September 14, 5:43 AM | Message # 2
Font size: A | A |
Colonel
Group: Administrator
Message: 268
[ ]
Offline
First code goes in your main forum page and/or any other forum pages:
*imperative that you put the inline stylesheet inside your css.
Code
<style type="text/css">
div#forumstatistics {display:block;white-space:nowrap;text-align:center;overflow:hidden;}
div.section {width:25%;background:#333333;float:left;text-align:left;overflow:hidden;}
div.section h4 {padding:5px;background:#000;color:#fff;text-align:left;}
div.section div {padding:5px;display:block;} div.section div img {vertical-align:middle;}
</style>
<div id="forumstatistics">
<div class="section">
<h4>Recent Posts</h4>
$MY_INF1$
</div>
<div class="section">
<h4>Popular Threads</h4>
$MY_INF2$
</div>
<div class="section">
<h4>Most Active Users</h4>
$MY_INF3$
</div>
<div class="section">
<h4>Newest Users</h4>
$MY_INF4$
</div>
<div style="clear:both;"></div>
</div>

the informers are just 1-4, so if you have any existing informers, change the number to correspond with the pop/rec/new/active informers you will be creating.

Popular/Recent Forum Informer:

Code
<div><img src="yourimage.jpg"/><a href="$THREAD_URL$">$THREAD_TITLE$</a> <span>($REPLIES$)</span></div>
Last Updated Threads and Most Popular (self-explanatory)

Newest/Most Active Users Informer:

Code
<div><img src="yourimage.jpg"/><a href="$PROFILE_URL$">$USERNAME$</a></div>
Registration Date D for Newest Users
Num. Of Forum Posts for Most Active

The <img src= yourimage.jpg /> is any list-style type image you want. Replacing the semantically correct li tag. Allows you to easily change those to whatever image you want without having to look through your css.

Note: I haven't tested this personally to resolve all the padding issues and/or floating issues. This was done extemporaneously, with issues such as fixed and fluid widths, which are not apart of my coding. I don't use tables, in other words.

 
BrazenDate: Monday, 2009 September 14, 5:45 AM | Message # 3
Font size: A | A |
Colonel
Group: Administrator
Message: 304
[ ]
Offline
heysupp, Put your tutorial into new thread and just link it here into this thread.

LOL With Us! l Game Blog l 3D Autos

"knowledge without wisdom is curse" Alex Seb

 
kostovaDate: Monday, 2009 September 14, 5:51 AM | Message # 4
Font size: A | A |
Colonel
Group: Administrator
Message: 268
[ ]
Offline
I'll do it later. When I've properly tested it, not to say it's not good as is.
 
jackassDate: Monday, 2009 September 14, 5:39 PM | Message # 5
Font size: A | A |
Major general
Group: Administrator
Message: 433
[ ]
Offline
BadBoy, we are planing to move to another site, it's still secret, but later you will be informed, so we are not planing any new features here, if the new project will work wink

 
BadBoyDate: Tuesday, 2009 September 15, 0:50 AM | Message # 6
Font size: A | A |
Lieutenant
Group: uCozer
Message: 74
[ ]
Offline
idk i like this forum it is perfect i rather stay in here
why you guys want to move in the first place???
 
jackassDate: Tuesday, 2009 September 15, 1:18 AM | Message # 7
Font size: A | A |
Major general
Group: Administrator
Message: 433
[ ]
Offline
Because of someone and his annoying rules!
We all the time must think what we are posting, we need freedom wink
We will go to phpBB it's much better!


 
BadBoyDate: Tuesday, 2009 September 15, 1:35 AM | Message # 8
Font size: A | A |
Lieutenant
Group: uCozer
Message: 74
[ ]
Offline
if you guys will move can i be admin on this forum??

Edited ByBadBoy - Tuesday, 2009 September 15, 1:36 AM
 
jackassDate: Tuesday, 2009 September 15, 2:14 AM | Message # 9
Font size: A | A |
Major general
Group: Administrator
Message: 433
[ ]
Offline
Well you can be moderator, but I don't think I can give you admin from begining

 
kostovaDate: Tuesday, 2009 September 15, 7:05 AM | Message # 10
Font size: A | A |
Colonel
Group: Administrator
Message: 268
[ ]
Offline
Jackass, do you own your own domain?
You could probably do a redirect to your new forum using the Common Settings in this forum.


Edited Byheysupp - Tuesday, 2009 September 15, 9:15 AM
 
BadBoyDate: Tuesday, 2009 September 15, 8:01 AM | Message # 11
Font size: A | A |
Lieutenant
Group: uCozer
Message: 74
[ ]
Offline
jackass, ok promote me to moderator.
 
jackassDate: Tuesday, 2009 September 15, 5:50 PM | Message # 12
Font size: A | A |
Major general
Group: Administrator
Message: 433
[ ]
Offline
heysupp, no, its free like uCoz, but it's possible to bay one, and there is hosting plan for $3 per month, we will think about it later smile

 
Miss_StephxxDate: Tuesday, 2009 September 15, 7:49 PM | Message # 13
Font size: A | A |
Lieutenant
Group: uCozer
Message: 56
[ ]
Offline
heysupp, why u make it so hard its alot easyer i gonna make a turotial today

Added (2009-09-15, 7:49 Pm)
---------------------------------------------
BadBoy, i'm done http://ucozers.ucoz.com/forum/10-259-1




Edited ByMiss_Stephxx - Tuesday, 2009 September 15, 7:40 PM
 
kostovaDate: Tuesday, 2009 September 15, 9:52 PM | Message # 14
Font size: A | A |
Colonel
Group: Administrator
Message: 268
[ ]
Offline
Miss_Stephxx, If you read my tutorial, then you would of caught the "I don't use tables". Which are the semantically correct way to do things, rather than the bulk of tables and the misuse of li tag which I believe cuts down on load times significantly.

The only thing that makes it seem hard is my inline stylesheet, which I stated you put inside your real stylesheet. Other than that, it is the exact same thing as yours, with the exception of you using table > tr > td - td > tr > td - td > tr + style="padding:0...well you get the point. Just the tediousness of tables and separate tag styling makes me sick. It seems to me that mine was actually shorter, but that's just me. tongue

By the way, my first visit to the new forums, and the new forum redirected me to a "Suspected Attack on my Computer". I also host elsewhere than Ucoz and can easily create a PhpBB forum or SMF Forum for you, and has better security, but that would severely douse my disk space usage.
edit: Now it's saying "Reported Web Forgery".

Edited Byheysupp - Tuesday, 2009 September 15, 10:03 PM
 
jackassDate: Tuesday, 2009 September 15, 10:03 PM | Message # 15
Font size: A | A |
Major general
Group: Administrator
Message: 433
[ ]
Offline
heysupp, it works fine for my, try again wink

 
uCoz Support Forum by uCozers » General » Suggestions to Improve forum » Add a Statistics section on the bottom of the uCozers forum (sml[answered])
  • Page 1 of 2
  • 1
  • 2
  • »
Search:


Copyrights uCozers 2009 - 2019 To TOP
Refresh Smileys Manager