Page 93 of 96

Re: [BETA] User Reputation Points 0.3.1

Posted: Mon May 31, 2010 8:22 pm
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?

Re: [BETA] User Reputation Points 0.3.1

Posted: Thu Jun 03, 2010 3:13 pm
by Clauu
Ok, so tell me please if you know how to show Rep Power below Rep Points in viewtopic page ?

Re: [BETA] User Reputation Points 0.3.1

Posted: Thu Jun 03, 2010 3:30 pm
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?

Re: [BETA] User Reputation Points 0.3.1

Posted: Thu Jun 03, 2010 4:57 pm
by Clauu
Yes, without any results.

Re: [BETA] User Reputation Points 0.3.1

Posted: Thu Jun 03, 2010 8:42 pm
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

Re: [BETA] User Reputation Points 0.3.1

Posted: Fri Jun 04, 2010 7:38 pm
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');

Re: [BETA] User Reputation Points 0.3.1

Posted: Mon Jun 07, 2010 7:27 pm
by Nawid
Looks interesting, possible to earn points by just login?
I want that my users also get points whenever they login.

Re: [BETA] User Reputation Points 0.3.1

Posted: Tue Jun 08, 2010 7:31 am
by OmniaShare.com
Download not found by my browser.
someone could attach the file here on the board or PM?

Re: [BETA] User Reputation Points 0.3.1

Posted: Thu Jun 10, 2010 5:09 pm
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 )

Re: [BETA] User Reputation Points 0.3.1

Posted: Thu Jun 10, 2010 6:02 pm
by aaalba
i installed in 3.05 everything works perfect.

Re: [BETA] User Reputation Points 0.3.1

Posted: Fri Jun 11, 2010 4:10 am
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!

Re: [BETA] User Reputation Points 0.3.1

Posted: Fri Jun 11, 2010 9:32 am
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'];
	}

Re: [BETA] User Reputation Points 0.3.1

Posted: Fri Jun 11, 2010 1:15 pm
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:

Re: [BETA] User Reputation Points 0.3.1

Posted: Sat Jun 12, 2010 12:32 pm
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

Re: [BETA] User Reputation Points 0.3.1

Posted: Thu Jun 17, 2010 11:52 am
by aaalba
EDIT: FIXED