[ABD] Moderator Can

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
User avatar
Mahoney
Registered User
Posts: 196
Joined: Sun Mar 16, 2008 4:07 pm
Contact:

Re: [BETA] Moderator Can

Post by Mahoney »

Hello Bruno36

Code: Select all

[phpBB Debug] PHP Notice: in file /viewtopic.php on line 1658: Undefined variable: posts_per_day
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 1762: Undefined variable: level_posts_for_this
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 1762: Undefined variable: level_posts_for_this
This error has absolutely nothing to do with the "Moderator Can MOD".
Look HERE.


Best regards: Mahoney
User avatar
Bruno36
Registered User
Posts: 287
Joined: Fri Mar 02, 2007 2:16 pm
Location: france
Name: bruno astie
Contact:

Re: [BETA] Moderator Can

Post by Bruno36 »

Bonjour!
[phpBB Debug] PHP Notice: in file /includes/functions_can.php on line 805: Undefined variable: aoptions
Excuse me for my poor English, I speak french
Bruno36
User avatar
Mahoney
Registered User
Posts: 196
Joined: Sun Mar 16, 2008 4:07 pm
Contact:

Re: [BETA] Moderator Can

Post by Mahoney »

Hello Bruno36
Define the variable.

Search in /includes/functions_can.php

Code: Select all

$sql = "SELECT * FROM " . MODERATOR_CAN_TABLE . " WHERE can_type = 2 ORDER BY can_title";
		$result = $db->sql_query($sql);
Add after

Code: Select all

$aoptions = '';

Best regards: Mahoney
User avatar
Bruno36
Registered User
Posts: 287
Joined: Fri Mar 02, 2007 2:16 pm
Location: france
Name: bruno astie
Contact:

Re: [BETA] Moderator Can

Post by Bruno36 »

I have the code $aoptions = ''; in my functions_can.php :oops:
Excuse me for my poor English, I speak french
Bruno36
User avatar
Bruno36
Registered User
Posts: 287
Joined: Fri Mar 02, 2007 2:16 pm
Location: france
Name: bruno astie
Contact:

Re: [BETA] Moderator Can

Post by Bruno36 »

Problem solved. :oops:
This came from my file config.php

Before:
<?php
// phpBB 3.0.x auto-generated configuration file
// Do not change anything in this file!
$dbms = 'mysql';
$dbhost = 'xxxxx';
$dbport = '';
$dbname = 'xxxxx';
$dbuser = 'xxxxx';
$dbpasswd = 'xxxxx';
$table_prefix = 'phpbb_';
$acm_type = 'file';
$load_extensions = '';

@define('PHPBB_INSTALLED', true);
@define('DEBUG', true);
@define('DEBUG_EXTRA', true);
?>
After:
<?php
// phpBB 3.0.x auto-generated configuration file
// Do not change anything in this file!
$dbms = 'mysql';
$dbhost = 'xxxxx';
$dbport = '';
$dbname = 'xxxxx';
$dbuser = 'xxxxx';
$dbpasswd = 'xxxxx';
$table_prefix = 'phpbb_';
$acm_type = 'file';
$load_extensions = '';

@define('PHPBB_INSTALLED', true);
// @define('DEBUG', true);
// @define('DEBUG_EXTRA', true);
?>
Excuse me for my poor English, I speak french
Bruno36
User avatar
Mahoney
Registered User
Posts: 196
Joined: Sun Mar 16, 2008 4:07 pm
Contact:

Re: [BETA] Moderator Can

Post by Mahoney »

Hello Bruno36
Your problem is not resolved, but only hidden.
Look here PHP Variables



Best regards: Mahoney
Ari_aswari
Registered User
Posts: 2
Joined: Sat Dec 13, 2008 4:11 pm

Re: [BETA] Moderator Can

Post by Ari_aswari »

No news of this mod ? Great mod, but at this time, it need fix and corrections :)

When I want to use PM auto response, I must use the {COMMENT} fonction, else it's bugs & errors, but, with auto response (not in PM), all right. In the actions too :)
User avatar
christhatsme
Registered User
Posts: 1811
Joined: Sun Jan 16, 2005 10:42 am
Location: London, UK

Re: [BETA] Moderator Can

Post by christhatsme »

I no longer have time to support this MOD, but if anyone would like to take over development of this MOD do let me know, and I would be happy for someone else to carry on developing this MOD as long as I am given credit etc.

Thanks

Chris
All MOD downloads should be back now - Sorry for that and serious lack of support! - If anyone wants to take over or help with any of my MODs the offer would be apreciated as I have little time for phpBB Modding recently!

Again very sorry for not supporting these MODs recently.
regisg
Registered User
Posts: 48
Joined: Fri Apr 14, 2006 11:29 am

Re: [BETA] Moderator Can

Post by regisg »

Hi everybody,

This is a little fix to correct the error : "The forum ID is missing"
(PM Response)

mcp/mcp_can.php
l .1171 :
FIND : can_make_response($can_row, $comment, $topic_id, $forum_id);
CHANGE : can_make_pmresponse($can_row, $comment, $user_id);

Great MOD anyway ;)
User avatar
tumba25
Former Team Member
Posts: 4430
Joined: Wed Jun 06, 2007 6:42 am
Location: Kokkola, Finland.
Name: Jari Kanerva
Contact:

Re: [BETA] Moderator Can

Post by tumba25 »

I'll lock this topic as abandoned.

If the MOD author wants to continue developing this MOD, contact a MOD Team member.
Need a mod/extension created/installed, other custom-coded solution or a server admin? https://tumba25.net
Locked

Return to “[3.0.x] Abandoned MODs”