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)

Welshy2008 09-30-2010 02:12 PM

1 Attachment(s)
Quote:

Originally Posted by Pro-eSports.com (Post 2105041)
You also forget the : after "Country" and the space. .

I don't need them in vB4.0.6 and 4.0.7 or it will show like:

Country::

On postbit, I don't need to add the space, because the flags shows to the right, with the correct spaces anyway.

The following is what I have and it works great:

Code:

<!-- Wy Country Flags Start -->
<vb:if condition="$post['fieldX']"> <dt>Country</dt> <img src="http://www.myforumaddress.com/forum/images/buttons/flags{vb:raw post.fieldX}.GIF" alt="This is {vb:raw post.username}'s Country Flag" border="" /></vb:if></p>
<!-- Wy Flags End -->

Attachment below, is what it looks like:

Pro-eSports.com 09-30-2010 11:09 PM

I had your code too but the flag was below country and the : was missing for some reason. But whatever, it's working for us. :P

Is there a way to display the flag in the profile too? Mine isn't showiung up there, only in the postbit.

B?rger_von_Rado 10-14-2010 11:04 AM

nice work! Thanks!

Pro-eSports.com 10-14-2010 02:37 PM

Quote:

Originally Posted by Pro-eSports.com (Post 2105309)
I had your code too but the flag was below country and the : was missing for some reason. But whatever, it's working for us. :P

Is there a way to display the flag in the profile too? Mine isn't showiung up there, only in the postbit.

Bump!

Also, how can I get a border around the country flag profile field in the postbit legacy?
And how can I move the field up and down? I would like to have it below the location field.

elkomander 11-10-2010 12:28 AM

is this working for 4.0.8? i try it on mu forum and the image don't show up

mitch84 11-10-2010 04:25 AM

Quote:

Originally Posted by elkomander (Post 2120079)
is this working for 4.0.8? i try it on mu forum and the image don't show up

yes, work fine on vb4.0.8

Krusty1231 11-10-2010 09:55 AM

1 Attachment(s)
Quote:

Originally Posted by Pro-eSports.com (Post 2110109)
Bump!

Also, how can I get a border around the country flag profile field in the postbit legacy?
And how can I move the field up and down? I would like to have it below the location field.

This is the one I used - https://vborg.vbsupport.ru/showthrea...postbit+legacy

It works great on all my skins downloaded from here.

Hope it works for you!

xug 11-11-2010 04:38 PM

Thanks, Installed, how to make a flag or can somebody make me a flag in this format for Transylvania!!

wmguk 11-19-2010 09:30 AM

Hi Guys,

I'm using vb 4.0.8

I've uploaded all the flags - created a profile field called Country Flag and its field 44

added this to the postbit template

Code:

<!-- Wy Country Flags Start -->
<vb:if condition="$post['field44']"> <dt>Country</dt> <img src="http://www.digital-car.co.uk/forum/images/buttons/flags/{vb:raw post.field44}.GIF" alt="This is {vb:raw post.username}'s Country Flag" border="0" /></vb:if></p>
<!-- Wy Flags End -->

Tested http://www.digital-car.co.uk/forum/i...s/flags/UK.GIF shows up, which it does, however on the forums, its not there...

What did I do wrong?

Welshy2008 11-19-2010 09:51 AM

Quote:

Originally Posted by wmguk (Post 2123485)
Hi Guys,

I'm using vb 4.0.8


Ah, that would be it then. I don't have 4.0.8 to test it.

I would be happy to have a look at yours if you would be happy to make a temporary account with temporary admin permissions for me.

PM the details if you are happy to do it.

Regards,
Welshy2008.

Gav-n-Tn 11-19-2010 08:02 PM

Quote:

Originally Posted by wmguk (Post 2123485)
Hi Guys,

I'm using vb 4.0.8

I've uploaded all the flags - created a profile field called Country Flag and its field 44

added this to the postbit template

Code:

