1
Mods & Plugins (Releases & Support) / Re: [MOD] Shoutbox
« on: November 25, 2005, 08:21:00 PM »
can you show me an html output, or give me the address of your web.
4images code on GitHub Click here to visit GitHub.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
define('WORDMATCH_TABLE', $table_prefix.'wordmatch');
Add after:define('SHOUTBOX_TABLE', $table_prefix.'shoutbox');
window.open(href, windowname, 'width=150,height=170,scrollbars=no');
Replace for window.open(href, windowname, 'width=170,height=240,scrollbars=no');
//-----------------------------------------------------
//--- Shoutbox ----------------------------------------
//-----------------------------------------------------
Add after(IN YOUR LANGUAGE):$lang['sh_not_updated'] = "Settings couldn't be updated";
$lang['sh_not_installed'] = "Installation couldn't be completed";
[SPANISH]$lang['sh_not_updated'] = "La configuracion no pudo ser guardada";
$lang['sh_not_installed'] = "No se pudo completar la instalación";
[GERMAN]$lang['sh_not_updated'] = "Die Einstellungen konnten nicht aktualisiert werden.";
$lang['sh_not_installed'] = "Die Installation konnte nicht durchgeführt werden.";
i've one problem about style ...so this show a huge space without nothing.... and how make it show with scroll bar ??Check if it isnt a problem in the template. If not, tell me if u have made any changes to the files. About the scroll bar, i can see it there.
hallo,open the templates where you put the shoutbox and find:
when i click on the "shout it" button, i get a blank page..
my page functions again, if I call it again, but no entry in shoutbox is indicated.
<form method="post">
replace with<form method="post" action="{self}">
Parse error: parse error, unexpected $ in /home/thaitami/public_html/gallery/admin/plugins/shoutbox_admin.php on line 234 i am getting this error while trying to run the file from admincp. but i didn't modify it at all.Download the file again and upload it.
FROM ".CATEGORIES_TABLE." i, ".IMAGES_TABLE." c
por:FROM ".CATEGORIES_TABLE." c, ".IMAGES_TABLE." i
if ($user_info['user_id'] == $shouts[$i]['usrid'] || $user_info['user_level'] == ADMIN){
if (($user_info['user_id'] == $shouts[$i]['usrid']) || ($user_info['user_level'] == ADMIN)){
a lil problem ... i've install and this work fine but a lil problem ...What private messages? please tell me more about your problem.
i've wrote some to test it and this work (i.e : test ) , but this text appear in my private messages when i'm reply to someone .... how fix it ? :
//-----------------------------------------------------
//--- User Box ----------------------------------------
//-----------------------------------------------------
//-----------------------------------------------------
//--- Shoutbox ----------------------------------------
//-----------------------------------------------------
include (ROOT_PATH.'includes/shout.php');
/*--Categories------------------------------------------------*/
/*--Shoutbox--------------------------------------------------*/
.shouts {
border: 1px;
border-style:solid;
border-color: #004C75;
height: 120px;
width: 148px;
padding: 0px;
overflow: auto;
}
.shoutinput {
background-color: #FFFFFF;
font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
color: #0f5475;
font-size: 11px;
WIDTH: 130px;
}
.shouttextarea {
font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
color: #0f5475;
font-size: 11px;
}
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
window.onmousedown=right;
function popup(mylink, windowname) {
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
href=mylink;
else
href=mylink.href;
window.open(href, windowname, 'width=170,height=240,scrollbars=no');
return false;
}
define('WORDMATCH_TABLE', $table_prefix.'wordmatch');
define('SHOUTBOX_TABLE', $table_prefix.'shoutbox');
?>
//-----------------------------------------------------
//--- Shoutbox ----------------------------------------
//-----------------------------------------------------
$lang['shoutbox'] = "Shoutbox";
$lang['sh_e_nouser'] = "Please insert a name.";
$lang['sh_e_nomessage'] = "Please insert a message.";
$lang['sh_e_usrlgth'] = "The name should be shorter than ".$config['sh_usr_lgth']." characters.";
$lang['sh_e_msglgth'] = "The message should be shorter than ".$config['sh_msg_lgth']." words.";
$lang['sh_e_inactive'] = "Sorry, the shoutbox is disabled for the timebeing.";
$lang['sh_e_register'] = "Please register to use the shoutbox";
$lang['sh_name'] = "Name:";
$lang['sh_message'] = "Message:";
$lang['sh_edit'] = "Edit";
$lang['sh_edited'] = "Shout Edited";
$lang['sh_delete'] = "Delete";
$lang['sh_ask_delete'] = "Delete Shout?";
$lang['sh_deleted'] = "The shout was deleted";
$lang['sh_close'] = "[Close Window]";
//-----------------------------------------------------
//--- Shoutbox ----------------------------------------
//-----------------------------------------------------
$lang['shoutbox'] = "Shoutbox";
$lang['sh_e_nouser'] = "Escribe un nombre por favor.";
$lang['sh_e_nomessage'] = "Escribe un mensaje por favor.";
$lang['sh_e_usrlgth'] = "El nombre debe ser de menos de ".$config['sh_usr_lgth']." caracteres.";
$lang['sh_e_msglgth'] = "El mensaje debe ser de menos de ".$config['sh_msg_lgth']." palabras.";
$lang['sh_e_inactive'] = "Lo siento, pero el Shoutbox esta desabilitado en este momento.";
$lang['sh_e_register'] = "Por favor, registrese para usar la shoutbox";
$lang['sh_name'] = "Nombre:";
$lang['sh_message'] = "Mensaje:";
$lang['sh_edit'] = "Editar";
$lang['sh_edited'] = "Shout Editado";
$lang['sh_delete'] = "Borrar";
$lang['sh_ask_delete'] = "Borrar mensaje?";
$lang['sh_deleted'] = "El mensaje fue borrado";
$lang['sh_close'] = "[Cerrar Ventana]";
//-----------------------------------------------------
//--- Shoutbox ----------------------------------------
//-----------------------------------------------------
$lang['shoutbox'] = "Shoutbox";
$lang['sh_e_nouser'] = "Bitte trage deinen Namen ein.";
$lang['sh_e_nomessage'] = "Bitte trage eine Nachricht ein.";
$lang['sh_e_usrlgth'] = "Der Name sollte kürzer sein als ".$config['sh_usr_lgth']." Buchstaben.";
$lang['sh_e_msglgth'] = "Die Nachricht sollte kürzer sein als ".$config['sh_msg_lgth']." Wörter.";
$lang['sh_e_inactive'] = "Sorry, die Shoutbox ist vorläufig gesperrt.";
$lang['sh_e_register'] = "Bitte registriere dich, um die Shoutbox zu nutzen.";
$lang['sh_name'] = "Name:";
$lang['sh_message'] = "Nachricht:";
$lang['sh_edit'] = "Edit";
$lang['sh_edited'] = "Nachricht bearbeiten?";
$lang['sh_delete'] = "Delete";
$lang['sh_ask_delete'] = "Nachricht löschen?";
$lang['sh_deleted'] = "Die Nachricht wurde gelöscht";
$lang['sh_close'] = "[schließen]";
?>
//-----------------------------------------------------
//--- Shoutbox ----------------------------------------
//-----------------------------------------------------
$lang['sh_not_updated'] = "Settings couldn't be updated";
$lang['sh_not_installed'] = "Installation couldn't be completed";
$lang['sh_cfg'] = "Shoutbox Configuration";
$lang['sh_activate'] = "Activate Shoutbox";
$lang['sh_allow_guests'] = "Allow guests to post";
$lang['sh_usr_lgth'] = "Username Length(less than 50 characters)";
$lang['sh_msg_lgth'] = "Message Length(in words)";
$lang['sh_wordwrap'] = "wordwrap";
$lang['sh_bbcode'] = "Allow BBcode";
$lang['sh_bbimg'] = "Allow BBcode images";
$lang['sh_html'] = "Allow HTML";
$lang['sh_msg_display'] = "Cuantity of shouts to display on the template";
$lang['sh_install'] = "Install Shoutbox";
$lang['sh_installed'] = "The shoutbox is installed and configured";
$lang['sh_back'] = "Back to Shoutbox Admin";
$lang['sh_currnt'] = "<h1>Current Shouts</h1>\n";
$lang['sh_deletes'] = "Delete";
$lang['sh_number'] = "Shout Number";
$lang['sh_name'] = "Name";
$lang['sh_message'] = "Message";
$lang['sh_date'] = "date";
$lang['sh_options'] = "Options";
$lang['sh_delete'] = "Delete Shouts";
$lang['sh_deleted'] = "The Shouts where deleted \n";
$lang['sh_update'] = "Update Settings";
$lang['sh_updated'] = "Settings Updated \n";
//-----------------------------------------------------
//--- Shoutbox ----------------------------------------
//-----------------------------------------------------
$lang['sh_not_updated'] = "La configuracion no pudo ser guardada";
$lang['sh_not_installed'] = "No se pudo completar la instalación";
$lang['sh_cfg'] = "Configuración de la Shoutbox";
$lang['sh_activate'] = "Activar la Shoutbox";
$lang['sh_allow_guests'] = "Permitir que visiantes manden mensajes";
$lang['sh_usr_lgth'] = "Longitud Del Nombre(menor que 50 caracteres)";
$lang['sh_msg_lgth'] = "Longitud Del Mensaje(en palabras)";
$lang['sh_wordwrap'] = "wordwrap";
$lang['sh_bbcode'] = "Permitir BBcode";
$lang['sh_bbimg'] = "permitir imagenes BBcode";
$lang['sh_html'] = "Permitir HTML";
$lang['sh_msg_display'] = "Cantidad de mensajes para mostrar";
$lang['sh_install'] = "Instalar la Shoutbox";
$lang['sh_installed'] = "La Shoutbox está instalada y configurada";
$lang['sh_back'] = "Volver al administrador de la shoutbox";
$lang['sh_currnt'] = "<h1>Mensajes</h1>\n";
$lang['sh_deletes'] = "Borrar";
$lang['sh_number'] = "Numero de mensaje";
$lang['sh_name'] = "Nombre";
$lang['sh_message'] = "Mensaje";
$lang['sh_date'] = "Fecha";
$lang['sh_options'] = "Opciones";
$lang['sh_delete'] = "Borrar Mensajes";
$lang['sh_deleted'] = "Los Mensajes Fueron Borrados \n";
$lang['sh_update'] = "Guardar Configuración";
$lang['sh_updated'] = "Configuración guardada \n";
//-----------------------------------------------------
//--- Shoutbox ----------------------------------------
//-----------------------------------------------------
$lang['sh_not_updated'] = "Die Einstellungen konnten nicht aktualisiert werden.";
$lang['sh_not_installed'] = "Die Installation konnte nicht durchgeführt werden.";
$lang['sh_cfg'] = "Shoutbox Einstellungen";
$lang['sh_activate'] = "Shoutbox aktivieren";
$lang['sh_allow_guests'] = "Gäste dürfen posten";
$lang['sh_usr_lgth'] = "Username Länge(weniger als 50 Buchstaben)";
$lang['sh_msg_lgth'] = "Nachricht Länge(in Wörtern)";
$lang['sh_wordwrap'] = "Zeilenumbruch";
$lang['sh_bbcode'] = "BBCode erlauben";
$lang['sh_bbimg'] = "BBCode Bilder erlauben";
$lang['sh_html'] = "HTML erlauben";
$lang['sh_msg_display'] = "Anzahl der Nachrichten, die im Template angezeigt werden sollen.";
$lang['sh_install'] = "Shoutbox installieren";
$lang['sh_installed'] = "Die shoutbox ist installiert und konfiguriert.";
$lang['sh_back'] = "Zurück zur Shoutbox Administration";
$lang['sh_currnt'] = "<h1>Aktuelle Shouts</h1>\n";
$lang['sh_deletes'] = "Löschen";
$lang['sh_number'] = "Shout Nummer";
$lang['sh_name'] = "Name";
$lang['sh_message'] = "Nachricht";
$lang['sh_date'] = "Datum";
$lang['sh_options'] = "Optionen";
$lang['sh_delete'] = "Nachrichten löschen";
$lang['sh_deleted'] = "Die Nachrichten wurden gelöscht \n";
$lang['sh_update'] = "Aktualisiere Einstellungen";
$lang['sh_updated'] = "Einstellungen wurden aktualisiert \n";
<!-- Shoutbox Begin -->
<table width="148" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="head2" height="20"> <img src="{template_url}/images/spacer.gif" alt="" width="4" height="4" />{lang_shoutbox}</td>
</tr>
<tr>
<td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
</tr>
<tr>
<td>
<div class="shouts">
<table cellpadding="0" cellspacing="0" width="130">
{shoutings}
</table>
</div>
</td>
</tr>
<tr>
<td align="center" class="row1">
{shout_form}
</td>
</tr>
<tr>
<td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
</tr>
</table>
<!-- Shoutbox End -->
All copyright notices including the hyperlinks, and headers remain intact and unmodified in the source., what part of the header has copyright notices?, the java script?