The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
How can I get the name of the newest registered member on a non-Vb page?
Thanks
|
|
#2
|
|||
|
|||
|
Here you go:
Code:
<?php
require("forums/admin/config.php");
$db=mysql_connect($servername,$dbusername,$dbpassword);
mysql_select_db($dbname);
$query = "select * from user order by userid desc limit 1";
$resultlatest = mysql_query($query,$db);
$latest_array = mysql_fetch_array($resultlatest);
echo "<FONT FACE=\"Verdana, Arial, Helvetica, sans-serif\" SIZE=\"2\"><b>Greetings to our newest member, <a href=\"/forums/member.ph
p?action=getinfo&userid=$latest_array[userid]\" target=_blank>$latest_array[username]</a> !</b></font>";
?>
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|