|
| Author |
Message |
freezer17
Joined: 02 Jul 2009 Age: 23 Posts: 2
|
Posted: Jul Thu 02, 2009 10:59 am Post subject: User-Field: Checkbox in MPS Search |
|
|
Hey
Does anyone know how to fix this ?
in the MPS Search it has an Error with the Checkbox Fields. It has always an error with the Array, because the array is always empty... so no search with a checkbox will work... |
|
| Back to top |
|
 |
Betel
Joined: 11 Nov 2007 Posts: 12
|
Posted: Jul Mon 06, 2009 10:06 pm Post subject: |
|
|
| I can confirm this error too with the checkboxes (it works from links in the profile but not the search page). |
|
| Back to top |
|
 |
Betel
Joined: 11 Nov 2007 Posts: 12
|
Posted: Jul Tue 07, 2009 10:52 am Post subject: |
|
|
Something else I noticed is that the last login is always a bit behind (I posted about this before). For example, instead of showing mine as today it shows the last login as yesterday when I posted the above message (this is because you are using user_lastvisit instead of user_session_time so it's easy to fix).
There is also no joined date in the profile although the {JOINED} template variable is set so you can easily add it. |
|
| Back to top |
|
 |
Betel
Joined: 11 Nov 2007 Posts: 12
|
Posted: Jul Tue 07, 2009 11:04 pm Post subject: |
|
|
| Plus why doesn't the poster rank show up any more in the profile? It did in older versions..something is up with the code because the variable is in the template file. |
|
| Back to top |
|
 |
Betel
Joined: 11 Nov 2007 Posts: 12
|
Posted: Jul Tue 07, 2009 11:09 pm Post subject: |
|
|
Am I the only one spotting these obvious things?
$ranksrow isn't defined in the mps_viewprofile.php file... this code should be in there somewhere for the poster rank to work
| Code: |
$sql = "SELECT *
FROM " . RANKS_TABLE . "
ORDER BY rank_special, rank_min";
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not obtain ranks information', '', __LINE__, __FILE__, $sql);
}
while ( $row = $db->sql_fetchrow($result) )
{
$ranksrow[] = $row;
}
$db->sql_freeresult($result);
|
|
|
| Back to top |
|
 |
MWE_001 Site Admin

Joined: 24 Nov 2006 Age: 37 Posts: 515 Location: Illinois
|
Posted: Jul Sun 12, 2009 5:01 pm Post subject: |
|
|
I'll go look at mine and see if I got it as well. _________________ http://radio.mweva.com
DJP Radio Network |
|
| Back to top |
|
 |
|