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)

RedHacker 02-20-2010 12:32 PM

What cant show the flags property...? I have FF 3.6 Version....

MichaelDance 02-20-2010 06:47 PM

Quote:

Originally Posted by RedHacker (Post 1987252)
What cant show the flags property...? I have FF 3.6 Version....

What do you mean your Firefox not showing the badges or you carnt edit or see the flags property?

RedHacker 02-20-2010 08:12 PM

Quote:

Originally Posted by MichaelDance (Post 1987547)
What do you mean your Firefox not showing the badges or you carnt edit or see the flags property?

I upload screenshot in Monday...

balkanboy 02-21-2010 10:39 PM

Still would like a fix with this even with FF not only the image is disordered the layout isn't correctly aligned....

MichaelDance 02-21-2010 11:30 PM

Quote:

Originally Posted by balkanboy (Post 1988420)
Still would like a fix with this even with FF not only the image is disordered the layout isn't correctly aligned....

They worked fine with me when i was on firefox 3.5 with Vb4.0.1 so im not sure why they arent for you. You just need the new zips which i uploaded with the names of the flags or they wont show up.

balkanboy 02-21-2010 11:58 PM

i opened your images and the files still dont should correctly.... mind you not from the site i right even tested it locally right click open with firefox = same issue the GIF file doesnt seem to display correctly.... mmm, check the site on my sig let me know if it appears correctly so far i tried 2 other machines they display the same results hrmm

*Update*

Okay i have checked a third PC with FF GIF displayed correctly but its under "country" not beside it like the mood mod...

RedHacker 02-22-2010 04:32 AM

With FF 3.6 Show this...

http://img42.imageshack.us/img42/9677/36254840.jpg

Welshy2008 02-22-2010 08:44 AM

Quote:

Originally Posted by balkanboy (Post 1988420)
Still would like a fix with this even with FF not only the image is disordered the layout isn't correctly aligned....


Unfortunately, I have no control over FF, and I am unable to re-align everyones flag layout to suit. I did mention that if you would like to move or do anything else, then YOU are free to do so.

I will support as much as I can to get them working on your forum. On your forum, they are.

Welshy2008 02-22-2010 08:49 AM

Quote:

Originally Posted by balkanboy (Post 1988450)
i opened your images and the files still dont should correctly.... mind you not from the site i right even tested it locally right click open with firefox = same issue the GIF file doesnt seem to display correctly.... mmm, check the site on my sig let me know if it appears correctly so far i tried 2 other machines they display the same results hrmm


*Update*

Okay i have checked a third PC with FF GIF displayed correctly but its under "country" not beside it like the mood mod...

Quote:

Originally Posted by RedHacker (Post 1988575)


As I have already explained. They are like this because of a bug in FF. They are perfect in IE.

Firefox is out of my control. Have you reported this bug to Firefox?

RedHacker 02-22-2010 09:01 AM

Sorry Welshy2008 i dont know...

No i not reported to firefox because not speak good English

Stefanus 02-22-2010 05:50 PM

Quote:

Originally Posted by balkanboy (Post 1988450)
Okay i have checked a third PC with FF GIF displayed correctly but its under "country" not beside it like the mood mod...

This is the code i use: (tested on FF and IE8)
Code:

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

You might have to add css code to format the Country flag, look at your Vmood css and do something simmilar for the country flags to have it display the same.

sinikuk 02-22-2010 08:05 PM

1 Attachment(s)
Hi thanks for the mod. I was wondering how I can get the flags to show up next to users name in the latest posts.

See attatched, any help would be appreciated.

Thanks

MichaelDance 02-22-2010 08:22 PM

I dont know why all you people are having trouble with this mod, i found it easy to follow ad installed it correctly.

The only problem i had was the names of the flags.

I use and checked my old VB4.0.1 with the following Browsers whichi worked fine:

Internet Explorer 8

Firefox 3.5

Google Chrome

Im also on Windows Vista..

Erm everything worked fine and its very very good.. if nothing works try another browser is what i myself recommend...

