Trading some information for information here.
To use URL branding, just add...
#RewriteBase /
RewriteRule ^([A-Za-z0-9\_\-]+)$ http://%{HTTP_HOST}/pg/profile/$1 [R]
to your htaccess file. Now users can use "http://yourdomain.com/username" to link their profiles.
I need to know how to add a line of non linked text that says "domain.com/username" somewhere on the users profile page. How do I get the "username" part to display?
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Team Webgalli@webgalli
Team Webgalli - 0 likes
- Daemonik@Daemonik
Daemonik - 0 likes
You must log in to post replies.$username = $user->name;
echo $username;
Where $$user can be the pageowner, or logged in user. The wiki will help you more :)
Thank you.