[ABD] Reputation System

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.
NintendoMii
Registered User
Posts: 547
Joined: Thu Aug 04, 2011 9:08 pm

Re: [RC] Reputation System

Post by NintendoMii »

Pico88 wrote:In reputation_ratepost.html and reputation_rateuser.html find

Code: Select all

		<!-- IF REP_PM_NOTIFY -->
		<dl>
			<dt>&nbsp;</dt>
			<dd><label><input type="checkbox" name="notify_user" /> {L_NOTIFY_USER_REP}</label></dd>
		</dl>
		<!-- ENDIF -->
replace with

Code: Select all

		<!-- IF REP_PM_NOTIFY -->
		<dl>
			<dt>&nbsp;</dt>
			<dd><label><input type="checkbox" name="notify_user" checked="checked" /> {L_NOTIFY_USER_REP}</label></dd>
		</dl>
		<!-- ENDIF -->
I don't see how that can work. The stored database value will stay no on registration, and when they edit it in the UCP it'll always display that checkbook as checked regardless of their previously. Submitted settings.
User avatar
Pico88
Registered User
Posts: 878
Joined: Sat Mar 07, 2009 10:24 pm
Location: Poland
Name: Lukasz

Re: [RC] Reputation System

Post by Pico88 »

@NintendoMii, there is nothing stored in database. Moreover, there isn't any option for it in UCP. So what is the problem?
Please do not PM me for support.
User avatar
Pico88
Registered User
Posts: 878
Joined: Sat Mar 07, 2009 10:24 pm
Location: Poland
Name: Lukasz

Re: [RC] Reputation System

Post by Pico88 »

Mod updated to the new version.
Please do not PM me for support.
NintendoMii
Registered User
Posts: 547
Joined: Thu Aug 04, 2011 9:08 pm

Re: [RC] Reputation System

Post by NintendoMii »

Pico88 wrote:@NintendoMii, there is nothing stored in database. Moreover, there isn't any option for it in UCP. So what is the problem?
The yes or no is stored, no?
Don Vito
Registered User
Posts: 89
Joined: Mon Jul 04, 2011 1:18 am

Re: [RC] Reputation System

Post by Don Vito »

Pico88 wrote:Mod updated to the new version.
Thanks alot!

My members and i are very happy to see you were still able to implement our requests.

I will make the changes now and if needed will report the feedback i receive in a few days.
User avatar
kmakoto
Registered User
Posts: 234
Joined: Mon Mar 01, 2010 11:35 pm

Re: [RC] Reputation System

Post by kmakoto »

Errors after uptade from 0.2.0
*******

Code: Select all

[phpBB Debug] PHP Notice: in file [ROOT]/includes/hooks/hook_reputation.php on line 32: Constant RS_COMMENT_OFF already defined
[phpBB Debug] PHP Notice: in file [ROOT]/includes/hooks/hook_reputation.php on line 33: Constant RS_COMMENT_BOTH already defined
[phpBB Debug] PHP Notice: in file [ROOT]/includes/hooks/hook_reputation.php on line 34: Constant RS_COMMENT_POST already defined
[phpBB Debug] PHP Notice: in file [ROOT]/includes/hooks/hook_reputation.php on line 35: Constant RS_COMMENT_USER already defined
[phpBB Debug] PHP Notice: in file [ROOT]/includes/hooks/hook_reputation.php on line 32: Constant RS_COMMENT_OFF already defined
[phpBB Debug] PHP Notice: in file [ROOT]/includes/hooks/hook_reputation.php on line 33: Constant RS_COMMENT_BOTH already defined
[phpBB Debug] PHP Notice: in file [ROOT]/includes/hooks/hook_reputation.php on line 34: Constant RS_COMMENT_POST already defined
[phpBB Debug] PHP Notice: in file [ROOT]/includes/hooks/hook_reputation.php on line 35: Constant RS_COMMENT_USER already defined
In viewtopic.php
******************
Can not delete user points

Code: Select all

URL_FORUM/reputation.php?mode=delete&id=6&confirm_key=******
blank page
User avatar
Pico88
Registered User
Posts: 878
Joined: Sat Mar 07, 2009 10:24 pm
Location: Poland
Name: Lukasz

Re: [RC] Reputation System

Post by Pico88 »

Have you purged cachea and refreshed style?

Has anyone noticed same error after update?
Please do not PM me for support.
artikkk
Registered User
Posts: 379
Joined: Sun Jan 04, 2009 1:37 pm
Location: Roma

Re: [RC] Reputation System

Post by artikkk »

Code: Select all

