Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vBulletin Flags In Postbit Details »»
vBulletin Flags In Postbit
Version: 1.00, by JacBowen JacBowen is offline
Developer Last Online: Dec 2011 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 3.6.8 Rating:
Released: 10-01-2007 Last Update: 10-02-2007 Installs: 118
Template Edits
 
No support by the author.

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



Thanks,
Jac

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 10-12-2007, 11:41 PM
GSPFAN GSPFAN is offline
 
Join Date: Oct 2006
Location: British Columbia, Canada
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Majest View Post
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?
Reply With Quote
  #33  
Old 10-14-2007, 08:53 PM
GandalfDDUK GandalfDDUK is offline
 
Join Date: Oct 2004
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #34  
Old 10-17-2007, 01:04 AM
Arrogant-One's Avatar
Arrogant-One Arrogant-One is offline
 
Join Date: Jul 2007
Location: Brisbane
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GandalfDDUK View Post
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
Reply With Quote
  #35  
Old 10-17-2007, 11:20 AM
GSPFAN GSPFAN is offline
 
Join Date: Oct 2006
Location: British Columbia, Canada
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Arrogant-One View Post
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?
Reply With Quote
  #36  
Old 10-18-2007, 11:26 AM
gRanat gRanat is offline
 
Join Date: Aug 2006
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I also have the problem with showing images of flags. I see only the countrycode...
Reply With Quote
  #37  
Old 10-20-2007, 11:03 PM
GandalfDDUK GandalfDDUK is offline
 
Join Date: Oct 2004
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #38  
Old 10-21-2007, 12:26 AM
OnyxChase OnyxChase is offline
 
Join Date: Jul 2007
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #39  
Old 10-21-2007, 05:59 AM
GandalfDDUK GandalfDDUK is offline
 
Join Date: Oct 2004
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #40  
Old 10-28-2007, 09:15 PM
logofreax logofreax is offline
 
Join Date: Jan 2005
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #41  
Old 11-19-2007, 03:56 AM
BoneDust BoneDust is offline
 
Join Date: Sep 2006
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:57 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07343 seconds
  • Memory Usage 2,309KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete