[ABD] User Reputation Points 0.3.1

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
Ashley.S.
Registered User
Posts: 469
Joined: Mon Aug 04, 2008 6:01 pm
Location: Falmouth, Cornwall, UK
Name: Ashley .S.
Contact:

Re: [BETA] User Reputation Points 0.3.1

Post by Ashley.S. »

Clauu wrote:Another mod abandoned. To bad .. :(
I've managed to get it working on a 3.0.7-PL1 board with the install instructions and also following the 3.0.6 fixes linked in the first post.

Have you thought that idiotnesia might be a bit too busy to answer questions/support the mod at the moment?
Regards,
-Ashley.S. [ PurephpBB Founder ]
Clauu
Registered User
Posts: 34
Joined: Sat May 08, 2010 7:41 pm

Re: [BETA] User Reputation Points 0.3.1

Post by Clauu »

Ok, so tell me please if you know how to show Rep Power below Rep Points in viewtopic page ?
User avatar
Ashley.S.
Registered User
Posts: 469
Joined: Mon Aug 04, 2008 6:01 pm
Location: Falmouth, Cornwall, UK
Name: Ashley .S.
Contact:

Re: [BETA] User Reputation Points 0.3.1

Post by Ashley.S. »

Clauu wrote:Ok, so tell me please if you know how to show Rep Power below Rep Points in viewtopic page ?
I don't know because I'm not a coder, but have you tried changing the Reputation points display setting set to be block or both?
Regards,
-Ashley.S. [ PurephpBB Founder ]
Clauu
Registered User
Posts: 34
Joined: Sat May 08, 2010 7:41 pm

Re: [BETA] User Reputation Points 0.3.1

Post by Clauu »

Yes, without any results.
Clauu
Registered User
Posts: 34
Joined: Sat May 08, 2010 7:41 pm

Re: [BETA] User Reputation Points 0.3.1

Post by Clauu »

Sorry, another mod was slowing my topic pages and that is user_warnings_ban_info_in_viewtopic_1-0-2 , sorry again :D
User avatar
bbrian017
Registered User
Posts: 720
Joined: Mon Mar 19, 2007 2:20 pm
Location: Canada
Contact:

Re: [BETA] User Reputation Points 0.3.1

Post by bbrian017 »

Guys I cant seem to find this in functions_user.php
// Those are group-only attributes
$group_only_ary = array('group_receive_pm', 'group_legend', 'group_message_limit', 'group_max_recipients', 'group_founder_manage');
User avatar
Nawid
Registered User
Posts: 329
Joined: Sat Jun 27, 2009 4:32 pm
Contact:

Re: [BETA] User Reputation Points 0.3.1

Post by Nawid »

Looks interesting, possible to earn points by just login?
I want that my users also get points whenever they login.
Image
Check SuperNova Orange style on:
SchoolLife.nl
phpBB.com
OmniaShare.com
Registered User
Posts: 4
Joined: Tue Jun 08, 2010 7:16 am

Re: [BETA] User Reputation Points 0.3.1

Post by OmniaShare.com »

Download not found by my browser.
someone could attach the file here on the board or PM?
huggle
Registered User
Posts: 34
Joined: Tue Jul 28, 2009 2:30 pm

Re: [BETA] User Reputation Points 0.3.1

Post by huggle »

since here are so many people who have been using this mod for some time, could perhaps someone give a clueless newbie a hint?

I just tried to install the mod manually on a phpBB 3.0.5 and encountered a bit of code that apparently comes from an older phpBB version and no longer exists in the current files. However, the lines I am supposed to add after that bit of code appear to be vital for the proper display of the mod.
Could you please tell me where to insert the mod's code in phpBB 3.0.5's includes/functions_user.php?

The lines in question are:
=== open: includes/functions_user.php ===
### find (not to be found, unfortunately) ###
// Those are group-only attributes
$group_only_ary = array('group_receive_pm', 'group_legend', 'group_message_limit', 'group_max_recipients', 'group_founder_manage');

### after add ###
// idiotnesia wuz here - user rep point
$attribute_ary['group_reputation_power'] = 'int';
$group_only_ary[] = 'group_reputation_power';
I boldly installed the code after what looked most similar to the lines asked for by the mod. I don't get error messages and the additional ACP pages get properly displayed. However, the whole user part of the mod (when viewing a post or a topic) won't get displayed. Not a single reputation button.
As I can't find another error or typo in any of my edited files, it's most likely the one quoted above.

As in their youthful exuberance my users already started to throw a "we finally get a Karma mod" party (somewhat prematurely, I daresay!), I'd be very grateful for any assistance you can offer (before they kill me... Image )
if you make it idiot-proof
someone will upgrade the idiot
aaalba
Registered User
Posts: 83
Joined: Tue Dec 30, 2008 5:38 pm

Re: [BETA] User Reputation Points 0.3.1

Post by aaalba »

i installed in 3.05 everything works perfect.
huggle
Registered User
Posts: 34
Joined: Tue Jul 28, 2009 2:30 pm

Re: [BETA] User Reputation Points 0.3.1

Post by huggle »

cool! Thanks for the swift reply. Could you please tell me after which line you inserted that bit of code since the original target line does not exist in the file anymore? (Could that possibly be a flaw in the upgrade files? The board is no 3.0.5 "by birth" but a 3.0.2, gradually patched through 3.0.3 and 3.0.4 to 3.0.5)

Or - as it's propably too much work to search for that one line in so big a file - could you possibly mail me a copy of your functions_user.php so that I can look for it myself? It'd be such a big help!
if you make it idiot-proof
someone will upgrade the idiot
aaalba
Registered User
Posts: 83
Joined: Tue Dec 30, 2008 5:38 pm

Re: [BETA] User Reputation Points 0.3.1

Post by aaalba »

This is a peace of code.

Code: Select all

	'group_max_recipients'	=> 'int',

		'group_founder_manage'	=> 'int',
	);

	// Those are group-only attributes
	$group_only_ary = array('group_receive_pm', 'group_legend', 'group_message_limit', 'group_max_recipients', 'group_founder_manage');
