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)

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.


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