<!-- Wy Country Flags Start -->
<vb:if condition="$post['field44']"> <dt>Country</dt> <img src="http://www.digital-car.co.uk/forum/images/buttons/flags/{vb:raw post.field44}.GIF" alt="This is {vb:raw post.username}'s Country Flag" border="0" /></vb:if></p>
<!-- Wy Flags End -->

Tested http://www.digital-car.co.uk/forum/i...s/flags/UK.GIF shows up, which it does, however on the forums, its not there...

What did I do wrong?

Same for me. The coding must be different for 4.0.8 . The ones that had it on 4.0.6 or .7 and upgraded to 8, it probably converted the templates automatically. If one of them could post how the new code looks, we'd be set. I think :)

Krusty1231 11-20-2010 06:11 AM

Dunno if this would help you or not? This is the one I use - have used from 4.0.4 to 4.0.8 with no issues.

Code:

<!-- Wy Country Flags Start -->
<vb:if condition="$post['field6']"><style="text-align:left"> Country:</dt> <img src="{vb:stylevar imgdir_button}/flags/{vb:raw post.field6}.GIF" align="middle" alt="Users Country Flag" border="" /></vb:if>
<!-- Wy Flags End -->

Never hurts to try.

Of course - change my field (6) to whatever you use!

basilrath 11-20-2010 07:13 AM

works on 4.0.8 no issues at all

NPGamers.Net 11-29-2010 03:47 AM

installed @ npgamers.net Perfect mod!

kfyonur 11-29-2010 08:50 AM

it is working thanx.

yjeanrenaud 11-29-2010 09:04 AM

Switzerland's GIF is namend Suisse. damn. but thanks a lot for your mod. It helped me writing my own.

tygersclaw 12-02-2010 10:02 PM

Quote:

Originally Posted by Krusty1231 (Post 2123787)
Dunno if this would help you or not? This is the one I use - have used from 4.0.4 to 4.0.8 with no issues.

Code:

<!-- Wy Country Flags Start -->
<vb:if condition="$post['field6']"><style="text-align:left"> Country:</dt> <img src="{vb:stylevar imgdir_button}/flags/{vb:raw post.field6}.GIF" align="middle" alt="Users Country Flag" border="" /></vb:if>
<!-- Wy Flags End -->

Never hurts to try.

Of course - change my field (6) to whatever you use!

Thanks that worked perfect for me.

motorola 12-03-2010 07:49 AM

How to uninstall this ?

Welshy2008 12-03-2010 08:04 AM

Quote:

Originally Posted by Krusty1231 (Post 2123787)
Dunno if this would help you or not? This is the one I use - have used from 4.0.4 to 4.0.8 with no issues.

Code:

<!-- Wy Country Flags Start -->
<vb:if condition="$post['field6']"><style="text-align:left"> Country:</dt> <img src="{vb:stylevar imgdir_button}/flags/{vb:raw post.field6}.GIF" align="middle" alt="Users Country Flag" border="" /></vb:if>
<!-- Wy Flags End -->

Never hurts to try.

Of course - change my field (6) to whatever you use!


Thank You.

Quote:

Originally Posted by motorola (Post 2128736)
How to uninstall this ?

I'm sorry to see that you wish to uninstall it.

If you still want to do so, just do the reverse to what you did to install it.

basilrath 12-03-2010 12:03 PM

Just incase you need some variety lol

http://www.tabletennistalk.co.uk/for...ags/pirate.GIF

Mustiii 12-07-2010 01:56 PM

I would need some custom flags. Is it possible to create them? It would be a big help for my Forum.

20KingSize 12-20-2010 04:13 AM

i love this modification but im finding that there are some missing images

Vatican.GIF
Mariana Island.GIF

are two that ive noticed so far. is there any way to get hold of the images that are missing? i did manage to find Mariana Island.gif

hope i dont sound ungrateful or anything i really would like to use this mod on my forums its great :)

Krusty1231 12-20-2010 11:06 AM

1 Attachment(s)
Here is your Vatican.Gif (Taken from another thread here - not my work) just passing it along!

Enjoy!

20KingSize 12-20-2010 12:08 PM

thank you very much Krusty1231 much appreciated :)

ive just worked out it was in the flag folder but it was called Holy See.GIF for some strange reason. thanks once again because i hate seeing missing images im very OCD like that lol

glen290 12-28-2010 10:29 AM

Has anybody got this working on 4.1.0, stopped working when I upgraded..

Sunka 12-28-2010 08:18 PM

Working on my site wery well!

K!nG 01-06-2011 02:25 AM

anyone got it working on 4.1.0 ???? i tried didn't work

Digital Jedi 01-06-2011 03:03 AM

Did you check to make sure the style edits where still there?

luffyua 01-06-2011 04:58 AM

It's working perfectly on my vb 4.0.1 pl2. As said above make sure the style and template edits are still there

Welshy2008 01-06-2011 06:57 AM

Quote:

Originally Posted by luffyua (Post 2144759)
It's working perfectly on my vb 4.0.1 pl2. As said above make sure the style and template edits are still there


Thank you for that. :)

Mustiii 01-06-2011 08:30 PM

The flags are very good animated is it possible to get any custom flags? Would be very usefull.

Welshy2008 01-07-2011 07:02 AM

Quote:

Originally Posted by Mustiii (Post 2145112)
The flags are very good animated is it possible to get any custom flags? Would be very usefull.

Unfortunately not, sorry. I didn't make them. :(

Mustiii 01-07-2011 02:20 PM

Quote:

Originally Posted by Welshy2008 (Post 2145337)
Unfortunately not, sorry. I didn't make them. :(

Maybe you know the creator? It would be even helpfull to get the default data to make the flags by myself.

Welshy2008 01-07-2011 02:32 PM

Quote:

Originally Posted by Mustiii (Post 2145451)
Maybe you know the creator? It would be even helpfull to get the default data to make the flags by myself.


The creator of the flags is a friend of the original creator of this mod. I have already contacted him, and in turn, he has contacted his friend. His friend did say that he would do some, but that was a long, long time ago.


Nothing came of it. :(

Mustiii 01-07-2011 05:01 PM

Quote:

Originally Posted by Welshy2008 (Post 2145454)
The creator of the flags is a friend of the original creator of this mod. I have already contacted him, and in turn, he has contacted his friend. His friend did say that he would do some, but that was a long, long time ago.


Nothing came of it. :(

Mhh ok i would even think about to pay for it because the animation is really good made i didnt saw a better flag animation for this time.

OldSchoolDSL 01-07-2011 11:16 PM

Installed

4.1 PL2

NOTE:

But this only worked when I applied it to postbit_legacy and thus, can not seem to get it to apply under the user's post count (as I'd like it to be).

Dragaon 01-26-2011 03:28 PM

Installed 4.1.0 pl2

I replaced
Code:

alt="Users Country Flag"
with
Code:

alt="{vb:raw post.fieldX}"
To get the Country Name on mouseover instead of the static Users Country Flag message.

Great mod, thanks!

OldSchoolDSL 01-26-2011 05:46 PM

Quote:

Originally Posted by Dragaon (Post 2154915)
Installed

I replaced
Code:

alt="Users Country Flag"
with
Code:

alt="{vb:raw post.fieldX}"
To get the Country Name on mouseover instead of the static Users Country Flag message.

Great mod, thanks!

This cleaned up my community nicely.

Thanks for this tweak.

Installed & applied
4.1.1

K!nG 02-05-2011 04:15 PM

I installed on my forum .... i can choose country name and everything from profile but for some reason it doesn't show up when i go on forum/threads. can someone tell me what am i missing ???
how do u "make sure the style and template edits are still there" ??

fusionpot 02-06-2011 12:00 PM

Quote:

Originally Posted by K!nG (Post 2159092)
I installed on my forum .... i can choose country name and everything from profile but for some reason it doesn't show up when i go on forum/threads. can someone tell me what am i missing ???
how do u "make sure the style and template edits are still there" ??

i have this same issue.


All times are GMT. The time now is 11:19 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.01881 seconds
  • Memory Usage 1,833KB
  • 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
  • (10)bbcode_code_printable
  • (16)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