Quote:
Originally Posted by testpig
This is the code cut straight from flashchat-vb-integration.txt (downloaded yesterday) It contradicts your earlier post in regards to having four brackets.
|
I think you have mis-read what I actually said ;
Quote:
...... be very careful with this step as there is another close bracket below the code to be replaced - In other words, there should be four close brackets .....
|
Once you have edited the file there will be four brackets, like this ;
Code:
// # Paul M # load permanant private rooms if Admin.
if(ChatServer::userInRole($this->userid, ROLE_ADMIN)) {
$stmt = new Statement("SELECT * FROM {$GLOBALS['fc_config']['db']['pref']}rooms WHERE ispublic IS NULL AND ispermanent IS NOT NULL ORDER BY created");
if($rs = $stmt->process()) {
while($rec = $rs->next()) {
$this->sendBack(new Message('adr', null, $rec['id'], $rec['name']));
$rooms[$rec['id']] = 0;
[high] }
}
}
}[/high]
//Send user list to user
Quote:
Just trying to provide feedback so apologies if its taken the wrong way
|
It's not taken the wrong way, but nevertheless, IMO no action is needed.