• Forum
  • Doc
  • Screenshots
  • Download
  • Donate
  • Contributors
  • Contact
  • Follow @phpfreechat
  • DEMO
  • Board index ‹ Version 1.x branch ‹ phpBB, Simple Machines Forum (SMF), and Forum Software (v1.x)
  • Change font size
  • FAQ
  • Register
  • Login

pfc & phpbb3 Problems with Nicknames

Moderators: OldWolf, re*s.t.a.r.s.*2

Post a reply
2 posts • Page 1 of 1

pfc & phpbb3 Problems with Nicknames

Postby Nitschi » Wed Jul 17, 2013 8:30 am

Hello,

i have got a problem and i dont know why.

My nicknames come from phpbb3 database usertable:
$params["nick"] = $user->data [username];

But i want to allow guest give access to one chatroom:
(user_id 1 = phpbb3 Nick: anonymous)

if ($user->data['user_id'] == 1):
{
$params["frozen_nick"] = true;
$params["nick"] = "Blubl".rand(1,5);
$params["nickmeta"] = array('gast'=>'yes');
$params["max_channels"] = 1;
$params["channels"] = array('guestroom');
$params["frozen_channels"] = array('guestroom');



}

Problem:
The nicknames changes all the time:

09:28:45 * Blubl3 ändert den Nicknamen zu Blubl1
09:28:47 * Blubl1 ändert den Nicknamen zu Blubl4
09:28:51 * Blubl4 ändert den Nicknamen zu Blubl2
09:28:53 * Blubl2 ändert den Nicknamen zu Blubl5
09:28:57 * Blubl5 ändert den Nicknamen zu Blubl1


I dont know what i do wrong :(

Can somebody help me?
Nitschi
New member
 
Posts: 7
Joined: Wed Jun 19, 2013 8:52 pm
Top

Re: pfc & phpbb3 Problems with Nicknames

Postby tomtronix » Tue Sep 03, 2013 6:06 pm

Hi Nitschi,

I ran into the same problem with the random guest changing every 2 seconds.

Did you find a solution for that?

Thomas
tomtronix
New member
 
Posts: 3
Joined: Fri Aug 30, 2013 1:46 pm
Top


Post a reply
2 posts • Page 1 of 1

Return to phpBB, Simple Machines Forum (SMF), and Forum Software (v1.x)

Who is online

Users browsing this forum: No registered users and 7 guests

  • Board index
  • The team • Delete all board cookies • All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
cron
Sign in
Wrong credentials
Sign up I forgot my password
.
jeu-gratuit.net | more partners
Fork me on GitHub