
YOU CAN WIN STUFFS BY ENTERING COMPS! CLICK ON THE PICTURE!
Former:
Forum Moderator (x2), Forum Super Moderator (x4), Assistant Forum Manager,
News Reporter, Assistant News Manager, Events Organiser (x3), Competitions Staff (x2), Senior Competitions Staff,
Rare Values Reporter, Trade Expert, Senior Events Organiser (x3), Assistant Events Manager (x2)
Forum Manager, News Manager (x2), Acting HxHD Manager, HxHD Room Owner, Assistant Comps Manager , Events Manager -
Assistant General Manager (Community), Articles Manager
I've just had a read through the way the code is written, genuinely facinating. It appears that there's no specific order other than what mysql sees fit, it loads as table full of "who read what thread when" (Sorted by first thread reading), an ip address table (sorted by latest forum activity) and the users table which is sorted by the userid which is the same as the join date. Not sure what's why it's inconsistent, I guess it's just easier for whatever stuff mysql had to lookup for my particular usergroup etc. beforehand. As it happens the list randomly changed sort order for me about 10 minutes ago from "first reading" to "latest activity".
Chippiewill.
I also took a look at the source and rather than finding it genuinely fascinating I found it genuinely mortifying. Firstly due to the fact I just opened a over 2500 line file and then having to look at some shambolic mess that would be a extreme pain to have to work with. No idea how a largish software company can produce such unmanageable code.
I've just had a read through the way the code is written, genuinely facinating. It appears that there's no specific order other than what mysql sees fit, it loads as table full of "who read what thread when" (Sorted by first thread reading), an ip address table (sorted by latest forum activity) and the users table which is sorted by the userid which is the same as the join date. Not sure what's why it's inconsistent, I guess it's just easier for whatever stuff mysql had to lookup for my particular usergroup etc. beforehand. As it happens the list randomly changed sort order for me about 10 minutes ago from "first reading" to "latest activity".
Well yes, the code really should have been split up, the quality of the code is terrible. But the behavior was what I found interesting.I also took a look at the source and rather than finding it genuinely fascinating I found it genuinely mortifying. Firstly due to the fact I just opened a over 2500 line file and then having to look at some shambolic mess that would be a extreme pain to have to work with. No idea how a largish software company can produce such unmanageable code.
Chippiewill.
It does seem to be done by join date. I've had a look at various threads, stalked some people and saw the trend. Haven't see a single pattern to break it either. Although the code may not indicate it, it is done by that. So no @Bolt660; it isn't a fluke or destiny that you and Chris are positioned together.
Besides, I haven't viewed this thread first and I'm still the first on the list of this thread because I am oldest by join date.
edit: just found a thread that breaks the trend, so I guess it goes my diff. things.
Last edited by Grig; 17-11-2012 at 10:27 AM.
Former: HabboxLive Manager, Asst. HabboxLive Manager, International HabboxLive Manager, Asst. HabboxLive Manager (Int.), Asst. News Manager, Debates Leader (numerous times) and 9999 other roles, including resident boozehound
Actually, that was just temporary, haven't found a thread that broke the trend.
Former: HabboxLive Manager, Asst. HabboxLive Manager, International HabboxLive Manager, Asst. HabboxLive Manager (Int.), Asst. News Manager, Debates Leader (numerous times) and 9999 other roles, including resident boozehound
As I said, it can change from person to person, thread to thread, time period to time period for any variety of stupid reasons. All because vbulletin staff were to lazy to add an ORDER BY clause into the mysql query.
Chippiewill.
First it goes by order or who viewed it, then it seems to be join date. It's very interesting, go to a few older threads and look at the users and you see this trend. It's weird considering they put no specific order by clause![]()
Former: HabboxLive Manager, Asst. HabboxLive Manager, International HabboxLive Manager, Asst. HabboxLive Manager (Int.), Asst. News Manager, Debates Leader (numerous times) and 9999 other roles, including resident boozehound
If you don't use an ORDER BY clause it uses the default table order, but because it's using MYSQL JOIN's to join different table's together it sort of just "picks one" depending on what's most efficient.
Chippiewill.
Want to hide these adverts? Register an account for free!