vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   This user has not registered and therefore does not have a profile to view. (https://vborg.vbsupport.ru/showthread.php?t=315405)

pityocamptes 11-13-2014 08:03 PM

This user has not registered and therefore does not have a profile to view.
 
I am getting this msg when trying to view a members profile. Not sure what the issue is. It looks like they have a special character in their username, could that be the issue?

ForceHSS 11-13-2014 08:19 PM

Might be the problem am sure others might know of other reasons wait until they reply

pityocamptes 11-13-2014 08:22 PM

Thanks. If the special char is the issue, any way around that? I would hate to tell them they have to change user names...

ForceHSS 11-13-2014 08:37 PM

Settings/options/User Registration Options/Username Regular Expression
Sample ^[a-zA-Z0-9\s.\-_']+$
The user might have a hidden symbol in his name like a space best to delete his name and redo it see if that helps but it depends what his name is can you post it here

Dave 11-13-2014 09:02 PM

I looked at the source and this error is triggered when the $vbulletin->userinfo['userid'] variable is not set. Try to look into the users table in the database and look-up the userid/username and see if it exists.

pityocamptes 11-13-2014 09:05 PM

Quote:

Originally Posted by Dave (Post 2522588)
I looked at the source and this error is triggered when the $vbulletin->userinfo['userid'] variable is not set. Try to look into the users table in the database and look-up the userid/username and see if it exists.

It exists. They used this character set in their name:

?

Dave 11-13-2014 09:08 PM

Ah yeah it's definitely because of that. I wouldn't know a solution without modifying the name though. Here's the code which triggers the error:

PHP Code:

else if ($vbulletin->GPC['username'] != '' AND !$vbulletin->GPC['userid'])
{
    
$user $db->query_first_slave("SELECT userid FROM " TABLE_PREFIX "user WHERE username = '" $db->escape_string($vbulletin->GPC['username']) . "'");
    
$vbulletin->GPC['userid'] = $user['userid'];
}

if (!
$vbulletin->GPC['userid'])
{
    eval(
standard_error(fetch_error('unregistereduser')));



pityocamptes 11-13-2014 09:55 PM

I emailed them to see if they would be willing to have us change it. Thanks.

--------------- Added [DATE]1415922996[/DATE] at [TIME]1415922996[/TIME] ---------------

Just curious why the registration software would have allowed this to go through? Is their an auto checker when creating a user name? Thanks.


All times are GMT. The time now is 07:15 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.01013 seconds
  • Memory Usage 1,730KB
  • 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)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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