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

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

         :: تالقي مع اجمل فساتين وعبايات وجلابيات بالمملكة (آخر رد :رودى طه)       :: اخصائية مساج الخبر منزلى 0533972744 (آخر رد :رودى طه)       :: massage in riyadh (آخر رد :رودى طه)       :: افضل دكتور حقن مجهري (آخر رد :elzwawy)       :: اخصائية مساج الدمام للرجال 0533972744 (آخر رد :رودى طه)       :: اخصائية مساج بالرياض للرجال562558590 (آخر رد :رودى طه)       :: افضل انواع ستاند جوال للتصوير,افضل نوع ستاند جوال للتصوير,ارخص اسعار ستاند جوال (آخر رد :بوابة الصين العربية)       :: تصاميم مظلات برجولات وجلسات خارجية في الرياض 0563866945 (آخر رد :ksa ads)       :: مساج منزلى مكة 0562558590 (آخر رد :رودى طه)       :: مساج منزلي جازان وابوعريش 0562558590 (آخر رد :رودى طه)      

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

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


الساعة الآن 03:23 AM


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

RSS RSS 2.0 XML MAP HTML