vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Profile Enhancements - vBulletin Flags In Postbit (https://vborg.vbsupport.ru/showthread.php?t=159252)

GSPFAN 10-12-2007 11:41 PM

Quote:

Originally Posted by Majest (Post 1358592)
Works great, been looking for something like this for a long time. *Installed*


What version of VB are you running?

Also have you checked to see that all the flags work?

GandalfDDUK 10-14-2007 08:53 PM

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.

Arrogant-One 10-17-2007 01:04 AM

Quote:

Originally Posted by GandalfDDUK (Post 1360051)
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.

Australia's flag isn't very sharp in terms of picture/image quality.

AO

GSPFAN 10-17-2007 11:20 AM

Quote:

Originally Posted by Arrogant-One (Post 1361978)
Australia's flag isn't very sharp in terms of picture/image quality.

AO


Is this mod working on your site and do all the flags show up?

gRanat 10-18-2007 11:26 AM

I also have the problem with showing images of flags. I see only the countrycode...

GandalfDDUK 10-20-2007 11:03 PM

Sorted it in this part;

Code:

<!-- / flags start -->
<div>
<if condition="$post[fieldXX]"><img src="images/flags/$post[fieldXX].png"></if>
</div>
<!-- / flags end -->

REPLACE with;

Code:

<!-- / flags start -->
<div>
<if condition="$post['fieldXX']"><img src="http://www.yourdomain.com/forumdirectory/images/flags/$post[fieldXX].png"></if>
</div>
<!-- / flags end -->

and the flags should show.

OnyxChase 10-21-2007 12:26 AM

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
AE
AF
Afghanistan
AG
AI
AL
Albania
AM
American Samoa
AN
AO
AR
AS
AT
AU
AW
AX
AZ
BA
BB
BD
BE
BF
BG
BH
BI
BJ
BM
BN
BO
BR
BS
BT
BV
BW
BY
BZ
CA
catalonia
CC
CD
CF
CG
CH
CI
CK
CL
CM
CN
CO
CR
CS
CU
CV
CX
CY
CZ
DE
DJ
DK
DM
DO
DZ
EC
EE
EG
EH
england
ER
ES
ET
europeanunion
FAM
FI
FJ
FK
FM
FO
FR
GA
GB
GD
GE
GF
GH
GI
GL
GM
GN
GP
GQ
GR
GS
GT
GU
GW
HK
HM
HN
HR
HT
HU
ID
IE
IL
IN
IO
IQ
IR
IS
IT
JM
JO
JP
KE
KG
KH
KI
KM
KN
KP
KR
KW
KY
KZ
LA
LB
LC
LI
LK
LR
LS
LT
LU
LV
LY
MA
MC
MD
ME
MG
MH
MK
ML
MM
MN
MO
MP
MQ
MR
MS
MT
MU
MV
MX
MY
MZ
NA
NC
NE
NF
NG
NI
NL
NO
NP
NR
NU
NZ
OM
PA
PE
PF
PG
PH
PK
PL
PM
PN
PR
PS
PT
PW
PY
QA
RE
RP
RS
RU
RW
SA
SB
SC
scotland
SD
SE
SG
SH
SI
SJ
SK
SL
SM
SN
SO
SR
ST
SV
SY
SZ
TC
TD
TF
TG
TH
TJ
TK
TL
TM
TN
TO
TR
TT
TV
TW
TZ
UA
UG
UM
US
UY
UZ
VA
VC
VE
VG
VI
VN
VU
wales
WF
WS
YE
YT
ZA
ZM
ZW


GandalfDDUK 10-21-2007 05:59 AM

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.

logofreax 10-28-2007 09:15 PM

Hi, I also installed this Hack, but have same Problem like some other. In Profile I only have the Name but no Icon.

Quote:

<!-- / flags start -->
<div>
<if condition="$post['field10']"><img src="http://www.faq4mobiles.de/forum/images/flags/$post[field10].png"></if>
</div>
<!-- / flags end -->
Can you give me a hint how to fix this problem?

cu
logofreax

BoneDust 11-19-2007 03:56 AM

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 10:32 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
  • Page Generation 0.01362 seconds
  • Memory Usage 1,744KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete