![]() |
Is there anyway I could make this appear as either the users avatar or in their signatures by default ?
|
1 Attachment(s)
Working perfectly in Posts but I cant get it working in Profiles...
Ive been trying to get this working in the profile popup and on the profile page. Has anyone figured out the correct code. I can get it to show but it always defaults to the US. This is the edited code. I changed (post) to (bbuserinfo) to get it to show but like I said its not working correctly. Code:
<dl class="stats"> Also I resized all the images to only 10px tall if you want to show the flag but keep the image small. Took forever but here's the zipped file... |
I have vb 4.1.5 and this mod not working. I cannot see anything in my profile. Help??
|
Quote:
What is your forum address? PM it to me or put it on here. If you would like me to take a look for you, you would have to set up a temporary admin account with admin permissions and I can sort it out for you. (PM me the details, if you would like to do that). |
Welshy2008 did a whole job for me. Thank you. Really appreciate this. vbulletin version 4.1.5 and it's working now perfect. Amazing mod. nominated for MOTM.
|
Anyone have a way to do this in profiles? See my post above, thanks...
|
Any chance to do state flags also for US people?
Nelson |
@ALLTHMBZ.
Easy. Just get your flags (try famfamfa or some other free icon pack) rename them to whatever your option is in the profile and follow the same steps. So as an example if your option in your profile field is California then your matching flag would be California.gif |
Working fine on 4.1.8
|
working in vb 4.1.4 .. Note that you should place flags in styles > yourstyle > images >flags
|
Nice MOD, thanks
Some flags have changed!!!! |
Having the hardest time getting this to show up
Code:
<!-- Wy Country Flags Start --> |
Quote:
I see that your board is closed at present. If you want to set up a temp Admin account with permissions and PM me the details, I will have a look for you and get it up and running for you. Welshy2008. |
Does it work on 4.1.8?
|
Im having a prob.Im using 4.18.Instead of seeing my country flag in my profile i just see me country name in txt format,no images.Any ideas pls
|
@ Mariner1,
Country name in English must be, or rename the file flags. Look OPTIONS.txt Work with vb4.1.8 Thanks :) |
Quote:
Works great on my site. |
Ive copied and pasted the countries from the option txt when i was setting it up.When i choose my country in profile it just says UK,no images
|
@ Mariner1,
Quote:
If, for example Country Flag = field5 Code:
<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> |
I have done that 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 --> |
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). |
Marina.
I have just tired checking your forum - but it is showing that it cannot be displayed. This is the correct one, yes?: http://thatsentertainmentuk.co.uk/forum.php Sounds like your issue is the same as that described in by two posts above this one. Let me know if that helps. |
Also, If anyone would like me to have a look and get it working on their forum, please set up a temporary admin account with admin permissions and PM me the details.
I will then sort it out for you. |
My site is using vb 4.1.3 and I used Krusty's code. Here are some snap shots of what I did. I have a big red X for the picture. My forum was set up by someone else. My directory to the flag.gifs is aspenandvolare/images/buttons/flags. I am sure its not finding the flag.gifs and is giving me the red x.
https://vborg.vbsupport.ru/external/2011/12/9.gif https://vborg.vbsupport.ru/external/2011/12/10.gif https://vborg.vbsupport.ru/external/2011/12/11.gif |
I do not see on your serwer "United States.GIF" flag
Code:
http://www.aspenandvolare.com/images/buttons/flags/United%20States.GIF Code:
http://www.aspenandvolare.com/images/avatars/1979volarecustom.jpg Edit:// Now working Country Flags on http://www.aspenandvolare.com :) |
Quote:
|
Quote:
|
Sent you a pm too :)
|
Quote:
I have fixed this mate so you can disragard the PM |
Id like to thank Welshy2008 for fixing the problem ive had.He fixed it in minutes.
Thanks again bud,really appreciate your help |
I put the same code into the postbits for two other sytles I have and I get the big red x on those sytles. It works fine on vb4 default sytles. I would also like to know where to install the code on postbit legacy in case I want to switch my forum over to that someday. If you go to my site you can see that I am using what I believe to be postbit legacy but the template I added the code to was postbit.
https://vborg.vbsupport.ru/external/2011/12/8.gif |
All times are GMT. The time now is 02:58 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:
|