News:

Wondering if this will always be free?  See why free is better.

Main Menu

Advanced Reputation System

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

Previous topic - Next topic


Fustrate

Steven Hoffman
Former Team Member, 2009-2012

apc73

Quote from: YodaOfDarkness on September 15, 2008, 07:21:29 PM
apc73 - try this one

I've changed different things in both of yours... so I need responses from both of you

you did not post any attachment mate


Fustrate

Just use the one I posted at
QuoteI think this'll work:
, it's a working one.

Back up your original copy though, just in case.
Steven Hoffman
Former Team Member, 2009-2012

apc73


apc73

Think I found a new bug.
Still looks like everything is working just some missing text. Check out the attached file

Fustrate

See Eliana's question about that on the last page, and my response to it.

I'll release 1.5.1 later today, with an upgrader too.

EDIT: Upgrader doesn't work, I used a wrong word in package-info.xml - I'll fix that tonight.
Steven Hoffman
Former Team Member, 2009-2012

viibram

Does this modification also supports other theme's besides the default theme?

Some of my members really want the Shiny Blue Theme, but during the tests with that theme I noticed the reputation doesn't completely work. Instead of the button to give reputation it shows the old karma applaud and smite buttons. And of course these buttons doesn't work.

I guess I only need to manually change some things in the new theme. If so, do you know which pages needs to be changed?

Fustrate

On the download page, select version 1.5.1 and click on the button for instructions - it'll show you what edits need to be made (only do .template.php files and style.css)
Steven Hoffman
Former Team Member, 2009-2012


SpectroPro

upon doing an Uninstall, (I have 2.0b4 SMF), right after installing, I got an error. 

Installing this package will perform the following actions:
Type Action Description
* 1. Execute Modification ./index.php Test successful
1. Replace ./index.php Test successful
* 2. Execute Modification ./Themes/default/Display.template.php Test successful
1. Replace ./Themes/default/Display.template.php Test successful
2. Replace ./Themes/default/Display.template.php Test successful
3. Replace ./Themes/default/Display.template.php Test successful
4. Replace ./Themes/default/Display.template.php Test successful
* 3. Execute Modification ./Themes/default/Profile.template.php Test successful
1. Add Before ./Themes/default/Profile.template.php Test successful
* 4. Execute Modification ./Themes/default/PersonalMessage.template.php Test successful
1. Replace ./Themes/default/PersonalMessage.template.php Test successful
* 5. Execute Modification ./Themes/default/scripts/script.js Test successful
1. Add Before ./Themes/default/scripts/script.js Test successful
* 6. Execute Modification ./Themes/default/style.css Test failed
1. Add Before ./Themes/default/style.css Test failed
* 7. Execute Modification ./Sources/Display.php Test successful


You see the test failed.  Catch is, when you open it to manually see what is wrong, it shows THIS for the style.css failure:

Find [Select]

// Is this user allowed to modify this member's karma?
if (($context['can_pos_rep'] || $context['can_neg_rep']) && $message['can_send_karma'] && ($user_info['id'] != $message['member']['id'])){
echo '
<span style="visibility: hidden; display: none;" id="reputation_form_', $message['id'], '">
<input type="hidden" name="uid" value="', $message['member']['id'], '" />
<input type="hidden" name="m" value="', $message['id'], '" />
</span>
<li><a onclick="reputationForm(\'reputation_form_', $message['id'], '\', \'', $message['member']['name'], '\', this, event); return false;" href="', $scripturl, '?action=reputation;uid=', $message['member']['id'], ';m=', $message['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';sesc=', $context['session_id'], '"><img src="', $settings['images_url'], '/karma.gif" alt="', $txt['add_karma'], '" title="', $txt['add_karma'], '" /></a>';
}
// Since we know this person isn't a guest, you *can* message them.
if ($context['can_send_pm'])
echo '
<li><a href="', $scripturl, '?action=pm;sa=send;u=', $message['member']['id'], '" title="', $message['member']['online']['label'], '">', $settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/im_' . ($message['member']['online']['is_online'] ? 'on' : 'off') . '.gif" alt="' . $message['member']['online']['label'] . '" border="0" />' : $message['member']['online']['label'], '</a></li>';

