Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Enhanced "Location" and "Mobile" Fields in Profile Details »
Enhanced "Location" and "Mobile" Fields in Profile
Mod Version: 1.00, by veenuisthebest (Member) veenuisthebest is offline
Developer Last Online: Feb 2012 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.8 Rating: (3 votes - 4.67 average) Installs: 14
Released: 21 Mar 2008 Last Update: 21 Mar 2008 Downloads: 134
Not Supported DB Changes Template Edits Re-usable Code  

**************veenuisthebest*****************
************Visit Tech6.com*****************

Enhanced "Location" and "Mobile" Fields in Profile

Difficulty: Very Easy


Q. What does it do ??

A. Replaces Location Field in Member Profile with a Single Selection Menu with all the country names listed so as to encourage users to fill up the field. Also, adds up a Mobile Field of type Single Selection Menu with almost every Mobile Phone model listed.

Q. Do I need this ??

A. You DEFINATELY should have a menu for Location field as it looks far better than a regular text field. Mobile field is yet up to you, but with this mobile selection menu, you're for sure going to attract your members.


File Changes: 0
Template Edit:
1 if you wish to show these fields in postbit.
0 if you do not wish to show these fields in postbit.


Begins here:-

1. Go to your AdminCP -> User Profile Fields -> User Profile Field Manager and simply delete the default Location Field. Do not worry, we really do not need this.

2. Now, Add New User Profile Field -> Single Selection Menu with following details:-

Title: Location
Description: Where you live
Options: Download Country List here (copy contents as it is)
Set Default: NONE
Display Order: Upto You (usually 1 or 2)
Field Required: No
Field Editable: Yes

..Leave rest as default

3. SAVE.

4. Again, Add New User Profile Field -> Single Selection Menu with following details:-

Title: Phone
Description: Which cell phone model you have
Options: Download Phone List here (copy contents as it is)
Set Default: NONE
Display Order: Upto You
Field Required: No
Field Editable: Yes

..Leave rest as default

5. SAVE.

6. Now, if you wish to show these fields in postbit, go to postbit template, and make the following minor edits:-

For COUNTRY:-

Find:-


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Add Under:-


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Note:- You may find the same line of code right beneath it, simply delete it.


For PHONE:-

Paste the following lines of code below the above mentioned Location Display code:-


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


WAIT:- You must set fieldX to the actual field names for both Country and Mobile respectively. For this, go to User Profile Field Manager and notice the Name column.

7. DONE !!!!!!

Now, just go to Edit Profile link on your Forum and you'll find PHONE and LOCATION fields under Additional Information. Fill them up -> Save Changes.


Hope you liked my first mod, simple but useful. I am sure, you are definately going to use this..

Please click INSTALL if you find it useful !!


***************************************************************************
***************************************************************************

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	editprofile.jpg
Views:	328
Size:	34.4 KB
ID:	77525   Click image for larger version

Name:	postbit.jpg
Views:	325
Size:	26.5 KB
ID:	77526  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 23 Mar 2008, 01:36
veenuisthebest's Avatar
veenuisthebest veenuisthebest is offline
 
Join Date: Mar 2008
Real name: Vinayak
hey guys, please click INSTALL if you download !!

I know you liked the Phone and Country list..
Reply With Quote
  #3  
Old 13 Apr 2008, 11:48
GTX2 GTX2 is offline
 
Join Date: Jun 2006
installed
i run a mobile phone discussion forum, for me the phone list is very useful
Reply With Quote
  #4  
Old 18 Apr 2008, 21:38
Shaheen's Avatar
Shaheen Shaheen is offline
 
Join Date: Nov 2006
nice hack but what about the members who already have their location .
Do they need to set it again or no ?
Reply With Quote
  #5  
Old 28 Apr 2008, 20:12
veenuisthebest's Avatar
veenuisthebest veenuisthebest is offline
 
Join Date: Mar 2008
Real name: Vinayak
yess.. they have to set it again !! coz you are deleting the default Location field..
Reply With Quote
  #6  
Old 28 Jun 2008, 13:10
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Is there a way to show the old location value, when a member has not updated the new location field?

This hack doesn't seem to work for profiles and other parts of vbulletin.
Reply With Quote
  #7  
Old 28 Jun 2008, 13:46
veenuisthebest's Avatar
veenuisthebest veenuisthebest is offline
 
Join Date: Mar 2008
Real name: Vinayak
Is there a way to show the old location value, when a member has not updated the new location field?
Not with this hack atleast, coz you're just creating few profile fields.

This hack doesn't seem to work for profiles and other parts of vbulletin.
What other parts ?

It works for me in my profile, posts and all other areas (vb 3.7)
http://tech6.com/member.php?u=1

Last edited by veenuisthebest; 23 Oct 2009 at 05:28.
Reply With Quote
  #8  
Old 22 Oct 2009, 21:40
mpoorrajab's Avatar
mpoorrajab mpoorrajab is offline
 
Join Date: Mar 2007
Real name: milad poorrajab
Hey.
ty for this great hack
but i only want that Part for Cell-Phones.
is there any way?
ty very much
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 08:35.

Layout Options | Width: Wide Color: