![]() |
how do you change this to ONLY e-mail, and does it work for 3.5.4?
|
to note this works with 3.5.4
|
These days (3.6.4) it is more like:
Loor for : PHP Code:
PHP Code:
|
Hi, is there anything similar that can be used for vbulletin v3.6.9?
|
Heyy Marco does it work for 3.7.x ?
|
Any downside to using
if ($vbulletin->userinfo = $vbulletin->db->query_first("SELECT userid, usergroupid, membergroupids, infractiongroupids, username, password, salt FROM " . TABLE_PREFIX . "user WHERE username = '" . $vbulletin->db->escape_string(htmlspecialchars_uni($username)) . "' OR email = '" . $vbulletin->db->escape_string(htmlspecialchars_uni($username)) . "'")) Isn't it simpler??? |
Quote:
|
So let me get this straight, if I just change this...
Code:
if ($vbulletin->userinfo = $vbulletin->db->query_first("SELECT userid, usergroupid, membergroupids, username, password, salt FROM " . TABLE_PREFIX . "user WHERE username = '" . $vbulletin->db->escape_string(htmlspecialchars_uni($username)) . "'")) Code:
if ($vbulletin->userinfo = $vbulletin->db->query_first("SELECT userid, usergroupid, membergroupids, username, password, salt FROM " . TABLE_PREFIX . "user WHERE email = '" . $vbulletin->db->escape_string(htmlspecialchars_uni($username)) . "'")) My goal is to make the username benign, and only for display purposes. The reason is I will be integrating VB in with some other apps that require email, and also use a username but only for display purposes. Am I correct? My second question then becomes, if two users have the same display name (for vB, username), will it cause problems? If so, is there a way to rectify that? Thanks much in advance! |
Hi folks -- long time no see...
Just a quick question: Does this hack still work with the current vB release? |
Works on vb 3.7.3 pl1. This is the code I used:
Code:
// Start hack login with mail address (MarcoH64) Quote:
|
All times are GMT. The time now is 04:32 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|