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: |
| Directory Ranking | |
|---|---|
| Tweet Topic Started: Jul 5 2009, 05:03 PM (575 Views) | |
| Dorith | Jul 6 2009, 03:16 PM Post #21 |
![]()
Has just entered the Matrix
![]()
|
Or you could just get all the info from "c_mark" which could be updated every 24 hours as Viral says. That would be the easiest way. Unless someone goes out of their way to make fake post counts and mess with their site just to get on top... then I don't know what to do in that situation. |
![]() (Made emoticon using Codes Rock's Smiley Generator) | |
![]() |
|
| Viral | Jul 6 2009, 03:22 PM Post #22 |
![]()
|
Not sure what you mean reid. When someone submits the board, it will automatically add their stats without them needing to. Dorith, it checks stats with JavaScript turned off therefore whatever someone does, this will get the correct amount. |
![]() | |
![]() |
|
| Dorith | Jul 6 2009, 03:24 PM Post #23 |
![]()
Has just entered the Matrix
![]()
|
Well, seems like you've got everything under control and thought of (as usual :P) So I'll just wait to see the finished product before I go poking my head around suggestions. Heh. |
![]() (Made emoticon using Codes Rock's Smiley Generator) | |
![]() |
|
| Reid | Jul 6 2009, 03:40 PM Post #24 |
![]()
What? The land of the free? Whoever told you that was your enemy.
![]()
|
Ah, I see. Well then, every time someone would submit one it would have to grab the stats manually first or run the full update thing again. I was saying you could avoid that by putting a short waiting period. |
| The Resource Board | |
![]() |
|
| Viral | Jul 6 2009, 03:58 PM Post #25 |
![]()
|
No, the update function has a parameter where I pass the boards into, so I would only pass one board when someone adds their forum into the directory if you know what I mean. |
![]() | |
![]() |
|
| Reid | Jul 6 2009, 03:59 PM Post #26 |
![]()
What? The land of the free? Whoever told you that was your enemy.
![]()
|
Ah, neat. I assume if the parameter is some random thing (like "all" maybe) then it updates all of them? |
| The Resource Board | |
![]() |
|
| Viral | Jul 6 2009, 04:56 PM Post #27 |
![]()
|
No, I just pass it an array with the boards to update. |
![]() | |
![]() |
|
| Viral | Jul 9 2009, 08:01 AM Post #28 |
![]()
|
The directory I was working on is finally complete - bar a few layout issues such as the submenu links and stuff. This is a really advanced directory with a complex ranking system. Every 24 hours it searches every forum in the directory and grabs some stats like the forum post count, member count and the new posts and members in the past 24 hours. These statistics are used in the ranking system. On the home page you are shown 18 genres. You can navigate between the genres and you will be presented with a list of forums (in ranking order). You are able to sort them yourself, by the amount of hits, posts, members etc the forum has. Each page shows up to 10 forums. There is also a 5 star rating system which contributes to the ranking system. At the top of the website, there is a drop menu which has some top 5 lists. When you click the lists you are shown information such as the 5 forums with the highest ranking, hits etc. The main thing I want you all to know is that it is still in a beta stage. If you notice any bugs, then please post them here. Directory Add a Forum to the Directory I have already added a few forums for testing. |
![]() | |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · Code University · Next Topic » |




















7:47 PM Jul 10