إنضمامك إلي منتديات استراحات زايد يحقق لك معرفة كل ماهو جديد في عالم الانترنت ...

انضم الينا
استراحات زايد الصفحة الرئيسية

         :: اكل الزبيب في المنام (آخر رد :نوران نور)       :: تفسير حلم الغنم (آخر رد :نوران نور)       :: تطور صناعة العطور (آخر رد :اسماعيل رضا)       :: اصول الدين (آخر رد :اسماعيل رضا)       :: الأمور المركزية في تعليم التجويد (آخر رد :اسماعيل رضا)       :: تفسير حلم خنق شخص حتى الموت (آخر رد :نوران نور)       :: الإطار الدولي لمقررات بازل 5 أيام 11/08/2024 الدمام دبي (آخر رد :ملتقى الخبرات)       :: برامج الرشاقة السعيدة (آخر رد :دارين الدوسري)       :: تسوق بأناقة وراحة: اكتشف مزايا نكست مول في قلب العبور (آخر رد :shaimaamohamed)       :: استثمار مضمون في كمبوند نمق: الراحة والتميز في قلب الشيخ زايد (آخر رد :shaimaamohamed)      

إضافة رد
 
LinkBack أدوات الموضوع انواع عرض الموضوع
  #1  
قديم 05-20-2009, 11:30 AM
عضو ماسي
بيانات محروم.كوم
 رقم العضوية : 503
 تاريخ التسجيل : Dec 2007
الجنس : female
علم الدوله :
 المشاركات : 2,100,611
عدد الـنقاط :3341
 تقييم المستوى : 2139

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__
رد مع اقتباس
إضافة رد

مواقع النشر (المفضلة)


تعليمات المشاركة
لا تستطيع إضافة مواضيع جديدة
لا تستطيع الرد على المواضيع
لا تستطيع إرفاق ملفات
لا تستطيع تعديل مشاركاتك

BB code is متاحة
كود [IMG] متاحة
كود HTML معطلة
Trackbacks are متاحة
Pingbacks are متاحة
Refbacks are متاحة


المواضيع المتشابهه
الموضوع كاتب الموضوع المنتدى مشاركات آخر مشاركة
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


الساعة الآن 02:12 PM


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.5.2 TranZ By Almuhajir

RSS RSS 2.0 XML MAP HTML