If you need the names of the flags read the last pages and see my zips which are full rights to the developer of this mod, i just renamed them.. First make sure you follow his Installation rules.

basilrath 02-22-2010 08:26 PM

it is worth pointing out the UK.GIF should be UK.gif .......... pedantic but needs to be changed

it can be added into the same structure as real name and other postbit mods like this postbit

HERE

balkanboy 02-22-2010 10:55 PM

Quote:

Originally Posted by Stefanus (Post 1988947)
This is the code i use: (tested on FF and IE8)
Code:

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

You might have to add css code to format the Country flag, look at your Vmood css and do something simmilar for the country flags to have it display the same.

thanks mate that alignment works :D:D:D

sinikuk 02-23-2010 07:59 AM

Quote:

Originally Posted by sinikuk (Post 1989086)
Hi thanks for the mod. I was wondering how I can get the flags to show up next to users name in the latest posts.

See attatched, any help would be appreciated.

Thanks

Anyone have any ideas?

Stefanus 02-23-2010 07:14 PM

Quote:

Originally Posted by sinikuk (Post 1989460)
Anyone have any ideas?

Find the following:

Forum Home Templates
forumhome_lastpostby
Code:

        <div class="lastpostby">
        <vb:if condition="$lastpostinfo['lastposterid']">
                {vb:rawphrase by_x_memberaction, {vb:raw memberaction_dropdown}}

      (Place your code here)

        <vb:else />
                {vb:rawphrase by_x_guest, {vb:raw lastpostinfo.lastposter}}
        </vb:if>
        </div>


sinikuk 02-23-2010 07:31 PM

Hi and thanks for the reply, I did try that but the flags do not show?

Heres the code I used for legacy and it works fine, but when I place it in forumhome_lastpostby nothing.

Code:

<vb:if condition="$post['field9']"> <img src="{vb:stylevar imgdir_button}/flags/{vb:raw post.field9}.gif" alt="Users Country Flag" border="" /></vb:if>

sinikuk 02-24-2010 05:32 PM

Is there anyone one else who might know how to do this, Ive been trying for 2 days now lol.

MichaelDance 02-25-2010 12:32 AM

Hello, do you have msn, if you do add michaeldance@live.co.uk and i can help you step by step.

Also if needed i can do it for you if you would like me too.

sinikuk 02-25-2010 05:37 AM

Hi, I have it working but want it to show in lastpost next to the users name aswell.

https://vborg.vbsupport.ru/attachmen...7&d=1266876210

pushpullbar 03-03-2010 12:48 AM

Thanks for posting this. I wanted to reinstate the flags since upgrading to vb4

Here is a little trick on how you can make it so when you hover the cursor over the flag, you actually get the name of the country.

PHP Code:

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

make sure of course you change the X to the correct field number.

It's a great way to learn country flags.

Welshy2008 03-03-2010 10:53 AM

Quote:

Originally Posted by pushpullbar (Post 1995684)
Thanks for posting this. I wanted to reinstate the flags since upgrading to vb4

Here is a little trick on how you can make it so when you hover the cursor over the flag, you actually get the name of the country.

PHP Code:

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

make sure of course you change the X to the correct field number.

It's a great way to learn country flags.


Thank You very much for that Mate - you have saved me doing it. I have been meaning to do it for a while, but never got around to it.

sinikuk 03-03-2010 06:51 PM

But I guess you don't know how to get the flag to display in lastpost?

princeedward 03-03-2010 08:02 PM

nice...HERE IS MY WAY!

vbbforfree 03-05-2010 03:43 AM

You did not enter the correct format for the Country Flag field. Please read the field description for the expected format.
How ???

Welshy2008 03-05-2010 08:00 AM

Quote:

Originally Posted by vbbforfree (Post 1997477)
You did not enter the correct format for the Country Flag field. Please read the field description for the expected format.
How ???

Who are you replying too?

Extra PC 03-05-2010 04:01 PM

thanks installed


http://www.extra-pc.com/vb/showthread.php?t=2594

TheHardest 03-05-2010 05:57 PM

