vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Verification status (https://vborg.vbsupport.ru/showthread.php?t=171807)

petteyg359 03-01-2008 02:25 PM

Verification status
 
Is there a $vbulletin->userinfo key that says whether a user has clicked the email validation link yet? I have some content for a group in a game that displays based on the users group. However, if someone manages to obtain another (as of yet unregistered) member's key, they would be able to view sensitive information. I would like to add to my if condition is_member_of statement a check of whether they've completed verification yet.

If there IS a validated status in $vbulletin->userinfo, then I'd also like to set up a page that when loaded in a certain browser will retrieve a header value, and rather than using email verification, will check if that header value matches another database key, and if so, mark that user as verified. Possible?

petteyg359 03-11-2008 02:16 PM

Seems I have to bump every thread I make to get even a reply that says "no" :(

Anyway, with email verification on, is looks like members are placed into the "email not yet verified" group until they verify, at which point they're moved to the "registered" group. In the database the only related table I see is useractivation, and I have no idea what the values in it are. The table has a single row for my forum at the moment, but according to ACP I have no unverified members, and nobody "waiting for moderation". Any documentation on this table?

I just want to deny users access based on that status until they go to a page in a specific browser with a specific HTTP header response. They will then log in on that page, the page will check the header, and if it matches, will set their access to allowed. I'm already running another script that moves users to different groups depending on a profile field, though, and don't know if that will change the way I should go about the verification.

Lynne 03-11-2008 05:38 PM

I'm not really clear on what you want. It looks like you just want to verify that a user is not in the Unregistered group or in the Users Awaiting Confirmation group? I have no idea what this 'key' is and how it works though. In the user table, there is a usergroup column that says which usergroup they belong to. Perhaps that is what you are looking for.

I have no idea about the HTTP headers response.


All times are GMT. The time now is 01:12 AM.

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.01191 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