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

TEMA: Font colour and shutdown kide shoutbox?

Font colour and shutdown kide shoutbox? 9 años 3 meses ago #16982

  • Paul
  • Avatar de Paul
  • Offline
  • Visitante
  • Mensajes: 2
  • Karma: 0
Hi all,

I have 3 questions:

1. Can I change the text colours become different colours between registered users' and guests' text? (ex. Admin's text is RED and guest text is BLACK)

2. Can I shutdown Shoutbox whenever I go out and restart it when I come back? Because I cannot manage the shoutbox all time and I afraid there are bad words appear in my site.

3. How I can change Ban time? (I see the ban time only up to 3 days)

Thank for reading and sorry for my bad English.
El administrador ha desactivado la escritura pública.

Re: Font colour and shutdown kide shoutbox? 9 años 3 meses ago #16997

  • JoniJnm
  • Avatar de JoniJnm
  • Offline
  • Administrador
  • Mensajes: 4579
  • Gracias recibidas 544
  • Karma: 160
1. And they can change it? If you want set the colour as default, for example, in helpers/user.php

Search:
$this->img = kideLinks::getAvatarLink();
//add later
$colors = array('000000', '00FF00', 'FF0000', '0000FF');
//1 => special
//2 => administrator
//3 => registered
//4 => guest
 
if (!$this->color) //if you delete this line they can't change the color
    $this->color = $colors[$this->rango];

2. Ok, I will add an option in the admin :-)

3. The ban time in a user banned? Ban him again and the time will be replaced. If you need more days, in:
- com_kide/views/kide/tmpl/default_mostrar.php
- mod_kide/tmpl/default_mostrar.php
<select name="kide_mensaje_banear_dias" style="padding:0">
                            <option value="0"><?php echo ucfirst(JText::_("COM_KIDE_DAYS")); ?></option>
                            <?php echo KideHelper::opciones(3); ?>
                        </select>
Change '3' to your favorite number :-)
Última Edición: 9 años 3 meses ago por JoniJnm.
El administrador ha desactivado la escritura pública.

Re: Font colour and shutdown kide shoutbox? 9 años 3 meses ago #17003

  • Paul
  • Avatar de Paul
  • Offline
  • Visitante
  • Mensajes: 2
  • Karma: 0
JoniJnm, thank you for your reply, please add a shutdown option in front-end for admin in later version :)
Última Edición: 9 años 3 meses ago por Paul.
El administrador ha desactivado la escritura pública.
Tiempo de carga de la página: 0.106 segundos