The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
Memberlist Search
Can anyone please tell me how to make the following code to a partial serach for a member instead of having to have the full member name first?
Code:
if ($action=="quickfind") { $usernamecheckq = $DB_site->query("SELECT userid FROM user WHERE username='".addslashes(htmlspecialchars($membername))."'"); $usernamecheck = mysql_fetch_array($usernamecheckq); if (!$usernamecheck[userid]) { eval("standarderror(\"".gettemplate("error_invalidusername")."\");"); exit; } $goto="member.php?s=$session[sessionhash]&action=getinfo&userid=$usernamecheck[userid]"; eval("standardredirect(\"".gettemplate("redirect_memberfound")."\",\"$goto\");"); } |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|