[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.
Locked
demon327
Registered User
Posts: 847
Joined: Thu Nov 16, 2006 2:16 pm

Re: [RC] Reputation System

Post by demon327 »

Don Vito wrote:
kmakoto wrote:in viewtopic_body.html

reemplaze code for

Code: Select all

<!-- IF S_REPUTATION -->
		<div class="right">
			<ul class="profile-icons">
				<!-- IF postrow.S_GIVE_REPUTATION -->
				<li class="rate-good-icon">
				<a href="{postrow.U_ADD_POS}" title="{L_RS_ADD_POINTS} {L_RS_TO} {postrow.POST_AUTHOR}"><span>{L_RS_ADD_POINTS}</span>
				</a>
				</li>
				<!-- IF postrow.S_GIVE_NEGATIVE-->
				<li class="rate-bad-icon">
				<a href="{postrow.U_ADD_NEG}" title="{L_RS_SUBTRACT_POINTS} {L_RS_TO} {postrow.POST_AUTHOR}"><span>{L_RS_SUBTRACT_POINTS}</span>
				</a>
				</li>
				<!-- ENDIF -->
				<!-- ENDIF -->
			</ul>
			<div class="reputation {postrow.REPUTATION_BOX}" title="{L_REPUTATION}"><!-- IF postrow.U_VIEW_REP --><a href="{postrow.U_VIEW_REP}" onclick="popup(this.href, 780, 550); return false;"><!-- ENDIF -->{postrow.POST_REP}<!-- IF postrow.U_VIEW_REP --></a><!-- ENDIF --></div>
		</div>
			<!-- ENDIF -->
reemplace all reputation.css for

Code: Select all

.phpbb .reputation.positive a,.phpbb  .reputation.negative a {
	color: white;
	text-decoration: none;
	cursor: pointer;
}
.phpbb .reputation.positive {
	background: #6F8F52;
	color: white;
}

.phpbb .reputation.negative {
	background: #B82929;
	color: white;
}

.phpbb .reputation.zero {
	background: #FFF;
	color: #6E6E6E;
}

.phpbb .reputation.span {
	color: #FFF;
}

.phpbb .reputation {
	font-weight: bold;
	padding: 3px 8px;
	display: inline-block;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	border: 1px solid #e8e8e8;
	font-size: 10px;
	background-image: none;
	/*height: 14px;*/
	/*padding: 2px 10px !important;*/
}

.phpbb .positive {
	color: #6F8F52;
}

.phpbb .negative {
	color: #B82929;
}

.phpbb .profile-icons .rate-good-icon a {
	width: {IMG_ICON_RATE_GOOD_WIDTH}px;
}
.phpbb .profile-icons .rate-good-icon a {
	background-image: url("{IMG_ICON_RATE_GOOD_SRC}");
}
.phpbb .profile-icons .rate-bad-icon a {
	width: {IMG_ICON_RATE_BAD_WIDTH}px;
}
.phpbb .profile-icons .rate-bad-icon a {
	background-image: url("{IMG_ICON_RATE_BAD_SRC}");
}
Can confirm that this works, thanks kmakoto :D
Thx, i'm using art_black and uses the same code and works now!
MaFeSa
Registered User
Posts: 175
Joined: Wed Feb 11, 2009 7:48 am

Re: [RC] Reputation System

Post by MaFeSa »

Many thanks, great mod!
;)
wbxpress
Registered User
Posts: 150
Joined: Wed Mar 21, 2012 1:29 pm
Contact:

Re: [RC] Reputation System

Post by wbxpress »

excellent mod. i am using it in my board. 3.0.10, prosilver SE. :)
wbxpress
Registered User
Posts: 150
Joined: Wed Mar 21, 2012 1:29 pm
Contact:

Re: [RC] Reputation System

Post by wbxpress »

Is it possible to exclude Administrators / Moderators from Reputation Top List?
Atomic Blaze
Registered User
Posts: 2
Joined: Tue Mar 27, 2012 12:23 am

Re: [RC] Reputation System

Post by Atomic Blaze »

Any chance for subsilver2 support? My board doesn't like working with prosilver bases.
User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: [RC] Reputation System

Post by Jessica »

Atomic Blaze wrote:Any chance for subsilver2 support? My board doesn't like working with prosilver bases.
first post:

Note:
There is no code for subsilver2.
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein
Atomic Blaze
Registered User
Posts: 2
Joined: Tue Mar 27, 2012 12:23 am

Re: [RC] Reputation System

Post by Atomic Blaze »

Jessica wrote:
Atomic Blaze wrote:Any chance for subsilver2 support? My board doesn't like working with prosilver bases.
first post:

Note:
There is no code for subsilver2.
I saw that, I was asking if there will be for subsilver2, not if there is.
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 »

I don't support subsilver2 so I will not create template for it.
That's why I put note in first post. ("There is no code for subsilver2.")

EDIT 03-04-2012 18:28:
Mod updated to 0.2.7
Please do not PM me for support.
spoofies
Registered User
Posts: 1
Joined: Thu Apr 05, 2012 9:11 pm

Re: [RC] Reputation System

Post by spoofies »

i tried adding this to 1Game theme..and my whole site crashed, just the logo appears. can someone please help?
User avatar
balboag
Registered User
Posts: 76
Joined: Wed Jul 13, 2011 3:52 pm
Location: Galicia, Spain
Name: Gerardo

Re: [RC] Reputation System

Post by balboag »

Ideas:

Sort post by rating

Change background post color according to the post rating
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 »

balboag wrote:Sort post by rating
Where?
balboag wrote:Change background post color according to the post rating
Useless.
spoofies wrote:i tried adding this to 1Game theme..and my whole site crashed, just the logo appears. can someone please help?
Style 1Game is based on subsilver2, which is not supported by Reputation System (note in first post).
Please do not PM me for support.
wbxpress
Registered User
Posts: 150
Joined: Wed Mar 21, 2012 1:29 pm
Contact:

Re: [RC] Reputation System

Post by wbxpress »

Is there any chance that Administrators & Moderators name do not appear in the Reputation Toplist?
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 »

wbxpress wrote:Is there any chance that Administrators & Moderators name do not appear in the Reputation Toplist?
You can try this (not tested).
Open: includes/hooks/hook_reputation.php
Find:

Code: Select all

$sql = 'SELECT user_id, username, user_colour, user_reputation
		FROM ' . USERS_TABLE . '
		WHERE user_id <> ' . ANONYMOUS . '
			AND user_reputation > 0
		ORDER BY user_reputation DESC';
Replace with:

Code: Select all

	$sql = 'SELECT user_id, username, user_colour, user_reputation
		FROM ' . USERS_TABLE . '
		WHERE user_id <> ' . ANONYMOUS . '
			AND user_reputation > 0
			AND group_id = 2
		ORDER BY user_reputation DESC';
Only display users whose default group is registered.
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 »

Is this mod any stable? I'd like to run it life.
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 »

It's stable.
Please do not PM me for support.
Locked

Return to “[3.0.x] Abandoned MODs”