By Jordan Weinstein on Monday, 25 July 2016
Replies 4
Likes 0
Views 1K
Votes 0
Is there any way to make a custom profile field that allows a user to to enter their Twitter name so that on their profile, the twitter name is converted to http://www.twitter.com/NAME to link directly to their stream. Perhaps a simple modification of the URL field could do this.

Jordan
Hi Jordan Weinstein,

I am sorry for the delay of this reply. Correct me if I'm wrong, do you mean you want change the url custom field to be able to append http://www.twitter.com/NAME by user only type their name (see attached images) and display it on their profile ?Actually this fall under customization . However I'll try in what you want to achieve here. Can you download the file attached and replace it in the folder:
JOOMLA_FOLDER/media/com_easysocial/apps/fields/user/widgets/profile/view.html.php
and see how it goes?
·
Monday, 25 July 2016 11:09
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

Thanks for considering this. It would be a pretty standard requirement these days.

That folder did not exist on my site. I created the folder, added the file. When creating URL field and adding the twitter name, the URL on front end simply became http://name
·
Tuesday, 26 July 2016 21:38
·
0 Likes
·
0 Votes
·
0 Comments
·
There was a folder:

media/com_easysocial/apps/fields/user/url/widgets/profile/view.html.php

Adding your file made no difference.

Instead, I edited:

media/com_easysocial/apps/fields/user/url/url.php

using the attached version.

Jordan
·
Tuesday, 26 July 2016 21:43
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Jordan Weinstein,

I am sorry for the delay of this reply. I'm sorry that I've give the wrong path earlier yes you're correct, the path is:
JOOMLA_FOLDER\media\com_easysocial\apps\fields\user\url\widgets\profile\view.html.php
I've tested this in my local seems working fine. Did your fix in attached file above achieve what you want?
·
Wednesday, 27 July 2016 16:54
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post