![]() |
Okay, try using the plugin code:
PHP Code:
|
"House Membership: Default", I have "Ravenclaw" selected in my profile. I edited my profile to leave it blank, and the field disappeared but upon changing it to Ravenclaw again, it went to "Default" on the postbit.
|
Okay, it sounds to me that the value being stored in the variable $post['field17'] isn't what you are expecting.
|
It seems it.
I'm not sure what I may have done wrong. This is a screenshot of the profile field from the ACP. |
Okay, try this as your plugin code:
PHP Code:
|
That works perfectly, thank you. :) It seems I was in fact using the wrong method. Now the question would be on how to get it to display a different image based on the option selected on your profile.
|
Do your images have the options for field17 embedded in their URL? If so you could easily build the HTML using string concatenation. Suppose your images are stored in the folder "images/housemembership" and their filenames are composed of the options and the extension ".png". Then you would use the plugin code:
PHP Code:
|
They don't, but I'll work on that later tonight and see what I can whip up. Thank you ^^
|
Quote:
|
Quote:
I'll drop you a message in a few moments with everything. |
All times are GMT. The time now is 11:54 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|