vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Countries/States fields as options(over 30 fields) (https://vborg.vbsupport.ru/showthread.php?t=61332)

Charlie Argueta 02-13-2004 08:30 AM

Is it possible to make this field as a required field?, I would like that my users select their real countries insted of "At my home", "Asumed to be earth", etc.

See Ya

Boofo 02-13-2004 08:32 AM

Quote:

Originally Posted by Dean C
Fixed the typo in your thread title :)

I liked Mist better. ;)

mtha 02-13-2004 09:15 AM

Quote:

Originally Posted by Charlie Argueta
Is it possible to make this field as a required field?, I would like that my users select their real countries insted of "At my home", "Asumed to be earth", etc.

See Ya

You can set the field as required in field property/

Charlie Argueta 02-23-2004 12:45 PM

Quote:

Originally Posted by mtha
You can set the field as required in field property/

Thanks for the info ;)

sabret00the 04-02-2004 02:51 PM

this is an awesome hack, more people should work on listing different states/provinces from around the world :)

kolorom 06-16-2004 06:14 AM

I so stupid 8( but what file i have to edit register.php? yes i cannot find 'register_customfields', at that file.
includes/functions_profile.php that file is apsent 8(

and in memberlist.php i cannot find
if ($profilefield['type'] == 'input' OR $profilefield['type'] == 'textarea')
{
$bbuserinfo["$profilefieldname"] = '';
eval('$customfields .= "' . fetch_template('register_customfields') . '";');
}

I use 3.0.1 8( can you help me*?
Thanks for all.

mtha 06-16-2004 07:31 AM

Quote:

Originally Posted by kolorom
I so stupid 8( but what file i have to edit register.php? yes i cannot find 'register_customfields', at that file.
includes/functions_profile.php that file is apsent 8(

and in memberlist.php i cannot find
if ($profilefield['type'] == 'input' OR $profilefield['type'] == 'textarea')
{
$bbuserinfo["$profilefieldname"] = '';
eval('$customfields .= "' . fetch_template('register_customfields') . '";');
}

I use 3.0.1 8( can you help me*?
Thanks for all.

Sorry, when I did the upgrade, vBulletin.org was down, and I only update over vbulletin.nl :D

http://www.vbulletin.nl/community/sh...7480#post27480


anyway, I have upgraded the first post to version 2.0, for both country and state mod.

Check the file out, and tell me if you still have difficulty.



Quote:

looks great i need to investigate properly as i was looking for one that would drop down on location, you'd select your country then it would open another drop down to select state/region/province then it would do another for city and then a final input box for you to type a more specific location, if this does this yay, if not i'll have to hope i inspired you
then you will have to have a list of "states/regions/provinces" for many countries ... which is ... not very important to me.

there're many ways to do this, but the easiest way (i think) is to add a javascript, with a redirect function.

check example at http://webreference.com/dev/menus/intro2.html

I dont even use state hack, dont have any list of states for any country other than US, so I dont think it's that useful

Erwin 06-16-2004 10:56 PM

You can do this without a hack by using custom profiles in vB3. :) Just letting members know.

criscokid 06-20-2005 09:30 AM

Quote:

Originally Posted by sabret00the
looks great i need to investigate properly as i was looking for one that would drop down on location, you'd select your country then it would open another drop down to select state/region/province then it would do another for city and then a final input box for you to type a more specific location, if this does this yay, if not i'll have to hope i inspired you ;)

This is exactly what I'm looking for.

But I'd like to take it a step further... so you've got 3 fields - Country, State & City - take the content of those three fields and string them together to populate vbulletin's Location field. Why do I want to do this? That field gets displayed in vBulletings postbit in the forums and in other applications that user vBulletins user database - like PhotoPost and ReviewPost does.

Borimikan 07-02-2005 07:26 PM

could u please make add an add-on that show flags countries in user profile

NOTE: WHY quick Reply quote can NOT be used?


All times are GMT. The time now is 11:30 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.01228 seconds
  • Memory Usage 1,740KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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