![]() |
How do I get the userid from the username?
I have a script that I want to be able to convert an entered username (in $username) to the userid (in $userid).
I found an old thread for vb 3.0 here: https://vborg.vbsupport.ru/showthread.php?t=61558 I tried to use the code suggested in there as follows: Code:
$getuser = $vbulletin->db->query(" Quote:
I really do appreciate any help as I have tried all kinds of combinations for the past 4-hrs or more and I am just stumped... |
You could try this:
PHP Code:
|
Thank You!!! That worked... back to my hack!
:banana: ;) :banana: |
No Problem :)
|
Quote:
|
PHP Code:
Thanks, Derek |
All times are GMT. The time now is 01:18 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|