PDA

View Full Version : Add-On Releases - Country Flags - Postbit & Postbit_Legacy. vB 4.0.x (Inc GO


Pages : 1 [2] 3

fuffalo
06-10-2010, 06:25 PM
FIXED! Thanks for your help!

BrightStar
06-14-2010, 08:22 PM
I've installed it and it's working fine.

How can I move the image under the moods as shown in post number 244

cheers

tygersclaw
06-15-2010, 04:19 PM
Well I installed this. Followed the install instructions implicitely, tried using combinations from vbcode to the domain name path to absolute path to...well I tried all the common options. No red X, no images, nothing.

What all did I try....well since the forum is in a subdomain I tried all the following options..

<!-- Wy Country Flags Start -->
<vb:if condition="$post['fieldX']"> <dt>Country:</dt> <img src="{vb:stylevar imgdir_button}/flags/{vb:raw post.fieldX}.GIF" alt="Users Country Flag" border="" /></vb:if>
<!-- Wy Flags End -->

<!-- Wy Country Flags Start -->
<vb:if condition="$post['field5']"> <dt>Country:</dt> <img src="http://subforum.domain.com/images/buttons/flags/{vb:raw post.field5}.GIF" alt="Users Country Flag" border="" /></vb:if>
<!-- Wy Flags End -->

<!-- Wy Country Flags Start -->
<vb:if condition="$post['field5']"> <dt>Country:</dt> <img src="http://www.domain.com/subforumfoldername/images/buttons/flags/{vb:raw post.field5}.GIF" alt="Users Country Flag" border="" /></vb:if>
<!-- Wy Flags End -->

<!-- Wy Country Flags Start -->
<vb:if condition="$post['field5']"> <dt>Country:</dt> <img src="/domains/domain.com/public_html/subforumfoldername/images/buttons/flags/{vb:raw post.field5}.GIF" alt="Users Country Flag" border="" /></vb:if>
<!-- Wy Flags End -->


When I tested the Edit Profile, I DID get the drop down of country names, but...no images.

In the instructions, it says to select "Edit Your Details" but the closest I could find was "Edit Profile" both on my board install and the vBulletin Demo board. Is "Edit Profile" what was intended in the instructions? Or should it be....??

I'd like something like this on my board, but, unless I can get it working....well it is wasted time. I have uninstalled everything but the images for now in hopes I can find a solution.

Welshy2008
06-15-2010, 05:15 PM
Can you PM me your forum URL?





Well I installed this. Followed the install instructions implicitely, tried using combinations from vbcode to the domain name path to absolute path to...well I tried all the common options. No red X, no images, nothing.

What all did I try....well since the forum is in a subdomain I tried all the following options..



When I tested the Edit Profile, I DID get the drop down of country names, but...no images.

In the instructions, it says to select "Edit Your Details" but the closest I could find was "Edit Profile" both on my board install and the vBulletin Demo board. Is "Edit Profile" what was intended in the instructions? Or should it be....??

I'd like something like this on my board, but, unless I can get it working....well it is wasted time. I have uninstalled everything but the images for now in hopes I can find a solution.

Welshy2008
06-15-2010, 05:20 PM
I've installed it and it's working fine.

How can I move the image under the moods as shown in post number 244

cheers


Move the flags Code and place it under the 'moods' code.

If you have any problems, PM Me (Is that your forum, in question, in your sig? - If so, I can't view anything as I have to be a member).

If you or anyone else would like me to personnally, please set up a temporary account with Admin permissions. And I will take a look.


Regards,
Admin.

BrightStar
06-15-2010, 06:09 PM
Welshy2008, I moved it under the location and it works absolutely fine.

Thanks a lot for putting it together as my members loved it :)

Cheers

Welshy2008
06-15-2010, 06:48 PM
Well I installed this. Followed the install instructions implicitely, tried using combinations from vbcode to the domain name path to absolute path to...well I tried all the common options. No red X, no images, nothing.

What all did I try....well since the forum is in a subdomain I tried all the following options..



When I tested the Edit Profile, I DID get the drop down of country names, but...no images.

In the instructions, it says to select "Edit Your Details" but the closest I could find was "Edit Profile" both on my board install and the vBulletin Demo board. Is "Edit Profile" what was intended in the instructions? Or should it be....??

I'd like something like this on my board, but, unless I can get it working....well it is wasted time. I have uninstalled everything but the images for now in hopes I can find a solution.

Take a look at your forum. ;)


Mike, Thanks for the update.

tygersclaw
06-15-2010, 07:50 PM
Thanks for getting it all on track Welshy!! I am sure forum members will enjoy this addition to the forum and it will be a popular feature.

Thanks again!!

Glen

BrightStar
06-18-2010, 11:24 AM
Cannot find holland flag in it...does anyone has one?

cheers

love.
06-18-2010, 03:56 PM
thnx

raja811
06-22-2010, 06:29 PM
friend how to field flaq please!!!!!

Welshy2008
06-22-2010, 06:44 PM
friend how to field flaq please!!!!!

I'm Sorry, I do not understand what you are saying. :(

papabear99
06-24-2010, 11:24 PM
Wulp I installed all as per instructions in 4.0.4PL1 and I see everything in the AdminCP but now of the Country Options show in the UserCP (including the option to edit the custom field that was added)

Any Help???

SuperTaz
06-25-2010, 02:52 AM
Very nice and working great. Thank you. :)

Welshy2008
06-25-2010, 11:22 AM
Wulp I installed all as per instructions in 4.0.4PL1 and I see everything in the AdminCP but now of the Country Options show in the UserCP (including the option to edit the custom field that was added)

Any Help???

Sorry. Are you say that you CANNOT see"the Country Options show in the UserCP (including the option to edit the custom field that was added)"?

I have tested this upto and including vB4.0.3 PL1.

I have not yet downloaded and installed the 4.0.4 Version.

Arunkumar
06-25-2010, 01:49 PM
Does this mod supports to Vbulletin 4.0.3? I have installed and done with the instructions but i am unable to see the flag. Don't know about where is the flag? I am able to see option in Edit details also. Selected my country also but not visible to me.

Welshy2008
06-25-2010, 02:24 PM
Sorry. Are you say that you CANNOT see"the Country Options show in the UserCP (including the option to edit the custom field that was added)"?

I have tested this upto and including vB4.0.3 PL1.

I have not yet downloaded and installed the 4.0.4 Version.

Does this mod supports to Vbulletin 4.0.3? I have installed and done with the instructions but i am unable to see the flag. Don't know about where is the flag? I am able to see option in Edit details also. Selected my country also but not visible to me.


Yes, it works upto and including 4.0.3. Please PM me your forum URL and I will take a look.


:)

Zombo
06-26-2010, 06:08 AM
many of your flags filenames don't correspond with the option... please rename the flags properly.

Welshy2008
06-26-2010, 01:24 PM
Does this mod supports to Vbulletin 4.0.3? I have installed and done with the instructions but i am unable to see the flag. Don't know about where is the flag? I am able to see option in Edit details also. Selected my country also but not visible to me.

I have done that for you Mate. You placed the code in your 'postbit_legacy' - You are actually using 'postbit'. :)

Arunkumar
06-26-2010, 01:47 PM
I have done that for you Mate. You placed the code in your 'postbit_legacy' - You are actually using 'postbit'. :)

Oh. That was the problem then. Thanks a lot. I am really happy for your help. You solved the problem in seconds in my forum. Great support. You are the first one which helped me here. I am glad that i found you to fix this problem and the problem has been solved by you within 24 hours. That's great.

Welshy2008
06-26-2010, 04:27 PM
many of your flags filenames don't correspond with the option... please rename the flags properly.


I have just downloaded ALL three folders and gone thorugh every one of their contents.

ALL flags contained within those folders ARE all .GIF, as they should be.

Which flags are referring to, when you say "Some"?


Welshy2008.

