Few questions before installing the mod in my website.

All web design discussion, including Ultimate Quiz MOD support.

Moderator: CricketMX Forum Moderators

Post Reply
HJSimpson
Greenhorn
Greenhorn
Posts: 5
Joined: Tue Nov 08, 2005 8:58 pm
Contact:

Hi there.

I'm Spanish so first of all, excuse me for my poor english. I wish you can understand all my message.

I have few questions about this mod, and I want to check them before installing it.

1 - There is any Spanish language for this mod?

2 - Can I change the configuration about regarding system?

Ok, let's explain the second one:

When I say to change the config about the regarding system, I mean that I want to create a Quiz. The user who answer correctly earns 1 point (or $) and the user who don't answer correctly don't loose any point (or $).

Thanks! Regards!
User avatar
battye
Site Admin
Site Admin
Posts: 14422
Joined: Sun Jan 11, 2004 8:26 am
Location: Australia
Contact:

1. Not that I am aware of unfortunately.

2. I assume you use v1.0.6? Go to to Quiz Configuration in the ACP, and find:

Select the amount of money the user gets per correct answer:

Set that to 1.

Select the amount of money the user loses per incorrect answer.

Set that to 0.

Thanks :D
CricketMX.com in 2022: Still the home of bat's, rat's and other farmyard animals!

"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
HJSimpson
Greenhorn
Greenhorn
Posts: 5
Joined: Tue Nov 08, 2005 8:58 pm
Contact:

Thankyou very much!

I'm interested in traslating this mod because I think is really usefull and fun.

I've translated lang_english.php to spanish, but I'm not sure if I have to change more things or not...

Can you specify what files I have to translate?

Thankyou!
User avatar
battye
Site Admin
Site Admin
Posts: 14422
Joined: Sun Jan 11, 2004 8:26 am
Location: Australia
Contact:

Hi! Thanks!

There is actually a new MOD in development, and it would be fantastic if you could translate that!

But, it is still very much in development, and a lot more variables will be added in the next few weeks / months.

Code: Select all

<?php
/***************************************************************************
*                        				   lang_quiz.php
***************************************************************************/
/***************************************************************************
*
*   This program is free software; you can redistribute it and/or modify
*   it under the terms of the GNU General Public License as published by
*   the Free Software Foundation; either version 2 of the License, or
*   (at your option) any later version.
*
***************************************************************************/

// Ultimate Quiz MOD v1.1.0

// Lang variables concerning the installation

$lang['Quiz_install'] = 'Ultimate Quiz MOD Installation';
$lang['Quiz_install_mod'] = 'Ultimate Quiz MOD <b>v1.1 Series</b>';
$lang['Quiz_install_description'] = 'The script is now going to alter your forum database so the Ultimate Quiz MOD can function!<br />Any queries which are shown in green were executed successfully, those in red however, encountered a problem.';
$lang['Quiz_install_success'] = 'Installation is complete, and no errors were encountered. You may now begin using the Ultimate Quiz MOD!';
$lang['Quiz_install_failure'] = 'Installation is complete, however, some errors were encountered. It is suggested that you rectify these problems before attempting to use the Ultimate Quiz MOD!';
$lang['Quiz_install_no_permissions'] = 'You do not have permission to access this file';
$lang['Quiz_install_or_update'] = 'Do you wish to do a fresh install, or update from v1.0.6?<br /><a href="%s">Install</a> - <a href="%s">Update</a>';
$lang['Quiz_install_continue'] = 'To continue with the update, click <a href="%s">here</a>!<br />It is advised you backup before continuing!';

// Variables concerning quiz moderators:
$lang['Quiz_cp_not_moderator'] = 'You are not a quiz moderator!';
$lang['Quiz_cp_delete_sure'] = 'Are you sure you want to delete this quiz? It cannot be restored!';
$lang['Quiz_cp'] = 'Quiz Moderator Control Panel';
$lang['Quiz_cp_delete'] = 'Delete Quiz';
$lang['Quiz_cp_deleted'] = 'The quiz has been deleted successfully!';
$lang['Quiz_cp_edit'] = 'Edit Quiz';
$lang['Quiz_cp_edit_explaination'] = 'You can edit the name, questions, and answers of a quiz here:';
$lang['Quiz_cp_place_check'] = 'Check the box next to the correct answer';
$lang['Quiz_cp_move_explain'] = 'Move this quiz to another category:';
$lang['Quiz_cp_move'] = 'Move Quiz';

