CMS MADE SIMPLE FORGE

CGUserDirectory

 

[#5704] Error in Pretty URL Search Result

avatar
Created By: Mitch Proulx (inyerface)
Date Submitted: Thu Nov 18 17:55:03 -0500 2010

Assigned To:
Version: 1.2.4
CMSMS Version: None
Severity: None
Resolution: Fixed
State: Closed
Summary:
Error in Pretty URL Search Result
Detailed Description:
When I have Pretty URLs activated and do a search for a property the link to the
detail page of the result looks lime this (User ID is missing)

http://domain.com/users//pageid/username/

So where you see // it should be /userid/ like this:

http://domain.com/users/userid/pageid/username/


History

Comments
avatar
Date: 2011-03-17 06:52
Posted By: nic mare (nicmare)

same problem here
      
avatar
Date: 2011-03-17 07:00
Posted By: nic mare (nicmare)

found error in action.do_search line 255:
modify:
	$parms = array();
	$parms['uid'] = $data[$i]['id'];
to:
	$params = array();
	$params['uid'] = $data[$i]['id'];
      
avatar
Date: 2011-04-05 16:22
Posted By: Micah Godbolt (micahgodbolt)

Same problem here. Search returns are missing User ID information making serach
almost useless.

Changed $parms typos, but it has no effect on User ID's.
      
avatar
Date: 2011-10-07 12:50
Posted By: Nik (NikNak)

Hi

I fixed this (I think) on line 295 of action.do_search


$prettyurl = 'users/'.$params['uid'].'/'.$detailpage;

change to

$prettyurl = 'users/'.$parms['uid'].'/'.$detailpage;



ie change params to parms

NikNak
      
avatar
Date: 2012-01-12 21:40
Posted By: Robert Campbell (calguy1000)

fixed in svn.
      
Updates

Updated: 2014-08-23 11:21
state: Open => Closed

Updated: 2012-01-12 21:40
resolution_id: => 7
cmsms_version_id: => -1