vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Country Flag Hack v2.0 (https://vborg.vbsupport.ru/showthread.php?t=27485)

DPoole 06-22-2003 09:30 PM

flag dont look squashed to me - thats the way its shows and looks ok

add <br> before and after it to make a space

Splitfyre 06-22-2003 10:19 PM

Thanks. Ya I found that it was just the Australia flag that's squished in that flag icon set.

Splitfyre 06-26-2003 04:34 AM

Quick Question: I have Country showing up twice in my registration.

I've checked the register.php file and I've also checked the registration templates. Why would the Country selection showup twice?

http://www.futurelooks.com/forums/register.php

Ninth Dimension 06-28-2003 02:24 AM

Just installed this hack on a 2.3.0 board, and it's working a charm, thank you very much

Quote:

09-06-01 at 10:46 AM AJR said this in Post #1
Known Problems:
- Countries with a dash (-) or comma (,) will not show up
automatically in as selected when you or the member edit
their profile (Congo, Korea, and Micronesia are the only 3)
Anyone know a fix please let me know.

Taking a very quick glance as your code, I think it's not working because you are using variables named after the countries to call whichever country needs to be selected. In thory this works, until an invalid char comes into the arrangement, amnd breaks the variable.

In other words $ctryTogoselected - $ctryUnited_Kingdomselected & even $ctryBritish_Indian_Ocean_Territoryselected are all valid variable names, but $ctryUmm_al-Qaiwanselected is not. (all the computer see's is $ctryUmm_al).

Update the variables to remove the hyphens and comma's and it will work

(sorry if someone else has already posted this soloution, i've not read the thread or anything, i just knew this was the problem from looking at the code.

anyway, like i said, great hack, thank you very much.

Ninth Dimension 06-28-2003 02:33 AM

Quote:

06-26-03 at 06:34 AM Splitfyre said this in Post #243
Quick Question: I have Country showing up twice in my registration.

I've checked the register.php file and I've also checked the registration templates. Why would the Country selection showup twice?

http://www.futurelooks.com/forums/register.php


It's controled by the template, i can't see a mistake in the file edit causing this, all I can suggest is that you maybe use my template, it's unmodified (bar the flag hack that is).

it's attached as a .txt

Sin City 06-29-2003 12:57 AM

great hack.... i used it along with the store ... only problem is.... when i buy the flag... it shows up in the "Your Country Flag" option in the store in the "Country" field.... but i don't see a flag anywhere in my posts, or in the member list... what's wrong?

also, when a new user tries to sign up it says to make sure and fill out all necessary fields, even though they have filled them all in (there is no profile field for the flag either since its in the store)... what can i do to fix that?

ajk 06-29-2003 12:59 AM

The users at Drumsmith.com really like the Country Flag hack.

Is there a way I can use the small flags in one place, then use the large in another?

Thanks

Sin City 06-30-2003 06:10 AM

Quote:

Yesterday at 02:57 AM Sin City said this in Post #246
great hack.... i used it along with the store ... only problem is.... when i buy the flag... it shows up in the "Your Country Flag" option in the store in the "Country" field.... but i don't see a flag anywhere in my posts, or in the member list... what's wrong?

also, when a new user tries to sign up it says to make sure and fill out all necessary fields, even though they have filled them all in (there is no profile field for the flag either since its in the store)... what can i do to fix that?

bump

Sin City 07-01-2003 02:45 AM

can anyone help me please?

Ninth Dimension 07-01-2003 08:04 AM

Quote:

06-29-03 at 02:57 AM Sin City said this in Post #246
great hack.... i used it along with the store ... only problem is.... when i buy the flag... it shows up in the "Your Country Flag" option in the store in the "Country" field.... but i don't see a flag anywhere in my posts, or in the member list... what's wrong?

also, when a new user tries to sign up it says to make sure and fill out all necessary fields, even though they have filled them all in (there is no profile field for the flag either since its in the store)... what can i do to fix that?

From the sounds of it you have not made any of the template changes, i recomend going back to the instructions and following them again.


All times are GMT. The time now is 10:01 AM.

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.02507 seconds
  • Memory Usage 1,742KB
  • 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_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
  • (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