Search Results for 'country state city'
-
Search Results
-
hello, I added the states of my country manually in a “drop down select box” profile field, they were 27, now I want to add the cities, I could of course leave that for members to write, but I wanted it to be written in the same way and language for every user to have better search, so is there any way to copy the list of cities each in a line and it can added as profile field somehow? is there a plugin or some way to do that? this can come in handy at adding many others lists like colleges or universities in the whole country with just the list of their names.
Hi All
I would like to modify the Buddypress Registration Page to a certain look.
Ideally, I would like to have it set up as a single column with certain fields in a certain order, rather than having two columns as it is setup. So I would like to have it setup as:
1. Name
2. City
3. Province/State
4. Country
5. Email Address
6. Username
7. Password
8. Repeat PasswordRight now I am only able to modify the right column of fields as under Dashboard – Users – Profile Fields.
Can I modify without mucking around with PHP Code or is there another registration plugin I can use that will be compatible with Buddypress?
Thanks!
I have installed a plugin called WP-Geolocation (http://www.wp-geolocation.com/) which allows me display the following shortcode (see list at end) on any post and page. I was trying to add these shortcodes or javascript variables (handles both) INTO a 3 form fields called County, City and region.
using the php echo do shortcode commands… well i can echo anywhere in the code, but do you think I can “echo” INSIDE a form text field??In normal HTML or ASP this is a breeze, why is it so difficult in WP to do this? I mean the variable is there and available on every page and post (runs in header), why can i not have form value php echo do_shortcode (had to tweak that to display here) and have the field filled in on the registration form.
For us it is essential to have the users’ location at sign up, preferably I would like to use buddypress Xprofile fields to display the field at signup and the allowing the variables or shortcode to auto poulate the field… I have tried so many things, bought gravity forms, tried Formidable… no luck, something so simple…
The best plugin that anyone could develop for BuddyPress would be a better X Profile Fields Editor, allowing you to specify a SHORTCODE or variable right there and then…
Anybody want to make a quick buck and sort this for me, as i have spent 2 days JUST trying to get this done, crazy… my skype is greg.mcewan.marriott and my email greg@imediate.co.za
The variables are there, just “put them” INSIDE the form field…
VARIABLES
===========Within any blog post or page, you can use the following shortcodes:
[mmjs-countrycode] – the ISO 3166-2 country code
[mmjs-countryname] – the country name
[mmjs-city] – the city name
[mmjs-region] – the ISO 3166-2 country code (state or province abreviation)
[mmjs-regionname] – the region name
[mmjs-lat] – latitude
[mmjs-long] – longitude
[mmjs-postalcode] – post/zip code
[mmjs-ip] – ip addressThe plugin also generates corresponding JavaScript variables in your theme for use with JQuery, dynamic forms, etc:
mmjsCountryCode
mmjsCountryName
mmjsCity
mmjsRegion
mmjsRegionName
mmjsLat
mmjsLong
mmjsPostalCode
mmjsIPAddressTopic: How to add maxmind database?
Hi i have 2 questions…
1. if i want to put countries , stat and city list in register form… and want to use maxmind database… how can i integrate?
2. After i make that if i want to put a search box the someone come and find person by country ,state ,city, age , blood group…
how can make like that…
all my focus is to make website for blood donors… and a register and search form…
And i am using http://huddle.themedemo.net/ theme…
Please help…
Topic: Registration Form
Is there a way to not require so much information on the registration page? I’d like to have the fields: name, email, password, country, state, city, and age. I’d also like to have all the fields on one side so I can have an image on the other side. Also, I’m using recaptcha, is there a way to make it smaller and position it where I want it?
I’m running WP with BP and s2members, all the most updated.
Thanks!
Hi,
I’ve done some minor customization to the profile edit.php page. I created a child theme and have made all my modifications to the edit.php that I replicated there (members > single > profile > edit.php).
I’ve created CSS to align custom fields in two different profile groups how I want them. The profile groups are basic information and contact information. In the edit.php, the while loop looks for all profile edit fields, which I hardcoded to only find the fields which I created for each profile group. The problem is, the loop is somehow finding hidden fields and causing a lot of white space after all of my hard coded fields before getting to the submit button. How can I change the loop so it doesn’t find all of the additional hidden fields that its trying to display in the white space. I looked at the page in firefox using firebug and I can see that bp is finding all editable fields & displaying them again after my hardcoding. This is causing the white space. Visit http://www.recruitbk.com & log in with jahmakan5@gmail.com password: test. Select Edit profile > click basic information tab. Scroll down and you’ll see all of the white space. Here is my code on edit.php:
`
<form action="” method=”post” id=”profile-edit-form” class=”standard-form “>
<?php//$location= xprofile_get_field_data( “signup_email”);//fetch the location field for the displayed user
?><?php
global $bp;
$signup_type = get_user_meta($bp->displayed_user->id, ‘signup_email’, true);
echo $signup_type;
?><div>
<label for="”>
<input type="text" name="” id=”” value=”” /><label for="”>
<input type="text" name="” id=”” value=”” /><label for="”>
<input type="text" name="” id=”” value=”” /><label for="”>
<textarea rows="1" cols="50" name="” id=””><label for="”>
<input type="text" name="” id=”” value=”” /><label for="”>
<select name="” id=””><label for="”>
<input type="text" name="” id=”” value=”” /><label for="”>
<select name="” id=””><label for="”>
<input type="text" name="” id=”” value=”” /><label for="”>
<input type="text" name="” id=”” value=”” /><label for="”>
<select name="” id=””><label for="”>
<select name="” id=””><label for="”>
<select name="” id=””><label for="”>
<select name="” id=””><label for="”>
<select name="” id=””><label for="”>
<select name="” id=””><label for="”>
<input type="text" name="” id=”” value=”” /><label for="”>
<select name="” id=””><label for="”>
<select name="” id=””><label for="”>
<input type="text" name="” id=”” value=”” /><label for="”>
<input type="text" name="” id=”” value=”” /><label for="”>
<input type="text" name="” id=”” value=”” /><label for="”>
<input type="text" name="” id=”” value=”” /><label for="”>
<input type="text" name="” id=”” value=”” /><label for="”>
<input type="text" name="” id=”” value=”” /><label for="”>
<input type="text" name="” id=”” value=”” /><label for="”>
<input type="text" name="” id=”” value=”” /><label for="”>
<input type="text" name="” id=”” value=”” /><label for="”>
<input type="text" name="” id=”” value=”” />Athletic Information
<input type="submit" name="profile-group-edit-submit" id="profile-group-edit-submit" value=" ” />`
Here is an example of the div ids I use to reposition the fields:
`form.standard-form #edit-profile-right-column-middlename {
position: relative;
width:50%!important;
left:25%;
top:-73px;
}form.standard-form #edit-profile-right-column-lastname {
position: relative;
width:50%!important;
left:50%;
top:-150px;
}`I’m pretty good with MySql but not so hot with PHP. I’ve spent two weeks trying to figure out how to add
another field(s) to the group creation so that a few more fields would be standard for the groups (i already know about that plugin that lets group admin put in fields aftewards), hours and hours and hours on these same forums with little help. I ran across group extension API code ( http://codex.buddypress.org/developer-docs/group-extension-api/ ) but i have no idea how to use it. What do i add, and in what file do i put it in (functions.php, bp-custom.php) so that i can have group fields (at creation) for city, state, country and phone number.Any help in this is greatly appreciated.
Hi,
I would like to know how finally i can do that ? The topic have been discussed but not really resolved…. And i really need it. I can’t put a HUUUUUUGE list of city for all around Canada, i need to separate it with provinces, and i really don’t know how i can do that.
Quote:….
Is there any way I can create/download a profile field that lists all the Countries, States/Provinces, Cities???And if you select.. Canada it will only list the Provinces in Canada.
If I need to I will manually type out every single country and every single province, but I just need to know how to go about doing this.
Thanks a lot for your help.
Have a good day !Anthony
Topic: If Profile field has data?
I have this code and the fields are NOT required:
`<?php bp_member_profile_data( 'field=City' );
bp_member_profile_data( ‘field=State or Province’ );
bp_member_profile_data( ‘field=Country’ ); ?>`I’m wondering how to create the code for adding a comma(,) before the field IF the field has data
So my out put would be: City, State, Country or City, Country
Any help would be greatly appreciated.
Topic: Profile Field Filtering
Everyone says they want this, but the BP Member Filter plugin doesn’t appear to be going anywhere. Maybe it’s getting worked into the core of some future release, but who knows what it will actually do.
Right now, it is nearly impossible to find specific members in buddypress…For example, my site is real-estate-focused. It should be EASY to find a local agent or mortgage broker, but it’s virtually impossible. And, because they can’t be easily found, some are questioning the value in signing up for my site in the first place.
Here’s the concept….
Buddypress has profile fields. We should be able to search and sort by those fields.
I need them by location (pre-loaded), but the same concept could apply to profession, hobby, shoe size, or astrological sign or whatever.
For example, when someone clicks on my “Members” tab, there should be a drop-down box at the top of the page that filters by country…then, state, county, and city. Maybe there could be an option for additional filters beyond that, like my “profession” field.
Since my site is news-ish, visitors could search blog posts the same way, finding posts specific to their location.
Once this basic platform is set up, there are a ton of cool ways it could be used…
Filter results RSS feeds would could created customized newsletters
Sidebar widgets and activity streams could show community activity that match a member’s location (or shoe size or whatever).
Profile Page Sidebars could display local activity.
Using a visitor’s IP address, local member’s activity could automatically be shown…
This could be the groundwork for an entire targeted advertising program, showing ads to specific groupings of people in specific locations.
Topic: How to add user location
Hi,
I would like to know how to add user location to my registration form please.
A drop down list with example – Country
State
City
This would also make it better to sort users according to location.
I am on the latest version of Buddypress and WPMU.
Thanks a lot!