Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
The Guy Posted May 24, 2016 Posted May 24, 2016 Hello, I was trying to google on where to get a simple script to add custom fields to postbits so it appears under the Username/avatar in posts. There is a plugin on the marketplace, however it seems broken and not workable so I uninstalled it. I appreciate it if someone can point me in the right direction.
Flitterkill Posted May 24, 2016 Posted May 24, 2016 This is in the ACP. Member Settings - Profiles - Profile Fields. Add one. The settings are pretty wide open for what you can have there. Then there is a field where you can specify what shows (and how it shows) underneath avatars/names. Leave blank to not display at all (though will show on a user's profile *page*). Unless you are doing something else?
The Guy Posted May 27, 2016 Author Posted May 27, 2016 On 5/24/2016 at 3:52 PM, Flitterkill said: This is in the ACP. Member Settings - Profiles - Profile Fields. Add one. The settings are pretty wide open for what you can have there. Then there is a field where you can specify what shows (and how it shows) underneath avatars/names. Leave blank to not display at all (though will show on a user's profile *page*). Unless you are doing something else? Not quite. Mostly looking to input the custom field in this area (attached imaged.) Like we are a gaming community so I would like to see their Gamertag or squad they belong too etc. There is a plugin, however its broken.
Flitterkill Posted May 27, 2016 Posted May 27, 2016 Yeah, what I posted does that exactly. Other than the user needing to input the info on their own on their profile page that's pretty much it. Can do pretty much whatever with the field itself. And then once you enter the format for display in the yellow circled area in the second screenshot it will appear right where you pointed out in your image. The format area is also really wide open. The default text example that pre-populates the field (but isn't actually there) will kick out: Gamertag: Whatever it is they enter But you can do any css classes and ips if/then template calls or whatever you want.
The Guy Posted May 27, 2016 Author Posted May 27, 2016 Oh Okay I gotcha now. Thank you, you have been a great help. I feel kinda dumb that was in front of me the whole time.
Flitterkill Posted May 27, 2016 Posted May 27, 2016 Here's some more to give you an idea of the possibilities. A few years back on the 3x series on our gaming site all we had people do was drop in their Steam id on a custom profile field. Now, just displaying that is pretty whatever. SteamID: 1298578327347 So, instead, made a small steam icon graphic and in the display format area we entered something like this (not exact, just winging it here) <a href='www.steamcommunity.com/profiles/{content}'><img src='steamgraphic.png'></a> So then we got a link to their profile page underneath their avatar junk and so on. From there, we pushed it out to popup steam card on hover, and so on... It's pretty doable if you put a bit of time into it. Note that drop down for the field content let's you do a ton of things. Select box with you setting up some options to choose and on and on.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.