// idiotnesia wuz here - user rep point
	$attribute_ary['group_reputation_power'] = 'int';
	$group_only_ary[] = 'group_reputation_power';
// end
	// Check data. Limit group name length.
	if (!utf8_strlen($name) || utf8_strlen($name) > 60)
	{
		$error[] = (!utf8_strlen($name)) ? $user->lang['GROUP_ERR_USERNAME'] : $user->lang['GROUP_ERR_USER_LONG'];
	}

	$err = group_validate_groupname($group_id, $name);
	if (!empty($err))
	{
		$error[] = $user->lang[$err];
	}

	if (!in_array($type, array(GROUP_OPEN, GROUP_CLOSED, GROUP_HIDDEN, GROUP_SPECIAL, GROUP_FREE)))
	{
		$error[] = $user->lang['GROUP_ERR_TYPE'];
	}
huggle
Registered User
Posts: 34
Joined: Tue Jul 28, 2009 2:30 pm

Re: [BETA] User Reputation Points 0.3.1

Post by huggle »

Now, that's interesting, the whole passage is missing in my file. It must accidentially have gotten deleted one day and I never noticed it as we have no usergroups defined. Problem solved!

Thanks for your help; it's very much appreciated. Image
May you always get spared all kinds of code-typos, bugs, malfunctions, weird error messages, server-hiccups and other things that can make even a grown Admin cry. :mrgreen:
if you make it idiot-proof
someone will upgrade the idiot
User avatar
astrologytree
Registered User
Posts: 12
Joined: Mon May 24, 2010 3:41 pm
Location: Internet
Contact:

Re: [BETA] User Reputation Points 0.3.1

Post by astrologytree »

hello Friends,

Great Mod and working very fine till now on my 3.0.5.

I have a small and humble question. Reputation ranks are displayed when we hover over the blocks. I think it will be great if Reputation Ranks are displayed in Text along with the blocks and reputation points. Like the general post count related ranks are displayed.

I want to make a little change in mod although I am not a coder. Tried something but in vain. Can please someone help me with this?

Thanks

Regards
Atul
aaalba
Registered User
Posts: 83
Joined: Tue Dec 30, 2008 5:38 pm

Re: [BETA] User Reputation Points 0.3.1

Post by aaalba »

EDIT: FIXED
Locked

Return to “[3.0.x] Abandoned MODs”