Code: Select all
Class 'arcade_admin'

btw:
Is there any possibility for a new release with "soft deleting" the useraccount e.g. set to inaktive or similiar? I saw that function in smf boards - if possible, it should be in phpbb3 , too

regards
Uwe
Code: Select all
Class 'arcade_admin'
This isn't an error of the installation, I have this error too...lugsciath wrote:seams to be a error from arcade Mod, check your installationCode: Select all
Class 'arcade_admin'
mykee wrote:Under UCP, if you follow instructions...
The first error of not being able to find the delete feature is a 3.06 issue.Philippe B wrote:It is the same for me, I can't see where user can delete account.
where exactly ?
Does it still work with phpbb 3.06 ?
Goto line 326 of that file and comment out the area pertaining to the Arcade Mod.emmea90 wrote:I get this error:
Fatal error: Class 'arcade_admin' not found in /membri/emmea/phpbb/includes/functions_user.php on line 326
the problem here is with the Arcade Module code within the delete user function in the /includes/function_user.php file
THE NUMBERS IN THIS EXAMPLE ARE UNIQUE FOR MY DATABASE.roller24 wrote: (284, 1, 1, 'unsubcribe', 'ucp', 0, 351, 352, 'UCP_UNSUBCRIBE_USER', '', '');
be careful as the developer has spelled unsubscribe as unsubcribe without the S
Please anyone....Mrraider wrote:Works great... but if i want to remove this mod how do i do that?
Code: Select all
<?php
/**
*
* posting [Spanish � Sp]
*
* @package language
* @version $Id: unsubcribe.php,v 0.1.2 2008/03/18 18:22:12 tas2580 Exp $
* @copyright (c) SEO phpBB http://www.seo-phpbb.org
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
* DO NOT CHANGE
*/
if (!defined('IN_PHPBB'))
{
exit;
}
if (empty($lang) || !is_array($lang))
{
$lang = array();
}
// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
// Traduccion del MOD por Jorup16 www.FIFA-XGamers.com - www.FIFA-Guate.com
$lang = array_merge($lang, array(
'UNSUBCRIBE_USER' => 'Borrar Cuenta',
));
?>
Code: Select all
<?php
/**
*
*
* @package language
* @version $Id: permissions_unsubcribe.php,v 0.1.2 2008/03/18 18:22:12 tas2580 Exp $
* @copyright (c) SEO phpBB http://www.seo-phpbb.org
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
* DO NOT CHANGE
*/
if (empty($lang) || !is_array($lang))
{
$lang = array();
}
// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
// Adding new category
// Traduccion del MOD por Jorup16 www.FIFA-XGamers.com - www.FIFA-Guate.com
// Adding the permissions
$lang = array_merge($lang, array(
'acl_u_unsubcribe_del' => array('lang' => 'Tus mensajes seran borrados cuando se borre tu cuenta', 'cat' => 'perfil'),
));
?>
Code: Select all
<?php
/**
*
* posting [Spanish � Sp]
*
* @package language
* @version $Id: unsubcribe.php,v 0.1.2 2008/03/18 18:22:12 tas2580 Exp $
* @copyright (c) SEO phpBB http://www.seo-phpbb.org
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
* DO NOT CHANGE
*/
if (!defined('IN_PHPBB'))
{
exit;
}
if (empty($lang) || !is_array($lang))
{
$lang = array();
}
// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
// Traduccion del MOD por Jorup16 www.FIFA-XGamers.com - www.FIFA-Guate.com
$lang = array_merge($lang, array(
'USER_DELETED' => 'La cuenta del usuario ha sido borrada satisfactoriamente!',
'UNSUBCRIBE_USER_TXT' => 'Aqui puedes borrar la cuenta de tu usuario. Nota que no podras recuperar tu cuenta.',
'DEL_POSTINGS' => 'Conservar mensajes',
'DEL_POSTINGS_DESC' => 'Decide que pasara con tus mensajes.',
'DEL_POST' => 'Borrar mis mensajes',
'KEEP_POST' => 'Conservar mis mensajes como mensajes escritos por usuario invitado',
'CURRENT_PASSWORD_DESC' => 'Escribe tu clave para confirmar, para asi poder borrar tu cuenta',
'LOG_USER_DELETED' => 'El usuario ha borrado su cuenta',
'USER_REALY_DEL' => 'Confirmar eliminacion',
'UNSUBCRIBE_USER' => 'Eliminar usuario',
'UNSUBCRIBE_USER_DESC' => 'Confirma que realmente deseas eliminar tu cuenta',
'USER_NOT_DELETED' => '<b> ERROR !!!</ b> La cuenta no ha sido borrada! <br /> Ingresaste la clave correcta para confirmar el borrado?',
));
?>
Even if this is a quite old topic, I also think, that's a good feature.sleevedbiker wrote:a great addition to this would be a form on the delete account page for the user to give us feedback as to why they are deleting their account.
Code: Select all
'USER_NOT_DELETED' => '<b> ERROR !!!</ b> The account could not be deleted! <br /> Do you have the correct password to confirm?',
Code: Select all
'UNSUBCRIBE_REASON' => 'Why do you unsubscribe?',
'UNSUBCRIBE_REASON_DSC' => 'Please tell us the reason...',
Code: Select all
$delete_type = request_var('delete_type', '');
$delete = request_var('delete', '');
$cur_password = request_var('cur_password', '');
Code: Select all
$unsubscribe_reason = request_var('unsubscribe_reason', '');
Code: Select all
if ($delete && phpbb_check_hash($cur_password, $user->data['user_password']))
{
user_delete($delete_type, $user->data['user_id'], $user->data['username']);
add_log('user', 'LOG_USER_DELETED', $user->data['username']);
Code: Select all
$delsender = "Name of your forum";
$delsendermail = "[email protected]";
$delempfaenger = "[email protected]";
$delbetreff = "Member deleted himself!";
$deltext = "Info to the admin: Your board member " . $user->data['username'] . " just deleted himself.\n\nReason (if entered):\n " . $unsubscribe_reason . "\n\nEnd of message.";
mail($delempfaenger, $delbetreff, $deltext,
"From: $delsender <$delsendermail>");
Code: Select all
<!-- IF S_CAN_DELPOSTS -->
<tr>
<td class="row1" width="35%"><b class="genmed">{L_DEL_POSTINGS}: </b><br /><span class="gensmall">{L_DEL_POSTINGS_DESC}</span></td>
<td class="row2"><input type="radio" value="retain" checked name="delete_type" /> {L_KEEP_POST}<br><input type="radio" name="delete_type" value="remove" /> {L_DEL_POST}</td>
</tr>
<!-- ENDIF -->
Code: Select all
<tr>
<td class="row1" width="35%" valign="top"><b class="genmed">{L_UNSUBCRIBE_REASON}: </b><br /><span class="gensmall">{L_UNSUBCRIBE_REASON_DSC}</span></td>
<td class="row2">
<textarea name="unsubscribe_reason" id="unsubscribe_reason" rows="10" cols="76" class="inputbox">{UNSUBSCRIBE_REASON}</textarea>
</td>
</tr>