![]() |
|
|
Mod Options |
Sort Members By State! Details »»
|
|||||||||
|
This modification is in the archives.
Well since no one offered to make it for me, I have made it myself. I now have the full working version of the sort by state hack.
This is a rather large hack, although easy. Install Time: 15 mins Alright basically, I took out the default Location field in the vbulletin registration process and hardcoded a new one in. This does require you to lose data regarding you members locations. Simply PM all of them and ask them to update their profiles afterwards making the change. Anyways. When you do sort by state, I took into account that some people will not return to your site and/or will not edit their profile, and therefor when you do sort by state, anyone with an invalid or blank state field will not be displayed. On my site this is a required field and it is set up that way in this hack. You can see a live sample of this hack at my site, http://www.thunderbirdnest.com/vb/me...?s=&what=state Alright... one more thing before we get to the file. There is more to come in the future. 1) Admin Functions - I would like to add the ability for admins to edit the location of members after this hack. They can still do if via the database. 2) State by State Sorting - View members from a single state of your choosing instead of all states. THIS HACK IS ONLY SET UP TO SUPPORT THE UNITED STATES AND CANADA! BUT IT CAN BE EASILY MODIFIED FOR THOSE THAT NEED IT BY COUNTRY! Please read through the hack slowly and carefully and as normal back up your files before you edit them. One final note I promise. Thanks to hellsatan for his assistance on a few sections of this hack. I greatly appreciated his assistance. DOWNLOAD ATTACHMENT HERE! Download Now Only licensed members can download files, Click Here for more information. Show Your Support
No members have liked this post.
|
|||||||||
| Comments |
|
#2
|
|||
|
|||
|
Screenshots time!
This is the memberlist
__________________
My Hacks Prize Recognition Hack | IP Trace Hack (Pinpoint on Map) | Sort Members By State Pending Member No members have liked this post.
|
|
#3
|
|||
|
|||
|
User CP - Edit Profile
__________________
My Hacks Prize Recognition Hack | IP Trace Hack (Pinpoint on Map) | Sort Members By State Pending Member No members have liked this post.
|
|
#4
|
|||
|
|||
|
Register
__________________
My Hacks Prize Recognition Hack | IP Trace Hack (Pinpoint on Map) | Sort Members By State Pending Member No members have liked this post.
|
|
#5
|
|||
|
|||
|
Profile
__________________
My Hacks Prize Recognition Hack | IP Trace Hack (Pinpoint on Map) | Sort Members By State Pending Member No members have liked this post.
|
|
#6
|
|||
|
|||
|
Postbit
__________________
My Hacks Prize Recognition Hack | IP Trace Hack (Pinpoint on Map) | Sort Members By State Pending Member No members have liked this post.
|
|
#7
|
||||
|
||||
|
Neat idea
![]() I'll probably test this out. Thanks for sharing ![]() No members have liked this post.
|
|
#8
|
|||
|
|||
|
Thank you, please let me know if you like
![]()
__________________
My Hacks Prize Recognition Hack | IP Trace Hack (Pinpoint on Map) | Sort Members By State Pending Member No members have liked this post.
|
|
#9
|
||||
|
||||
|
Might want to change any instances of yellow in the post to use the [high] vbcode
![]() Also in your sig Then it shows up as red on this style, yelloe on the blue style and something else on the purple style ![]() - miSt
__________________
Dean Clatworthy - Web Developer/Designer No members have liked this post.
|
|
#10
|
|||
|
|||
|
Please click install if you try this hack! I would greatly appreciate seeing how many people install it!
__________________
My Hacks Prize Recognition Hack | IP Trace Hack (Pinpoint on Map) | Sort Members By State Pending Member No members have liked this post.
|
|
#11
|
||||
|
||||
|
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?
No members have liked this post.
|
|
#12
|
||||||||||||
|
||||||||||||
|
Yes...
When you made this modification, you would have needed to edit 3 different places! First is registeradult template... add your provinces etc.
Next would be modifyprofile: Make sure the $location increments with each additional state/province you add.
Then and here is probably where you need it. Make sure the $locations match up with the modify profile template. Member.php
__________________
My Hacks Prize Recognition Hack | IP Trace Hack (Pinpoint on Map) | Sort Members By State Pending Member No members have liked this post.
Last edited by ranger2kxlt : 08 Jun 2003 at 16:45. |
||||||||||||
|
#13
|
|||
|
|||
|
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.
![]()
__________________
My Hacks Prize Recognition Hack | IP Trace Hack (Pinpoint on Map) | Sort Members By State Pending Member No members have liked this post.
|
|
#14
|
||||
|
||||
|
Ah, it works now.. I must of done something wrong.. great hack!
![]() No members have liked this post.
|
|
#15
|
||||
|
||||
|
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!
Here is the new attachment!
__________________
My Hacks Prize Recognition Hack | IP Trace Hack (Pinpoint on Map) | Sort Members By State Pending Member No members have liked this post.
|
||||
![]() |
«
Previous Mod
|
Next Mod
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
| Mod Options | |
|
|
| New To Site? | Need Help? |
All times are GMT. The time now is 23:15.






Then it shows up as red on this style, yelloe on the blue style and something else on the purple style 
