This hack will add an extra page to the User CP. This area can be used for extra profile fields that for one reason or another you would like to split from the main list.
Personally, I use this page for PC specs, but it can also be used for other specs as well (e.g. cars). I have the specs in a dropdown list under the user title in each user's post, as well as in their profile page, but that's another hack You'll see a link to it under Add-Ons to the right.
just wondering how easy it would be to split the profile info so that there can be 2 user groups each of which has distinct profile info that they can record. essentially I have a board that "matchmakes" between 2 groups and I want to record separate info for each in the profile section.
got a link to your forum? do you two ACTUAL usergroups, and which each one has different profile fields, or all users have the same fields, but you want to split off one group of fields from another?
Hey wired1... I don't know about his forum, but the answer for me would be the second one: I have the same profile fields for everyone, but I just want to split the info evenly onto two different panels within the profile. oh, and i'm on vb6. thank you.
got a link to your forum? do you two ACTUAL usergroups, and which each one has different profile fields, or all users have the same fields, but you want to split off one group of fields from another?
my site is http://www.gpmanagement.co.uk
currently I have managers signed up. i want to add in locum doctors who will offer them their services. essentially the locums will need to portray a set of fields ( price, terms etc) that the managers will view
I am not having any luck changing "Edit Extra Options" to "Edit System Specs". Can you specify in more detail how to do that? I tried changing it in USERCP_SHELL, but that just made it disappear from the control panel.
my site is http://www.gpmanagement.co.uk
currently I have managers signed up. i want to add in locum doctors who will offer them their services. essentially the locums will need to portray a set of fields ( price, terms etc) that the managers will view
In otherwords, certain fields for certain user groups. This isn't a feature of vB, and as such would require additional hacking. Off the top of my head, here's the basic idea of what you'd have to do.
Create 2 pages, one for each set of hacks. Throw usergroup conditionals around the code that has the links for the edit <PAGE> in the UserCP.
Quote:
Originally Posted by Jericho2004
I am not having any luck changing "Edit Extra Options" to "Edit System Specs". Can you specify in more detail how to do that? I tried changing it in USERCP_SHELL, but that just made it disappear from the control panel.
What EXACTLY did you do? I'd guess you changed
Code:
$vbphrase[edit_extra_options] to $vbphrase[edit_system_specs]
but didn't create the phrase, hence nothing shows up.
thanks for the advice above. another problem though...
from the drop down list that displays the extra fields, I have created a field that holds a url, in this case one to a member's google calendar. I want this link to open up a new browser window, but despite lots of tinkering I can't get it to do so, here is my code in the postbit template:
<if condition="$post['field14']">
<tr><td class="vbmenu_option"><a href= "$post[field14]" target="_blank">My Calendar from Google </a></td></tr>
</if>
this only brings up the link in the same browser window, which is annoying. it doesnt seem to be able to understand the target reference, and simply ignores it. any ideas?
thanks