vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   how to change radio button to checkbox in group membership form on profile page? (https://vborg.vbsupport.ru/showthread.php?t=153251)

actolearn 07-24-2007 02:26 PM

how to change radio button to checkbox in group membership form on profile page?
 
hello,

on my forum, i want to have a lot of usergroups that people are free to join. as such, i want them to be able to fill out the group membership form (the form located at /profile.php?do=editusergroups) so that it uses checkboxes instead of radio buttons -- thus allowing users to select all the groups they want to join quickly and easily (rather than selecting just one radio button, hitting submit, and then repeating the process indefinitely).

i edited the HTML for the form code in the modifyusergroups_nonmemberbit template, and that changes the appearance of the form on the front end -- but it does not totally work. if i select multiple checkboxes and then hit submit, only one of the groups i selected will be added to the list of groups i've joined. the other groups will remain the same.

i am assuming there is another spot where i have to edit and specify that this is a checkbox form and not a radio form, although i'm not sure where that would be. any ideas on how i can solve this problem?

thanks a lot for your time and consideration.

Prox0001 10-28-2007 02:47 PM

I'm interested in the same feature. Anyone got an idea how to realize this?

Paul M 10-28-2007 03:05 PM

It's not a case of editing a template, you would need to edit the vbulletin code - it's only designed to process one group at a time.


All times are GMT. The time now is 06:57 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01056 seconds
  • Memory Usage 1,708KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete