![]() |
Hi,
please can you help me with country flags. I have 4.1.8 version. I added everything in postbit template to show me flag after posts, but image not showing only name of the country. Thanks |
@ Mariner1,
You have YOURFORUM_ADDRESS.com/forum/images/buttons/flags/UK.GIF |
Ok where do i add forum address in this pls
<!-- Wy Country Flags Start --> <vb:if condition="$post['field5']"><style="text-align:left"> Country:</dt> <img src="{vb:stylevar imgdir_button}/flags/{vb:raw post.field5}.GIF" align="middle" alt="{vb:raw post.field5}" border="" /></vb:if> <!-- Wy Flags End --> |
It's ok for vb4.1.8
img src="{vb:stylevar imgdir_button}/flags/{vb:raw post.fieldX}.GIF" for vb4.0.7 img src="http://www.YOURFORUM ADDRESS.com/forum/images/buttons/flags/{vb:raw post.fieldX}.GIF" |
Sorry about this,im totally confused now.
img src="{vb:stylevar imgdir_button}/flags/{vb:raw post.fieldX}.GIF" This line of code is there already <!-- Wy Country Flags Start --> <vb:if condition="$post['field5']"><style="text-align:left"> Country:</dt> <img src="{vb:stylevar imgdir_button}/flags/{vb:raw post.field5}.GIF" align="middle" alt="{vb:raw post.field5}" border="" /></vb:if> <!-- Wy Flags End --> |
Quote:
May b i am wrong but i have a feeling that you have wrong "user profile field" number just double check by going in your admincp and see if its the same field that you have created. |
Just double checked and the field number is right.
|
@ Mariner1,
Give address YOURFORUM. |
Quote:
Hi, You have the wrong route to your flags folder. You have: http://www.imspot.org/images/styles/ColorTheory/buttons/flags/{vb:raw post.field5}.GIF It should be: http://www.imspot.org/images/buttons/flags/{vb:raw post.field5}.GIF Let me know how you get on. |
Please remember Guys and Girls,
It makes no difference if you have different styles. You just need the one route to your flags. For an example of this - please see the help for the member above. (How it was in Red bold text - and how it should be in green bold text). |
All times are GMT. The time now is 08:10 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:
|