![]() |
just installed it with a few modifications such as full names for the states and I added provinces.... I was wondering though, when someone modifies their profile and say they pick newyorkstate.... when they click modify at the bottom everything is changed correctly but when they go to modify it again its back at alabama and I was wondering, what would I need to do to keep it at the state they picked.. get what I mean?
|
Yes...
When you made this modification, you would have needed to edit 3 different places! First is registeradult template... add your provinces etc. Code:
<td bgcolor="{secondaltcolor}"><normalfont><b>Location (City, State):</b></normalfont><br> Code:
<tr> Member.php Code:
if ($bbuserinfo[state] == 'CAN') { |
Just a clarification note for the others that are looking to install this hack... It works fully on mine. When a user edits their profile it does show their previous location and state with no problems. :)
|
Ah, it works now.. I must of done something wrong.. great hack! :)
|
Found a VERY minor bug. I had originally set up the state row in the user table to only accept 2 characters because I was only planning to use states. Then after a member notified me that everytime they selected CAN (Canada) their profile would display CA (California). So I made the change.
For those of you that have already installed this, Run this query! PHP Code:
|
Quote:
|
Very nice Justin:)
I will modify this hack to include English counties and test it out:) Satan |
bump
|
Has anyone taken this a step further and made a US map that is clickable like the one over at http://dodgetalk.com/forums/memberstates.php?s=
|
I have not done so yet, but my plans are to do so in the future so states can be sorted seperatly instead of one large listing, kinda like the way the usernames can be sorted by letter in alphabetical order.
|
All times are GMT. The time now is 07:27 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|