Welshy2008
06-26-2010, 04:29 PM
Oh. That was the problem then. Thanks a lot. I am really happy for your help. You solved the problem in seconds in my forum. Great support. You are the first one which helped me here. I am glad that i found you to fix this problem and the problem has been solved by you within 24 hours. That's great.

You are most Welcome.

Nice to see you have got the "Gender" mod working on your forum too. :)

Zombo
06-26-2010, 04:36 PM
I have just downloaded ALL three folders and gone thorugh every one of their contents.

ALL flags contained within those folders ARE all .GIF, as they should be.

Which flags are referring to, when you say "Some"?


Welshy2008.

not the fact that they are gif.

For example, your file Bosnia-Herzegovina.GIF, but the corresponding country is called Bosnia Herzegovina. Therefore if you select Bosnia Herzegovina as your country, it will look for "Bosnia Herzegovina.gif", which doesn't exist.

Same for:

Cocos -> Cocos Islands - Keelings.GIF
Curacao -> Cura?ao.GIF
Ivory Coast -> Cote D'Ivoire.GIF
Saint Kitts Nevis Anguilla -> Saint Kitts & Nevis Anguilla.GIF

etc. there are many differences.

Welshy2008
06-26-2010, 04:44 PM
I see what you mean. I shall take a look now

Welshy2008
06-26-2010, 05:24 PM
Thanks Again Zombo,

I have now updated ALL three flag folders as well as the Options Text File.

Zombo
06-26-2010, 05:32 PM
thank you very much.

BrightStar
06-26-2010, 05:46 PM
Thanks for the update.

Denmark flag is there too :D

Cheers

warezgen.com
06-29-2010, 09:24 AM
Thanks, working

Welshy2008
06-29-2010, 11:34 AM
Thanks, working

Thank You - Please can you click "Installed"?

mitch84
06-29-2010, 02:01 PM
work fine, thank you

goxy63
06-30-2010, 12:10 AM
Great job, thank you

papabear99
07-01-2010, 01:54 AM
I have a few users in 4.0.4PL1 who, when they select their country flag, it shows a link to a .gif in their posting...Any idea???

Papa Bear

Welshy2008
07-01-2010, 11:54 AM
I have a few users in 4.0.4PL1 who, when they select their country flag, it shows a link to a .gif in their posting...Any idea???

Papa Bear

Hello,

Can you either post or PM me a link to your forum, so that I can take a look Please?

Thanks.

goran424
07-06-2010, 12:22 AM
So, still no Swiss and North Ireland flags?

Welshy2008
07-06-2010, 06:55 AM
I have added the switzerland flag previously. It is in a post somewhere.

Anyway, I have added it again, it is showing in the "Screenshot" section. Just right click and "Save picture as..."

No Northern Ireland flag though.

goran424
07-06-2010, 09:34 AM
Thanks!

Claygp
07-06-2010, 06:08 PM
I'm looking for a version of this that shows a country flag based on IP address, instead of having the user select it from a dropdown. Does this exist? Is it something you might consider adding to this mod?

I have found with the dropdown version, most users thing its 'funny' to select some weird country .. and rarely do they every choose the country they are actually from. (which defeats the whole purpose of this mod)

papabear99
07-07-2010, 12:15 AM
I have had a number of Requests for a Templar Flag as well as a few other prominent societies...Any idea if you are planning on addig these types of Flags??

Papa Bear

Welshy2008
07-07-2010, 07:23 AM
I'm looking for a version of this that shows a country flag based on IP address, instead of having the user select it from a dropdown. Does this exist? Is it something you might consider adding to this mod?

I have found with the dropdown version, most users thing its 'funny' to select some weird country .. and rarely do they every choose the country they are actually from. (which defeats the whole purpose of this mod)

That would be good. Unfortunately, I am unable to do that. If you do manage to get that done, would you mind sharing it please? Or if there is anyone out there that can put that together, that would be great.

Thanks.

Welshy2008
07-07-2010, 07:26 AM
I have had a number of Requests for a Templar Flag as well as a few other prominent societies...Any idea if you are planning on addig these types of Flags??

Papa Bear

Unfortunately not, no - Sorry.

Arae
07-08-2010, 06:56 PM
This look great.

Downloaded, I'll try to install it tomorrow.

Thanks. :)

SpikeyWelsh
07-11-2010, 07:45 PM
have installed this very nicr mod

Gleedo
07-12-2010, 08:25 PM
Hi, just looking to install on 4.04 and got stuck at this point:
Which page displays this option? = Edit Your Details

The only options i have in that combo box are:
Edit Profile
Options: Log in / privacy
Options: Messaging / Notifications
Options: Thread Viewing
Optoins: Date / Time
Options: Other

No 'Edit Your Details'

:confused:

Welshy2008
07-12-2010, 09:20 PM
Hi, just looking to install on 4.04 and got stuck at this point:
Which page displays this option? = Edit Your Details

The only options i have in that combo box are:
Edit Profile
Options: Log in / privacy
Options: Messaging / Notifications
Options: Thread Viewing
Optoins: Date / Time
Options: Other

No 'Edit Your Details'

:confused:


Quite right, That option has been removed from the 4.0.4 Version. Mine is "Edit Profile" and I have just tested again and it does show on Registration too.


HTH.

Terrona
07-17-2010, 03:28 PM
It works on 4.0.5?

If it works I installed tomorrow thanks for your work.

Welshy2008
07-17-2010, 03:34 PM
It works on 4.0.5?

If it works I installed tomorrow thanks for your work.

I haven't got 4.0.5 yet - You can be the first to try it and report back here, if you want to. ;)


:D

promet
07-17-2010, 05:16 PM
tried both way could not get it to works :( cant see any flag on profile also no any info in postbit..

Welshy2008
07-17-2010, 07:31 PM
tried both way could not get it to works :( cant see any flag on profile also no any info in postbit..



What is you r forum address? Either on here or PM. :)

mitch84
07-20-2010, 09:12 AM
hi, how center flag in postbit-legacy? thank you

papabear99
07-23-2010, 01:19 AM
I had to uninstall it since it is giving and error with the Facebook Connect options for vBull under 4.0.5...Sorry

midnz
07-28-2010, 10:25 PM
Very nice on 4.0.5 ... thank-you :)

EDIT: I had to rename Palestine.GIF to Palestinian Territory.GIF for that flag to display.

Terrona
07-29-2010, 12:56 PM
A does not work in my v4.0.5

Welshy2008
07-29-2010, 01:03 PM
A does not work in my v4.0.5

What is your URL to your forum? Display here or in a PM.

Terrona
08-03-2010, 12:37 PM
<a href="http://www.paradisweb.org" target="_blank">www.paradisweb.org</a>

Welshy2008
08-03-2010, 03:47 PM
Unfortunately, I can't read or speak in Spanish. :(

Terrona
08-05-2010, 01:41 PM
Thank you for trying to help.

I use google translator, my English is not good, but I understand in the English-speaking forums.:D

J6488EEA8E90
08-09-2010, 02:06 AM
I had to uninstall it since it is giving and error with the Facebook Connect options for vBull under 4.0.5...Sorry

Experiencing the same problem with fb connect on 4.0.5

J6488EEA8E90
08-13-2010, 09:30 AM
It seems that if the required setting is removed when registering, then the flags will work with fb connect.

Welshy2008
08-13-2010, 11:26 AM
It seems that if the required setting is removed when registering, then the flags will work with fb connect.



Thank You for the update.

LordVader
08-19-2010, 11:17 AM
Thank you :)

Marked as installed on VB-4.0.6 & gave you an excellent rating :up:

Flawless installation

Keep up the good work.

Thanks again

Will. :)

Welshy2008
08-19-2010, 04:44 PM
Thank you :)

Marked as installed on VB-4.0.6 & gave you an excellent rating :up:

Flawless installation

Keep up the good work.

Thanks again

Will. :)


Thank You, Will. It is kind comments like that that makes the "ear bashing off of the Wife and Children for not seeing me", worth it.


