|
إنضمامك إلي منتديات استراحات زايد يحقق لك معرفة كل ماهو جديد في عالم الانترنت ...
انضم الينا
#1
| ||
| ||
Hi vB! I am building some postbit with custom user profiles. I have the ability for a user to select their home state in their personal details. Currently their flag is then published according to the method of appending ".gif" to the value they selected in the radio buttons thus: Code: This then gives me a direct mouse over of the state name when the postbit is displayed. What I would like to do though is have the state name used for the image and in selection of the profile setting be substituted for a more rich version. Therefore I have the state: NSW and the image NSW.gif which serves up the NSW flag and when mouse over says "NSW" I would like the phrase manager to serve up the text on mousehover: "New South Wales" and I have been looking at phrase construction to do it based on the string formation of say the avatar "xs_avatar" or the online status. However I am finding that I can't work out how to get the substitution to happen according to a case of "xs_state" where xs_state="NSW" because $post[field12]="NSW"... I have been looking along the lines of: alt="$vbphrase[xs_state]" but then find that defining a custom profile field phrase of xs_state does not allow me to define the values for substitution of each option. I think I have missed a concept here and will continue to hack until someone can explain it better to me. Thanks for any support on this matter. Best regards, Will __DEFINE_LIKE_SHARE__ |
مواقع النشر (المفضلة) |
| |
المواضيع المتشابهه | ||||
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
Admin CP "Find all new phrases" button within Languajes & Phrases. | محروم.كوم | منتدى أخبار المواقع والمنتديات العربية والأجنبية | 0 | 07-09-2010 04:20 AM |
Try To Get My Head Around Permissions | محروم.كوم | منتدى أخبار المواقع والمنتديات العربية والأجنبية | 0 | 03-17-2010 06:30 PM |
Missing Labels | محروم.كوم | منتدى أخبار المواقع والمنتديات العربية والأجنبية | 0 | 10-13-2009 01:30 AM |
delete all the labels on my forum, with an SQL query | محروم.كوم | منتدى أخبار المواقع والمنتديات العربية والأجنبية | 0 | 09-09-2009 06:40 AM |
Private Messages Implement tags/labels for PMs | محروم.كوم | منتدى أخبار المواقع والمنتديات العربية والأجنبية | 0 | 06-02-2009 10:10 PM |