[phpBB Debug] PHP Notice: in file [ROOT]/includes/acp/acp_reputation.php on line 130: Undefined index: rs_version
[phpBB Debug] PHP Notice: in file [ROOT]/includes/acp/acp_reputation.php on line 492: Undefined index: rs_version
[phpBB Debug] PHP Notice: in file [ROOT]/includes/acp/acp_reputation.php on line 506: Use of undefined constant RS_COMMENT_OFF - assumed 'RS_COMMENT_OFF'
[phpBB Debug] PHP Notice: in file [ROOT]/includes/acp/acp_reputation.php on line 507: Use of undefined constant RS_COMMENT_BOTH - assumed 'RS_COMMENT_BOTH'
[phpBB Debug] PHP Notice: in file [ROOT]/includes/acp/acp_reputation.php on line 508: Use of undefined constant RS_COMMENT_POST - assumed 'RS_COMMENT_POST'
[phpBB Debug] PHP Notice: in file [ROOT]/includes/acp/acp_reputation.php on line 509: Use of undefined constant RS_COMMENT_USER - assumed 'RS_COMMENT_USER'
[phpBB Debug] PHP Warning: in file [ROOT]/adm/index.php on line 150: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3831)
[phpBB Debug] PHP Warning: in file [ROOT]/adm/index.php on line 152: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3831)
[phpBB Debug] PHP Warning: in file [ROOT]/adm/index.php on line 153: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3831)
[phpBB Debug] PHP Warning: in file [ROOT]/adm/index.php on line 154: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3831)
0.2.2 fresh install..
i have this error in ACP/Rep. module

ITALIAN
mcp.php

Code: Select all

	$lang = array_merge($lang, array(
	'MCP_REPUTATION'			=> 'Reputazione',
	'MCP_REPUTATION_FRONT'		=> 'Pagina principale',
	'MCP_REPUTATION_LIST'		=> 'Lista reputazioni',
));

acp/common.php

Code: Select all

	$lang = array_merge($lang, array(
	'LOG_REPUTATION_SETTING'	=> '<strong>Modifica impostazioni sistema Reputazione</strong>',
	'LOG_USER_REP_DELETE'		=> '<strong>Punto reputazione eliminato</strong><br />User: %s',
));
acp/styles.php

Code: Select all

'IMG_ICON_RATE_GOOD'			=> 'Voto positivo',
	'IMG_ICON_RATE_BAD'				=> 'Voto negativo',
sorry for my bad english :S
User avatar
Pico88
Registered User
Posts: 878
Joined: Sat Mar 07, 2009 10:24 pm
Location: Poland
Name: Lukasz

Re: [RC] Reputation System

Post by Pico88 »

FIX for problem with php notice (in hook_reputation.php)
Open it
find:

Code: Select all

	define('RS_COMMENT_OFF', 0);
	define('RS_COMMENT_BOTH', 1);
	define('RS_COMMENT_POST', 2);
	define('RS_COMMENT_USER', 3);
replace with:

Code: Select all

	if(!defined('RS_COMMENT_OFF'))
	{
		define('RS_COMMENT_OFF', 0);
	}
	if(!defined('RS_COMMENT_BOTH'))
	{
		define('RS_COMMENT_BOTH', 1);
	}
	if(!defined('RS_COMMENT_POST'))
	{
		define('RS_COMMENT_POST', 2);
	}
	if(!defined('RS_COMMENT_USER'))
	{
		define('RS_COMMENT_USER', 3);
	}
Last edited by Pico88 on Thu Mar 08, 2012 5:52 pm, edited 1 time in total.
Please do not PM me for support.
artikkk
Registered User
Posts: 379
Joined: Sun Jan 04, 2009 1:37 pm
Location: Roma

Re: [RC] Reputation System

Post by artikkk »

edit: with your fix, i have all pages of forum white.. :shock:
sorry for my bad english :S
User avatar
Pico88
Registered User
Posts: 878
Joined: Sat Mar 07, 2009 10:24 pm
Location: Poland
Name: Lukasz

Re: [RC] Reputation System

Post by Pico88 »

forgot ending ) on each if
Please do not PM me for support.
artikkk
Registered User
Posts: 379
Joined: Sun Jan 04, 2009 1:37 pm
Location: Roma

Re: [RC] Reputation System

Post by artikkk »

BUG: i can't add reputation on Global announcment..
can you confirm?
sorry for my bad english :S
User avatar
Pico88
Registered User
Posts: 878
Joined: Sat Mar 07, 2009 10:24 pm
Location: Poland
Name: Lukasz

Re: [RC] Reputation System

Post by Pico88 »

What wasn't a bug. It's caused by permissions. Global announcment is treated in other way than a normal topic and that's why it isn't possible to add point on it.
Please do not PM me for support.
artikkk
Registered User
Posts: 379
Joined: Sun Jan 04, 2009 1:37 pm
Location: Roma

Re: [RC] Reputation System

Post by artikkk »

Pico88 wrote:What wasn't a bug. It's caused by permissions. Global announcment is treated in other way than a normal topic and that's why it isn't possible to add point on it.
Is it possible hide reputation buttons on global announcment?
sorry for my bad english :S
User avatar
kmakoto
Registered User
Posts: 234
Joined: Mon Mar 01, 2010 11:35 pm

Re: [RC] Reputation System

Post by kmakoto »

Solved error in viewtopic

No solved blank page in eliminate reputation in details user points

Return to “[3.0.x] Abandoned MODs”