:D

zaco
09-20-2010, 07:40 PM
Installed, but flag of Vatican is missing

Welshy2008
09-21-2010, 07:41 AM
Installed, but flag of Vatican is missing


Please find it attached below...

Teascu Dorin
09-27-2010, 01:57 PM
Nice work with the new update on alt coding.
Thanks for this!

-Dorin

Pro-eSports.com
09-27-2010, 05:36 PM
I'm using vB 4.0.7.

For some reason the images ain't showing up. I added the code to postbit as it was said in the instructions. Do I have to add it to the postbit_legacy too?
Flags are uploaded. The path is correct. I also entered the correct field ID.

<!-- Wy Country Flags Start -->
<vb:if condition="$post['field19']"> <dt>Country</dt> <img src="http://www.pro-esports.com/forums/images/buttons/flags/{vb:raw post.field19}.GIF" alt="This is {vb:raw post.username}'s Country Flag" border="" /></vb:if></p>
<!-- Wy Flags End -->

motorola
09-27-2010, 06:08 PM
Same issue for me in 4.0.7

CharlieDelta
09-30-2010, 01:50 AM
<!-- Wy Country Flags Start -->
<vb:if condition="$post['fieldX']"> <dt>Country</dt> <img src="http://www.YOURFORUM ADDRESS.com/forum/images/buttons/{vb:raw post.fieldX}.GIF" alt="This is {vb:raw post.username}'s Country Flag" border="" /></vb:if></p>
<!-- Wy Flags End -->

Hey Welshy I think you are missing /flags after /buttons. I could be wrong.
Charlie

shanef
09-30-2010, 02:58 AM
<!-- Wy Country Flags Start -->
<vb:if condition="$post['fieldX']"> <dt>Country</dt> <img src="http://www.YOURFORUM ADDRESS.com/forum/images/buttons/{vb:raw post.fieldX}.GIF" alt="This is {vb:raw post.username}'s Country Flag" border="" /></vb:if></p>
<!-- Wy Flags End -->

Hey Welshy I think you are missing /flags after /buttons. I could be wrong.
Charlie

That's all I had to do to make it work in 4.0.7

Thanks Charlie

Welshy2008
09-30-2010, 08:03 AM
<!-- Wy Country Flags Start -->
<vb:if condition="$post['fieldX']"> <dt>Country</dt> <img src="http://www.YOURFORUM ADDRESS.com/forum/images/buttons/{vb:raw post.fieldX}.GIF" alt="This is {vb:raw post.username}'s Country Flag" border="" /></vb:if></p>
<!-- Wy Flags End -->

Hey Welshy I think you are missing /flags after /buttons. I could be wrong.
Charlie

Thank you CharlieDelta, I have now corrected that, and it is working, as confirmed by Shanef. :)


I can also confirn that this mod is working in vB4.0.7 too. :D

Pro-eSports.com
09-30-2010, 11:52 AM
You also forget the : after "Country" and the space. You also have to move the </dt> to another place in order to have the flag show up on the right side of the country field, otherwize it will be displayed below.

<!-- Wy Country Flags Start -->
<vb:if condition="$post['fieldX']"> <dt>Country:&nbsp;<img src="http://www.YOURFORUM ADDRESS.com/forum/images/buttons/flags/{vb:raw post.fieldX}.GIF" alt="This is {vb:raw post.username}'s Country Flag" border="" /></dt></vb:if></p>
<!-- Wy Flags End -->

That's the code I'm using to have it like in your screenshot.

Welshy2008
09-30-2010, 02:12 PM
You also forget the : after "Country" and the space. .

I don't need them in vB4.0.6 and 4.0.7 or it will show like:

Country::

On postbit, I don't need to add the space, because the flags shows to the right, with the correct spaces anyway.

The following is what I have and it works great:

<!-- Wy Country Flags Start -->
<vb:if condition="$post['fieldX']"> <dt>Country</dt> <img src="http://www.myforumaddress.com/forum/images/buttons/flags{vb:raw post.fieldX}.GIF" alt="This is {vb:raw post.username}'s Country Flag" border="" /></vb:if></p>
<!-- Wy Flags End -->

Attachment below, is what it looks like:

Pro-eSports.com
09-30-2010, 11:09 PM
I had your code too but the flag was below country and the : was missing for some reason. But whatever, it's working for us. :P

Is there a way to display the flag in the profile too? Mine isn't showiung up there, only in the postbit.

B?rger_von_Rado
10-14-2010, 11:04 AM
nice work! Thanks!

Pro-eSports.com
10-14-2010, 02:37 PM
I had your code too but the flag was below country and the : was missing for some reason. But whatever, it's working for us. :P

Is there a way to display the flag in the profile too? Mine isn't showiung up there, only in the postbit.

Bump!

Also, how can I get a border around the country flag profile field in the postbit legacy?
And how can I move the field up and down? I would like to have it below the location field.

elkomander
11-10-2010, 12:28 AM
is this working for 4.0.8? i try it on mu forum and the image don't show up

mitch84
11-10-2010, 04:25 AM
is this working for 4.0.8? i try it on mu forum and the image don't show upyes, work fine on vb4.0.8

Krusty1231
11-10-2010, 09:55 AM
Bump!

Also, how can I get a border around the country flag profile field in the postbit legacy?
And how can I move the field up and down? I would like to have it below the location field.

This is the one I used - https://vborg.vbsupport.ru/showthread.php?t=236953&highlight=postbit+legacy

It works great on all my skins downloaded from here.

Hope it works for you!

xug
11-11-2010, 04:38 PM
Thanks, Installed, how to make a flag or can somebody make me a flag in this format for Transylvania!!

wmguk
11-19-2010, 09:30 AM
Hi Guys,

I'm using vb 4.0.8

I've uploaded all the flags - created a profile field called Country Flag and its field 44

added this to the postbit template


<!-- Wy Country Flags Start -->
<vb:if condition="$post['field44']"> <dt>Country</dt> <img src="http://www.digital-car.co.uk/forum/images/buttons/flags/{vb:raw post.field44}.GIF" alt="This is {vb:raw post.username}'s Country Flag" border="0" /></vb:if></p>
<!-- Wy Flags End -->


Tested http://www.digital-car.co.uk/forum/images/buttons/flags/UK.GIF shows up, which it does, however on the forums, its not there...

What did I do wrong?

Welshy2008
11-19-2010, 09:51 AM
Hi Guys,

I'm using vb 4.0.8




Ah, that would be it then. I don't have 4.0.8 to test it.

I would be happy to have a look at yours if you would be happy to make a temporary account with temporary admin permissions for me.

PM the details if you are happy to do it.

Regards,
Welshy2008.

Gav-n-Tn
11-19-2010, 08:02 PM
Hi Guys,

I'm using vb 4.0.8

I've uploaded all the flags - created a profile field called Country Flag and its field 44

added this to the postbit template


<!-- Wy Country Flags Start -->
<vb:if condition="$post['field44']"> <dt>Country</dt> <img src="http://www.digital-car.co.uk/forum/images/buttons/flags/{vb:raw post.field44}.GIF" alt="This is {vb:raw post.username}'s Country Flag" border="0" /></vb:if></p>
<!-- Wy Flags End -->


Tested http://www.digital-car.co.uk/forum/images/buttons/flags/UK.GIF shows up, which it does, however on the forums, its not there...

What did I do wrong?

Same for me. The coding must be different for 4.0.8 . The ones that had it on 4.0.6 or .7 and upgraded to 8, it probably converted the templates automatically. If one of them could post how the new code looks, we'd be set. I think :)

Krusty1231
11-20-2010, 06:11 AM
Dunno if this would help you or not? This is the one I use - have used from 4.0.4 to 4.0.8 with no issues.

