Support Forum
This is a two part questions, I am attaching a screenshot for illustration:
1. We're running an ecourse site teaching blogging and social media and students are wondering why none of the ID's are clickable. I am curious too since having them listed as plain text is a bit odd. Would it be possible to change that? I don't mind a bit of hacking if provided with the code.
2. I created two additional identities, Instagram and Pinterest, both of which are used by all our students (I think they should be standard identities in S:P). How do I add them to the profile at the position noted (or right above email)? I know they show up under a user's name when they comment in the forum but that's less useful than having them on the actual profile. Again, happy to add any coding necessary.
#2 please read our codex: https://simple-press.com/docum.....le-fields/ it gives you some instruction on how to add a display template function in your sp theme profile (popup or page) page view...
#1 kind of a wimpy answer, but they are not links because no one has ever asked or requested such a thing... so they have been text display for the last 11 years or so but they are just IDs... but of course could be linked to a site...
if you are comfortable with standard wp filters, you could link them yourself... take twitter, for example... hook into 'sph_ProfileShowTwitter'... then change the p block display to be an html tag... you would of course have to know the base url to use...
if you are comfortable with filters, we can provide some additional info...
Visit Cruise Talk Central and Mr Papa's World
#2, that codex is for the Custom profile Fields plugin. However, Pinterest and Instagram were created using Add User Identities. I did give it a try though and it didn't work. I can add my custom profile field without a hitch, but it doesn't work if I use the identities as parameters, unless I am missing something?
#1 any additional info would be great, I am sure I can figure it out.
ah, sorry, missed the part about it being an additional identity... surprisingly, there is no simple template tag way to put it in the profile... perhaps more surprisingly, is that this has not come up before or been requested...
If you tag a look at the function sp_do_PostIndexIdentityDisplay() with the plugin, I think you can make out how to grab the identity info... and then display it... biggest issue might be making it display properly on the profile... in that case, you could look at the custom profile display tag for profiles on the formatting...
I have to work late tonight and @yellow-swordfish has been under the weather... but this weekend, I should be able to whip up a new function for you to display them in a profile... perhaps can even add it to the plugin and push out since we already have an update to do for the php 7 issue...
Visit Cruise Talk Central and Mr Papa's World
1 Guest(s)