News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Advanced Reputation System

Started by Fustrate, March 25, 2008, 12:51:10 PM

Previous topic - Next topic

Nomadic

#2281
Quote from: live627 on May 22, 2011, 11:54:47 PM
The mod may be omitting the session in the URL? Is ;sesc= found in the URL which gave the error?

Different person but same problem as the other person (session verification failed). And yes it is omitting the session it looks like. My url looks like:

index.php?action=reputation;uid=959;m=188240;topic=188240;sesc=

Any idea how to fix this? I'm going to try and figure it out myself but any help would be appreciated.

Edit: Just looked into it and I can't figure it out, the hyperlink properly shows your session id but when you click it, it removes it from the post. Oddly enough if you add the session id in manually it works and takes you to the agree/disagree page with the comment box. Unfortunately at this point if you put something in and hit agree or disagree and submit it it doesn't give them any karma. Which I suspect again has something to do with the sesc issue. I'd really like to use this mod but I can't until we get this figured out.

kahscrap


live627


kahscrap

Quote from: kahscrap on May 27, 2011, 11:19:51 PM
any word on a non curve version? thanks, kah

cause I like my flagrant_alt theme and so do my users.

live627

When the mod installs there is a list of additional themes to install to. Did you try that?

kahscrap

Quote from: live627 on May 27, 2011, 11:54:13 PM
When the mod installs there is a list of additional themes to install to. Did you try that?

sorry, i'm an idiot. figured it out.

sdkid

This mod has been working FLAWLESSLY for me.  8)

Question:  On the profile page, in the section where you can see the Rep given and received--- where can I edit how much of that is displayed?  It currently shows 20 or 25 or something.  I want to show at least twice that.

Thanks.

sdkid

Quote from: sdkid on June 01, 2011, 05:41:42 PM
This mod has been working FLAWLESSLY for me.  8)

Question:  On the profile page, in the section where you can see the Rep given and received--- where can I edit how much of that is displayed?  It currently shows 20 or 25 or something.  I want to show at least twice that.

Thanks.

So--- anybody have any ideas on this?  I was looking a little closer at the rep comments page-- it has "page [1]" displayed at the bottom of it, but it is not generating additional pages--only the first page.  Is it designed to display rep comments in pages?  Where can I adjust that?

sdkid

Here is Karma-Related code in profile.template.php starting at line 2968 -- where do I edit to set a number of REP actions to display?  Is it even in this file? Help!!  :o

// Shows recent reputation actions, and allows moderators to moderate them.
function template_reputation()
{
global $context, $settings, $options, $scripturl, $modSettings, $txt;

echo '
<h3 class="titlebg">
<span class="left"></span>
<img src="', $settings['images_url'], '/karma.gif" alt="" /> ', $txt['karma_latest_title'], '
</h3>
<div class="windowbg2">
<span class="topslice"><span></span></span>
<div class="content">';

if(empty($context['member']['karma_actions']))
echo '
', $txt['no_reputation_actions'];
else
{
// If they can delete karma actions, start the form
if($context['can_delete_karma'])
echo '
<form action="', $scripturl, '?action=profile;u=', $context['id_member'], ';area=reputation" method="post" accept-charset="', $context['character_set'], '">
<input type="hidden" name="uid" value="', $context['id_member'], '" />
<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />';

echo '
<table border="0" cellspacing="0" cellpadding="8" width="100%">
<tr class="windowbg" style="font-weight: bold;">
<td width="1%">&nbsp;</td>
<td width="', $context['can_delete_karma'] ? '29' : '30', '%">', $txt['topic'], '</td>
<td width="15%">', $txt['date'], '</td>
<td width="30%">', $txt['comment'], '</td>
<td width="12%">', $txt['to'], '</td>
<td width="12%">', $txt['from'], '</td>', $context['can_delete_karma'] ? '
<td width="1%"><input type="checkbox" onclick="invertAll(this, this.form);" class="check" /></td>' : '', '
</tr>';

$which = false;

foreach($context['member']['karma_actions'] as $karma)
{
$which = !$which;

echo '
<tr class="windowbg', $which ? '2' : '', '">
<td align="center"><img src="', $settings['images_url'], '/', $karma['action_type'], '_basic.gif" /></td>
<td><a href="', $scripturl, '?topic=', $karma['topic_href'], '">', $karma['topic_title'], '</a></td>
<td>', $karma['time'], '</td>
<td>', $karma['comment'], '</td>
<td>', $karma['target'], '</td>
<td>', $karma['executor'], '</td>', $context['can_delete_karma'] ? '
<td align="center"><input type="checkbox" name="deleteBoxes[]" value="' . $karma['delete_value'] . '" class="check" /></td>' : '', '
</tr>';
}

echo '
</table>
<br />
<strong>', $txt['pages'], ': ', $context['page_index'], '</strong>';


// If they can delete karma actions, end the old
if($context['can_delete_karma'])
echo '
<br />
<div width="100%" align="right">
<input class="button_submit" type="submit" name="del_selected" value="', $txt['quickmod_delete_selected'], '" onclick="if (!confirm(\'', $txt['quickmod_confirm'], '\')) return false;" /></span>
</div>
</form>';
}

echo '
</div>
<span class="botslice"><span></span></span>
</div>
<br />';
}

