- Posts: 7
- Thank you received: 0
OS Property support center
SOLVED!!! -- alias error
- Herb Trevathan
-
Topic Author
- Offline
- New Member
-
Less
More
10 years 5 months ago - 10 years 5 months ago #59737
by Herb Trevathan
SOLVED!!! -- alias error was created by Herb Trevathan
when users reguster on the front end, the alias created is
--
two dashes...this does not resolve. If I go under manage agents, I can easily see who has alias (--) and then simply delete the alias field, save the profile and it will generate a correct alias of [firstname]-[lastname]
how can I fix the issue of the alias of -- being created, or where is the alias built in the code?
--
two dashes...this does not resolve. If I go under manage agents, I can easily see who has alias (--) and then simply delete the alias field, save the profile and it will generate a correct alias of [firstname]-[lastname]
how can I fix the issue of the alias of -- being created, or where is the alias built in the code?
Last edit: 10 years 5 months ago by Dang Thuc Dam.
Please Log in or Create an account to join the conversation.
- Dang Thuc Dam
-
- Online
- Administrator
-
Less
More
- Posts: 13248
- Thank you received: 1729
10 years 5 months ago #59760
by Dang Thuc Dam
Replied by Dang Thuc Dam on topic -- alias error
Hi Herb,
To solve the problem, please follow these steps
1. Open file: components > com_osproperty > classes > agent.php
2. find
$agent->name = $user->name;
and add this line bellow
$agent->alias = strtolower(str_replace(" ","",$agent->name));
The issue will be solved
Thanks
Dam
To solve the problem, please follow these steps
1. Open file: components > com_osproperty > classes > agent.php
2. find
$agent->name = $user->name;
and add this line bellow
$agent->alias = strtolower(str_replace(" ","",$agent->name));
The issue will be solved
Thanks
Dam
The following user(s) said Thank You: Herb Trevathan
Please Log in or Create an account to join the conversation.
- Herb Trevathan
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 7
- Thank you received: 0
10 years 5 months ago #59771
by Herb Trevathan
Replied by Herb Trevathan on topic -- alias error
Dam,
This is awesome!!
Much Appreciation for this fix : )
-Herb
This is awesome!!
Much Appreciation for this fix : )
-Herb
Please Log in or Create an account to join the conversation.
Moderators: Dang Thuc Dam, Nguyen Phu Quan
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.