About UserUrls
Friendly URLs for your website users. Use with NetworkIt, Peoples, Quip, Profile, and other snippets to build a social networking website or just for user profiles.
Docs: https://github.com/yoleg/UserUrls/wiki
Information
Released
June 9, 2011
Supported Database
MySQL, SQL Server
License
GPLv2
Supported Versions
2.0 - Current
Downloads
2,721
Instructions
1. (Required) Set the "uu.start" system setting to the resource id used for the user home pages (without a sub-action). So when someone visits yoursite.com/johnsmith/ (where johnsmith is an active user's username), it will show them the content of the resource you set here.
2. (Optional) Set additional sub-pages ("action") by setting the "uu.action_map" in the format id:action,id2:action2.
- Example: "21:messages,131:history".
- - So, when someone visits yoursite.com/johnsmith/history, it will show them resource #131 with userid set to (johnsmith's userid) and action set to "history"
3. On the landing pages specified above, call the following snippets uncached as needed:
- [[!UserUrls]] (helper snippet). See snippet code for available options.
- [[!uuUrl]] - Generates a URL to a UserUrl page (by default to the current page). To another user's page: [[!uuUrl? &user=`21` &action=`messages`]]. Use as output filter: [[!+userid:uuUrl=`action`]].
- [[!uuId]] - gets the UserUrl userid
- [[!uuAction]] - gets the UserUrl action
New in 0.1.3-beta
0.1.3 - Minor fixes to transport package.
0.1.2 - Initial content