// All the variables concerning the end user:

$lang['Quiz_must_be_registered'] = 'It is a requirement that you are registered and logged in to participate in, or submit quizzes';
$lang['Quiz_post_requirement_not_met'] = 'You have have %s posts to participate in, or submit quizzes';
$lang['Quiz_insufficient_questions'] = 'You have either chosen a number above the number specified, or below the number specified, for questions allowed in a quiz. Please choose another number';
$lang['Submit_multiple_choice_quiz'] = 'Submit Multiple Choice Quiz';
$lang['Submit_true_false_quiz'] = 'Submit True / False Quiz';
$lang['Submit_input_quiz'] = 'Submit An Input Answer Quiz';
$lang['Submit_quiz'] = 'Submit Quiz';
$lang['Quiz_alternate'] = 'Alternate Answer';
$lang['Quiz_question'] = 'Question';
$lang['Quiz_insert_name'] = 'Insert Quiz Name';
$lang['Quiz_set_up_options'] = 'Set Up Options';
$lang['Quiz_select_number'] = 'Select the number of questions you wish to have in your quiz:';
$lang['Quiz_only_admin_submit'] = 'Only administrators are permitted to submit quizzes'; 
$lang['Quiz_only_registered_submit'] = 'You must be registered and logged in to submit quizzes';
$lang['Quiz_no_multiple_choice'] = 'Multiple Choice quizzes are not permitted'; 
$lang['Quiz_no_true_false'] = 'True & False quizzes are not permitted'; 
$lang['Quiz_no_input_answer'] = 'Input quizzes are not permitted'; 
$lang['Quiz_no_number_chosen'] = 'You must select the number of questions you wish to have in the quiz!'; 
$lang['Quiz_answer_true'] = 'True'; 
$lang['Quiz_answer_false'] = 'False'; 
$lang['Quiz_answer_correct'] = 'Correct Answer'; 
$lang['Quiz_added_successfully'] = 'Your quiz has been added to the database successfully!'; 
$lang['Quiz_input_information'] = 'After reading the question, type the answer into the field beside!';
$lang['Quiz_multiple_information'] = 'After reading the question, select the correct answer beside it!';
$lang['Quiz_true_false_information'] = 'After reading the question, select whether it is true or false in the field beside it!';
$lang['Quiz_answer_status'] = 'Your answer was <b>%s</b>, the correct answer was <b>%s</b>';
$lang['Quiz_show_correct_score'] = 'Correct Answers: <b>%s</b>';
$lang['Quiz_show_incorrect_score'] = 'Incorrect Answers: <b>%s</b>';
$lang['Quiz_score'] = 'Quiz Results';
$lang['Quiz_quizzes'] = 'Quizzes';
$lang['Quiz_type_true_false'] = 'True / False Quiz';
$lang['Quiz_type_multiple_choice'] = 'Multiple Choice Quiz';
$lang['Quiz_type_input_answer'] = 'Input Answer Quiz';
$lang['Quiz_view_alphabetical'] = 'View by Alphabetical';
$lang['Quiz_view_chronilogical'] = 'View by Date';
$lang['Quiz_view_type'] = 'View by Quiz Type';
$lang['Quiz_view_author'] = 'View by Author';
$lang['Quiz_author_cannot_play'] = 'You cannot play quizzes which you have submitted!';
$lang['Quiz_no_quizzes'] = 'No quizzes have been submitted in this category yet!<br />Click <a href="%s">here</a> to begin adding quizzes!';
$lang['Quiz_password_protect'] = 'Category Password';
$lang['Quiz_password_protect_information'] = 'This category is password protected:';
$lang['Quiz_category_password_wrong'] = 'The password you entered was incorrect, please go back and try again!';
$lang['Quiz_min_max'] = 'The administration has set a minimum number of <b>%d</b> questions and a maximum of <b>%d</b> questions!';
$lang['Quiz_min_max_set'] = 'The administration has set a fixed number of <b>%d</b> questions!';
$lang['Quiz_min_max_exceed'] = 'You have either entered a number which exceeds the maximum, or is lower than the minimum.<br />Please click Back in your browser and try again!';

