vBulletin Flags In Postbit

Daz

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

flags_preview_large.png
 

pmt

New Member
An appropriate representation of the requested resource /forums/admincp/profilefield.php could not be found on this server.

But admincp/profilefield.php ..Is there .Why saying this ?
 

Daz

New Member
first did you create the profile field? if yes


when you edited the template with

Code:
<!-- / flags start -->
<div>
<if condition="$post[field[color=Red]XX[/color]]"><img src="images/flags/$post[field[color=Red]XX[/color]].png"></if>
</div>
<!-- / flags end -->

did you input the profile number created in step one in the red areas above?
 

pmt

New Member
i'm on

Title - Flag
Description - Select your Country Flag
Options - [copy and paste list of countries in ISO 3166-1 alpha-2 code.txt to this option field]
Set Default: None
Editable By User: Yes
Display Page: Edit Profile

When save it, this comes up

Not Acceptable
An appropriate representation of the requested resource /forums/admincp/profilefield.php could not be found on this server.
 

Daz

New Member
in the options one have you cut and pasted the contents of the iso 3166 alpha 2 text file?
 

Daz

New Member
so the options box looks like this
AA
AB
AC
AD
AE
AF
AG
AH
AI
AJ
AK
AL
AM
AN
AO
AP
AQ
AR
AS
AT
AU
AV
AW
AX
AY
AZ
BA
BB
BC
BD
BE
BF

but with a load more letter combinations

your version of VB will not be having an effect this has been tested on 3.6.4 and up
 

pmt

New Member
its Bug in iso 3166-1alph


I remove extra space between left area

I fexed ISO 3166-1alph
 

ermali86

New Member
first of all i cannot explain with words how i liked this forum. then thank you for this hack daz. my problem is that i have done everything ok including editing the XX with the number 5 (my field is 5) or 05 but i only get the text. i do not get images. Can you please help me ?? and i do not get even the text when the user posts. i see the text only in members list. thank you in advance
 

ermali86

New Member
daz sorry for that. anything is ok.it was my fault. the only problem i had was that i had to edit the postbit and not postbit_legacy. keep up the good work and thank you for the very fast response.
 

tr1p

New Member
flag image is not showing only letter can b seen like NP i upload flags folder inside images folder
 
Top