Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Birman Posted January 30, 2016 Posted January 30, 2016 When creating a custom profile field, I can select Checkbox Set to allow multiple options to be selected. I'd like to know how should I edit the Display Format so that in the profile fields next to posts, only the selected options would be displayed (I'm trying to display icons based on selection). The selected options show up fine on member profiles, but that's apparently because option values are used instead of Display Format. Right now, whenever anything is selected, it will basically take whatever is in the Display Format and display as much as it possibly can. It seems to ignore any kind of php code. It was really simple to do with databases, because the display box there allows use of php in a style of {{}}, so when dealing with a multiple option parameter, I just analysed the string it created and displayed what was selected. This doesn't seem to be the case here. Since I'm trying to display icons for each selection, I also tried putting the <img> tags directly as options. It shows up perfectly when editing the setting on a profile, but it completely fails to render the image when displaying it next to content or on profile. I guess this is due to security reasons. But how can I achieve it then?
Birman Posted March 11, 2016 Author Posted March 11, 2016 Bump. Anyone? I've learned that there's some script that basically comments out any fishy HTML and removes all php for security. Is there a way to tell it that it's fine for this particular field?
Kevin 7 Posted March 11, 2016 Posted March 11, 2016 @Birman: Hey, if you don't get help here with this, please visit my webpage below or send me an email. We specializes in custom IPB support and customization services. We would love to assist you as a client. See you soon!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.