// Lang variables concerning the admin:

$lang['Quiz_admin_show_answers'] = 'Do you wish for answers to be shown after the quiz is played?';
$lang['Quiz_admin_register_to_play'] = 'Do users have to be registered to participate in / or submit quizzes?';
$lang['Quiz_admin_post_count'] = 'Do you want users to reach a certain post count before they can participate in / or submit quizzes?';
$lang['Quiz_admin_quiz_numbers'] = 'What is the minimum and maximum number of questions a user can have in quiz?<br />Separate with commas, and put the same number twice (<i>x,x</i>) to make a set number for everybody.';
$lang['Quiz_admin_posts'] = 'Enter the minimum number of posts here:';
$lang['Quiz_admin_play_once'] = 'Should users only be able to play each quiz once?';
$lang['Quiz_admin_author_play'] = 'Should the quiz author be able to play their own quizzes?';
$lang['Quiz_admin_moderators'] = 'Enter all users which you wish to have quiz moderator status (move, edit, delete quizzes).<br />Separate user id\'s with commas!';
$lang['Quiz_admin_banned'] = 'Enter all users which you wish to banned from participating in quizzes.<br />Separate user id\'s with commas!';
$lang['Quiz_admin_configuration'] = 'Quiz Configuration';
$lang['Quiz_admin_permissions'] = 'Quiz Permissions';
$lang['Quiz_admin_categories'] = 'Quiz Categories';
$lang['Quiz_admin_yes'] = 'Yes';
$lang['Quiz_admin_no'] = 'No';
$lang['Quiz_admin_cat_edit'] = 'Edit';
$lang['Quiz_admin_cat_delete'] = 'Delete';
$lang['Quiz_admin_cat_add'] = 'Add New Category';
$lang['Quiz_admin_cat_move'] = 'Move Quizzes';
$lang['Quiz_admin_cat_move_to_category'] = 'This function can be used to transfer all quizzes in one category, to another category.<br />This could be useful if you intend to delete a category, but want to retain the quizzes.<br /><br />Select from the list, which category you want to move the quizzes into:';
$lang['Quiz_admin_delete_category'] = 'Are you sure you want to delete this category, and all the quizzes within it?<br />Click <a href="%s">here</a> to continue.';
$lang['Quiz_admin_configuration_updated'] = 'Quiz settings updated successfully<br />Click <a href="admin_quiz.%s">here</a> to return to the Quiz settings panel!';
$lang['Quiz_admin_move_category_successful'] = 'All quizzes were moved to the new category successfully!';
$lang['Quiz_admin_number_quizzes'] = '(%d Quizzes)';
$lang['Quiz_admin_description'] = 'Category Description:';
$lang['Quiz_admin_name'] = 'Category Name:';
$lang['Quiz_admin_edit_explanation'] = 'Edit your category information below: (Category passwords are optional)';
$lang['Quiz_admin_editing'] = 'Edit Category';
$lang['Quiz_admin_category_update_successful'] = 'The category was updated sucessfully!';
$lang['Quiz_admin_add_explanation'] = 'Here, you can add a new category for your quizzes. Enter the information below! (Category passwords are optional)';
$lang['Quiz_admin_add'] = 'Make A New Category';
$lang['Quiz_admin_new_category_successful'] = 'The new category was made successfully!';
$lang['Quiz_admin_password_protect'] = 'Category Password:';
?>
CricketMX.com in 2022: Still the home of bat's, rat's and other farmyard animals!

"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
HJSimpson
Greenhorn
Greenhorn
Posts: 5
Joined: Tue Nov 08, 2005 8:58 pm
Contact:

