My Profile Space Forum Index My Profile Space
Development and Support of MPS
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups AlbumAlbum   RegisterRegister 
 My Profile SpaceMy Profile Space   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 MPS SearchMPS Search   MPS GroupsMPS Groups 

User-Field: Checkbox in MPS Search

 
Post new topic   Reply to topic    My Profile Space Forum Index -> v1.0.x Bugs
 View previous topic :: View next topic  
Author Message
freezer17



Joined: 02 Jul 2009
Age: 23
Posts: 2


PostPosted: Jul Thu 02, 2009 10:59 am    Post subject: User-Field: Checkbox in MPS Search Reply with quote

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
freezer17 is offline View user's profile Send private message
Betel



Joined: 11 Nov 2007
Posts: 12


PostPosted: Jul Mon 06, 2009 10:06 pm    Post subject: Reply with quote

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 is offline View user's profile Send private message Visit users myspace page
Betel



Joined: 11 Nov 2007
Posts: 12


PostPosted: Jul Tue 07, 2009 10:52 am    Post subject: Reply with quote

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 is offline View user's profile Send private message Visit users myspace page
Betel



Joined: 11 Nov 2007
Posts: 12


PostPosted: Jul Tue 07, 2009 11:04 pm    Post subject: Reply with quote

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 is offline View user's profile Send private message Visit users myspace page
Betel



Joined: 11 Nov 2007
Posts: 12


PostPosted: Jul Tue 07, 2009 11:09 pm    Post subject: Reply with quote

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
Betel is offline View user's profile Send private message Visit users myspace page
MWE_001
Site Admin


Joined: 24 Nov 2006
Age: 37
Posts: 515
Location: Illinois

PostPosted: Jul Sun 12, 2009 5:01 pm    Post subject: Reply with quote

I'll go look at mine and see if I got it as well.
_________________
http://radio.mweva.com

DJP Radio Network
Back to top
MWE_001 is offline View user's profile Send private message Visit users myspace page Visit poster's website Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    My Profile Space Forum Index -> v1.0.x Bugs All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0360s ][ Queries: 16 (0.0032s) ][ Debug on ]