Jump to content
dave247

Automatically add URL prefix to Steam Username in Forum Profile

Recommended Posts

I noticed a field to enter some optional contact info on your forum profile, mainly the Steam however it's just a plain text entry field that offers little to no use or functionality.

A better and reasonably simple way to improve this would be to edit the field to automatically add the Steam community URL to before whatever it typed in the field, so say a user has created a custom URL, they could simply enter that into the field and the forum software would automatically add "https://steamcommunity.com/id/" and make it so on a user's profile page, the name would be clickable and take you directly to their Steam profile, instead of someone having to manually search for the listed name.

Depending on the forum software I know some allow and have it built in to add a URL prefix to a profile contact field, and I want to say IP Boards is one of them but it's been a long time where I can't remember for certain or have any idea what they might have changed in the meantime.

Share this post


Link to post
Share on other sites

This:

image.png

 

Results in this:

image.png

 

So I'm not sure what functionality is missing?

 

Edit:

On that note, our current implementation can't handle regular Steam IDs, so that's a downside. A user such as e.g. https://steamcommunity.com/profiles/76561197980016871 can't input 76561197980016871 in that field as it will fail, since https://steamcommunity.com/id/76561197980016871 is not valid.

Share this post


Link to post
Share on other sites

Ah sorry I missed that, though that is different (though admittedly more useful) to what I was referring to which was this section on a user's profile itself.

chrome_2020-07-12_18-53-58.png.f82e407f2f964782be8acd67779add24.png

My original suggestion was being able to click the name which would act as a URL in the same way, though as I admitted it wouldn't be as useful as it's much more likely that someone would come across a user by a post they have made, over directly visiting their profile through some other method.

Share this post


Link to post
Share on other sites

Hmm, weird -- that's the same field alright. I dunno why it doesn't get linkified on the profile page itself. I'll have to take a look at it.

I'm also reworking it a bit and adding more information about it so it's easier to fill out.

Share this post


Link to post
Share on other sites

Well, that turned out to be easy. I've changed it so it acts as a link on the profile page as well, and that it uses the Steam icon as well.

I want to add functionality for those without a custom URL set on Steam, but it seems there's no simple way of adding that functionality beyond adding an entirely separate field -- so for now I guess we'll just use the custom URL instead.

The edit profile page though has been updated to easily provide a way to be taken to the page where one can view or change the custom tag.

image.png

 

Thanks for bringing it to our attention that the Steam profile wasn't properly linkified on the profile pages 🙂

Share this post


Link to post
Share on other sites

Ah there you go, glad to see the functionality still exists even if it is a bit simplistic to what you would ideally like it to do. I'm sure you could have it do more by writing a custom script but at that point but at that point I wonder if it's really worth all that effort. 😅

Anyway glad to help even if it is just a minor thing!

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

  • Found PCGamingWiki useful? Please consider making a Donation or visiting our Patreon.
  • Similar Content

    • By Mattmattmatt
      My profile has disappeared from Age of Empires 2 and I was wondering if anyone had any advice on how to restore it. My Age of Empires profile has great sentimental value to me as it was present during some important times and changes during my life. Games helped me through some tough times and were played when I was around people who I will likely never see again. This may sound stupid, but I have heard that the AI remembers and learns from the player and consider the profile itself thus to have an imprint of some people who will probably not be seen again. I was playing Age of Empires 2 when the power cut out to my computer. When I started up Age of Empires 2 again my profile was gone. I tried starting another profile with the same name but all the progress single player campaigns were gone! Oddly enough the saved games were still present.
       
      I tried deleting the new profile and uninstalling the game with the "do not remove user related files such as saved games and maps" option on. When I reinstalled the game the profile was still gone. I looked in the folder and under the folder "learn" in Age of Empires 2 there is still a folder called matt.uh (matt being the name of my old profile). Oddly enough the new profile I have created "Matthew" has no learn file here. I hope this means that the profile is still in there somewhere and savable.
       
      I have found another age of empires 2 folder in by virtual store appdata folder but this only contains the folders "data", "learn" (which has both Matt.uh and Matthew.uh in it), "Savegame" (which is not in the other AOE2 folder), Scenario and the files "player.nfo" and "player2.hki". In the virtual store Data, learn, player.nfo and player2.hki has been last changed just after the event. I have attempted to open the non virtual store version of player.nfo and copy paste it over its virtual store version and this has resulted in "Matt" appearing in the AOE2 game but the scenario progress in single player is still lost. Both player.nfo files look like gibberish.
       
      Any help in restoring this profile, or information on where I could find this information would be greatly appreciated. If this is not possible any help in getting the old "learn" file to function for my new profile would be greatly appreciated.
       
      P.S. I use Windows 7.
  • Who's Online   0 Members, 0 Anonymous, 247 Guests (See full list)

    There are no registered users currently online

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Forum Statistics

    1,410
    Total Topics
    7,622
    Total Posts
×
×
  • Create New...