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)

cyber3 12-06-2009 02:19 AM

I cant get the flags to show on Beta 5 ??

I even changed the path to be the absolute URL, and I can see the flags via the direct url, but they are not showing on the users profile area - the option to select Country shows in the edit profile, and you can select your country (in text) does not show graphic flag.

PROBLEM SOLVED!!!

SİMAR 12-06-2009 01:48 PM

thanks nice man

Welshy2008 12-06-2009 07:04 PM

Quote:

Originally Posted by cyber3 (Post 1926073)
I cant get the flags to show on Beta 5 ??

I even changed the path to be the absolute URL, and I can see the flags via the direct url, but they are not showing on the users profile area - the option to select Country shows in the edit profile, and you can select your country (in text) does not show graphic flag.



PROBLEM SOLVED!!!


What was the problem after? Root to files?

Welshy2008 12-06-2009 08:10 PM

Quote:

Originally Posted by SİMAR (Post 1926287)
thanks nice man

You're Welcome.

Abu Noor 12-07-2009 06:24 PM

This is cool, but my members in Switzerland are very annoyed that there is no flag for their country.

sean-zigster 12-08-2009 02:39 PM

great mod looks quality, 1 thing how do you get it to show in the members list if possible ?

Welshy2008 12-09-2009 01:52 PM

Quote:

Originally Posted by sean-zigster (Post 1927291)
great mod looks quality, 1 thing how do you get it to show in the members list if possible ?

Good Question.

I have had a look on mine and it isn't showim=ng on there either. Even though the "Yes" is selected to show in "Member List".

This should be standard through vB.

Britmovie 12-12-2009 06:39 AM

Hi got it all set up but no image showing just a blank space see britmovie profile www.britmovie.net it may be as my theme is root/syles/xmas but not certain what to change...any help would be great!

Welshy2008 12-12-2009 08:14 PM

Been to have a look, but it says that the site is down for Mainanence.

Welshy2008 12-12-2009 10:47 PM

Quote:

Originally Posted by Britmovie (Post 1929203)
Hi got it all set up but no image showing just a blank space see britmovie profile www.britmovie.net it may be as my theme is root/syles/xmas but not certain what to change...any help would be great!

Do you mean that you have changed the 'buttons' folder to 'styles' and the 'flags' folder to 'xmas'? (I don't believe you did).

OR

Your Route is for example:

Code:

http://www.britmovie.net/styles/xmas/

If the latter, you will need to add (If you haven't already got one in there) a folder and name it 'images', then - in that folder add another one and name it 'buttons' and finally, add a folder within the buttons and name it 'flags'.


Your route will then look like this:

Code:

http://www.britmovie.net/styles/xmas/images/buttons/flags

Then you change the following (that is in Bold Red) in your Postbit or Postbit_Legacy (whichever you use)...


Code:

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


And add
Code:

http://www.britmovie.net/styles/xmas/images/buttons
in its place...


... It will then look like this...


Code:

<!-- Wy Country Flags Start -->
<vb:if condition="$post['fieldX']"> Country: <img src="http://www.britmovie.net/styles/xmas/images/buttons/flags{vb:raw post.fieldX}.GIF" alt="Users Country Flag" border="" /></vb:if>
<!-- Wy Flags End -->




Let me know how you get on. If you'd like to, I could have a look at it for you.


Also, DON'T forget that in the TWO fieldX places - You will need to change the 'X' to the FieldID number that shows in your profile field (As can be seen in my Attachments in my 1st post / OP).


All times are GMT. The time now is 04:55 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.01196 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
  • (5)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