vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Add-On Releases - Country Flags - Postbit & Postbit_Legacy. vB 4.0.x (Inc GO (https://vborg.vbsupport.ru/showthread.php?t=229511)

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

Quote:

Originally Posted by papabear99 (Post 2062514)
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

Quote:

Originally Posted by Claygp (Post 2065407)
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

Quote:

Originally Posted by papabear99 (Post 2065586)
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

Quote:

Originally Posted by Gleedo (Post 2068241)
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

Quote:

Originally Posted by Terrona (Post 2070703)
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

Quote:

Originally Posted by promet (Post 2070741)
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

Quote:

Originally Posted by Terrona (Post 2076269)
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

Quote:

Originally Posted by papabear99 (Post 2073161)
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

Quote:

Originally Posted by J6488EEA8E90 (Post 2083146)
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

Quote:

Originally Posted by LordVader (Post 2086261)
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

1 Attachment(s)
Quote:

Originally Posted by zaco (Post 2101128)
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.

PHP Code:

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

Code:

<!-- 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
Code:

/flags
after
Code:

/buttons
. I could be wrong.
Charlie

shanef 09-30-2010 02:58 AM

Quote:

Originally Posted by CharlieDelta (Post 2104887)
Code:

<!-- 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
Code:

/flags
after
Code:

/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

Quote:

Originally Posted by CharlieDelta (Post 2104887)
Code:

<!-- 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
Code:

/flags
after
Code:

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

PHP Code:

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


All times are GMT. The time now is 11:02 PM.

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.01860 seconds
  • Memory Usage 1,832KB
  • 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
  • (9)bbcode_code_printable
  • (2)bbcode_php_printable
  • (13)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
  • (40)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