Warning: The author of this contribution does not provide support for it anymore.

Advanced Profile Fields Pack

Useful for linking to another member's profile? - Advanced Profile Fields Pack

Useful for linking to another member's profile?

by Littlespace » Mon Jun 26, 2017 9:33 pm

I'm wondering if this extension could be useful in linking to another user's profile? Similar to social media sites, like Facebook, that allow someone to designate who their significant other is somewhat easily.

Basically, I'm looking to do something described here:

viewtopic.php?f=496&t=2418806&p=14714396#p14714396
...just enter in their partner's username and profile URL [from the site] and it link up to display right [as a hyperlink]...Another member could easily click on that linked name to then check out that profile next ...
The idea would be to display as a clickable username, not as a link. Sort-of like a contact field currently but somehow linking to profiles on the site (and, preferably, not under the Contact Methods area of the profile).
Littlespace
Registered User
Posts: 31
Joined: Mon Aug 10, 2015 5:16 pm
Contact:

Re: Useful for linking to another member's profile?

by javiexin » Mon Jun 26, 2017 10:08 pm

Yes, it may be used, but it won't be perfect.

You may add a profile field (string) with the forum username of the significant other, editable by each user, and mark it as "individual" (a feature of this ext): that will remove it from all automatic places, and you will have to create such elements and place them in appropriate places, with the url to the profile.
There are examples in the "contrib" folder, but if you have problems, don't hesitate to ask.
Ah, I forgot: the problem is that the username is not validated, and may contain invalid users.
User avatar
javiexin
Code Contributor
Posts: 1157
Joined: Wed Oct 12, 2011 11:46 pm
Location: Madrid, Spain
Name: Javier
Contact: