The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Change location field to a list
Hi,
I wonder if someone can help me. Instead of having the default location field a single text box. I will like it to be a single radio option. I know I can create a custom profile field. But I need the default location field to be a radio so that it is displayed accordingly across the site as the normal location field would be. I have searched the mods, but it seems this is a unique idea. Tony, |
#2
|
|||
|
|||
You could edit the existing Location field to change the display order and maybe make it private and uneditable, then create a new field called Location and set the display order to "2". It seems to work but I don't know about showing up everywhere the default one does - probably some places depend on the fieldid being '2'. If that's the case it's probably possible to delete the original field then go to the database and change the fieldid of your new field to be '2' (or else just find the places using field2 and change them).
(BTW you could just delete the existing Location field instead of editing it, but this way you can put things back the way they were if you want). |
#3
|
|||
|
|||
Thanks for the reply.
Yes setting the display order to 2 will show the location field correctly in the profile page. But for everywhere else it will use display id 2.... Unfortunately for me, I have not done a big amendment like that before. To change every part of the site from field id 2, will require me to search all the templates manually. Unless there is a quicker find a replace option? Again, to change the database is something I am not too comfortable with. My 3rd option would be a custom mod. If anyone is interested to quote me, please PM!!!! |
#4
|
|||
|
|||
Quote:
I also find field2 mentioned in the code in a few places, but it seems like maybe the only place that might be of interest is in showgroups. So you might not be able to fix that without editing one of the vb files. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|