Bienvenido, Invitado
Nombre de Usuario: Contraseña: Recordarme

TEMA: KideShoutbox visible for everyone, but only admins can write

KideShoutbox visible for everyone, but only admins can write 2 años 11 meses ago #22213

  • Zwitefli
  • Avatar de Zwitefli
  • Offline
  • Visitante
  • Mensajes: 3
  • Karma: 0
Good evening.
I'd like to say before that I'm French and there's a long time I haven't spoken English. So, sorry for the mistakes :laugh:

I'm the webmaster of a football website and we're using the KideShoutbox to comment on football game. And after the game, we turn off the shoutbox. For the moment, no one can register on the website and only admins can write on the shoutbox.
In the future, I'd like to create a community with Community Builder, and have somme others extensions such as Komento.
But I don't want that future members can write in the shoutbox.
Is there a possibility to limit the shoutbox access to the only admins of the website ?

Many thanks fo your help,
Zwitefli
El administrador ha desactivado la escritura pública.

KideShoutbox visible for everyone, but only admins can write 2 años 10 meses ago #22214

  • JoniJnm
  • Avatar de JoniJnm
  • Offline
  • Administrador
  • Mensajes: 4579
  • Gracias recibidas 544
  • Karma: 160
In com_kide/helpers/user.php you can change:
if (!$this->id)
	$this->rango = 3;
elseif (KideHelper::isAdmin())
	$this->rango = 1;
else
	$this->rango = 2;

by:
if (!$this->id)
	$this->rango = 3;
elseif (KideHelper::isAdmin())
	$this->rango = 1;
else
	$this->rango = 3;
El administrador ha desactivado la escritura pública.

KideShoutbox visible for everyone, but only admins can write 2 años 10 meses ago #22215

  • Zwitefli
  • Avatar de Zwitefli
  • Offline
  • Visitante
  • Mensajes: 3
  • Karma: 0
OK, many thanks for your help ;)
I'll come back soon to tell you if it's ok ;)
Última Edición: 2 años 10 meses ago por Zwitefli.
El administrador ha desactivado la escritura pública.

KideShoutbox visible for everyone, but only admins can write 2 años 10 meses ago #22219

  • Zwitefli
  • Avatar de Zwitefli
  • Offline
  • Visitante
  • Mensajes: 3
  • Karma: 0
It works ;) Thanks a lot for your help ;)
El administrador ha desactivado la escritura pública.

KideShoutbox visible for everyone, but only admins can write 2 años 2 meses ago #22298

  • traveloista
  • Avatar de traveloista
  • Offline
  • User is blocked
  • Mensajes: 2
  • Karma: 0
Thanks it works...good
El administrador ha desactivado la escritura pública.

KideShoutbox visible for everyone, but only admins can write 9 meses 2 semanas ago #22344

  • perry14
  • Avatar de perry14
  • Offline
  • Visitante
  • Mensajes: 1
  • Karma: 0
Yeah, It works really well! Thank you all! Very useful info! ;)
El administrador ha desactivado la escritura pública.
Tiempo de carga de la página: 0.184 segundos