![]() |
vBulletin Flags In Postbit
I was bored so thought I would make a mod with the FamFamFam images (flags)... So here you go.
What it does: You select what country your from in Registration / Profile and it will show up in postbit (the flag). https://vborg.vbsupport.ru/external/2007/10/17.png Thanks, Jac |
i believe i saw it since soooo long ... and i have it on my forum but thanks
|
Not so long, I was fixing mine today, and I can't post the link cause I will be slammed and punished as the worst user ever... :eek:
|
Ok lest try it
|
Yea that's where my original idea came from, the flag icons for that were no way as nice as the FamFamFam ones so I made a mod with the FamFamFam images.
Jac |
true the famfamfam icons are so sexy. Thanks for sharing.
|
No problem :).
|
In
<if condition="$post[fieldXX]"><img src="images/flags/$post[fieldXX].gif" Should be *.png? They do not show up anyways. Just as text. I thought it might be something with the path but I added http://www.mysite.com/forum/images/**** instead. Do not work. Do I something wrong? |
Your right, should be PNG.
As for your images problem, could you explain a little better, sorry just not understanding. Updated. Regards, Jac |
Check there:
http://airliners-atc.com/forum/member.php?u=1 There is no flag there, just ISO countrycode. And in UserCP when choosing my flag only ISO country code shows up, not a flag. I have changed the img src path to full address path like: <if condition="$post[fieldXX]"><img src="http://airliners-atc.com/forum/images/flags/$post[fieldXX].png" Is fieldXX wrong? |
Ok, go into your AdminCP.
On the left navigation go... User Profile Fields > User Profile Field Manager Look for Flag Single-Selection Menu Required, Editable, Searchable, Members List field6 [Edit][Delete] See where it says Field6, well yours will probably be different but you insert that instead of the XX. Jac |
Got it!
Thanx! Great mod! |
:) No problem, don't forget to click install ;).
Jac |
great mod m8. sugession can u make it a radio select choice like the icons
|
Radio choice would take up a lot of the page I imagine, but could be possible...
|
well can u make an addon then m8 and it would be better to pick if you could see the flag and not just AF or EN and it needs to be possible to pick the ammount to show in row like 8 then it starts new line.
or even like the mood hack where it has the images in a ajax menu :P |
I will look into it :)
|
thx m8 :P
|
nice hack
thanks |
Help please?
Installed...followed the instructions but the images don't show up..just the Country Code. I've double checked that the Flag Field is correct ($post[field21].png") I've uploaded the Flags file to images/ ... checked they're all .png The flags folder is in the same directory as another image folder (ranks) which contain .png files and those show up where they should Any help would be appreciated thanks :) |
Do you have the image URL, there could be a issue with the list, I think there is only 200 FAM images but like 250 ISO listings.
Jac |
How hard is it to change to US State flags? Also I have all the flags ready and sized.
|
Quote:
https://vborg.vbsupport.ru/ https://vborg.vbsupport.ru/ https://vborg.vbsupport.ru/ <!-- / flags start --> <if condition="$post[field21]"><img src="images/flags/$post[field21].png"></if> <!-- / flags end --> What have I missed?:confused: |
Hmm I don't really know, could you possibly set me up an account to take a look?.
Jac |
Quote:
|
Quote:
cheers :) |
I have it up and running and some flags work and others do not. It seems that about 75% of the flags are 628 bytes in size and the rest are 66.4 KB (68,091 bytes)
the 628 ones all work but the much larger ones show up as a red X. Is there a setting in Admin panel that i can use to make them all show up or does someone have to resize the larger ones? |
No flags show up on our site either. It just shows up on user profile as the country code - eg. CA for me.
No flag visible anywhere. What's wrong?? |
This is one of the worse add-ons I've downloaded on this forum, not to upset the developer but honestly this is so buggy that it should never had been released in the first place.
Flag names doesn't match with the ISO list and no matter what I tried and I tried a lot I couldn't get the flags to appear only national codes. |
Works great, been looking for something like this for a long time. *Installed*
|
Quote:
What version of VB are you running? Also have you checked to see that all the flags work? |
running 3.6.8 and flags don't show for me either, have the right field number, flags are chmod to 755 and it still displays country code.
|
Quote:
AO |
Quote:
Is this mod working on your site and do all the flags show up? |
I also have the problem with showing images of flags. I see only the countrycode...
|
Sorted it in this part;
Code:
<!-- / flags start --> Code:
<!-- / flags start --> |
There is some flags missing or some countries extra in the list provided. I randomly selected DC from the list and realized the flag was missing. Here is a list I made:
Code:
AD |
Quick tip,
If you change all the 2 letter codes to country names in the options under profile field, instead of pasting the list and then change the file names to match, it will ask you to select your country by name instead of 2 letters, very helpful for those who may not know what the 2 letters are for their country. |
Hi, I also installed this Hack, but have same Problem like some other. In Profile I only have the Name but no Icon.
Quote:
cu logofreax |
I believe I have everything setup right; I changed the field to field5 for my board but still no images are displayed. I tried all the suggestion in this thread and I am running 3.6.8
|
All times are GMT. The time now is 03:28 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:
|