Fustrate

Open Profile-View.php, find
$amount = 15;
and change 15 to whatever number.
Steven Hoffman
Former Team Member, 2009-2012

sdkid

Quote from: Fustrate on June 08, 2011, 02:20:13 PM
Open Profile-View.php, find
$amount = 15;
and change 15 to whatever number.

Holy Crap!!!!  THANK YOU!!!!!

8)

Old Marcus

Hi, I've tried uninstalling this mod, and it screwed up my forum in the process. That's fixed now, but is it possible to do a manual uninstallation? If so, are there instructions?

Also, I like the mod, but my main problem was people being able to give 10 rep at a time for example, and that was giving people absurdly high counts. Can I change this so that people can only give 1 rep point as a time, regardless of rank or number of posts?

Fustrate

Yes, it can be changed to do that. If you reinstall after the manual uninstall, look in Karma.php and find
$power = (int) (($power > 0) ? $power : 0);
and replace it with
$power = 1; // (int) (($power > 0) ? $power : 0);

To manually uninstall, do the opposite of these instructions: http://custom.simplemachines.org/mods/index.php?action=parse;smf_version=2.0_RC5;attach=170914;mod=1129
Steven Hoffman
Former Team Member, 2009-2012

sdkid

OK... what would it take to add the Rep column to the Member list, and be able to sort by Rep?

I know.... I ask for so much...
;D

(That functionality is a standard item in vBulletin-- the rep system this is modeled after.)

Fustrate

It would take quite a few edits. Three (or so) in /Sources/Memberlist.php, one or two in memberlist.template.php.

This time I can't list the edits - I'm about to leave for work, sorry =\
Steven Hoffman
Former Team Member, 2009-2012

ormuz

Hi,

I'm using version 0.1.5 in smf 1.1.14. Is there any security issues reported? I've bots registering and getting reputation points without doing nothing...

Thanks,

Nick Whetstone

#2297
Quote from: ormuz on June 13, 2011, 03:50:49 PM
Hi,

I'm using version 0.1.5 in smf 1.1.14. Is there any security issues reported? I've bots registering and getting reputation points without doing nothing...

Thanks,
There are no security issues with the ARS to my knowledge.

However, there is a setting that gives members points on registration. Have you made sure it is set to 0? The setting should say something to the tune of "Welcome new members with how many points?"




Attention all users of the Advanced Reputation System:

At the beginning of September 2011, following the recent release of SMF 2.0, support for SMF 1.1.x versions of the Advanced Reputation System will, effectively, be dropped. The package will remain available for download on the Mod's Customization Site listing (at least for a while), and it should work with any future 1.1.x versions. I may even fix compatibility (though these are very unlikely) or security issues that rise up, but I feel that future development of the ARS should focus on the stable version of SMF. I'm not going to cut-and-run now, though, since several people that will likely upgrade in the near future are waiting for Mod compatibility to upgrade to 2.0.
The artist formerly known as (Ha)²

Former Support Specialist

Please do not solicit support via PM. Here's why!

Fustrate

Quote from: (Ha)² on June 13, 2011, 11:35:16 PM
Attention all users of the Advanced Reputation System:

At the beginning of September 2011, following the recent release of SMF 2.0, support for SMF 1.1.x versions of the Advanced Reputation System will, effectively, be dropped. The package will remain available for download on the Mod's Customization Site listing (at least for a while), and it should work with any future 1.1.x versions. I may even fix compatibility (though these are very unlikely) or security issues that rise up, but I feel that future development of the ARS should focus on the stable version of SMF. I'm not going to cut-and-run now, though, since several people that will likely upgrade in the near future are waiting for Mod compatibility to upgrade to 2.0.

I agree - it should be left up until maybe the end of the year, then dropped.
Steven Hoffman
Former Team Member, 2009-2012

TurtleKicker

Can anyone confirm that this works ok on 2.0 final if you install emulating RC5? Or are there issues and we should wait for the next version?

Nice to see this is still being maintained. :)

Advertisement: