Welcome Guest [Log In] [Register]
Search Members Calendar | Rules ZB Code Index IF Code Index
ZBCode
  • Navigation
  • ZBCode
  • Coding Support
  • Code University
  • Directory Ranking
Hey, welcome to ZBCode, the premier coding forum for ZB. Here you fill find some of the best Invisionfree and Zetaboards Codes on the network! Unfortunately, you're sorta hovering around in guest mode at the moment; why not join in on the fun? Register an account and you can start accessing the wealth of resources we have available here. Enjoy your stay at ZBCode, and remember to tell all your friends about us; the more members, the more codes available. ;)

Interested in joining? Click here.


If you are already a member of ZBCode, feel free to login right here:

Username:   Password:
Locked Topic
  • Pages:
  • 1
  • 2
  • 3
Directory Ranking
Tweet Topic Started: Jul 5 2009, 05:03 PM (572 Views)
Viral Jul 5 2009, 07:58 PM Post #11


Posts:
342
Group:
Dedicated
Member
#48
Joined:
Jul 17, 2008
Coding language
PHP
Got past that problem and:

Quote:
 
I'm working on a directory system (more on the info later) but I've been working on the backend of it today (started making it about 5 hours ago). I've plugged in a few forums and stuck them all into the resource genre. Now, I have the ranking system set up to take into account average posts per member, rating (1-5) and directory hits. I've plugged in the stats for the forums from about 10 mins ago (it's not automatic yet) and the rankings and everything have been calculated. Only thing is, I'd like to know what you think about the ranking system so far. It ranks ZNB > ZBTZ but that's mainly because of the post:member ratio on ZNB is a lot higher than ZBTZ. The formula used is: ((pow(((posts+1)/(members+1)),1.2)) * (sqrt(hits)/(6-rating))+newposts)
newposts is the amount of posts in the last 24 hours

Here it is: http://zetabin.com/directory/?genre=Resource

Posted Image
Offline Profile Goto Top
 
Garath531. Jul 6 2009, 12:01 AM Post #12


Posts:
156
Group:
Dedicated
Member
#3,232
Joined:
Jun 17, 2009
I like it a lot, but I think it would be cool if you could sort it by different things (e.g. rating, members, posts, hits, etc.). So far it looks awesome.
I'm back after an unexpected hiatus. If I've forgotten about a code I was working on for you, just drop me a PM and let me know. :)
Offline Profile Goto Top
 
slayer766 Jul 6 2009, 10:22 AM Post #13
Member Avatar
Hello all

Posts:
1,653
Group:
Distinguished Coder
Member
#12
Joined:
Jul 9, 2008
Coding language
PHP
Yeah sorting would be nice, which would be easy to add, and it does look great Viral. :)
Offline Profile Goto Top
 
Dorith Jul 6 2009, 02:31 PM Post #14
Member Avatar
Has just entered the Matrix

Posts:
2,069
Group:
Former Staff
Member
#1,854
Joined:
Dec 23, 2008
You should use some system like the one Google uses, otherwise small growing forums will never get mentioned. A big board that is inactive could stay top for as long as possible then, which is unfair.

I suggest something to do with posts/day as that shows activity. Also, if possible the amount of members that login per day.

A search feature would also optimize it.
Posted Image
Posted Image
(Made emoticon using Codes Rock's Smiley Generator)
Offline Profile Goto Top
 
Viral Jul 6 2009, 02:41 PM Post #15


Posts:
342
Group:
Dedicated
Member
#48
Joined:
Jul 17, 2008
Coding language
PHP
The formula I gave earlier in the topic isn't what I used. I have also plugged in stuff like posts in the past 24 hours, new members in the past 24 hours which gives smaller boards with activity a chance. The directory now updates automatically every 24 hours (00:00 GMT) but it only updates ZetaBoards forums at the moment. I will work on the InvisionFree updater soon, but that shouldn't take too long anyway. I've also enabled sorting and of course pagination. Once the IF part is finished I will work on the user side, i.e adding your own forums checking stats of some forums etc.

Posted Image
Offline Profile Goto Top
 
Dorith Jul 6 2009, 02:48 PM Post #16
Member Avatar
Has just entered the Matrix

Posts:
2,069
Group:
Former Staff
Member
#1,854
Joined:
Dec 23, 2008
Would we need to submit our forums for these stats? Because it seems like it would use up so much bandwidth if you took all of the boards in their directory, which even then, they don't have boards that are converted and such.

Or perhaps the boards have to meet a certain amount of posts and members before obtaining stats? Or a certain amount of time online as a board plus other factors?

I just think that if you put ALL the boards for stats, it would just eat up your bandwidth unnecessarily.
Posted Image
Posted Image
(Made emoticon using Codes Rock's Smiley Generator)
Offline Profile Goto Top
 
Viral Jul 6 2009, 03:05 PM Post #17


Posts:
342
Group:
Dedicated
Member
#48
Joined:
Jul 17, 2008
Coding language
PHP
No, the forums have to be added manually, but the stats and everything are updated and added automatically after the forum has been added.

Posted Image
Offline Profile Goto Top
 
Dorith Jul 6 2009, 03:07 PM Post #18
Member Avatar
Has just entered the Matrix

Posts:
2,069
Group:
Former Staff
Member
#1,854
Joined:
Dec 23, 2008
Ahh, alright. Then the next thing I could suggest would be to make a system where they could submit their own forums to your site, to make it less work for you. All you would have to do is set some kind of system to check post count and member count and if it meets requirements, then it is automatically updated onto your site.

That could be a worthwhile thing to invest your time to make, as it can save you a lot of manual work to update the directory.
Posted Image
Posted Image
(Made emoticon using Codes Rock's Smiley Generator)
Offline Profile Goto Top
 
Viral Jul 6 2009, 03:12 PM Post #19


Posts:
342
Group:
Dedicated
Member
#48
Joined:
Jul 17, 2008
Coding language
PHP
Yep, that's what I was going to do - there's no chance of me adding all the forums my self XD .

Posted Image
Offline Profile Goto Top
 
Reid Jul 6 2009, 03:12 PM Post #20
Member Avatar
What? The land of the free? Whoever told you that was your enemy.

Posts:
1,790
Group:
Distinguished Coder
Member
#148
Joined:
Jul 20, 2008
He'd have to run the update to grab the real board stats - so there is no faking - as soon as anyone submits the board. Unless, of course, you give them a message with something similar to "your board will appear after 12:00 AM tonight..." or something like that, but then that's quite a bit of work. :P
The Resource Board
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
Go to Next Page
« Previous Topic · Code University · Next Topic »
Locked Topic
  • Pages:
  • 1
  • 2
  • 3

Track Topic · E-mail Topic Time: 7:46 PM Jul 10
Hosted for free by ZetaBoards · Privacy Policy