Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Adv. Reputation
KacperOo Offline
Junior Member
**
Posts: 14
Joined: Feb 2008
Post: #1
Adv. Reputation
Yo,

I am looking for mod that will edit reputation to better : )
I want:
* User can't see other user reputation
* User will have reputatnion points in User CP
* User can't choose how much reputation he give... He give always max ammount. Ex. Here we can choose +1, +2, +3, 0, -1, -2, -3. In this mod user can give only +3, 0, -3.
* All with rep images

Thats all,
Thanks
(This post was last modified: 02-04-2008 04:49 PM by KacperOo.)
02-04-2008 04:48 PM
Find all posts by this user
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #2
RE: Adv. Reputation
Hi,

I'm not too sure I understand you correctly.
What's the point in a reputation system when you can only see your own reputation?

I'm probably misunderstanding you - could you be a little more clear?  Thanks.

My Blog
02-04-2008 06:19 PM
Find all posts by this user
KacperOo Offline
Junior Member
**
Posts: 14
Joined: Feb 2008
Post: #3
RE: Adv. Reputation
Ee.. How to tell it...

Everyone can see your points (rep images?/points) but only you are able to view comments : P
02-04-2008 09:28 PM
Find all posts by this user
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #4
RE: Adv. Reputation
Oh okay, gotcha.
KacperOo Wrote:* User will have reputatnion points in User CP
I'm sure it's already there Tongue
http://mybbhacks.zingaburga.com/usercp.php
KacperOo Wrote:* All with rep images
I think there was a plugin already for that?  Haven't looked into it.

I guess I'll work on the other two.




In reputation.php, find:

PHP Code:
// Check if we're browsing a specific page of results

Add before:

PHP Code:
if($user['uid'] == $mybb->user['uid']) {

Then find:

PHP Code:
	if(!$reputation_votes)
	{
		eval("\$reputation_votes = \"".$templates->get("reputation_no_votes")."\";");
	}

Add after:

PHP Code:
}

(note the "Comments" text will still be there - you'll have to move it around in the templates)

Find:

PHP Code:
1
2
3
4
5
6
	$reputation = $mybb->input['reputation'];
	$reputation = intval(str_replace("-", "", $reputation));
	if($mybb->input['reputation'] == "neutral")
	{
		$mybb->input['reputation'] = 0;
	}

Replace with:

PHP Code:
1
2
3
4
5
6
7
8
9
10
11
	$reputation = intval($mybb->input['reputation']);
	if($mybb->input['reputation'] == "neutral")
	{
		$mybb->input['reputation'] = 0;
		$reputation = 0;
	}
	else
	{
		if($reputation < 0) $mybb->input['reputation'] = -$mybb->usergroup['reputationpower'];
		elseif($reputation > 0) $mybb->input['reputation'] = $mybb->usergroup['reputationpower'];
	}


Find:

PHP Code:
for($i = 1; $i <= $reputationpower; $i++)

Replace with:

PHP Code:
$i = $reputationpower;


My Blog
(This post was last modified: 02-04-2008 10:31 PM by ZiNgA BuRgA.)
02-04-2008 10:17 PM
Find all posts by this user
KacperOo Offline
Junior Member
**
Posts: 14
Joined: Feb 2008
Post: #5
RE: Adv. Reputation
1. Eh, i want to list them here : P

2. I have rep images plugin ^^

#EDIT
testing Oh
(This post was last modified: 02-04-2008 10:41 PM by KacperOo.)
02-04-2008 10:23 PM
Find all posts by this user
snAke Offline
Banana-Presi
**
Posts: 19
Joined: Feb 2008
Post: #6
RE: Adv. Reputation
cool thx Smile

if ( $Idea == 'none' ) { read (FAQ) && search (search) }
else if ($answer == 0) { post->question }
02-05-2008 11:32 AM
Visit this user's website Find all posts by this user
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #7
RE: Adv. Reputation
KacperOo Wrote:1. Eh, i want to list them here : P
Sorry, but, where?

My Blog
02-05-2008 01:41 PM
Find all posts by this user
blueparukia Offline
Junior Member
**
Posts: 35
Joined: Jan 2008
Post: #8
RE: Adv. Reputation
In the User CP I suppose - show the reputation table in there. I think vB does that - not sure.
02-05-2008 03:38 PM
Find all posts by this user
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #9
RE: Adv. Reputation
Oh reputation table - I see...

My Blog
02-05-2008 07:15 PM
Find all posts by this user
goindex Offline
Junior Member
**
Posts: 23
Joined: Jan 2008
Post: #10
RE: Adv. Reputation
ZiNgA BuRgA Wrote:Oh reputation table - I see...

Good ideea! It is possible, please ?

My Site | My Posts | My Profil | My Favorites Plugins
02-09-2008 04:22 PM
Find all posts by this user

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: