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

TEMA: [SOLVED] Request

[SOLVED] Request 9 años 9 meses ago #14535

  • Turdin
  • Avatar de Turdin
  • Offline
  • Observador
  • Mensajes: 21
  • Gracias recibidas 1
  • Karma: 1
Hello, i use kide shoutbox on my site, and i love it.

There's 2 things i really want to see in next version, if it's possible...
1 - There is a way to show 6 smileys on module, but show all in component?
Or something like show more, because i have 40 smileys that i want to add ^^

2 - Maybe would be nice if there's an option to show avatar in complete chat (not module)

So, please think about my ideas and Thank you for this component/module

EDIT:
I made a hack for this work:
First:
In /components/com_kide/helpers/kide.php
Find(Here is line 62):
$return = "";
		foreach ($smilies as $k=>$s) {
			if (!in_array($s,$aux)) {
				$return .= "<a href=\"javascript:KIDE_insertSmile('$k')\"><img title='$k' alt='$k' src='$s' /></a>\n";
				$aux[] = $s;

Change for:
$return = "";
		$contar=0;
		foreach ($smilies as $k=>$s) {
			if (!in_array($s,$aux)) {
				$return .= "<a href=\"javascript:KIDE_insertSmile('$k')\"><img title='$k' id='sm$contar' alt='$k' src='$s' /></a>\n";
				$aux[] = $s;
				$contar++;

Second:
In components/com_kide/assets/css/style.css
.module #sm(Smiley Number){display:none;}
Example:
.module #sm17,
.module #sm18,
.module #sm20,
.module #sm16
{
display:none;
}

You can see result here: www.animespace.com.br/
(some smileys hidden)

And here all smileys: www.animespace.com.br/component/option,com_kide/Itemid,158/view,kide/

Thanks

PS: How can i donate?
PS2: Sorry for the bad english...
Última Edición: 9 años 9 meses ago por Turdin.
El administrador ha desactivado la escritura pública.

Re: Request 9 años 9 meses ago #14539

  • JoniJnm
  • Avatar de JoniJnm
  • Offline
  • Administrador
  • Mensajes: 4579
  • Gracias recibidas 544
  • Karma: 160
Download the v0.5.5 and test it :P
El administrador ha desactivado la escritura pública.

Re: Request 9 años 9 meses ago #14540

  • Turdin
  • Avatar de Turdin
  • Offline
  • Observador
  • Mensajes: 21
  • Gracias recibidas 1
  • Karma: 1
1 for KideHelper::smilies_html(), called in /home/hosting/************/modules/mod_kide/tmpl/default_form.php on line 26 and defined in /home/hosting/***********/components/com_kide/helpers/kide.php on line 93


And i have another problem, i use sh404sef and the link of complete chat is redirecting to History O.o
Should be: component/option,com_kide/Itemid,158/view,kide/
But is: /option,com_kide/Itemid,8/view,history/

( Would be nice the url: /Kide-Chat/Chat, Kide-Chat/History, Kide-Chat/History/Page-1, think about it =D )


Thanks, Andrew
Última Edición: 9 años 9 meses ago por Turdin.
El administrador ha desactivado la escritura pública.

Re: Request 9 años 9 meses ago #14541

  • Turdin
  • Avatar de Turdin
  • Offline
  • Observador
  • Mensajes: 21
  • Gracias recibidas 1
  • Karma: 1
And, here is the translation to pt-BR of 0.5.5.
www.animespace.com.br/pt-BR.com_kide.ini
Thank you

PS: I can't upload here, don't know why
Última Edición: 9 años 9 meses ago por Turdin.
El administrador ha desactivado la escritura pública.

Re: Request 9 años 9 meses ago #14544

  • JoniJnm
  • Avatar de JoniJnm
  • Offline
  • Administrador
  • Mensajes: 4579
  • Gracias recibidas 544
  • Karma: 160
Fixed module error, thanks.

Added router.php file for SEF (I think that you souldn't use sh404sef, the components should have theirs router.php)

Try to unzip the file and upload and tell me if the web shows an error

PD: If you upload the pt-BR language, please add the file for the admin too :P
El administrador ha desactivado la escritura pública.

Re: Request 9 años 9 meses ago #14546

  • Turdin
  • Avatar de Turdin
  • Offline
  • Observador
  • Mensajes: 21
  • Gracias recibidas 1
  • Karma: 1
Until now works fine
Translation of back-end+front-end:
www.animespace.com.br/admin_frontend_By_andrew_for_0.5.5.rar


Thank you for everything
Última Edición: 9 años 9 meses ago por Turdin.
El administrador ha desactivado la escritura pública.

Re: Request 9 años 9 meses ago #14548

  • JoniJnm
  • Avatar de JoniJnm
  • Offline
  • Administrador
  • Mensajes: 4579
  • Gracias recibidas 544
  • Karma: 160
Added language :P

Ah! You can donate with the button called "Donar" in the footer of this page, or clicking on 'donate' in the kide admin ^^

Saludos!
El administrador ha desactivado la escritura pública.
Tiempo de carga de la página: 0.418 segundos