All the flags are looking weird on my forums. :-/

https://vborg.vbsupport.ru/

archet1337 03-09-2010 03:01 AM

This mod works perfectly in postbit, but I would like to know if it's possible to show the actual flag in the memberlist and not just the text?

A693BCBAFD72 03-10-2010 01:14 PM

Thanks for your work. I can't get this to work; I've done everything by the book, but I do not have this in User profile field: "Options = (OPTIONS)"! That field is missing ... Do I have to install another plugin in order to get the "Options" field?

Thanks in advance.

Welshy2008 03-10-2010 01:37 PM

Quote:

Originally Posted by TheHardest (Post 1997937)
All the flags are looking weird on my forums. :-/

http://www.deltaops.eu/forums4.0/ima...d%20States.GIF

There is a known bug in Firefox (I trust you mean that you are seeing it displayed weirdly in that browser)?.

Quote:

Originally Posted by archet1337 (Post 2000203)
This mod works perfectly in postbit, but I would like to know if it's possible to show the actual flag in the memberlist and not just the text?

I haven't a clue - to be honest. That is something that I would have to look into.

Quote:

Originally Posted by A693BCBAFD72 (Post 2000893)
Thanks for your work. I can't get this to work; I've done everything by the book, but I do not have this in User profile field: "Options = (OPTIONS)"! That field is missing ... Do I have to install another plugin in order to get the "Options" field?

Thanks in advance.

Can You PM me your forum address?

A693BCBAFD72 03-10-2010 03:36 PM

Check your PM Welshy.
Thanks.

Welshy2008 03-10-2010 06:35 PM

I Have replied.

Welshy2008 03-10-2010 06:39 PM

Please also click "Installed" and rate accordingly, when I/you complete the install. :)

Welshy2008 03-10-2010 07:03 PM

Ok,

I have done that for you and tested it all out with various flags.

All it was is that you selected "Sinlee Text line" instead of "single selection menu" and you only changed one of the "X"'s in the postbit_legacy code.

I had to delete your old "profile field" as I was unable to edit it. (strangely).

So I re-entered the new number in the BOTH 'X' positions and the country flags now work.

Enjoy,

Best Wishes,

Welshy2008.

A693BCBAFD72 03-11-2010 07:26 AM

That I didn't understand: within vB settings the Postbit selected as Legacy or simple, I had no go ... I didn't realize that only one "X" field was set ... My bad.
Well done, Welshy. Hell of a job! Regarded with a 5 star!
Thanks.

Cheers,
Alex

Extra PC 03-11-2010 07:46 AM

hot to change this (This is {vb:raw post.username}'s Country Flag)

to (this is the flag of USA By (user name)

Welshy2008 03-11-2010 10:47 AM

Quote:

Originally Posted by A693BCBAFD72 (Post 2001398)
That I didn't understand: within vB settings the Postbit selected as Legacy or simple, I had no go ... I didn't realize that only one "X" field was set ... My bad.
Well done, Welshy. Hell of a job! Regarded with a 5 star!
Thanks.

Cheers,
Alex



You're Welcome Alex.

Welshy2008 03-11-2010 10:48 AM

Quote:

Originally Posted by Extra PC (Post 2001406)
hot to change this (This is {vb:raw post.username}'s Country Flag)

to (this is the flag of USA By (user name)


Sorry, I realise what you mean.

<!-- Wy Country Flags Start -->
<vb:if condition="$post['fieldX']"> <dt>Country:</dt> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<img src="http://www.youraddresshere/forum/images/buttons/flags/{vb:raw post.fieldX}.GIF" alt="This is the flag of {vb:raw post.fieldX} By {vb:raw post.username}" border="0" />
</vb:if>
<!-- Wy Flags End -->


Don't forget to change the forum address and replace the THREE (3) 'X's with the Field ID.


LET me know how you get on with that. ;)


All times are GMT. The time now is 04:21 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.01975 seconds
  • Memory Usage 1,848KB
  • 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
  • (4)bbcode_code_printable
  • (2)bbcode_php_printable
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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