Poll Hack by xillibit Kunena-Version: 1.5.4 version: 0.1.8.0 ________________________________________________________________________________________ Attention! It overrides the following files: components/com_kunena/template/default/post.php components/com_kunena/template/default/view.php components/com_kunena/template/default/fb_write.html.php components/com_kunena/template/default_ex/view.php components/com_kunena/kunena.php components/com_kunena/class.kunena.php components/com_kunena/lib/kunena.config.class.php components/com_kunena/lib/kunena.link.class.php administrator/components/com_kunena/admin.kunena.html.php administrator/components/com_kunena/admin.kunena.php administrator/components/com_kunena/Kunena_config.php _________________________________________________________________________________________ This hack need to create new tables in the database, make sure before to use this hack to load the file polltables.sql and change if need the prefix if our tables don't start by jos_. _________________________________________________________________________________________ You need an additional language string for display new srtings. If you have translations for others languages tell me. Insert it here: administrator/components/com_kunena/language/kunena.YOURLANGUAGE.php For English : DEFINE('_KUNENA_POLL_ADD', 'Add a new poll'); DEFINE('_KUNENA_POLL_TITLE', 'Poll title'); DEFINE('_KUNENA_POLL_ADD_OPTION', 'Add a new option'); DEFINE('_KUNENA_POLL_REM_OPTION', 'Remove a option'); DEFINE('_KUNENA_POLL_OPTION_NAME', 'Option'); DEFINE('_KUNENA_POLL_BUTTON_VOTE', 'Vote'); DEFINE('_KUNENA_POLL_BUTTON_RESULT', 'View results'); DEFINE('_KUNENA_POLL_NO_VOTE', 'No vote'); DEFINE('_KUNENA_POLL_VOTERS_TOTAL', 'Total number of voters : '); DEFINE('_KUNENA_POLL_HITS_OPTIONS', 'Number of people who voted for this'); DEFINE('_KUNENA_A_HACK_POLL_TITLE', 'Hack poll'); DEFINE('_KUNENA_A_POLL_NUMBER_OPTIONS', 'Number of options for the polls'); DEFINE('_KUNENA_A_POLL_NUMBER_OPTIONS_DESC', 'Set the number maximum allowed for the field options for the polls when the users create a new post'); DEFINE('_KUNENA_POLL_SAVE_ALERT_OK', 'Your vote has been saved with succes'); DEFINE('_KUNENA_POLL_SAVE_ALERT_ERROR', 'A problem has prevented to save your vote'); DEFINE('_KUNENA_POLL_SAVE_VOTE_ALREADY', 'You have already voted for this poll !!'); DEFINE('_KUNENA_A_POLL_ALLOW_ONE_VOTE', 'Allow user to vote one time for a poll'); DEFINE('_KUNENA_A_POLL_ALLOW_ONE_VOTE_DESC', 'Allow user to vote only one time for a poll'); DEFINE('_KUNENA_POLL_NUMBER_OPTIONS_MAX_NOW', 'The maximum options numbers is reach'); DEFINE('_KUNENA_POLL_SAVE_ALERT_ERROR_NOT_CHECK', 'You must check a box for vote to this poll!!'); DEFINE('_KUNENA_A_POLL_ENABLED', 'Enabled'); DEFINE('_KUNENA_A_ENABLED_DESC', 'Allow to enable or disable the hack poll'); DEFINE('_KUNENA_POLL_NAME', 'Poll : '); DEFINE('_KUNENA_POLL_OPTIONS', 'Poll options'); DEFINE('_KUNENA_ADMIN_POLLS', 'Polls Settings'); DEFINE('_KUNENA_POLL_NAME_URL_RESULT', 'Return to the topic'); For French : DEFINE('_KUNENA_POLL_ADD', 'Ajouter un sondage'); DEFINE('_KUNENA_POLL_TITLE', 'Titre du sondage'); DEFINE('_KUNENA_POLL_ADD_OPTION', 'Ajouter une option'); DEFINE('_KUNENA_POLL_REM_OPTION', 'Supprimer une option'); DEFINE('_KUNENA_POLL_OPTION_NAME', 'Option'); DEFINE('_KUNENA_POLL_BUTTON_VOTE', 'Voter'); DEFINE('_KUNENA_POLL_BUTTON_RESULT', 'Voir les résultats'); DEFINE('_KUNENA_POLL_NO_VOTE', 'Aucun vote'); DEFINE('_KUNENA_POLL_VOTERS_TOTAL', 'Nombre total de votants : '); DEFINE('_KUNENA_POLL_HITS_OPTIONS', 'Nombre de personnes ayant votés pour ceci'); DEFINE('_KUNENA_A_HACK_POLL_TITLE', 'Hack poll'); DEFINE('_KUNENA_A_POLL_NUMBER_OPTIONS', 'Nombre d\'options pour les sondages'); DEFINE('_KUNENA_A_POLL_NUMBER_OPTIONS_DESC', 'Définir le nombre maximal d\'options autorisés pour les champs des sondages lors de la création d\'un post'); DEFINE('_KUNENA_POLL_SAVE_ALERT_OK', 'Votre vote a été enregistré avec succés'); DEFINE('_KUNENA_POLL_SAVE_ALERT_ERROR', 'Un probléme a empêché de sauver votre votre'); DEFINE('_KUNENA_POLL_SAVE_VOTE_ALREADY', 'Vous avez déjà voté pour ce sondage !!'); DEFINE('_KUNENA_A_POLL_ALLOW_ONE_VOTE', 'Autoriser l\'utilisateur a voter une seule fois'); DEFINE('_KUNENA_A_POLL_ALLOW_ONE_VOTE_DESC', 'Autoriser l\'utilisateur a voté seulement un fois au sondage'); DEFINE('_KUNENA_POLL_NUMBER_OPTIONS_MAX_NOW', 'Le nombre maximal d\'options est atteint'); DEFINE('_KUNENA_POLL_SAVE_ALERT_ERROR_NOT_CHECK', 'Vous devez cocher une case pour voter à ce sondage !!'); DEFINE('_KUNENA_A_POLL_ENABLED', 'Activé'); DEFINE('_KUNENA_A_ENABLED_DESC', 'Permet d'activer ou désactiver l'hack poll'); DEFINE('_KUNENA_POLL_NAME', 'Sondage : '); DEFINE('_KUNENA_POLL_OPTIONS', 'Options du sondage'); DEFINE('_KUNENA_ADMIN_POLLS', 'Paramètres des sondages'); DEFINE('_KUNENA_POLL_NAME_URL_RESULT', 'Retournez au sujet'); For Italian : DEFINE('_KUNENA_POLL_ADD', 'Aggiungi sondaggio'); DEFINE('_KUNENA_POLL_TITLE', 'Titolo sondaggio'); DEFINE('_KUNENA_POLL_ADD_OPTION', '+ opzione'); DEFINE('_KUNENA_POLL_REM_OPTION', '- opzione'); DEFINE('_KUNENA_POLL_OPTION_NAME', 'Opzione'); DEFINE('_KUNENA_POLL_BUTTON_VOTE', 'Vota'); DEFINE('_KUNENA_POLL_BUTTON_RESULT', 'Vedi risultati'); DEFINE('_KUNENA_POLL_NO_VOTE', 'Nessun voto'); DEFINE('_KUNENA_POLL_VOTERS_TOTAL', 'Numero totale di votanti : '); DEFINE('_KUNENA_POLL_HITS_OPTIONS', 'Numero votanti'); DEFINE('_KUNENA_A_HACK_POLL_TITLE', 'Hack sondaggi'); DEFINE('_KUNENA_A_POLL_NUMBER_OPTIONS', 'Numero delle opzioni per i sondaggi'); DEFINE('_KUNENA_A_POLL_NUMBER_OPTIONS_DESC', 'Numero massimo delle opzioni disponibili quando un utente crea un nuovo sondaggio'); DEFINE('_KUNENA_POLL_SAVE_ALERT_OK', 'Il tuo voto è stato registrato.'); DEFINE('_KUNENA_POLL_SAVE_ALERT_ERROR', 'Un problema ha impedito il salvataggio del tuo voto'); DEFINE('_KUNENA_POLL_SAVE_VOTE_ALREADY', 'Hai già votato per questo sondaggio !!'); DEFINE('_KUNENA_A_POLL_ALLOW_ONE_VOTE', 'permetti agli utenti di dare un solo voto'); DEFINE('_KUNENA_A_POLL_ALLOW_ONE_VOTE_DESC', 'Permetti di votare una sola volta'); DEFINE('_KUNENA_POLL_NUMBER_OPTIONS_MAX_NOW', 'Hai raggiunto il numero massimo di opzioni consentite'); DEFINE('_KUNENA_POLL_SAVE_ALERT_ERROR_NOT_CHECK', 'per votare in questo sondaggio devi selezionare una casella!'); DEFINE('_KUNENA_A_POLL_ENABLED', 'Abilitato'); DEFINE('_KUNENA_A_ENABLED_DESC', 'Permetti di abilitare e disabilitare i sondaggi'); DEFINE('_KUNENA_POLL_NAME', 'Sondaggio : '); DEFINE('_KUNENA_POLL_OPTIONS', 'esprimi la tua opinione!'); For Spanish : DEFINE('_KUNENA_POLL_ADD', 'Añadir nueva encuesta'); DEFINE('_KUNENA_POLL_TITLE', 'Título de la encuesta'); DEFINE('_KUNENA_POLL_ADD_OPTION', 'Añadir nueva opción'); DEFINE('_KUNENA_POLL_REM_OPTION', 'Eliminar opción'); DEFINE('_KUNENA_POLL_OPTION_NAME', 'Opción'); DEFINE('_KUNENA_POLL_BUTTON_VOTE', 'Votar'); DEFINE('_KUNENA_POLL_BUTTON_RESULT', 'Ver resultados'); DEFINE('_KUNENA_POLL_NO_VOTE', 'No hay votos'); DEFINE('_KUNENA_POLL_VOTERS_TOTAL', 'Número total de votos: '); DEFINE('_KUNENA_POLL_HITS_OPTIONS', 'Número de personas que han votado'); DEFINE('_KUNENA_A_HACK_POLL_TITLE', 'Hack poll'); DEFINE('_KUNENA_A_POLL_NUMBER_OPTIONS', 'Número de opciones para esta encuesta'); DEFINE('_KUNENA_A_POLL_NUMBER_OPTIONS_DESC', 'Número máximo de opciones por encuesta'); DEFINE('_KUNENA_POLL_SAVE_ALERT_OK', 'Tu voto ha sido enviado'); DEFINE('_KUNENA_POLL_SAVE_ALERT_ERROR', 'Un problema ha impedido guardar tu voto'); DEFINE('_KUNENA_POLL_SAVE_VOTE_ALREADY', '¡Ya has votado en esta encuesta!'); DEFINE('_KUNENA_A_POLL_ALLOW_ONE_VOTE', 'Un voto por encuesta'); DEFINE('_KUNENA_A_POLL_ALLOW_ONE_VOTE_DESC', 'Restringir el voto a uno por usuario'); DEFINE('_KUNENA_POLL_NUMBER_OPTIONS_MAX_NOW', 'Has alcanzado el número máximo de votos'); DEFINE('_KUNENA_POLL_SAVE_ALERT_ERROR_NOT_CHECK', '¡Debes seleccionar una opción para votar!'); DEFINE('_KUNENA_A_POLL_ENABLED', 'Activado'); DEFINE('_KUNENA_A_ENABLED_DESC', 'Permite desactivar o activar el hack'); DEFINE('_KUNENA_POLL_NAME', 'Encuesta: '); DEFINE('_KUNENA_POLL_OPTIONS', 'Opciones de la encuesta'); For German : DEFINE('_KUNENA_POLL_ADD', 'Neue Umfrage'); DEFINE('_KUNENA_POLL_TITLE', 'Umfragetitel'); DEFINE('_KUNENA_POLL_ADD_OPTION', 'Neue Antwort'); DEFINE('_KUNENA_POLL_REM_OPTION', 'Antwort löschen'); DEFINE('_KUNENA_POLL_OPTION_NAME', 'Antwort'); DEFINE('_KUNENA_POLL_BUTTON_VOTE', 'Abstimmen'); DEFINE('_KUNENA_POLL_BUTTON_RESULT', 'Ergebnis'); DEFINE('_KUNENA_POLL_NO_VOTE', 'Nicht Abstimmen'); DEFINE('_KUNENA_POLL_VOTERS_TOTAL', 'Gesamtzahl Abstimmungen : '); DEFINE('_KUNENA_POLL_HITS_OPTIONS', 'Anzahl d. Personen die abgest. haben'); DEFINE('_KUNENA_A_HACK_POLL_TITLE', 'Umfrage'); DEFINE('_KUNENA_A_POLL_NUMBER_OPTIONS', 'Antwortmöglichkeiten'); DEFINE('_KUNENA_A_POLL_NUMBER_OPTIONS_DESC', 'Beschränkt die Anzahl der maximalen Antwortmöglichkeiten, die f¨r eine neue Umfrage eingestellt werden können'); DEFINE('_KUNENA_POLL_SAVE_ALERT_OK', 'Deine Umfrage wurde erfolgreich gespeichert'); DEFINE('_KUNENA_POLL_SAVE_ALERT_ERROR', 'Beim Speichern deiner Umfrage trat ein Fehler auf'); DEFINE('_KUNENA_POLL_SAVE_VOTE_ALREADY', 'Du hast schon abgestimmt !!'); DEFINE('_KUNENA_A_POLL_ALLOW_ONE_VOTE', 'Nur einmal abstimmen'); DEFINE('_KUNENA_A_POLL_ALLOW_ONE_VOTE_DESC', 'Benutzer d¨rfen nur einmal pro Umfrage abstimmen'); DEFINE('_KUNENA_POLL_NUMBER_OPTIONS_MAX_NOW', 'Das Maxium an Antwortmöglichkeiten wurde erreicht'); DEFINE('_KUNENA_POLL_SAVE_ALERT_ERROR_NOT_CHECK', 'Du must eine Antwort auswählen um abzustimmen!!'); DEFINE('_KUNENA_A_POLL_ENABLED', 'Aktiviert'); DEFINE('_KUNENA_A_ENABLED_DESC', 'Umfragen aktiveren / deaktivieren'); DEFINE('_KUNENA_POLL_NAME', 'Umfrage : '); DEFINE('_KUNENA_POLL_OPTIONS', 'Antwortmöglichkeiten'); DEFINE('_KUNENA_ADMIN_POLLS', 'Einstellungen'); DEFINE('_KUNENA_POLL_NAME_URL_RESULT', 'Zur¨ck zum Thema');