I've trasnlated the lang_quiz.php into Spanish.

Here is the code:

Code: Select all

<?php
/***************************************************************************
*                        				   lang_quiz.php
***************************************************************************/
/***************************************************************************
*
*   This program is free software; you can redistribute it and/or modify
*   it under the terms of the GNU General Public License as published by
*   the Free Software Foundation; either version 2 of the License, or
*   (at your option) any later version.
*   Translated by HJSimpson (pablo.garcia.roca@gmail.com)
*
***************************************************************************/

// Ultimate Quiz MOD v1.1.0

// Lang variables concerning the installation

$lang['Quiz_install'] = 'Instalaci&oacute;n del Ultimate Quiz Mod';
$lang['Quiz_install_mod'] = 'Ultimate Quiz MOD <b>Versi&oacute;n v1.1</b>';
$lang['Quiz_install_description'] = 'El script va a modificar tu base de datos de los foros para que pueda funcionar<br />Todo lo mostrado en verde ha sido instalado correctamente, lo mostrado en rojo, tiene alg&uacute;n problema';
$lang['Quiz_install_success'] = 'La instalaci&oacute;n ha conclu&iacute;do sin problemas, ahora puedes empezar a utilizar Ultimate Quiz Mod';
$lang['Quiz_install_failure'] = 'La instalaci&oacute;n ha conclu&iacute;do con algunos problemas. Te recomendamos que revises la configuraci&oacute;n antes de empezar a utilizar Ultimate Quiz Mod';
$lang['Quiz_install_no_permissions'] = 'No tienes permiso para acceder a este archivo';
$lang['Quiz_install_or_update'] = '&iquest;Quieres instalar de cero?, o, &iquest;Quieres actualizar desde la versi&oacute;n 1.0.6?<br /><a href="%s">Instalar</a> - <a href="%s">Actualizar</a>';
$lang['Quiz_install_continue'] = 'Para continuar con la actualizaci&oacute;n haz clic <a href="%s">Aqu&iacute;</a>!<br />&iexcl;Haz una c&oacute;pia de seguridad antes de continuar!';

// All the variables concerning the end user:

$lang['Quiz_must_be_registered'] = 'Se requiere que estes registrado y logeado para responder o enviar quizes';
$lang['Quiz_post_requirement_not_met'] = 'Tienes %s puntos para participar o enviar quizes';
$lang['Quiz_insufficient_questions'] = 'Has seleccionado un n&uacute;mero mayor o menor para las preguntas del quiz, porfavor, escoge otro n&uacute;mero';
$lang['Submit_multiple_choice_quiz'] = 'Enviar Quiz multi-respuesta';
$lang['Submit_true_false_quiz'] = 'Enviar el Quiz de verdadero / falso';
$lang['Submit_input_quiz'] = 'Enviar respuesta para el Quiz';
$lang['Submit_quiz'] = 'Enviar Quiz';
$lang['Quiz_alternate'] = 'Respuesta alternativa';
$lang['Quiz_question'] = 'Pregunta';
$lang['Quiz_insert_name'] = 'Inserta el nombre del Quiz';
$lang['Quiz_set_up_options'] = 'Configuraci&oacute;n';
$lang['Quiz_select_number'] = 'Selecciona el n&uacute;mero de preguntas que quieres tener en el Quiz';
$lang['Quiz_only_admin_submit'] = 'S&oacute;lo los administradores pueden enviar Quizes'; 
$lang['Quiz_only_registered_submit'] = 'Debes estar registrado y logeado para enviar Quizes';
$lang['Quiz_no_multiple_choice'] = 'No est&aacute;n permitidos los Quizes de m&uacute;ltiple respuesta'; 
$lang['Quiz_no_true_false'] = 'No est&aacute;n permitidos los Quizes de verdadero / falso'; 
$lang['Quiz_no_input_answer'] = 'Los Quizes introducidos no son v&aacute;lidos'; 
$lang['Quiz_no_number_chosen'] = '&iexcl;Debes seleccionar el n&uacute;mero de preguntas que quieres que tenga el Quiz!'; 
$lang['Quiz_answer_true'] = 'Verdadero'; 
$lang['Quiz_answer_false'] = 'Falso'; 
$lang['Quiz_answer_correct'] = 'Respuesta correcta'; 
$lang['Quiz_added_successfully'] = '&iexcl;Tu Quiz ha sido a&ntilde;adido a la base de datos satisfactoriamente!'; 
$lang['Quiz_input_information'] = 'Despu&eacute;s de leer la pregunta, escribe la respuesta en el cuadro lateral';
$lang['Quiz_multiple_information'] = 'Despu&eacute;s de leer la pregunta, selecciona la respuesta correcta de al lado';
$lang['Quiz_true_false_information'] = 'Despu&eacute;s de leer la pregunta, selecciona verdadero o falso';
$lang['Quiz_answer_status'] = 'Tu respuesta fu&eacute; <b>%s</b>, la respuesta correcta era <b>%s</b>';
$lang['Quiz_show_correct_score'] = 'Respuestas correctas: <b>%s</b>';
$lang['Quiz_show_incorrect_score'] = 'Respuestas incorrectas: <b>%s</b>';
$lang['Quiz_score'] = 'Resultados del Quiz';
$lang['Quiz_quizzes'] = 'Quizzes';
$lang['Quiz_type_true_false'] = 'Quiz de Verdadero / Falso';
$lang['Quiz_type_multiple_choice'] = 'Quiz multi-respuesta';
$lang['Quiz_type_input_answer'] = 'Introduce la respuesta del Quiz';
$lang['Quiz_view_alphabetical'] = 'Ver alfab&eacute;ticamente';
$lang['Quiz_view_chronilogical'] = 'Ver por fecha';
$lang['Quiz_view_type'] = 'Ver por tipo de Quiz';
$lang['Quiz_view_author'] = 'Ver por autor';
$lang['Quiz_author_cannot_play'] = '&iexcl;No puedes participar en los Quizes que has enviado!';
$lang['Quiz_no_quizzes'] = 'No hay Quizes disponibles para esta categor&iacute;a<br />Haz clic <a href="%s">Aqu&iacute;</a> para empezar a a&ntilde;adir Quizes';

// Lang variables concerning the admin:

$lang['Quiz_admin_show_answers'] = '&iquest;Quieres que se muestren las respuestas despu&eacute;s de finalizar el Quiz?';
$lang['Quiz_admin_register_to_play'] = '&iquest;Quieres que los usuarios est&eacute;n registrados para participar y enviar Quizes?';
$lang['Quiz_admin_post_count'] = '&iquest;Quieres que los usuarios tengan un m&iacute;nimo de posts para participar y enviar Quizes?';
$lang['Quiz_admin_posts'] = 'Introduce el n&uacute;mero m&iacute;nimo de posts aqu&iacute;:';
$lang['Quiz_admin_play_once'] = '&iquest;Los usuarios podr&aacute;n responder m&aacute;s de una vez un Quiz?';
$lang['Quiz_admin_author_play'] = '&iquest;Puede el autor del Quiz responder a sus pr&oacute;pias preguntas?';
$lang['Quiz_admin_configuration'] = 'Configuraci&oacute;n del Quiz';
$lang['Quiz_admin_permissions'] = 'Permisos del Quiz';
$lang['Quiz_admin_categories'] = 'Categor&iacute;as del Quiz';
$lang['Quiz_admin_yes'] = 'S&iacute;';
$lang['Quiz_admin_no'] = 'No';
$lang['Quiz_admin_cat_edit'] = 'Editar';
$lang['Quiz_admin_cat_delete'] = 'Borrar';
$lang['Quiz_admin_cat_add'] = 'A&ntilde;adir nueva categor&iacute;a';
$lang['Quiz_admin_cat_move'] = 'Mover Quizes';
$lang['Quiz_admin_cat_move_to_category'] = 'Esta funci&oacute;n puede ser utilizada para mover Quizes de una categor&iacute;a a otra.<br />Deber&iacute;a ser de utilidad si quieres borrar una categor&iacute;a pero quieres conservar los Quizes.<br /><br />Selecciona de la lista a que categor&iacute;a quieres mover los Quizes:';
$lang['Quiz_admin_delete_category'] = '&iquest;Est&aacute;s seguro de que quieres borrar la categor&iacute;a y los Quizes que se encuentren en &eacute;sta?<br />Clic <a href="%s">Aqu&iacute;</a> para continuar.';
$lang['Quiz_admin_configuration_updated'] = 'Quiz settings updated successfully<br />Click <a href="admin_quiz.%s">here</a> to return to the Quiz settings panel!';
$lang['Quiz_admin_move_category_successful'] = 'Todos los Quizes se han movido de categor&iacute;a satisfactoriamente';
$lang['Quiz_admin_number_quizzes'] = '(%d Quizes)';
$lang['Quiz_admin_description'] = 'Descripci&oacute;n de la categor&iacute;a:';
$lang['Quiz_admin_name'] = 'Nombre de la categor&iacute;a:';
$lang['Quiz_admin_edit_explanation'] = 'Edita la informaci&oacute;n de tu categor&iacute;a a continuaci&oacute;n:';
$lang['Quiz_admin_editing'] = 'Editar categor&iacute;a';
$lang['Quiz_admin_category_update_successful'] = 'La categor&iacute;a ha sido actualizada con &eacute;xito';
$lang['Quiz_admin_add_explanation'] = 'Aqu&iacute; puedes a&ntilde;adir categor&iacute;as. Introduce la informaci&oacute;n a continuaci&oacute;n';
$lang['Quiz_admin_add'] = 'Crear categor&iacute;a';
$lang['Quiz_admin_new_category_successful'] = 'La categor&iacute;a se ha creado con &eacute;xito';
?>
I will translate the same file for the new UMQ.

But I need to know if there is any more files that I have to translate.

Or the locations of the specific things I've to translate.

Thankyou!

PS: I can also translate the readme and install instructions, but before doing that I want to know if there is one more to translate inside the mod instead of lang_quiz.php ;)
User avatar
battye
Site Admin
Site Admin
Posts: 14422
Joined: Sun Jan 11, 2004 8:26 am
Location: Australia
Contact:

Nope, I use lang_quiz.php for all the language variables. So there are no other files. Thanks for offering to do it again when it is finished :D :D

Would you like to translate the readme / install file now, or when it is ready to release? (Maybe on the weekend, or early next week).

Cheers mate :) :D
CricketMX.com in 2022: Still the home of bat's, rat's and other farmyard animals!

"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
HJSimpson
Greenhorn
Greenhorn
Posts: 5
Joined: Tue Nov 08, 2005 8:58 pm
Contact:

If the quiz mod will be released next week or soon I think that is better to wait for the new release...

But if you want me to translate the actual install and readme files, tell me to do it, I'll do it.

I tried to install the mod, but I use nukeET, a derivation of php-nuke, so files are quietly different from php-nuke and I can't install the mod...

I supose that here is nobody who had nukeET instead of php-nuke because it's an spanish derivation of php-nuke...

The main problem is located in Subsilver templates because this derivation has got phpBB included into nuke, so there are no templates, there are themes, and those themes includes forum and nuke files.

I will ask to nukeET people to install the mod on nukeET.
User avatar
battye
Site Admin
Site Admin
Posts: 14422
Joined: Sun Jan 11, 2004 8:26 am
Location: Australia
Contact:

CricketMX.com in 2022: Still the home of bat's, rat's and other farmyard animals!

"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
HJSimpson
Greenhorn
Greenhorn
Posts: 5
Joined: Tue Nov 08, 2005 8:58 pm
Contact:

No, I haven't but anyway the problem is my nuke version (I mean, the derivation).

I see that you have MSN Messenger account. If you want I can agree you, or you can agree me and then I can give you the FTP info to allow you to see how is my php-nuke derivation...

But I don't want to distract yourself with my problems.

But anyway, if you are interested in contacting me for looking nukeET files, this is my msn e-mail:
Ataliano (at) hotmail.com

Thanks!
Post Reply