MyBB Hacks

Full Version: Additional Settings For Custom Profile Fields [1.2]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
(08-20-2012 06:10 AM)Sama34 Wrote: [ -> ]Do you remember this RateU?:
Unfortunately, I can't reproduce it. I'll try to reproduce it.
i was reading the earlier post about selecting a custom field, then a new one appearing to be filled out after choosing an option. this is similar to what i want, but not quite.

What i would like to do is have a user select an option out of 4 (select box):

option a
option b
option c
option d

after choosing any of the options, the options in the second custom field are changed:

"option a" was chosen, and user can now select "hello" and "goodbye" in a new select box.
"option b" was chosen, and user can now select "yes" and "no"
and so on

i dont need the new custom field to open upon a selection though. it can simply be under the first select box, but the options within it change based on the first selection. or even, all options show, but some are disabled (greyed out, not selectable) based upon which selection was chosen first.

i suppose this will require javascript as well anyway? any direction for this would be nice, as i am not experience in javascript at all.
Yes it would require Javascript, which means it could easily be bypassed by simply disabling Javascript in the browser.
If there aren't that many combinations, I'd just stick all of them into the same field, eg:
option a, yes
option a, no
option b, yes
option b, no
...
Yes, that may be a better option. thank you.
Can I remove certain fields from my profiles? I'm using Tomm's MyNetwork Profiles, btw.
Tomm's Profile System, though lovely, does not play that nicely with other profile plugins. You might be better off asking Tomm.
Then, since I am almost a plugin-a-holic, I uninstalled it. I will miss it, but I think I will have greater customization opportunities without it. (Plus, my forum is not a Social Network and it felt like I was trying to kid myself as if it was)

How do I remove them from default profiles then?
(09-18-2012 03:51 PM)Seabody Wrote: [ -> ]Then, since I am almost a plugin-a-holic, I uninstalled it. I will miss it, but I think I will have greater customization opportunities without it. (Plus, my forum is not a Social Network and it felt like I was trying to kid myself as if it was)

How do I remove them from default profiles then?

Remove the {$profilefields} variable from member_profile and then insert them individually with this plugin.

EDIT: another question from me... is there any way to put custom fields in member list?
(09-18-2012 03:51 PM)Seabody Wrote: [ -> ]How do I remove them from default profiles then?
If you want to remove some fields only, and place it outside the {$profilefields} blocks:
  1. Set the Hide on profile? settings of the custom profile fields to Yes.
  2. Put {VALUE} inside the Display Format settings. You can style it here.
  3. Put {$xtpf['fidX']} manually in your member_profile template, where X is the custom profile fields ID.


(09-18-2012 04:51 PM)Gstone Wrote: [ -> ]is there any way to put custom fields in member list?
The same method as member profile page, you can put {$xtpf['fidX']} variable manually in your memberlist_user template, where X is the custom profile fields ID.
oh thank you yet again. i must have made a mistake the first time i tried doing that. (works great now)
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Reference URL's