PDA

View Full Version : How do I split custom user profile fields to their own page?


Club3G
10-30-2005, 12:24 PM
I'm adding a small section to my website where users can register an item and it's serial number. I have custom field 6 as the "item name" and field 7 as
"serial number".

Ideally I'd like to have a menu option for "edit registry" on the control panel bar. Here's what I have so far, at the bottom of the Edit Options page:

http://www.sevenstring.org/chris/registry_1.jpg

I got this far by adding the following to the bottom of the modifyoptions template.

<!-- begin registry -->
<br>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead">Registry</td>
</tr>
<tr>
<td class="panelsurround" align="center">
<div class="panel">
<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
$customfields[other]

</div>
</table>
<br>
<!-- end registry -->


From here, I have two questions:

First, how can I add an "Edit Registry" option to the control panel side menu, and have it link to a new page that only shows these custom fields?

Secondly, and this is minor, is it possible to have the input boxes on the same line? eg:

Custom Profile Text:
[ input box for field5 ] - [input box for field6 ]

I *think* this is possible and wouldn't format poorly if I somehow got it to not display the custom profile field name and description, and instead entered in my own HTML formatting around the two input boxes.

Any insight/advice really appreciated, thanks as always!

Club3G
10-31-2005, 01:14 PM
I hate to be the /bump guy, but here goes. :(

steven s
01-17-2006, 02:23 AM
Have you looked at this?
https://vborg.vbsupport.ru/showthread.php?t=98282

I am using this but hardcoding my templates.

Club3G
01-17-2006, 04:22 PM
Very old post, but thank you for the reply all the same. :)

I ended up having a custom addon coded by Acers that's leaps and bounds beyond how I was trying to attempt it with Custom profile fields.

steven s
01-17-2006, 04:30 PM
Very old post, but thank you for the reply all the same. :)I was searching for formatting profile fields and your post came up. Didn't even think to look at the date.