<!-- Wy Country Flags Start -->
<vb:if condition="$post['field6']"><style="text-align:left"> Country:</dt> <img src="{vb:stylevar imgdir_button}/flags/{vb:raw post.field6}.GIF" align="middle" alt="Users Country Flag" border="" /></vb:if>
<!-- Wy Flags End -->

Never hurts to try.

Of course - change my field (6) to whatever you use!

basilrath
11-20-2010, 07:13 AM
works on 4.0.8 no issues at all

NPGamers.Net
11-29-2010, 03:47 AM
installed @ npgamers.net Perfect mod!

kfyonur
11-29-2010, 08:50 AM
it is working thanx.

yjeanrenaud
11-29-2010, 09:04 AM
Switzerland's GIF is namend Suisse. damn. but thanks a lot for your mod. It helped me writing my own.

tygersclaw
12-02-2010, 10:02 PM
Dunno if this would help you or not? This is the one I use - have used from 4.0.4 to 4.0.8 with no issues.

<!-- Wy Country Flags Start -->
<vb:if condition="$post['field6']"><style="text-align:left"> Country:</dt> <img src="{vb:stylevar imgdir_button}/flags/{vb:raw post.field6}.GIF" align="middle" alt="Users Country Flag" border="" /></vb:if>
<!-- Wy Flags End -->

Never hurts to try.

Of course - change my field (6) to whatever you use!

Thanks that worked perfect for me.

motorola
12-03-2010, 07:49 AM
How to uninstall this ?

Welshy2008
12-03-2010, 08:04 AM
Dunno if this would help you or not? This is the one I use - have used from 4.0.4 to 4.0.8 with no issues.

<!-- Wy Country Flags Start -->
<vb:if condition="$post['field6']"><style="text-align:left"> Country:</dt> <img src="{vb:stylevar imgdir_button}/flags/{vb:raw post.field6}.GIF" align="middle" alt="Users Country Flag" border="" /></vb:if>
<!-- Wy Flags End -->

Never hurts to try.

Of course - change my field (6) to whatever you use!


Thank You.

How to uninstall this ?

I'm sorry to see that you wish to uninstall it.

If you still want to do so, just do the reverse to what you did to install it.

basilrath
12-03-2010, 12:03 PM
Just incase you need some variety lol

http://www.tabletennistalk.co.uk/forum/images/buttons/flags/pirate.GIF

Mustiii
12-07-2010, 01:56 PM
I would need some custom flags. Is it possible to create them? It would be a big help for my Forum.

20KingSize
12-20-2010, 04:13 AM
i love this modification but im finding that there are some missing images

Vatican.GIF
Mariana Island.GIF

are two that ive noticed so far. is there any way to get hold of the images that are missing? i did manage to find Mariana Island.gif

hope i dont sound ungrateful or anything i really would like to use this mod on my forums its great :)

Krusty1231
12-20-2010, 11:06 AM
Here is your Vatican.Gif (Taken from another thread here - not my work) just passing it along!

Enjoy!

20KingSize
12-20-2010, 12:08 PM
thank you very much Krusty1231 much appreciated :)

ive just worked out it was in the flag folder but it was called Holy See.GIF for some strange reason. thanks once again because i hate seeing missing images im very OCD like that lol

glen290
12-28-2010, 10:29 AM
Has anybody got this working on 4.1.0, stopped working when I upgraded..

Sunka
12-28-2010, 08:18 PM
Working on my site wery well!

K!nG
01-06-2011, 02:25 AM
anyone got it working on 4.1.0 ???? i tried didn't work

Digital Jedi
01-06-2011, 03:03 AM
Did you check to make sure the style edits where still there?

luffyua
01-06-2011, 04:58 AM
It's working perfectly on my vb 4.0.1 pl2. As said above make sure the style and template edits are still there

Welshy2008
01-06-2011, 06:57 AM
It's working perfectly on my vb 4.0.1 pl2. As said above make sure the style and template edits are still there


Thank you for that. :)

Mustiii
01-06-2011, 08:30 PM
The flags are very good animated is it possible to get any custom flags? Would be very usefull.

Welshy2008
01-07-2011, 07:02 AM
The flags are very good animated is it possible to get any custom flags? Would be very usefull.

Unfortunately not, sorry. I didn't make them. :(

Mustiii
01-07-2011, 02:20 PM
Unfortunately not, sorry. I didn't make them. :(

Maybe you know the creator? It would be even helpfull to get the default data to make the flags by myself.

Welshy2008
01-07-2011, 02:32 PM
Maybe you know the creator? It would be even helpfull to get the default data to make the flags by myself.


The creator of the flags is a friend of the original creator of this mod. I have already contacted him, and in turn, he has contacted his friend. His friend did say that he would do some, but that was a long, long time ago.


Nothing came of it. :(

Mustiii
01-07-2011, 05:01 PM
The creator of the flags is a friend of the original creator of this mod. I have already contacted him, and in turn, he has contacted his friend. His friend did say that he would do some, but that was a long, long time ago.


Nothing came of it. :(

Mhh ok i would even think about to pay for it because the animation is really good made i didnt saw a better flag animation for this time.

OldSchoolDSL
01-07-2011, 11:16 PM
Installed

4.1 PL2

NOTE:

But this only worked when I applied it to postbit_legacy and thus, can not seem to get it to apply under the user's post count (as I'd like it to be).

Dragaon
01-26-2011, 03:28 PM
Installed 4.1.0 pl2

I replaced
alt="Users Country Flag"
with
alt="{vb:raw post.fieldX}"
To get the Country Name on mouseover instead of the static Users Country Flag message.

Great mod, thanks!

OldSchoolDSL
01-26-2011, 05:46 PM
Installed

I replaced
alt="Users Country Flag"
with
alt="{vb:raw post.fieldX}"
To get the Country Name on mouseover instead of the static Users Country Flag message.

Great mod, thanks!

This cleaned up my community nicely.

Thanks for this tweak.

Installed & applied
4.1.1

K!nG
02-05-2011, 04:15 PM
I installed on my forum .... i can choose country name and everything from profile but for some reason it doesn't show up when i go on forum/threads. can someone tell me what am i missing ???
how do u "make sure the style and template edits are still there" ??

fusionpot
02-06-2011, 12:00 PM
I installed on my forum .... i can choose country name and everything from profile but for some reason it doesn't show up when i go on forum/threads. can someone tell me what am i missing ???
how do u "make sure the style and template edits are still there" ??

i have this same issue.

Dr.osamA
02-06-2011, 12:38 PM
i have this same issue.

can you live link for demo to check it plzz

maybe i can help you

fusionpot
02-08-2011, 11:50 PM
can you live link for demo to check it plzz

maybe i can help you

right now im rebudiling my site so might be another few days. but to give you and idea all it does it show a : were the flags should be.

Welshy2008
02-09-2011, 02:21 PM
PM me a username and password, along with a link (need admin permissions) and I will have a look for you.

Same applies to anyone else.

Welsh.

fusionpot
02-09-2011, 02:44 PM
PM me a username and password, along with a link (need admin permissions) and I will have a look for you.

Same applies to anyone else.


Welsh.


your a trusted DEV correct?

Welshy2008
02-09-2011, 05:24 PM
I have helped many people out in this way.

You are under no obligation to let me do it for you!

I work on trust. If you don't feel confident enough - then that is not a problem.

You could specify a username and password for me (with admin permissions) and then delete it when I have done it for you.

Like I say - It is up to you.

COL NIL SATIS
02-09-2011, 05:41 PM
Flags still work great on my site,it's a terrific mod

fusionpot
02-09-2011, 09:26 PM
I have helped many people out in this way.

You are under no obligation to let me do it for you!

I work on trust. If you don't feel confident enough - then that is not a problem.

You could specify a username and password for me (with admin permissions) and then delete it when I have done it for you.

Like I say - It is up to you.


ill setup an account in the next few hours and ill toss the info your way, just gotta watch my self as an old clan member took down my whole site and im starting all over again and dont wanna re-do everything another time, but i trust you just let me know what you find out and when you get done with it.

Welshy2008
02-13-2011, 10:32 AM
Thanks fusion,

I will have a butchers for you - no problem.

Bad news with regard to the old clan member - I trust that you never made backups? :(

fusionpot
02-13-2011, 10:45 AM
Thanks fusion,

I will have a butchers for you - no problem.

Bad news with regard to the old clan member - I trust that you never made backups? :(

not then but i have new backups for the new site, its all good starting fresh for the final website aint to bad.

fusionpot
02-13-2011, 11:38 AM
Thank you for your help welshy.

I gave welshy access to help me resolve my issue with the flags not working on my site. within 10min of sending him his login info he was fast to help me. even after forgetting to give him admin rights he was patient on helping me out even thou he didnt have alot of time.

welshy was able to find the issue in my forum that was a non related code issue on my part or his part. its was due to another popular mod that was put into the wrong postbit area.

i look forward to using more of welshys products or plugins.

thanks again welshy.

COL NIL SATIS
02-13-2011, 03:05 PM
Thank you for your help welshy.

I gave welshy access to help me resolve my issue with the flags not working on my site. within 10min of sending him his login info he was fast to help me. even after forgetting to give him admin rights he was patient on helping me out even thou he didnt have alot of time.

welshy was able to find the issue in my forum that was a non related code issue on my part or his part. its was due to another popular mod that was put into the wrong postbit area.

i look forward to using more of welshys products or plugins.

thanks again welshy.

Glad it got sorted for you :)

troykp
02-15-2011, 01:33 PM
Mod is excellent. Thank you for the effort put in!

One minor problem though; I can't get this to work in my alternative skin. For my main skin, it works great, but I have a second skin for my forum which doesn't display the flag; only the text phrase, ie England.

Using the exact same code in each skin and can't figure this out.

Help much appreciate. :)

glen290
02-24-2011, 12:17 PM
Recently upgraded to 4.1.2 and its stopped working, any ideas how to get it back up and running ?

Welshy2008
02-24-2011, 01:55 PM
Mod is excellent. Thank you for the effort put in!

One minor problem though; I can't get this to work in my alternative skin. For my main skin, it works great, but I have a second skin for my forum which doesn't display the flag; only the text phrase, ie England.

Using the exact same code in each skin and can't figure this out.

Help much appreciate. :)


Sorry Mate, but support is not given to custon skins.

However, if you want to set a temporary Amdin account for me with full admin permissions and PM the details and a forum link to me, I will have a look. (that is all I can do).

Welshy2008
02-24-2011, 01:57 PM
Did you check to make sure the style edits where still there?

Recently upgraded to 4.1.2 and its stopped working, any ideas how to get it back up and running ?

Did you try the above? (quote on top of yours).

I haven't upgraded my test forum to 4.1.2 yet.

If you would like me to have a look at yours, please look at my reply to the post above your one above this.

Trystan^
02-25-2011, 07:07 PM
Im on 4.1.2 and cant seem to get it to work and i really want a welsh flag under my name lol ;)

COL NIL SATIS
02-25-2011, 07:38 PM
Recently upgraded to 4.1.2 and its stopped working, any ideas how to get it back up and running ?

you could try adding the code to your DEFAULT skin and make this the parent to your Custom skin,that may work..prob worth trying :)

Welshy2008
02-25-2011, 07:42 PM
Evening Col. :)

Trystan^
02-25-2011, 07:49 PM
i cant seem to get it to work in the default,

what am i to do after finding

<span class="usertitle">
{vb:raw post.usertitle}
</span>

soz for being a noob :(

btw i did the bit after that but im not sure if im confusing myself over the first step because its says to find the above but hen goes onto find something else

again im probably being a complete tool but any direction would be great

Edit again,

Now working, creating a child theme under the default, importing my custom style into that then editing the postbit legacy sorted it love the mod ;)

COL NIL SATIS
02-26-2011, 01:31 PM
i cant seem to get it to work in the default,

what am i to do after finding

<span class="usertitle">
{vb:raw post.usertitle}
</span>

soz for being a noob :(

btw i did the bit after that but im not sure if im confusing myself over the first step because its says to find the above but hen goes onto find something else

again im probably being a complete tool but any direction would be great

Edit again,

Now working, creating a child theme under the default, importing my custom style into that then editing the postbit legacy sorted it love the mod ;)

Glad you sorted it mate :up:

COL NIL SATIS
02-26-2011, 01:32 PM
Evening Col. :)

Hello Welshy mate :)

K!nG
02-27-2011, 08:01 AM
Hmmm it only works with original theme of VB but not with any other Custom Skins... why is that or is there any fix for it ?? i can see flag in original skin but custom one only says country's name i.e. United States. any fix ?

COL NIL SATIS
02-27-2011, 06:33 PM
Hmmm it only works with original theme of VB but not with any other Custom Skins... why is that or is there any fix for it ?? i can see flag in original skin but custom one only says country's name i.e. United States. any fix ?

you could try adding the code to your DEFAULT skin and make this the parent to your Custom skin,that may work..prob worth trying :up:

K!nG
02-28-2011, 05:34 PM
I already have it on Default skin and in custom skin aswel..... so i shold just make vb defualt skin as parent hmmmmmm let me try lets see if that works.

K!nG
02-28-2011, 05:39 PM
Just tried that aswel didn't work still shows me a RED "X" sign instead of flag image.

your24hourstore
02-28-2011, 05:49 PM
Just tried that aswel didn't work still shows me a RED "X" sign instead of flag image.
edit the Posbit_legacy template in the child style

your24hourstore
02-28-2011, 05:50 PM
just as you did in default

camoit
03-27-2011, 03:47 AM
Hay guys. Sorry if this is a total newbie question but I have vB publisher 4.1.2 and there is no Postbit or Posbit_legacy files. We have lots of postbit_XXXX files. So is what do I do? Maybe it's just not clear to me on where things are since I'm moving to this new format away from the phpbb3 thing. OH one other thing you have 3 db files 1 in each flag file, what do we do with them? Overwright them? There all diferant in size.
Be gentle on me I'm new...

Old-Git
03-28-2011, 12:03 AM
Any chance of adding a Northern Ireland flag to this. You've got Wales, Scotland, England, RoI, and even a choice of GB or UK but no Northern Ireland Flag!

NPGamers.Net
04-03-2011, 04:40 PM
Upgraded to 4.1.2 with new theme and works great.

Dont forget to move the "Flags" folder you put originally into your theme's style folder in the images folder.

Also follow the directions at the top of this page specifically for the version of VB you are using.

camoit
04-04-2011, 09:59 PM
Hay guys. Sorry if this is a total newbie question but I have vB publisher 4.1.2 and there is no Postbit or Posbit_legacy files. We have lots of postbit_XXXX files. So is what do I do? Maybe it's just not clear to me on where things are since I'm moving to this new format away from the phpbb3 thing. OH one other thing you have 3 db files 1 in each flag file, what do we do with them? Overwright them? There all diferant in size.

SpaceStar
04-04-2011, 10:34 PM
works with a charme. vb 4.1.2

SpaceStar
04-04-2011, 10:41 PM
Hay guys. Sorry if this is a total newbie question but I have vB publisher 4.1.2 and there is no Postbit or Posbit_legacy files. We have lots of postbit_XXXX files. So is what do I do? Maybe it's just not clear to me on where things are since I'm moving to this new format away from the phpbb3 thing. OH one other thing you have 3 db files 1 in each flag file, what do we do with them? Overwright them? There all diferant in size.

Not sure what you mean by postbit_xxxx - there may not be more than single file of postbit and a single of postbit_legacy - may be you have to re-uploade ther original vB 4.1.2 files.

