It sounds like he is saying he added a new field to the database (although why not use a User Profile Field?) and then has a plugin that take the result of that field and creates a url based on it (if TheField=1, then the url is xxxxx, if TheField=2, then the url is yyyy) and the template just spits this out.
I don't know why you wouldn't use a User Profile Field for this. Then, create a plugin to spit out a url based on that field.
The best thing to do is find another modification that does something with a (multiple-choice) User Profile Field and see how they did things and modify it for your own use. I think there was a country flag mod out there that may be setup like this. Play with it on a test site.
|