vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Multiple Selection Profile Fields... deciphering the data? (https://vborg.vbsupport.ru/showthread.php?t=125303)

criscokid 08-30-2006 08:17 AM

Multiple Selection Profile Fields... deciphering the data?
 
Referring to How To Display Multiple Selection Profile Fields...

I have used 'multiple selection' in one of my profile fields - 'interests and hobbies'. I would like to run some stats (using Excel) to get a percentage breakdown of peoples interest and hobbies. I understand that the number written to the mySQL database is a number that represents the total of all the 'integer to the power of 2'.

The problem I am having is how do I break the number back down? There's probably a straightforward answer to this as vBulletin has to 'break the number back down' in order to display the relevant bits of data in the memberinfo template.

It's not the retreiving of the data that I have a problem with... it's how to 'use binary operators ' to decode the data. I've had a look at member.php but I can't figure out how vB decodes the data.

Any help is most appreciated.

criscokid 09-05-2006 01:47 PM

Is anyone able to offer any asistance or recommendations?


All times are GMT. The time now is 01:01 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.01077 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
  • (2)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