Regarding the flags1 flags2 and flags3 - extract them into one flags folder and they upload to ../mages/buttons folder - keep in mind the style you are using...(before uploading find out the imagedir in your stylevar

Dave-M
04-11-2011, 12:41 PM
Can't get this working for some reason. I see the profile field, and I can select my flag, but it never shows.

Followed the instructions to the letter several times, the flags are uploaded to the correct location in one folder called flags.

The custom field is exactly as per the instructions.

The template edit is there. FieldX is changed to my custom field number.

Any ideas please? :)

I'm on 4.1.2 with VBSEO 3.6.0 Gold.

SpeedyHire
04-11-2011, 12:54 PM
nice work:)
installed and working a treat with 4.1.2

Welshy2008
04-11-2011, 03:05 PM
Dave-M,

I have just PMd you. :)

Dave-M
04-14-2011, 12:41 PM
Got it fixed and working thanks.

I did have one alaignment issue, where the bit that says "Country:" to the left of the flag in the postbit was too close to the flag, so it was out of line, so I just edited the template and added 9 or 10x alt+0160 and that fixed it :)

By the way, the Northern Irish are asking where their fecking flag is LOL

Cheers mate, great mod!

Welshy2008
04-14-2011, 12:54 PM
No problem Dave.

The creator of the flags is a friend of the original creator of this mod. I have already contacted him, and in turn, he has contacted his friend. His friend did say that he would do some, but that was a long, long time ago.


Nothing came of it. :(


I will ask again though.

Dave-M
04-14-2011, 01:10 PM
Ah OK mate, not to worry, I'll check back soon, cheers :)

It's Damn Real!
04-27-2011, 01:56 AM
Can't get this working for some reason. I see the profile field, and I can select my flag, but it never shows.

Followed the instructions to the letter several times, the flags are uploaded to the correct location in one folder called flags.

The custom field is exactly as per the instructions.

The template edit is there. FieldX is changed to my custom field number.

Any ideas please? :)

I'm on 4.1.2 with VBSEO 3.6.0 Gold.

I'm in the same boat, except not running VBSEO.

Edit: Scratch that — I'm good. Had to update legacy.

Welshy2008
04-27-2011, 08:52 AM
Lol - thanks for updating your post.

K!nG
04-29-2011, 07:24 PM
Great Mod.... Working on 4.1.3 :) default n custom skinz

Furcal15
05-11-2011, 08:40 PM
I tried using the last template edit that is for 4.1.1 on my 4.1.3 and couldn't get it to work. I used the code for 4.0.6-4.0.7 which is this:

<!-- Wy Country Flags Start -->
<vb:if condition="$post['fieldX']"> <dt>Country</dt> <img src="http://www.YOURFORUM ADDRESS.com/forum/images/buttons/flags/{vb:raw post.fieldX}.GIF" alt="This is {vb:raw post.username}'s Country Flag" border="" /></vb:if></p>
<!-- Wy Flags End -->

And it worked fine. Although, I did not use this for country flags. Instead I used it for my baseball forum and choosing your favorite team, it works wonders. If you want to use it for something else like I did here is how I did it (it is modified).


<!-- Wy Country Flags Start -->
<vb:if condition="$post['field15']"><img src="http://www.baseballnation.net/images/teams/{vb:raw post.field15}.png" alt="This is {vb:raw post.username}'s favorite team." border="" /></vb:if></p>
<!-- Wy Flags End -->

As you can see, I changed the original image file extension from .GIF to .png....I also took out <dt>Country</dt> so no text displays, just my logo.

If you want to use it for something other than country flags. Your image name must match the option name.

For instance in options I had the whole list of MLB teams instead of a list of countries. It looks like this:

Arizona Diamondbacks
Atlanta Braves
Baltimore Orioles
Boston Red Sox
Chicago White Sox
Chicago Cubs
Cincinnati Reds
Cleveland Indians
Colorado Rockies
Detroit Tigers
Florida Marlins
Houston Astros
Kansas City Royals
Los Angeles Angels
Los Angeles Dodgers
Milwaukee Brewers
Minnesota Twins
New York Mets
New York Yankees
Oakland Athletics
Philadelphia Phillies
Pittsburgh Pirates
San Diego Padres
San Francisco Giants
Seattle Mariners
St. Louis Cardinals
Tampa Bay Rays
Texas Rangers
Toronto Blue Jays
Washington Nationals

All my images in the images/teams directory have to match the option names exactly. So for the Arizona Diamondbacks...In my images/teams folder it is saved exactly how it is in the options list for the field. The image is Arizona Diamondbacks.png --- It must be typed exactly how it is in the options field.

TEMPESTADE
05-12-2011, 01:37 PM
good everything is well explained but what is the code for version 4.1.3 of someone kind soul can tell I'm confused! grateful

billstelling
05-12-2011, 02:27 PM
Find this in the postbit_legacy and add it just below it.
<img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" title="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />
</a>
</vb:if>
<vb:if condition="$post['userid']">
<hr />
<dl class="userinfo_extra">
and i changed the code slightly to get rid of "Country:"
<!-- Wy Country Flags Start -->
<vb:if condition="$post['field5']"><img src="{vb:stylevar imgdir_button}/flags/{vb:raw post.field5}.GIF" alt="Users Country Flag" border="" /></vb:if>
<!-- Wy Flags End -->

I got it to work after a little trial and error.. It needs to be placed below the avatar code when you have modded the post bits all to hell.. I have several adds to it and once i found were it needed to go it works great! Oh, I am using vB 4.1.3

129010

doctorsexy
05-24-2011, 12:42 PM
installed on 4.1.3 with a bit of head scratchin...thanks

dearone
05-25-2011, 03:17 AM
guys still i can not isntall it in 4.1.3

joeychgo
05-25-2011, 07:39 AM
I've installed it but I keep getting this alignment issue where it's at the side of the avatar.

billstelling
05-25-2011, 11:14 PM
did you put it below <dl class="userinfo_extra">
I had to experiment a bit to find were to put it.. post were you put it in the code and we will see if we can help.

EasyEazy
05-29-2011, 01:21 PM
Installed and looking great. Great mod and thanks for the effort put in.

EasyEazy
05-29-2011, 01:50 PM
Is there any chance of a Northern Ireland flag Welshy?

barmen_1982
05-30-2011, 12:40 PM
Thank you master

jhon13
06-16-2011, 06:42 AM
can anyone tell me how to it for 4.1.4

COL NIL SATIS
06-18-2011, 12:59 PM
whats the code for 4.1.3 guys??

Popa Andrei
07-01-2011, 06:40 AM
whats the code for 4.1.3 guys??

I used this for mi 4.1.4 postbit_legacy

<vb:if condition="$post['field6']"><dt><style="text-align:left"> Nationality</dt> <dd><img src="{vb:stylevar imgdir_button}/flags/{vb:raw post.field6}.GIF" align="middle" alt="{vb:raw post.field6}" border="" /></dd></vb:if>

COL NIL SATIS
07-02-2011, 10:11 AM
I used this for mi 4.1.4 postbit_legacy

<vb:if condition="$post['field6']"><dt><style="text-align:left"> Nationality</dt> <dd><img src="{vb:stylevar imgdir_button}/flags/{vb:raw post.field6}.GIF" align="middle" alt="{vb:raw post.field6}" border="" /></dd></vb:if>

cheers

K!nG
07-02-2011, 04:34 PM
I installed it on 4.1.3 upgraded to 4.1.4 and still working just fine :)

Popa Andrei
07-04-2011, 05:26 AM
cheers

your welocome

n00bl3t
07-10-2011, 05:54 PM
Ah can someone help me!

I am on 4.1.4 and I did everything perfectly. All images are in the right folders/path but for some reason, I can't get the pictures to actually show. Users can pick their flag/option and it just shows the name, not the picture. Any ideas?


-----------EDIT--------------------

NVM! Got it working.

My problem is I had the images under images/buttons/flags but it had to be under YourStyle/buttons/flags

! :)

K!nG
07-24-2011, 03:58 PM
Something weird happend.... i had it installed on like 4 different skins and out of nowhere it went away from 2 skins but its still there in other 2... i uploaded everything again ... edit templates again but still doesn't show anything at all :O can someone help me on this one ???

hhumas
07-24-2011, 11:59 PM
will it work with 4.1.4

Rakehel
08-01-2011, 08:15 AM
Can anyone elaborate upon what n00b3t is saying here. On my server, there's a directory for each style?

Ah can someone help me!

I am on 4.1.4 and I did everything perfectly. All images are in the right folders/path but for some reason, I can't get the pictures to actually show. Users can pick their flag/option and it just shows the name, not the picture. Any ideas?


-----------EDIT--------------------

NVM! Got it working.

My problem is I had the images under images/buttons/flags but it had to be under YourStyle/buttons/flags

! :)

CharlieDelta
08-02-2011, 05:05 PM
Can anyone elaborate upon what n00b3t is saying here. On my server, there's a directory for each style?

Yes that is correct. It is actually located in images/yourstyle/buttons/flags.
This is assuming you have custome styles on your forum other than the default style.

Rakehel
08-03-2011, 08:20 AM
Thank you Charlie. I do have 5 styles in addition to the default and mobile, but I'm not finding them anywhere in my forum directory. I see the "CP Styles" folder.

I'm asking because we like the flags mod, and a similar zodiac mod, but I can't get the flags to display no matter what I do. Just the names, and right-clicking one even allows me to access the image file's properties. The modification for vb 3.8.6 and earlier worked fine for years.

I've checked chmodding. I've tried different directories for the flags folder. I've verified the listing and spellings in the Admin CP. The custom profile field is set up, the same as the older flags mod.

I tried using the orignal template code listed here, but it didn't work. I also wanted the border/box like the rest of the info in the post display-member info data. Can anyone tell me why this code won't work?


<div class="post_field"><dt><vb:if condition="$post['field6']"><style="text-align:left">My Flag</dt><img src="{vb:stylevar imgdir_flags}{vb:raw post.field6}.GIF" align="middle" alt="{vb:raw post.field6}" border="0" /></vb:if></dd></div>



Any help would be genuinely appreciated.

CharlieDelta
08-03-2011, 02:20 PM
but I'm not finding them anywhere in my forum directory. I see the "CP Styles" folder.

This is your problem. You need to add the flags file that contains all the images to your proper sytle directory. Look something like this = forum/images/tribalgold/buttons/flags
I had a look at your site with firebug and your images are not in any directory.

Rakehel
08-04-2011, 07:26 AM
The images were located in 3 directories in an effort to test paths. What are you talking about?

Will that code work or not?

CharlieDelta
08-04-2011, 02:54 PM
If you have an image path of "flags" in your stylevars then I guess the code would work, otherwise you should use the imgdir_button. Another option you could try is a direct url, something like <img src="http://www.yoursite.com/forum/images/buttons/flags/{vb:raw post.field6}.GIF"
I tested this and it worked for me.

Charged
08-12-2011, 03:09 PM
there is a flag that is messing for: Faroe Islands i have added it

I've found a matching animated one for anyone that wants it.

https://vborg.vbsupport.ru/external/2011/08/22.gif

K!nG
08-12-2011, 11:55 PM
Something weird happend.... i had it installed on like 4 different skins and out of nowhere it went away from 2 skins but its still there in other 2... i uploaded everything again ... edit templates again but still doesn't show anything at all :O can someone help me on this one ???

Any info on this one ???? why its showing in 2 styles and not showing in 2 styles all of sudden while it was working just fine before on all 4 styles :::(

CharlieDelta
08-13-2011, 01:24 PM
Any info on this one ???? why its showing in 2 styles and not showing in 2 styles all of sudden while it was working just fine before on all 4 styles :::(

Have you ensured your code is correct in the 2 style templates? Are the images in the correct directory for each style?

K!nG
08-15-2011, 02:42 AM
Well in one of the style it was working fine for like a month and then one day all of sudden when i logged in it wasn't working ... i went to check the images they were there ,, then i checked the template edits they were there but its not showing :(

Aitorcillo
08-15-2011, 11:39 PM
This mod works with vbulletin 4.1.5? Thank you

K!nG
08-19-2011, 10:17 PM
It does work on 4.1.5 just to mention its working on my 2 skins but its not working on my other 2 skins lol

hhumas
08-19-2011, 11:00 PM
is there any change of getting it on 4.1.4 ???

Scalemotorcars
08-20-2011, 12:08 AM
Ive been using an extra profile field for country for some time now that's required on registration. I already have all the countries in the master list. (plus a few more)

Could I simply use that field id with the images and code from this mod. looks fairly straight forward.

oldfan
09-07-2011, 12:38 PM
installed on 4.1.5 and works great thanks :D

vb50kgpoo
09-14-2011, 09:44 AM
Great mod, thank you.

I would love NATO and NASA flags BTW
Some people might also like the 50 US States
Some people might also like the flag of Cornwall (I have been trying to get them independence for years :eek:)
Would Soviet CCCP, Nazi German and Imperial WW2 Japanese be in bad taste for some forums?

Majest
09-15-2011, 06:42 AM
Thanks, works on vB4.1.5.

Dave Hybrid
10-21-2011, 11:33 PM
Awsome MOD.

Flags are a work of art!

That is all. :D

tanerokutan
10-22-2011, 03:17 PM
is it work for 4.1.7 ?

glen290
10-24-2011, 09:17 AM
Is there anyway I could make this appear as either the users avatar or in their signatures by default ?

Scalemotorcars
10-24-2011, 03:12 PM
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.

<dl class="stats">
<dt>Country</dt>
<dd><img src="{vb:stylevar imgdir_button}/flags/{vb:raw bbuserinfo.fieldX}.GIF" alt="Users Flag" border="" /> {vb:raw bbuserinfo.fieldX}</dd>
</dl>


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...

datoneer
11-03-2011, 03:30 PM
I have vb 4.1.5 and this mod not working. I cannot see anything in my profile. Help??

Welshy2008
11-03-2011, 04:15 PM
I have vb 4.1.5 and this mod not working. I cannot see anything in my profile. Help??


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).

datoneer
11-04-2011, 04:35 PM
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.

Scalemotorcars
11-13-2011, 12:12 PM
Anyone have a way to do this in profiles? See my post above, thanks...

Nelson58
11-15-2011, 03:09 PM
Any chance to do state flags also for US people?

Nelson

Scalemotorcars
11-16-2011, 01:03 AM
@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

spillage
11-27-2011, 07:29 PM
Working fine on 4.1.8

hhumas
11-28-2011, 03:34 AM
working in vb 4.1.4 .. Note that you should place flags in styles > yourstyle > images >flags

Merjawy
11-28-2011, 08:23 AM
Nice MOD, thanks

Some flags have changed!!!!

TEAMSlowpitch
12-07-2011, 01:47 PM
Having the hardest time getting this to show up

<!-- Wy Country Flags Start -->
<vb:if condition="$post['field5']"><style="text-align:left"> Country:</dt> <img src="http://www.magictyrant.com/images/buttons/flags/{vb:raw post.field5}.GIF" align="middle" alt="{vb:raw post.field5}" border="" /></vb:if>
<!-- Wy Flags End -->

Welshy2008
12-07-2011, 02:18 PM
Having the hardest time getting this to show up

<!-- Wy Country Flags Start -->
<vb:if condition="$post['field5']"><style="text-align:left"> Country:</dt> <img src="http://www.magictyrant.com/images/buttons/flags/{vb:raw post.field5}.GIF" align="middle" alt="{vb:raw post.field5}" border="" /></vb:if>
<!-- Wy Flags End -->


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.

datoneer
12-07-2011, 03:57 PM
Does it work on 4.1.8?

Mariner1
12-07-2011, 04:23 PM
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

POL_ED
12-08-2011, 01:48 AM
@ Mariner1,
Country name in English must be, or rename the file flags.
Look OPTIONS.txt

Work with vb4.1.8
Thanks :)

