Page 52 of 89

Re: [RC] Reputation System

Posted: Tue Dec 18, 2012 6:20 pm
by Shorty1968
Shorty1968 wrote: *EDIT*
Hello I have to apply again, I can find nothing in the contributions where I can write a comment, to me it looks like as in the notes?
Image
how do I get the Reputation System for input in the comment post?

Then I get another fatal error message when I in the ACP / settings / Ranks turn on the graphics?

Code: Select all

Fatal error: Using $this when not in object context in /var/www/web0/html/includes/functions_reputation.php on line 580
Said line looks like this:

Code: Select all

$rs_ranks = $this->obtain_rs_ranks();
The whole code section like this:

Code: Select all

if (!$user->data['is_registered'])
		{
			return;
		}

		if (empty($rs_ranks))
		{
			$rs_ranks = $this->obtain_rs_ranks();
		}

		$rs_rank_title = $rs_rank_img = $rs_rank_img_src = $rs_rank_color = '';

		foreach ($rs_ranks as $rank)
		{
			if ($points >= $rank['rank_points'])
			{
				$rs_rank_title = $rank['rank_title'];
				$rs_rank_img = (!empty($rank['rank_image'])) ? '<img src="' . $phpbb_root_path . $config['rs_ranks_path'] . '/' . $rank['rank_image'] . '" alt="' . $rank['rank_title'] . '" title="' . $rank['rank_title'] . '" />' : '';
				$rs_rank_img_src = (!empty($rank['rank_image'])) ? $phpbb_root_path . $config['rs_ranks_path'] . '/' . $rank['rank_image'] : '';
				$rs_rank_color = $rank['rank_color'];
				break;
			}
		}
	}
TestUser2
123456
http://www.phpbb-service.de/portal.php

Re: [RC] Reputation System

Posted: Tue Dec 18, 2012 7:23 pm
by Impe
Thank you Pico88,
I've just sent you login details.

Re: [RC] Reputation System

Posted: Wed Dec 19, 2012 10:42 pm
by BlueBulb
Hey pico,

when I clicked Resynchronise reputations in the ACP, it even deletes away the Reputation Points given through Index > Moderation Control Panel.

Is there an error on this?
I have check all the settings there's nothing wrong, everything is enabled.

Have tried giving members points through the MCP, and every time I click resynchronise Reputations the ACP.
It delete the Reputations Points from members that exist and etc.

Re: [RC] Reputation System

Posted: Thu Dec 20, 2012 12:01 am
by Shorty1968
Hi what ist whit this Bugfix for this?

Code: Select all

Fatal error: Using $this when not in object context in /var/www/web0/html/includes/functions_reputation.php on line 580
Said line looks like this:

Code: Select all

$rs_ranks = $this->obtain_rs_ranks();
The whole code section like this:

Code: Select all

if (!$user->data['is_registered'])
		{
			return;
		}

		if (empty($rs_ranks))
		{
			$rs_ranks = $this->obtain_rs_ranks();
		}

		$rs_rank_title = $rs_rank_img = $rs_rank_img_src = $rs_rank_color = '';

		foreach ($rs_ranks as $rank)
		{
			if ($points >= $rank['rank_points'])
			{
				$rs_rank_title = $rank['rank_title'];
				$rs_rank_img = (!empty($rank['rank_image'])) ? '<img src="' . $phpbb_root_path . $config['rs_ranks_path'] . '/' . $rank['rank_image'] . '" alt="' . $rank['rank_title'] . '" title="' . $rank['rank_title'] . '" />' : '';
				$rs_rank_img_src = (!empty($rank['rank_image'])) ? $phpbb_root_path . $config['rs_ranks_path'] . '/' . $rank['rank_image'] : '';
				$rs_rank_color = $rank['rank_color'];
				break;
			}
		}
	}

Re: [RC] Reputation System

Posted: Thu Dec 20, 2012 6:11 am
by Pico88
BlueBulb wrote:Hey pico,

when I clicked Resynchronise reputations in the ACP, it even deletes away the Reputation Points given through Index > Moderation Control Panel.

Is there an error on this?
I have check all the settings there's nothing wrong, everything is enabled.

Have tried giving members points through the MCP, and every time I click resynchronise Reputations the ACP.
It delete the Reputations Points from members that exist and etc.
Do you enable user rating in ACP?

Re: [RC] Reputation System

Posted: Thu Dec 20, 2012 8:31 am
by Shorty1968
why is my error ignored and why you can not tell me why it is with me in the posts is no comment box, a test user I have already stated?
Image

Re: [RC] Reputation System

Posted: Thu Dec 20, 2012 4:03 pm
by MaFeSa
Great mod!
Many thanks ;)

Re: [RC] Reputation System

Posted: Thu Dec 20, 2012 5:42 pm
by BlueBulb
Pico88 wrote:
BlueBulb wrote:Hey pico,

when I clicked Resynchronise reputations in the ACP, it even deletes away the Reputation Points given through Index > Moderation Control Panel.

Is there an error on this?
I have check all the settings there's nothing wrong, everything is enabled.

Have tried giving members points through the MCP, and every time I click resynchronise Reputations the ACP.
It delete the Reputations Points from members that exist and etc.
Do you enable user rating in ACP?
yes its enabled in the ACP.
voting Gap is 5 days. should I set it to zero?
I tried giving to just one user. and when i sync again. its gone.

The ID I use for giving points to Members is Founder/Admin.

Re: [RC] Reputation System

Posted: Thu Dec 20, 2012 5:47 pm
by Pico88
Ok. There is a bug with it. I will fix it as soon as possible.

EDIT:
You can find fix on github repository.

Re: [RC] Reputation System

Posted: Thu Dec 20, 2012 8:41 pm
by Pico88
Mod updated to 0.6.3
Fix synchronization.

Re: [RC] Reputation System

Posted: Thu Dec 20, 2012 8:57 pm
by Shorty1968
Thanks for the Updatet, I can find nothing in the contributions where I can review the posts and can add comments?

Can you please explain to me the exact path?

Re: [RC] Reputation System

Posted: Fri Dec 21, 2012 6:07 pm
by BlueBulb
thanks for fix pico :)

Re: [RC] Reputation System

Posted: Fri Dec 21, 2012 6:27 pm
by Niemand
Heyo, I got a bug/error. See for yourselves:
http://cotgs.de/uploads/memberlist-bug.png

Its also there in the userprofile (showing the reputation-line a few times below each other). I also can't cleanly rate people, because that "popup"-thingy is kinda bugged (it got empty spaces between the elements - that seems to appear in the profile, only, too.

Edit: phpBB 3.0.11, Reputation System 0.6.3

Re: [RC] Reputation System

Posted: Fri Dec 21, 2012 11:02 pm
by Pico88
Did you check file edits with instruction?

Re: [RC] Reputation System

Posted: Fri Dec 21, 2012 11:12 pm
by Shorty1968
Shorty1968 wrote:Thanks for the Updatet, I can find nothing in the contributions where I can review the posts and can add comments?

Can you please explain to me the exact path?
why my question will be ignored?