News:

Join the Facebook Fan Page.

Main Menu

LightIRC

Started by -Dave, March 07, 2012, 08:59:31 PM

Previous topic - Next topic

-Dave

Hi all i was hoping someone could give me a hand please i have Lightirc and wish to use smf members to login to lightirc  i have this  which i copied from  here but it is not pulling the username from smf


<?php
require_once('../ncc/SSI.php');
global 
$context;

if (
$context['user']['is_guest']) {
$userchatname 'UKCZ-Guest_' rand(1,10000);
} else {
$userchatname $context['user']['name'];
}

$userchatname str_replace(" ","_",$userchatname);
$userchatname str_replace(".","_",$userchatname);

?>



params.nick                         = "???????";

thanx dave

-Dave


Advertisement: