CMS MADE SIMPLE FORGE

CGUserDirectory

 

[#5448] Option to change the detail url structure

avatar
Created By: Alane Cole (curlypinky)
Date Submitted: 2010-09-18 19:42

Assigned To: Robert Campbell (calguy1000)
Resolution: None
State: Open
Summary:
Option to change the detail url structure
Detailed Description:
I am using CGUserDirectory for a roller derby team site. We will have the public
roster which just has some of their FEU profile information for the public. Our
private directory will feature expand information.

In FEU the usernames are their email addresses. We don't want to have our email
addresses available for the public so the public summary template does not
feature the username. BUT with pretty urls the detail url is using their
username as the  part of the url. So the email address username is pretty
evident in it:
/users/[id]/[page]/[username].html

It would be awesome to be able to specify which field to use as the final
filename in the url.

For now I found in action.default.php line 395 I can change it to 
$prettyurl .= '/'.munge_string_to_url($data[$i]['id']);
So the detail url only features the userid number.

Thanks!
Alane

History

Comments
avatar
Date: 2011-03-09 05:02
Posted By: nic mare (nicmare)

vote!
      
Updates

Updated: 2010-09-18 19:43
description: I am using CGUserDirectory for a roller derby team site. We will have the public roster which just has some of their FEU profile information for the public. Our private directory will feature expand information. In FEU the usernames are their email ad => I am using CGUserDirectory for a roller derby team site. We will have the public roster which just has some of their FEU profile information for the public. Our private directory will feature expand information. In FEU the usernames are their email ad
resolution_id: => 5