2008-02-02, 10:16 PM
Hey guys, ZiNga BuRgA created a topics started (threads started) column on the member list for me but I can't sort by that column because I don't know the code.
Here's the original:
I've tried to find where mybb stores the variables needed for these sort options but can't find where to start. I've been able to add the option for search by topic by adding this is the dropdown box at the bottom of the member list page:
Can someone point me in the direction of where to find the database query's or the variables from these querys?
Here's the original:
<option value="regdate"{$regdatesel}>{$lang->sort_regdate}</option>
<option value="username"{$usernamesel}>{$lang->sort_username}</option>
<option value="postnum"{$postnumsel}>{$lang->sort_posts}</option>
I've tried to find where mybb stores the variables needed for these sort options but can't find where to start. I've been able to add the option for search by topic by adding this is the dropdown box at the bottom of the member list page:
<option value="regdate"{$regdatesel}>{$lang->sort_regdate}</option>
<option value="username"{$usernamesel}>{$lang->sort_username}</option>
<option value="postnum"{$postnumsel}>{$lang->sort_posts}</option>
<option value="numtopics"{$users['numtopics']}>Topics</option>
Can someone point me in the direction of where to find the database query's or the variables from these querys?