spillage
12-08-2011, 09:55 PM
Does it work on 4.1.8?

It most certainly does.
Works great on my site.

Mariner1
12-08-2011, 10:15 PM
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

POL_ED
12-09-2011, 12:44 AM
@ Mariner1,
** Replace the ‘X’ with your FieldID number **
Change 3 x fieldX
If, for example Country Flag = field5
<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 -->
Look (https://vborg.vbsupport.ru/attachment.php?attachmentid=107179&d=1259956437)

Mariner1
12-09-2011, 10:33 AM
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 -->

datoneer
12-09-2011, 02:37 PM
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

POL_ED
12-09-2011, 04:20 PM
@ Mariner1,
You have YOURFORUM_ADDRESS.com/forum/images/buttons/flags/UK.GIF

Mariner1
12-09-2011, 11:42 PM
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 -->

POL_ED
12-10-2011, 12:00 AM
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"

Mariner1
12-10-2011, 12:08 AM
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 -->

K!nG
12-10-2011, 01:17 AM
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 -->

Hi Mariner,
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.

Mariner1
12-10-2011, 01:25 AM
Just double checked and the field number is right.

POL_ED
12-10-2011, 02:27 AM
@ Mariner1,
Give address YOURFORUM.

Welshy2008
12-10-2011, 08:13 AM
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


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.

Welshy2008
12-10-2011, 08:24 AM
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).

Welshy2008
12-10-2011, 08:27 AM
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.

Welshy2008
12-10-2011, 08:30 AM
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.

bremereric
12-10-2011, 10:43 PM
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

POL_ED
12-10-2011, 10:58 PM
I do not see on your serwer "United States.GIF" flag
http://www.aspenandvolare.com/images/buttons/flags/United%20States.GIF

Your Avatar is ok
http://www.aspenandvolare.com/images/avatars/1979volarecustom.jpg

=====================
Edit://
Now working Country Flags on http://www.aspenandvolare.com :)

bremereric
12-11-2011, 03:30 AM
I do not see on your serwer "United States.GIF" flag
http://www.aspenandvolare.com/images/buttons/flags/United%20States.GIF

Your Avatar is ok
http://www.aspenandvolare.com/images/avatars/1979volarecustom.jpg

=====================
Edit://
Now working Country Flags on http://www.aspenandvolare.com :)WTF..It wasn't working before and I left for a Christmas party and I came back and it is. I didn't change anything?

gazza2008
12-11-2011, 10:28 AM
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.

Ive pmd you mate and sorted a temp admin account out

Mariner1
12-11-2011, 10:43 AM
Sent you a pm too :)

gazza2008
12-11-2011, 12:57 PM
Ive pmd you mate and sorted a temp admin account out



I have fixed this mate

so you can disragard the PM

Mariner1
12-11-2011, 02:06 PM
Id like to thank Welshy2008 for fixing the problem ive had.He fixed it in minutes.

Thanks again bud,really appreciate your help

bremereric
12-11-2011, 03:18 PM
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

bremereric
12-11-2011, 03:40 PM
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.gifI fixed it by changing the code to this in the black and black/red styles.

<!-- Wy Country Flags Start -->
<vb:if condition="$post['field5']"><style="text-align:left"> Country:</dt> <img src="http://www.aspenandvolare.com/images/buttons/flags/{vb:raw post.field5}.GIF" align="middle" alt="{vb:raw post.field5}" border="" /></vb:if>
<!-- Wy Flags End -->

datoneer
12-12-2011, 12:28 PM
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.

Now it's working. Thank you Welshy

diades
12-17-2011, 06:24 PM
Just installed this on version 4.1.9, working fine so far!

Thanks for the work.

POL_ED
12-23-2011, 12:19 AM
With each style is ok <!-- Wy Country Flags Start -->
<vb:if condition="$post['field5']"><style="text-align:left"> </dt> <img src="images/buttons/flags/{vb:raw post.field5}.GIF" align="middle" alt="{vb:raw post.field5}" border="" /></vb:if>
<!-- Wy Flags End -->

iSins
12-29-2011, 01:11 PM
How would i enable this to work on Member Profile? "member.php"

Bluefin221
01-02-2012, 02:19 PM
There is no Northern Ireland? Is it possible this could be added?

Fready
01-04-2012, 08:01 AM
why does the Wales flag as UK on it?
It's not really the UK flag is it.

vb50kgpoo
01-04-2012, 03:08 PM
Wales and Northern Ireland? I would like NATO and one other we can not mention!

Anyway, I just wanted to say this mod is better than presented as it also acts as a Spammer warning system. I have Spam-o-matic but some spammers get through. However, all those show the flag "Aaland" which is the first flag available I guess; they use bots that are not programed for selecting which country flag they want. So, whenever I see a new member with the Aaland flag, I do a Google on their IP address and lo and behold they always come back with spammer warnings.

So the product is great, made greater by the fact it highlights the spammers that get past Spam-om-matic.

:up::up::up:


Nid yw Cymru, rhan o'r UK yw hi?

CharlieDelta
01-04-2012, 06:13 PM
I have Spam-o-matic but some spammers get through. However, all those show the flag "Aaland" which is the first flag available I guess; they use bots that are not programed for selecting which country flag they want. So, whenever I see a new member with the Aaland flag, I do a Google on their IP address and lo and behold they always come back with spammer warnings.

Funny. I use it as a tip off this as well. :D

BrightStar
02-17-2012, 08:57 PM
Could someone help me with the code please? My flags directory is located in /forums/images/buttons/flags/image.GIF and everytime I've to upload the directory into the style directory as that's where the script tries to look for.

Is it possible to define a custom location of the directory rather than looking into the style's directory?

Cheers

marcellhernande
02-19-2012, 08:53 PM
It works perfectly and will be very useful to my forum! Thank you very much!

BlueCheri
02-20-2012, 01:28 AM
Installed, thanx.

Works very gine

G!

Mustiii
02-27-2012, 08:03 PM
Is there any possibility to get some custom flags? I have some special flags which are not available here. The Style looks very good so i would be happy if somebody could help me.

Nirjonadda
02-28-2012, 06:10 PM
working fine on 4.1.10

Krusty1231
03-10-2012, 09:42 PM
Could someone help me with the code please? My flags directory is located in /forums/images/buttons/flags/image.GIF and everytime I've to upload the directory into the style directory as that's where the script tries to look for.

Is it possible to define a custom location of the directory rather than looking into the style's directory?

Cheers

This is what I did.

<div align="center">
<vb:if condition="$post['field5']">
<img src="/flags/{vb:raw post.field5}.GIF" alt="Users Flag!" border="" />
</vb:if></div>

That way I am not uploading the flags to each style. One flag folder to rule them all!

The path can be suited anyway you like. In my example my flag folder is uploaded outside my forum content - example - http://www.youraddress.com/flags/Canada.Gif

Hope it helps!

andie215
03-11-2012, 11:15 PM
This is what I did.

<div align="center">
<vb:if condition="$post['field5']">
<img src="/flags/{vb:raw post.field5}.GIF" alt="Users Flag!" border="" />
</vb:if></div>

That way I am not uploading the flags to each style. One flag folder to rule them all!

The path can be suited anyway you like. In my example my flag folder is uploaded outside my forum content - example - http://www.youraddress.com/flags/Canada.Gif

Hope it helps!

All works fine in 4.1.11 and using Krustys code above.

gazza2008
03-17-2012, 12:16 PM
Am getting a problem I can not get them to display

Welshy if ya around PM me i'll setup a temp admin account

cheers

gaz

Welshy2008
03-19-2012, 05:59 PM
Gazza PM ME the dtails and a link buddy, and I will do it for you, mate.

datoneer
03-22-2012, 08:51 PM
I must say that welshy is a genius! He helped me every time i contact him! Very very nice, and thank you once again

sweetpotato
03-27-2012, 02:45 AM
Please add the flag for South Sudan