Replace [Select]

// Since we know this person isn't a guest, you *can* message them.
if ($context['can_send_pm'])
echo '
<li><a href="', $scripturl, '?action=pm;sa=send;u=', $message['member']['id'], '" title="


which of course, is NOT in the style css file.    I am currently hand picking through the install.xml file to figure this out..  But I wanted to alert you to this. 

I Simply installed this mod, and then clicked to uninstall.  (was actually an accident that I did that...but, this is what I found...)

- Greg
Stats:  SMF v. 2b4  -  Mambo v4.65  -  Bridge v2.0b1

http://www.therealityrocks.com    http://forum.therealityrocks.com/trr
- Greg

SpectroPro

WOW...this is all messed up..  I go through the files, that passed, and I start checking the code in the add before, replace, etc...  much of it is empty.. or it may have 'find:   >?  and add before:   (just blank)

This is how it is on MUCH of the stuff..  ARGH!!!!

Can you please send me manual uninstall instructions to remove the entire thing.  I think it is having a very bad affect on my forum.  My posts are all screwed up now.. post text is like 40 lines down the screen in the post window...  graphic tabs are now text.. and the left side where avatar and such would be, is all one long line and screwed up to boot... 

I have uninstalled every other mod I had, and it is still this way..  Leads me to believe it is the problem.. I Just need the uninstall information please... 
Stats:  SMF v. 2b4  -  Mambo v4.65  -  Bridge v2.0b1

http://www.therealityrocks.com    http://forum.therealityrocks.com/trr
- Greg

Fustrate

So did you uninstall it or not? It would be helpful if I could see a link to your forum.

These are all of the manual install instructions, just reverse them for uninstall: http://custom.simplemachines.org/mods/index.php?action=parse;mod=1129;attach=68871;smf_version=2.0%20Beta%204

This also could have been another mod's doing, because if the install file isn't formatted correctly, it won't uninstall correctly.
Steven Hoffman
Former Team Member, 2009-2012

SpectroPro

Quote from: YodaOfDarkness on September 28, 2008, 09:33:22 PM
So did you uninstall it or not? It would be helpful if I could see a link to your forum.

These are all of the manual install instructions, just reverse them for uninstall: http://custom.simplemachines.org/mods/index.php?action=parse;mod=1129;attach=68871;smf_version=2.0%20Beta%204

This also could have been another mod's doing, because if the install file isn't formatted correctly, it won't uninstall correctly.

You can look and see the posts..  you'll see the odd behavior there.. 

And what is odd, is that with this mod, I installed.  Accidentally hit uninstall, and that error was there.. 

http://forum.therealityrocks.com/trr/

Thats the forum site...

And yeah, anything is possible, just odd that the error came with nothing else going in or out before it..  I'll wait a few minutes before trying the reverse install from that info you gave me..thanks for that..

- Greg
Stats:  SMF v. 2b4  -  Mambo v4.65  -  Bridge v2.0b1

http://www.therealityrocks.com    http://forum.therealityrocks.com/trr
- Greg

Fustrate

I'm not sure what I'm supposed to be seeing... it looks like your styles have been changed from the default, so I'd go ahead with the manual uninstall if I were you.
Steven Hoffman
Former Team Member, 2009-2012

chifliiiii

Hi Yoda just a small question? How is going the spanish version? We will have a final version soon ?
www.foro-ayuda.com [nofollow]

Fustrate

Some of the language strings changed in 1.5.1, so I think I'm gonna need a new set of strings.

Also, to anyone who wants to translate strings, please find the original strings when it does a replacement on existing lines in the language files!
Steven Hoffman
Former Team Member, 2009-2012

machmanx

This mod is great, but it would be better if I could exclude certain boards I don't want to increase karma with.  That's the only reason I had to uninstall this from my forum.

Advertisement: