Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Fustrate on March 25, 2008, 12:51:10 PM

Title: Advanced Reputation System
Post by: Fustrate on March 25, 2008, 12:51:10 PM
Link to the mod (https://custom.simplemachines.org/index.php?mod=1129)



Advanced Reputation System v1.8.3 for SMF 2.0 RC5



Introduction
A full Karma System replacement, with adjustable reputation settings and an in-post rate/comment popup box.

Features
o Reputation sent is now based on the giver's reputation
o Popup box can be activated in posts wherein reputation can be sent with a comment
o Members can view their own reputation by going to action=profile;sa=reputation
o :: Moderators (or anyone with permission) can delete reputation actions on this screen
o Reputation can be given per post, per thread, on account birthday, and on registration
o and more!

Support
Please use the modification thread for support with this modification. Personal messages for support are discouraged.

Languages
o English
o English UTF-8
o Russian by Ben K
o Spanish UTF-8 by Hefesto
o Turkish by Mythcomeback | Burak
o Turkish UTF-8 by Mythcomeback | Burak
o German UTF-8 by Ryoki
If you have any translations for any other languages, I would be grateful if you would send them to me via PM or in the Mod's topic.



Important Instructions!



Before using this mod, uninstall all other Karma-changing mods. This mod changes so much that most other Karma mods will be incompatible.

After installing, go into Configuration > Features & Options > Core Features and make sure Reputation is turned on. Then, go to Members > Permissions > General Permissions and select which membergroups you want to be able to give positive reputation. Click 'Advanced Options' and make sure Add Permission is selected in the bottom left dropdown box. In the bottom right, select 'Can +reputation other users' and click 'Set Permission'. Repeat for 'Can -reputation other users' and 'Disable display of own reputation'. Then select your Moderator groups and give them the permission to 'Delete reputation actions'.

That's about it! There are a dozen or so settings under Configuration > Figures & Options > Reputation that you can mess around with, and six images that you can change if you feel like it.



One More Thing!



To install this modification in any theme other than Default, please click the box next to "Install in Other Themes" at the bottom of this page and check the applicable themes. This release only works for Curve-based themes. A compatibility pack will be released in the near future.


Advanced Reputation System v0.1.5 for SMF 1.1.x



Introduction
A full Karma System replacement, with adjustable reputation settings and an in-post rate/comment popup box.

Features
o Reputation sent is now based on the giver's reputation
o Popup box can be activated in posts wherein reputation can be sent with a comment
o Members can view their own reputation by going to action=profile;sa=reputation
o :: Moderators (or anyone with permission) can delete reputation actions on this screen
o Reputation can be given per post, per thread, and on registration
o and more!

Support
Please use the modification thread for support with this modification. Personal messages for support are discouraged.

Languages
o English
o English UTF-8
o Russian by Lex-BY
o Russian UTF-8 by Lex-BY
o Spanish (Latin) by Zangetsu
o Spanish (Latin) UTF-8 by Zangetsu
If you have any translations for any other languages, I would be grateful if you would send them to me via PM or in the Mod's topic.



Important Instructions!



Before using this mod, uninstall all other Karma-changing mods. This mod changes so much that most other Karma mods will be incompatible.

After installing, make sure "Enable reputation" is selected in Configuration > Figures & Options > Reputation. Then, go to Members > Permissions and select which membergroups you want to be able to give positive reputation. Make sure "Add Permission" is selected in the bottom left dropdown box. In the bottom right, select "Can +reputation other users" and click "Set Permission". Repeat for "Can -reputation other users" and "Disable display of own reputation". Then select your Moderator groups and give them the permission to "Delete reputation actions".

That's about it! There are a dozen or so settings under Configuration > Figures & Options > Reputation that you can mess around with, and six images that you can change if you feel like it.

Originally created by Fustrate (http://www.fustrate.com/)
Second owner was (Ha)2
Title: Re: Advanced Reputation System
Post by: Eliana Tamerin on March 25, 2008, 01:03:41 PM
Wow, Yoda. You've really done a great job!

I like this. So much more dynamic than the Karma feature.
Title: Re: Advanced Reputation System
Post by: mnpsgadam on March 25, 2008, 01:06:13 PM
and i am guessing that there wont be 1.1.x version? :(
Title: Re: Advanced Reputation System
Post by: Eliana Tamerin on March 25, 2008, 01:24:14 PM
Don't count on it. Once 2.0 gets finalized, there won't be many 1.1.x mods made at all. Just too time-consuming to support an older version. And by the time 2.0 gets finalized, TP should be ready to roll on there along with a bunch of other mods.
Title: Re: Advanced Reputation System
Post by: mnpsgadam on March 25, 2008, 01:32:36 PM
i do like this mod a lot. i just would like to be able to use it right now without upgrading. i was looking at doing a vbulletin board and you just made me stick with SMF! :)
Title: Re: Advanced Reputation System
Post by: LiamTheDuck on March 25, 2008, 01:46:50 PM
Approved at last! :P


Nice job though, thanks

(i dont get how you give rep)
Title: Re: Advanced Reputation System
Post by: Fustrate on March 25, 2008, 01:53:11 PM
:D had to rewrite code four or five times before this was approved, but it's here at last!

I'm sad that I can't make a version for 1.1.4, but that would require so much extra work that I'm just not willing to do. Heck, I'm not even able to code well in 1.1.4; I'm lucky that 2.0 made it a breeze ;)
Title: Re: Advanced Reputation System
Post by: edi67 on March 25, 2008, 04:07:10 PM
instersting
Title: Re: Advanced Reputation System
Post by: LiamTheDuck on March 25, 2008, 04:50:19 PM
i dont get how you give rep
Title: Re: Advanced Reputation System
Post by: Fustrate on March 25, 2008, 04:57:53 PM
heart icon ;) I couldn't think of a better image to use, so I just decided to go with "Spread the love!"
Title: Re: Advanced Reputation System
Post by: LiamTheDuck on March 25, 2008, 04:59:55 PM
Its unclickable for me, did hard refreshes and tried FF and IE
Title: Re: Advanced Reputation System
Post by: Eliana Tamerin on March 25, 2008, 05:07:15 PM
Would be good, if possible, to reference images from a central folder, instead of having to manually place them in each theme.

That's my one gripe about it.
Title: Re: Advanced Reputation System
Post by: Chewy954 on March 25, 2008, 05:13:04 PM
do u still have the version for 1.1.4? ;x
Title: Re: Advanced Reputation System
Post by: Eliana Tamerin on March 25, 2008, 05:14:55 PM
There was never any ARS for 1.1.4. This is a 2.0 mod only.
Title: Re: Advanced Reputation System
Post by: LiamTheDuck on March 25, 2008, 05:24:31 PM
Quote from: Eliana Tamerin on March 25, 2008, 05:14:55 PM
There was never any ARS for 1.1.4. This is a 2.0 mod only.
i reccomend you put A.R.S instead of the way you put it :o


And if yoda gives me permission, i will ATTEMPT to make it compatable with 1.1.4
Title: Re: Advanced Reputation System
Post by: Fustrate on March 25, 2008, 05:32:04 PM
[●ριмρєя12●] - If you have the guts to do it, go ahead. And do you have javascript enabled? If so, install the Firebug extension for FF and see if it catches any errors when you click the icon.


Eliana - the package manager should upload it to each theme that you have installed... and if it were in a central folder, you couldn't change it to blend in with a different theme ;)

Title: Re: Advanced Reputation System
Post by: Jade Elizabeth on March 25, 2008, 08:26:10 PM
Yay!
Karma mod died, we need this :D
Thanks so much for making it, it looks really advanced and I'm sure my forum will get heaps of use from this!
Title: Re: Advanced Reputation System
Post by: waremock on March 25, 2008, 08:47:48 PM
I cannot click on the heart either, not sure why.

Also can people get credit for their current posts?
Title: Re: Advanced Reputation System
Post by: Fustrate on March 25, 2008, 08:51:08 PM
I'm perplexed on this "no box" thing - what browser are you using? I tested it on Opera, IE7, IE8, FF2, FF3, and Safari 3(.1), but it showed up on all of them.

View the page source, and see if you can find this in the source:
<span id="karma_menu" style="visibility: hidden;"></span>
Title: Re: Advanced Reputation System
Post by: Eliana Tamerin on March 25, 2008, 09:12:01 PM
Quote from: YodaOfDarkness on March 25, 2008, 05:32:04 PM
Eliana - the package manager should upload it to each theme that you have installed... and if it were in a central folder, you couldn't change it to blend in with a different theme ;)

Good point. Strange that it didn't upload to my themes. *scratches head* Oh well. Great mod!
Title: Re: Advanced Reputation System
Post by: Apllicmz on March 26, 2008, 12:37:07 AM
thank
nice mod
Title: Re: Advanced Reputation System
Post by: justlyssa on March 26, 2008, 01:43:54 AM
i'm having a problem with the mod, doll. *sigh*

It's enabled, but i can't seem to click to up the rep. there isn't a heart... nothing.

help? What you need to help me fix it?
Title: Re: Advanced Reputation System
Post by: Fustrate on March 26, 2008, 01:58:06 AM
Did you, when you installed it, make sure to check that it was going to install on all themes?

If not, uninstall the mod and when you reinstall, check at the bottom of where it lists all of the changes it's going to make. I've asked the devs to include this by default in the next beta of 2.0, but I don't know if they'll actually do it :(

I'll make a guide on what changes to make, but that'll have to be tomorrow. I'm tired as heck and I've got to be up early tomorrow ;)
Title: Re: Advanced Reputation System
Post by: Chewy954 on March 26, 2008, 02:11:57 AM
i thought it was for 1.1.14 before cause of this

Version 1.3.3 March 18th, 2008
> No changes - installer upgraded for SMF 2.0 Beta 3

my mistake ;x

thanks if u do port it!
Title: Re: Advanced Reputation System
Post by: justlyssa on March 26, 2008, 02:15:24 AM
Installing this package will perform the following actions:
Type Action Description
1. Execute Code install.php
* 2. Execute Modification .\Themes\default/Display.template.php Test successful
1. Replace .\Themes\default/Display.template.php Test successful
2. Add Before .\Themes\default/Display.template.php Test successful
3. Replace .\Themes\default/Display.template.php Test successful
4. Add Before .\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/scripts/script.js Test successful
1. Add Before .\Themes\default/scripts/script.js Test successful
* 5. Execute Modification .\Themes\default/style.css Test successful
1. Add Before .\Themes\default/style.css Test successful
* 6. Execute Modification .\Sources/Display.php Test successful
1. Add After .\Sources/Display.php Test successful
2. Replace .\Sources/Display.php Test successful
* 7. Execute Modification .\Sources/Karma.php Test successful
1. Add Before .\Sources/Karma.php Test successful
2. Replace .\Sources/Karma.php Test successful
3. Replace .\Sources/Karma.php Test successful
* 8. Execute Modification .\Sources/Load.php Test successful
1. Add After .\Sources/Load.php Test successful
2. Replace .\Sources/Load.php Test successful
3. Replace .\Sources/Load.php Test successful
4. Add After .\Sources/Load.php Test successful
5. Add Before .\Sources/Load.php Test successful
* 9. Execute Modification .\Sources/ManageMaintenance.php Test successful
1. Replace .\Sources/ManageMaintenance.php Test successful
* 10. Execute Modification .\Sources/ManagePermissions.php Test successful
1. Add After .\Sources/ManagePermissions.php Test successful
2. Add After .\Sources/ManagePermissions.php Test successful
3. Add After .\Sources/ManagePermissions.php Test successful
* 11. Execute Modification .\Sources/ManageSettings.php Test successful
1. Replace .\Sources/ManageSettings.php Test successful
2. Add After .\Sources/ManageSettings.php Test successful
* 12. Execute Modification .\Sources/Post.php Test successful
1. Replace .\Sources/Post.php Test successful
2. Replace .\Sources/Post.php Test successful
* 13. Execute Modification .\Sources/Profile.php Test successful
1. Add Before .\Sources/Profile.php Test successful
* 14. Execute Modification .\Sources/Profile-Modify.php Test successful
1. Add After .\Sources/Profile-Modify.php Test successful
2. Replace .\Sources/Profile-Modify.php Test successful
* 15. Execute Modification .\Sources/Profile-View.php Test successful
1. Add Before .\Sources/Profile-View.php Test successful
16. Execute Modification .\Sources/RemoveTopic.php Test successful
* 17. Execute Modification .\Sources/ScheduledTasks.php Test successful
1. Add Before .\Sources/ScheduledTasks.php Test successful
* 18. Execute Modification .\Sources/Subs-Members.php Test successful
1. Add After .\Sources/Subs-Members.php Test successful
* 19. Execute Modification .\Themes\default/languages/Admin.english.php Test successful
1. Replace .\Themes\default/languages/Admin.english.php Test successful
* 20. Execute Modification .\Themes\default/languages/Errors.english.php Test successful
1. Replace .\Themes\default/languages/Errors.english.php Test successful
2. Add Before .\Themes\default/languages/Errors.english.php Test successful
* 21. Execute Modification .\Themes\default/languages/Help.english.php Test successful
1. Replace .\Themes\default/languages/Help.english.php Test successful
* 22. Execute Modification .\Themes\default/languages/index.english.php Test successful
1. Add Before .\Themes\default/languages/index.english.php Test successful
* 23. Execute Modification .\Themes\default/languages/Install.english.php Test successful
1. Replace .\Themes\default/languages/Install.english.php Test successful
* 24. Execute Modification .\Themes\default/languages/ManageMaintenance.english.php Test successful
1. Add After .\Themes\default/languages/ManageMaintenance.english.php Test successful
* 25. Execute Modification .\Themes\default/languages/ManagePermissions.english.php Test successful
1. Replace .\Themes\default/languages/ManagePermissions.english.php Test successful
2. Add Before .\Themes\default/languages/ManagePermissions.english.php Test successful
* 26. Execute Modification .\Themes\default/languages/ManageSettings.english.php Test successful
1. Replace .\Themes\default/languages/ManageSettings.english.php Test successful
2. Replace .\Themes\default/languages/ManageSettings.english.php Test successful
3. Add Before .\Themes\default/languages/ManageSettings.english.php Test successful
* 27. Execute Modification .\Themes\default/languages/Profile.english.php Test successful
1. Add Before .\Themes\default/languages/Profile.english.php Test successful
* 28. Execute Modification .\Themes\default/languages/Reports.english.php Test successful
1. Replace .\Themes\default/languages/Reports.english.php Test successful
* 29. Execute Modification .\Themes\default/languages/Stats.english.php Test successful
1. Replace .\Themes\default/languages/Stats.english.php Test successful
30. Extract File .\Themes\default/images/karma.gif
31. Extract File .\Themes\default/images/karma_bad_basic.gif
32. Extract File .\Themes\default/images/karma_good_basic.gif
33. Extract File .\Themes\default/images/karma_bad_super.gif
34. Extract File .\Themes\default/images/karma_good_super.gif
35. Extract File .\Themes\default/images/karma_disabled_basic.gif
Install in Other Themes
To use this modification in themes other than the default, the package manager needs to make additional changes to the other themes. If you'd like to install this modification in the other themes, please select these themes below.
Classic YaBB SE Theme
Execute Modification .\Themes\classic/Display.template.php Test successful
1. Replace .\Themes\classic/Display.template.php Test successful
2. Add Before .\Themes\classic/Display.template.php Test successful
3. Replace .\Themes\classic/Display.template.php Test successful
4. Add Before .\Themes\classic/Display.template.php Test successful
Execute Modification .\Themes\classic/style.css Test successful
1. Add Before .\Themes\classic/style.css Test successful
Babylon Theme
Execute Modification .\Themes\Babylon/Display.template.php Test successful
1. Replace .\Themes\Babylon/Display.template.php Test successful
2. Add Before .\Themes\Babylon/Display.template.php Test successful
3. Replace .\Themes\Babylon/Display.template.php Test successful
4. Add Before .\Themes\Babylon/Display.template.php Test successful
Execute Modification .\Themes\Babylon/style.css Test successful
1. Add Before .\Themes\Babylon/style.css Test successful
NewCharmedOnes
Execute Modification .\Themes\NewCharmedOnes/Display.template.php Test successful
1. Replace .\Themes\NewCharmedOnes/Display.template.php Test successful
2. Add Before .\Themes\NewCharmedOnes/Display.template.php Test successful
3. Replace .\Themes\NewCharmedOnes/Display.template.php Test successful
4. Add Before .\Themes\NewCharmedOnes/Display.template.php Test successful
Execute Modification .\Themes\NewCharmedOnes/style.css Test successful
1. Add Before .\Themes\NewCharmedOnes/style.css Test successful


NewCharmedOnes is my theme. Everything tested successfully, and i clicked install. Then i go to features and options, and click on reputation. and select enable reputation and click save.

No one has the ability to give rep, no clicky.. no nothing. I know there is something i am missing. there are files in default that aren't in my theme... is that a problem? Look forward to hear your answers.
Title: Re: Advanced Reputation System
Post by: Fustrate on March 26, 2008, 02:39:04 AM
I updated my first post about an hour ago... read the "Important Instructions", and then the stuff should show up. You have to give everyone the permission to give rep before they can actually do it ;) might look into fixing that so everyone has it from the start, but it's not a priority right now... gotta update the Referrals mod for 2.0
Title: Re: Advanced Reputation System
Post by: nemezis on March 26, 2008, 08:08:28 AM
I uploaded the zip file in admin page, but there are no option to install the mod after that. It just lists the mod in the available mods list. I can't do anything with it. What could it be?
Title: Re: Advanced Reputation System
Post by: diegolyanky on March 26, 2008, 08:12:20 PM
What if I want to use on SMF 1.1.4 ?

Title: Re: Advanced Reputation System
Post by: Eliana Tamerin on March 26, 2008, 08:26:21 PM
You can't. You can upgrade to 2.0 or request that someone else convert the mod. I don't think Yoda is going to do that himself.
Title: Re: Advanced Reputation System
Post by: JoshieDaMan on March 26, 2008, 11:26:51 PM
Then I am hoping to request somebody else to convert the mod because it's importantly which where the users still would use SMF 1.1.4
Title: Re: Advanced Reputation System
Post by: Fustrate on March 27, 2008, 12:28:15 AM
[●ριмρєя12●] is attempting to convert it for 1.1.4, so it's out of my hands. As of right now, it's 2.0 only, and that's how it'll be for a while.

nemezis - are you using 2.0? If not, it'll upload but it won't show the install option, just like you're saying.
Title: Re: Advanced Reputation System
Post by: justlyssa on March 27, 2008, 12:31:02 AM
Quote from: YodaOfDarkness on March 26, 2008, 02:39:04 AM
I updated my first post about an hour ago... read the "Important Instructions", and then the stuff should show up. You have to give everyone the permission to give rep before they can actually do it ;) might look into fixing that so everyone has it from the start, but it's not a priority right now... gotta update the Referrals mod for 2.0

That fix worked... i can post rep now..

Still aren't showing icons though :(
Title: Re: Advanced Reputation System
Post by: Fustrate on March 27, 2008, 01:57:35 AM
Did the images get uploaded to the custom theme? And did you check the boxes when you installed so that it installed on all themes?

If not, you'll need to upload and make changes manually :(
Title: Re: Advanced Reputation System
Post by: justlyssa on March 27, 2008, 04:25:10 AM
Yes, i made sure that all the themes were checkmarked.

All well.. it has a like that says reputation. so it's all good. i'm not worried.
Title: Re: Advanced Reputation System
Post by: Chopper on March 27, 2008, 04:56:36 AM
I hope this gets updated for 1.1.4 as its a good feature
Title: Re: Advanced Reputation System
Post by: LiamTheDuck on March 27, 2008, 07:33:54 AM
can you tell me how to install this in another theme?
Title: Re: Advanced Reputation System
Post by: JoshieDaMan on March 27, 2008, 08:18:14 AM
Quote from: [●ριмρєя12●] on March 27, 2008, 07:33:54 AM
can you tell me how to install this in another theme?
Some mods works for this parser.
http://sleepycode.com/PackageParser/index.php that's what I have been using.
Title: Re: Advanced Reputation System
Post by: LiamTheDuck on March 27, 2008, 08:55:38 AM
Quote from: JoshieDaMan on March 27, 2008, 08:18:14 AM
Quote from: [●ριмρєя12●] on March 27, 2008, 07:33:54 AM
can you tell me how to install this in another theme?
Some mods works for this parser.
http://sleepycode.com/PackageParser/index.php that's what I have been using.
SMF Package Parser Beta
parseArchive(): No package-info.xml in this mod! Is it corrupted?
Title: Re: Advanced Reputation System
Post by: Eliana Tamerin on March 27, 2008, 09:05:57 AM
Why don't you look in the install.xml file for the instructions? They're all in there.
Title: Re: Advanced Reputation System
Post by: Astondb5 on March 27, 2008, 09:39:43 AM
Some of my users are having a problem with this Mod when using Safari web browser.....when you click the heart there is no popup.  Works fine in IE7 and IE8 but not Safari
Title: Re: Advanced Reputation System
Post by: improv on March 27, 2008, 02:05:19 PM
*HMPF*
Again,
too bad that Tiny Portal won't catch up that fast with SMF 2.0.
I can only wait,
either for an 1.1.4 version or Tiny Portal & SMF 2.0 ..
Ah well,
Grats that it got approved,
and grats with your awesome mod.
Title: Re: Advanced Reputation System
Post by: Fustrate on March 27, 2008, 02:22:22 PM
Thanks :) Hopefully TP gets updated before this one has do be downgraded...

And I'm working on a different way to do the karma box; it'll look the same, but have totally different coding behind it which should work better in all major browsers.
Title: Re: Advanced Reputation System
Post by: LiamTheDuck on March 27, 2008, 08:25:06 PM
i think i went wrong making it into 1.1.4,
so its gonna take longer, sorry people :(
Title: Re: Advanced Reputation System
Post by: Fustrate on March 27, 2008, 10:11:25 PM
I'd just rather see it stay as 2.0-only, because of that exact reason.

1.4.0 will be uploaded in a few hours, by the way. It's done, but I'm on my iPod touch right now so I can't upload it right now.

EDIT: Got it uploaded :) if you are updating from 1.3.3, you will get errors! Just read what it says right under the red warning box for ax explanation of why five errors on RemoveTopic.php are perfectly fine.
Title: Re: Advanced Reputation System
Post by: OblivionMage on March 30, 2008, 08:47:43 PM
Looks like an amazing mod, unfortunately my board is 1.1.4 and has alot of other mods installed (The theme(Mystic Jade)+tp wouldn't work in 2.0 would they?), so I can't really update to 2.0 just for this (Although I am tempted to).


[●ριмρєя12●] if you could get a 1.1.4 version out I would be eternally grateful ^^
Title: Re: Advanced Reputation System
Post by: Fustrate on March 30, 2008, 10:23:05 PM
Ya, you'd lose all currently installed mods :( but more and more mods are being updated for SMF 2.0 every day :D
Title: Re: Advanced Reputation System
Post by: Eliana Tamerin on March 30, 2008, 10:38:45 PM
TP will not be updated for months, so until it is updated, it will not work with 2.0.
Title: Re: Advanced Reputation System
Post by: OblivionMage on March 31, 2008, 04:09:17 PM
Well, I am still contemplating whether to do it. Do you lose any posts/threads when you upgrade? Would my theme still work? (I know TP wouldn't, but there is a non-tp version)
Title: Re: Advanced Reputation System
Post by: Fustrate on March 31, 2008, 07:10:57 PM
all posts and user data will remain, and it will attempt to upgrade your theme for you (emphasis on ATTEMPT)
Title: Re: Advanced Reputation System
Post by: improv on April 01, 2008, 07:53:20 AM
Does the SMF 2.0 Beta has so many changes from 1.1.4 ?

If it doesn't has much changes I might take a look to convert your advanced reputation system
for 1.1.4 ( if allowed, and under those conditions).
Title: Re: Advanced Reputation System
Post by: LiamTheDuck on April 03, 2008, 04:25:03 PM
Well, im now converting to 1.1.4 and its not as easy as you think downgrading it, i have upgraded, never downgraded :P

There are quite a few new features like the advanced admin settings, moderation tabs, WYSWIG post editor(<3 it!), it ATTEMPTS to install mods on other themes and your old theme from any other version.

Its also Very reliable in my point of veiw, go and give it a try in a test forum!
Title: Re: Advanced Reputation System
Post by: Nibogo on April 03, 2008, 08:05:44 PM
wow nice really nice but i use smf 1.1.4 :(
Title: Re: Advanced Reputation System
Post by: improv on April 04, 2008, 05:37:44 AM
I'm on it too (trying to convert it for smf 1.1.4).

Edit : oh crap, I'm bad with databases :/
Title: Re: Advanced Reputation System
Post by: Erbros on April 04, 2008, 02:58:01 PM
I'm not sure, but I think there is a error when you add a reputation, write a comment and then you go to the profile and look at the comment, then the link don't work.

PS: Got search-engine friendlines on.
Title: Re: Advanced Reputation System
Post by: CrabbyHost on April 05, 2008, 02:38:59 PM
I installed this on my test forum and everything went smooth.

I installed it on my live forum a few minutes ago and it's throwing all sorts of 500 errors.

When I first installed, it said error line 235 Source/ManageMaintenance.php
On that line I found an extra */  which I removed and the forum came back.

Now I have two hearts and if you click to give rep, when you hit submit, it throws a 500 error.

It's doing the same thing now when I try to track an IP address and it wasn't before.

Any clues what's going on?

Edit to add:

Also just discovered can't view any Profiles (even admins).  When I try uninstalling it, it's breaking the whole forum with an error in Source/ManageMaintenance.php line 1396  (which I looked at and had no clue what was wrong).
Title: Re: Advanced Reputation System
Post by: CrabbyHost on April 05, 2008, 03:15:44 PM
Not sure what happened.  Uninstalled, reinstalled repeatedly and everything appears to be back to normal.
Title: Re: Advanced Reputation System
Post by: Smoky "Rider" Blue on April 08, 2008, 01:26:04 AM
YodaOfDarkness, lol congrats on a very good mod.. i installed to the public beta, with zero errors, but that was befor the update.. what do you recommend on this newer one to get it up and take out the older version??

and thank you again, this is just what smf needed!!  :D
Title: Re: Advanced Reputation System
Post by: Fustrate on April 08, 2008, 02:56:12 AM
Just upload the new package, same as before, but remember that you wil most likely see (five?) errors when it installs... that's just to fix a stupid mistake I made.
Title: Re: Advanced Reputation System
Post by: Smoky "Rider" Blue on April 08, 2008, 05:31:20 PM
currently, it isnt a live forum so i could just overwrite the whole thing, and maybe i wont get those 5 errors Yoda!!   :P just a happy thought.. when i get some time to tinker with it, will post back on the mod.. thanks again for your time in creating it..  ;) hope you will have more goodies in store..  :D
Title: Re: Advanced Reputation System
Post by: ekfaysal on April 10, 2008, 01:43:42 PM
any theme edits?
package phraser gave me error.
please provide theme edits
Title: Re: Advanced Reputation System
Post by: Fustrate on April 10, 2008, 04:04:45 PM
Can't right now, I'm on my iPod Touch, but you can unzip the zip and look in install.xml and see if you can understand it.
Title: Re: Advanced Reputation System
Post by: OblivionMage on April 10, 2008, 04:25:25 PM
Ok, well I installed this on a test 2.0 beta board, and these are my thoughts on the mod;

-Great concept, the reputation system (as VBulletin uses) is much more advanced and configurable then the karma system.
-An option to not allow members to hide their reputation would be great, this allows for 'reputation driven' or 'contribution driven' boards to exist, where reputation counts more then, or just as much as, posts.
-An option in the 'membergroups' where you can promote a member into a membergroup based on the amount of reputation he has, instead of just posts.
-An option to not use the descriptions (IE. 'has no influence') or images, but simply numbers instead (So user "OblivionMage" could have 'Reputation: 23' and 'Reputation Power: 2'.


One problem that I am having with the mod is that none of the images for it show up in any theme but the default, and even in the default theme, the option for adding to someone's reputation is decidedly small.

What I suggest is to an option to have the '+Rep', or '-Rep', buttons as either plain text or images (that users can change) and place them either right below the reputation/reputation power fields or below in the icon menu (with the persons email, etc). Can you change the buttons as of now? Because I haven't found a way, yet at least.

So that would be instead of the universal 'reputation' button (Which could also be an option) that asks you whether you agree or disagree with the post and asks for a comment.

Now, the problem with this is that asking whether or not a user agrees or disagrees with the post doesn't really allow the forum much room to be creative in terms of using reputation to its fullest extent. For example, a board might view Reputation as being much more important then posts, and may have a strict rule set as to when it is 'right' to give someone reputation, not when you agree/disagree. So perhaps those fields could also be editable/changed?



These are just suggestions and thoughts on the mod, because I REALLY like it so far, and appreciate the work that you have done on it. It has lots of potential.

Cheers, hope this helps
Title: Re: Advanced Reputation System
Post by: franklinrony on April 13, 2008, 06:03:37 PM
thanks for the mod i wit for smf 1.1.4 to test
Title: Re: Advanced Reputation System
Post by: miamizx on April 14, 2008, 10:41:05 AM
Quote from: frony on April 13, 2008, 06:03:37 PM
thanks for the mod i wit for smf 1.1.4 to test

Same here
Title: Re: Advanced Reputation System
Post by: LiamTheDuck on April 14, 2008, 12:05:47 PM
I think i've done it, just gotta test it ;)
Title: Re: Advanced Reputation System
Post by: improv on April 14, 2008, 02:20:24 PM
Great!
Let us know your results asap.
If you want I can help testing, I have always a test forum running.
Title: Re: Advanced Reputation System
Post by: OblivionMage on April 14, 2008, 04:40:00 PM
Nice one, I could also help with your testing if you wanted.
Title: Re: Advanced Reputation System
Post by: franklinrony on April 14, 2008, 05:55:12 PM
Quote from: OblivionMage on April 14, 2008, 04:40:00 PM
Nice one, I could also help with your testing if you wanted.
me too
Title: Re: Advanced Reputation System
Post by: Fustrate on April 14, 2008, 08:41:15 PM
I'd appreciate being able to test it before it gets handed out... want to make sure it's up to snuff and doesn't contain any security holes ;)
Title: Re: Advanced Reputation System
Post by: Smoky "Rider" Blue on April 14, 2008, 08:58:52 PM
hmm i could put this on my 1.1.4 too.. i like what it did for the beta.. but will wait for Yoda to test  ;)
Title: Re: Advanced Reputation System
Post by: LiamTheDuck on April 15, 2008, 01:16:51 PM
Right tested and a little secitrity issue, will be ready within the the hour!
Title: Re: Advanced Reputation System
Post by: Kirschnik on April 15, 2008, 01:20:31 PM
Same Problem as so many People got.

Only works right on the Standard Theme...
Title: Re: Advanced Reputation System
Post by: LiamTheDuck on April 15, 2008, 01:49:05 PM
Quote from: Kirschnik on April 15, 2008, 01:20:31 PM
Same Problem as so many People got.

Only works right on the Standard Theme...
That happens with EVERY mod...
Title: Re: Advanced Reputation System
Post by: improv on April 15, 2008, 02:16:30 PM
Gj dude.
my test forums (http://clanfol.org/test) are ready for anytime you'd need another test.
Title: Re: Advanced Reputation System
Post by: Croco on April 15, 2008, 03:40:13 PM
small bug & fix to it

in Profile-View.php the line

'topic_href' => $row['topic'] . $row['message'],


should be like this:

'topic_href' => $row['topic'] .'.msg'. $row['message'],


by the way great mod thank you
Title: Re: Advanced Reputation System
Post by: Fustrate on April 15, 2008, 07:20:23 PM
ya, fixed that and two other issues in the next bugfix version...

Some bad logic in Karma.php, and a use of $user_info where it wasn't global'd in Post.php - I'll finish packaging that up, and upload it tonight or tomorrow.
Title: Re: Advanced Reputation System
Post by: Croco on April 15, 2008, 07:39:14 PM
you have also a problem with wait time (24 hours for example)

you can only change once in the waiting time period for all users

Title: Re: Advanced Reputation System
Post by: Croco on April 15, 2008, 07:47:39 PM

// Find out if this user has done this in the past $longenough.
      $request = $smcFunc['db_query']('', '
         SELECT log_time
         FROM {db_prefix}log_karma
         WHERE id_executor = {int:current_member}
            AND log_time >= {int:waittime}
         LIMIT 1',
         array(
            'current_member' => $user_info['id'],
            'waittime' => $longenough,
         )
      );


i added "id_target = {int:id_target}" to the conditions

so it should be like this

        // Find out if this user has done this in the past $longenough.
        $request = $smcFunc['db_query']('', '
            SELECT log_time
            FROM {db_prefix}log_karma
            WHERE
                id_target = {int:id_target}
                AND id_executor = {int:current_member}
                AND log_time >= {int:waittime}
            LIMIT 1',
            array(
                'current_member' => $user_info['id'],
                'waittime' => $longenough,
                'id_target' => $uid,
            )
        );
Title: Re: Advanced Reputation System
Post by: Croco on April 15, 2008, 08:13:02 PM
can anyone explain how karma works per post or per thread ?
Title: Re: Advanced Reputation System
Post by: Eliana Tamerin on April 15, 2008, 08:30:27 PM
Per post.
Title: Re: Advanced Reputation System
Post by: Croco on April 15, 2008, 08:32:32 PM
no i mean there are options in the Features and Options

How many points per post?
How many points per thread?

how do they work ?
Title: Re: Advanced Reputation System
Post by: Fustrate on April 15, 2008, 08:38:55 PM
It'll give rep points for every post and thread made, if you want it to
Title: Re: Advanced Reputation System
Post by: Croco on April 15, 2008, 08:40:48 PM
ah you mean when someone get points for new topics and posts

ok got it thank you :)
Title: Re: Advanced Reputation System
Post by: Croco on April 16, 2008, 08:29:18 AM
another small bug in Display.php


'can_send_karma' => empty($message['is_repped']) && ($user_info['id'] != $message['member']['id']),


should be like this:


'can_send_karma' => empty($message['is_repped']) && ($user_info['id'] != $message['id_member']),


because $message['member'] will give you Undefined index error
Title: Re: Advanced Reputation System
Post by: ekfaysal on April 17, 2008, 02:12:19 AM
Hi brother
i m using silent wave theme on my smf 2 version 3
my theme file is using only index.templete.php from silentwave rest of files are used by default by this them

now i have installed mod successfull
nnow when someone click on reputation
it looks like this

(http://img204.imageshack.us/img204/382/86197448yj3.jpg)

then if it click on add reputation like said in this page

(http://img72.imageshack.us/img72/2192/24658023rn6.jpg)

then this windows appear in this area.

(http://img153.imageshack.us/img153/2421/14551131dc1.jpg)

my point is that the place is empty in every post just look at first picture
Please see and solve my problem

Title: Re: Advanced Reputation System
Post by: Fustrate on April 17, 2008, 02:27:56 AM
For the "Add Reputation" under the post - make sure  all of the images got uploaded into your theme's image folder.

The huge white space and no popup seems to be a javascript problem. Is there a url I go to to look at this?
Title: Re: Advanced Reputation System
Post by: Croco on April 17, 2008, 03:20:13 AM
another bug and fix to it (RemoveTopic.php)

            while ($rowMembers = $smcFunc['db_fetch_assoc']($requestMembers)){
                updateMemberData($rowMembers['id_member'], array('posts' => 'posts - ' . $rowMembers['posts']));
                if(!$user_info['is_guest'] && $modSettings['karmaValueThread'] > 0){
                    $request = $smcFunc['db_query']('', '
                        UPDATE {db_prefix}members
                        SET karma_good = karma_good - {int:newkarma}
                        WHERE id_member = {int:member}',
                        array(
                            'newkarma' => $modSettings['karmaValueThread'],
                            'member' => $user_info['id']
                        )
                    );
                }
            }


there is no $user_info['id'] you need to use $rowMembers['id_member']
therefore, the code should be like this


            while ($rowMembers = $smcFunc['db_fetch_assoc']($requestMembers)){
                updateMemberData($rowMembers['id_member'], array('posts' => 'posts - ' . $rowMembers['posts']));
                if(!$user_info['is_guest'] && $modSettings['karmaValueThread'] > 0){
                    $request = $smcFunc['db_query']('', '
                        UPDATE {db_prefix}members
                        SET karma_good = karma_good - {int:newkarma}
                        WHERE id_member = {int:member}',
                        array(
                            'newkarma' => $modSettings['karmaValueThread'],
                            'member' => $rowMembers['id_member']
                        )
                    );
                }
            }
Title: Re: Advanced Reputation System
Post by: Croco on April 17, 2008, 03:23:43 AM
about this condition same file RemoveTopic.php


if(!$user_info['is_guest'] && $modSettings['karmaValueThread'] > 0){


if you are checking the is_guest you need to add to global $user_info variable
Title: Re: Advanced Reputation System
Post by: Croco on April 17, 2008, 03:25:53 AM
for the huge white space you can specify height="0px" and replace the span with a div

also you need to adjust the showhide() javascript function so when hide set height to 0 and when show set to maybe 250px for example (changes are in display.template.php & scripts.js files)
Title: Re: Advanced Reputation System
Post by: ekfaysal on April 17, 2008, 10:45:00 AM
Quote from: YodaOfDarkness on April 17, 2008, 02:27:56 AM
For the "Add Reputation" under the post - make sure  all of the images got uploaded into your theme's image folder.

The huge white space and no popup seems to be a javascript problem. Is there a url I go to to look at this?

as i am testing it on  a test forum using easy php on my pc i havnt tried it on my running forum coz i want to test it first so i cant give you any link
please let me know how to add poopup instead of this white space
Title: Re: Advanced Reputation System
Post by: Fustrate on April 18, 2008, 10:43:09 PM
Quote from: ^_^ on April 15, 2008, 07:47:39 PM

// Find out if this user has done this in the past $longenough.
      $request = $smcFunc['db_query']('', '
         SELECT log_time
         FROM {db_prefix}log_karma
         WHERE id_executor = {int:current_member}
            AND log_time >= {int:waittime}
         LIMIT 1',
         array(
            'current_member' => $user_info['id'],
            'waittime' => $longenough,
         )
      );


i added "id_target = {int:id_target}" to the conditions

so it should be like this

        // Find out if this user has done this in the past $longenough.
        $request = $smcFunc['db_query']('', '
            SELECT log_time
            FROM {db_prefix}log_karma
            WHERE
                id_target = {int:id_target}
                AND id_executor = {int:current_member}
                AND log_time >= {int:waittime}
            LIMIT 1',
            array(
                'current_member' => $user_info['id'],
                'waittime' => $longenough,
                'id_target' => $uid,
            )
        );

Just finished fixing up the code, and I wanted to elaborate on this one. That specific code block checks for whether or not they've done any rep action in the last x amount of time, not just for that specific person. There's another block that handles "can't repeat a person until" checks... it's in there along side all of the other things ;)
Title: Re: Advanced Reputation System
Post by: LiamTheDuck on April 19, 2008, 06:56:33 AM
Im gonna have to wait until my laptop gets fixed (smf 1.1.4 -A.R files are on there)
Title: Re: Advanced Reputation System
Post by: Nibogo on April 19, 2008, 08:27:52 PM
Quote from: [●ριмρєя12●] on April 19, 2008, 06:56:33 AM
Im gonna have to wait until my laptop gets fixed (smf 1.1.4 -A.R files are on there)

wow nice work i am expecting your mod , i like to test in my forum :)
Title: Re: Advanced Reputation System
Post by: Hot Rides on April 21, 2008, 08:48:56 AM
Quote from: NIBOGO on April 19, 2008, 08:27:52 PM
Quote from: [●ριмρєя12●] on April 19, 2008, 06:56:33 AM
Im gonna have to wait until my laptop gets fixed (smf 1.1.4 -A.R files are on there)

wow nice work i am expecting your mod , i like to test in my forum :)
waiting as well, just upgarding to 2.0 is not easy. I have spent many hours getting my site ready and just launched. I am not rady to go thru all that again for 1 mod, lol. my g/f is already upset at all the time I have spent on this one.
Title: Re: Advanced Reputation System
Post by: iceman~ on April 21, 2008, 04:55:23 PM
Great mod mate, works nice and no problems or errors uploading.
Just read the entire thread ... but ... this post hasn't been answered

Quote from: waremock on March 25, 2008, 08:47:48 PM
Also can people get credit for their current posts?

Just wanted to know .... what if members already have 500 to 600 post to there credit, would there karma be changed after you install this mod. In other words if you have the per post and per thread feature on would they get credit for the post they have already made. After installing this mod every members karma starts showing zero but there profile still shows there previous karma.

Any help ?

Thanks again mate.
Title: Re: Advanced Reputation System
Post by: Fustrate on April 22, 2008, 12:56:26 AM
GiveReputation.php
Pretty much gives out rep points for posts and threads that were made before you installed this mod. If you're going to use values different than the default (1 per post, 3 per thread), please make those changes in the admin panel before running this script. Also make sure to delete this file after you use it, just in case another of your admins stumbles upon it and executes it (only admins can run it, anyways). One mooooore thing... for large forums, you can bump up the number it does at one time by changing 100 to something else in there.

To use it, just upload it to your forum root and navigate to the file in your browser. You have to be logged in as an admin for this to work, fyi.
Title: Re: Advanced Reputation System
Post by: iceman~ on April 22, 2008, 08:23:17 AM
Great YodaOfDarkness ... Will try and get back to you. Would it make the changes in the profile also.
Thanks mate ...
Title: Re: Advanced Reputation System
Post by: Fustrate on April 22, 2008, 12:15:13 PM
Do you mean erase all prior reputation in action=profile;sa=viewKarma? no. For that, you need to go into your database and run this query:
DELETE * FROM `smf_log_karma` WHERE 1=1
replace smf_ with your database prefix.
Title: Re: Advanced Reputation System
Post by: LiamTheDuck on April 22, 2008, 12:27:00 PM
I need to make it up to you guys for the delay (still getting fixed O0 >:( >:D :( :'( )

what do you suggest? :P
Title: Re: Advanced Reputation System
Post by: PrizeLive.com on April 22, 2008, 12:27:23 PM
Will this work at all on version 1.1.4?
Title: Re: Advanced Reputation System
Post by: LiamTheDuck on April 22, 2008, 12:28:51 PM
Read my other post, its my laptop you should blame

stupid hard drive :@
Title: Re: Advanced Reputation System
Post by: Hot Rides on April 22, 2008, 01:54:26 PM
Quote from: [●ριмρєя12●] on April 22, 2008, 12:27:00 PM
I need to make it up to you guys for the delay (still getting fixed O0 >:( >:D :( :'( )

what do you suggest? :P
just getting it done will be enough
Title: Re: Advanced Reputation System
Post by: iceman~ on April 22, 2008, 04:12:58 PM
Quote from: YodaOfDarkness on April 22, 2008, 12:56:26 AM
GiveReputation.php
Pretty much gives out rep points for posts and threads that were made before you installed this mod. If you're going to use values different than the default (1 per post, 3 per thread), please make those changes in the admin panel before running this script. Also make sure to delete this file after you use it, just in case another of your admins stumbles upon it and executes it (only admins can run it, anyways). One mooooore thing... for large forums, you can bump up the number it does at one time by changing 100 to something else in there.

To use it, just upload it to your forum root and navigate to the file in your browser. You have to be logged in as an admin for this to work, fyi.

Doesn't work mate it just updated the karma that people had previously ... did not repute them keeping there post in mind.
What next .... Help Mate
Title: Re: Advanced Reputation System
Post by: Fustrate on April 22, 2008, 06:58:57 PM
What do you mean? Did you run it all the way through?

Sounds like a foolish question, but do you have the rep system installed?
Title: Re: Advanced Reputation System
Post by: iceman~ on April 22, 2008, 08:37:54 PM
LOL yes i do mate.

All i wanna know is that if a member has 500+ post to his credit before installing the rep system .. After running the php file u attached, will the rep system repute him for his post.

Cause it does not ... installed the system right ... no errors at all.
Is there any particular way of running the file. Where do u upload the file ( in the smf directory right )

Thanks.

Title: Re: Advanced Reputation System
Post by: Fustrate on April 22, 2008, 08:52:13 PM
straight in the root folder
then go to /GiveReputation.php
what does it say?
Title: Re: Advanced Reputation System
Post by: iceman~ on April 22, 2008, 09:48:27 PM
I have approx 40 members.
in white background on the left top section It said something like ( dont exactly remember ) xyz 1 to 40 ( or 100 ) members.
All i wanna know is that if a member has 500+ post to his credit before installing the rep system .. After running the php file u attached, will the rep system repute him for his post ( keeping in mind 1 point per post & 3 points per topic )

Cause it does not ... installed the system right ... no errors at all.

Anything else i can do to rectify it.
Sorry for all the trouble and thanks for sparing time for me.

Oh one more thing ... after installing it .. i made a post and it did not increment my rep.
Title: Re: Advanced Reputation System
Post by: Fustrate on April 23, 2008, 12:36:18 AM
Almost done with a debugging version, hang on

mkay, here it is. Upload it to the same place, and tell me a few lines that come after "Debugging Information:".
Title: Re: Advanced Reputation System
Post by: iceman~ on April 23, 2008, 08:35:19 AM
Quote from: YodaOfDarkness on April 23, 2008, 12:36:18 AM
Upload it to the same place, and tell me a few lines that come after "Debugging Information:".

Members 1 through 40 have been updated.

Debugging Information:
User #1 received 6568 reputation points for 76 topics and 424 posts.
User #2 received 53 reputation points for 1 topics and 3 posts.
User #3 received 5844 reputation points for 106 topics and 335 posts.
User #4 received 7899 reputation points for 83 topics and 518 posts.

------------------------------------------------------------------------------------------------

Got it installed ... executed GiveReputation_debug.php ... the first few lines are mentioned above ... it updated the rep of all members ... But ... Now when people post there rep does not increase, it remains the same ....
Title: Re: Advanced Reputation System
Post by: Fustrate on April 23, 2008, 10:43:32 AM
Did any edits get made to Sources/Post.php, somewhere in the Post2 function? Sorry I can't be more specific, I'm at the office on my iPod touch...
Title: Re: Advanced Reputation System
Post by: iceman~ on April 23, 2008, 11:35:33 AM
Quote from: YodaOfDarkness on April 23, 2008, 10:43:32 AM
Did any edits get made to Sources/Post.php, somewhere in the Post2 function?

Could be possible ... do you suggest i reinstall it.
Its giving no errors while i try to uninstall it.
Title: Re: Advanced Reputation System
Post by: Fustrate on April 23, 2008, 04:16:23 PM
Search for this in Post.php:
if(!$user_info['is_guest'] && $modSettings['karmaValuePost'] > 0){
$request = $smcFunc['db_query']('', '
UPDATE {db_prefix}members
SET karma_good = karma_good + {int:newkarma}
WHERE id_member = {int:member}',
array(
'newkarma' => $modSettings['karmaValuePost'],
'member' => $user_info['id']
)
);
}
Title: Re: Advanced Reputation System
Post by: iceman~ on April 23, 2008, 05:30:18 PM
Cannot find it mate .... Guess i messed up somewhere.
Title: Re: Advanced Reputation System
Post by: Fustrate on April 23, 2008, 07:00:47 PM
no worries. Unzip the zip, look in install.xml and search for Post.php - just find what it says to search for (no <![CDATA[ ]]> though) and replace it with what follows. Should be simple enough :)
Title: Re: Advanced Reputation System
Post by: iceman~ on April 23, 2008, 07:42:31 PM
Great ... Mate .. just another question ... If i wanna uninstall this mod and get my karma feature back to normal just like how it is when you install a new forum ( with every member having zero karma ) how do i go about doing that.

Cause i think i would like to get everything back to the original settings and start this installation afresh. Get all members to zero.

Thanks a zillion Mate ... Sorry for all the trouble.
Title: Re: Advanced Reputation System
Post by: Fustrate on April 24, 2008, 12:40:44 AM
just uninstall it in Package Manager ;) and if you want to reset all rep/karma, run this query:
UPDATE `smf_members` SET `karma_good` = 0, `karma_bad` = 0 WHERE `id_member` > 0
Title: Re: Advanced Reputation System
Post by: iceman~ on April 24, 2008, 03:50:54 AM
Great ... Thanks mate .. Will start afresh.
Title: Re: Advanced Reputation System
Post by: Inside Sin on April 24, 2008, 09:22:39 AM
Gah, i just looked at this and i got amazed at this great work, then i tried to install, and it's not 1.1.4 compatible, GAH.

Any chance you'd make it for 1.1.4 anytime?

If not, then when is SMF 2.0 going to be released publicly, estimated?
Title: Re: Advanced Reputation System
Post by: iceman~ on April 24, 2008, 02:07:49 PM
Quote from: YodaOfDarkness on April 24, 2008, 12:40:44 AM
just uninstall it in Package Manager ;) and if you want to reset all rep/karma, run this query:
UPDATE `smf_members` SET `karma_good` = 0, `karma_bad` = 0 WHERE `id_member` > 0

Sorry to trouble you again Yoda ... LOL ... How do i run this query.
Do i run it in phpmyadmin ...
Still learning ...
Thanks Mate
Title: Re: Advanced Reputation System
Post by: Kirschnik on April 25, 2008, 02:23:47 PM
At first, thx for the great Mod.

But i got the Problem with the White Space too... The weird thing is: it works in the core theme but my theme is just a copy of the core theme with different colors.

Maybe you wanna watch it under www.mightyhost.de

Thx a lot for helping
Title: Re: Advanced Reputation System
Post by: Fustrate on April 25, 2008, 03:10:15 PM
White space: Did the appropriate changes get made at the end of that theme's style.css?

Query: Navigate to where you can view the content of smf_members and click [Edit] in the upper right.
Title: Re: Advanced Reputation System
Post by: Kirschnik on April 25, 2008, 03:43:33 PM
Yes, it didnt do the changes. That was my first idea too :) After manually editing the style.css nothing changed.

The white space is filled with the window for reputating a user, after clicking the heart, but i dont know where to change the code...

thx a lot for helping
Title: Re: Advanced Reputation System
Post by: Barngodess on April 26, 2008, 10:37:06 AM
Quote from: YodaOfDarkness on March 25, 2008, 01:53:11 PM
:D had to rewrite code four or five times before this was approved, but it's here at last!

I'm sad that I can't make a version for 1.1.4, but that would require so much extra work that I'm just not willing to do. Heck, I'm not even able to code well in 1.1.4; I'm lucky that 2.0 made it a breeze ;)


I'm sad too..... as that's the version I have......

Melissa
Title: Re: Advanced Reputation System
Post by: Marcus Forsberg on April 26, 2008, 03:45:04 PM
Swedish translation:

Admin.swedish.php:
$txt['karma'] = 'Anséende';

Errors.swedish.php:
$txt['not_enough_posts_karma'] = 'Ledsen ,men du har inte tillräckligt med inlägg för att redigera anséenden - du måste ha minst %1$d.';
$txt['cant_change_own_karma'] = 'Ledsen ,men du har inte rätt att redigera ditt egna anséende.';
$txt['karma_wait_time'] = 'Ledsen, men du kan inte repetera en anséendeaktion förän om %1$s %2$s.';

// Advanced Reputation System
$txt['karma_cant_agree'] = 'Du har inte rätt att ge positivt anséende till denna användare!';
$txt['karma_cant_disagree'] = 'Du har inte rätt att ge negativt anséende till denna användare!';
$txt['karma_choose_action'] = 'Bestäm dig nu! Håll med eller ogilla.';
$txt['karma_maxed_out'] = 'Du har använt alla dina %1$d tillåtna anséendeaktioner!';
$txt['karma_please_wait'] = 'Du måste vänta %1$d timmar mellan anséendeaktioner. Du har ungefär %2$d minuter kvar att vänta.';
$txt['karma_spread_around'] = 'Sprid lite kärlek innan du ger det till denna användare igen.';
$txt['karma_didnt_update'] = 'Det uppståd ett problem med databasen. Försök igen.';
$txt['karma_didnt_log'] = 'Det uppståd ett problem med anséende loggen. Var snäll och varna en administratör.';
$txt['karma_sent_twice'] = 'Du kan inte sända anéenden två gånger i samma inlägg!';

Help.swedish.php:
$helptxt['karmaMode'] = 'Anséenden är en funktion som visar hur populär en medlem är. Medlemar med tillåtelse kan "Håll med" eller "Ogilla" andra medlemar, vilket är hur populäriteten räknas ut. Du kan ändra antalet inlägg som krävs för att ¨få ett &quot;anséende&quot;, tiden mellan medhållnigar och ogillnigar, och om administratörer måste vänta också.<br /><br />Om medlemsgrupper får ge "Anséendepoäng" till andra bestäms via rättigheter.
Om du har problem med att få denna funktion att fungera, så kolla dina rättigheter.';

index.swedish.php

// Advanced Reputation System
$txt['karma_title'] = 'Anséende';
$txt['karma_power'] = 'Anséendepoäng';
$txt['karma_add_to'] = 'Lägg till på anséende';
$txt['karma_your_opinion'] = 'Vad tycker du om detta inlägg?';
$txt['add_karma'] = 'Lägg till anséende';
$txt['submit'] = 'Spara';
$txt['comment'] = 'Kommentar';
$txt['karma_agree'] = 'Jag håller med';
$txt['karma_disagree'] = 'Jag håller inte med';

Install.swedish.php
$txt['default_karmaLabel'] = 'Anséende:';

ManageMaintenance.swedish.php

$txt['scheduled_task_karma_birthdays'] = 'Födelsedags anséende';
$txt['scheduled_task_desc_karma_birthdays'] = 'Ger anséendepoäng på medlemars födelsedagar';

ManagePermissions.swedish.php
$txt['permissionname_karma_edit'] = 'Ändra andras anséende';
$txt['permissionhelp_karma_edit'] = 'Anseende är en funktion som visar hur populär en medlem är.';

// Advanced Reputation System
$txt['permissionname_disable_karma_display'] = 'Avaktivera visningen av sitt eget anséende';
$txt['permissionhelp_disable_karma_display'] = 'Om en medlem väljer att avaktivera sitt anséende, kommer ingen anséendeinfo att visas för andra.';
$txt['permissionname_negative_karma'] = 'Kan ogilla andras inlägg';
$txt['permissionhelp_negative_karma'] = 'Kan denna medlem ogilla andras inlägg?';
$txt['permissionname_positive_karma'] = 'Kan hålla med andra medlemar';
$txt['permissionhelp_positive_karma'] = 'Kan denna medlem hålla med andra medlemar?';
$txt['permissionname_delete_karma'] = 'Radera anséendeaktioner';
$txt['permissionhelp_delete_karma'] = 'Kan denna medlem ångra anséendeaktioner via sin profil?';

ManageSettings.swedish.php
$txt['karmaMode'] = 'Anséende läge';
$txt['karma_options'] = 'Avaktivera anséende|Aktivera anséende';
$txt['karmaMinPosts'] = 'Antalet inlägg som krävs för att ge anséendepoäng';
$txt['karmaWaitTime'] = 'Välj väntetid i timmar';
$txt['karmaTimeRestrictAdmins'] = 'Admins måste inte vänta under denna tid';
$txt['karmaLabel'] = 'Anséende beteckning';
$txt['karmaApplaudLabel'] = 'Anséende beteckning för medhållning';
$txt['karmaSmiteLabel'] = 'Anséende beteckning för ogillning';


I don't how enough time right now, so the rest will come soon, sorry
Title: Re: Advanced Reputation System
Post by: LiamTheDuck on April 26, 2008, 04:25:41 PM
MFT95,
please code that
Title: Re: Advanced Reputation System
Post by: Fustrate on April 26, 2008, 05:40:17 PM
Thanks :) I think I have Spanish laying around here somewhere... it's just that there isn't a full language pack for Spanish right now, so it's kinda useless to add it into the package right now.

And I'll expand on what [●ριмρєя12●] said... if you open up install.xml you'll find all of the language edits at the end. If you could just format it in that same way, with the <search> values translated too, that would be much appreciated :) If you need any help, I'd be glad to assist.

EDIT: I'm guessing the 2.0 beta 2.1 language pack for Norwegian works for 2.0 beta 3? If so, I'll do all of the install.xml edits myself, once you finish the translations.
Title: Re: Advanced Reputation System
Post by: Kirschnik on April 27, 2008, 07:03:44 AM
Quote from: Kirschnik on April 25, 2008, 03:43:33 PM
Yes, it didnt do the changes. That was my first idea too :) After manually editing the style.css nothing changed.

The white space is filled with the window for reputating a user, after clicking the heart, but i dont know where to change the code...

thx a lot for helping

No one able to give me a hint?
Title: Re: Advanced Reputation System
Post by: improv on April 27, 2008, 08:02:10 AM
I can do the dutch translation if you don't have it yet.
Title: Re: Advanced Reputation System
Post by: ekfaysal on April 27, 2008, 11:08:46 AM
nobody is willing to help me naa.
my post is completely ignored now
Title: Re: Advanced Reputation System
Post by: Jade Elizabeth on April 28, 2008, 05:13:39 PM
Hey, I installed your mod....I'm not sure how to tell if it was an applaud or smite on the view karma screen though.
Can I make it so a comment is REQUIRED by the user?
Also, is there a way to have a global log? My forum needs the log for the karma awards at the end of each month (and I need to monitor the system for abuse, since we have had quite a lot of Karma system abuse as of late).

Also we had our karma set to view +/-....why is it gone now?

Danke Yoda :D, it is a great mod thus far. My forum members are calling each other power rangers (http://www.jades-world.com/forums/index.php?topic=2617.0) now lol. So we are loving it thus far lol.
Title: Re: Advanced Reputation System
Post by: Pleek on April 28, 2008, 07:15:36 PM
so, how is the coding for 1.1.4 coming? I am waiting in anticipation for it!!!!!!!!!
Title: Re: Advanced Reputation System
Post by: OblivionMage on April 28, 2008, 07:37:23 PM
Quote from: Pleek on April 28, 2008, 07:15:36 PM
so, how is the coding for 1.1.4 coming? I am waiting in anticipation for it!!!!!!!!!
Apparently its done but the files are all on a laptop's harddrive that is currently being repaired.
Title: Re: Advanced Reputation System
Post by: Nibogo on April 28, 2008, 08:23:04 PM
Quote from: Pleek on April 28, 2008, 07:15:36 PM
so, how is the coding for 1.1.4 coming? I am waiting in anticipation for it!!!!!!!!!

please wait for the laptop of [●ριмρєя12●] because he say of the mod was done ;)

Title: Re: Advanced Reputation System
Post by: Fustrate on April 28, 2008, 09:14:47 PM
Mind you, I want to thoroughly test the 1.1.4 version before it gets added to the current package... I have faith that it was done correctly, but I don't want any potential bugs slipping by me :) I'm a control freak - what can I say?
Title: Re: Advanced Reputation System
Post by: perro88 on April 28, 2008, 09:41:16 PM
great mod, big thanks mate
Title: Re: Advanced Reputation System
Post by: Pleek on April 28, 2008, 10:26:05 PM
i don't blame you YodaOfDarkness, that mod is one of the best ive seen in a while. I would want to keep it up to par if i were you too.
Title: Re: Advanced Reputation System
Post by: Kirschnik on April 29, 2008, 09:05:24 AM
Quote from: Kirschnik on April 27, 2008, 07:03:44 AM
Quote from: Kirschnik on April 25, 2008, 03:43:33 PM
Yes, it didnt do the changes. That was my first idea too :) After manually editing the style.css nothing changed.

The white space is filled with the window for reputating a user, after clicking the heart, but i dont know where to change the code...

thx a lot for helping

No one able to give me a hint?

Sry for push, but i wasnt able to resolve the problem on my own yet..
Title: Re: Advanced Reputation System
Post by: Fustrate on April 29, 2008, 01:25:27 PM
There are also changes in script.js

Should fix it, but I can't check (I'm on my iPod touch right now, can't look at your page source)
Title: Re: Advanced Reputation System
Post by: Kirschnik on April 30, 2008, 06:47:15 AM
Uh, i thought the Script.js is automatically used by all the other default themes. The themes i use are just copied "Default Theme Core". Thought they use the same... Kinda wondering about that. I mean, it should work as it works in the Default Theme Core...
Title: Re: Advanced Reputation System
Post by: _Anthony_ on April 30, 2008, 07:11:21 PM
Wait so the smf 1.1.4 is already completed but the hard disk it was stored on is not working properly?
Am i correct?
Oh well just wondering i don't need it though i have SMF2 Beta 3 :)
Title: Re: Advanced Reputation System
Post by: Pleek on May 01, 2008, 09:24:51 PM
man, is that laptop going to be fixed anytime soon? sry for being impatient i just really want this mod on my board!
Title: Re: Advanced Reputation System
Post by: _Anthony_ on May 02, 2008, 12:42:41 AM
Lol pleek it wil probably  be soon :)
Title: Re: Advanced Reputation System
Post by: edi67 on May 02, 2008, 04:03:59 PM
Why trying to add one comment to some user i have this error:

Sorry, this feature is disabled.

but i cannot enable nothing in ADMIN panel, i click on greeen button but nothing happen
Title: Re: Advanced Reputation System
Post by: Fustrate on May 02, 2008, 08:44:53 PM
You need to press 'Save' after you turn the button green.
Title: Re: Advanced Reputation System
Post by: edi67 on May 04, 2008, 04:08:17 PM
Quote from: YodaOfDarkness on May 02, 2008, 08:44:53 PM
You need to press 'Save' after you turn the button green.

sorry me im stupid :(
Title: Re: Advanced Reputation System
Post by: Jade Elizabeth on May 04, 2008, 09:01:49 PM
I'm getting a lot of undefined offsets...

8: Undefined offset: 9
Apply Filter: Only show the errors from this file
File: /home/jade/public_html/forums/Sources/Load.php
Line: 1095


I have 10 and 11 as well as 9..dunno if that matters.

Last line being the issue:
// If they are in the positives, and want it displayed
if(!$profile['karma_disabled'] && ($profile['karma_good'] >= $profile['karma_bad'])){

$points = $profile['karma_good'] - $profile['karma_bad'];
$power = ($points - ($points % $modSettings['karmaBarPower'])) / $modSettings['karmaBarPower'];
$bars = ($points - ($points % $modSettings['karmaBarPoints'])) / $modSettings['karmaBarPoints'];
$bars = $bars == 0 ? 1 : $bars;
$bars = ($bars > $modSettings['karmaMaxBars']) ? $modSettings['karmaMaxBars'] : $bars;
$descriptions = preg_split("/(\r)?\n/", $modSettings['karmaDescriptions']);
$description = $descriptions[$bars - 1];


Why is it throwing errors?
Title: Re: Advanced Reputation System
Post by: _Anthony_ on May 05, 2008, 01:50:51 AM
Is this for smf1 yet?
Title: Re: Advanced Reputation System
Post by: Ashu on May 05, 2008, 05:48:38 AM
is there any version of this mod which work with smf 1.1.4???
Title: Re: Advanced Reputation System
Post by: Jade Elizabeth on May 05, 2008, 07:13:58 AM
Quote from: MrMoney on May 05, 2008, 01:50:51 AM
Is this for smf1 yet?
Quote from: Ashu on May 05, 2008, 05:48:38 AM
is there any version of this mod which work with smf 1.1.4???

Come on guys, read the topic. The first post here complains because it isn't done yet.
Title: Re: Advanced Reputation System
Post by: Ashu on May 05, 2008, 08:04:51 AM
Quote from: Alundra on May 05, 2008, 07:13:58 AM
Quote from: MrMoney on May 05, 2008, 01:50:51 AM
Is this for smf1 yet?
Quote from: Ashu on May 05, 2008, 05:48:38 AM
is there any version of this mod which work with smf 1.1.4???
sorry but i was just asking....and i don't think after reading this thread that yoda will do it for 1.1.X versions...so i think i"ll update my forum after 2.0 release final version :)

anyways nice work there buddy...keep up the good work...

Come on guys, read the topic. The first post here complains because it isn't done yet.
Title: Re: Advanced Reputation System
Post by: 2pac on May 05, 2008, 08:42:44 AM
Im trying to do it so that each member gets 1 "rep power" for each point they get, but for some reason every time i "agree" with some one, they get 6 points instead of 1.


i set the # of points per post and thread to zero 'cause that kinda defeats the purpose of having negative rep when you can easily post your way out of it.


can you help me? how can i do 1 "rep power" for each agreement or -1  for each disagreement?
Title: Re: Advanced Reputation System
Post by: Jade Elizabeth on May 05, 2008, 08:50:33 AM
Quote from: 2pac on May 05, 2008, 08:42:44 AM
Im trying to do it so that each member gets 1 "rep power" for each point they get, but for some reason every time i "agree" with some one, they get 6 points instead of 1.

One of my members also claimed to have had such a boost, but we tried to replicate it and failed.
Title: Re: Advanced Reputation System
Post by: Fustrate on May 05, 2008, 03:03:22 PM
2pac: what is your personal rep power? As it stands, the giver's reputation is taken into account when rep is given, so I'm guessing yours starts with a 6... am I correct?

and you need to set "Users get +1 "reputation power" per how many points? Default 100." to 1.
Title: Re: Advanced Reputation System
Post by: THE BRA1N on May 06, 2008, 03:56:55 AM
Can anyone tell me why the comment box is transparent and what I have to do to fix it?  ???

(http://img80.imageshack.us/img80/5600/69343015vt7.jpg)

Also, how i can edit out the "what you think of this post" question?
Title: Re: Advanced Reputation System
Post by: 2pac on May 06, 2008, 06:47:09 PM
So how can i get a top 10 rep stat going like this pic?

http://img151.imageshack.us/img151/6402/stajp4.jpg
Title: Re: Advanced Reputation System
Post by: Fustrate on May 06, 2008, 07:29:56 PM
If you could tell me what those titles translate to, I can certainly work on it :)

and to the transparency issue... does your theme's style.css have .windowbg2 and .bordercolor in it?
Title: Re: Advanced Reputation System
Post by: 2pac on May 06, 2008, 07:57:05 PM
Quote from: YodaOfDarkness on May 06, 2008, 07:29:56 PM
If you could tell me what those titles translate to, I can certainly work on it :)

and to the transparency issue... does your theme's style.css have .windowbg2 and .bordercolor in it?

oh im not sure, i just found that pic in another post and thought it would be cool to add rep to stats similar to how it appears


NameRep bar hereRep power

im just talking about the reputation stats, i dont care about the other ones the pic show.
Title: Re: Advanced Reputation System
Post by: Jade Elizabeth on May 06, 2008, 09:11:19 PM
Quote from: Alundra on May 04, 2008, 09:01:49 PM
I'm getting a lot of undefined offsets...

8: Undefined offset: 9
Apply Filter: Only show the errors from this file
File: /home/jade/public_html/forums/Sources/Load.php
Line: 1095


I have 10 and 11 as well as 9..dunno if that matters.

Last line being the issue:
// If they are in the positives, and want it displayed
if(!$profile['karma_disabled'] && ($profile['karma_good'] >= $profile['karma_bad'])){

$points = $profile['karma_good'] - $profile['karma_bad'];
$power = ($points - ($points % $modSettings['karmaBarPower'])) / $modSettings['karmaBarPower'];
$bars = ($points - ($points % $modSettings['karmaBarPoints'])) / $modSettings['karmaBarPoints'];
$bars = $bars == 0 ? 1 : $bars;
$bars = ($bars > $modSettings['karmaMaxBars']) ? $modSettings['karmaMaxBars'] : $bars;
$descriptions = preg_split("/(\r)?\n/", $modSettings['karmaDescriptions']);
$description = $descriptions[$bars - 1];


Why is it throwing errors?
Title: Re: Advanced Reputation System
Post by: Fustrate on May 06, 2008, 10:13:15 PM
Have you changed how many reputation bars they can get? If so, you need to have the exact same number of lines in the rep descriptions box as the number of rep bars they can get. If not, add the following right after that last line...

$rep_debug_file = fopen('reputation_debug.txt', 'w');
$rep_debug_text = $modSettings['karmaDescriptions'] . "\n\n" . print_r($descriptions, true) . "\n\n" . $bars;
fwrite($rep_debug_file, $rep_debug_text);
fclose($rep_debug_file);


and then, once you can recreate that error, go to /Sources/reputation_debug.txt and tell me what it says there... I'm not sure if the code I just wrote is correct... and looking back over the block you pasted, I'm not sure if that's correct either... I'll look at that some more.
Title: Re: Advanced Reputation System
Post by: THE BRA1N on May 06, 2008, 10:25:52 PM
Quote from: YodaOfDarkness on May 06, 2008, 07:29:56 PM
and to the transparency issue... does your theme's style.css have .windowbg2 and .bordercolor in it?

This is what it has..

.windowbg2 {
padding: 5px;
border-bottom: 2px solid #1a1a1a;
}



/* This is used for tables that have a grid/border background color (such as the topic listing.) */
.bordercolor {
}



Title: Re: Advanced Reputation System
Post by: Jade Elizabeth on May 06, 2008, 11:37:32 PM
Quote from: YodaOfDarkness on May 06, 2008, 10:13:15 PM
Have you changed how many reputation bars they can get? If so, you need to have the exact same number of lines in the rep descriptions box as the number of rep bars they can get. If not, add the following right after that last line...

$rep_debug_file = fopen('reputation_debug.txt', 'w');
$rep_debug_text = $modSettings['karmaDescriptions'] . "\n\n" . print_r($descriptions, true) . "\n\n" . $bars;
fwrite($rep_debug_file, $rep_debug_text);
fclose($rep_debug_file);


and then, once you can recreate that error, go to /Sources/reputation_debug.txt and tell me what it says there... I'm not sure if the code I just wrote is correct... and looking back over the block you pasted, I'm not sure if that's correct either... I'll look at that some more.

Ahh! That was it...I was three descriptions short :-[

I think maybe it would be a good idea in future, to make the mod warn you if you're short, so noobs like me dont flip out over errors :D
Title: Re: Advanced Reputation System
Post by: Fustrate on May 07, 2008, 09:22:01 PM
Alundra: I'll look into coding that in.

THE BRA1N: that explains it ;) can I get a link to your site? I can tell you what to change if I can see the rest of the theme.
Title: Re: Advanced Reputation System
Post by: Pleek on May 07, 2008, 10:14:42 PM
1.1.4????????? Its been a week. How long till this laptop gets fixed?

(sry just wondering)
Title: Re: Advanced Reputation System
Post by: Jade Elizabeth on May 07, 2008, 11:18:15 PM
Sometimes things take time Pleek, everyone constantly asking is going to make this topic longer, making it harder for people to find answers, and annoy/upset Yoda. Asking is not going to fix the laptop, nor will it produce what you want; we just have to sit tight and be patient :D.

It took me 3 months to get my puter fixed, and in the end I bought a new one lol.
Title: Re: Advanced Reputation System
Post by: THE BRA1N on May 08, 2008, 01:50:10 AM
Quote from: YodaOfDarkness on May 07, 2008, 09:22:01 PM
Alundra: I'll look into coding that in.

THE BRA1N: that explains it ;) can I get a link to your site? I can tell you what to change if I can see the rest of the theme.

http://www.flamechampsnetwork.com/forum/

Thanks. The default theme is DarkBreak by DzinerStudio.
Title: Re: Advanced Reputation System
Post by: Fustrate on May 08, 2008, 10:05:58 PM
Put this in .bordercolor {

.bordercolor {
background-color: #252525;
}
Title: Re: Advanced Reputation System
Post by: THE BRA1N on May 09, 2008, 12:54:13 AM
Quote from: YodaOfDarkness on May 08, 2008, 10:05:58 PM
Put this in .bordercolor {

.bordercolor {
background-color: #252525;
}


Nope, still the same. Youre talking about the style.css, right?
Title: Re: Advanced Reputation System
Post by: Fustrate on May 11, 2008, 12:41:44 PM
yup, that should have fixed it. I'll go look at it right now, see if I can come up with anything. (I apologize for this late response, but I've been terribly sick the last few days...)
Title: Re: Advanced Reputation System
Post by: Kirschnik on May 16, 2008, 03:57:52 PM
Quote from: YodaOfDarkness on April 25, 2008, 03:10:15 PM
White space: Did the appropriate changes get made at the end of that theme's style.css?


Yes, any other Idea?
Title: Re: Advanced Reputation System
Post by: _Anthony_ on May 16, 2008, 11:51:23 PM
Quote from: YodaOfDarkness on May 11, 2008, 12:41:44 PM
yup, that should have fixed it. I'll go look at it right now, see if I can come up with anything. (I apologize for this late response, but I've been terribly sick the last few days...)
Me too.
I doubt the guy has actually downgraded it.
It never takes this long to fix a laptop.
He is a moparscapien.
If you don't know what that is browse http://moparscape.org/smf
All that is there is liars/leechers.
Although I hope it actually is downgraded for the people who need it
Title: Re: Advanced Reputation System
Post by: Fustrate on May 17, 2008, 02:27:20 AM
bra1n: try putting that line into .windowbg2

mrmoney: well, we can hope. and there was that story not too long ago about bestbuy losing a woman's laptop for a few months, so it can happen...
Title: Re: Advanced Reputation System
Post by: _Anthony_ on May 17, 2008, 12:31:16 PM
Yep Yoda but I doubt he actually did it. I have seen his private server and the quality is so poor. The code doesn't even follow java conventions. If he did it is probably going to have like half the features. Oh well all we can do is hope
Title: Re: Advanced Reputation System
Post by: THE BRA1N on May 17, 2008, 02:51:51 PM
Quote from: YodaOfDarkness on May 17, 2008, 02:27:20 AM
bra1n: try putting that line into .windowbg2

That fixed it for the most part. You can still see a small bit through it in some parts but it's much better. Thanks.
Title: Re: Advanced Reputation System
Post by: Pratt on May 22, 2008, 02:31:58 PM
Hi! Great Mod!

I have a question though, Is there a way to set the reputation so that it does not depend on the giver's reputation? Or a way to control that rate?
And also, is there a global log where admins or users can see recent reputations given and the reasons?
Title: Re: Advanced Reputation System
Post by: 2pac on May 24, 2008, 01:31:14 AM
Hey I love this mod!

But I have a question...

I currently have it set up like this:

(http://i27.tinypic.com/2n744eb.gif)

The box pops out towards the right side, towards the outside edge of my board.

I would like it to pop out like this instead:

(http://i25.tinypic.com/35m2rfc.gif)

How can I get that done?

All the coding is the same, except instead of an image, Im using a button, and I just moved the location of it from the avatar section to the upper right corner of the post. But the rest of the coding is exactly the same.
Title: Re: Advanced Reputation System
Post by: _Anthony_ on May 24, 2008, 03:08:57 AM
Can't you just flip the box?
Title: Re: Advanced Reputation System
Post by: 2pac on May 24, 2008, 06:52:10 AM
Quote from: MrMoney on May 24, 2008, 03:08:57 AM
Can't you just flip the box?

umm... im not sure how
Title: Re: Advanced Reputation System
Post by: _Anthony_ on May 24, 2008, 01:00:20 PM
Explore the install.xml package.
That is how I added stars.
Once you get 400 rep power to get a star instead on those bars.
THen it adds on more bars till you get another star
Title: Re: Advanced Reputation System
Post by: Fustrate on May 24, 2008, 01:45:38 PM
it has to do with the javascript, but I can't look at the files to help you until I get home.
Title: Re: Advanced Reputation System
Post by: 2pac on May 26, 2008, 12:40:59 PM
yeah, whenever you have a chance that'd be great :)
Title: Re: Advanced Reputation System
Post by: Fustrate on May 26, 2008, 04:26:00 PM
Mkay, go into script.js in your theme and find this line:
rep_box.style.left = rep_box.x + "px"
and change it to
rep_box.style.left = rep_box.x - 300 + "px"
where 300 is the width of the box (if I recall, that's the default - just mess with it until it's right)
Title: Re: Advanced Reputation System
Post by: 2pac on May 27, 2008, 12:06:13 AM
awesome! thank you for such a great mod!
Title: Re: Advanced Reputation System
Post by: Inside Sin on May 27, 2008, 08:06:19 AM
Does this work with 1.1.4/.5 ?
Title: Re: Advanced Reputation System
Post by: _Anthony_ on May 28, 2008, 12:33:28 AM
Not unless you downgrade it sin
Title: Re: Advanced Reputation System
Post by: spearfish on May 28, 2008, 12:55:58 AM
This looks awesome!  Great job!

I can't wait to try it out.... maybe tonight.
Title: Re: Advanced Reputation System
Post by: Inside Sin on May 28, 2008, 08:20:43 AM
Quote from: MrMoney on May 28, 2008, 12:33:28 AM
Not unless you downgrade it sin

Downgrade what?
Title: Re: Advanced Reputation System
Post by: improv on May 28, 2008, 11:20:10 AM
The version has to be downgraded (from 2.0.x to 1.1.x).
Someone actually did it in his point of believe,
but I don't have much faith in it since he didn't posted for a long time.
Title: Re: Advanced Reputation System
Post by: OblivionMage on May 28, 2008, 01:37:46 PM
Apparently he did it on a laptop but then the laptop broke with all of the files on it.
Title: Re: Advanced Reputation System
Post by: improv on May 28, 2008, 01:41:49 PM
That's would be pretty obvious when you'd be testing it on an online server.
Title: Re: Advanced Reputation System
Post by: spearfish on May 28, 2008, 04:07:36 PM
You have a point, but remember: Laptops can be servers too, not to mention he could have had PHP and MySQL installed so he wouldn't even need to put it live on a server.
Title: Re: Advanced Reputation System
Post by: Pleek on May 28, 2008, 05:05:51 PM
lol, i say he thought he had it working. But when he looked through it again or tested it again, he found out he messed it up badly. Sense he must not of known what he was doing, he made up and en excuse why he didn't have the files ready.
Title: Re: Advanced Reputation System
Post by: Eliana Tamerin on May 28, 2008, 06:07:42 PM
Or maybe his laptop just physically broke and his manufacturer is being their typical slow selves in repairing it?
Title: Re: Advanced Reputation System
Post by: Pleek on May 28, 2008, 07:17:47 PM
could be, but prob not.
Title: Re: Advanced Reputation System
Post by: Eliana Tamerin on May 28, 2008, 08:35:30 PM
Why don't we continue to wait instead of speaking disrespectfully about someone? I know if I were the person making the 1.1.x mod, and I came back to read that people were speculating that I was just giving excuses when my computer really had broken, I wouldn't want to release the mod any longer. Losing his respect is not something we want to do.
Title: Re: Advanced Reputation System
Post by: Chad on May 28, 2008, 09:19:09 PM
Quote from: Astondb5 on March 27, 2008, 09:39:43 AM
Some of my users are having a problem with this Mod when using Safari web browser.....when you click the heart there is no popup.  Works fine in IE7 and IE8 but not Safari

Same here, Firefox 3 Beta 5.  Pop-ups never pop up thus Reputation given with no comments...

When I click the heart the status bar shows "Transferring Data from i.ytimg.com..." forever.
Title: Re: Advanced Reputation System
Post by: Chad on May 28, 2008, 09:33:11 PM
Advanced Rep only seems to work in Internet Explorer due to the pop-up box. :(
Title: Re: Advanced Reputation System
Post by: erlend_sh on May 29, 2008, 08:02:21 AM
Quote from: Chad on May 28, 2008, 09:33:11 PM
Advanced Rep only seems to work in Internet Explorer due to the pop-up box. :(
Really? It always worked fine for me back in the days when me and YoD were testing it, and I'm always on Opera. Haven't tested it in quite some time now though, and I see on the changelog that there's been some drastic changes to the way certain things are done, pop-up box included.

If someone could link to their site on which they're using this system, it would be much more convenient for the rest of us to at least see its functionality. Ideally of course YoD would set up an open test-page where we could test the moderation-part and everything...
Title: Re: Advanced Reputation System
Post by: wrek on May 29, 2008, 08:08:19 AM
http://www.aviary.info

It works in Firefox 2.0.0.14 on Windows XP
Doesn't work on Firefox 3 Beta 5 on Kubuntu Linux
Title: Re: Advanced Reputation System
Post by: Pleek on May 31, 2008, 02:34:26 PM
ok, sry. I just was really excited about it and them, bam no mod release. I guess ill just wait for his laptop to get fixed. And thanks every one who has put time into this mod. :)
Title: Re: Advanced Reputation System
Post by: protonxl on June 06, 2008, 12:41:28 PM
so theres no way to get it running on SMF 1.1.5... ?
nobody has gotten a chance to edit the files and make it work ?
Title: Re: Advanced Reputation System
Post by: chifliiiii on June 11, 2008, 03:59:49 PM
I have a question /request before i isntall this mod. Basically im creating a support forum and i want to be able to give points to the people that more help. And i want to be the guy who created the thread to be the one that gives point to the guy that posted the best solution ( or the moderator in case the creator of the thread dont give points).

Is this otion available on this mod? Is there any chance to implement it? Thanks in advance


Btw if you give me the plain text i can translate it into spanish.
Title: Re: Advanced Reputation System
Post by: spearfish on June 11, 2008, 04:14:24 PM
Sorry, AFAIK (As far as I know), that is not possible.... good idea though, I'm sure Yoda will consider that.
Title: Re: Advanced Reputation System
Post by: lepard on June 19, 2008, 11:50:15 AM
 Installation failed.

2. Execute Modification ./Themes/default/Display.template.php Test failed
  1. Replace ./Themes/default/Display.template.php Test  failed

SMF 2.0 Beta 3.1 Public

Title: Re: Advanced Reputation System
Post by: Jedi_Amara on July 01, 2008, 01:55:51 PM
I'm having some problems with the mod on 3.1 Beta Public. I get the "Please spread the love before giving it to this user again." error when trying to rep another member, it's set to 3 people between repping the same person and I've repped 5 other people since then.
Title: Re: Advanced Reputation System
Post by: Fustrate on July 01, 2008, 04:44:41 PM
I haven't had time to test this on 3.1, but give me about 4 more hours and I'll be able to. Vacation, work, etc. just keep bogging down my days :D

and I'm again working on revising the popup code... it's some pretty tricky stuff, so I'm making sure to test all options before going with one. Another option is to just use a popup window like the pm area uses, but I'd rather not resort to that.
Title: Re: Advanced Reputation System
Post by: LOLwut on July 01, 2008, 08:51:58 PM
Wait, are those images taken DIRECTLY from the Vbulleting Forum??
Title: Re: Advanced Reputation System
Post by: Fustrate on July 01, 2008, 10:22:46 PM
No, I drew them in MS Paint. Copy/paste them into any image editing program and compare ;)
Title: Re: Advanced Reputation System
Post by: LOLwut on July 01, 2008, 11:15:45 PM
sick! and a newer version should be out soon right? Im not gonna lie, this is ACTUALLY going to get my site alive again
Title: Re: Advanced Reputation System
Post by: L.G.S on July 02, 2008, 11:53:53 AM
I installed it no problems, but I have this small fault:

http://www.ruthlessintent.com/board/news-and-events/tv/

On the default theme everything is okay, but on my custom theme (which only uses a custom index.template.php file) there is a huge gap between the menu and the topic.

I don't know why it's doing it because as I said, the only custom file I use isn't changed by the mod.
Title: Re: Advanced Reputation System
Post by: Fustrate on July 02, 2008, 12:49:38 PM
in style.css add this line to reputation_menu {:
display: none;

might have to change script.js too, if it doesn't pop up after that. In http://www.ruthlessintent.com/board/Themes/default/scripts/script.js search for function showhide and change it to...
function showhide(obj, e){
rep_box.style.left = rep_box.style.top = -500
rep_box.widthobj = rep_box.style
rep_box.widthobj.width = '300px'
if (obj.visibility == "visible"){
obj.visibility = "hidden"
obj.display = "none"
} else {
obj.visibility = "visible"
obj.display = "block"
}
}
Title: Re: Advanced Reputation System
Post by: jepot5 on July 13, 2008, 11:37:29 PM
is it hard to impart a part of this mod for 1.1.5 to make comment optional and giving karma to the same post only once?
Title: Re: Advanced Reputation System
Post by: Fustrate on July 14, 2008, 12:45:20 AM
I'm not quite sure, as I haven't looked into the Karma.php file for 1.1.x. Shouldn't be too hard, I actually think there's a karma comment mod out there.

I myself will only do work on this mod for 2.0 and onwards. Since 2.0 will soon be the main release of SMF, I just don't see the value of rewriting an entire mod for a version that is going to be obsolete in a few months.
Title: Re: Advanced Reputation System
Post by: improv on July 14, 2008, 09:30:38 AM
Hmm yes,
http://custom.simplemachines.org/mods/index.php?mod=192
This mod allows people to give a reason why they change the karma of any user.
Title: Re: Advanced Reputation System
Post by: JaredMarino on July 14, 2008, 03:20:10 PM
Hey Yoda,

We are running SMF 2.0 with the theme Orangeline by Crip. The mod works great, but for some reason the pop-up box to add or subtract reputation never appears.

I have tried alot of things in this thread but nothing worked. It sounds like a javascript problem. It works perfect on the default theme, just for some reason orangeline isn't doing it...

Thanks for your help.

Teccom747
Title: Re: Advanced Reputation System
Post by: Fustrate on July 14, 2008, 08:44:43 PM
As a guest on your forum, I'm able to click the heart and the box appears. Is it possible to send me a copy of your Display.template.php file so I can see if you've got a reverse logic problem?
Title: Re: Advanced Reputation System
Post by: JaredMarino on July 14, 2008, 08:47:18 PM
Oh i apologize! We actually got it to work.

Something wrong in the index.template.php...

Thank you anyway!
Title: Re: Advanced Reputation System
Post by: Fustrate on July 14, 2008, 08:51:22 PM
Glad to hear you fixed it ;)
Title: Re: Advanced Reputation System
Post by: jepot5 on July 14, 2008, 11:10:05 PM
Quote from: Xarwin on July 14, 2008, 09:30:38 AM
Hmm yes,
http://custom.simplemachines.org/mods/index.php?mod=192
This mod allows people to give a reason why they change the karma of any user.

i am using that
but what i want is
Title: Re: Advanced Reputation System
Post by: Eliana Tamerin on July 15, 2008, 12:57:58 AM
jepot5, this topic is for discussion and support of the Advanced Reputation System mod. Please start a new discussion for your mod request. Feel free to link this topic/mod or any other mods you feel necessary to explain your post, but please do not continue the discussion of your request in this topic. Thanks.
Title: Re: Advanced Reputation System
Post by: jepot5 on July 15, 2008, 05:14:03 AM
ok sorry
Title: Re: Advanced Reputation System
Post by: darkacex on July 17, 2008, 11:57:01 AM
I really wish to use this for my forum but it doesn't work with my smf 1.5 for some reason.

it says "The package you are trying to download or install is either corrupt or not compatible with this version of SMF."
Title: Re: Advanced Reputation System
Post by: Eliana Tamerin on July 17, 2008, 03:08:35 PM
That's because it's for SMF 2.0 only. You'll have to upgrade to use this mod.
Title: Re: Advanced Reputation System
Post by: rafter on July 17, 2008, 04:43:41 PM
Make this 1.1.5 please. I would download it if it was 1.1.5.
Title: Re: Advanced Reputation System
Post by: erlend_sh on July 17, 2008, 05:47:49 PM
Check YOD's sig... He's a busy man, just like the rest of us. People should instead be encouraged to upgrade to 2.0 when the stable version is out.
Title: Re: Advanced Reputation System
Post by: Eliana Tamerin on July 17, 2008, 07:02:16 PM
YodaofDarkness has already said that he will not backport this mod to SMF 1.1.5. You'll just have to upgrade to SMF 2.0 Beta, or wait until SMF 2.0 is in a more stable version to use this mod.
Title: Re: Advanced Reputation System
Post by: darkacex on July 17, 2008, 09:02:44 PM
well if i upgrade to v2.0 then i won't be able to sue some of my other mods from before.
Title: Re: Advanced Reputation System
Post by: darkacex on July 18, 2008, 01:22:19 PM
*use
Title: Re: Advanced Reputation System
Post by: Fustrate on July 18, 2008, 01:53:07 PM
I'll try to address this issue as best as I can in this post...

If you look at any of the source files for SMF 1.1.5 versus SMF 2.0, you'll see that a whole lot of the code is different. It took me a few weeks to code the rep system because I had to learn the ins and outs of 2.0's coding. I've yet to actually learn in depth how the 1.1.x line is coded, and it would probably take me another month or two to learn and downgrade the mod.

Seeing as I've now taken over development on two other popular mods (karlbenson's referrals, and JayBachatero's awards) which both support 1.1.x and 2.0, I've already got 5 versions of mods to keep up with. Adding a 1.1.x version of the A.R.S. would bump that up to 6, and I've still got work to do on all of the other ones. I'm not going to neglect the ones that have already been released so that I can work on a mod for something that will become obsolete within a few months as we move on to 2.0.

Lastly, having the rep system as a 2.0-only mod will encourage people to upgrade to 2.0, which is a good thing for SMF in general. The more people who switch to 2.0, the less the devs/community have to support two versions at once. The A.R.S. is just one more thing to look forward to for those who might make the jump ;)
Title: Re: Advanced Reputation System
Post by: MaNaRa on July 24, 2008, 10:33:25 PM
Hi, as I can translate the mod to the Spanish language? does some translation exist?
Title: Re: Advanced Reputation System
Post by: Fustrate on July 24, 2008, 10:50:03 PM
I've received these two translations for Spanish - if you could make sure everything is correct, it'd be greatly appreciated :)
Title: Re: Advanced Reputation System
Post by: MaNaRa on July 25, 2008, 12:00:47 AM
thank you very match yoda!!!
Title: Re: Advanced Reputation System
Post by: X3mE on July 27, 2008, 02:24:51 PM
Great plugin, but I have a problem... My users are telling me they don't see the "heart button". I've checked, and yes - only the admins see that button. Any ideas why?
Title: Re: Advanced Reputation System
Post by: Fustrate on July 27, 2008, 03:47:15 PM
Make sure you give your regular members karma permissions in the Permissions page.
Title: Re: Advanced Reputation System
Post by: X3mE on July 27, 2008, 07:46:33 PM
Aaargh... Thanks, I didnt see the "Can +reputation" and "Can -reputation" options at first...
Title: Re: Advanced Reputation System
Post by: Pratt on July 30, 2008, 06:37:09 PM
Hi!

I just found out, that if you give reputation and then hit the "back" button on your browser, you can send reputation agian and again and again for the same post. Even though I have set up a Max Karma per Day or without spreading the love :(

Is there a way to fix this?
Title: Re: Advanced Reputation System
Post by: Fustrate on July 30, 2008, 07:09:00 PM
It'll show the button, yes, but it won't repeatedly give rep. It's just that going back to a page usually retrieves it from your browser's cache - when it remembered a heart icon being there.

Besides forcing a no-cache in the headers (which will eat up more bandwidth), there's really no way to stop it from appearing. Anyways, every time the little form is submitted it goes through a series of checks, which will fail if you try to give rep again.
Title: Re: Advanced Reputation System
Post by: tk2012 on July 31, 2008, 02:19:36 AM
I'm putting this on my list of must-dos!  You did a great job with the Awards Mod that I'm already sold that this one will be just what I need!  I don't go live with my 2.0 site until September, so I'm going to wait another day or two.

I do have a question though.  On my 1.1.5 forum a group of members decided to gang up on one of my members one day.  They all started giving this one person negative karma, would wait the required time, and then give more negative karma.  Is there anything in this mod that would put a "daily cap" on the amount of negative or even positive karma a person can receive in one day?
Title: Re: Advanced Reputation System
Post by: Fustrate on July 31, 2008, 02:21:46 AM
No, but if you see that kind of behavior you can individually revoke their permission to give -rep.

That actually wouldn't be too hard to write... I'll post that pretty soon.
Title: Re: Advanced Reputation System
Post by: tk2012 on July 31, 2008, 02:43:47 AM
BTW- I read the entire 12 pages here and by page 4 I think I was about to scream if anyone else asked if you were going to make it backwards compatible to 1.1.4  I have to hand it to you and the other customizers out there.  I would NOT have the patience to answer the same question over and over and over when the answer is posted for them already.  My hats off to you!  (Needless to say, I was screaming at them for you from page #5 til the end.  >:(  )
Title: Re: Advanced Reputation System
Post by: Eliana Tamerin on July 31, 2008, 10:19:35 AM
And that's why I put my intentions for a 2.0 version in big huge bolded letters in the readme of my mod. I've only had two questions in four pages of support. :P

Yoda is pretty patient, and he's got a pretty good mod here. I look forward to the next version of it (hint, hint ;)).
Title: Re: Advanced Reputation System
Post by: tk2012 on July 31, 2008, 03:14:57 PM
Ok, I just installed this one and received one error.  It was the 4th edit for the Display.template.php.  I installed anyway and then went back in and did the edit myself.

I have the admin functions and filled them out how I wanted them.  I was already signed in as my Admin account and went ahead and found my test thread and scrolled the thread.  I see everything that you show here on the TESTaccount name I made:  http://custom.simplemachines.org/mods/index.php?action=download;mod=1129;id=51744;image

The only problem is.. I have a big empty space at the top of my page between the TOP NAV BAR and the THREAD TREE.  When I click on the HEART to give Rep to the TESTaccount name, it automatically diverts me to this empty space....  I've attached my Display.template.php file just in case I did the edit incorrectly.  It looked like the other edits in this file were correct. 

I'm going to go back now and check all the other edits that should have been made automatically.

I'm running this on v2.0 b3.1

And the space is only there when I am in an actual topic reading.  It is not present when looking at a board or on viewing home.  Only when reading one individual topic.




Just a suggestion to anyone new like me who doesn't realize this.  You will not find a ?> in a .js file.  If you are in a .js file and it is telling you to look for a ?> in order to do the next step... it just means go to end of file! (Then, add the code after the last entry.)




I've attached the file in question.  I went back thru ALL the files including the css and js files to see if all the edits were completed.  Everything matches up. 
Title: Re: Advanced Reputation System
Post by: Fustrate on July 31, 2008, 04:37:17 PM
Refer to this post: http://www.simplemachines.org/community/index.php?topic=230676.msg1599795#msg1599795
Title: Re: Advanced Reputation System
Post by: tk2012 on July 31, 2008, 04:41:07 PM
will do...

But, it started to work on its own?!????   I had cleared cache before and it didn't work.. this time I did the CTRL F5 on the page and the space went away and when I hit the heart, the popup appeared.... I was on FF3.0

So, I signed in under the TESTaccount on IE7 and I don't see any heart.. I'll recheck my permissions though just in case it isn't turned on for that group...



And.. I'll do that edit
Title: Re: Advanced Reputation System
Post by: tk2012 on July 31, 2008, 04:51:22 PM
sorry for the question...

do I add the display: none; line on the next line or after the last line which is z-index:100;
Title: Re: Advanced Reputation System
Post by: Fustrate on July 31, 2008, 05:00:38 PM
Doesn't matter, as long as it's between the { and }
Title: Re: Advanced Reputation System
Post by: tk2012 on July 31, 2008, 05:09:38 PM
Thanks for your time!

It looks to be working.  I see the increase when I post, but I didn't notice an increase when I actually used the heart to give some on the other account.  Will let you know if I have any recognizable problem.  Will need to check it again


THANKS MUCH!
Title: Re: Advanced Reputation System
Post by: tk2012 on July 31, 2008, 05:18:15 PM
This is where I am confused...

In order to test, I made the admin settings to no wait in time and to not have to give rep to other people before giving it again to the same person.

The TESTACCOUNT had three rep, so under the Admin I hit the heart and gave the TESTaccount an approval which should have brought the account to 4, no?  Because it still shows three.

I did the same thing switching accounts and the Admin had 2 and still had 2 after clicking the heart and doing the same approval.

Is that not supposed to add rep?
Title: Re: Advanced Reputation System
Post by: axlarry on August 01, 2008, 04:36:00 PM
I'd really like to use this mod and upgrade my forum to 2.0. The problem is I'm also using TP which is not ready for smf 2.0.
Well, I guess I'll have to wait now *sigh. Great mod!
Title: Re: Advanced Reputation System
Post by: lepard on August 01, 2008, 05:33:20 PM
Any help?

Quote from: lepard on June 19, 2008, 11:50:15 AM
Installation failed.

2. Execute Modification ./Themes/default/Display.template.php Test failed
  1. Replace ./Themes/default/Display.template.php Test  failed

SMF 2.0 Beta 3.1 Public


Title: Re: Advanced Reputation System
Post by: Fustrate on August 01, 2008, 05:54:27 PM
Quote from: tk2012 on July 31, 2008, 05:18:15 PM
This is where I am confused...

In order to test, I made the admin settings to no wait in time and to not have to give rep to other people before giving it again to the same person.

The TESTACCOUNT had three rep, so under the Admin I hit the heart and gave the TESTaccount an approval which should have brought the account to 4, no?  Because it still shows three.

I did the same thing switching accounts and the Admin had 2 and still had 2 after clicking the heart and doing the same approval.

Is that not supposed to add rep?

It's kind of hard to explain... by default, you have to have a rep power of 100 to affect someone else's rep power. If you go into your other account's profile, you will see that their rep points have gone up by however much rep power you have.

lepard:
Find this in Display.template.php:
<a name="top"></a>
and add this after:
<span id="reputation_menu" style="visibility: hidden;">
<table class="bordercolor" cellpadding="4" cellspacing="1" style="width: 100%;">
<tr class="titlebg">
<td height="22">', $txt['karma_title'], '</td>
</tr>
<tr class="catbg">
<td height="22">', $txt['karma_add_to'], ': <span id="reputation_name">&nbsp;</span></td>
</tr>
<tr class="windowbg2">
<td>
<fieldset>
<legend>', $txt['karma_your_opinion'], '</legend>
<form name="reputation_form" action="', $scripturl, '?action=modifykarma" method="post" accept-charset="', $context['character_set'], '" class="reputation_form">';
if($context['can_pos_rep'] && $context['can_neg_rep'])
echo '
<input type="radio" name="type" value="agree" checked="checked" /> ' . $txt['karma_agree'] . '<br />
<input type="radio" name="type" value="disagree" /> ' . $txt['karma_disagree'] . '<br />';
else if($context['can_neg_rep'])
echo '
<input type="radio" name="type" value="disagree" checked="checked" /> ' . $txt['karma_disagree'] . '<br />';
else
echo '
<input type="radio" name="type" value="agree" checked="checked" /> ' . $txt['karma_agree'] . '<br />';
echo '
<span id="reputation_fields">&nbsp;</span>
<br />
', $txt['comment'], ': <input type="text" name="reputation_comment" /><br />
<br />
<input type="submit" value="', $txt['submit'], '" />
<input type="hidden" name="topic" value="', $context['current_topic'], '.', $context['start'], '" />
<input type="hidden" name="sc" value="', $context['session_id'], '" />
</form>
</fieldset>
</td>
</tr>
</table>
</span>
Title: Re: Advanced Reputation System
Post by: lepard on August 01, 2008, 11:40:41 PM
Ok, it is installed and when I go to give another person reputation, I get this, "Notice: Undefined index: uid in /smf/Sources/Karma.php on line 230
"
Then it says below that I can't modify my own reputation. Wasn't trying to..

Thanks in advance for your help. Sorry I am an smf novice..



Quote from: YodaOfDarkness on August 01, 2008, 05:54:27 PM
Quote from: tk2012 on July 31, 2008, 05:18:15 PM
This is where I am confused...

In order to test, I made the admin settings to no wait in time and to not have to give rep to other people before giving it again to the same person.

The TESTACCOUNT had three rep, so under the Admin I hit the heart and gave the TESTaccount an approval which should have brought the account to 4, no?  Because it still shows three.

I did the same thing switching accounts and the Admin had 2 and still had 2 after clicking the heart and doing the same approval.

Is that not supposed to add rep?

It's kind of hard to explain... by default, you have to have a rep power of 100 to affect someone else's rep power. If you go into your other account's profile, you will see that their rep points have gone up by however much rep power you have.

lepard:
Find this in Display.template.php:
<a name="top"></a>
and add this after:
<span id="reputation_menu" style="visibility: hidden;">
<table class="bordercolor" cellpadding="4" cellspacing="1" style="width: 100%;">
<tr class="titlebg">
<td height="22">', $txt['karma_title'], '</td>
</tr>
<tr class="catbg">
<td height="22">', $txt['karma_add_to'], ': <span id="reputation_name">&nbsp;</span></td>
</tr>
<tr class="windowbg2">
<td>
<fieldset>
<legend>', $txt['karma_your_opinion'], '</legend>
<form name="reputation_form" action="', $scripturl, '?action=modifykarma" method="post" accept-charset="', $context['character_set'], '" class="reputation_form">';
if($context['can_pos_rep'] && $context['can_neg_rep'])
echo '
<input type="radio" name="type" value="agree" checked="checked" /> ' . $txt['karma_agree'] . '<br />
<input type="radio" name="type" value="disagree" /> ' . $txt['karma_disagree'] . '<br />';
else if($context['can_neg_rep'])
echo '
<input type="radio" name="type" value="disagree" checked="checked" /> ' . $txt['karma_disagree'] . '<br />';
else
echo '
<input type="radio" name="type" value="agree" checked="checked" /> ' . $txt['karma_agree'] . '<br />';
echo '
<span id="reputation_fields">&nbsp;</span>
<br />
', $txt['comment'], ': <input type="text" name="reputation_comment" /><br />
<br />
<input type="submit" value="', $txt['submit'], '" />
<input type="hidden" name="topic" value="', $context['current_topic'], '.', $context['start'], '" />
<input type="hidden" name="sc" value="', $context['session_id'], '" />
</form>
</fieldset>
</td>
</tr>
</table>
</span>

Title: Re: Advanced Reputation System
Post by: tk2012 on August 02, 2008, 12:04:42 AM
Quote from: YodaOfDarkness on August 01, 2008, 05:54:27 PM
Quote from: tk2012 on July 31, 2008, 05:18:15 PM
This is where I am confused...

In order to test, I made the admin settings to no wait in time and to not have to give rep to other people before giving it again to the same person.

The TESTACCOUNT had three rep, so under the Admin I hit the heart and gave the TESTaccount an approval which should have brought the account to 4, no?  Because it still shows three.

I did the same thing switching accounts and the Admin had 2 and still had 2 after clicking the heart and doing the same approval.

Is that not supposed to add rep?

It's kind of hard to explain... by default, you have to have a rep power of 100 to affect someone else's rep power. If you go into your other account's profile, you will see that their rep points have gone up by however much rep power you have.


OK.. So, currently I won't see any change because I just started to make the forum and have like three posts, so my REP is not even close to 100 yet... BUT, after I get over 100, I would see the change in their REP pts.    right?

Title: Re: Advanced Reputation System
Post by: Fustrate on August 02, 2008, 12:45:56 AM
Yes. I'd suggest giving yourself 10000 rep points to begin with so you'll have a 100 rep power. That'll kinda jump start things ;)
Title: Re: Advanced Reputation System
Post by: tk2012 on August 03, 2008, 02:36:22 AM
I gave myself 1,000 just to see what would happen.  I gave a disagree rep to the TESTaccount that had a +3 at the time.  OMG!  Just giving that one negative rep changed it to a -17!!! WOAH!  "I pity the fool" who tries to mess w/ me!  LOL
Title: Re: Advanced Reputation System
Post by: X3mE on August 03, 2008, 03:34:33 PM
The old karma style is still visible in the personal messages view, any way to fix this?
Title: Re: Advanced Reputation System
Post by: chifliiiii on August 03, 2008, 03:43:07 PM
Yoda did you get my email with the spanish translation?
Title: Re: Advanced Reputation System
Post by: Fustrate on August 05, 2008, 12:13:55 PM
Yes, I believe I got an email from you (not at home, so I can't quite check).

Version 1.5 will be the next release... the biggest change will be the addition of reputation-based user groups if I can wrap my head around how groups are coded ;)

I know not many people will read this, but if you DO and you have any ideas for what else can be included, then by all means - tell me!
Title: Re: Advanced Reputation System
Post by: Eliana Tamerin on August 05, 2008, 12:16:21 PM
Great news, Yoda! Keep up the good work!
Title: Re: Advanced Reputation System
Post by: X3mE on August 05, 2008, 01:46:57 PM
Quote from: X3mE on August 03, 2008, 03:34:33 PM
The old karma style is still visible in the personal messages view, any way to fix this?

Is it just me, is it how it is supposed to be, did i get something wrong?  :P
Title: Re: Advanced Reputation System
Post by: Fustrate on August 05, 2008, 02:04:48 PM
That's my fault, I forgot to update the PM template. For now, the easiest thing to do is to go into PersonalMessage.template.php and comment out the lines that show the karma. It'll be updated in 1.5

Oh, and 1.5 WILL require you do uninstall 1.4.1 first - just because of the scope of changes between betas 3.1 and 4, along with 1.4.1 and 1.5. This isn't my normal procedure, but it's just easier on everyone (trust me, there would be errors GALORE)
Title: Re: Advanced Reputation System
Post by: dyota on August 09, 2008, 12:17:46 PM
everytime i try to change reputation, the warning is:

"Sorry, you are not permitted to modify your own reputation."

What should i do?
Title: Re: Advanced Reputation System
Post by: Fustrate on August 09, 2008, 12:34:53 PM
That error only shows up if you and the person you are repping have the same user ID.
Title: Re: Advanced Reputation System
Post by: THE BRA1N on August 11, 2008, 01:05:30 AM
QuoteModerators (or anyone with permission) can delete reputation actions on this screen

What exactly does that mean?

And possibly a related question, is it possible for members to delete the comments that appear in their own profile? There seems to be only a limited number of them that show up (20?) and the rest don't display until an admin deletes them.

Also along those lines, I am getting many reports from users who complain that they cannot change the rep of certain users. Instead they get the spread the love nag even though it it set to "1" other person and the love has been spread many times over to others. Again, after an admin deletes a few of the profile rep comments, it seem that members can change the rep again of the problem member.
Title: Re: Advanced Reputation System
Post by: Fustrate on August 11, 2008, 03:08:48 AM
You can give regular members the permission to moderate reputation actions, but that's just asking for trouble. Best to leave that for moderators.

As for the "spread the love", I'll have to take a closer look at the checks that are done, and see if something is amiss.
Title: Re: Advanced Reputation System
Post by: KWP2 on August 11, 2008, 08:52:10 AM
Hi!

It's a good mod, but now I have a strange problem with it.

I installed it a few weeks ago on my live forum. It worked fine for a few days, but now it just won't update the karma points. The mod works, users can give reputations to each other, and the user who is the recipient of the reputation, can view it, can view the comment associated with it, but...
the modul does NOT update the karma table. (does not update the karma_good/bad field in the members table.)

For example, one user have got 10 positive reputations, but his karma is only at 3. I personally tried it with the admin account... I gave him a positive rep., with a comment... the user can see it in his profile, but NO karma points was given to him. None.
I looked into the source code, but cannot find the solution. Anyone else have some similiar problems?

Thank you for your help!

Tom
Title: Re: Advanced Reputation System
Post by: KWP2 on August 11, 2008, 09:54:38 AM
Quote from: KWP2 on August 11, 2008, 08:52:10 AM
Hi!

It's a good mod, but now I have a strange problem with it.


OK, I debugged it a little, and found some strange things, which I do not understand.

First of all, a few words about my preferences.
On my forum, the user doesn't get any points just for posting an article, or a new topic.
"How many points per post?" and "How many points per thread?", they are both zero.

Users get +1 "reputation power" per 10 points, and Users get +1 bar image per 50 points.

So only the other members can give you reputation points, you cannot get it by your own.

Now...

I debugged MySQL while giving a positive reputation to someone, and I found this strange thing in the log:

UPDATE hwf_members SET karma_good = karma_good + 0 WHERE id_member =

So the mod DOES update the member table, but with zero points.

I've looked into it, and found the following:

The query runs as 'SET karma_good = karma_good + $power'. I needed to investigate this $power variable.

And these are the lines that I don't understand:

        // Find their (super)power! Can't go into negatives...
        $points = $user_info['karma_good'] - $user_info['karma_bad'];
        $power = ($points - ($points % $modSettings['karmaBarPower'])) / $modSettings['karmaBarPower'];
        $power = (int) (($power > 0) ? $power : 0);

Quite frankly, the last line is the line that 'resets' the $power variable.
If a user has - for example - karma total of 6, and karmaBarPower is at 10, then - I think - the following is in place:

(6 - (6 % 10)) / 10. And that is, if I'm calculating right: 0,54 in the end.

The next line says, that if $power is greater than zero, then set it to 0. But - again, if I'm calculating right - $power is almost always greater than zero.
So for now, I modified one byte, so when $power is greater than 0, then $power=1.

And for now, this solves my problem, my users are able to give karmas to each other again.

Now, I know that I'm missing something, or that I don't understand something... that's why I came here to ask about this, and see that this problem is only my problem, or is there somebody else who has the same issue?

Thank you, and keep up the good work:)

Tom
Title: Re: Advanced Reputation System
Post by: Frederik10k on August 11, 2008, 06:26:19 PM
Hy there!


I´ve got a problem with installing the package.
When I download it, and start the installer, I get an error "Modifikation Parse-Error".

The error appears on the file install.xml
Rights on the important files and folders are given.

Any idea?  ???
Title: Re: Advanced Reputation System
Post by: Fustrate on August 11, 2008, 06:48:14 PM
Quote from: KWP2 on August 11, 2008, 09:54:38 AM
OK, I debugged it a little, and found some strange things, which I do not understand.

First of all, a few words about my preferences.
On my forum, the user doesn't get any points just for posting an article, or a new topic.
"How many points per post?" and "How many points per thread?", they are both zero.

Users get +1 "reputation power" per 10 points, and Users get +1 bar image per 50 points.

So only the other members can give you reputation points, you cannot get it by your own.

Now...

I debugged MySQL while giving a positive reputation to someone, and I found this strange thing in the log:

UPDATE hwf_members SET karma_good = karma_good + 0 WHERE id_member =

So the mod DOES update the member table, but with zero points.

I've looked into it, and found the following:

The query runs as 'SET karma_good = karma_good + $power'. I needed to investigate this $power variable.

And these are the lines that I don't understand:

        // Find their (super)power! Can't go into negatives...
        $points = $user_info['karma_good'] - $user_info['karma_bad'];
        $power = ($points - ($points % $modSettings['karmaBarPower'])) / $modSettings['karmaBarPower'];
        $power = (int) (($power > 0) ? $power : 0);

Quite frankly, the last line is the line that 'resets' the $power variable.
If a user has - for example - karma total of 6, and karmaBarPower is at 10, then - I think - the following is in place:

(6 - (6 % 10)) / 10. And that is, if I'm calculating right: 0,54 in the end.

The next line says, that if $power is greater than zero, then set it to 0. But - again, if I'm calculating right - $power is almost always greater than zero.
So for now, I modified one byte, so when $power is greater than 0, then $power=1.

And for now, this solves my problem, my users are able to give karmas to each other again.

Now, I know that I'm missing something, or that I don't understand something... that's why I came here to ask about this, and see that this problem is only my problem, or is there somebody else who has the same issue?

Thank you, and keep up the good work:)

Tom

        // Find their (super)power! Can't go into negatives...
        $points = $user_info['karma_good'] - $user_info['karma_bad'];
        $power = ($points - ($points % $modSettings['karmaBarPower'])) / $modSettings['karmaBarPower'];
        $power = (int) (($power > 0) ? $power : 0);

Inserting variables...
        // Find their (super)power! Can't go into negatives...
        $points = 6 - 0;
        $power = (6 - (6 % 10)) / 10; // = 0!
        $power = (int) ((0 > 0) ? $power : 0);


The modulus (%) sign does a remainder - 6 % 10 is "The remainder when 6 is divided by 10", meaning 6. 6 minus 6 is zero, and divided by ten is still zero.

You'll also notice that a member with 6 rep points will not have any rep power showing in their posts - it's zero. They must have at least 10 points to get 1 power, 20 to get 2, 30... etc. There are no decimals in this system.


Frederik - have you installed any other mods yet?
Title: Re: Advanced Reputation System
Post by: Frederik10k on August 11, 2008, 07:18:16 PM
Nope, none yet.

I've tested another after the error, and this one worked just fine.

???


I'm using version 2.0 Beta 3.1 of SMF.
And I had no problem with the installation of the board.
Everything works just fine, except the installation of your boobalicious mod. ^^

Hope to get it working, its a really great mod.
Title: Re: Advanced Reputation System
Post by: Fustrate on August 11, 2008, 07:20:56 PM
Hmm... the download might have been corrupted. Try re-downloading it from the mod site, and see if a new copy will work.
Title: Re: Advanced Reputation System
Post by: Frederik10k on August 11, 2008, 07:26:40 PM
No, tried this 3 times, no success.

I cleared the Package/temp older, but this diddnt help.
Title: Re: Advanced Reputation System
Post by: Fustrate on August 11, 2008, 07:32:40 PM
I'm absolutely stumped by that one - once I get home (in about an hour) I can go check what exactly would be throwing that error, but I don't recall ever seeing it before.
Title: Re: Advanced Reputation System
Post by: Frederik10k on August 11, 2008, 07:46:07 PM
Thanx!

I've got to go to bed now, its 1:41 @ night here in germany. ^^

Here's the Error again:
(http://img137.imageshack.us/img137/9427/errorio0.th.jpg) (http://img137.imageshack.us/my.php?image=errorio0.jpg)
Title: Re: Advanced Reputation System
Post by: chifliiiii on August 11, 2008, 08:13:21 PM
Quote from: YodaOfDarkness on August 05, 2008, 12:13:55 PM
Yes, I believe I got an email from you (not at home, so I can't quite check).

Version 1.5 will be the next release... the biggest change will be the addition of reputation-based user groups if I can wrap my head around how groups are coded ;)

I know not many people will read this, but if you DO and you have any ideas for what else can be included, then by all means - tell me!

Great Yoda!!! if you need any more spanish translation for next version tell me.

About ideas the one i told at the beggining :

QuoteBasically im creating a support forum and i want to be able to give points to the people that more help. And i want to be the guy who created the thread to be the one that gives point to the guy that posted the best solution ( or the moderator in case the creator of the thread dont give points). So the thread starter can only give points once on that thread to just one people maybe 2.

Keep doing the great job
Title: Re: Advanced Reputation System
Post by: Frederik10k on August 12, 2008, 06:36:43 PM
Quote from: YodaOfDarkness on August 11, 2008, 07:32:40 PM
I'm absolutely stumped by that one - once I get home (in about an hour) I can go check what exactly would be throwing that error, but I don't recall ever seeing it before.

Hy there!

Any ideas about my problem?


greez  :D
Title: Re: Advanced Reputation System
Post by: Fustrate on August 12, 2008, 10:04:25 PM
still no clue - try asking about that specific error in the SMF Coding area...
Title: Re: Advanced Reputation System
Post by: Frederik10k on August 13, 2008, 02:00:11 PM
Hy, I installed SMF on a new server with a new database.
I was able to install your mod.

Can't imagine why the old install didn't work....  :-X


thanx!!
Title: Re: Advanced Reputation System
Post by: Fustrate on August 13, 2008, 02:24:49 PM
Sorry I couldn't fix it for ya  :(
Title: Re: Advanced Reputation System
Post by: Frederik10k on August 13, 2008, 05:56:36 PM
No problem. :)


Something different...

Is it possible to get more then 999 points?
When I change my rep to 9999 or 56780, just the first 4 digits are shown in my profile.


greez


Edit:
QuoteUsers get +1 "reputation power" per how many points? Default 100.

Found it. I set it to 1, so all reps are shown.


THX 4 this great mod! I love it! ^^
Title: Re: Advanced Reputation System
Post by: Fustrate on August 13, 2008, 08:43:26 PM
Well it's impossible to get more than 65535 rep points... that's how much will fit into the database. I tried giving myself 65000 and it worked fine... not sure what the problem is on yours.
Title: Re: Advanced Reputation System
Post by: Eliana Tamerin on August 13, 2008, 11:07:04 PM
Not unless you change text types. :P
Title: Re: Advanced Reputation System
Post by: Fustrate on August 14, 2008, 01:49:44 AM
Ya, you could change karma_good and karma_bad in the database to BIGINTs, which would make them insanely large... maximum value of 18446744073709551615. Right now they're SMALLINTs, which carry the aforementioned 65535.
Title: Re: Advanced Reputation System
Post by: sparky2002b on August 15, 2008, 01:39:07 PM
I need some help with this.
The mod appears to be working properly but administrators can't see the +/- rep links.
Title: Re: Advanced Reputation System
Post by: Fustrate on August 15, 2008, 01:44:30 PM
Can your regular members see it? It might be that the little icon didn't get uploaded to your theme's /images/ directory, or the template edits didn't get made.
Title: Re: Advanced Reputation System
Post by: spearfish on August 16, 2008, 01:35:24 PM
Here's a weird problem...

I'm trying this out on a fresh install of 2.0 Beta 3.1.  When viewing a topic, there is a bunch of white space (http://www.smf.ericvernon.com/index.php?topic=2) before any messages.  When I go to rate a user. it bumps me up to that whitespace, but nothing else happens.  I know this isn't working right.... what's wrong, and how can I fix it?
Title: Re: Advanced Reputation System
Post by: Fustrate on August 16, 2008, 02:43:29 PM
index.template.php - change style.css?b21 to style.css?b31

it's using a cached stylesheet which doesn't have the visibility set to hidden, so it still shows the box. That'll force it to fetch it anew, which will hide it.
Title: Re: Advanced Reputation System
Post by: spearfish on August 16, 2008, 03:23:19 PM
Thanks!  Actually, I just cleared the file cache instead of changing stuff... but you pointed me in the right direction :)
Title: Re: Advanced Reputation System
Post by: Fustrate on August 16, 2008, 05:22:12 PM
Ya, just make sure any members you have to the same thing. Changing that little string will force it to reload once on everyone's, so I've suggested that the package manager does that automatically every time a mod is installed.
Title: Re: Advanced Reputation System
Post by: tk2012 on August 16, 2008, 05:29:42 PM
Are you talking about this space here?  I've attached a pic.  I don't recall when this started happening, but it was after I did a mod installation.  It went away I though, but it has been back now constantly.

I use a black background, so it may look different.  The space only happens when you are at the level of reading a post.  Otherwise, it is fine when looking at topics and the main page.
Title: Re: Advanced Reputation System
Post by: Fustrate on August 16, 2008, 05:50:38 PM
implement the change I wrote above. Or press ctrl-f5 (cmd-shift-r on a mac)
Title: Re: Advanced Reputation System
Post by: tk2012 on August 16, 2008, 06:24:04 PM
Replace it everywhere it mentions "style.css?b21" ??

it shows up twice and I replaced both to b31

Uploaded, Cleared cache on forum, did a hard refresh, and still have the space.
Title: Re: Advanced Reputation System
Post by: Fustrate on August 16, 2008, 06:50:54 PM
link?
Title: Re: Advanced Reputation System
Post by: tk2012 on August 16, 2008, 07:41:02 PM
http://www.motorstorm-rpms.org/community/index.php

Title: Re: Advanced Reputation System
Post by: Fustrate on August 16, 2008, 08:17:07 PM
Display.template.php, find:
<span id="reputation_menu" style="visibility: hidden;">
replace with
<span id="reputation_menu" style="visibility: hidden; display: none;">

script.js, find:
function showhide(obj, e){
   rep_box.style.left = rep_box.style.top = -500
   rep_box.widthobj = rep_box.style
   rep_box.widthobj.width = '300px'
   if (obj.visibility == "visible"){
      obj.visibility = "hidden"
      obj.display = "none"
   } else {
      obj.visibility = "visible"
      obj.display = "block"
   }
}

replace with:
function showhide(obj, e){
rep_box.style.left = rep_box.style.top = -500;
rep_box.widthobj = rep_box.style;
rep_box.widthobj.width = '300px';
if (obj.visibility == "visible"){
obj.visibility = "hidden";
obj.display = "none";
} else {
obj.visibility = "visible";
obj.display = "block";
}
}
Title: Re: Advanced Reputation System
Post by: tk2012 on August 17, 2008, 12:02:06 AM
Thanks that did the trick!
Title: Re: Advanced Reputation System
Post by: random2 on August 25, 2008, 03:46:26 PM
Hi.
Somebody hacked this mod on our site and set reputation to 65535.
How can I track this hack and what can I do with this?
Title: Re: Advanced Reputation System
Post by: Fustrate on August 25, 2008, 05:27:34 PM
Is that everyone's rep? Just one person's?

You can check your database, look in smf_log_karma (or something that ends in log_karma) and see what the most recent actions taken were.

The highest number that reputation can go to is 65535, so obviously they tried to set it to something much higher, probably 1,000,000. If anything looks out of place, then you'll know who did it.

It's also possible that they executed it through another security hole that has nothing to do with the rep system - we just don't know right now. If it was done through the rep system, there will be a record of it in your karma log.
Title: Re: Advanced Reputation System
Post by: spearfish on August 25, 2008, 08:13:27 PM
Agreed.  It could have been any mod that failed to properly secure itself.  Hell, it might not have even been SMF / mods.  If you use the same db username for other parts of your site, check those out, since SMF mods are generally checked well for security.
Title: Re: Advanced Reputation System
Post by: Xclusive on August 26, 2008, 11:02:28 PM
hey i also have a MASSIVE problem
i was reading the WHOLE topic..lol
can you believe me? lols
to see if anyone had the same problem as i did
and i found 1 person..but you guys really never repilied to him..lol


this is what i'm having:
i'm having a MASSIVE GAP in post view topic...(when i view a topic it gives a massive gap)
(http://img384.imageshack.us/img384/9670/error1vl1.th.jpg) (http://img384.imageshack.us/my.php?image=error1vl1.jpg)

when it should be like this:  (this is from the website i got the skin from)
(http://img514.imageshack.us/img514/9542/error3xt9.th.jpg) (http://img514.imageshack.us/my.php?image=error3xt9.jpg)

so i dont really know what the problem is..
keep me posted =]
hope you can help yoda

Title: Re: Advanced Reputation System
Post by: Xclusive on August 26, 2008, 11:18:57 PM
oh!!! thank you very much yoda..
i found the solution =]
thanks guys
Title: Re: Advanced Reputation System
Post by: Fustrate on August 26, 2008, 11:19:36 PM
Ya, it's been posted multiple times :) and the fix is built into the new version (probably next week)
Title: Re: Advanced Reputation System
Post by: Xclusive on August 26, 2008, 11:22:09 PM
oh really? nice work man..
loving the reputation mod..lols
still new 2 it..so trying 2 get every right..
much very impressive work
Title: Re: Advanced Reputation System
Post by: Poolpy on September 02, 2008, 04:29:37 AM
Hey Man
When i install the mod it all works fine but the pictures of the rep never come up its just that box with a question mark there

How can i fix this
Title: Re: Advanced Reputation System
Post by: Fustrate on September 02, 2008, 09:55:36 AM
Make sure the images get uploaded to every theme's /images/ folder.
Title: Re: Advanced Reputation System
Post by: tk2012 on September 06, 2008, 11:07:12 PM
Hey Mr Yoda-

I hate to bother you, but could you take a look at an error I posted in another thread?  I have a feeling that it may be caused by this mod because of where the errors are happening.  The only other mod that I have that uses the RemoveTopic.php is the Bookmarks mod.  Since Karma is listed near the line the error takes place, I'm assuming at the moment that it is this one though..  Most all the info should be in the thread.

v2.0 b3.1
default theme


http://www.simplemachines.org/community/index.php?topic=259281.msg1687529#msg1687529

Thank you!

BTW- I'm currently in the hospital, so depending how things are going with treatment, it may take me a day or two to get back with you.  :(  I'll attach my RemoveTopic.php file to the thread I posted!
Title: Re: Advanced Reputation System
Post by: timned88 on September 07, 2008, 11:23:09 PM
i just tried to install this into a new smf 2.0b4 upgrade and it would not go in clean.  any plans on updating it for the new version?
Title: Re: Advanced Reputation System
Post by: Fustrate on September 08, 2008, 12:10:07 AM
This modification is not yet beta4-compatible. I'm making significant changes in how this mod works, so it'll be another week or two.
Title: Re: Advanced Reputation System
Post by: THE BRA1N on September 08, 2008, 03:25:36 AM
Yoda, quick question - when the Beta 4 update comes out... will the rep stats and settings be deleted if first I upgrade to SMF Beta 4 and then to your not as of yet released update?
Title: Re: Advanced Reputation System
Post by: Fustrate on September 08, 2008, 03:50:33 AM
your karma will not be deleted, no. You just won't see the comments and whatnot until I release version 1.5, which will ignore the database portions of the install when installed.
Title: Re: Advanced Reputation System
Post by: timned88 on September 08, 2008, 09:43:54 PM
Quote from: YodaOfDarkness on September 08, 2008, 12:10:07 AM
This modification is not yet beta4-compatible. I'm making significant changes in how this mod works, so it'll be another week or two.

thanks, yoda!
Title: Re: Advanced Reputation System
Post by: mr703himself on September 11, 2008, 05:21:23 AM
does someone have this for version 1.1.5?
Title: Re: Advanced Reputation System
Post by: Fustrate on September 11, 2008, 10:11:03 AM
This is 2.0 only, sorry.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on September 12, 2008, 03:41:45 AM
Beta 4 version posted. Have fun, tell me about any errors that may pop up.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: apc73 on September 12, 2008, 08:07:24 AM
The Admin, Configuration, Features and Options, Reputation does not work for me. All I get is a blank screen, but no error logs and everything seems to be working ok
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on September 12, 2008, 10:39:14 AM
anything in the error log? And try going to the maintenance section and clearing the forum's cache
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: apc73 on September 13, 2008, 04:49:06 AM
cleaned the cache, still nothing? but there is no error logs.

thought it maybe a addon. as the the rules addon does not work with you hack.
with the 2 installed I get the same thing on the rules (no config screen)
I have uninstalled all addons and reinstalled just yours yet I still don't get a config screen

Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on September 13, 2008, 02:15:40 PM
Okay, go to /Themes/default/ManageSettings.english.php, and go to the last line of actual text. Put a \ before the apostrophe in "user's", and save.

Then delete this file:
/cache/lang_ManageSettings_english_default.php
if it exists.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: PRaDiUS on September 13, 2008, 09:01:40 PM
tried to install and it says the mod is either corrupt or not compatable with my version on smf. I am running 1.1.6 .
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: shadow82x on September 13, 2008, 09:13:17 PM
Its only for SMF2.x I belive.

Anyway I'm doing a bit of beta testing here.

I get an error when I click on the heart.

An Error Has Occurred!
The database value you're trying to insert does not exist: message
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on September 13, 2008, 09:26:39 PM
Did all tables get added when you installed?
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: apc73 on September 14, 2008, 09:12:18 AM
Quote from: YodaOfDarkness on September 13, 2008, 02:15:40 PM
Okay, go to /Themes/default/ManageSettings.english.php, and go to the last line of actual text. Put a \ before the apostrophe in "user's", and save.

Then delete this file:
/cache/lang_ManageSettings_english_default.php
if it exists.

Sorted it thanks the last line needed to be changed from user's to users
Everything works with that little change of text including the rules mod

Thanks for your help
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Eliana Tamerin on September 14, 2008, 09:18:59 AM
I'll say it again:

Quote from: Eliana Tamerin on March 25, 2008, 01:03:41 PM
Wow, Yoda. You've really done a great job!

I like this. So much more dynamic than the Karma feature.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Lawl on September 14, 2008, 09:36:14 AM
I always get errors or it says test unsuccessful
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: haynes12 on September 14, 2008, 02:54:03 PM
I get a load of errors when i install package with manager, and if i try to install it manually, ( install.php) it just comes up with a white page saying:
Hacking Attempt...
Any help?
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on September 14, 2008, 03:01:12 PM
install.php has to be executed from inside SMF

To use it manually, put this line right after <?php
include_once('./SSI.php');

make sure install.php is in the same folder as SSI.php

and Lawl - what specific errors are you getting? What version of SMF are you using?
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: MDragon on September 14, 2008, 03:42:49 PM
When trying to install this from package manager I get:

"The package you are trying to download or install is either corrupt or not compatible with this version of SMF."

I'm using 1.1.6, is it compatible?
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on September 14, 2008, 03:53:40 PM
No, it's 2.0-only.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: _Anthony_ on September 15, 2008, 01:19:18 AM
It makes Features and options in-accesible.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on September 15, 2008, 02:41:57 AM
I need a little more detail than that... you're using Beta 4, correct? Are there any errors in your error log?
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Eliana Tamerin on September 15, 2008, 10:50:13 AM
Yoda, in your beta 4 package, the following text strings are missing:
'karmaMaxBars'
and
'karmaSuperBar'
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on September 15, 2008, 11:41:09 AM
le Whaaaat?

I don't think those are even used anymore... are you actually getting any errors, or did you just notice the difference? It now calculates those two values automatically, instead of confusing Jade ;)
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Snap_shot on September 15, 2008, 12:31:03 PM
I have this installed on 2.0 beta 4 and people get reputation for post and topics, but when I try to give someone reputation from the button under their name it says "An Error Has Occurred!
Sorry, you are not permitted to modify your own reputation." I have givein everyone permission to + and - reputation and it is enabled. On top of that I'm root admin I should be able to do this. If there is something I have over looked please tell me thanks :D
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on September 15, 2008, 12:51:16 PM
Congratulations, you're going to help me get to the bottom of this (since I can't reproduce it on my site) :D

Go into Karma.php and find this line:
fatal_lang_error('cant_change_own_karma', false);
and replace it with
die('UID is ' . $uid . ' and $user_info[\'id\'] is ' . $user_info['id'] . ' and $_POST[\'uid\'] is ' . $_POST['uid']);

Tell me what happens when you try to send rep that time, and then change it back.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Snap_shot on September 15, 2008, 12:53:45 PM
I would gladly do this, Just.. What folder is karma.php in xD

and my site is www.clancbh.com if you need


Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on September 15, 2008, 12:54:48 PM
/Sources/Karma.php :D
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Snap_shot on September 15, 2008, 12:57:10 PM
I still receive the same error :(
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on September 15, 2008, 01:15:01 PM
It occurs twice... and I think you're encountering a second error too.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Snap_shot on September 15, 2008, 01:24:51 PM
So how do we fix it? I can give you admin on my board if you need to look at anything.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on September 15, 2008, 01:38:19 PM
Right now I just need access as a regular user, which I can just register for (unless you have activation/etc.) I've registered as 'repsys', btw.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Snap_shot on September 15, 2008, 01:41:39 PM
I activated your account, you can now log in.

Edit: I gave you a post so you could test it.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on September 15, 2008, 01:44:14 PM
Do I need a certain amount of posts to see the rep icon? Can you go into my profile and give me that amount?
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Snap_shot on September 15, 2008, 01:49:30 PM
Haha yea, I gave you a post
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on September 15, 2008, 01:57:11 PM
I see what you did - you took out all of the popup code and you're just using the other page.

You used the wrong link though... it's ?action=reputation not ?action=modifykarma - did you do that yourself, or did I make a mistake? Just want to know so that it doesn't persist in other installs ;)
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Snap_shot on September 15, 2008, 02:01:13 PM
I haven't modified anything, it's a fresh install of your mod and smf 2.0 beta 4 (aside from my data base)
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on September 15, 2008, 02:28:21 PM
Actually, you need to apply the changes to your theme's Display.template.php, which I can do if you attach it here.

/Themes/energyfinal/Display.template.php
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Snap_shot on September 15, 2008, 02:34:33 PM
Here it is. thanks a bunch
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on September 15, 2008, 02:55:51 PM
:) I'll code in a fix for that... I suspect that's the cause of this error every time it occurs.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Snap_shot on September 15, 2008, 03:01:38 PM
It looks like it works now (http://i38.tinypic.com/15fgbdh.jpg)


but when i click the add reputation it just scrolls up and down the page and does not really do anything. I'm sorry to keep bothering you.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on September 15, 2008, 03:16:23 PM
Add this to the end of /Themes/energyfinal/style.css:
.repbars img
{
padding: 0 1px 0 0;
}

#reputation_menu{
position: absolute;
border: 1px solid black;
z-index: 100;
}
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on September 15, 2008, 03:18:55 PM
and one last thing... the images also need to be uploaded to /Themes/energyfinal/images - extract this file (you can probably double click it once you've downloaded it) and you'll find the images in there.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Snap_shot on September 15, 2008, 03:21:10 PM
That did work, the menu poped up but it has made a new error.
After i clicked submit.


You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY log_time DESC' at line 5
File: /homepages/5/d250791535/htdocs/cbh/Sources/Karma.php
Line: 351
sigh :(

Edit: not sure if it matters but it looks like text wasn't commented out with // on lines 1 - 23 but I don't remember if that's how its even done.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: apc73 on September 15, 2008, 03:34:24 PM
just been doing some testing and get a error

Please try again. If you come back to this error screen, report the error to an administrator.

erroe log =

Database Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY log_time DESC' at line 5

File: /home/smf/Sources/Karma.php
Line: 352
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Eliana Tamerin on September 15, 2008, 05:03:42 PM
Quote from: YodaOfDarkness on September 15, 2008, 11:41:09 AM
le Whaaaat?

I don't think those are even used anymore... are you actually getting any errors, or did you just notice the difference? It now calculates those two values automatically, instead of confusing Jade ;)

Check your edits to ManageSettings.php:

Quote from: From the install.xml, for ManageSettings.php// Advanced Reputation System Settings
         array('int', 'karmaValuePost'),
         array('int', 'karmaValueThread'),
         array('int', 'karmaBarPower'),
         array('int', 'karmaBarPoints'),
         array('int', 'karmaMaxBars'),
            array('int', 'karmaSuperBar'),

         array('int', 'karmaRegistration'),
         array('int', 'karmaBirthday'),
         array('text', 'karmaMaxPerDay'),
         array('text', 'karmaSpreadAround'),
         array('large_text', 'karmaDescriptions'),
         array('text', 'karmaDisabledDescription'),
         array('text', 'karmaNegativeDescription'),
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on September 15, 2008, 05:32:52 PM
Then ya, that needs to be deleted from Sources/ManageSettings.php

The two of your with the SQL error - attach your Sources/Karma.php to a post here and I'll see what's up.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Snap_shot on September 15, 2008, 06:17:10 PM
Here is my karma.php i hope you can help :D
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on September 15, 2008, 06:48:55 PM
This will spit out the contents of the query it's failing on - tell me what it says
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: apc73 on September 15, 2008, 07:08:30 PM
the file you wanted

Thanks
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate 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
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Pratt on September 15, 2008, 07:48:13 PM
Quote from: YodaOfDarkness on September 12, 2008, 03:41:45 AM
Beta 4 version posted. Have fun, tell me about any errors that may pop up.
Where can i find it?
I tried the advancedRep 1-4-1.zip but im getting errors on install.
I just installed bet4 :(
The problems are in:
./Themes/default/Display.template.php
./Sources/ManagePermissions.php
./Sources/ManagePermissions.php
./Sources/RemoveTopic.php
:D
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on September 15, 2008, 07:55:07 PM
You'll have to do those edits yourself.

On the installation screen, click the little icons on the left of the ones that failed, and it'll tell you what you have to do.

It will not install into the Classic or Babylon themes at the moment, because they aren't semantic like Default.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Snap_shot on September 15, 2008, 08:21:52 PM
I'm confused did you tell me what I was supposed do lol?
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on September 15, 2008, 08:27:20 PM
Look in my response right after your post - use that Karma.php, try to give someone rep, and tell me what comes up on your screen. It will just be some text, no styling or anything. I need to know what it says.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Snap_shot on September 15, 2008, 08:28:08 PM
but you uploaded something else not karma.php
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on September 15, 2008, 08:33:50 PM
Ya, I'm an idiot :)
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Snap_shot on September 15, 2008, 08:37:03 PM
This is what came up


SELECT id_target
FROM {db_prefix}log_karma
WHERE id_executor = 2
LIMIT 2
ORDER BY log_time DESC
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on September 15, 2008, 08:40:40 PM
I think this'll work:
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Snap_shot on September 15, 2008, 08:45:31 PM
It works and shows up in their profile, but does not give them a point for it.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on September 15, 2008, 08:51:56 PM
What's your rep power?
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Snap_shot on September 15, 2008, 08:56:33 PM
0 but i still get positive points from posting and making new threads
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on September 15, 2008, 08:59:49 PM
You don't give them rep until you reach (by default) 100 rep points yourself. You'll then get 1 rep power, and every time you send them rep they'll gain 1 point towards their total.

Basically, they get + (your rep power) points. It's a good idea to give yourself 10000 rep points so that you get 100 rep power, and you'll give your members 100 points every time you rep them. It's to jump start the whole thing.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Snap_shot on September 15, 2008, 09:02:29 PM
oh thanks it works great then, you have helped me so much. I really appreciate you walking me through this and doing all this for me. :D thanks
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on September 15, 2008, 09:18:48 PM
No problem, I kinda have to try to figure these things out, or people won't use the mod ;)
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: tk2012 on September 15, 2008, 09:28:58 PM
Yoda,

I didn't uninstall the previous version to install your newer version.  I'm still on v2.0 b3.1 using default theme (w/ alternate colors).  Everything is working great and I'm kind of scared to change what works for me.  I do have one problem though.  When I go to view someone's reputation summary, the boxes overhang from the page and you have to side scroll to view the box.  Is there an easy fix for this?  (Or, is it fixed in the new version?)

I just don't want to mess with anything unless.. 1) the new version is really that much better and 2) the problem I'm showing is fixed.   Otherwise, I'd rather just know what I need to do to keep from getting the overhangs.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on September 15, 2008, 09:59:08 PM
I need a link to the page to see what's wrong.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: tk2012 on September 15, 2008, 10:03:14 PM
I'll PM it to you.  My forum is not available to guests...

Will send a test account, password, and link.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on September 15, 2008, 11:09:46 PM
Can you give me 20 posts so I can test this out? :)
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: tk2012 on September 15, 2008, 11:23:24 PM
I'll move it to 0 for ya in the settings
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on September 15, 2008, 11:46:45 PM
For some reason the widths on the <td>s aren't working. I'm trying to find out why, but it's being weird.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: tk2012 on September 15, 2008, 11:55:39 PM
Do you need me to send you any file?
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on September 16, 2008, 12:05:17 AM
Sure, send me Profile.template.php and I'll fix it. It's a problem with your style, and I found out how to fix it.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: tk2012 on September 16, 2008, 12:06:50 AM
Cool, one sec
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: tk2012 on September 16, 2008, 12:09:02 AM
here ya go..
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on September 16, 2008, 12:36:18 AM
just for you ;)
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: apc73 on September 16, 2008, 04:57:24 AM
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
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: tk2012 on September 16, 2008, 07:11:05 AM
THANKS YODA! 
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on September 16, 2008, 10:25:14 AM
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.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: apc73 on September 16, 2008, 10:36:11 AM
look like its working :)

nice one mate great job
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: apc73 on September 16, 2008, 11:04:24 AM
Think I found a new bug.
Still looks like everything is working just some missing text. Check out the attached file
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on September 16, 2008, 11:24:38 AM
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.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: viibram on September 23, 2008, 01:41:23 PM
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?
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on September 23, 2008, 02:09:52 PM
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)
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: viibram on September 23, 2008, 02:29:59 PM
It works now.

Thanks for the fast reply :D
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: SpectroPro on September 28, 2008, 09:01:42 PM
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
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: SpectroPro on September 28, 2008, 09:21:07 PM
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... 
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate 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.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: SpectroPro on September 28, 2008, 09:43:48 PM
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
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on September 28, 2008, 09:59:13 PM
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.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: chifliiiii on September 30, 2008, 05:46:44 PM
Hi Yoda just a small question? How is going the spanish version? We will have a final version soon ?
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on September 30, 2008, 06:13:03 PM
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!
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: machmanx on September 30, 2008, 09:53:18 PM
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.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on September 30, 2008, 10:05:53 PM
That's part of what I'm coding for the next version, but I've still got some other work to do before I continue on this mod.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Bigguy on October 02, 2008, 01:18:02 PM
I just tried to install this on my forum and it went fine. All files said they installed successfully however when I press on the heart to give reputation I get the following error. I have uninstalled the mod now but if there was a fix for this I would re-install for sure, it looks like a great mod. :)

QuoteThe database value you're trying to insert does not exist: message
Function: SendKarma
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on October 02, 2008, 02:09:37 PM
Looks like the database didn't get modified... and you're using v1.5.1 correct?
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Bigguy on October 02, 2008, 02:15:14 PM
yes I was. :)
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on October 02, 2008, 11:41:56 PM
It also looks like the theme you're using isn't one of the fancy new semantic ones, so I'm going to include a few extra things in the mod package to work around that. If you decide to install again (wait for v1.5.2) and it still doesn't work, check the database to see if all of the changes really got made.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Bigguy on October 03, 2008, 08:24:07 AM
Ok I'll wait for that version to install, thanks. :)
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on October 03, 2008, 04:11:17 PM
v1.5.2 has been uploaded, and should work with both old and new themes.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Bigguy on October 03, 2008, 09:41:17 PM
I'll get it now and try it out. :)
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Bigguy on October 03, 2008, 09:53:57 PM
I get an error in Display.template.php now. Maybe it's somethign I did. I'll check it out a bit more and see if its another mod.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on October 03, 2008, 10:03:18 PM
Quote from: Bigguy on October 03, 2008, 09:53:57 PM
I get an error in Display.template.php now. Maybe it's somethign I did. I'll check it out a bit more and see if its another mod.

It shouldn't be throwing an error, just skipping it. It's supposed to be error="skip"  in the operation tag, right? And which one is failing, by number? It should either skip 2+4 or 3+5.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Bigguy on October 03, 2008, 10:18:04 PM
5+6 is failing.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on October 03, 2008, 10:37:50 PM
Ah, excuse me, it's 3+4 or 5+6. Is it actually spitting out an error, or just saying it skipped it?

Those two pairs are duplicates, the first works for semantic themes and the second for non-semantic ones.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Bigguy on October 03, 2008, 10:45:59 PM
it is an actual error. It's not saying anything about skipping it. So it is ok to install with those errors. ???
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on October 03, 2008, 10:57:02 PM
Yes, it's perfectly fine. I'm not sure why it's not skipping...

edit: yes I am. I'm an idiot. It's error="ignore". I've updated the package :)
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Bigguy on October 03, 2008, 11:00:29 PM
Ok; I'll give it a shot right now then and post back.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Bigguy on October 03, 2008, 11:06:16 PM
Uh oh, hope you can help with this;

Table '****_***.members' doesn't exist
File: /home/****/public_html/smfhelper/forum/Packages/temp/install.php
Line: 58
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Bigguy on October 03, 2008, 11:09:10 PM
It looks like the mod didn't install at all.

EDIT: Also in the error logs it looks like its showing an Undefined variable: db_prefix in install.php
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on October 04, 2008, 12:24:06 AM
Okay, it's all been fixed and tested three times. The version on the mod site is 100% working (as far as I know).
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Bigguy on October 04, 2008, 01:09:49 AM
Ok, after I do maintenance and backup the database I will try this. :)
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Bigguy on October 04, 2008, 01:24:29 AM
Still end up with the original error. It installed fine but if you try to give reputation by clicking the heart you get the original error.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on October 04, 2008, 01:26:56 AM
Check the database. See if there is a column named 'message' in smf_log_karma.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Bigguy on October 04, 2008, 01:32:21 AM
It wouldn't let me browse that table in phpmyadmin. I'll do a bit of maintenance and check again.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: THE BRA1N on October 04, 2008, 08:33:01 AM
What does this mean? Can i work around this or what?

Quote
Database Error
Table '***_xmb1.members' doesn't exist
File: /var/www/vhosts/***.###/httpdocs/forum/Packages/temp/install.php
Line: 58

Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on October 04, 2008, 11:30:24 AM
Are you on Beta 3.1 or Beta 4?
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: TheDisturbedOne on October 04, 2008, 11:38:25 AM
I have a question for this MOD, Can it be made so that if you have X rep, you can get another icon (such as
(http://www.cloverfieldmovieforum.com/venise/reputation/reputation_highpos.gif)
^that^ (though I would never use a copyrighted image on my forum ;) )
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on October 04, 2008, 12:40:03 PM
Yes - the more reputation you have, the more little bar images you get :)
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Bigguy on October 04, 2008, 02:03:45 PM
I can browse that table now and yes there is a column named message.

Quote from: YodaOfDarkness on October 04, 2008, 01:26:56 AM
Check the database. See if there is a column named 'message' in smf_log_karma.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on October 04, 2008, 02:09:34 PM
You said you couldn't access it before, so I'd assume that the rep system couldn't either. Does it work now?
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: THE BRA1N on October 04, 2008, 02:21:45 PM
Yoda - I just installed beta 4. No matter what I do, i cant get your latest mod to install. I tried emulating 3.1 and 3 too but still wouldn't let me. That sucks cuz your advance rep  mod is our favorite feature.

EDIT- I also get the following errors when installing..


1.     Execute Code     install.php     
*    2.    Execute Modification    ./index.php    Test successful
      1.    Add After    ./index.php    Test successful
*    3.    Execute Modification    ./Themes/default/Display.template.php    Test failed
      1.    Replace    ./Themes/default/Display.template.php    Test failed
      2.    Add After    ./Themes/default/Display.template.php    Test successful
      3.    Replace    ./Themes/default/Display.template.php    Test successful
      4.    Add Before    ./Themes/default/Display.template.php    Test successful
      5.    Replace    ./Themes/default/Display.template.php    Test failed
      6.    Add Before    ./Themes/default/Display.template.php    Test failed
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on October 04, 2008, 02:30:22 PM
You'll have to do the first edit by hand, and the last two should say (Ignore Errors), and don't need to be done.

Side note: I HATE BETA 4 AND IT'S MIX OF SEMANTIC AND OLD THEMES!
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: THE BRA1N on October 04, 2008, 02:37:05 PM
In other words, if i do the first test error by hand, then i can ignore the other errors and the package manager should be able to install it (i.e., I wont get that other database error about a table not existing)?
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on October 04, 2008, 02:42:20 PM
No, Bigguy's error won't (well, shouldn't) happen to you.

Do this first one that errored by hand, and since 3+4 worked, 5+6 don't need to be done.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: SpectroPro on October 04, 2008, 04:17:44 PM
I want to install your new version.  I am trying to uninstall the current version: 1.5.1.  I have smf 2b4.  when I try to uninstall, I get one test fail error.  It's in sources/load.php  there are 5 replaces going on there.  in the second, I have test fail.  My problem is, and I do these fixes by hand all the time, because I have 42 mods installed in default theme....  when I click on the icon to open the change info, it shows NOTHING.   And here is the kicker...  Every change in the load.php, the 1 that fails, and the 4 that pass, are all blank.  Find:         Replace with:     

There is just nothing there. 

Is this something I need to worry about, or can I just push through and uninstall..??  thanks!

Greg
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on October 04, 2008, 04:29:14 PM
You shouldn't need to upgrade from 1.5.1 to 1.5.2 - it's just an upgrade to the installer that should make it work with old and new themes.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: SpectroPro on October 04, 2008, 05:13:15 PM
Well, I am sure I'll have to uninstall eventually..so still need to know about this empty thing... 

I also have the error when you click the heart..  so probably need to uninstall until that is fixed..  I thought this new one fixed that problem.. 
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on October 04, 2008, 05:24:13 PM
Refresh your caches... it's that damn cache problem again. I'm gonna go bump my other topic about this.

I've also discovered an error in the non-javascript page that it uses... find:
$message_request = $smcFunc['db_query']('', '
SELECT *
FROM {db_prefix}messages
WHERE id_msg = {int:message}
LIMIT 1',
array(
'message' => $message_id,
)
);


and replace with:
$message_request = $smcFunc['db_query']('', '
SELECT *
FROM {db_prefix}messages
WHERE id_msg = {int:message}
LIMIT 1',
array(
'message' => $message,
)
);
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Bigguy on October 04, 2008, 07:12:40 PM
Hmm, when I couldn't access it it was installed. Now that it's not I can access that table. I will install it now and see if I can access that table through phpmyadmin again. Not sure if that means anything but it seems weird that the only time I can browse that table is when it is not installed.

Quote from: YodaOfDarkness on October 04, 2008, 02:09:34 PM
You said you couldn't access it before, so I'd assume that the rep system couldn't either. Does it work now?
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on October 04, 2008, 07:18:16 PM
do the code change above, and flush your cache. Problem solved :D
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Bigguy on October 04, 2008, 07:20:26 PM
Ok the mod is installed and I can access that table and I still get this error...the message column is also there:

QuoteThe database value you're trying to insert does not exist: message

Was this directed at me ??? :

Quote from: YodaOfDarkness on October 04, 2008, 07:18:16 PM
do the code change above, and flush your cache. Problem solved :D

Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on October 04, 2008, 08:55:52 PM
Quote from: YodaOfDarkness on October 04, 2008, 05:24:13 PM
Refresh your caches... it's that damn cache problem again. I'm gonna go bump my other topic about this.

I've also discovered an error in the non-javascript page that it uses... find:
$message_request = $smcFunc['db_query']('', '
SELECT *
FROM {db_prefix}messages
WHERE id_msg = {int:message}
LIMIT 1',
array(
'message' => $message_id,
)
);


and replace with:
$message_request = $smcFunc['db_query']('', '
SELECT *
FROM {db_prefix}messages
WHERE id_msg = {int:message}
LIMIT 1',
array(
'message' => $message,
)
);


That's the fix. It's been updated in the new package.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Bigguy on October 04, 2008, 09:28:15 PM
After refreshing the cache it looks like it works without downnloading the new package. Thanks for all the great help so far man. I will let ya know if I run into any other problems. :)
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Bigguy on October 04, 2008, 09:36:37 PM
This is the only error I get while giving karma, everything works so far as I can tell:

http://www.smfhelper.info/forum/index.php?action=modifykarma
Apply Filter: Only show the errors with the same message
8: Undefined index: sa
Apply Filter: Only show the errors from this file
File: /home/*****/public_html/smfhelper/forum/Sources/Karma.php
Line: 225
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on October 04, 2008, 09:38:31 PM
make sure you do the code change too, for accessibility.

And ignore that error for now :)
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Bigguy on October 04, 2008, 09:57:31 PM
What file do I do that code change in. ??? yeah no problem I can ignore 1 error for now. ;)
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on October 05, 2008, 03:00:53 AM
Karma.php, in the SendKarma function.

Sorry for the late response, wifi is next to impossible to get in the stadium once a Dodger game starts ;)
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Bigguy on October 05, 2008, 11:06:22 AM
That's understandable, no problems here your help has been great. All edits are done and things are working perfect, thank you sir. :)
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on October 05, 2008, 12:28:36 PM
I'd suggest giving yourself 10000 points (100 power) to jump start things :)
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Bigguy on October 05, 2008, 12:48:57 PM
Ok; I'll do that. Ya know what would be nice is the ability to use smilies in the popup window when you leave a comment. :)
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on October 05, 2008, 02:00:42 PM
I'm surprised I never thought of that...

in /Sources/Profile-View.php find:
'comment' => $row['comment'],
and replace it with
'comment' => parsesmileys($row['comment']),
both times it appears
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Bigguy on October 05, 2008, 02:23:37 PM
Awesome; I will add that sometime today then. That's great. :)
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: levlfs on October 07, 2008, 05:04:15 PM
Hello.

Could you help me, please, with the next issue:
- everything is installed and looks like ok
- when we are being logged in (cookies are cleaned before it, just for case) try to change reputation (karma), we get the next message:
"Session verification failed. Please try logging out and back in again, and then try again."

What could be the possible problem?

Thank you!
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on October 08, 2008, 02:18:39 AM
Look at the page source for any thread - can you find this line:
<input type="hidden" name="sc" value="
? It should have a little alphanumeric string after it.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: levlfs on October 08, 2008, 02:36:03 AM
Quote from: YodaOfDarkness on October 08, 2008, 02:18:39 AM
Look at the page source for any thread - can you find this line:
<input type="hidden" name="sc" value="
? It should have a little alphanumeric string after it.

Hello.
Yes, there is such line in few places.

Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on October 08, 2008, 02:40:02 AM
And there's also a line that says
<span id="reputation_menu" style="visibility: hidden; display: none;"> ?

Aaaaand I'm assuming there were no install errors?
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: levlfs on October 08, 2008, 02:54:42 AM
Quote from: YodaOfDarkness on October 08, 2008, 02:40:02 AM
And there's also a line that says
<span id="reputation_menu" style="visibility: hidden; display: none;"> ?

No. There is no such line at the source of the thread.

Quote from: YodaOfDarkness on October 08, 2008, 02:40:02 AM
Aaaaand I'm assuming there were no install errors?

Hope so.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on October 08, 2008, 10:15:51 AM
Do the Display.template.php edits near the top of this file:
http://custom.simplemachines.org/mods/index.php?action=parse;mod=1129;attach=70966;smf_version=2.0%20Beta%204
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Bigguy on October 08, 2008, 10:26:02 AM
This works good...I think but for some reason I am not showing any comments for anyone. I have an undefined index in Karma.php


8: Undefined index: uid


Quote from: YodaOfDarkness on October 05, 2008, 02:00:42 PM
I'm surprised I never thought of that...

in /Sources/Profile-View.php find:
'comment' => $row['comment'],
and replace it with
'comment' => parsesmileys($row['comment']),
both times it appears
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on October 08, 2008, 10:46:02 AM
what line is it on?
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Bigguy on October 08, 2008, 02:59:07 PM
Damn; not sure now. I emptied my error logs and am trying to recreate the error again but haven't been able to yet.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on October 08, 2008, 03:12:10 PM
Well I guess that's a good thing ;)
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Bigguy on October 08, 2008, 03:53:36 PM
I guess so, but I would rather have it solved. ;)
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Bigguy on October 09, 2008, 03:24:12 PM
It seems this is what was stopping the comments. If I take out the edit you told me to do the comments come back.

Quote from: YodaOfDarkness on October 05, 2008, 02:00:42 PM
I'm surprised I never thought of that...

in /Sources/Profile-View.php find:
'comment' => $row['comment'],
and replace it with
'comment' => parsesmileys($row['comment']),
both times it appears
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: tk2012 on October 11, 2008, 01:16:30 AM
Hey Yoda

I went ahead and upgraded to b4.0... ugggh.  I'm having a lot of trouble installing many mods that say they are compatible with b4.0. 

Anyway, with this one, the display.template.php file failed the test with the 5th and 6th edits.  I made those two edits myself and then uploaded the package.  Now, I get a template parse error when I try to get into a post...

QuoteThere was a problem loading the /Themes/default/Display.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.

You may want to try to refresh this page or use the default theme.
syntax error, unexpected '<'

What exactly do I do here?

Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on October 11, 2008, 11:20:00 AM
If the 3rd and 4th were okay, you shouldn't do the 5th and 6th. That's why it says to ignore it.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: vagrant on October 13, 2008, 04:15:12 AM
smf 2.0 beta 4

Is there any simple edit so that only admin can see who sent what rep ?
ie, normal user only see's the comment, not who sent it unless they include their name in the comment.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on October 13, 2008, 11:17:56 AM
ya, there is

In Profile.template.php, find:
$karma_received['executor']
and replace it with
$user_info['is_admin'] ? $karma_received['executor'] : '-'
And that'll show a dash in the box.

You also need to find:
function template_viewKarma()
{
global $context, $settings, $options, $scripturl, $modSettings, $txt;

and put
, $user_info
in that line of globals.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Bigguy on October 13, 2008, 11:43:40 AM
Line 233 is the undefined index error for the uid that I posted earlier. Here is the code at that line:

// The user ID _must_ be a number, no matter what.
$uid = (int) $_POST['uid'];
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on October 13, 2008, 12:21:43 PM
and that error occurs when ______? And does it make anything not work?
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Bigguy on October 13, 2008, 02:04:58 PM
According to the error log it was a guest that did that one and also created the error on line 225 just above this error:

Undefined index: sa

So the whole block of code that is producing the error is this:

// A fix for templates that don't get edited correctly, and still show the old links.
if($_GET['sa'] == 'applaud' || $_GET['sa'] == 'smite')
redirectexit('action=reputation;uid=', $_GET['uid'], ';m=', $_GET['m'], ';topic=', $_GET['topic'], ';sesc=', $_GET['sesc'], '');

// If the mod is disabled, show an error.
if (empty($modSettings['karmaMode']))
fatal_lang_error('feature_disabled', true);

// The user ID _must_ be a number, no matter what.
$uid = (int) $_POST['uid'];


Everything still works though
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: vagrant on October 13, 2008, 05:05:52 PM
thanks for that YodaOfSpookness

Would send ya +rep if i could ;)
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Sudhakar Arjunan on October 14, 2008, 01:49:31 PM
A small note before starting the topic.

When i come through the mod page here. My chrome showed me , that this page is suspecious and installing malware on the user system without there knowledge.

And when i clicked proceed anyway, my google chrome crashed.

Please check it once.

------------------------------------

And my install problem is ,

I have a clean smf 2.04 with no mods more than 5.

I have got two test failed in my display template which i have attached.

Kindly review it and help me to clear the errors and install it safely.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on October 14, 2008, 02:25:25 PM
Ignore the two failed tests, just like it says to do.

and I'm willing to bet it was one of the advertisements on the top of the forum that caused Chrome to crash. I doubt tens of thousands of views for the first page would go by and suddenly there's malware there.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Sudhakar Arjunan on October 15, 2008, 04:24:28 AM
Yes i have reported this to oldiesmann, and he said . We found that it a signature of a member which google things that it may be a malware.

Ok for my test failed. could i edit it or ignore it even after install.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on October 15, 2008, 05:01:13 AM
Just ignore it, it's supposed to give an error (fixed in the new package, by the way)
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: tk2012 on October 15, 2008, 01:11:36 PM
I love the way in which it now pops up next to where you hit the heart instead of going to the top of the page previously.  Great mod!!!  Thanks SupremeYodaOfSpookness
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on October 15, 2008, 01:14:27 PM
That was a caching problem you were having :P it's always done that
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Sudhakar Arjunan on October 15, 2008, 01:16:54 PM
when i removed the earlier mod and replaced the new modified mod, i clicked on install and it shows no error.

But i have one quick question.

I have only few 20 mods in my forum and the installed mod shows as apply mod and in the installed page shows no mod.

Any ideas to it.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: tk2012 on October 15, 2008, 01:19:11 PM
Well, I'm glad it works now!  This really is one of the best mods out there.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on October 15, 2008, 01:41:50 PM
Quote from: asudhakar on October 15, 2008, 01:16:54 PM
when i removed the earlier mod and replaced the new modified mod, i clicked on install and it shows no error.

But i have one quick question.

I have only few 20 mods in my forum and the installed mod shows as apply mod and in the installed page shows no mod.

Any ideas to it.

I don't quite understand what you're saying - is there no [Install] button on the "Browse Packages" page?
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Sudhakar Arjunan on October 15, 2008, 01:45:29 PM
I have made a upgrade to our 2.0.4 beta by using the tables of existing 1.1.6.

When i go to download page, all mod says apply mod, but those are already installed.

Even in installed mod section, i found no mods shows as installed.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on October 15, 2008, 01:49:50 PM
The upgrade from 1.1.6 should have uninstalled all of your mods... you did replace all of the files, correct? None of them should be working, or even appear as existing.

If so, you should install the ones that have install buttons, and delete the ones that don't (and find a 2.0 version).
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Sudhakar Arjunan on October 15, 2008, 02:01:28 PM
all mods were working fine.

But buttons were also shows apply mod.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on October 15, 2008, 02:45:16 PM
Does it affect your forum? There's really nothing you can do about it not showing [uninstall], so if it doesn't hurt anything you can just let it be :)

and you don't need to install the version I uploaded yesterday - it was just a change in the package file, not the actual mod.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Sudhakar Arjunan on October 16, 2008, 04:02:39 AM
No the test failed mod, i have never installed.

I have downloaded a copy yesterday and clicked on installed. It showed everything goes good on test passed for all files.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: psynx on October 16, 2008, 10:32:44 AM
is this compatible with smf 1.1.5 too?
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Sudhakar Arjunan on October 16, 2008, 10:40:48 AM
Quote from: psynx on October 16, 2008, 10:32:44 AM
is this compatible with smf 1.1.5 too?

Its compactable only with 2.0.3 and above.
Earlier it has been support, but now it does not supports 1.1.5 and 1.1.6.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on October 16, 2008, 01:59:47 PM
The 1.1.x branch was never supported, and there are no plans to downgrade it.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Trinny on October 19, 2008, 11:29:24 AM
Well. This mod rocks, it's truly brilliant Yoda, Thanks for the time and effort you put into making it.

Here's the issue that I'm having. (and bless, I read the entire thread too). 

When giving reputation for a post on the default theme, the rep box pops up and works perfectly. On other themes, the rep section appears at the top of the thread. Not good, cos people overlook it, and ask me why the rep button doesn't work. So, I added this:

.repbars img
{
   padding: 0 1px 0 0;
}

#reputation_menu{
   position: absolute;
   border: 1px solid black;
   z-index: 100;
}


to the end of style.css for one of my regular themes on my test forum. PERFECT, fixed it instantly. Then I went to the live board, and did the same thing to the themes there, and nothing. No fix, it's still failing to generate a rep pop up box. now I suspect this has to do with a little project I've been working with antechinus on. He's on a mission to "multi" and "drop menu" every theme ever made ;)

So the style.css in the themes that I have installed on my live site are altered greatly due to the drop menu system on each theme. On themes without the drop menu system, this bit of code works perfectly to correct the problem.

I'll attach the altered css from one of the themes, if you will kindly review it and give any suggestions for fixing the pop up box on these themes, I would greatly appreciate it.

FYI: 2.0b4, the attached css from the theme is Mystic Multi with drop menus

website HERE, 18 and older please (http://caged-rage.com/index.php)

Thanks in advance.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on October 19, 2008, 01:12:45 PM
Well first off, did you clear your cache after modifying the live files?
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Trinny on October 19, 2008, 01:28:08 PM
Quote from: YodaOfSpookness on October 19, 2008, 01:12:45 PM
Well first off, did you clear your cache after modifying the live files?
Of course not. not only would that be the intelligent thing to do, but it would have prevented me from adding to the fifteen repeatedly asked questions in this thread :D

Thank you Yoda. Again, brilliant mod, well done.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Trinny on October 19, 2008, 02:20:26 PM
Ok, that fixed, I've turned my attention to something less important, but almost equally vexing. This isn't an issue with the mod exactly, it now functions perfectly on all themes..

But the rep comments left by users are listed from oldest to newest. I don't see a setting anywhere to change this. What changes are needed to list reputation given and received in order of newest to oldest?
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on October 19, 2008, 03:14:06 PM
In /Sources/Profile-View.php, find
// A list of karma they've been given
$request = $smcFunc['db_query']('', '
SELECT *
FROM {db_prefix}log_karma
WHERE id_target = {int:target}
LIMIT 15',
array(
'target' => $memID,
)
);

replace with
// A list of karma they've been given
$request = $smcFunc['db_query']('', '
SELECT *
FROM {db_prefix}log_karma
WHERE id_target = {int:target}
ORDER BY log_time DESC
LIMIT 15',
array(
'target' => $memID,
)
);

just adding that ORDER BY line

and find:
// A list of karma they've sent
$request = $smcFunc['db_query']('', '
SELECT *
FROM {db_prefix}log_karma
WHERE id_executor = {int:executor}
LIMIT 15',
array(
'executor' => $memID
)
);

and add the same line right before LIMIT 15
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Trinny on October 19, 2008, 03:24:44 PM
Awesomesauce. Thank you very much for your assistance.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on October 19, 2008, 03:32:44 PM
Welcome :D I'll try to put that in as an option in the next release.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: glennk on October 19, 2008, 03:56:11 PM
Ok.

Earlier on in this topic. Some guy called PIMPER was going to recode this for 1.1.5. Then he mysteriously disapeared. Did it ever get recoded for earlier smf.

Also If I was to ugrade to 2.0 beta am I in for problems or is it getting close to stable now ?

Thanks - Glenn
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Trinny on October 19, 2008, 04:03:42 PM
Quote from: glennk on October 19, 2008, 03:56:11 PM

Also If I was to ugrade to 2.0 beta am I in for problems or is it getting close to stable now ?

Thanks - Glenn
I'm running 2.0b4 on a live site, and I haven't had any problems apart from the occasional modification or theme tweak. Mind you, those kind of problems aren't SMF version exclusive.

Personally I think it's an incredible upgrade. It should stop those lovely "please can someone tell me how to make the button show?" questions, and it's a relief not to have to modify every theme for every modification that you make.  The upgrade process went flawlessly for me.

At any rate, back to the topic: While I agree that this mod is head and shoulders above the Karma system, and is one of the smoother functioning mods available, I also feel that it would be a waste of time to downgrade this mod for earlier versions. All of the Karma points that your users are passing around will be applied to the reputation system once you decide to upgrade and install the mod on 2.0.x. Just my 2 cents.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: glennk on October 20, 2008, 03:21:22 PM
Thanks Trinny. That sounds quite positive. The mods I use seem to be updated already for the smf 2, so it might be worth me upgrading now. I was/am a little scarred it all goes pair shaped and my forum stops working.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: tk2012 on October 21, 2008, 12:25:38 AM
This error is popping up now that I've upgraded to b4.0

Have had about 6 of these show up since installing it on Saturday.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on October 21, 2008, 12:46:28 AM
/Sources/Karma.php, find this:
if($_GET['sa'] == 'applaud' || $_GET['sa'] == 'smite')
replace with
if(isset($_GET['sa']) && ($_GET['sa'] == 'applaud' || $_GET['sa'] == 'smite'))
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: tk2012 on October 21, 2008, 01:00:43 AM
Much appreciated.  I can edit like a fiend.. I just don;t know what it all means! LOL
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Sudhakar Arjunan on October 26, 2008, 12:54:39 AM
I have this mod working good in my default theme.

Showup all images and it shows reputation images as well as no as 2.

But in my custom theme, it does not show the images even i have added the images inside the custom theme images folder.

And the same profile reputation power shows here like 100 ect, but inside my default theme as 2 for the same profile.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: lepard on October 28, 2008, 01:19:56 AM
When people go to their profile to view their reputation, they can't see beyond the first page of records, What am I doing wrong?
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on October 28, 2008, 03:31:43 AM
there's a fix for that further back in this thread, maybe on the page before this. When I first wrote that part, I wasn't thinking straight and didn't include pagination, but that'll be all fixed in the next version.

asudhakar: if you look at the page source, where does it show the images as coming from? Do they point to a valid location?
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Sudhakar Arjunan on November 01, 2008, 04:17:15 PM
Quote from: YodaOfSpookness on October 28, 2008, 03:31:43 AM
asudhakar: if you look at the page source, where does it show the images as coming from? Do they point to a valid location?

For default theme, its taking and showing properly from the valid default location.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: thekid65 on November 02, 2008, 07:24:39 AM
We've noticed that the pop-up box to enter rep and rep comments disappears after approx 25 seconds, is this normal, and is this setting adjustable?
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on November 02, 2008, 11:24:55 AM
Yes, it's programmed to disappear after 30 seconds. To change it, go into /themes/(your theme or default)/scripts/script.js and find
var disappeardelay = 30000;  // karma box hide display time, in milliseconds
and change it to however many seconds you want it to use, followed by 000

A.SK, not your default theme, your custom theme. Where is it trying to display the image from?
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: thekid65 on November 03, 2008, 01:51:44 PM
Quote from: YodaOfDarkness on November 02, 2008, 11:24:55 AM
Yes, it's programmed to disappear after 30 seconds. To change it, go into /themes/(your theme or default)/scripts/script.js and find
var disappeardelay = 30000;  // karma box hide display time, in milliseconds
and change it to however many seconds you want it to use, followed by 000


That did the trick, thank you.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Sudhakar Arjunan on November 03, 2008, 02:00:23 PM
Quote from: YodaOfDarkness on November 02, 2008, 11:24:55 AM
A.SK, not your default theme, your custom theme. Where is it trying to display the image from?

Really sorry, i dont understand it.

The theme am using is Energy.

Its not showing any image at any post or profile.

But it works and shows image when am at default theme.

Link to my forum : http://discuss.itacumens.com
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on November 03, 2008, 02:28:46 PM
Okay, did the theme edits get made?
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Sudhakar Arjunan on November 04, 2008, 01:17:02 AM
Quote from: YodaOfDarkness on November 03, 2008, 02:28:46 PM
Okay, did the theme edits get made?

No , i havent. Will do it now. Thank you.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: glennk on November 05, 2008, 02:30:41 AM
Hi There,

This looks great and Im sure my forum members will love it. Am I right in thinking that when you give rep and add a comment that the comment should appear in the persons post you are agreeing with ??

If this is the case the comments Im giving arent showing up.

These are the errors in the log

http://www.whitbyseaanglers.co.uk/forum/index.php?pretty;board=north-east-coast-fishing;topic=forum-downtime.0&amp;action=reputation;uid=569;m=58240;sesc

2: mysql_free_result(): supplied argument is not a valid MySQL result resource

File: /home/glennk/public_html/forum/Sources/Karma.php
Line: 510

----------------------------------------------

8: Undefined index: sa
Apply Filter: Only show the errors from this file
File: /home/glennk/public_html/forum/Sources/Karma.php
Line: 225

------------------------------------------------

: Undefined index: uid
Apply Filter: Only show the errors from this file
File: /home/glennk/public_html/forum/Sources/Karma.php
Line: 233
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on November 05, 2008, 03:17:19 AM
The second and third errors aren't critical, but attach your Karma.php file and I'll take a look at the first one.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: glennk on November 05, 2008, 03:23:39 AM
thanks,

Not sure how to attach a file here though ?

these are lines 508-510

// Load the membergroups allowed, and check permissions.
      $board_groups = $board['member_groups'] == '' ? array() : explode(',', $board['member_groups']);
      $smcFunc['db_free_result']($request);


Quote<?php
/**********************************************************************************
* Karma.php                                                                       *
***********************************************************************************
* SMF: Simple Machines Forum                                                      *
* Open-Source Project Inspired by Zef Hemel ([email protected])                    *
* =============================================================================== *
* Software Version:           SMF 2.0 Beta 4                                      *
* Software by:                Simple Machines (http://www.simplemachines.org)     *
* Copyright 2006-2008 by:     Simple Machines LLC (http://www.simplemachines.org) *
*           2001-2006 by:     Lewis Media (http://www.lewismedia.com)             *
* Support, News, Updates at:  http://www.simplemachines.org                       *
***********************************************************************************
* This program is free software; you may redistribute it and/or modify it under   *
* the terms of the provided license as published by Simple Machines LLC.          *
*                                                                                 *
* This program is distributed in the hope that it is and will be useful, but      *
* WITHOUT ANY WARRANTIES; without even any implied warranty of MERCHANTABILITY    *
* or FITNESS FOR A PARTICULAR PURPOSE.                                            *
*                                                                                 *
* See the "license.txt" file for details of the Simple Machines license.          *
* The latest version can always be found at http://www.simplemachines.org.        *
**********************************************************************************/

if (!defined('SMF'))
   die('Hacking attempt...');

/*   This file contains one humble function, which applauds or smites a user.

   void ModifyKarma()
      - gives or takes karma from a user.
      - redirects back to the referrer afterward, whether by javascript or
        the passed parameters.
      - requires the karma_edit permission, and that the user isn't a guest.
      - depends on the karmaMode, karmaWaitTime, and karmaTimeRestrictAdmins
        settings.
      - is accessed via ?action=modifykarma.
*/

/******************* Disabled by Advanced Reputation System **********************
**********************************************************************************
// Modify a user's karma the old and disgusting way...
function ModifyKarma_old()
{
   global $modSettings, $txt, $user_info, $topic, $smcFunc;

   // If the mod is disabled, show an error.
   if (empty($modSettings['karmaMode']))
      fatal_lang_error('feature_disabled', true);

   // If you're a guest or can't do this, blow you off...
   is_not_guest();
   isAllowedTo('karma_edit');

   checkSession('get');

   // If you don't have enough posts, tough luck.
   // !!! Should this be dropped in favor of post group permissions?  Should this apply to the member you are smiting/applauding?
   if ($user_info['posts'] < $modSettings['karmaMinPosts'])
      fatal_lang_error('not_enough_posts_karma', true, array($modSettings['karmaMinPosts']));

   // And you can't modify your own, punk! (use the profile if you need to.)
   if (empty($_REQUEST['uid']) || (int) $_REQUEST['uid'] == $user_info['id'])
      fatal_lang_error('cant_change_own_karma', false);

   // The user ID _must_ be a number, no matter what.
   $_REQUEST['uid'] = (int) $_REQUEST['uid'];

   // Applauding or smiting?
   $dir = $_REQUEST['sa'] != 'applaud' ? -1 : 1;

   // Delete any older items from the log. (karmaWaitTime is by hour.)
   $smcFunc['db_query']('', '
      DELETE FROM {db_prefix}log_karma
      WHERE {int:current_time} - log_time > {int:wait_time}',
      array(
         'wait_time' => (int) ($modSettings['karmaWaitTime'] * 3600),
         'current_time' => time(),
      )
   );

   // Start off with no change in karma.
   $action = 0;

   // Not an administrator... or one who is restricted as well.
   if (!empty($modSettings['karmaTimeRestrictAdmins']) || !allowedTo('moderate_forum'))
   {
      // Find out if this user has done this recently...
      $request = $smcFunc['db_query']('', '
         SELECT action
         FROM {db_prefix}log_karma
         WHERE id_target = {int:id_target}
            AND id_executor = {int:current_member}
         LIMIT 1',
         array(
            'current_member' => $user_info['id'],
            'id_target' => $_REQUEST['uid'],
         )
      );
      if ($smcFunc['db_num_rows']($request) > 0)
         list ($action) = $smcFunc['db_fetch_row']($request);
      $smcFunc['db_free_result']($request);
   }

   // They haven't, not before now, anyhow.
   if (empty($action) || empty($modSettings['karmaWaitTime']))
   {
      // Put it in the log.
      $smcFunc['db_insert']('replace',
            '{db_prefix}log_karma',
            array('action' => 'int', 'id_target' => 'int', 'id_executor' => 'int', 'log_time' => 'int'),
            array($dir, $_REQUEST['uid'], $user_info['id'], time()),
            array('id_target', 'id_executor')
         );

      // Change by one.
      updateMemberData($_REQUEST['uid'], array($dir == 1 ? 'karma_good' : 'karma_bad' => '+'));
   }
   else
   {
      // If you are gonna try to repeat.... don't allow it.
      if ($action == $dir)
         fatal_lang_error('karma_wait_time', false, array($modSettings['karmaWaitTime'], $txt['hours']));

      // You decided to go back on your previous choice?
      $smcFunc['db_query']('', '
         UPDATE {db_prefix}log_karma
         SET action = {int:action}, log_time = {int:current_time}
         WHERE id_target = {int:id_target}
            AND id_executor = {int:current_member}',
         array(
            'current_member' => $user_info['id'],
            'action' => $dir,
            'current_time' => time(),
            'id_target' => $_REQUEST['uid'],
         )
      );

      // It was recently changed the OTHER way... so... reverse it!
      if ($dir == 1)
         updateMemberData($_REQUEST['uid'], array('karma_good' => '+', 'karma_bad' => '-'));
      else
         updateMemberData($_REQUEST['uid'], array('karma_bad' => '+', 'karma_good' => '-'));
   }

   // Figure out where to go back to.... the topic?
   if (!empty($topic))
      redirectexit('topic=' . $topic . '.' . $_REQUEST['start'] . '#msg' . (int) $_REQUEST['m']);
   // Hrm... maybe a personal message?
   elseif (isset($_REQUEST['f']))
      redirectexit('action=pm;f=' . $_REQUEST['f'] . ';start=' . $_REQUEST['start'] . (isset($_REQUEST['l']) ? ';l=' . (int) $_REQUEST['l'] : '') . (isset($_REQUEST['pm']) ? '#' . (int) $_REQUEST['pm'] : ''));
   // JavaScript as a last resort.
   else
   {
      echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
   <head>
      <title>...</title>
      <script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
         history.go(-1);
      // ]]></script>
   </head>
   <body>&laquo;</body>
</html>';

      obExit(false);
   }
}
**********************************************************************************
******************** Disabled by Advanced Reputation System *********************/

// What's this?  I dunno, what are you talking about?  Never seen this before, nope.  No siree.
function BookOfUnknown()
{
   global $context;

   if (strpos($_GET['action'], 'mozilla') !== false && !$context['browser']['is_gecko'])
      redirectexit('http://www.getfirefox.com/');
   elseif (strpos($_GET['action'], 'mozilla') !== false)
      redirectexit('about:mozilla');

   echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
   <head>
      <title>The Book of Unknown, ', @$_GET['verse'] == '2:18' ? '2:18' : '4:16', '</title>
      <style type="text/css">
         em
         {
            font-size: 1.3em;
            line-height: 0;
         }
      </style>
   </head>
   <body style="background-color: #444455; color: white; font-style: italic; font-family: serif;">
      <div style="margin-top: 12%; font-size: 1.1em; line-height: 1.4; text-align: center;">';
   if (@$_GET['verse'] == '2:18')
      echo '
         Woe, it was that his name wasn\'t <em>known</em>, that he came in mystery, and was recognized by none.&nbsp;And it became to be in those days <em>something</em>.&nbsp; Something not yet <em id="unknown" name="[Unknown]">unknown</em> to mankind.&nbsp; And thus what was to be known the <em>secret project</em> began into its existence.&nbsp; Henceforth the opposition was only <em>weary</em> and <em>fearful</em>, for now their match was at arms against them.';
   else
      echo '
         And it came to pass that the <em>unbelievers</em> dwindled in number and saw rise of many <em>proselytizers</em>, and the opposition found fear in the face of the <em>x</em> and the <em>j</em> while those who stood with the <em>something</em> grew stronger and came together.&nbsp; Still, this was only the <em>beginning</em>, and what lay in the future was <em id="unknown" name="[Unknown]">unknown</em> to all, even those on the right side.';
   echo '
      </div>
      <div style="margin-top: 2ex; font-size: 2em; text-align: right;">';
   if (@$_GET['verse'] == '2:18')
      echo '
         from <span style="font-family: Georgia, serif;"><strong><a href="http://www.unknownbrackets.com/about:unknown" style="color: white; text-decoration: none; cursor: text;">The Book of Unknown</a></strong>, 2:18</span>';
   else
      echo '
         from <span style="font-family: Georgia, serif;"><strong><a href="http://www.unknownbrackets.com/about:unknown" style="color: white; text-decoration: none; cursor: text;">The Book of Unknown</a></strong>, 4:16</span>';
   echo '
      </div>
   </body>
</html>';

   obExit(false);
}

// Modify a user's karma, only better than the old one!
function ModifyKarma()
{
   global $modSettings, $txt, $user_info, $smcFunc;

   // A fix for templates that don't get edited correctly, and still show the old links.
   if($_GET['sa'] == 'applaud' || $_GET['sa'] == 'smite')
      redirectexit('action=reputation;uid=', $_GET['uid'], ';m=', $_GET['m'], ';topic=', $_GET['topic'], ';sesc=', $_GET['sesc'], '');

   // If the mod is disabled, show an error.
   if (empty($modSettings['karmaMode']))
      fatal_lang_error('feature_disabled', true);

   // The user ID _must_ be a number, no matter what.
   $uid = (int) $_POST['uid'];

   // If you're a guest or can't do this, blow you off...
   is_not_guest();
   isAllowedTo('karma_edit');

   checkSession('request');

   // If you don't have enough posts, tough luck.
   // !!! Should this be dropped in favor of post group permissions?  Should this apply to the member you are smiting/applauding?
   if ($user_info['posts'] < $modSettings['karmaMinPosts'])
      fatal_lang_error('not_enough_posts_karma', true, array($modSettings['karmaMinPosts']));

   // And you can't modify your own, punk! (use the profile if you need to.)
   if (empty($uid) || $uid == $user_info['id'])
      fatal_lang_error('cant_change_own_karma', false);

   // Find their (super)power (and their secret identity)! Can't go into negatives...
   $points = $user_info['karma_good'] - $user_info['karma_bad'];
   $power = ($points - ($points % $modSettings['karmaBarPower'])) / $modSettings['karmaBarPower'];
   $power = (int) (($power > 0) ? $power : 0);

   // Has to be an int
   $message_id = (int) $_POST['m'];
   $topic_id = (int) $_POST['topic'];

   // Should use a modSetting for 300?
   $comment = (strlen($_POST['reputation_comment']) > 300) ? substr($_POST['reputation_comment'], 0, 300) : $_POST['reputation_comment'];
   
   // I fart in your general direction!
   if (strtolower($comment) == 'your mother was a hamster and your father smelt of elderberries!')
      fatal_error('...and Saint Attila raised the hand grenade up on high, saying, "O Lord, bless this Thy hand grenade that with it Thou mayest blow Thine enemies to tiny bits, in Thy mercy." And the Lord did grin and the people did feast upon the lambs and sloths and carp and anchovies and orangutans and breakfast cereals, and fruit bats and large chu... *ahem* And the Lord spake, saying, "First shalt thou take out the Holy Pin, then shalt thou count to three, no more, no less. Three shall be the number thou shalt count, and the number of the counting shall be three. Four shalt thou not count, neither count thou two, excepting that thou then proceed to three. Five is right out. Once the number three, being the third number, be reached, then lobbest thou thy Holy Hand Grenade of Antioch towards thy foe, who being naughty in my sight, shall snuff it." Amen.', false);

   //Find the time 24 hours ago... but wait... what if karmaWaitTime is greater than 24?! Bad var name, but who gives a hoot, if it works?
   $yesterday = time() - 86400;
   $longtimeago = time() - (60 * 60 * ($modSettings['karmaWaitTime']));
   $hoursAgo = ($modSettings['karmaWaitTime'] < 24) ? $yesterday : $longtimeago;

   // Applauding or smiting? Don't try to do a cheap javascript injection on me...
   switch ($_POST['type']) {
      case 'agree':
         if(!allowedTo('positive_karma'))
            fatal_lang_error('karma_cant_agree', false);
         $karma_which = 'karma_good';
         break;
      case 'disagree':
         if(!allowedTo('negative_karma'))
            fatal_lang_error('karma_cant_disagree', false);
         $karma_which = 'karma_bad';
         break;
      default:
         // Should never get here
         fatal_lang_error('karma_choose_action', false);
   }

   // Going in order of permissions... it only gets added if it passes all of the tests!

   // Used up all of their $modSettings['karmaMaxPerDay'] ?
   if (!empty($modSettings['karmaMaxPerDay']) && ($modSettings['karmaMaxPerDay'] > 0))
   {
      // Find out if this user has done this in the past 24 hours.
      $request = $smcFunc['db_query']('', '
         SELECT log_time
         FROM {db_prefix}log_karma
         WHERE id_executor = {int:current_member}
            AND log_time >= {int:yesterday}
         LIMIT 1',
         array(
            'current_member' => $user_info['id'],
            'yesterday' => $hoursAgo,
         )
      );
      if ($smcFunc['db_num_rows']($request) >= $modSettings['karmaMaxPerDay']){ // but why would they be over?
         $smcFunc['db_free_result']($request);
         fatal_lang_error('karma_maxed_out', false, array($modSettings['karmaMaxPerday']));
      }

      // They're good on this one :) Continue on to the next test!
      $smcFunc['db_free_result']($request);
   }

   // Haven't waited long enough?
   if (!empty($modSettings['karmaWaitTime']) && (!empty($modSettings['karmaTimeRestrictAdmins']) || !allowedTo('moderate_forum')) && $modSettings['karmaWaitTime'] > 0)
   {
      // Find out if this user has done this in the past $longenough.
      $request = $smcFunc['db_query']('', '
         SELECT log_time
         FROM {db_prefix}log_karma
         WHERE id_executor = {int:current_member}
            AND log_time >= {int:waittime}
         LIMIT 1',
         array(
            'current_member' => $user_info['id'],
            'waittime' => $longtimeago,
         )
      );
      if ($smcFunc['db_num_rows']($request) > 0){
         // Give them approximate minutes until they can, to be nice ;)
         list ($log_time) = $smcFunc['db_fetch_row']($request);
         $log_time_wait = ($log_time + (60 * 60 * $modSettings['karmaWaitTime'])) - time(); // seconds
         $log_time_wait = ($log_time_wait - ($log_time_wait % 60)) / 60; // minutes
         $smcFunc['db_free_result']($request);
         fatal_lang_error('karma_please_wait', false, array($modSettings['karmaWaitTime'], $log_time_wait));
      }

      // They're good on this one :) Continue on to the next test!
      $smcFunc['db_free_result']($request);
   }

   // Need to spread it around a bit? No, not the flu, silly!
   if (!empty($modSettings['karmaSpreadAround']) && ($modSettings['karmaSpreadAround'] > 0))
   {
      // Grab the latest karmaSpreadAround actions - if the target is in there, throw an error!
      $request = $smcFunc['db_query']('', '
         SELECT id_target
         FROM {db_prefix}log_karma
         WHERE id_executor = {int:current_member}
         ORDER BY log_time DESC
         LIMIT {int:spread}',
         array(
            'current_member' => $user_info['id'],
            'spread' => $modSettings['karmaSpreadAround'],
         )
      );
      if ($smcFunc['db_num_rows']($request) > 0)
         while($row = $smcFunc['db_fetch_assoc']($request))
            if($row['id_target'] == $uid)
               fatal_lang_error('karma_spread_around', false);

      // They're good on this one :) Continue on to the next test!
      $smcFunc['db_free_result']($request);
   }

   // One last test - have they already sent rep to this particular post?
   $request = $smcFunc['db_query']('', '
      SELECT log_time
      FROM {db_prefix}log_karma
      WHERE id_executor = {int:executor}
         AND message = {string:message}
      LIMIT 1',
      array(
         'executor' => $user_info['id'],
         'message' => $message_id
      )
   );
   $alreadySent = $smcFunc['db_num_rows']($request) != 0;
   $smcFunc['db_free_result']($request);

   if($alreadySent)
      fatal_lang_error('karma_sent_twice', false);

   // Finally! Now do an update

   if($karma_which == 'karma_good')
      $request = $smcFunc['db_query']('', '
         UPDATE {db_prefix}members
         SET karma_good = karma_good + {int:power}
         WHERE id_member = {int:uid}',
         array(
            'power' => $power,
            'uid' => $uid,
         )
      );
   else
      $request = $smcFunc['db_query']('', '
         UPDATE {db_prefix}members
         SET karma_bad = karma_bad + {int:power}
         WHERE id_member = {int:uid}',
         array(
            'power' => $power,
            'uid' => $uid,
         )
      );

   if(!$request)
      fatal_lang_error('karma_didnt_update', false);

   $action_type = ($power != 0) ? $karma_which : 'karma_disabled';

   $request = $smcFunc['db_query']('', '
      SELECT subject
      FROM {db_prefix}messages
      WHERE id_msg = {int:id_message}
      LIMIT 1',
      array(
         'id_message' => $message_id,
      )
   );
   list ($title) = $smcFunc['db_fetch_row']($request);
   $smcFunc['db_free_result']($request);

   // Log this new action!
   $smcFunc['db_insert']('replace',
      '{db_prefix}log_karma',
      array('action' => 'int', 'id_target' => 'int', 'id_executor' => 'int', 'log_time' => 'int', 'comment' => 'string', 'action_type' => 'string', 'message' => 'int', 'topic' => 'int', 'title' => 'string'),
      array($power, $uid, $user_info['id'], time(), $comment, $action_type, $message_id, $topic_id, $title),
      array('id_target', 'id_executor')
   );

   // Figure out where to go back to.... the topic?
   if (isset($_POST['topic']))
      redirectexit('topic=' . $_POST['topic'] . '#msg' . $_POST['m']);
   // Hrm... maybe a personal message?
   elseif (isset($_POST['f']))
      redirectexit('action=pm;f=' . $_POST['f'] . ';start=' . $_POST['start'] . (isset($_POST['l']) ? ';l=' . $_POST['l'] : '') . (isset($_POST['pm']) ? '#' . $_POST['pm'] : ''));
   // JavaScript as a last resort.
   else
   {
      echo '
<html>
   <head>
      <title>...</title>
      <script language="JavaScript" type="text/javascript"><!-- // -->
         history.go(-1);
      </script>
   </head>
   <body>&laquo;</body>
</html>';

      obExit(false);
   }
}

// For those poor souls without javascript support :(
function SendKarma()
{
   global $modSettings, $user_info, $context, $smcFunc, $txt;

   // If the mod is disabled, show an error.
   if (empty($modSettings['karmaMode']))
      fatal_lang_error('feature_disabled', true);

   // If you're a guest or can't do this, blow you off...
   is_not_guest();
   isAllowedTo('karma_edit');
   checkSession('request');

   // These _must_ be a number, no matter what.
   $uid = (int) $_GET['uid'];
   $message = (int) $_GET['m'];
   $topic = (int) $_GET['topic'];

   // You can't modify your own, punk! (use the profile if you need to.)
   if (empty($uid) || $uid == $user_info['id'])
      fatal_lang_error('cant_change_own_karma', false);

   // If you don't have enough posts, tough luck.
   // !!! Should this be dropped in favor of post group permissions?  Should this apply to the member you are smiting/applauding?
   if ($user_info['posts'] < $modSettings['karmaMinPosts'])
      fatal_lang_error('not_enough_posts_karma', true, array($modSettings['karmaMinPosts']));

   $message_request = $smcFunc['db_query']('', '
      SELECT *
      FROM {db_prefix}messages
      WHERE id_msg = {int:message}
      LIMIT 1',
      array(
         'message' => $message,
      )
   );

   while($row = $smcFunc['db_fetch_assoc']($message_request)){
      $context['message'] = $row;

      $board_request = $smcFunc['db_query']('', '
         SELECT *
         FROM {db_prefix}boards
         WHERE id_board = {int:board}',
         array(
            'board' => $context['message']['id_board']
         )
      );

      $board = $smcFunc['db_fetch_assoc']($board_request);

      // Load the membergroups allowed, and check permissions.
      $board_groups = $board['member_groups'] == '' ? array() : explode(',', $board['member_groups']);
      $smcFunc['db_free_result']($request);

      // Kick 'em out if they don't have permission to view this topic!
      if (count(array_intersect($user_info['groups'], $board_groups)) == 0 && !$user_info['is_admin'])
         fatal_lang_error('topic_gone', false);

      // Put it in quote tags to make it stand out a little... and because it's a quote.
      $context['message']['body'] = "
Quote from: {$context['message'['poster_name']} link=topic={$context['message']['id_topic']}.msg{$context['message']['id_msg']}#msg{$context['message']['id_msg']} date={$context['message']['poster_time']}]{$context['message']['body']}
";

      // Do the censor thang.
      censorText($context['message']['body']);
      censorText($context['message']['subject']);

      // Run BBC interpreter on the message.
      $context['message']['body'] = parse_bbc($context['message']['body'], $context['message']['smileys_enabled'], $context['message']['id_msg']);
   }

   $context['sub_template'] = 'main';
   $context['page_title'] = $txt['karma_add_to'];
   $context['topic'] = $topic;
   $context['m'] = $message;
   $context['uid'] = $uid;
   $context['can_pos_rep'] = allowedTo('positive_karma');
   $context['can_neg_rep'] = allowedTo('negative_karma');

   loadTemplate('Karma');
}
?>
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on November 06, 2008, 12:22:11 PM
When you make a post (or just edit that one), click "Additional Options..." below the post box, and it will have an upload area.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: glennk on November 06, 2008, 02:09:46 PM
ok thanks. It should now be attached.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: khamseen on November 06, 2008, 11:34:29 PM
Hey, I eventually got it to show up. Kept telling me it was able to install on my theme but it had missed the part that actually displays the rp icon on posts to allow it to be used.

Now I've got it running though it's not saving the comments. Like if I give someone rep and leave a comment, when I visit their profile to see their reputation it has that I gave them rep but doesn't have my comment it's just blank.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: psynx on November 07, 2008, 05:21:23 AM
is this compatible in smf 1.1.6?
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on November 08, 2008, 07:56:13 PM
psynx: This is a 2.0-only mod.

khamseen: did you uninstall before you installed again?

glennk: I'm downloading it right now, I'll attach a fixed one in a few minutes.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: glennk on November 09, 2008, 12:01:42 PM
Thanks yoda.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: glennk on November 09, 2008, 12:39:04 PM
Hi Yoda.

That fixed the errors but still the comment I leave does not appear. When I check the persons profile it shows that rep has been left and who buy but the comment is missing.

Thanks - Glenn
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: glennk on November 10, 2008, 03:21:46 AM
The reputation comments still arent showing and the error log filling up again

http://www.whitbyseaanglers.co.uk/forum/index.php?pretty;board=north-east-coast-fishing;topic=beware-of-the-local-filth-!.20&amp;action=reputation;uid=222;m=58878;sesc
Apply Filter: Only show the errors with the same message
2: mysql_free_result(): supplied argument is not a valid MySQL result resource
Apply Filter: Only show the errors from this file
File: /home/glennk/public_html/forum/Sources/Karma.php
Line: 510


http://www.whitbyseaanglers.co.uk/forum/index.php?pretty;board=north-east-coast-fishing;topic=beware-of-the-local-filth-!.20&amp;action=reputation;uid=222;m=58878;sesc
Apply Filter: Only show the errors with the same message
8: Undefined variable: request
Apply Filter: Only show the errors from this file
File: /home/glennk/public_html/forum/Sources/Karma.php
Line: 510

http://www.whitbyseaanglers.co.uk/forum/index.php?pretty;action=modifykarma&amp;PHPSESSID=3ff6293c3cfd2f93208df6cd573713be
Apply Filter: Only show the errors with the same message
8: Undefined index: uid
Apply Filter: Only show the errors from this file
File: /home/glennk/public_html/forum/Sources/Karma.php
Line: 233

Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: iMantis on November 10, 2008, 06:17:35 PM
Hi,

I'm not at all a fan of manually installing mods, so I assume this mod allows you to do it through the admin panel.  I uploaded all of the files into Packages root and called the folded "Rep".  It showed up under "Browse Packages" and listed some info on it, and the files in it.  When I go to apply mod, I get this error message:

You cannot download or install new packages because the Packages directory or one of the files in it are not writable!

Any help would be greatly appreciated!
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on November 10, 2008, 06:27:50 PM
iMantis: make sure the folders are CHMOD'd to 755 or 777

glennk: is it using the popup box or a seperate page to give rep?
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: iMantis on November 10, 2008, 06:33:04 PM
Thanks a lot for the swift reply, Yoda (and for the mod!).  I don't know for sure how that works, will a screenshot help?  These are the only folders showing up under File Persmissions:

agreement.txt
settings.php
settings_bak.php
Smileys root
Sources root
Themes root

My main subfolder (public_html/forum) is set to not writable (chmod: 0755), and so is the Sources root.  I tried to change the forum root to be writable, but it isn't reflecting my changes.  Any advice?
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: glennk on November 10, 2008, 07:00:31 PM
Hi Yoda.

Well this is strange.

I was using the pop up box when I have reported problems up to now. So I had never seen a separet page.

I have just reinstalled the mod and am now getting a seperate page to give rep comment.

Sadly whichever I use - box or page. The comment doesnt show on either the post or in the users rep section.

Thanks for sticking with this. Im sure we will get there in the end.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: glennk on November 10, 2008, 07:04:59 PM
Cancel that last post.

Its a page I get to add the rep Yoda.  I dont think Ive ever seen a pop up box.

Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Lady Night Owl on November 10, 2008, 08:43:15 PM
I'm getting this error when I go to give rep (which comes up as a pop-up for me)

/boards/index.php?action=modifykarma
8: Undefined index: sa
/boards/Sources/Karma.php
Line: 225
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on November 10, 2008, 10:35:49 PM
LNO: That's nothing to worry about... silly coding mistake on my part. It'll be fixed in the next version (which will be after RC1 is released)

glennk: to get the popup back, make sure all theme edits were done. I'm still trying to figure out the cause of this no-comment bug though
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: glennk on November 11, 2008, 03:15:35 AM
This mod was the main reason I upgraded  :'( :'(. Oh well Ill just have to wait  :D
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: glennk on November 14, 2008, 08:20:38 AM
Still not working Yoda. As you can see the comment area is blank but I did leave a comment. Can you think of anything that would be causing this ??

(http://i24.photobucket.com/albums/c5/big_cod/karma.jpg)

Thanks again - Glenn
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on November 14, 2008, 11:53:18 AM
I probably messed something up with $_POST and $_GET... can you do a little test for me?

What does it say if you type the following into the comment box (no quotation marks)
"Your mother was a hamster and your father smelt of elderberries!"

Yes, I'm serious :)
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: glennk on November 14, 2008, 12:30:57 PM
Hi Yoda,

That makes no difference the box is still blank.  :'( :'(
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: glennk on November 14, 2008, 04:07:48 PM
Developments developments  :D ;D

If you lived in England there is a fair chance you would have been taken to a special hospital for your own safety. I have grave concerns over your sanity.

I removed the quotes and got this in an error message. What does it mean ??

Quote.and Saint Attila raised the hand grenade up on high, saying, "O Lord, bless this Thy hand grenade that with it Thou mayest blow Thine enemies to tiny bits, in Thy mercy." And the Lord did grin and the people did feast upon the lambs and sloths and carp and anchovies and orangutans and breakfast cereals, and fruit bats and large chu... *ahem* And the Lord spake, saying, "First shalt thou take out the Holy Pin, then shalt thou count to three, no more, no less. Three shall be the number thou shalt count, and the number of the counting shall be three. Four shalt thou not count, neither count thou two, excepting that thou then proceed to three. Five is right out. Once the number three, being the third number, be reached, then lobbest thou thy Holy Hand Grenade of Antioch towards thy foe, who being naughty in my sight, shall snuff it." Amen.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on November 14, 2008, 08:50:21 PM
It's a quote from Monty Python and the Holy Grail.

It also means that the comment is being submitted, so I need to look elsewhere. Can you look in your database (with something like phpMyAdmin) and look at the rows in (db_prefix)_log_karma? Do the comments exist in the database?
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: publicme on November 14, 2008, 09:38:08 PM
This thread is quite long to review!

Is there a demo site, please?

Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: glennk on November 15, 2008, 02:33:50 AM
Hi Yoda, the entries are in the database.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: darkacex on November 15, 2008, 12:17:47 PM
The rep bar does not show on my new theme, How do i fix it?
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: 1923 on November 15, 2008, 02:20:32 PM
Can you upgrade this mod to 1.1.7 ?
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: darkacex on November 15, 2008, 02:22:16 PM
He won't do that =[
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: 1923 on November 16, 2008, 04:45:47 AM
Quote from: darkacex on November 15, 2008, 02:22:16 PM
He won't do that =[

Why? i want this for my 1.1.7 forum.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: darkacex on November 16, 2008, 11:55:25 AM
he wants to encourage ppl to switch to beta
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: khamseen on November 18, 2008, 11:32:16 AM
Hey Yoda. Me again... I'm actually having the exact same problem as Glennk. I ran the short test you told him to and got the Monty Python quote too. And when I check the database files, the comments are there too just not being displayed.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: digger on November 19, 2008, 10:07:05 PM
What about next version with bugfixes?
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: xPreatorianx on November 21, 2008, 09:05:08 PM
How do I add this mod to a custom theme? I have no idea where to even start!

The custom theme is XD-ZEDA
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Darthemis on November 22, 2008, 06:47:27 PM
I'm sorry I couldnt read the whole topic, so I apologize if someone answered this yet:

My problem is that there's no way to send reputation. I installed the mod and applaud and smite labels completely disappeared and I'm still wondering why...

I read in the second page of the topic about someone who had the same problem and fixed it with some stuff about member's permissions... I'm afraid that didn't work for me, even administrators can´t...

Thank u very much, I'll be so pleased if someone could help me.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: digger on November 24, 2008, 05:44:51 PM
Quote from: glennk on November 14, 2008, 08:20:38 AM
Still not working Yoda. As you can see the comment area is blank but I did leave a comment. Can you think of anything that would be causing this ??

(http://i24.photobucket.com/albums/c5/big_cod/karma.jpg)

Thanks again - Glenn

Modify install.xml and reinstall mod

find

while ($row = $smcFunc['db_fetch_assoc']($request))
{
loadMemberData($row['id_executor']);
loadMemberContext($row['id_executor'], false);

$context['member']['karma_received'][] = array(
'action_type' => $row['action_type'],
'executor' => $memberContext[$row['id_executor']]['link'],
'time' => timeformat($row['log_time']),
'comment' => parsesmileys($row['comment']),
'topic_href' => $row['topic'] . '.msg' . $row['message'] . '#msg' . $row['message'],
'topic_title' => $row['title'],
'delete_value' => $row['id_target'] . '|' . $row['id_executor'] . '|' . $row['log_time'],
);
}

replace with

while ($row = $smcFunc['db_fetch_assoc']($request))
{
loadMemberData($row['id_executor']);
loadMemberContext($row['id_executor'], false);
                        parseSmileys($row['comment']);
$context['member']['karma_received'][] = array(
'action_type' => $row['action_type'],
'executor' => $memberContext[$row['id_executor']]['link'],
'time' => timeformat($row['log_time']),
'comment' => $row['comment'],
'topic_href' => $row['topic'] . '.msg' . $row['message'] . '#msg' . $row['message'],
'topic_title' => $row['title'],
'delete_value' => $row['id_target'] . '|' . $row['id_executor'] . '|' . $row['log_time'],
);
}


find

while ($row = $smcFunc['db_fetch_assoc']($request))
{
loadMemberData($row['id_target']);
loadMemberContext($row['id_target'], false);

$context['member']['karma_sent'][] = array(
'action_type' => $row['action_type'],
'target' => $memberContext[$row['id_target']]['link'],
'time' => timeformat($row['log_time']),
'comment' => parsesmileys($row['comment']),
'topic_href' => $row['topic'] . '.msg' . $row['message'] . '#msg' . $row['message'],
'topic_title' => $row['title'],
'delete_value' => $row['id_target'] . '|' . $row['id_executor'] . '|' . $row['log_time'],
);
}

replace with

while ($row = $smcFunc['db_fetch_assoc']($request))
{
loadMemberData($row['id_target']);
loadMemberContext($row['id_target'], false);
                        parseSmileys($row['comment']);
$context['member']['karma_sent'][] = array(
'action_type' => $row['action_type'],
'target' => $memberContext[$row['id_target']]['link'],
'time' => timeformat($row['log_time']),
'comment' => $row['comment'],
'topic_href' => $row['topic'] . '.msg' . $row['message'] . '#msg' . $row['message'],
'topic_title' => $row['title'],
'delete_value' => $row['id_target'] . '|' . $row['id_executor'] . '|' . $row['log_time'],
);
}

Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on November 24, 2008, 07:32:37 PM
Ah, I had no clue that I had inserted the parsesmileys into the actual release - I thought it had been just for the one I gave to Bigguy.

Props to you, digger ;)
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: digger on November 24, 2008, 07:57:28 PM
Quote from: YodaOfDarkness on November 24, 2008, 07:32:37 PM
Ah, I had no clue that I had inserted the parsesmileys into the actual release - I thought it had been just for the one I gave to Bigguy.

Props to you, digger ;)

parseSmileys function don't return any result.
It can't be used like $txt = parsesmileys($txt);
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on November 25, 2008, 02:32:19 AM
Ya, I had already changed that for the next version, but I didn't realize that it was in the current release. I'm gonna download it as-is, change those lines, and reupload it (without any of the new things I've added but not tested yet)
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: unik63 on November 25, 2008, 03:16:32 AM
I'm trying to install this mod on 2.0 beta 4, since i'm a newbie, i'm using automatic install. When i run it, it gives an error:


8. Execute Modification ./Sources/Display.php Test failed
  1. Add After ./Sources/Display.php Test successful
  2. Replace ./Sources/Display.php Test failed
  3. Add After ./Sources/Display.php Test successful
 



When you open the error file, it shows:

Find [Select]
      $messages_request = $smcFunc['db_query']('', '
         SELECT
            id_msg, icon, subject, poster_time, poster_ip, id_member, modified_time, modified_name, body,
            smileys_enabled, poster_name, poster_email, approved,
            id_msg_modified < {int:new_from} AS is_read
         FROM {db_prefix}messages
         WHERE id_msg IN ({array_int:message_list})
         ORDER BY id_msg' . (empty($options['view_newest_first']) ? '' : ' DESC'),
         array(
            'message_list' => $messages,
            'new_from' => $topicinfo['new_from'],
         )
      );Replace [Select]
      $messages_request = $smcFunc['db_query']('', '
         SELECT
            m.id_msg, m.icon, m.subject, m.poster_time, m.poster_ip, m.id_member, m.modified_time, m.modified_name, m.body,
            m.smileys_enabled, m.poster_name, m.poster_email, m.approved,
            m.id_msg_modified < {int:new_from} AS is_read, k.message AS is_repped
         FROM {db_prefix}messages AS m
            LEFT JOIN {db_prefix}log_karma AS k ON (k.message = m.id_msg AND k.id_executor = {int:current_member})
         WHERE m.id_msg IN ({array_int:message_list})
         ORDER BY m.id_msg' . (empty($options['view_newest_first']) ? '' : ' DESC'),
         array(
            'message_list' => $messages,
            'new_from' => $topicinfo['new_from'],
            'current_member' => $user_info['id'],
         )

I would really love to install this mod, please tell me what should i do.
Thanks
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on November 25, 2008, 10:28:12 AM
After you install it, you'll need to open /Sources/Display.php and find what's in the first box, and replace it with what's in the second box.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: unik63 on November 25, 2008, 10:53:36 AM
It means I can go ahead and install it even it will be installed with the error, and then just replace the codding.

Your help appreciated.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: unik63 on November 25, 2008, 10:59:16 AM
I found these lines and it says:
$messages_request = $smcFunc['db_query']('', '
         SELECT
            id_msg, icon, subject, poster_time, poster_ip, id_member, modified_time, modified_name, body,
            smileys_enabled, poster_name, poster_email, approved,
            '.($board_info['thank_you_post_enable'] && allowedTo('thank_you_post_show') ? 'thank_you_post,  thank_you_post_counter,' : '').'
            id_msg_modified < {int:new_from} AS is_read
         FROM {db_prefix}messages
         WHERE id_msg IN ({array_int:message_list})
         ORDER BY id_msg' . (empty($options['view_newest_first']) ? '' : ' DESC'),
         array(
            'message_list' => $messages,
            'new_from' => $topicinfo['new_from'],
         )
      );

I have installed Thank you mod, should I uninstall it before i install your mod?
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on November 25, 2008, 08:28:13 PM
Make a backup of that file, and then put this in:

Quote from: unik63 on November 25, 2008, 03:16:32 AM
      $messages_request = $smcFunc['db_query']('', '
         SELECT
            m.id_msg, m.icon, m.subject, m.poster_time, m.poster_ip, m.id_member, m.modified_time, m.modified_name, m.body,
            m.smileys_enabled, m.poster_name, m.poster_email, m.approved,
            '.($board_info['thank_you_post_enable'] && allowedTo('thank_you_post_show') ? 'thank_you_post, thank_you_post_counter,' : '').'
            m.id_msg_modified < {int:new_from} AS is_read, k.message AS is_repped
         FROM {db_prefix}messages AS m
            LEFT JOIN {db_prefix}log_karma AS k ON (k.message = m.id_msg AND k.id_executor = {int:current_member})
         WHERE m.id_msg IN ({array_int:message_list})
         ORDER BY m.id_msg' . (empty($options['view_newest_first']) ? '' : ' DESC'),
         array(
            'message_list' => $messages,
            'new_from' => $topicinfo['new_from'],
            'current_member' => $user_info['id'],
         )
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: glennk on November 29, 2008, 02:12:07 PM
Quote from: digger on November 24, 2008, 05:44:51 PM
Quote from: glennk on November 14, 2008, 08:20:38 AM
Still not working Yoda. As you can see the comment area is blank but I did leave a comment. Can you think of anything that would be causing this ??

(http://i24.photobucket.com/albums/c5/big_cod/karma.jpg)

Thanks again - Glenn

Modify install.xml and reinstall mod

find

while ($row = $smcFunc['db_fetch_assoc']($request))
{
loadMemberData($row['id_executor']);
loadMemberContext($row['id_executor'], false);

$context['member']['karma_received'][] = array(
'action_type' => $row['action_type'],
'executor' => $memberContext[$row['id_executor']]['link'],
'time' => timeformat($row['log_time']),
'comment' => parsesmileys($row['comment']),
'topic_href' => $row['topic'] . '.msg' . $row['message'] . '#msg' . $row['message'],
'topic_title' => $row['title'],
'delete_value' => $row['id_target'] . '|' . $row['id_executor'] . '|' . $row['log_time'],
);
}

replace with

while ($row = $smcFunc['db_fetch_assoc']($request))
{
loadMemberData($row['id_executor']);
loadMemberContext($row['id_executor'], false);
                        parseSmileys($row['comment']);
$context['member']['karma_received'][] = array(
'action_type' => $row['action_type'],
'executor' => $memberContext[$row['id_executor']]['link'],
'time' => timeformat($row['log_time']),
'comment' => $row['comment'],
'topic_href' => $row['topic'] . '.msg' . $row['message'] . '#msg' . $row['message'],
'topic_title' => $row['title'],
'delete_value' => $row['id_target'] . '|' . $row['id_executor'] . '|' . $row['log_time'],
);
}


find

while ($row = $smcFunc['db_fetch_assoc']($request))
{
loadMemberData($row['id_target']);
loadMemberContext($row['id_target'], false);

$context['member']['karma_sent'][] = array(
'action_type' => $row['action_type'],
'target' => $memberContext[$row['id_target']]['link'],
'time' => timeformat($row['log_time']),
'comment' => parsesmileys($row['comment']),
'topic_href' => $row['topic'] . '.msg' . $row['message'] . '#msg' . $row['message'],
'topic_title' => $row['title'],
'delete_value' => $row['id_target'] . '|' . $row['id_executor'] . '|' . $row['log_time'],
);
}

replace with

while ($row = $smcFunc['db_fetch_assoc']($request))
{
loadMemberData($row['id_target']);
loadMemberContext($row['id_target'], false);
                        parseSmileys($row['comment']);
$context['member']['karma_sent'][] = array(
'action_type' => $row['action_type'],
'target' => $memberContext[$row['id_target']]['link'],
'time' => timeformat($row['log_time']),
'comment' => $row['comment'],
'topic_href' => $row['topic'] . '.msg' . $row['message'] . '#msg' . $row['message'],
'topic_title' => $row['title'],
'delete_value' => $row['id_target'] . '|' . $row['id_executor'] . '|' . $row['log_time'],
);
}



Hey thanks Ill try this when I get sokme spare time and let you know how I get on.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: glennk on November 30, 2008, 03:23:00 PM
HI Yoda can you clarify something for me please.

Have you changed the code in the mod as suggested by digger or do I need to make those changes manaually ? I deleted themod, downloaded it again and reinstalled but still get the same problem of blank comments.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on November 30, 2008, 04:40:07 PM
I haven't updated it yet, no. You'll have to do the manual edits yourself.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: glennk on November 30, 2008, 05:09:31 PM
Ok thanks for getting abck to me. Hopefully get this sorted in the coming days
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: glennk on December 01, 2008, 07:51:49 AM
Thats done the trick. Thanks for your assiatance digger and thanks to Yoda for spending time trying to help.

I am now wondering if it i possible to get the comments to show actually in the post you are commenting on ??

A bit like this ? See the second post from Jagnet. The comment appears in the post.

http://forums.seochat.com/google-page-rank-47/3-year-old-site-dropped-pr-from-5-to-3t-224919.html
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: digger on December 01, 2008, 12:42:19 PM
There is another error in the mod

'total' => $profile['karma_good'] + $profile['karma_bad']

must be

'total' => $profile['karma_good'] - $profile['karma_bad']

because karma_good and karma_bad are positive both.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on December 01, 2008, 03:43:17 PM
thanks for these bugfixes :) much appreciated!

I'm about 85% done with a paid mod I'm making, so expect a new version... on Christmas! Seems like a good day for a major upgrade...
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: glennk on December 01, 2008, 08:19:49 PM
Also. When a person should have a negative score they show as 0.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on December 01, 2008, 10:38:24 PM
I'll look into that - sounds like it's residual from the original request, which wanted negative karmas rounded up to 0.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Lady Night Owl on December 09, 2008, 01:41:05 AM
I'm just going to wait until you get the upgraded version done :)

Two strange things though...

First, I was going to uninstall the mod and make the changes to get the comments to work, and I got an error in Sources/ManagePermissions.php, but when I clicked on the 'show operations' icon, there was absolutely nothing in the Find or Add Before boxes. Completely blank. So, it's like an error that's...not an error. :-\

The other thing, it's not a problem with the mod itself, but on the mod page. The link to get the changes to make comments work is wrong:

http://www."http.com//www.simplemachines.org/community/index.php?topic=230676.msg1813817#msg1813817"

I mean, it's the right link, but there's an extra http://www. in there :P I hate when that happens lol
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on December 09, 2008, 01:55:10 AM
The first error pops up every so often, I have no clue why. Earlier betas did it for every operation, but it shouldn't be happening right now.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: khamseen on December 09, 2008, 09:44:32 PM
We've experienced a rather strange problem of peoples rep being changed to the maximum allowed positive. So they have a full green bar and something like 6496+ and 0- which is rather annoying and very inaccurate. I've played about with the permissions to make sure it wasn't that but it's all working the way it should permission wise so I've not a clue why it's doing that.

Also, could someone please just confirm for me what file I need to modify to get the comments to show? I read where he said to uninstall it then reinstall it but I had to make a lot of the mods manually and I don't really want to have to go removing it all piece by piece just to add it all piece by piece again just to get them to show up.

Thanks.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on December 09, 2008, 11:54:43 PM
Open /Sources/Profile-View.php

find

while ($row = $smcFunc['db_fetch_assoc']($request))
{
loadMemberData($row['id_executor']);
loadMemberContext($row['id_executor'], false);

$context['member']['karma_received'][] = array(
'action_type' => $row['action_type'],
'executor' => $memberContext[$row['id_executor']]['link'],
'time' => timeformat($row['log_time']),
'comment' => parsesmileys($row['comment']),
'topic_href' => $row['topic'] . '.msg' . $row['message'] . '#msg' . $row['message'],
'topic_title' => $row['title'],
'delete_value' => $row['id_target'] . '|' . $row['id_executor'] . '|' . $row['log_time'],
);
}

replace with

while ($row = $smcFunc['db_fetch_assoc']($request))
{
loadMemberData($row['id_executor']);
loadMemberContext($row['id_executor'], false);
                        parseSmileys($row['comment']);
$context['member']['karma_received'][] = array(
'action_type' => $row['action_type'],
'executor' => $memberContext[$row['id_executor']]['link'],
'time' => timeformat($row['log_time']),
'comment' => $row['comment'],
'topic_href' => $row['topic'] . '.msg' . $row['message'] . '#msg' . $row['message'],
'topic_title' => $row['title'],
'delete_value' => $row['id_target'] . '|' . $row['id_executor'] . '|' . $row['log_time'],
);
}


find

while ($row = $smcFunc['db_fetch_assoc']($request))
{
loadMemberData($row['id_target']);
loadMemberContext($row['id_target'], false);

$context['member']['karma_sent'][] = array(
'action_type' => $row['action_type'],
'target' => $memberContext[$row['id_target']]['link'],
'time' => timeformat($row['log_time']),
'comment' => parsesmileys($row['comment']),
'topic_href' => $row['topic'] . '.msg' . $row['message'] . '#msg' . $row['message'],
'topic_title' => $row['title'],
'delete_value' => $row['id_target'] . '|' . $row['id_executor'] . '|' . $row['log_time'],
);
}

replace with

while ($row = $smcFunc['db_fetch_assoc']($request))
{
loadMemberData($row['id_target']);
loadMemberContext($row['id_target'], false);
                        parseSmileys($row['comment']);
$context['member']['karma_sent'][] = array(
'action_type' => $row['action_type'],
'target' => $memberContext[$row['id_target']]['link'],
'time' => timeformat($row['log_time']),
'comment' => $row['comment'],
'topic_href' => $row['topic'] . '.msg' . $row['message'] . '#msg' . $row['message'],
'topic_title' => $row['title'],
'delete_value' => $row['id_target'] . '|' . $row['id_executor'] . '|' . $row['log_time'],
);
}
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: khamseen on December 10, 2008, 12:54:23 AM
Awesome, up and running now. Thank you for the quick reply ;D
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on December 10, 2008, 01:07:24 AM
heh, thank digger, he was the one who saw that I had left that code in there ;)
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: khamseen on December 10, 2008, 01:36:59 AM
Well thanks to Digger too then for finding what was causing it ;D
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: moonlightkisu on December 15, 2008, 01:02:05 PM
sorry, I would have posted here first but I just found this thread now .. i'm not sure why the heart button to leave rep is not working, I have SMF 2.0 beta and it installed fine, but there is no button to leave rep on my posts :(
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on December 15, 2008, 02:46:19 PM
Are you talking about your own posts, or everyone's? If it's your own, that's because you can't give rep to yourself.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: moonlightkisu on December 15, 2008, 02:49:33 PM
hi, thanks for the reply. I mean other member's posts.

Even when I am logged in as a test member, I still can't see the button ..

as an admin, shouldn't I be able to see it on other member's posts?

:(
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on December 15, 2008, 03:10:09 PM
Can you post a link to your forum?
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: moonlightkisu on December 15, 2008, 03:16:18 PM
Quote from: YodaOfDarkness on December 15, 2008, 03:10:09 PM
Can you post a link to your forum?

sure, here it is:

http://bb.moonlightkisu.net

I can make you a test account if you need it.

Also, another question .. is it possible to show the the repuation you've recieved by other members right on your profile page?

I would like the repuation given by members to be like it is now, though.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on December 15, 2008, 04:17:36 PM
I registered under the name RepSys - can you possibly give me temporary admin priveleges?
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: LadyC on December 15, 2008, 04:26:55 PM
i searched the topic and didn't find an answer to this... so here's my question.

i'd like to add some additional automatic karma points. i mean, we've got the 100 points for birthdays and for registration. but for instance, if i wanted to automatically give an additional 1000 points to a person who is promoted to an administrator, how would i do that? is there a piece of code i could edit in one of the files? or, for instance, if someone gets the high score on an arcade game?

also, a few things i noticed... i installed it to a custom theme (had to upload the images manually).

i tried to change the label names, but it won't change the way they are displayed.
i tried to remove the restrictions for admins, and it says it saved the changes, but yet i'm still restricted. after giving karma, the heart icon disappears for that person. (figured that one out... )
i manually edited the karma points for the admins, and all admins should now have two bars showing, but only one appears.

and yes, i've emptied my cache, and i've also tried it in a different browser.

i finally tried uninstalling, deleting, then re-uploading and installing, and then when i go to the configurations for the a.r.s. mod, they are the same as before i uninstalled it.

i'm a little confused... if anyone can give me insight into ANY of those problems, i'd be grateful!
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on December 15, 2008, 05:47:15 PM
What do you mean "the way they are displayed"? This mod doesn't use the Appluad/Smite labels, if that's what you mean.

I'm going to work on more automatic karma points for the next version of this mod... shop, arcade, membergroups, etc.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: moonlightkisu on December 15, 2008, 05:47:32 PM
Quote from: YodaOfDarkness on December 15, 2008, 04:17:36 PM
I registered under the name RepSys - can you possibly give me temporary admin priveleges?

ok, I gave you temp admin privleges.

Thanks :)
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on December 15, 2008, 06:25:09 PM
Hmm... can you attach Display.template.php to a post here? One of the changes might not have been made.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: moonlightkisu on December 15, 2008, 06:38:20 PM
sure .. what directory would that file be in? I can't seem to find it ..
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: LadyC on December 15, 2008, 06:38:42 PM
Quote from: YodaOfDarkness on December 15, 2008, 05:47:15 PM
What do you mean "the way they are displayed"? This mod doesn't use the Appluad/Smite labels, if that's what you mean.

I'm going to work on more automatic karma points for the next version of this mod... shop, arcade, membergroups, etc.

wonderful!!
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on December 15, 2008, 07:08:00 PM
Quote from: moonlightkisu on December 15, 2008, 06:38:20 PM
sure .. what directory would that file be in? I can't seem to find it ..

/Themes/default/Display.template.php
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: moonlightkisu on December 15, 2008, 07:18:35 PM
ok, here it is:

Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on December 15, 2008, 07:31:57 PM
It was this setting on the Theme Settings page:
"Show view profile button under post?"

Either enable that, or use this Display.template.php file. You don't need to do both.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: LadyC on December 15, 2008, 09:49:24 PM
oh... sorry, i forgot to get clarification re: the power bar icons.

will it fail to show the correct number of bars if the reputation points were increased by an admin in the person's profile?

i've set all admins to a minimum of 1000 points, and lowered the number of points per bar to 500.... so admins should be showing two bars, instead of one.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on December 15, 2008, 10:19:14 PM
Do any of them have negative rep? The total (positive - negative) has to be above 1000.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: LadyC on December 15, 2008, 10:48:57 PM
no, in fact i took the label for negative karma out so people couldn't use it. could that have caused a problem?
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: moonlightkisu on December 16, 2008, 12:45:19 AM
Quote from: YodaOfDarkness on December 15, 2008, 07:31:57 PM
It was this setting on the Theme Settings page:
"Show view profile button under post?"

Either enable that, or use this Display.template.php file. You don't need to do both.

thankyou so much, YodaOfDarkness! I can now see the button and use it. Using your display.template.php file worked. Now i'm just fixing the empty comment thing ..and the extra admin avatar thing:

http://e.imagehost.org/0104/wtf.gif

Also, i'm just curious, is there a way to get the karma recieved from other members to display on your profile page at the bottom instead of on the left when you click on the "view reputation" link? (both negative and positive.)

That would be awesome. But thanks for your help. ;)

Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: bloodrune on December 16, 2008, 01:09:24 AM
how to fix when im 1000 reputation and i rep 1 people it gave 10001 rep to new member...how to fix when im 1000 rep i rep some1 and he get 200 rep or 100 rep
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on December 16, 2008, 02:12:59 AM
LadyC: Nope. Hmm...

moonlightkisu: I'll have to put that in the next version as an option.

bloodrune: Your "power" is how many "points" you give to them... I'm not quite sure what you're asking about, but I think you want to change the "Users gain 1 power for every __ points?" value to something else.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: moonlightkisu on December 16, 2008, 02:33:34 AM
Quote from: YodaOfDarkness on December 16, 2008, 02:12:59 AM
LadyC: Nope. Hmm...

moonlightkisu: I'll have to put that in the next version as an option.

bloodrune: Your "power" is how many "points" you give to them... I'm not quite sure what you're asking about, but I think you want to change the "Users gain 1 power for every __ points?" value to something else.

awesome, is there anyway I can do it myself?

when will the next ver be out, around christmas time? :)
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on December 16, 2008, 02:56:54 AM
It involves moving some code around in Profile.php and Profile.template.php... might be pretty simple, but I'm swamped at the moment so I'm not going to go looking for it right now :) soon!
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: bloodrune on December 20, 2008, 05:02:09 AM
when i have 1000 reputation and my friend have 1 reputation when i rep my friend it gave my friend 1001 reputation how to make low?
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on December 20, 2008, 12:55:35 PM
Are you looking at his points or his power? When you have 1,000 power, you give him 1,000 points, but he only has 10 power.

By default, 100 points = 1 power. You have 100,000 points.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: bloodrune on December 21, 2008, 12:38:02 AM
example..i have 100 reputation and my friend have 10 when i rep him he will get 110 rep

and how do i make when we have 10 to 100 reptatuin will we get (http://rs2-devolutions.freehostia.com/Themes/default/images/karma_good_basic.gif) then 100-500 we will get (http://rs2-devolutions.freehostia.com/Themes/default/images/karma_good_super.gif) then 500 to 1000 we will get (http://th232.photobucket.com/albums/ee283/xxxstyle0513/th_reputation_goldstar.gif)

so if i have 1000 reputation my rep bar will be this
(http://rs2-devolutions.freehostia.com/Themes/default/images/karma_good_basic.gif)(http://rs2-devolutions.freehostia.com/Themes/default/images/karma_good_basic.gif)(http://rs2-devolutions.freehostia.com/Themes/default/images/karma_good_basic.gif)(http://rs2-devolutions.freehostia.com/Themes/default/images/karma_good_super.gif)(http://rs2-devolutions.freehostia.com/Themes/default/images/karma_good_super.gif)
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on December 21, 2008, 12:51:36 AM
What value did you put for "Users gain 1 power for every __ points?" in your admin page? It sounds like you set that to 1 instead of 100.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: bloodrune on December 21, 2008, 12:53:09 AM
example..i have 100 reputation and my friend have 10 when i rep him he will get 110 rep

and how do i make when we have 10 to 100 reptatuin will we get (http://i43.tinypic.com/msd3k5.gif) then 100-500 we will get (http://i41.tinypic.com/5l88rs.gif) then 500 to 1000 we will get (http://th232.photobucket.com/albums/ee283/xxxstyle0513/th_reputation_goldstar.gif)

so if i have 1000 reputation my rep bar will be this
(http://i43.tinypic.com/msd3k5.gif)(http://i43.tinypic.com/msd3k5.gif)(http://i43.tinypic.com/msd3k5.gif)(http://i41.tinypic.com/5l88rs.gif)(http://i41.tinypic.com/5l88rs.gif)(http://i41.tinypic.com/5l88rs.gif)(http://th232.photobucket.com/albums/ee283/xxxstyle0513/th_reputation_goldstar.gif)
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: LadyC on December 21, 2008, 12:16:45 PM
i'm still looking for a similar answer to mine....

i changed the default so that it is 500 points to 1 power bar, and gave the admins each 1000 points. so the admins should have two bars. here's what they've got:
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on December 21, 2008, 03:51:17 PM
bloodrune - right now, it only supports 2 images. I'd have to do some recoding to make it use 3.

LadyC - can you PM me a link to your forum and a temporary admin login?
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: LadyC on December 22, 2008, 12:43:15 AM
sure thing yoda
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on December 22, 2008, 02:04:38 AM
It was because you had no karma descriptions set... that's where it grabs the maximum amount of bars from, and since there were 0 descriptions, the maximum amount of bars was 0 (but it always shows at least 1).
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: LadyC on December 22, 2008, 02:32:19 AM
oh!!! i guess i had better come up with some descriptions that i actually like then LOL. thanks so much!!!
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on December 22, 2008, 02:54:58 AM
welcome :) ya, those are just some default ones I wrote in 5 minutes one day. If you want to have it say one thing, just repeat something 10 times (or however many is the max amount of bars you want)
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: bloodrune on December 22, 2008, 04:08:57 AM
Quote from: YodaOfDarkness on December 21, 2008, 03:51:17 PM
bloodrune - right now, it only supports 2 images. I'd have to do some recoding to make it use 3.

LadyC - can you PM me a link to your forum and a temporary admin login?
how do i make 3 image.. :D
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on December 22, 2008, 04:15:39 AM
I'm not going to be able to do that right now
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: bloodrune on December 22, 2008, 05:30:55 AM
Quote from: YodaOfDarkness on December 22, 2008, 04:15:39 AM
I'm not going to be able to do that right now
ok..i wish u will post a tutorial :D
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: LadyC on December 22, 2008, 12:34:46 PM
i changed it to just numbers... 0-999, 1000-500, etc.

i just noticed something else (sorry yoda!) when karma is given, and you view it in their profile, the comment area is not displaying the comments. it's just blank.  is that something that is easy to fix? i know this is christmas-crunch time, and i don't want to put you to any trouble.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on December 22, 2008, 04:15:37 PM
Quote from: YodaOfDarkness on December 09, 2008, 11:54:43 PM
Open /Sources/Profile-View.php

find

while ($row = $smcFunc['db_fetch_assoc']($request))
{
loadMemberData($row['id_executor']);
loadMemberContext($row['id_executor'], false);

$context['member']['karma_received'][] = array(
'action_type' => $row['action_type'],
'executor' => $memberContext[$row['id_executor']]['link'],
'time' => timeformat($row['log_time']),
'comment' => parsesmileys($row['comment']),
'topic_href' => $row['topic'] . '.msg' . $row['message'] . '#msg' . $row['message'],
'topic_title' => $row['title'],
'delete_value' => $row['id_target'] . '|' . $row['id_executor'] . '|' . $row['log_time'],
);
}

replace with

while ($row = $smcFunc['db_fetch_assoc']($request))
{
loadMemberData($row['id_executor']);
loadMemberContext($row['id_executor'], false);
                        parseSmileys($row['comment']);
$context['member']['karma_received'][] = array(
'action_type' => $row['action_type'],
'executor' => $memberContext[$row['id_executor']]['link'],
'time' => timeformat($row['log_time']),
'comment' => $row['comment'],
'topic_href' => $row['topic'] . '.msg' . $row['message'] . '#msg' . $row['message'],
'topic_title' => $row['title'],
'delete_value' => $row['id_target'] . '|' . $row['id_executor'] . '|' . $row['log_time'],
);
}


find

while ($row = $smcFunc['db_fetch_assoc']($request))
{
loadMemberData($row['id_target']);
loadMemberContext($row['id_target'], false);

$context['member']['karma_sent'][] = array(
'action_type' => $row['action_type'],
'target' => $memberContext[$row['id_target']]['link'],
'time' => timeformat($row['log_time']),
'comment' => parsesmileys($row['comment']),
'topic_href' => $row['topic'] . '.msg' . $row['message'] . '#msg' . $row['message'],
'topic_title' => $row['title'],
'delete_value' => $row['id_target'] . '|' . $row['id_executor'] . '|' . $row['log_time'],
);
}

replace with

while ($row = $smcFunc['db_fetch_assoc']($request))
{
loadMemberData($row['id_target']);
loadMemberContext($row['id_target'], false);
                        parseSmileys($row['comment']);
$context['member']['karma_sent'][] = array(
'action_type' => $row['action_type'],
'target' => $memberContext[$row['id_target']]['link'],
'time' => timeformat($row['log_time']),
'comment' => $row['comment'],
'topic_href' => $row['topic'] . '.msg' . $row['message'] . '#msg' . $row['message'],
'topic_title' => $row['title'],
'delete_value' => $row['id_target'] . '|' . $row['id_executor'] . '|' . $row['log_time'],
);
}

Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: LadyC on December 22, 2008, 09:37:01 PM
ummmm.... hate to ask, but are those instructions for me or for bloodrune? just want to make sure before i go editing the files!
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on December 22, 2008, 10:02:35 PM
They're for you, LadyC
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Sudhakar Arjunan on December 23, 2008, 01:02:44 AM
How to Hide/Increase Admin's Reputation.

If already discussed, kingly guide me through it.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on December 23, 2008, 01:35:27 AM
Profile > Forum Profile

Either check the "Disable display of own reputation?" box, or increase the amount in the boxes there.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: LadyC on December 23, 2008, 11:08:50 AM
thanks yoda! wow, it worked even retro-actively! :)
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Sudhakar Arjunan on December 23, 2008, 04:14:59 PM
Quote from: YodaOfDarkness on December 23, 2008, 01:35:27 AM
Profile > Forum Profile

Either check the "Disable display of own reputation?" box, or increase the amount in the boxes there.

Hi YodaofDarkness,

I have did it and found the fourm post page shows only 0 under "Reputation Power: 0"

No Green Color bars also.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on December 23, 2008, 09:17:37 PM
When you disable your reputation display, it shows a silver bar and doesn't show your power (because then they can just figure out your rep points with simple math)
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: LadyC on December 24, 2008, 12:30:54 PM
one more quick question... (you can wait til after christmas to answer if you want!)

the reputation stats aren't showing up on the stats page.... are they supposed to?

yoda, i hope you have a VERY merry christmas!
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on December 24, 2008, 04:42:51 PM
Ah, you mean you want a list of the top rep givers/receivers on the ?action=stats page? Sure thing, next update (which I'm finally working on right now!)

heh, Christmas isn't for another 10 hours and 20 minutes here... enough time to wrap some presents and drown out the holiday music with some of my own :) same to you!
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Sudhakar Arjunan on December 25, 2008, 06:10:15 AM
Quote from: YodaOfDarkness on December 23, 2008, 09:17:37 PM
When you disable your reputation display, it shows a silver bar and doesn't show your power (because then they can just figure out your rep points with simple math)

That worked, thanks a lot Yoda or Darkness.  :D
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Forkaster on December 29, 2008, 06:10:47 PM
I am having a problem with this Mod and SMF 2.0 Beta 4.

Every time i want to increase someone's reputation i get the following error:
QuoteAn Error Has Occurred!
Session verification failed. Please try logging out and back in again, and then try again.

I am admin, i have logged out and back in and did not work.

Can some one be so kind to help me out here?
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on December 29, 2008, 11:13:11 PM
What link is it sending you to? Post everything after the question mark in the link
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Forkaster on December 30, 2008, 08:06:53 AM
The link it returns is this one:

index.php?action=reputation;uid=

I did not mentioned this before, but i am not on default theme. Could that be the issue?

EDIT:

I think its a theming problem.

THis is what shows in Core theme.

(http://img178.imageshack.us/img178/5175/picture2yx2.png) (http://imageshack.us)

And this is what shows in the theme i am using.

(http://img230.imageshack.us/img230/3039/picture1kq9.png) (http://imageshack.us)

Any changes that i have to do to the theme?
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on January 01, 2009, 03:05:48 AM
Yes, there is a theme edit that needs to be done. Can you attach that theme's Display.template.php file here, and I'll do it for you? That particular one is a little tricky now.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Forkaster on January 02, 2009, 03:14:26 PM
It's attached.

The theme is IceBlue 2. I have also noticed the same problem with the theme Simply Green. Both from SMF Theme Site.

Is there anything you can do to fix the issue? Or at least give instructions on how to manually edit them?
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on January 02, 2009, 06:48:18 PM
I'll try to explain this correctly... since there are three different templates for the karma area, I had to put in three different pieces of code to try to find it. Only one of the three will work for any given template.

http://custom.simplemachines.org/mods/index.php?action=parse;mod=1129;attach=72177;smf_version=2.0%20Beta%204

Search for ./Themes/default/Display.template.php and try the three blocks that have // Is karma display enabled? in them.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: LadyC on January 03, 2009, 09:45:05 PM
i oopsed. i broke something and i don't know how to fix it because i don't know what caused it.

when going to view reputation, it now gives and error that it can't load the karma template.

i can't think what all i've done today that could have messed it up... i know i installed and integrated flash chat 5... i've added a custom tab... last night i installed the arcade... i created some membergroups.... that's all i can think of.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on January 03, 2009, 09:46:46 PM
Post the exact error, and attach Karma.template.php to a file here... and why does it need to use the template? Does it not use the popup box?
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: LadyC on January 03, 2009, 09:50:26 PM
hmmmm, i just realized something, it's only doing that in the custom theme (shadow people). i swear i KNOW i installed it on that theme, and i'm sure it was working yesterday....... hang on, i'll post the template. the error reads

An Error Has Occurred!
Unable to load the 'viewKarma' template.

Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: LadyC on January 03, 2009, 09:53:06 PM
ok, the karma template doesn't exist in the shadow people theme, it calls it from the default theme folder... but here it is...
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: LadyC on January 03, 2009, 09:54:10 PM
oh and... popup box? i don't remember it ever using a popup box even on the default theme... it just shows it in the right-hand side of the profile area...
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: LadyC on January 03, 2009, 10:23:47 PM
i'm gonna watch a movie with the hubby, but i'll check back in the morning to see if you found my problem! i'm sorry to be such a pain in the arse yoda!
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: LadyC on January 04, 2009, 12:58:48 AM
i fixed it... i have no idea how it broke on the custom theme, but all it took was uninstalling and reinstalling it to make it work again!
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on January 04, 2009, 01:59:32 AM
Glad to hear it :)
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: ɔɔɔɔɔɔuɥoɾ on January 05, 2009, 11:50:34 PM
hey thanks you this is a great working mod

i noticed a image failed to load, the page is looking for _basic.gif

i re looked in the package and i dont see that image

can you please help

Thank JohnCcCcCc :)

EDIT:

for now i just copied the correct image and renamed it to _basic.gif
then uploaded it to the image dir instead or good karma_basic.gif and its fine, for now
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on January 06, 2009, 12:22:47 AM
go into /Sources/Profile-View.php and find this line both times it occurs:
'action_type' => $row['action_type'],
and replace it both times with
'action_type' => !empty($row['action_type']) ? $row['action_type'] : ($row['action'] > 0) ? 'karma_good' : 'karma_bad',

It's been fixed for the next release.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: ɔɔɔɔɔɔuɥoɾ on January 06, 2009, 12:29:48 AM
as a matter of fact it did only happen with an empty comment, i did the install.xml edit but i must have missed something, or maybe pasted the same thing i removed lol...

oh well i will leave it as it is for now, til the next release is released

Thank for replying
JohnCcCcCc

EDIT: or maybe the install.xml edit is for another issue ???
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: ɔɔɔɔɔɔuɥoɾ on January 06, 2009, 02:48:00 PM
1st: Sorry for Double Posting


I have another problem, only I (Administrator) can only see the heart (that supposed be near avatar) to give and take REP, any other member dont see it, I look through the settings, dont see anything that would hide the icon

any ideas?

Im using SMF 2.0 BETA 4

Nevermind, i saw in the permissions was set to hide for all members except administrator set it for all now it works

SOLVED
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: KahneFan on January 07, 2009, 10:44:24 AM
Yoda, is the image below how the mod should look?

note: "+ REP" image = "heart" image; [+ REP] & [- REP] = [APPLAUD] & [SMITE]

There's no rep. bar  , and I have the =/- links AND the "+ REP" icon, should I only have the "+ REP" (aka heart) icon?

revised: Logging in with a regular test account made the +/- link disappear. I left it in this post though in case others ask the same question they'll see my response to myself :D

Still no rep bar though  ???
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on January 07, 2009, 01:10:05 PM
Do this:

Quote from: YodaOfDarkness on January 02, 2009, 06:48:18 PM
I'll try to explain this correctly... since there are three different templates for the karma area, I had to put in three different pieces of code to try to find it. Only one of the three will work for any given template.

http://custom.simplemachines.org/mods/index.php?action=parse;mod=1129;attach=72177;smf_version=2.0%20Beta%204

Search for ./Themes/default/Display.template.php and try the three blocks that have // Is karma display enabled? in them.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: KahneFan on January 07, 2009, 01:26:03 PM
Got it, thanks!

BTW, where's the +REP here, Yoda needs a lot of +REP :D :D :D
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: KahneFan on January 08, 2009, 12:18:55 AM
Now that the rep is showing up correctly; the person I gave the rep to show rep power of 0 and I have rep power of 1... is that right? If I go to their profile it shows the rep comment I gave them and if I go to my profile it shows the rep comment I sent, but on the forum it appears to be backwards.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on January 08, 2009, 12:23:00 AM
Give yourself 10,000 points in your profile.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: THE BRA1N on January 08, 2009, 06:36:35 PM
Hi Yoda, Im having a slight problem with the latest mod - none of the rep comments show up in anyone's profile. I uninstalled it and reinstalled it again but i still have the same problem.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on January 08, 2009, 07:56:20 PM
Quote from: YodaOfDarkness on December 22, 2008, 04:15:37 PM
Quote from: YodaOfDarkness on December 09, 2008, 11:54:43 PM
Open /Sources/Profile-View.php

find

while ($row = $smcFunc['db_fetch_assoc']($request))
{
loadMemberData($row['id_executor']);
loadMemberContext($row['id_executor'], false);

$context['member']['karma_received'][] = array(
'action_type' => $row['action_type'],
'executor' => $memberContext[$row['id_executor']]['link'],
'time' => timeformat($row['log_time']),
'comment' => parsesmileys($row['comment']),
'topic_href' => $row['topic'] . '.msg' . $row['message'] . '#msg' . $row['message'],
'topic_title' => $row['title'],
'delete_value' => $row['id_target'] . '|' . $row['id_executor'] . '|' . $row['log_time'],
);
}

replace with

while ($row = $smcFunc['db_fetch_assoc']($request))
{
loadMemberData($row['id_executor']);
loadMemberContext($row['id_executor'], false);
                        parseSmileys($row['comment']);
$context['member']['karma_received'][] = array(
'action_type' => $row['action_type'],
'executor' => $memberContext[$row['id_executor']]['link'],
'time' => timeformat($row['log_time']),
'comment' => $row['comment'],
'topic_href' => $row['topic'] . '.msg' . $row['message'] . '#msg' . $row['message'],
'topic_title' => $row['title'],
'delete_value' => $row['id_target'] . '|' . $row['id_executor'] . '|' . $row['log_time'],
);
}


find

while ($row = $smcFunc['db_fetch_assoc']($request))
{
loadMemberData($row['id_target']);
loadMemberContext($row['id_target'], false);

$context['member']['karma_sent'][] = array(
'action_type' => $row['action_type'],
'target' => $memberContext[$row['id_target']]['link'],
'time' => timeformat($row['log_time']),
'comment' => parsesmileys($row['comment']),
'topic_href' => $row['topic'] . '.msg' . $row['message'] . '#msg' . $row['message'],
'topic_title' => $row['title'],
'delete_value' => $row['id_target'] . '|' . $row['id_executor'] . '|' . $row['log_time'],
);
}

replace with

while ($row = $smcFunc['db_fetch_assoc']($request))
{
loadMemberData($row['id_target']);
loadMemberContext($row['id_target'], false);
                        parseSmileys($row['comment']);
$context['member']['karma_sent'][] = array(
'action_type' => $row['action_type'],
'target' => $memberContext[$row['id_target']]['link'],
'time' => timeformat($row['log_time']),
'comment' => $row['comment'],
'topic_href' => $row['topic'] . '.msg' . $row['message'] . '#msg' . $row['message'],
'topic_title' => $row['title'],
'delete_value' => $row['id_target'] . '|' . $row['id_executor'] . '|' . $row['log_time'],
);
}

Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: THE BRA1N on January 08, 2009, 10:40:49 PM
That fixed the problem. Thx, Yoda.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: KahneFan on January 10, 2009, 11:23:39 PM
Yoda, just a couple of thoughts for the next release (if you want them :D)

1. It would be nice if the rep line showed + & - similar to the original Karma system. This way people can easily see if someone has - rep for some reason.

IE: Reputation Power +45/-3

2. It would also be nice if the "Reputation Power" line was directly linked to the comment system so that you could easily click that to see someone's comments.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Nitrox on January 11, 2009, 12:24:02 AM
Can we have one for v1.1.7 please ?
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on January 11, 2009, 12:52:50 AM
Not at this time, no.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: jkrlvgn on January 12, 2009, 01:42:00 AM
I'm not sure if this has been asked for or not, but what about an option to allow members to view other member's karma (if it's enabled)?
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on January 12, 2009, 03:22:38 AM
?action=profile;sa=viewKarma
that?
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: ʟink on January 12, 2009, 05:47:40 PM
Alright, I installed this mod, with the modification to install.xml. I set all the options and permissions how I wanted them. However, when I attempt to give someone reputation, it only show that I have given reputation in the target's and my profile, but not the comment, and it doesn't increase the reputation power, and the icon is karma_disabled_basic.gif. I had Karma enabled before installing this, and the Reputation system is enabled on the settings page and the main features page. I used to have the karma description mod installed, but then I deleted everything and installed fresh files. Is there something in MySQL that I have to fix?
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on January 12, 2009, 06:07:04 PM
grey icon - do you have any rep power? You need 100 points (by default) to have 1 power

comments - make sure the edits to /Sources/Profile-View.php were made (http://www.simplemachines.org/community/index.php?topic=230676.msg1834298#msg1834298)
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: ʟink on January 12, 2009, 07:14:38 PM
I didn't know you had to have 1 power to give rep. And the edits made the comments work. Thanks!
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on January 12, 2009, 07:16:05 PM
ya, so I'd recommend giving yourself (and any other admins/moderators) 10,000 points to begin with. That way every time you give someone rep, they get 100 points which translates to 1 power for them.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: ʟink on January 12, 2009, 09:10:28 PM
I just ran this SQL code to give everyone 100 points:

UPDATE smf_members
SET karma_good = 100, karma_bad = 0;
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: jkrlvgn on January 13, 2009, 01:56:17 AM
Quote from: YodaOfDarkness on January 12, 2009, 03:22:38 AM
?action=profile;sa=viewKarma
that?

Yes, that.  I'm probably missing something small here, but every time I try to look at it from a test account perspective, all I see is that particular user's karma/reputation, and with everyone else, it states that the person is not allowed to moderate the forum.  I looked in the permissions for a "view karma" permission, but it really doesn't have one.

-Am- I missing something?
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on January 13, 2009, 02:32:57 AM
That should only be for deleting rep actions. You're using v1.5.2, correct?

And I've decided to wait until RC1 to release the next version... upgrading from 1.5.2 to 1.6 wouldn't be pretty because of some of the things I've changed. It's just not worth the hassle for anyone.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: jkrlvgn on January 13, 2009, 02:38:03 AM
Yes, using 1.5.2, I'm sure.  So then everything is right then.  Damn.  *LOL*

As for the wait until RC1, I'm sure that's a good idea...most people seem to be doing that instead of continuing with the different Betas...from what I understand, the coding changes between the others enough to where it makes issues for other things...so I agree with you on there.  :)

This is a great mod.  If it's possible to allow others to view the karma, at least the last karma received, that'd be great....if not, then oh well, I can live without it.  *L*


Good luck with the future versions...we'll all be waiting for it when it comes out.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: ʟink on January 13, 2009, 04:21:21 PM
I know this isn't how it was designed, but is there a way to make power only cosmetic; they still only add 1 rep point no matter what power they are? And thanks for an awesome mod, it works great!
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: NEMINI on January 14, 2009, 03:00:01 AM
Yoda,

Any plans to add an option to PM a user when their reputation has been altered (ala the now defunct karma description mod)?

Also any plans to allow a higher reputation to increase ones power to give? (ie: the more you get the more you can give?)
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on January 14, 2009, 03:21:20 AM
linkgamer3: Yes, I'll have to look at the code to tell you.

NEMINI: I currently have no plans for the second part, but I might look into it in the future. The first part is already how this works... your power eventually goes up as you get more points from other people. Make sure a few people have somewhere from 100 to 10,000 points and that will jump start it.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: ʟink on January 14, 2009, 01:45:28 PM
Thanks, Yoda. I'll check back every so often, no rush. :)
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: ʟink on January 16, 2009, 12:58:00 AM
I figured out a solution to making power only cosmetic.
./Sources/Karma.php
Find:

if($karma_which == 'karma_good')
$request = $smcFunc['db_query']('', '
UPDATE {db_prefix}members
SET karma_good = karma_good + {int:power}
WHERE id_member = {int:uid}',
array(
'power' => $power,
'uid' => $uid,
)
);

Replace with:

if($karma_which == 'karma_good')
$request = $smcFunc['db_query']('', '
UPDATE {db_prefix}members
SET karma_good = karma_good + {int:power}
WHERE id_member = {int:uid}',
array(
'power' => 1,
'uid' => $uid,
)
);

Find:

else
$request = $smcFunc['db_query']('', '
UPDATE {db_prefix}members
SET karma_bad = karma_bad + {int:power}
WHERE id_member = {int:uid}',
array(
'power' => 1,
'uid' => $uid,
)
);

Replace with:

else
$request = $smcFunc['db_query']('', '
UPDATE {db_prefix}members
SET karma_bad = karma_bad + {int:power}
WHERE id_member = {int:uid}',
array(
'power' => 1,
'uid' => $uid,
)
);

Hope this is useful!
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Quexinos on January 20, 2009, 06:37:58 AM
This mod is truly amazing and totally worth SMF alone.

Here's the thing, I'm sorry to be a total bother but I did the thing to install on all themes, but... it shows their reputation amount but there's no heart, just
QuoteReputation: 0
[approve] [disapprove]
Posts: 8
and the approve and disapprove don't work right obviously.

Anyway I'm sure you've said it a million times but this thread is HUGE, can you show me where to get the instructions to install on all themes?  I'm using a modification of this theme if it helps:
http://custom.simplemachines.org/themes/index.php?lemma=1257

Thanks.
It works awesome on the default theme. 

BTW if all I have to do is add these changes to the files in my custom skin, I can do that:
http://custom.simplemachines.org/mods/index.php?action=parse
The problem was I tried it before with a different mod and it didn't go so well.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Hot Rides on January 20, 2009, 11:09:58 AM
Quote from: Quexinos on January 20, 2009, 06:37:58 AM
This mod is truly amazing and totally worth SMF alone.

Here's the thing, I'm sorry to be a total bother but I did the thing to install on all themes, but... it shows their reputation amount but there's no heart, just
QuoteReputation: 0
[approve] [disapprove]
Posts: 8
and the approve and disapprove don't work right obviously.

Anyway I'm sure you've said it a million times but this thread is HUGE, can you show me where to get the instructions to install on all themes?  I'm using a modification of this theme if it helps:
http://custom.simplemachines.org/themes/index.php?lemma=1257

Thanks.
It works awesome on the default theme. 

BTW if all I have to do is add these changes to the files in my custom skin, I can do that:
http://custom.simplemachines.org/mods/index.php?action=parse
The problem was I tried it before with a different mod and it didn't go so well.
any change made to the default theme should be made to the corresponding files in your custom theme, its not that difficult, I managed to do it
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: lepard on January 20, 2009, 03:49:00 PM
Can we expect a version compatible with 2.0 RC1 anytime soon?
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on January 20, 2009, 07:40:34 PM
I've got 1 more edit to fix for RC1 (it's a regular expression one, which there's 0 documentation/examples for) and then I'll test it (http://www.fustrate.com/dev/rep/ if you'd like to participate) and hopefully release it along with the public release of RC1 in a week or two.

Oh, and the regexps are for the theme edits that have caused so much trouble... you won't be able to do them by hand anymore, but that shouldn't matter if I get it right this time.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Quexinos on January 20, 2009, 08:21:37 PM
Quote from: Hot Rides on January 20, 2009, 11:09:58 AM

any change made to the default theme should be made to the corresponding files in your custom theme, its not that difficult, I managed to do it
Okay that's all I needed to know, thanks.  It shouldn't be a problem, I've done this before I just didn't want to go making a bunch of changes if it wasn't necessary.   ;)
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Quexinos on January 21, 2009, 09:43:43 PM
This rep system is made of pure win.  The install went just fine, no problems. 

I do have one question though, is it possible to make it so that there's more than one description for someone with negative points?  Like how it is for the positive ones?  Also is it possible to set when the positive ones come into effect or is it just every 1000 or whatever?

Thanks.  Sorry if it was asked before.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on January 21, 2009, 11:23:48 PM
In the admin panel, change the rep bars value from 1000 to whatever you'd like it to be (every 200 points, every 47, etc.)

There aren't multiple descriptions for negative, though. That's something that isn't possible with the current code.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Quexinos on January 22, 2009, 01:24:10 AM
All right thanks, is multiple descriptions for negative anything you think you might add?  Not saying you should just wondering if I should check back for it.  and about the bars, I was asking if you can make it like, you reach the first one at 47 but the next one at 103 or something.  I dunno why I want that though, it's kind of weird now that I think about it.  Never mind.   :-X
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on January 22, 2009, 01:29:21 AM
ya, there's really no way to do either thing.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Quexinos on January 22, 2009, 02:41:38 PM
That's okay, it's good the way it is, sorry. 

One more quick question though, I have it set so that users gain a bar every 500... but it seems to be doing it every 1000 regardless.  Is there something else I have to do?


Disregard that, it's working just fine.  My bad.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Mythers on January 23, 2009, 06:15:11 PM
Hey !

I'm using Midnight sun theme on my forum, 2.0 beta 4. And, whenever i install this mod, instead of the images that should be their, theres just text. Like: There is supposed to be a [Rep] button their, but instead it just says: Rep

Anyone that can help me out here ?
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on January 23, 2009, 06:27:15 PM
did the images get uploaded to the Midnight Sun theme /images/ folder?
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Mythers on January 23, 2009, 06:34:12 PM
Quote from: YodaOfDarkness on January 23, 2009, 06:27:15 PM
did the images get uploaded to the Midnight Sun theme /images/ folder?

No, but i did it manually, and still didn't show no images =/
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: KadirX on January 23, 2009, 07:14:17 PM
Could you make a 1.1.7 version? :)
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on January 23, 2009, 10:06:10 PM
Mythers - open /Themes/(midnight sun's name)/Display.template.php and search for the word "pos_rep". Is it there?

KadirX - there are no plans for a 1.1.7 version at this time.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Mythers on January 24, 2009, 06:58:10 AM
I've changed theme instead since their was alot of mods not working with the theme.

Anyways, now i've got another error when i try to add rep:
QuoteAn Error Has Occurred!
Session verification failed. Please try logging out and back in again, and then try again.

I've tried to relog at least 5 times, and still isn't working.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Justass00 on January 28, 2009, 08:46:15 AM
Quote from: Mythers on January 24, 2009, 06:58:10 AM
I've changed theme instead since their was alot of mods not working with the theme.

Anyways, now i've got another error when i try to add rep:
QuoteAn Error Has Occurred!
Session verification failed. Please try logging out and back in again, and then try again.

I've tried to relog at least 5 times, and still isn't working.
I have the same problem with this mod too.. Tried deleting cookies, clearing browser/forum caches.. Nothing helps...
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on January 28, 2009, 11:41:05 AM
(Whichever one of you reads this first)

1. Are you getting the little popup reputation box before it does this?

2. Check your error log. What line in Karma.php is this happening on? Also attach your Karma.php from /Sources/ to a post here.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Mai Pen Rai on January 28, 2009, 04:31:05 PM
I got everything working for RC1, but the stats... Anyone with solution on how to show the stats for recent reputation for RC1?
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on January 28, 2009, 04:32:23 PM
I'll have a package ready for 2.0 by the time it goes public. I'm still testing it out.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Justass00 on January 29, 2009, 08:33:14 AM
Quote from: Fustrate on January 28, 2009, 11:41:05 AM
(Whichever one of you reads this first)

1. Are you getting the little popup reputation box before it does this?

2. Check your error log. What line in Karma.php is this happening on? Also attach your Karma.php from /Sources/ to a post here.
1. No, it opens page "/index.php?action=reputation;uid=" and shows Session verification failed message..
I attached error log.. (Sorry, but I'm not sure if its safe to write session number so I blurred it..)

Display.template.php lines 679-709
// As before, build the custom button right.
if ($context['can_add_poll'])
$normal_buttons['custom'] = array('text' => 'add_poll', 'image' => 'add_poll.gif', 'lang' => true, 'url' => $scripturl . '?action=editpoll;add;topic=' . $context['current_topic'] . '.' . $context['start'] . ';sesc=' . $context['session_id']);
elseif ($context['user']['is_logged'] && $settings['show_mark_read'])
$normal_buttons['custom'] = array('text' => 'mark_unread', 'image' => 'markunread.gif', 'lang' => true, 'url' => $scripturl . '?action=markasread;sa=topic;t=' . $context['mark_unread_time'] . ';topic=' . $context['current_topic'] . '.' . $context['start'] . ';sesc=' . $context['session_id']);

echo '
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="middletext">', $txt['pages'], ': ', $context['page_index'], !empty($modSettings['topbottomEnable']) ? $context['menu_separator'] . ' &nbsp;&nbsp;<a href="#top"><b>' . $txt['go_up'] . '</b></a>' : '', '</td>
<td align="right" style="padding-right: 1ex;">
<table cellpadding="0" cellspacing="0">
<tr><td>


</td></tr>
</table>
</td>
</tr>
</table>

<table border="0" width="100%" cellpadding="0" cellspacing="0" style="margin-bottom: 1ex;">
<tr>';
if ($settings['linktree_inline'])
echo '
<td valign="top">', theme_linktree(), '</td> ';
echo '
<td valign="top" align="', !$context['right_to_left'] ? 'right' : 'left', '" class="nav"> ', $context['previous_next'], '</td>
</tr>
</table>';

Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on January 29, 2009, 12:48:33 PM
Sounds like the edits weren't made to Display.template.php. Can you attach it here so I can see how your theme does it, and possibly add it to the installer? I'll also do the edits for you and reattach it here.

oh, and the undefined can_solve_topic isn't from this mod
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Justass00 on January 29, 2009, 01:55:23 PM
I fixed it.. You were right.. I had to made all changes to my theme manualy.. And now it works fine...
Great mod!
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on January 29, 2009, 02:25:09 PM
So they were the same as in the package, I take it. Yay :)

I've still gotta find the problem with the session error, though...
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Digital12 on January 30, 2009, 09:33:27 PM
On my theme, DarkBreak_b4 by DZinerStudio the Rep Green and Red all those images are big red X's

How can I fix this?

link is http://fps-zone.net please help me out. Thanks!  :D
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on January 30, 2009, 11:13:37 PM
Upload the five rep images to that theme's images directory.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: chrissiemags on January 31, 2009, 12:59:23 PM
Where did my heart go?  I'm using 2.0 beta 4 with the SMF Default Theme - Core  I used the package installer and it stated that it all installed correctly.  All my members have their hearts and there actual rep works but there is no rep option for the admin.   :o
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on January 31, 2009, 06:07:23 PM
It's because you can't rep yourself ;)
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: chrissiemags on January 31, 2009, 11:04:05 PM
Quote from: Fustrate on January 31, 2009, 06:07:23 PM
It's because you can't rep yourself ;)

OMG  LOL now I feel like an idiot!  Duh!  Thank you
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Mai Pen Rai on February 07, 2009, 05:40:16 PM
Where is the download link for 1.6 Version if I may ask?
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on February 07, 2009, 05:41:15 PM
It's not here yet, I'm still testing it.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Mai Pen Rai on February 07, 2009, 05:46:17 PM
Hehe, on the first page you announce the release of v1.6, but not here yet.

Me understands... Take your time. Me very patient. Not. ;)
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on February 07, 2009, 06:31:11 PM
Ya, I edited that a while ago. I should have it up by the end of today, or you can jump the gun and grab it here (http://www.fustrate.com/dev/sources/Advanced%20Reputation%20System/), but I make no guarantees.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Mai Pen Rai on February 07, 2009, 11:41:47 PM
OK, got it working. Thanks...

A small bug found though, on multipage reputation, sa=viewAwards should be area=reputation and so on...
In Profile-View.php that is.

A very big thanks for the help...
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: ɔɔɔɔɔɔuɥoɾ on February 07, 2009, 11:48:49 PM
any idea when this mod will be SMF 2.0 RC1 compliant? 
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on February 08, 2009, 12:28:37 AM
Mai Pen Rai, thanks for the heads-up. Can you tell me if you're able to send rep to someone and it does change their rep points/power?

johncccccc, I'd tentatively say it'll work from that URL. I've just fixed that error that Mai Pen Rai brought up, meaning the automatic zip creation script will already have it in there.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: ɔɔɔɔɔɔuɥoɾ on February 08, 2009, 12:36:47 AM
so this mod will now work on SMF 2.0 RC1?

just gotta make it clear :)
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on February 08, 2009, 12:46:26 AM
Yes.
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: ɔɔɔɔɔɔuɥoɾ on February 08, 2009, 12:52:45 AM
sweet, it because im planning to upgrade and im awaiting all my currently installed mods and theme to be updated to it can be used on smf 2.00 RC1

Thanks :)

ps your mod is great  :)
Title: Re: Advanced Reputation System - Now With 100% More Beta 4 Compatibility!
Post by: Fustrate on February 08, 2009, 01:10:32 AM
Thank you :)
Title: Re: Advanced Reputation System
Post by: Mai Pen Rai on February 08, 2009, 10:36:07 AM
Quote from: Fustrate on February 08, 2009, 12:28:37 AM
Mai Pen Rai, thanks for the heads-up. Can you tell me if you're able to send rep to someone and it does change their rep points/power?

johncccccc, I'd tentatively say it'll work from that URL. I've just fixed that error that Mai Pen Rai brought up, meaning the automatic zip creation script will already have it in there.

Hi again Fustrate,

Sure I get it to work. All works as it should now.
I did have a few problems when installing - for example 2 hearts were showing up under the avatars, mostly because of my modified display.template and the old filechanges, when removed one of the hearts the systems stopped working for some reason, but a bit of magic and now its all 100% as it should.

Is there by any chance a "list" with most recent reputation changes from any and all of the users available?
Title: Re: Advanced Reputation System
Post by: rtkane on February 08, 2009, 11:07:01 AM
Well, I can't seem to get it to work properly (using babylon theme).   There are no buttons to give rep showing up, and I've enabled the permissions in the membergroup settings to allow people to + and -.  Any ideas?  What do you need from me?

Related to this, and perhaps this is what made it not work--in the install files (package-info.xml and install.xml), I hard coded the Themes/babylon/ in in place of $themedir/ trying to get it to work with the theme.  Should i just uninstall and start over w/ a fresh download and go from there?  Any help is really appreciated.  Thanks!

Title: Re: Advanced Reputation System
Post by: Fustrate on February 08, 2009, 01:48:40 PM
Did you, when you first installed it, open the area for other themes at the bottom of the page and select Babylon? That's the way to install on other themes.
Title: Re: Advanced Reputation System
Post by: Waffadrunker on February 09, 2009, 12:05:02 AM
I might be a bit newbie on these installs

The last version worked for 2.0 beta 4 but when i did upgrade to RC1, removed your mod 1.5.2 version & uploaded the 1.6 version i get this:

(i am not sore if i should get it or not)

       Type     Action     Description
   1.    Execute Code    install.php    
*    2.    Execute Modification    ./index.php    Test successful
      1.    Add After    ./index.php    Test successful
*    3.    Execute Modification    ./Themes/default/Display.template.php    Test failed
      1.    Replace    ./Themes/default/Display.template.php    Test failed
      2.    Add After    ./Themes/default/Display.template.php    Test successful
*    4.    Execute Modification    ./Themes/default/Profile.template.php    Test successful
      1.    Add Before    ./Themes/default/Profile.template.php    Test successful
*    5.    Execute Modification    ./Themes/default/PersonalMessage.template.php    Test successful
      1.    Replace    ./Themes/default/PersonalMessage.template.php    Test successful
*    6.    Execute Modification    ./Themes/default/Stats.template.php    Test successful
      1.    Add Before    ./Themes/default/Stats.template.php    Test successful
*    7.    Execute Modification    ./Themes/default/scripts/script.js    Test successful
      1.    Add Before    ./Themes/default/scripts/script.js    Test successful
*    8.    Execute Modification    ./Themes/default/style.css    Test successful
      1.    Add Before    ./Themes/default/style.css    Test successful
*    9.    Execute Modification    ./Sources/Display.php    Test failed
      1.    Add After    ./Sources/Display.php    Test successful
      2.    Replace    ./Sources/Display.php    Test failed
      3.    Add After    ./Sources/Display.php    Test successful
*    10.    Execute Modification    ./Sources/Karma.php    Test failed
      1.    Add Before    ./Sources/Karma.php    Test successful
      2.    Replace    ./Sources/Karma.php    Test failed
      3.    Replace    ./Sources/Karma.php    Test failed
*    11.    Execute Modification    ./Sources/Load.php    Test failed
      1.    Add After    ./Sources/Load.php    Test successful
      2.    Replace    ./Sources/Load.php    Test successful
      3.    Replace    ./Sources/Load.php    Test failed
      4.    Add After    ./Sources/Load.php    Test successful
      5.    Add Before    ./Sources/Load.php    Test successful
*    12.    Execute Modification    ./Sources/ManageMaintenance.php    Test successful
      1.    Replace    ./Sources/ManageMaintenance.php    Test successful
*    13.    Execute Modification    ./Sources/ManagePermissions.php    Test successful
      1.    Add After    ./Sources/ManagePermissions.php    Test successful
      2.    Add After    ./Sources/ManagePermissions.php    Test successful
      3.    Add After    ./Sources/ManagePermissions.php    Test successful
*    14.    Execute Modification    ./Sources/ManageServer.php    Test successful
      1.    Add Before    ./Sources/ManageServer.php    Test successful
*    15.    Execute Modification    ./Sources/ManageSettings.php    Test failed
      1.    Replace    ./Sources/ManageSettings.php    Test failed
      2.    Add After    ./Sources/ManageSettings.php    Test successful
      3.    Replace    ./Sources/ManageSettings.php    Test failed
*    16.    Execute Modification    ./Sources/Post.php    Test failed
      1.    Replace    ./Sources/Post.php    Test failed
      2.    Replace    ./Sources/Post.php    Test failed
*    17.    Execute Modification    ./Sources/Profile.php    Test successful
      1.    Add After    ./Sources/Profile.php    Test successful
*    18.    Execute Modification    ./Sources/Profile-Modify.php    Test failed
      1.    Add After    ./Sources/Profile-Modify.php    Test successful
      2.    Replace    ./Sources/Profile-Modify.php    Test failed
*    19.    Execute Modification    ./Sources/Profile-View.php    Test successful
      1.    Add Before    ./Sources/Profile-View.php    Test successful
*    20.    Execute Modification    ./Sources/RemoveTopic.php    Test failed
      1.    Replace    ./Sources/RemoveTopic.php    Test failed
      2.    Replace    ./Sources/RemoveTopic.php    Test failed
*    21.    Execute Modification    ./Sources/ScheduledTasks.php    Test successful
      1.    Add Before    ./Sources/ScheduledTasks.php    Test successful
*    22.    Execute Modification    ./Sources/Stats.php    Test successful
      1.    Replace    ./Sources/Stats.php    Test successful
      2.    Add Before    ./Sources/Stats.php    Test successful
*    23.    Execute Modification    ./Sources/Subs-Members.php    Test successful
      1.    Add After    ./Sources/Subs-Members.php    Test successful
*    24.    Execute Modification    ./Themes/default/languages/Admin.english.php    Test failed
      1.    Replace    ./Themes/default/languages/Admin.english.php    Test failed
*    25.    Execute Modification    ./Themes/default/languages/Errors.english.php    Test failed
      1.    Replace    ./Themes/default/languages/Errors.english.php    Test failed
      2.    Add Before    ./Themes/default/languages/Errors.english.php    Test successful
*    26.    Execute Modification    ./Themes/default/languages/Help.english.php    Test failed
      1.    Replace    ./Themes/default/languages/Help.english.php    Test failed
*    27.    Execute Modification    ./Themes/default/languages/index.english.php    Test successful
      1.    Add Before    ./Themes/default/languages/index.english.php    Test successful
*    28.    Execute Modification    ./Themes/default/languages/Install.english.php    Test failed
      1.    Replace    ./Themes/default/languages/Install.english.php    Test failed
*    29.    Execute Modification    ./Themes/default/languages/ManageScheduledTasks.english.php    Test successful
      1.    Add After    ./Themes/default/languages/ManageScheduledTasks.english.php    Test successful
*    30.    Execute Modification    ./Themes/default/languages/ManagePermissions.english.php    Test failed
      1.    Replace    ./Themes/default/languages/ManagePermissions.english.php    Test failed
      2.    Add Before    ./Themes/default/languages/ManagePermissions.english.php    Test successful
*    31.    Execute Modification    ./Themes/default/languages/ManageSettings.english.php    Test failed
      1.    Replace    ./Themes/default/languages/ManageSettings.english.php    Test failed
      2.    Replace    ./Themes/default/languages/ManageSettings.english.php    Test failed
      3.    Add Before    ./Themes/default/languages/ManageSettings.english.php    Test successful
*    32.    Execute Modification    ./Themes/default/languages/Profile.english.php    Test successful
      1.    Add Before    ./Themes/default/languages/Profile.english.php    Test successful
*    33.    Execute Modification    ./Themes/default/languages/Reports.english.php    Test failed
      1.    Replace    ./Themes/default/languages/Reports.english.php    Test failed
*    34.    Execute Modification    ./Themes/default/languages/Stats.english.php    Test failed
      1.    Replace    ./Themes/default/languages/Stats.english.php    Test failed

Q:
So should i press "install now" and then do all this things that *failed* manually or something other like that? Or is there more easy solution? I first try to install the skin by downloading manager & second time i uploaded the archive to the ftp - still same results.


I basically have no other mods installed then "Aeva ~ Auto-Embed Video & Audio" & "Automerge" - and install for this board is pretty much brand new (i just played around whit the beeta before) & also i use default skin right now - later i plan to install other skins..

Thank you
Title: Re: Advanced Reputation System
Post by: Fustrate on February 09, 2009, 12:16:22 AM
did you uninstall after you upgraded to RC1?
Title: Re: Advanced Reputation System
Post by: Waffadrunker on February 09, 2009, 12:50:30 AM
yes i uninstalled after i upgraded - but it seams that some other things have gone wrong also, i even can not post new topics or edit old ones - so i just reinstall for now clean RC1.

Currently i get error when i try to post:  Fatal error: Cannot redeclare doublepostcheck() (previously declared in /home/***/public_html/***/foorum/Sources/Subs-Post.php:2870) in /home/***/public_html/***/foorum/Sources/Subs-Post.php on line 2951

After i have clean install i will try to add this package again (it should install to default theme whit no problem right?)

Also do i lose my reputations and things after in future i do upgrades for SMF or to Advanced Reputation System?
Title: Re: Advanced Reputation System
Post by: Fustrate on February 09, 2009, 01:04:53 AM
no, your reputation stays as long as your member stays.
Title: Re: Advanced Reputation System
Post by: Mai Pen Rai on February 09, 2009, 11:25:18 AM
Is there someway to see "most recent" reputation changes for all members?
Title: Re: Advanced Reputation System
Post by: Fustrate on February 09, 2009, 02:12:09 PM
Not at this time, no. I'll work on putting that into 1.6.1, which I'll attempt to release tomorrow.
Title: Re: Advanced Reputation System
Post by: kikizgz on February 09, 2009, 02:56:16 PM
Hi, Does anyone could help me to translate, or translate it into Spanish?
I need help.
Thanks!
Title: Re: Advanced Reputation System
Post by: Mai Pen Rai on February 09, 2009, 04:24:00 PM
Quote from: Fustrate on February 09, 2009, 02:12:09 PM
Not at this time, no. I'll work on putting that into 1.6.1, which I'll attempt to release tomorrow.

Wow, that sounds great... Looking forward to it.
Title: Re: Advanced Reputation System
Post by: ɔɔɔɔɔɔuɥoɾ on February 09, 2009, 04:35:53 PM
Quote from: Waffadrunker on February 09, 2009, 12:50:30 AM
Also do i lose my reputations and things after in future i do upgrades for SMF or to Advanced Reputation System?

So if i uninstall this mod and upgrade to RC1, and reinstall the mod fresh, all the REP for all members will remain the same as were before uninstalling?
Title: Re: Advanced Reputation System
Post by: Fustrate on February 09, 2009, 08:21:42 PM
It should, yes. It's always best to make a backup of your database just in case, though. Better to be safe than sorry.
Title: Re: Advanced Reputation System
Post by: DakOon on February 09, 2009, 09:08:55 PM
thank you for such a great mod
Title: Re: Advanced Reputation System
Post by: rtkane on February 09, 2009, 11:33:15 PM
Quote from: Fustrate on February 08, 2009, 01:48:40 PM
Did you, when you first installed it, open the area for other themes at the bottom of the page and select Babylon? That's the way to install on other themes.

No, but I think i got it working now, though.  I may have more questions for you on the functionality if i can't find it, though!  But thanks for the quick response and a great mod.  I do appreciate it!
Title: Re: Advanced Reputation System
Post by: Mai Pen Rai on February 10, 2009, 02:06:41 PM
Any news on 1.6.1?

All my members are waitng... :)
Title: Re: Advanced Reputation System
Post by: Fustrate on February 10, 2009, 03:53:39 PM
It's only 12:53 PM here in California! I still have 11 hours and 7 minutes :)
Title: Re: Advanced Reputation System
Post by: Fustrate on February 10, 2009, 08:40:41 PM
Mai Pen Rai - try upgrading with this, and tell me how it goes.
Title: Re: Advanced Reputation System
Post by: timned88 on February 10, 2009, 08:44:02 PM
fustrate,
does this mod automatically calculate rep. from the past if i install it now?
ie.  if i put it in today, will it calculate rep. from day 1 (give me a score of whatever based on the scoring criteria that i set?) or does it start at 0 and begin scoring from the time it is installed?
Title: Re: Advanced Reputation System
Post by: Fustrate on February 10, 2009, 08:45:43 PM
If you had 47 karma before you installed this mod, you'd have 47 reputation points after you install it. Everything starts fresh (i.e. it doesn't do all of the calculations as if you had used this from the beginning, but you keep your points).
Title: Re: Advanced Reputation System
Post by: timned88 on February 10, 2009, 08:49:04 PM
hmmm....  does enabling karma start at 0 when you enable it, or back-calculate it?
i know the eliana mod does what i am looking for, but it is incompatible with 2.0RC1.
Title: Re: Advanced Reputation System
Post by: Fustrate on February 10, 2009, 08:52:42 PM
It does not back-calculate, if you mean what I think you mean.

You want it to take the log that says
QuoteJenny -> Mark
Mark -> Sally
Greg -> Mark
Sally -> Greg
Joe -> Alan
Alan -> Jenny
and do all of the calculations from there, I believe?

The basic log system deletes entries older than x amount of days, so that's really not possible unless your forum is very young.
Title: Re: Advanced Reputation System
Post by: timned88 on February 10, 2009, 08:56:11 PM
eliana has a feature that assigns a score (ie. +1/post, +3/topic, etc.) and if you hit recount forum statistics in the admin panel, it will rescore the karma based on the new criteria from day 1.  if i installed it today, i would get a score covering all 3 years my forum has existed.
Title: Re: Advanced Reputation System
Post by: Fustrate on February 10, 2009, 09:08:07 PM
ah, that's just from posts and topics, not user interaction. I have a file that you can use for that, give me a while to find it and update it if needed.
Title: Re: Advanced Reputation System
Post by: timned88 on February 10, 2009, 09:09:48 PM
that would be awesome.  thanks!
i am guessing that i could run this new file, then apply your mod to keep on going?
sort of a 2 step process?
Title: Re: Advanced Reputation System
Post by: Fustrate on February 10, 2009, 09:19:29 PM
You have to install the mod first, since it uses the settings that are added for post and topic value to do everything.

Download GiveReputation.php from the mod's download page, put it in your forum's base directory, and navigate to it in your browser. It does 100 people at a time by default, but you can change it at the top of the file before your run it if you'd like to do more.
Title: Re: Advanced Reputation System
Post by: timned88 on February 10, 2009, 09:22:34 PM
do i need to have the advanced rep. mod installed and karma turned on before i run givereputation.php?
Title: Re: Advanced Reputation System
Post by: Fustrate on February 10, 2009, 09:25:00 PM
yes, and you might want to look at the per-post and per-topic point values in Configuration -> Features & Options -> Reputation if you don't want to use the defaults (which I can't remember off the top of my head).
Title: Re: Advanced Reputation System
Post by: timned88 on February 10, 2009, 09:25:54 PM
10-4, sir!, i will give it a shot and report back. 
Title: Re: Advanced Reputation System
Post by: timned88 on February 10, 2009, 09:33:04 PM
ok, here are the results of running the .php script that you posted:
Members 1 through 397 have been updated.

Debugging Information:
User #1 received 10468 reputation points for 593 topics and 3993 posts.
User #2 received 168 reputation points for 13 topics and 58 posts.
User #3 received 254 reputation points for 11 topics and 105 posts.
User #4 received 1022 reputation points for 63 topics and 385 posts.
User #5 received 86 reputation points for 8 topics and 27 posts.
User #6 received 146 reputation points for 11 topics and 51 posts.
User #7 received 2328 reputation points for 124 topics and 916 posts.
User #8 received 16 reputation points for 1 topics and 6 posts.
User #9 received 242 reputation points for 10 topics and 101 posts.
User #10 received 6 reputation points for 0 topics and 3 posts.

i am user#1 and my visible score on the board is 52.  any idea why?
i went back and made sure karma was turned on in the configuration and it went to 104.
i ran Give Reuputation again and now i am at 156.  it keeps going up by 52.
i am so confused.  all the default values remain the same from your defaults.
Title: Re: Advanced Reputation System
Post by: Fustrate on February 10, 2009, 09:36:49 PM
Go to your profile and tell me how many points it says you have.

And did you change any settings, specifically how many points per power?
Title: Re: Advanced Reputation System
Post by: timned88 on February 10, 2009, 09:39:04 PM
we cross posted...  check the above topic once again as i modified it.
my profile reads:

Reputation:    15647 but that is too high.  i need to reset everyone to 0 and start over to get a true score once we figure out what the issue is on the post tab.
Title: Re: Advanced Reputation System
Post by: Fustrate on February 10, 2009, 09:45:11 PM
To reset to 0, run this query in phpMyAdmin:
UPDATE smf_members
SET karma_good = 0, karma_bad = 0
WHERE 1=1


You yourself should end up with 5772 points, which is 57 power in your posts and 5 green bar images.
Title: Re: Advanced Reputation System
Post by: timned88 on February 10, 2009, 10:39:18 PM
ok, working well now.
last question, how would i move the decimal point to get one more place...  this way mine would be 577 instead of 57?
Title: Re: Advanced Reputation System
Post by: Fustrate on February 10, 2009, 10:47:28 PM
change the value from 100 to 10 in the settings.
Title: Re: Advanced Reputation System
Post by: timned88 on February 10, 2009, 10:49:51 PM
awesome!  its working a treat.  thanks!
Title: Re: Advanced Reputation System
Post by: Fustrate on February 10, 2009, 11:05:17 PM
You're very welcome :)
Title: Re: Advanced Reputation System
Post by: timned88 on February 10, 2009, 11:54:26 PM
one last request if i may...   how would i recode the stats page to show the bar.gif instead of the reputation pips? 
Title: Re: Advanced Reputation System
Post by: Fustrate on February 11, 2009, 12:32:18 AM
Stats.php

Find

while($row = $smcFunc['db_fetch_assoc']($result)){
$rep_bars = '';

$points = $row['karma'];
$bars = ($points - ($points % $modSettings['karmaBarPoints'])) / $modSettings['karmaBarPoints'];
$bars = $bars < 1 ? 1 : (($bars > $modSettings['karmaMaxBars']) ? $modSettings['karmaMaxBars'] : $bars);
$description = $descriptions[$bars - 1];

for($i = 0; $i < $bars; $i++)
$rep_bars .= '<img src="' . $settings['images_url'] . '/karma_good_' . ($i < ($modSettings['karmaSuperBar'] - 1) ? 'basic' : 'super') . '.gif" title="' . $row['real_name'] . ' ' . $description . '" alt="' . $row['real_name'] . ' ' . $description . '" />';

$context['reputation_best'][] = array(
'link' => '<a href="' . $scripturl . '?action=profile;u=' . $row['id_member'] . '">' . $row['real_name'] . '</a>',
'reputation_bars' => $rep_bars,
'amount' => '+' . $row['karma'],
);
}

$smcFunc['db_free_result']($result);

$result = $smcFunc['db_query']('', '
SELECT (karma_bad - karma_good) AS karma, id_member, real_name
FROM {db_prefix}members
WHERE karma_bad > karma_good
ORDER BY karma DESC
LIMIT 10',
array()
);

while($row = $smcFunc['db_fetch_assoc']($result)){
$rep_bars = '';

$points = $row['karma'];
$bars = ($points - ($points % $modSettings['karmaBarPoints'])) / $modSettings['karmaBarPoints'];
$bars = $bars < 1 ? 1 : (($bars > $modSettings['karmaMaxBars']) ? $modSettings['karmaMaxBars'] : $bars);

for($i = 0; $i < $bars; $i++)
$rep_bars .= '<img src="' . $settings['images_url'] . '/karma_bad_' . ($i < ($modSettings['karmaSuperBar'] - 1) ? 'basic' : 'super') . '.gif" title="' . $row['real_name'] . ' ' . $modSettings['karmaNegativeDescription'] . '" alt="' . $row['real_name'] . ' ' . $modSettings['karmaNegativeDescription'] . '" />';

$context['reputation_worst'][] = array(
'link' => '<a href="' . $scripturl . '?action=profile;u=' . $row['id_member'] . '">' . $row['real_name'] . '</a>',
'reputation_bars' => $rep_bars,
'amount' => '-' . $row['karma'],
);
}

$smcFunc['db_free_result']($result);

Replace with

$first = true;

while($row = $smcFunc['db_fetch_assoc']($result)){
$points = $row['karma'];

if($first){
$first = false;
$top = $points;
}

$context['reputation_best'][] = array(
'link' => '<a href="' . $scripturl . '?action=profile;u=' . $row['id_member'] . '">' . $row['real_name'] . '</a>',
'reputation_bars' => '<img src="' . $settings['images_url'] . '/bar.gif" width="' . round(($points * 100) / $top) . '" height="15" alt="" />',
'amount' => '+' . $row['karma'],
);
}

$smcFunc['db_free_result']($result);

$result = $smcFunc['db_query']('', '
SELECT (karma_bad - karma_good) AS karma, id_member, real_name
FROM {db_prefix}members
WHERE karma_bad > karma_good
ORDER BY karma DESC
LIMIT 10',
array()
);

$first = true;

while($row = $smcFunc['db_fetch_assoc']($result)){
$points = $row['karma'];

if($first){
$first = false;
$top = $points;
}

$context['reputation_worst'][] = array(
'link' => '<a href="' . $scripturl . '?action=profile;u=' . $row['id_member'] . '">' . $row['real_name'] . '</a>',
'reputation_bars' => '<img src="' . $settings['images_url'] . '/bar.gif" width="' . round(($points * 100) / $top) . '" height="15" alt="" />',
'amount' => '-' . $row['karma'],
);
}

$smcFunc['db_free_result']($result);


It wasn't supposed to be in the release version, I was having fun and forgot to stop ;)
Title: Re: Advanced Reputation System
Post by: timned88 on February 11, 2009, 01:02:44 AM
ok, that fixed it.
now i am noticing that some people's rep is not calculated correction.
ie.   i have a member with 43 posts but her rep is only 2 on her profile.
i will try to dump the db and recalculate and report back.
Title: Re: Advanced Reputation System
Post by: timned88 on February 11, 2009, 01:07:44 AM
ok, my rep was recalculated properly but the member with 43 posts is showing 0 in her profile.
something is wrong.
Title: Re: Advanced Reputation System
Post by: timned88 on February 11, 2009, 01:15:09 AM
its because the giverepuation.php is only going to member #397 while she is #446.
how would i givereputation.php from members #398 - end?
i made the amount in givereputation.php ($amount = 500;) before running it, but it stops at 397.
Title: Re: Advanced Reputation System
Post by: Fustrate on February 11, 2009, 01:33:46 AM
GiveReputation.php?start=398

pick up where you left off if it stops
Title: Re: Advanced Reputation System
Post by: timned88 on February 11, 2009, 01:36:55 AM
hmmm....

Members 398 through 397 have been updated.

Debugging Information:

is there a way to contract the member numbers so the ones there are no gaps in the sequence from ones that got deleted?
although the example i gave is #446, it is saying in the stats that i only have 383.  for some reason, her profile is not being reached.


the script went to #397 (383 active members plus 14 awaiting activation) but my member id numbers actually go to 454 with the missing 57 numbers due to spammers being deleted, etc.
Title: Re: Advanced Reputation System
Post by: mattchewone on February 11, 2009, 09:49:00 AM
Can i ask how the points work when members rep each other? Do they gain points or bars at all?
Title: Re: Advanced Reputation System
Post by: Fustrate on February 11, 2009, 10:39:21 AM
if you have ten power, you'd give someone ten points.

timned - change COUNT(*) to MAX(*) in the code.
Title: Re: Advanced Reputation System
Post by: mattchewone on February 11, 2009, 10:56:45 AM
Quote from: Fustrate on February 11, 2009, 10:39:21 AM
if you have ten power, you'd give someone ten points.

timned - change COUNT(*) to MAX(*) in the code.

Thanks very helpful!
Title: Re: Advanced Reputation System
Post by: timned88 on February 11, 2009, 12:10:51 PM
fustrate...  it worked very well but i needed to modify your code:

yours....
MAX(*)    -  gave syntax error

mine...
MAX(id_member)   - perfecto!

thank you once again!
Title: Re: Advanced Reputation System
Post by: Mai Pen Rai on February 11, 2009, 12:11:02 PM
fustrate,

Have you implemented the list to view recent reputation given by any member?
If you have, I cannot get it to work... ;)
Title: Re: Advanced Reputation System
Post by: rtkane on February 11, 2009, 12:40:53 PM
Couple of hopefully quick questions...I was testing this and had a few (questions, that is, not drinks :) )

Does it only show the last 15 reps given/received?  I noticed in some people's profiles the reps they were giving me, for example, weren't showing up.  Then i'd delete one, and it would appear.  It also seems like when I delete one, the -1 goes up in my profile.  Right now it only shows 15, some are out of order even.

When you delete a comment, does it also remove the +1/-1? 

Is there a manual of FAQ available that would answer some of these questions so I'm not bugging you?

Thanks very much!


Title: Re: Advanced Reputation System
Post by: Fustrate on February 11, 2009, 02:00:08 PM
Quote from: Mai Pen Rai on February 11, 2009, 12:11:02 PM
fustrate,

Have you implemented the list to view recent reputation given by any member?
If you have, I cannot get it to work... ;)
Heh, I did 2 minutes of testing with it - I'll do some more and see how it works. It's a ?action=reputation, if that helps at all.

rtkane - It should show a small pagination line after the second box, so that you can move through pages of 15 items. Yes, it does delete the effect of the given reputation when you delete it from your profile. I'll work on making a FAQ.
Title: Re: Advanced Reputation System
Post by: timned88 on February 11, 2009, 02:47:13 PM
the calculations appear to be working perfectly for me now.
Title: Re: Advanced Reputation System
Post by: rtkane on February 11, 2009, 02:55:02 PM
Quote from: Fustrate on February 11, 2009, 02:00:08 PM
Quote from: Mai Pen Rai on February 11, 2009, 12:11:02 PM
fustrate,

Have you implemented the list to view recent reputation given by any member?
If you have, I cannot get it to work... ;)
Heh, I did 2 minutes of testing with it - I'll do some more and see how it works. It's a ?action=reputation, if that helps at all.

rtkane - It should show a small pagination line after the second box, so that you can move through pages of 15 items. Yes, it does delete the effect of the given reputation when you delete it from your profile. I'll work on making a FAQ.

Hmmm.. I'm not seeing the pagination line after the 2nd box.  I've uninstalled it and re-installed it the correct way and no luck with them. 

Thanks for the answer on deletion and the upcoming faq. 
Title: Re: Advanced Reputation System
Post by: Mai Pen Rai on February 11, 2009, 04:55:33 PM
Fustrate...

Found a few bugs:

1. in karma.template.php , once you receive the first logged reputation, the heading shrinks - it needs colspan 6 (for the heart to stay where it is supposed to)

2. in karma.php it should say real_name Not member_name or else it shows the login instead of the forum name.

3. When trying to click the member on the reputation log, the coding doesn't show the user id number, only goes to nothing, well, it goes to the member who clicks it. ;)

Thats all i've found so far... but great work!!! Really, this was a life saver.
Title: Re: Advanced Reputation System
Post by: Fustrate on February 11, 2009, 11:51:31 PM
Mai Pen Rai, make these two changes:

Karma.php, find

'executor' => array(
'name' => $row['sender_name'],
'id' => $row['id_excutor'],
),
'target' => array(
'name' => $row['receiver_name'],
'id' => $row['id_excutor'],
),

replace with

'executor' => array(
'name' => $row['sender_name'],
'id' => $row['id_executor'],
),
'target' => array(
'name' => $row['receiver_name'],
'id' => $row['id_target'],
),


Karma.template.php, find

<td colspan="2">', !empty($settings['use_buttons']) ? '<img src="' . $settings['images_url'] . '/karma.gif" align="right" style="margin-right: 4px;" alt="" />' : '', $txt['reputation_log'], '</td>

replace with

<td colspan="6">', !empty($settings['use_buttons']) ? '<img src="' . $settings['images_url'] . '/karma.gif" align="right" style="margin-right: 4px;" alt="" />' : '', $txt['reputation_log'], '</td>


rtkane - I'm looking at it.
Title: Re: Advanced Reputation System
Post by: Mai Pen Rai on February 12, 2009, 02:50:53 AM
Fustrate,

Done... Works great.

PS. Any thought about a pop-up when reputation has been received? (I feel like your employer here... LOL)
Title: Re: Advanced Reputation System
Post by: Blackguard on February 13, 2009, 09:50:26 PM
Hi Fustrate,

First thing's first, thanks very much for all your hard work on this amazing mod.

I need some help though. I'm using SMF 2.0 RC1. When I pos rep someone, it works perfectly. When I neg rep, it'll subtract from the pos rep points until it hits zero but that's it. It doesn't put points into neg rep side. If a user's rep is at zero (for both pos and neg) and I neg rep them, it also stays at zero. When I manually place points in the neg box on a user's profile, however, it shows up fine. Any idea what am I doing wrong?
Title: Re: Advanced Reputation System
Post by: Mai Pen Rai on February 14, 2009, 09:36:55 AM
Another "bug" found...

When in maintenance of the forum and Empty out unimportant logs.... the reputation log also gets emptied... Maybe thats not the idea?
Title: Re: Advanced Reputation System
Post by: Fustrate on February 14, 2009, 12:17:58 PM
That's not a good thing... I'll look into that.

And the -rep thing, too.
Title: Re: Advanced Reputation System
Post by: zahen on February 14, 2009, 02:43:04 PM
Theres a bug in v1.6
When I give bad reputation to a user, his reputation points dont get higher nor lower and under "Latest Reputation Received" the reputation shows up as positive (green image)
Title: Re: Advanced Reputation System
Post by: Fustrate on February 14, 2009, 03:36:26 PM
Mai Pen Rai, that shouldn't be happening.
<file name="$sourcedir/ManageMaintenance.php">
<operation>
<search position="replace"><![CDATA[
// Clear out the karma actions.
$smcFunc['db_query']('', '
DELETE FROM {db_prefix}log_karma');]]></search>
<add><![CDATA[
// Advanced Reputation System - Never clear out karma logs!
/*
// Clear out the karma actions.
$smcFunc['db_query']('', '
DELETE FROM {db_prefix}log_karma');
*/]]></add>
</operation>
</file>

should have stopped that.

Still looking into -rep.
Title: Re: Advanced Reputation System
Post by: samanthajane on February 14, 2009, 09:45:22 PM
Sorry if this has been covered I haven't read all 39 pages.  ;)
Will this mod be available for the version 1.1.8 any time soon ?

I'd love to add this to one of my forums

Title: Re: Advanced Reputation System
Post by: Fustrate on February 14, 2009, 10:25:02 PM
I currently have ~0.17 plans to convert this for 1.1.x - If you don't see it by the 1 year anniversary of this mod's initial release date, I'd say it's not coming at all.
Title: Re: Advanced Reputation System
Post by: zahen on February 14, 2009, 11:42:41 PM
Here are the bug fixes

Profile-View.php
search for
'action_type' => !empty($row['action_type']) ? $row['action_type'] : ($row['action'] > 0) ? 'karma_good' : 'karma_bad',
change to
'action_type' => !empty($row['action_type']) ? $row['action_type'] : (($row['action'] > 0) ? 'karma_good' : 'karma_bad'),

and
search for
'action_type' => !empty($row['action_type']) ? $row['action_type'] : ($row['action'] > 0) ? 'karma_good' : 'karma_bad',
change to
'action_type' => !empty($row['action_type']) ? $row['action_type'] : (($row['action'] > 0) ? 'karma_good' : 'karma_bad'),


Karma.php
        delete this line
if($karma_which == 'karma_good')
Title: Re: Advanced Reputation System
Post by: Fustrate on February 14, 2009, 11:53:57 PM
Thank you very much, zahen :)
Title: Re: Advanced Reputation System
Post by: Blackguard on February 15, 2009, 01:30:33 AM
Works perfectly now. Thanks Fustrate and zahen. =]
Title: Re: Advanced Reputation System
Post by: timned88 on February 15, 2009, 06:38:34 PM
its been working perfectly for me as well.  you did a nice job with this one, fustrate, and you support your mod very well.
Title: Re: Advanced Reputation System
Post by: Quexinos on February 15, 2009, 10:07:38 PM
Hey, I'm using Beta 4 2.0 and I have a couple questions.

1.  if I wanted to upgrade the forums and rep system, do I just upgrade the forums first and then run the latest version?  This is my first SMF forum so I honestly don't know >_>

2.  I can only see up to so many of my latest rep given and latest rep gotten in my profile.  It just stops at one point... is there a page 2 I'm missing (does that even make sense)

Also this mod is the coolest dang thing ever.
Title: Re: Advanced Reputation System
Post by: rtkane on February 17, 2009, 07:30:39 AM
Hi Fustrate... any news on the pagination issue?
Title: Re: Advanced Reputation System
Post by: Fustrate on February 17, 2009, 09:07:18 PM
I'd be lying if I said I was actively looking at it. Can you tell me exactly what's wrong? Theoretically, if should be working fine, but since you say it's not, I have to believe you're right.
Title: Re: Advanced Reputation System
Post by: rtkane on February 18, 2009, 07:24:19 AM
Quote from: Fustrate on February 17, 2009, 09:07:18 PM
I'd be lying if I said I was actively looking at it. Can you tell me exactly what's wrong? Theoretically, if should be working fine, but since you say it's not, I have to believe you're right.

Well, basically there's no pagination.  I went live with the mod on Feb. 10th and can only see the first 15 inbound and 15 outbound reps.  There's no way to switch pages to see additional reputation given.  And some is showing out of order...here's the order in which my incoming rep appears:

February 11, 2009, 11:39:09 AM 
February 10, 2009, 05:02:36 PM    
February 10, 2009, 05:08:16 PM    
February 10, 2009, 05:11:34 PM    
February 10, 2009, 05:15:34 PM    
February 11, 2009, 09:39:38 AM    
February 10, 2009, 05:17:20 PM    
February 10, 2009, 07:02:26 PM    
February 10, 2009, 08:48:58 PM    
February 10, 2009, 08:50:33 PM       
February 11, 2009, 03:52:38 PM    
February 11, 2009, 03:51:56 PM    
February 11, 2009, 03:44:30 PM    
February 11, 2009, 03:44:10 PM    
February 11, 2009, 03:43:35 PM

It's also doing something strange that I noticed when trying to figure out how to see more reps given--I'm on one member right now looking at his total reputation in his profile--it shows 117 positive and 18 negative for a total rep of 99 (I'd given everyone a base of 100 to start).  If I go in to delete one of the negatives he's received, it's adding to his negative score.  I just deleted one and his score now reads 117 positive and 19 negative for a total of 98. 

I can set you up with a test account if you want to see it. 

And I appreciate any help you can offer--I realize nobody is paying you to do it, but do appreciate it :)


EDIT:  As a follow-up, I noticed that the boards seem to use the profile.template.php from the /public_html/Themes/default/ directory vs. one in the babylon directory (actually there is no profile.template.php in the bablyon theme directory). 

When I look at that file, it was missing this at the end:

echo '
<br />
<div width="75%" align="center">
<b>', $txt['pages'], ':</b> ', $context['page_index'], '
</div>';
}


Adding that in now just shows "Pages:" text at the bottom, but no clickable pages.  And the error when deleting karma still is doing the same thing. 
Title: Re: Advanced Reputation System
Post by: edemars on February 20, 2009, 12:52:53 AM
This is probably a wierd one. I want to change "Reputation" to a different word when viewing threads and such. I went opened themes/Default/languages/index.english.php to change what was needed but all threads still show "Reputation". Help?
Title: Re: Advanced Reputation System
Post by: Fustrate on February 20, 2009, 02:20:59 AM
rtkane - I'm still trying to look at this, but I've had practically no time to do coding this past week. It's at the top of my list, rest assured.

edemars - does your theme use its own /languages/ folder?
Title: Re: Advanced Reputation System
Post by: edemars on February 20, 2009, 10:14:47 AM
I'm using the Default theme.
Title: Re: Advanced Reputation System
Post by: Fustrate on February 20, 2009, 04:05:31 PM
Search /Themes/default/languages/index.english.php for
$txt['karma_title']
and change the value there.
Title: Re: Advanced Reputation System
Post by: timned88 on February 20, 2009, 11:16:28 PM
i renamed my "participation" since i am using it as an automatically calculating number.  no ability for users to +/-.  i wanted it to be a measure of participation, rather than a popularity contest.  fustrate, since we got those kinks worked out, it has performed wonderfully for me.  thanks again.
Title: Re: Advanced Reputation System
Post by: edemars on February 21, 2009, 12:01:53 AM
That's the file I changed. I redownloaded it to see if the changes were made and they are. It's just not showing up in the site.
Title: Re: Advanced Reputation System
Post by: Fustrate on February 21, 2009, 12:31:35 AM
oh ya, silly 2.0

?action=admin;area=maintain;sa=routine

Clear the file cache
Title: Re: Advanced Reputation System
Post by: rtkane on February 21, 2009, 10:30:01 AM
While you're looking at it, is there a url suffix that I could at least use to see secondary pages?  Something that's added on to the end of this:

/index.php?action=profile;u=1702;sa=viewKarma

to manually see more than one page?
Title: Re: Advanced Reputation System
Post by: Fustrate on February 21, 2009, 12:13:22 PM
;start=(15/30/45/60)

Is the deletion problem happening with rep given BEFORE you installed this mod, or rep given afterwards too?
Title: Re: Advanced Reputation System
Post by: rtkane on February 21, 2009, 01:34:30 PM
Quote from: Fustrate on February 21, 2009, 12:13:22 PM
;start=(15/30/45/60)

Is the deletion problem happening with rep given BEFORE you installed this mod, or rep given afterwards too?

I honestly don't know--didn't notice it before and I reset all karma to zero when rolling this out.  And when I try to put in the above, it doesn't seem to work:

Quote
http://www.-----------.com/index.php?action=profile;u=1702;sa=viewKarma;start=45

I have a test account w/ rep all on it if you want me to email you the details so you can see it.

--R


Title: Re: Advanced Reputation System
Post by: Blackguard on February 22, 2009, 12:45:05 AM
Hi again Fustrate,

I just downloaded the updated mod package again from the mod site here and for some reason, the neg rep still isn't working properly for me. I *think* it could be because the value when you neg rep someone that getting inputted into the neg rep field in the profile is a negative number (ie, -100) when it should be a positive value... or something like that.

Are you getting this error too or is it just me? XD
Title: Re: Advanced Reputation System
Post by: X3mE on February 22, 2009, 07:51:48 AM
Hi Fustrate,

I have 1.6 installed on RC1, and I'm getting this error in my error log:

http://forum.mobilize.rs/index.php?action=stats
2: Invalid argument supplied for foreach()
File: ***/Themes/default/Stats.template.php (main sub template - eval?)
Line: 136

On line 136:
foreach ($context['reputation_worst'] as $member)

I'm also getting an XHTML error:

Line 154, Column 80: document type does not allow element "table" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag .

... cellspacing="1" style="width: 100%;">

On lines 153-...:
<span id="reputation_menu" style="visibility: hidden; display: none;">
<table class="bordercolor" cellpadding="4" cellspacing="1" style="width: 100%;">
<tr class="titlebg">
<td height="22">Ugled</td>
</tr>
<tr class="catbg">
...


Hope this'll be fixed in versions to come :)
Title: Re: Advanced Reputation System
Post by: Quexinos on February 23, 2009, 04:06:06 AM
Did you happen to see my question by chance? O:)
Title: Re: Advanced Reputation System
Post by: Fustrate on February 23, 2009, 02:06:07 PM
Yes I did, I just forgot to reply. After upgrading SMF, just install the new package and it should work (ignoring the errors I have to fix... pagination, which you mentioned, is one of them).

X3me, it's being worked on. The validation is a little strange, though.
Title: Re: Advanced Reputation System
Post by: rtkane on February 26, 2009, 04:31:06 PM
Hey Fustrate.. just checking in.  Did you happen to get my PM about this with my offer in it?
Title: Re: Advanced Reputation System
Post by: Fustrate on February 26, 2009, 04:57:41 PM
Yes, I'm just really busy right now.
Title: Re: Advanced Reputation System
Post by: Mai Pen Rai on February 27, 2009, 06:13:21 AM
Hi again Fustrate,

Is there an easy way to implement a feature that gives the reputation giver an amount of reputation also?
This to encourage the reputation giving...

Say he has 10 reputation power to give, but he also receives 1 reputation for each reputation given... you understand how I mean.
Title: Re: Advanced Reputation System
Post by: Blackguard on February 28, 2009, 04:16:27 AM
Disregard my previous post. I must have been smoking crack or something. Sorry about that. >_<

I do have a question though, originating as a request from a member. Is there a way to halve the amount of rep points given (or in this case, taken away) only when a user is neg repping someone? For example if I had 100 rep power, when I neg rep someone 50 points would transfer over rather than 100. But when I pos rep someone it will still be 100.
Title: Re: Advanced Reputation System
Post by: Fustrate on February 28, 2009, 03:07:50 PM
Ya, I just need a few more personal days to try to get back into the swing of things.
Title: Re: Advanced Reputation System
Post by: mattchewone on March 01, 2009, 05:24:35 PM
Just got this when trying to install -
   Type   Action   Description
1.   Execute Code   install.php   
   2.   Execute Modification   ./index.php   Test successful
   3.   Execute Modification   /home/SMF2/Themes/default/Display.template.php   Test failed
   1.   Replace   /home/SMF2/Themes/default/Display.template.php   Test failed
   2.   Add After   /home/SMF2/Themes/default/Display.template.php   Test successful
   4.   Execute Modification   /home/SMF2/Themes/default/Profile.template.php   Test successful
   5.   Execute Modification   /home/SMF2/Themes/default/PersonalMessage.template.php   Test failed
   1.   Replace   /home/SMF2/Themes/default/PersonalMessage.template.php   Test failed
   6.   Execute Modification   /home/SMF2/Themes/default/Stats.template.php   Test successful
   7.   Execute Modification   /home/SMF2/Themes/default/scripts/script.js   Test successful
   8.   Execute Modification   /home/SMF2/Themes/default/style.css   Test successful
   9.   Execute Modification   ./Sources/Display.php   Test successful
   10.   Execute Modification   ./Sources/Karma.php   Test successful
   11.   Execute Modification   ./Sources/Load.php   Test successful
   12.   Execute Modification   ./Sources/ManageMaintenance.php   Test successful
   13.   Execute Modification   ./Sources/ManagePermissions.php   Test successful
   14.   Execute Modification   ./Sources/ManageServer.php   Test successful
   15.   Execute Modification   ./Sources/ManageSettings.php   Test successful
   16.   Execute Modification   ./Sources/Post.php   Test successful
   17.   Execute Modification   ./Sources/Profile.php   Test successful
   18.   Execute Modification   ./Sources/Profile-Modify.php   Test successful
   19.   Execute Modification   ./Sources/Profile-View.php   Test successful
   20.   Execute Modification   ./Sources/RemoveTopic.php   Test successful
   21.   Execute Modification   ./Sources/ScheduledTasks.php   Test successful
   22.   Execute Modification   ./Sources/Stats.php   Test successful
   23.   Execute Modification   ./Sources/Subs-Members.php   Test successful
   24.   Execute Modification   /home/SMF2/Themes/default/languages/Admin.english.php   Test failed
   1.   Replace   /home/SMF2/Themes/default/languages/Admin.english.php   Test failed
   25.   Execute Modification   /home/SMF2/Themes/default/languages/Errors.english.php   Test failed
   1.   Replace   /home/SMF2/Themes/default/languages/Errors.english.php   Test failed
   2.   Add Before   /home/SMF2/Themes/default/languages/Errors.english.php   Test successful
   26.   Execute Modification   /home/SMF2/Themes/default/languages/Help.english.php   Test failed
   1.   Replace   /home/SMF2/Themes/default/languages/Help.english.php   Test failed
   27.   Execute Modification   /home/SMF2/Themes/default/languages/index.english.php   Test successful
   28.   Execute Modification   /home/SMF2/Themes/default/languages/Install.english.php   Test failed
   1.   Replace   /home/SMF2/Themes/default/languages/Install.english.php   Test failed
   29.   Execute Modification   /home/SMF2/Themes/default/languages/ManageScheduledTasks.english.php   Test successful
   30.   Execute Modification   /home/SMF2/Themes/default/languages/ManagePermissions.english.php   Test failed
   1.   Replace   /home/SMF2/Themes/default/languages/ManagePermissions.english.php   Test failed
   2.   Add Before   /home/SMF2/Themes/default/languages/ManagePermissions.english.php   Test successful
   31.   Execute Modification   /home/SMF2/Themes/default/languages/ManageSettings.english.php   Test failed
   1.   Replace   /home/SMF2/Themes/default/languages/ManageSettings.english.php   Test failed
   2.   Replace   /home/SMF2/Themes/default/languages/ManageSettings.english.php   Test failed
   3.   Add Before   /home/SMF2/Themes/default/languages/ManageSettings.english.php   Test successful
   32.   Execute Modification   /home/SMF2/Themes/default/languages/Profile.english.php   Test successful
   33.   Execute Modification   /home/SMF2/Themes/default/languages/Reports.english.php   Test failed
   1.   Replace   /home/SMF2/Themes/default/languages/Reports.english.php   Test failed
   34.   Execute Modification   /home/SMF2/Themes/default/languages/Stats.english.php   Test failed
   1.   Replace   /home/SMF2/Themes/default/languages/Stats.english.php   Test failed
Title: Re: Advanced Reputation System
Post by: Sudhakar Arjunan on March 08, 2009, 10:48:51 AM
Uninstalled on 2.0 beta 4.

Upgraded forum to 2.0 RC1.

Installed Mod . Works perfectly.

Thanks for this excellent and efficient mod Author.
Title: Re: Advanced Reputation System
Post by: Fustrate on March 08, 2009, 03:40:43 PM
Sounds good :) I'm redoing the "recent reputation log" to be one table, so that pagination works better. It should be in the RC2 version.
Title: Re: Advanced Reputation System
Post by: Sudhakar Arjunan on March 10, 2009, 03:46:34 PM
Quote from: Fustrate on March 08, 2009, 03:40:43 PM
Sounds good :) I'm redoing the "recent reputation log" to be one table, so that pagination works better. It should be in the RC2 version.

Sound really excellent.

Thanks once for this excellent mod Author.
Title: Re: Advanced Reputation System
Post by: Fustrate on March 11, 2009, 02:03:24 PM
One more little update... I've finished the code changes, but haven't tested it at all. I'm also thinking of adding in AJAX support (as an option in the settings, not a requirement).

So ya, give me until Saturday to put that in, and then I'll post an untested version for anyone to play around with... NOT on a live forum, though, since it'll be completely new code. I never have time for testing... always something to update on a mod somewhere.
Title: Re: Advanced Reputation System
Post by: mirahalo on March 11, 2009, 02:37:46 PM
great mod !!!   works perfect

Quote from: Fustrate on March 11, 2009, 02:03:24 PM

I'll post an untested version for anyone to play around with... NOT on a live forum, though, since it'll be completely new code. I never have time for testing... always something to update on a mod somewhere.

sounds great, cant wait ::)
Title: Re: Advanced Reputation System
Post by: rtkane on March 11, 2009, 03:30:43 PM
Hey Fustrate.. any news? My offer still stands.
Thanks!
Title: Re: Advanced Reputation System
Post by: Fustrate on March 12, 2009, 09:31:57 PM
Try this on for size ;)

I've squished any bugs that I know of, added AJAX support, and generally fixed up the look of things.
Title: Re: Advanced Reputation System
Post by: rtkane on March 13, 2009, 01:17:13 AM
Quote from: Fustrate on March 12, 2009, 09:31:57 PM
Try this on for size ;)

I've squished any bugs that I know of, added AJAX support, and generally fixed up the look of things.

Will this allow me to install it in 2.0 beta 4?
Title: Re: Advanced Reputation System
Post by: Fustrate on March 13, 2009, 01:45:25 AM
Just emulate it (I think it's ;emulate_version=2.0%20Beta%204) and see if there are any errors caused by the differences between B4 and RC1.
Title: Re: Advanced Reputation System
Post by: rtkane on March 13, 2009, 02:03:58 AM
Quote from: Fustrate on March 13, 2009, 01:45:25 AM
Just emulate it (I think it's ;emulate_version=2.0%20Beta%204) and see if there are any errors caused by the differences between B4 and RC1.

Here's what I get:

QuoteInstalling this package will perform the following actions:
      Type    Action    Description
   1.    Execute Code    install.php    
*    2.    Execute Modification    ./index.php    Test successful
      1.    Add After    ./index.php    Test successful
*    3.    Execute Modification    ./Themes/default/Display.template.php    Test successful
      1.    Replace    ./Themes/default/Display.template.php    Test successful
      2.    Add After    ./Themes/default/Display.template.php    Test successful
*    4.    Execute Modification    ./Themes/default/Profile.template.php    Test successful
      1.    Add Before    ./Themes/default/Profile.template.php    Test successful
*    5.    Execute Modification    ./Themes/default/PersonalMessage.template.php    Test failed
      1.    Replace    ./Themes/default/PersonalMessage.template.php    Test failed
*    6.    Execute Modification    ./Themes/default/Stats.template.php    Test successful
      1.    Add Before    ./Themes/default/Stats.template.php    Test successful
*    7.    Execute Modification    ./Themes/default/Xml.template.php    Test successful
      1.    Add Before    ./Themes/default/Xml.template.php    Test successful
*    8.    Execute Modification    ./Themes/default/scripts/script.js    Test successful
      1.    Add Before    ./Themes/default/scripts/script.js    Test successful
*    9.    Execute Modification    ./Themes/default/style.css    Test successful
      1.    Add Before    ./Themes/default/style.css    Test successful
*    10.    Execute Modification    ./Sources/Display.php    Test successful
      1.    Add After    ./Sources/Display.php    Test successful
      2.    Replace    ./Sources/Display.php    Test successful
      3.    Add After    ./Sources/Display.php    Test successful
*    11.    Execute Modification    ./Sources/Karma.php    Test successful
      1.    Add Before    ./Sources/Karma.php    Test successful
      2.    Replace    ./Sources/Karma.php    Test successful
      3.    Replace    ./Sources/Karma.php    Test successful
*    12.    Execute Modification    ./Sources/Load.php    Test successful
      1.    Add After    ./Sources/Load.php    Test successful
      2.    Replace    ./Sources/Load.php    Test successful
      3.    Replace    ./Sources/Load.php    Test successful
      4.    Add After    ./Sources/Load.php    Test successful
      5.    Add Before    ./Sources/Load.php    Test successful
*    13.    Execute Modification    ./Sources/ManageMaintenance.php    Test failed
      1.    Replace    ./Sources/ManageMaintenance.php    Test failed
*    14.    Execute Modification    ./Sources/ManagePermissions.php    Test successful
      1.    Add After    ./Sources/ManagePermissions.php    Test successful
      2.    Add After    ./Sources/ManagePermissions.php    Test successful
      3.    Add After    ./Sources/ManagePermissions.php    Test successful
*    15.    Execute Modification    ./Sources/ManageServer.php    Test successful
      1.    Add Before    ./Sources/ManageServer.php    Test successful
*    16.    Execute Modification    ./Sources/ManageSettings.php    Test successful
      1.    Replace    ./Sources/ManageSettings.php    Test successful
      2.    Add After    ./Sources/ManageSettings.php    Test successful
      3.    Replace    ./Sources/ManageSettings.php    Test successful
*    17.    Execute Modification    ./Sources/Post.php    Test successful
      1.    Replace    ./Sources/Post.php    Test successful
      2.    Replace    ./Sources/Post.php    Test successful
*    18.    Execute Modification    ./Sources/Profile.php    Test failed
      1.    Add After    ./Sources/Profile.php    Test failed
*    19.    Execute Modification    ./Sources/Profile-Modify.php    Test successful
      1.    Add After    ./Sources/Profile-Modify.php    Test successful
      2.    Replace    ./Sources/Profile-Modify.php    Test successful
*    20.    Execute Modification    ./Sources/Profile-View.php    Test successful
      1.    Add Before    ./Sources/Profile-View.php    Test successful
*    21.    Execute Modification    ./Sources/RemoveTopic.php    Test successful
      1.    Replace    ./Sources/RemoveTopic.php    Test successful
      2.    Replace    ./Sources/RemoveTopic.php    Test successful
*    22.    Execute Modification    ./Sources/ScheduledTasks.php    Test successful
      1.    Add Before    ./Sources/ScheduledTasks.php    Test successful
*    23.    Execute Modification    ./Sources/Stats.php    Test successful
      1.    Replace    ./Sources/Stats.php    Test successful
      2.    Add Before    ./Sources/Stats.php    Test successful
*    24.    Execute Modification    ./Sources/Subs-Members.php    Test successful
      1.    Add After    ./Sources/Subs-Members.php    Test successful
*    25.    Execute Modification    ./Sources/Xml.php    Test successful
      1.    Add After    ./Sources/Xml.php    Test successful
      2.    Add Before    ./Sources/Xml.php    Test successful
*    26.    Execute Modification    ./Themes/default/languages/Admin.english.php    Test successful
      1.    Replace    ./Themes/default/languages/Admin.english.php    Test successful
*    27.    Execute Modification    ./Themes/default/languages/Errors.english.php    Test successful
      1.    Replace    ./Themes/default/languages/Errors.english.php    Test successful
      2.    Add Before    ./Themes/default/languages/Errors.english.php    Test successful
*    28.    Execute Modification    ./Themes/default/languages/Help.english.php    Test successful
      1.    Replace    ./Themes/default/languages/Help.english.php    Test successful
*    29.    Execute Modification    ./Themes/default/languages/index.english.php    Test successful
      1.    Add Before    ./Themes/default/languages/index.english.php    Test successful
*    30.    Execute Modification    ./Themes/default/languages/Install.english.php    Test successful
      1.    Replace    ./Themes/default/languages/Install.english.php    Test successful
   31.    Execute Modification    ./Themes/default/languages/ManageScheduledTasks.english.php    File not found
*    32.    Execute Modification    ./Themes/default/languages/ManagePermissions.english.php    Test successful
      1.    Replace    ./Themes/default/languages/ManagePermissions.english.php    Test successful
      2.    Add Before    ./Themes/default/languages/ManagePermissions.english.php    Test successful
*    33.    Execute Modification    ./Themes/default/languages/ManageSettings.english.php    Test successful
      1.    Replace    ./Themes/default/languages/ManageSettings.english.php    Test successful
      2.    Replace    ./Themes/default/languages/ManageSettings.english.php    Test successful
      3.    Add Before    ./Themes/default/languages/ManageSettings.english.php    Test successful
*    34.    Execute Modification    ./Themes/default/languages/Profile.english.php    Test successful
      1.    Add Before    ./Themes/default/languages/Profile.english.php    Test successful
*    35.    Execute Modification    ./Themes/default/languages/Reports.english.php    Test successful
      1.    Replace    ./Themes/default/languages/Reports.english.php    Test successful
*    36.    Execute Modification    ./Themes/default/languages/Stats.english.php    Test successful
      1.    Replace    ./Themes/default/languages/Stats.english.php    Test successful
*    37.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful
      1.    Add Before    ./Themes/default/languages/Modifications.english.php    Test successful
*    38.    Execute Modification    ./Themes/default/Display.template.php    Test successful
      1.    Replace    ./Themes/default/Display.template.php    Test failed (Ignore Errors)
      2.    Replace    ./Themes/default/Display.template.php    Test failed (Ignore Errors)
      3.    Add Before    ./Themes/default/Display.template.php    Test failed (Ignore Errors)
      4.    Add Before    ./Themes/default/Display.template.php    Test failed (Ignore Errors)
   39.    Extract File    ./Themes/default/Karma.template.php    
   40.    Extract File    ./Themes/default/images/karma.gif    
   41.    Extract File    ./Themes/default/images/karma_bad_basic.gif    
   42.    Extract File    ./Themes/default/images/karma_good_basic.gif    
   43.    Extract File    ./Themes/default/images/karma_bad_super.gif    
   44.    Extract File    ./Themes/default/images/karma_good_super.gif    
   45.    Extract File    ./Themes/default/images/karma_disabled_basic.gif    
Install in Other Themes
To use this modification in themes other than the default, the package manager needs to make additional changes to the other themes. If you'd like to install this modification in the other themes, please select these themes below.
      Farkistan Theme
      Execute Modification    ./Themes/babylon/Display.template.php    Test successful
      1.    Replace    ./Themes/babylon/Display.template.php    Test successful
      2.    Add After    ./Themes/babylon/Display.template.php    Test successful
      Execute Modification    ./Themes/babylon/style.css    Test successful
      1.    Add Before    ./Themes/babylon/style.css    Test successful
      Execute Modification    ./Themes/babylon/Display.template.php    Test successful
      1.    Replace    ./Themes/babylon/Display.template.php    Test failed (Ignore Errors)
      2.    Replace    ./Themes/babylon/Display.template.php    Test failed (Ignore Errors)
      3.    Add Before    ./Themes/babylon/Display.template.php    Test failed (Ignore Errors)
      4.    Add Before    ./Themes/babylon/Display.template.php    Test failed (Ignore Errors)
Title: Re: Advanced Reputation System
Post by: rtkane on March 13, 2009, 02:31:14 AM
More info for you:


Quote*     5.     Execute Modification     ./Themes/default/PersonalMessage.template.php     Test failed
      1.    Replace    ./Themes/default/PersonalMessage.template.php    Test failed

Quote
            
Quote// Is karma display enabled? Total or +/-?
            if ($modSettings['karmaMode'] == '1')
               echo '
                           <br />
                           ', $modSettings['karmaLabel'], ' ', $message['member']['karma']['good'] - $message['member']['karma']['bad'], '<br />';
            elseif ($modSettings['karmaMode'] == '2')
               echo '
                           <br />
                           ', $modSettings['karmaLabel'], ' +', $message['member']['karma']['good'], '/-', $message['member']['karma']['bad'], '<br />';

            // Is this user allowed to modify this member's karma?
            if ($message['member']['karma']['allow'])
               echo '
                           <a href="', $scripturl, '?action=modifykarma;sa=applaud;uid=', $message['member']['id'], ';f=', $context['folder'], ';start=', $context['start'], $context['current_label_id'] != -1 ? ';l=' . $context['current_label_id'] : '', ';pm=', $message['id'], ';', $context['session_var'], '=', $context['session_id'], '">', $modSettings['karmaApplaudLabel'], '</a> <a href="', $scripturl, '?action=modifykarma;sa=smite;uid=', $message['member']['id'], ';f=', $context['folder'], ';start=', $context['start'], $context['current_label_id'] != -1 ? ';l=' . $context['current_label_id'] : '', ';pm=', $message['id'], ';', $context['session_var'], '=', $context['session_id'], '">', $modSettings['karmaSmiteLabel'], '</a><br />';
Quote// Karma removed by the Advanced Reputation System - who ever though karma in PMs was a good decision?



Quote*     13.     Execute Modification     ./Sources/ManageMaintenance.php     Test failed
      1.    Replace    ./Sources/ManageMaintenance.php    Test failed

Quote
Quote

   // Clear out the karma actions.
   $smcFunc['db_query']('', '
      DELETE FROM {db_prefix}log_karma');

Quote

// Advanced Reputation System - Never clear out karma logs!
/*
   // Clear out the karma actions.
   $smcFunc['db_query']('', '
      DELETE FROM {db_prefix}log_karma');
*/




Quote18.     Execute Modification     ./Sources/Profile.php     Test failed
      1.    Add After    ./Sources/Profile.php    Test failed

Quote
Quote

            'permissions' => array(
               'label' => $txt['showPermissions'],
               'file' => 'Profile-View.php',
               'function' => 'showPermissions',
               'permission' => array(
                  'own' => 'manage_permissions',
                  'any' => 'manage_permissions',
               ),
            ),

Quote

            'reputation' => array(
               'label' => $txt['reputation'],
               'file' => 'Profile-View.php',
               'function' => 'reputation',
               'permission' => array(
                  'own' => array('profile_view_own'),
                  'any' => array('moderate_forum'),
               ),
               'enabled' => (empty($modSettings['karmaMode']) ? false : true),
            ),




QuoteExecute Modification     ./Themes/babylon/Display.template.php     Test successful
      1.    Replace    ./Themes/babylon/Display.template.php    Test failed (Ignore Errors)
      
Quote
Quote

         // Is karma display enabled?  Total or +/-?
         if ($modSettings['karmaMode'] == '1')
            echo '
                  <li class="margintop">', $modSettings['karmaLabel'], ' ', $message['member']['karma']['good'] - $message['member']['karma']['bad'], '</li>';
         elseif ($modSettings['karmaMode'] == '2')
            echo '
                  <li class="margintop">', $modSettings['karmaLabel'], ' +', $message['member']['karma']['good'], '/-', $message['member']['karma']['bad'], '</li>';

         // Is this user allowed to modify this member's karma?
         if ($message['member']['karma']['allow'])
            echo '
                  <li>
                     <a href="', $scripturl, '?action=modifykarma;sa=applaud;uid=', $message['member']['id'], ';topic=', $context['current_topic'], '.' . $context['start'], ';m=', $message['id'], ';', $context['session_var'], '=', $context['session_id'], '">', $modSettings['karmaApplaudLabel'], '</a>
                     <a href="', $scripturl, '?action=modifykarma;sa=smite;uid=', $message['member']['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';m=', $message['id'], ';', $context['session_var'], '=', $context['session_id'], '">', $modSettings['karmaSmiteLabel'], '</a>
                  </li>';

Quote

         // Is karma display enabled?
         if ($modSettings['karmaMode'] != '0'){
            echo '
                     <li class="margintop">', $txt['karma_power'], ': ', $message['member']['karma']['power'], '</li>
                     <li class="margintop repbars">
                           ';
            foreach($message['member']['karma']['bars'] as $karma_bar)
               echo '<img src="', $settings['images_url'], '/karma_', $karma_bar['type'], '.gif" title="', $message['member']['name'], ' ', $karma_bar['desc'], '" alt="', $message['member']['name'], ' ', $karma_bar['desc'], '" />';
            echo '
                     </li>';
         }




Quote2.    Replace    ./Themes/babylon/Display.template.php    Test failed (Ignore Errors)

Quote
Quote

         // Is karma display enabled?  Total or +/-?
         if ($modSettings['karmaMode'] == '1')
            echo '
                        <br />
                        ', $modSettings['karmaLabel'], ' ', $message['member']['karma']['good'] - $message['member']['karma']['bad'], '<br />';
         elseif ($modSettings['karmaMode'] == '2')
            echo '
                        <br />
                        ', $modSettings['karmaLabel'], ' +', $message['member']['karma']['good'], '/-', $message['member']['karma']['bad'], '<br />';

         // Is this user allowed to modify this member's karma?
         if ($message['member']['karma']['allow'])
            echo '
                        <a href="', $scripturl, '?action=modifykarma;sa=applaud;uid=', $message['member']['id'], ';topic=', $context['current_topic'], '.' . $context['start'], ';m=', $message['id'], ';', $context['session_var'], '=', $context['session_id'], '">', $modSettings['karmaApplaudLabel'], '</a>
                        <a href="', $scripturl, '?action=modifykarma;sa=smite;uid=', $message['member']['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';m=', $message['id'], ';', $context['session_var'], '=', $context['session_id'], '">', $modSettings['karmaSmiteLabel'], '</a><br />';

Quote

         // Is karma display enabled?
         if ($modSettings['karmaMode'] != '0'){
            echo '
                        <br />
                        
                        ', $txt['karma_power'], ': ', $message['member']['karma']['power'], '<br />
                        <span class="repbars">
                           ';

            foreach($message['member']['karma']['bars'] as $karma_bar)
               echo '<img src="', $settings['images_url'], '/karma_', $karma_bar['type'], '.gif" title="', $message['member']['name'], ' ', $karma_bar['desc'], '" alt="', $message['member']['name'], ' ', $karma_bar['desc'], '" />';

            echo '
                        </span>
                        <br />';
         }




Quote3.    Add Before    ./Themes/babylon/Display.template.php    Test failed (Ignore Errors)

Quote
Quote

            // 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']['is_online'] ? $txt['pm_online'] : $txt['pm_offline'], '">', $settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/im_' . ($message['member']['online']['is_online'] ? 'on' : 'off') . '.gif" alt="' . ($message['member']['online']['is_online'] ? $txt['pm_online'] : $txt['pm_offline']) . '" border="0" />' : ($message['member']['online']['is_online'] ? $txt['pm_online'] : $txt['pm_offline']), '</a></li>';

Quote

            // 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 id="repicon" 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'], ';', $context['session_var'], '=', $context['session_id'], '"><img src="', $settings['images_url'], '/karma.gif" alt="', $txt['add_karma'], '" title="', $txt['add_karma'], '" /></a>';




Quote4.    Add Before    ./Themes/babylon/Display.template.php    Test failed (Ignore Errors)

Quote
Quote

            // Since we know this person isn't a guest, you *can* message them.
            if ($context['can_send_pm'])
               echo '
                        <a href="', $scripturl, '?action=pm;sa=send;u=', $message['member']['id'], '" title="', $message['member']['online']['is_online'] ? $txt['pm_online'] : $txt['pm_offline'], '">', $settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/im_' . ($message['member']['online']['is_online'] ? 'on' : 'off') . '.gif" alt="' . ($message['member']['online']['is_online'] ? $txt['pm_online'] : $txt['pm_offline']) . '" border="0" />' : ($message['member']['online']['is_online'] ? $txt['pm_online'] : $txt['pm_offline']), '</a>';

Quote

            // 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>
                        <a id="repicon" 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'], ';', $context['session_var'], '=', $context['session_id'], '"><img src="', $settings['images_url'], '/karma.gif" alt="', $txt['add_karma'], '" title="', $txt['add_karma'], '" /></a>';
Title: Re: Advanced Reputation System
Post by: Fustrate on March 13, 2009, 02:50:25 AM
Are you willing to do those by hand or upgrade to RC1? I know everything works fine on RC1, but Beta 4 should rightfully be having problems because of the amount of changes between the two versions.
Title: Re: Advanced Reputation System
Post by: sweetooo.baba on March 13, 2009, 03:27:07 AM
Well When this MOD available for 1.8 ver .............

And why U Guyz are Not installing This Mod in this Forum
Title: Re: Advanced Reputation System
Post by: Fustrate on March 13, 2009, 03:33:20 AM
I'm not currently planning a 1.1.x version... and the SMF team wants to keep this forum looking pretty much like a default install of SMF, and we don't really need a rep system here.
Title: Re: Advanced Reputation System
Post by: Fustrate on March 13, 2009, 04:31:45 AM
Okay, so in a little less than an hour after writing that, I've converted about a third of the code from 2.0 for 1.1.8. No AJAX for this one, since the 1.1 line doesn't have AJAX in there by default, and I'm not going to put it in there. Everything else will be there, though, so it'll be pretty much the same thing as 2.0, but for 1.1.8. Yippee!

It's 1:30 AM, I'm going to finish the other 2/3 this afternoon or Saturday. Saturday probably. But hey, I said the 2.0 version would be Saturday, and I got it done two days early. Maybe I'll be done with this one yesterday too ;)

Okay I'm sleep deprived. Gotta go.

Coding. It's what makes me sleep deprived. But it's kind of addicting. Lesson: coding is bad for your sleep cycle. I think I'll get this done pretty soon. What if I just stay up and finish it all in one go? That would be pretty awesome.

Oh ya, and the 1.1 line will be A.R.S v0.1 and so-forth, because I'm not going to mess with two version both being in the 1.0 range, and so ya. 0.x = SMF 1.1.x, 1.x = SMF 2.0.

I love SMF. Damnit, I'm dead tired. G'night.

- sleep deprived coding maniac. Seriously, it's bad for your health.
Title: Re: Advanced Reputation System
Post by: Crank! on March 13, 2009, 06:46:32 AM
What do I have to do with the second php file download?

So far I can only see the reputation and do not have the buttons to add or subtract them reputation for a member.

I am missing something right?
Title: Re: Advanced Reputation System
Post by: Fustrate on March 13, 2009, 01:27:37 PM
From the readme,
Quote


Important Instructions!



Before using this mod, uninstall all other Karma-changing mods. This mod changes so much that most other Karma mods will be incompatible.

After installing, go into Configuration > Features & Options > Core Features and make sure Reputation is turned on. Then, go to Members > Permissions > General Permissions and select which membergroups you want to be able to give positive reputation. Click 'Advanced Options' and make sure Add Permission is selected in the bottom left dropdown box. In the bottom right, select 'Can +reputation other users' and click 'Set Permission'. Repeat for 'Can -reputation other users' and 'Disable display of own reputation'. Then select your Moderator groups and give them the permission to 'Delete reputuation actions'.

That's about it! There are a dozen or so settings under Configuration > Figures & Options > Reputation that you can mess around with, and six images that you can change if you feel like it.

and the second file isn't needed to run the system, I'll post a readme for that later.
Title: Re: Advanced Reputation System
Post by: Crank! on March 13, 2009, 02:26:53 PM
Sorry but I followed these instructions all the way and still cannot use it.

I am trying on the default core theme and on Urban from DZ

What can I do? I already uninstalled and re-installed without errors. Set the permissions but no new buttons appear.
Title: Re: Advanced Reputation System
Post by: Fustrate on March 13, 2009, 03:10:01 PM
Go into your theme's Display.template.php and search for:
onclick="reputationForm

if it's not there, you need to do the theme edits by hand.
Title: Re: Advanced Reputation System
Post by: Crank! on March 13, 2009, 03:23:28 PM
This is what I get when I try to uninstall.

This after saying it has no errors.

Parse error: syntax error, unexpected T_STRING in /home7/army/public_html/mmp/Packages/temp/uninstall.php on line 1
Title: Re: Advanced Reputation System
Post by: Fustrate on March 13, 2009, 03:33:18 PM
assuming you're using the one I posted above, replace the zip in your /Packages/ directory with the one attached here, and then try again.
Title: Re: Advanced Reputation System
Post by: Crank! on March 13, 2009, 03:42:12 PM
That is all in there
Title: Re: Advanced Reputation System
Post by: Fustrate on March 13, 2009, 03:43:54 PM
See my post above. I saved uninstall.php as UTF-8, which doesn't work well with PHP.
Title: Re: Advanced Reputation System
Post by: Crank! on March 13, 2009, 04:13:47 PM
I am very much a newbie so I dunno what to do now.

Please explain like I am a third grade student :D
Title: Re: Advanced Reputation System
Post by: Fustrate on March 13, 2009, 04:17:07 PM
download the new zip I posted, and replace the one in your /Packages/ directory with it. After you do that, empty the /Packages/temp/ directory, and then go into your package manager and try to uninstall again.
Title: Re: Advanced Reputation System
Post by: Crank! on March 13, 2009, 04:28:04 PM
Parse error: syntax error, unexpected T_STRING in /home7/armyride/public_html/mmp/Packages/temp/uninstall.php on line 1

Same error. I was not getting the error with the 1.6 version should I load that one and see?
Title: Re: Advanced Reputation System
Post by: Fustrate on March 13, 2009, 06:14:02 PM
Did you delete the first advanced_reputation_system.zip first? that one should work...

also, try saving the uninstall.php from your /temp/ folder to your desktop, open it, save it as really plain text (whatever the plainest option you have is) and re-upload it, then try uninstalling again.
Title: Re: Advanced Reputation System
Post by: Fustrate on March 16, 2009, 01:02:37 AM
Advanced Reputation System for SMF 1.1.x has been uploaded to the mod site. Please tell me if you encounter any errors or bugs, or even if it's just working fine :)
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Crank! on March 16, 2009, 06:05:43 AM
Sorry, but this does not work on 2.0RC1.

I did a fresh install on my forum yesterday and tried it again. The mod just either does not put the right buttons where it needs them or else. I tried to uninstall and once again I got the parse error. Now again I am stuck with a mod that won't work and won't uninstall.

Plus after installing this mod it renders the Karma inoperative so right now all I have is pain. Maybe you will get it fixed soon I hope. It looks like a good mod but maybe is not interacting well with other mods installed.

If you want to I can post a list of the installed Mods to cross check the ones that you already tested out.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 16, 2009, 11:21:27 AM
Do you have any other mods installed that change/use karma?

To uninstall, upgrade to 1.7.2 and it'll uninstall correctly. The script got hit by a code change that wasn't supposed to be applied to that file, but it's fixed in 1.7.2 and will work as it should.

Also, did you do everything in the readme about turning it on and setting permissions?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: TheDisturbedOne on March 16, 2009, 03:31:47 PM
Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!

I love you in a completely un-gay way.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: bchill on March 16, 2009, 04:25:38 PM
The green dots that display karma don't appear to be showing up for me.  It also reported Test Failed for ModSettings.english.php file.  Any ideas?

EDIT:  No images show up for me actually.  Just a colon.  :
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: TheDisturbedOne on March 16, 2009, 04:38:45 PM
Actually I found a few small bugs.  There are two hearts for the karma images, and instead of opening a new page to send it, the link opens on the same page, at the top of the topic display.

EDIT:  There might be two karma images if I paste the code twice :P
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 16, 2009, 05:11:47 PM
bchill: SMF version?
TDO: try doing a hard refresh on the topic display page.

and ModSettings.english.php will show as failed for absolutely no reason. It performs the action just fine, if you check it later.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: TheDisturbedOne on March 16, 2009, 05:24:28 PM
Yeah, it still has it on the top.  If I right click and open in new tab it shows the screen I want it to show.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: bchill on March 16, 2009, 05:31:12 PM
I'm using SMF 1.1.8.  Getting no images at all, but it shows them being extracted successfully.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: TheDisturbedOne on March 16, 2009, 05:32:52 PM
If you are using a custom theme (not default) make sure that all the images in the zip file are in the images directory of that theme
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 16, 2009, 05:44:08 PM
TDO - you didn't do the edits to style.css in your theme.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: TheDisturbedOne on March 16, 2009, 05:50:48 PM
Oh s***, I feel like such an idiot (mainly because I tell people to do that all the time on support)!
Thanks!
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 16, 2009, 05:55:46 PM
welcome :) glad to see it wasn't something very serious
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: bchill on March 16, 2009, 07:10:45 PM
Reinstalled and still not getting any images to show up.  I am using the default theme, but I've changed a lot around as I've made it my custom template.  I did this so that when mods are installed, it's installed to the default directory.  I've only changed the aesthetic aspects of the coding, nothing that should ruin the way mods install.  I've installed a few mods that have had no problems.  I've also uninstalled previous karma mods.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 16, 2009, 07:16:00 PM
Check your images directory for these images:
karmaGood_basic.gif
karmaGood_super.gif
karmaBad_basic.gif
karmaBad_super.gif
karma_disabled_basic.gif
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: bchill on March 16, 2009, 07:18:04 PM
yeah, they're in there

the karma logo (heart) displays properly, but the green bars don't
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 16, 2009, 07:28:51 PM
Can you post a link to your forum so I can check it out?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: bchill on March 16, 2009, 07:36:22 PM
http://www.failureisoptional.com/forums/
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 16, 2009, 08:29:47 PM
Found the problem. Tell me if this installs and makes the images show.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: bchill on March 16, 2009, 08:34:28 PM
wow.  amazing.  thank you so much for the quick responses and help.  i can't say it's working perfectly, as i haven't played with it just yet, but the images are displaying and everything is looking good.

thanks again, bc.

EDIT:  Actually, I have one more question.  How do I change the title of the reputation?  Instead of Reputation Power:  making it say Reputation, for instance.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 16, 2009, 08:43:57 PM
I think that's in Modifications.english.php
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: robbie93 on March 16, 2009, 08:45:46 PM
I need to do a manual install and when I try to use the parser on the mod site I get this message

An Error Has Occurred!
Sorry, but this modification does not appear to be compatible with the selected version.

Using 1.1.8 any ideas?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 16, 2009, 08:48:43 PM
try the version I just posted to the mod site... it'll work with anything from 1.1 to 1.1.8, and it sounds like the mod parser hasn't been updated to work with 1.1.8. Try 1.1.4, or something like that.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: robbie93 on March 16, 2009, 10:29:51 PM
Hi,  I am having the same prob as bchill  :o
I manually installed everything looks ok cept I cant see the images either,  I moved all five images to theme/images from theme/default/images  and even downloaded the file that you gave bchill but I still cant see the images in the forum,  do you know what I am doing wrong?  thanks.

btw.  parser for 1.1.8 is now working  :D
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 16, 2009, 10:59:34 PM
is karma_good_super.gif there, or is it karmaGood_super.gif?

v0.1 added the incorrect karma_good_super, while v0.1.1 put in the correct karmaGood_super
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: robbie93 on March 16, 2009, 11:04:29 PM
heres what is in there

karma_bad_basic.gif
karma_bad_super.gif
karma_disabled_basic.gif
karma_good_basic.gif
karma_good_super.gif

http://robbie93andhotchildxox.com/Themes/Starcraft2/images/Karma_good_super.gif

Do you know why the link doesnt work?

edit:  K I swapped the images to the other ones  :D

http://robbie93andhotchildxox.com/Themes/Starcraft2/images/karmaGood_basic.gif

Could you please list the full set for me so that I know I have them all  ;D  thanks  8)
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: StarChildxox on March 16, 2009, 11:51:48 PM
 K's sorry that I'm late,  :o  but I have a question as well  ??? robbie has installed it,  :D
the green bar does show up  :)  but when I click on his to add "reputation"  ;D or he clicks on mine  O:)
well ?  ???  the count stays at zero  ::)  So I am assuming it's still broken?  :o  :-[  :(  :-\ 
Where is our boo boo  >:(  And how can we solve it?  :-\

                                                 Thanks
                                                    O:)
                                              hotchildxox
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 17, 2009, 12:42:01 AM
robbie: http://www.fustrate.com/dev/sources/Advanced%20Reputation%20System/Reputation_1-1-x/

hotchild: make sure you give yourself some karma, or you'll have no power. Go into your profile and give yourself, any admins, moderators, etc. something like 10000 points... that'll start things off nicely.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: robbie93 on March 17, 2009, 12:59:55 AM
Quote from: Fustrate on March 17, 2009, 12:42:01 AM
robbie: http://www.fustrate.com/dev/sources/Advanced%20Reputation%20System/Reputation_1-1-x/

hotchild: make sure you give yourself some karma, or you'll have no power. Go into your profile and give yourself, any admins, moderators, etc. something like 10000 points... that'll start things off nicely.

Thanks fustrate  :D ( I missed the Karma.gif :P )

Cool mod ;)
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: StarChildxox on March 17, 2009, 01:09:17 AM
 Thank-you fustrate  :)  (turns and glares at robbie  >:(  you failed to mention that part robbie?)



                                                        Thanks again fustrate                                                               
                                                                        O:)
                                                                   hotchildxox
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: robbie93 on March 17, 2009, 01:31:53 AM
Quote from: hotchildxox on March 17, 2009, 01:09:17 AM
Thank-you fustrate  :)  (turns and glares at robbie  >:(  you failed to mention that part robbie?)



                                                        Thanks again fustrate                                                               
                                                                        O:)
                                                                   hotchildxox

;D
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: robbie93 on March 17, 2009, 01:40:14 AM
Quote from: Fustrate on March 17, 2009, 12:42:01 AM
robbie: http://www.fustrate.com/dev/sources/Advanced%20Reputation%20System/Reputation_1-1-x/

hotchild: make sure you give yourself some karma, or you'll have no power. Go into your profile and give yourself, any admins, moderators, etc. something like 10000 points... that'll start things off nicely.

How do you give youself and members karma via profile?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 17, 2009, 01:45:13 AM
under "Forum Profile", there are two boxes. One for positive, one for negative. Make sure you've enabled reputation first.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: robbie93 on March 17, 2009, 01:55:50 AM
Ok I see two boxes [applaud] [smite] do I put 10000 in the applaud box?  and also will I have to do this on every members profile? 
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 17, 2009, 02:04:14 AM
Only for the people who you want to have 100 power. If you want to give everyone a certain amount, execute this query:
UPDATE smf_members
SET karmaGood = 10000
WHERE 1=1

and replace 10000 with whatever amount you want.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: StarChildxox on March 17, 2009, 02:27:07 AM
 When robbie changed the amount to 10000 every member then lost the button
to recieve or lose reputation, its gone now?  There is no button showing to click on to
higher or lower reputation...  :(   Help?

                                  Thanks
                                     O:)
                               hotchildxox

                           
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 17, 2009, 02:59:56 AM
did you give them permission to give positive or negative rep?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Crank! on March 17, 2009, 11:51:07 AM
Quote from: Fustrate on March 16, 2009, 11:21:27 AM
Do you have any other mods installed that change/use karma?

To uninstall, upgrade to 1.7.2 and it'll uninstall correctly. The script got hit by a code change that wasn't supposed to be applied to that file, but it's fixed in 1.7.2 and will work as it should.

Also, did you do everything in the readme about turning it on and setting permissions?
I did absolutely everything posible. I cannot uninstall it now. It comes back with a parse error. I don't want to go through installing the forum again.  I am lost with this mod that seems to be a nice one to have.

I never installed any other Karma mods. Like I said I freshly installed the forum again and after installing this mod the same results came back. I used a newly downloaded file so rules out having a corrupted file too.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 17, 2009, 12:44:19 PM
Which version are you on, 1.7, 1.7.1, or 1.7.2?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: robbie93 on March 17, 2009, 01:06:10 PM
Quote from: Fustrate on March 17, 2009, 02:59:56 AM
did you give them permission to give positive or negative rep?

yes,  members have been given permission to give pos and neg rep,  even admins cant see the option to give and recieve
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 17, 2009, 02:50:08 PM
and has your karma log been cleared? there should be nothing in (db_prefix)log_karma
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: robbie93 on March 17, 2009, 03:09:20 PM
Quote from: Fustrate on March 17, 2009, 02:50:08 PM
and has your karma log been cleared? there should be nothing in (db_prefix)log_karma

How do I clear the karma log?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 17, 2009, 03:13:32 PM
DELETE FROM {$db_prefix}log_karma WHERE 1=1

replace {$db_prefix} with your database prefix.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: robbie93 on March 17, 2009, 03:20:46 PM
Quote from: Fustrate on March 17, 2009, 03:13:32 PM
DELETE FROM {$db_prefix}log_karma WHERE 1=1

replace {$db_prefix} with your database prefix.

Ok you have lost me :o I know nothing about using databases could you please explain :P
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 17, 2009, 03:23:33 PM
err, go to ?action=reputation and tell me if there's anything there.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: robbie93 on March 17, 2009, 03:27:00 PM
This is what is there

Reputation Log
     From    To    Topic    Date    Comment
   robbie93    hotchildxox    I wanna know what love is    Yesterday at 08:17:11 PM    
Pages: [1]
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 17, 2009, 03:40:49 PM
so hmm... can I get a link to your forum?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: robbie93 on March 17, 2009, 03:59:30 PM
here is the link

http://robbie93andhotchildxox.com
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 17, 2009, 04:16:25 PM
the little blue heart shows up for me... I just registered and looked. You also forgot to do the edits to your theme's style.css
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: franklinrony on March 17, 2009, 04:16:33 PM
Quote from: Fustrate on March 16, 2009, 01:02:37 AM
Advanced Reputation System for SMF 1.1.x has been uploaded to the mod site. Please tell me if you encounter any errors or bugs, or even if it's just working fine :)
thanks, a year a go i hope this mod
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: robbie93 on March 17, 2009, 04:23:01 PM
Quote from: Fustrate on March 17, 2009, 04:16:25 PM
the little blue heart shows up for me... I just registered and looked. You also forgot to do the edits to your theme's style.css

But there is no option to + - reputation why is that? how do i edit the themes style.css
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 17, 2009, 04:28:47 PM
Quote from: frony on March 17, 2009, 04:16:33 PM
Quote from: Fustrate on March 16, 2009, 01:02:37 AM
Advanced Reputation System for SMF 1.1.x has been uploaded to the mod site. Please tell me if you encounter any errors or bugs, or even if it's just working fine :)
thanks, a year a go i hope this mod
Ya, I decided to squeeze it out in time for the 1 year anniversary which is today :D

Robbie: the +/- pops up when you click the heart, and you need to edit your theme's style.css to include
.repbars img
{
padding: 0 1px 0 0;
}

#reputation_menu{
position: absolute;
border: 1px solid black;
z-index: 100;
}
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: robbie93 on March 17, 2009, 04:37:55 PM
In the manual install for this mod it doesnt say to edit you're themes style.css only the default themes style.css,  which I have just checked and the code that you have just posted is there in default style.css.

I checked starcraft2/style.css and the code

?>

that you need to find before adding this code

.repbars img
{
   padding: 0 1px 0 0;
}

#reputation_menu{
   position: absolute;
   border: 1px solid black;
   z-index: 100;
}


isnt there?  what shall I do?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 17, 2009, 04:54:43 PM
...add the code to your theme's style.css, right before the ?>
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: robbie93 on March 17, 2009, 04:59:26 PM
There is no ?> in the themes style.css ;D
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 17, 2009, 05:47:34 PM
excuse me, just put it at the end
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: robbie93 on March 17, 2009, 05:49:10 PM
Ok and what will this do? :D
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 17, 2009, 05:49:48 PM
fix it
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: robbie93 on March 17, 2009, 06:01:06 PM
Quote from: Fustrate on March 17, 2009, 04:16:25 PM
the little blue heart shows up for me... I just registered and looked. You also forgot to do the edits to your theme's style.css

fix what?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 17, 2009, 06:01:46 PM
your problem
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: robbie93 on March 17, 2009, 06:13:22 PM
which is?  you said I need to edit the style.css but you didnt say why?  I initially posted to ask why you couldnt + or - a rep and you told me that you have to click the blue heart to + or - a rep which I now know.
But you didnt say why the edit for the style.css is required? 
I also have another problem I am trying to give somebody a rep and they seem to be stuck on 10 reps I have given them 2 reps but they are still stuck on 10?  any idea as to why  :D
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: StarChildxox on March 17, 2009, 06:59:44 PM
 It's alright babe,  O:)  I don't mind being a 10...  :) I am a 10!  8)


                                                             O:)
                                                       hotchildxox
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 17, 2009, 07:02:39 PM
You can give positive or negative reputation in the popup box that comes from the heart icon. The popup box doesn't work correctly because your style.css doesn't have the code in it. When you give someone reputation, your power is how many points you give them. They need a certain amount of points to get another power.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: StarChildxox on March 17, 2009, 07:11:35 PM
 But when i clicked on robbie's, first on the heart, then went to the box and clicked as well, it worked for him, it added another one to his count?   And he had the same amount then, as mine do now, that for me doesn't work?

                                                                  O:)
                                                            hotchildxox
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: robbie93 on March 17, 2009, 07:15:00 PM
I just edited the style.css for our theme and nothing has changed :(
and hotchildxox's rep is still on 10  ::)
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 17, 2009, 07:19:55 PM
hard refresh. ctrl-shift-r, or cmd-shift-r on a mac

and her POINTS should've gone up by however many POWER you have... it's a simple system. By default, 100 POINTS = 1 POWER
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: robbie93 on March 17, 2009, 07:25:44 PM
Just done a hard refresh and her rep is still at 10?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 17, 2009, 07:36:30 PM
You already gave her reputation.

Your power is 10

You gave her 10 points

it takes 100 points to get another power

her power stays at 10

her points have been upped by 10

but her power is only 10.1, which rounds down to 10

THAT'S IT
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: robbie93 on March 17, 2009, 07:40:40 PM
Why didnt you say that in the first place?
:-X 

So every time you give a rep it doesnt show on the bar until you give ten reps?  that sucks...

And the purpose for the edit to the style.css was?  the pop up bar looks the same now as it did before I edited the .css :P
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: StarChildxox on March 17, 2009, 07:45:58 PM
 I hate to be a bucket of cold water on that theory,  :o
but I didn't give robbie ten, before it showed up?  ::)
So why is that?  ???  Sorry ahead of time for being a pest...
We don't mean to be a problem, we just need to figure this out?  :-\

                                                      O:)
                                               hotchildxox
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 17, 2009, 07:47:41 PM
You gave everyone 1000 points instead of 10000 like I said to. 10000 will give you 100 points, which will make things move faster, like you want it to.

and take the ?> out of style.css, do a hard refresh, and then the popup box will work like it should.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: robbie93 on March 17, 2009, 07:52:42 PM
Yes I have figured that now...  you should have stated how many reps you get whe set to 10000

I am in the process now of changing it back to 10000 that way one vote one rep ...  correct? ;D
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: StarChildxox on March 17, 2009, 07:53:09 PM
  K's, but how did that get robbie his points and not me mine?
We still had the same amount of credit, I clicked his only once and it showed
up, he clicked mine only once and it never?
We will put it exactly how you specify...   

                                                                       O:)
                                                                hotchildxox
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: StarChildxox on March 17, 2009, 08:01:06 PM
 Never mind, robbie just told me he messed with the point system after...  >:(
Gee, I need a tylenol now...  (offers everyone else one as well)   :-[ 

Thank-you fustrate, you can add a "d" on to the end of your username after dealing
with us, lol we will understand...   ;D 


                                                                     O:)
                                                             hotchildxox
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: robbie93 on March 17, 2009, 08:30:56 PM
Quote from: Fustrate on March 17, 2009, 07:47:41 PM
You gave everyone 1000 points instead of 10000 like I said to. 10000 will give you 100 points, which will make things move faster, like you want it to.

and take the ?> out of style.css, do a hard refresh, and then the popup box will work like it should.

Everything seems to be working now fustrate,  the pop up box,  and the rep system,  thanks for you're support.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: StarChildxox on March 17, 2009, 08:41:53 PM
 Ummm I have one last teeny weeny question fustrate?  :-[  You how know its called reputation? 
Well I was just wondering....  :-\    Is there a way we can change the name to it?
Say like we could call it popularity?  :)   How would we do that?   :) 

                                                              Thanks
                                                                  O:)
                                                             hotchildxox
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 17, 2009, 08:50:31 PM
http://www.fustrate.com/dev/sources/Advanced%20Reputation%20System/Reputation_1-1-x/install.xml

Search for all instances of
.english.php
and then open the files it finds, and replace all occurences of "reputation" with "popularity"
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: StarChildxox on March 17, 2009, 09:00:07 PM
 Thanks fustrate, see robbie I knew it could be done  :)

                                                         O:)
                                                  hotchildxox
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: robbie93 on March 17, 2009, 09:29:24 PM
Quote from: hotchildxox on March 17, 2009, 09:00:07 PM
Thanks fustrate, see robbie I knew it could be done  :)

                                                         O:)
                                                  hotchildxox

I never said it couldnt :)
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: StarChildxox on March 17, 2009, 09:34:12 PM
 Then why did you have me ask him?  :-\

                                                   O:)
                                            hotchildxox
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 17, 2009, 09:35:52 PM
Please don't have conversations in this thread - it's for mod support only.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: StarChildxox on March 17, 2009, 09:37:28 PM
 Opps, I apologise fustrate, you're right... 

                                                  O:)
                                            hotchildxox
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: PalmBeachPreps on March 17, 2009, 09:39:06 PM
I keep getting these errors when i attempt to install:
Quote3.     Execute Modification     ./Themes/default/Display.template.php     Test failed
25.     Execute Modification     ./Themes/default/languages/ModSettings.english.php     Test failed
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 17, 2009, 10:07:39 PM
ModSettings fails for no reason, and you can let it just do that. You'll need to make the edits to Display.template.php yourself, if you know how.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: TW1ST3D on March 17, 2009, 11:08:02 PM
Great Mod and Thanks for Porting backward to include 1.18.............I installed the mod with only "normal" problems and it works fine..............except the pop-up doesn't pop-up , it sits above the link tree.

any ideas on what to fix?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 17, 2009, 11:16:28 PM
do a hard refresh, ctrl-shirt-r or cmd-shift-r on a mac.

If that doesn't work, make sure you edited your theme's style.css file.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: TW1ST3D on March 17, 2009, 11:32:18 PM
Quote from: Fustrate on March 17, 2009, 11:16:28 PM
do a hard refresh, ctrl-shirt-r or cmd-shift-r on a mac.

If that doesn't work, make sure you edited your theme's style.css file.

Oops...........I didn't edit the .css file !?!
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 18, 2009, 12:02:54 AM
It happens :) add this at the end of your theme's style.css file:
.repbars img
{
   padding: 0 1px 0 0;
}

#reputation_menu{
   position: absolute;
   border: 1px solid black;
   z-index: 100;
}
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Eliana Tamerin on March 18, 2009, 01:30:08 AM
Great job, Yoda! This backport should be useful for those unwilling to upgrade to 2.0 just yet.

Quote from: TheDisturbedOne on March 16, 2009, 03:31:47 PM
Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!

I love you in a completely un-gay way.

Beware the unsolicited denial! :P
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 18, 2009, 01:34:08 AM
Quote from: Eliana Tamerin on March 18, 2009, 01:30:08 AM
Great job, Yoda! This backport should be useful for those unwilling to upgrade to 2.0 just yet.

Quote from: TheDisturbedOne on March 16, 2009, 03:31:47 PM
Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!

I love you in a completely un-gay way.

Beware the unsolicited denial! :P
Thank you, miss first-reply :) it was an impulse downgrade... I swear!
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Eliana Tamerin on March 18, 2009, 02:15:27 AM
Let me guess, you were bored?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 18, 2009, 02:19:06 AM
Yep. Just look back a few pages... I said I wasn't going to, and then a little more than an hour later I was a third of the way done.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: sweetooo.baba on March 18, 2009, 05:37:41 AM
When i  try 2 Install This Mod ..........

An Error Has Occured



You cannot download or install new packages because the Packages directory or one of the files in it are not writable!


Whats this :(
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Eliana Tamerin on March 18, 2009, 10:26:54 AM
Check your package directory in ftp (http://docs.simplemachines.org/index.php?topic=480). It should have two folders inside, one titled 'temp'. If the 'temp' folder is not there, create it and chmod (http://docs.simplemachines.org/index.php?topic=477) it to 777. If it is there, ensure that the folders and files inside Packages are chmodded to 777, as well as the Packages directory itself.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: TheDisturbedOne on March 18, 2009, 07:58:56 PM
Quote from: Eliana Tamerin on March 18, 2009, 01:30:08 AM
Great job, Yoda! This backport should be useful for those unwilling to upgrade to 2.0 just yet.

Quote from: TheDisturbedOne on March 16, 2009, 03:31:47 PM
Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!

I love you in a completely un-gay way.

Beware the unsolicited denial! :P
>:(
And just as a note, I have too much on my forum to upgrade.  My theme is very customised, plus I have various tweeks all over the place.


And a question Fustrate, How do I make it so that members don't get any rep for posting?  I set each one to 0, but now when I give reputation, it give the message, but no +1 or anything ???
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 18, 2009, 08:01:30 PM
100 points per 1 power, gotta remember that.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: xxxbbs site on March 19, 2009, 02:53:57 AM
Thanks for this great mod.

But how to change the "Reputation Power" shown on board  to "karma" for smf1.18 ?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 19, 2009, 11:18:16 AM
http://www.fustrate.com/dev/sources/Advanced%20Reputation%20System/Reputation_1-1-x/install.xml

Search for all instances of
.english.php
and then open the files it finds, and replace all occurences of "reputation" with "karma"
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: eNOOBz on March 19, 2009, 12:46:14 PM
I'm on SMF 1.1.8. All install fine but I cannot run the GiveReputation.php. It gives me this error

QuoteFatal error: Function name must be a string in /public_html/limbang/forum/GiveReputation.php on line 76

Please help.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: xxxbbs site on March 19, 2009, 12:53:20 PM
Thanks a lot
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 19, 2009, 12:55:23 PM
eNOOBz - I still need to make that file 1.1.8-compatible.

jykotw - I'm not quite sure why not. I'll try to look into that.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: xxxbbs site on March 19, 2009, 01:05:49 PM
Sorry, it works fine

I am stupid   :)
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: xxxbbs site on March 19, 2009, 01:36:06 PM
I have created 2 account ,each has 100 reputation.
One account  gave a rep to the other account . The final rep is 100 and 101.
Why not 99 and 101 ?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 19, 2009, 02:20:19 PM
you don't actually give away any of your own rep, just add rep to whoever you're giving it to.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: TheDisturbedOne on March 19, 2009, 03:38:01 PM
Quote from: Fustrate on March 18, 2009, 08:01:30 PM
100 points per 1 power, gotta remember that.
Was that post to me?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 19, 2009, 03:39:06 PM
yep. Power and points are two different things.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: TheDisturbedOne on March 19, 2009, 03:52:45 PM
But what I want to happen is that for posting, a member gets power, but no points.  When they give rep they give points there.

I don't know if I stated it right XD
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 19, 2009, 03:55:54 PM
Power and Points aren't seperate - in order to get power, you must get points. By default, 100 points = 1 power.

So if you have 5437 points, it just divides it by the amount you set in the reputation settings, and says you have 54 power. It's not really stored anywhere as 54.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: char39 on March 19, 2009, 04:03:28 PM
Can I see this mod in action on anyone's forum please?  I am trying to decide between this and Karma Description Mod and I can't quite tell if this has the features I need unless I see it live.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 19, 2009, 04:07:54 PM
http://fustrate.com/dev/mods/rep/

That's only the client-side though. To see the admin features, you'd need to install it on a test forum.

I should really make a list of features... I think I'll do that right now.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: TheDisturbedOne on March 19, 2009, 04:10:36 PM
Quote from: Fustrate on March 19, 2009, 03:55:54 PM
Power and Points aren't seperate - in order to get power, you must get points. By default, 100 points = 1 power.

So if you have 5437 points, it just divides it by the amount you set in the reputation settings, and says you have 54 power. It's not really stored anywhere as 54.
I understand that, but can I set it so that you don't get any points from posting, but can still give points?  I set topics and posts to 0, but when I gave reputation, it didn't add to the other user's points.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 19, 2009, 04:11:56 PM
How much power do you have?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: TheDisturbedOne on March 19, 2009, 04:44:40 PM
Currently 0.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 19, 2009, 04:53:08 PM
give all of your admins/mods 10000 points in their profile, and then they'll have 100 power. That means when you give someone rep, it gives them 100 points, = +1 power themselves. Since you have 0 power right now, it's giving people 0 points when you rep them.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: TheDisturbedOne on March 19, 2009, 05:14:54 PM
Got it!!  One more thing.  Is there a way in MySQL to set everybody's Reputation points to 10000?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: robbie93 on March 19, 2009, 05:32:34 PM
Houston,  we have a problem. :D

When hotchildxox is logged into the forum she doesnt see the little blue heart to + rep,  but only under my name,  she can see everyone else's heart ;D

Ok,  but when I log in as hotchildxox and go to one of my posts I can see the little blue heart :P

Any ideas why this is happening?  I have screen shot the two instances ;D
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: TW1ST3D on March 19, 2009, 05:50:12 PM
Quote from: eNOOBz on March 19, 2009, 12:46:14 PM
I'm on SMF 1.1.8. All install fine but I cannot run the GiveReputation.php. It gives me this error

QuoteFatal error: Function name must be a string in /public_html/limbang/forum/GiveReputation.php on line 76

Please help.

I didn't have to run that...................
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: TheDisturbedOne on March 19, 2009, 06:13:35 PM
Quote from: robbie93 on March 19, 2009, 05:32:34 PM
Houston,  we have a problem. :D

When hotchildxox is logged into the forum she doesnt see the little blue heart to + rep,  but only under my name,  she can see everyone else's heart ;D

Ok,  but when I log in as hotchildxox and go to one of my posts I can see the little blue heart :P

Any ideas why this is happening?  I have screen shot the two instances ;D
Because you shouldn't be able to rep yourself!
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: robbie93 on March 19, 2009, 06:17:38 PM
Quote from: TheDisturbedOne on March 19, 2009, 06:13:35 PM
Quote from: robbie93 on March 19, 2009, 05:32:34 PM
Houston,  we have a problem. :D

When hotchildxox is logged into the forum she doesnt see the little blue heart to + rep,  but only under my name,  she can see everyone else's heart ;D

Ok,  but when I log in as hotchildxox and go to one of my posts I can see the little blue heart :P

Any ideas why this is happening?  I have screen shot the two instances ;D
Because you shouldn't be able to rep yourself!

I am not trying to rep myself,  hotchildxox is trying to rep me but cant see the heart to do so,  yet when I log in as her I can see the heart to rep me.
To clarify...  When hotchild logs in she cannot see the heart under robbie93's name.
But when I log in to the site using hotchildxox's log in details and go to one of my posts ( robbie93 ) then I can see the heart to rep.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: TheDisturbedOne on March 19, 2009, 06:32:00 PM
Quote from: robbie93 on March 19, 2009, 06:17:38 PM
Quote from: TheDisturbedOne on March 19, 2009, 06:13:35 PM
Quote from: robbie93 on March 19, 2009, 05:32:34 PM
Houston,  we have a problem. :D

When hotchildxox is logged into the forum she doesnt see the little blue heart to + rep,  but only under my name,  she can see everyone else's heart ;D

Ok,  but when I log in as hotchildxox and go to one of my posts I can see the little blue heart :P

Any ideas why this is happening?  I have screen shot the two instances ;D
Because you shouldn't be able to rep yourself!

I am not trying to rep myself,  hotchildxox is trying to rep me but cant see the heart to do so,  yet when I log in as her I can see the heart to rep me.
To clarify...  When hotchild logs in she cannot see the heart under robbie93's name.
But when I log in to the site using hotchildxox's log in details and go to one of my posts ( robbie93 ) then I can see the heart to rep.
Oh, I see now.  what browser is she using.  Also have her do a hard refresh.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: robbie93 on March 19, 2009, 06:50:11 PM
She is using chrome I logged in with her details using chrome and I saw the heart :o

A hard refresh makes no difference either,  any ideas?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 19, 2009, 07:16:25 PM
nope.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: StarChildxox on March 19, 2009, 07:45:23 PM
 Has anyone ever experienced this problem?  Strange isn't it?  That's why we brought
you the screenshots?  Oh and I did use two other browsers, I had the same thing happen?

                                                   Thanks
                                                       O:)
                                                 hotchildxox
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: xxxbbs site on March 19, 2009, 11:57:14 PM
In my forum, user must have 3 Karma to see the hidden post. So they must post some good topic to earn some karma. But some user register multy accout to give himself karma. So I need a better karma system.

If someone have 2 karma and he give 1 to another person, his karma will be 1.
No one can give another person a karma when his karma is below 1. So karma is precious. But registering multy accout to give karma made it useless
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: PalmBeachPreps on March 20, 2009, 02:33:18 AM
Quote from: Fustrate on March 17, 2009, 10:07:39 PM
ModSettings fails for no reason, and you can let it just do that. You'll need to make the edits to Display.template.php yourself, if you know how.
Could not edit Display.template.php myself  :-[.  I am attaching it here:
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 20, 2009, 02:57:39 AM
Try this, AlreeGator.

and eNOOBz, if you see this, try running the attacked GiveReputation.php and tell me if you get any errors.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: eNOOBz on March 20, 2009, 05:44:56 AM
I get this error

Parse error: syntax error, unexpected T_INCLUDE_ONCE in /public_html/limbang/forum/GiveReputation.php on line 1

Waiting for your respond. Thanks.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: b0dyr0ck2006 on March 21, 2009, 11:15:53 AM
Is there any way of porting previous Karma levels across to this new system?

My user's have gained various levels of Karma for posting etc and would be a bit of a pita to edit each users rep level to represent their previous Karma.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: StarChildxox on March 21, 2009, 05:28:42 PM
Quote from: hotchildxox on March 19, 2009, 07:45:23 PM
Has anyone ever experienced this problem?  Strange isn't it?  That's why we brought
you the screenshots?  Oh and I did use two other browsers, I had the same thing happen?

                                                   Thanks
                                                       O:)
                                                 hotchildxox

Back to my question?  Um just wanted you to know I figured it out myself, and I can see his
heart now and give him rep....   Thanx for the help though.  :)


                                                   Thanks
                                                       O:)
                                                 hotchildxox
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: PalmBeachPreps on March 21, 2009, 10:50:01 PM
Quote from: Fustrate on March 20, 2009, 02:57:39 AM
Try this, AlreeGator.

and eNOOBz, if you see this, try running the attacked GiveReputation.php and tell me if you get any errors.

I get this now:
QuoteAn Error Has Occurred!
Unable to load the 'main' template.

EDIT:  I now have NO reputation system nor karma! >:(
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: char39 on March 23, 2009, 08:21:41 AM
Can you please tell me where I would need to change the wording in the pop up box?  Thank you!
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: b0dyr0ck2006 on March 23, 2009, 06:22:46 PM
When I run the GiveReputation.php file all I get is a Blank screen.

I'm running 1.1.8
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 23, 2009, 06:26:56 PM
tangerine: try index.english.php, or Modifications.english.php

GiveReputation.php is being worked on... I'm finishing up an old mod, and then I'll get to it.

AlreeGator: I saved it with Mac linebreaks instead of Windows (which servers like better). Here it is.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: PalmBeachPreps on March 23, 2009, 10:48:56 PM
Quote from: Fustrate on March 23, 2009, 06:26:56 PM
tangerine: try index.english.php, or Modifications.english.php

GiveReputation.php is being worked on... I'm finishing up an old mod, and then I'll get to it.

AlreeGator: I saved it with Mac linebreaks instead of Windows (which servers like better). Here it is.
That worked better somewhat.

I tried to give rep and got this:
QuoteDatabase Error
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's Best in 2009?')' at line 4
File: /home/content/p/a/l/palmbeachpreps/html/Sources/Karma.php
Line: 368

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.8, while your database is at version 1.1.4. The above error might possibly go away if you execute the latest version of upgrade.php.
and my board now looks like this: EDIT: removed the screenshot.  i figured out that it was the shoutbox distorting the view, but i would rather have this mod working correctly than a shoutbox.  thanks for your assistance!  :D  Now if i could just get rid of that error above.  ;)
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 23, 2009, 11:08:36 PM
what was the message you were trying to send? I think I know why it did that... but I want to make sure.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: PalmBeachPreps on March 24, 2009, 12:10:47 AM
Quote from: Fustrate on March 23, 2009, 11:08:36 PM
what was the message you were trying to send? I think I know why it did that... but I want to make sure.
I attempted to give rep to a poster.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 24, 2009, 12:13:18 AM
It looks like the comment was the problem. Did it have an apostrophe in it?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: PalmBeachPreps on March 24, 2009, 12:40:37 AM
yes. its working good now (great mod!), thanks for all of your help!

one more question:  when you give rep to someone, why do you have to scroll to the top of the screen in order to comment?  the comment popup automatically goes to the top.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 24, 2009, 12:55:12 AM
do a hard refresh (ctrl-shift-r or cmd-shift-r)
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: gibby on March 24, 2009, 11:26:01 PM
Hi

Where can I view all the comments sent when using this mod?

Thanks
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 24, 2009, 11:39:58 PM
?action=reputation

mods and admins only.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Running With Scissors on March 25, 2009, 12:22:35 PM
When every someone -reps someone on the rep chart it still shows up green. Is that how its suppose to be? You would think it would be red.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 25, 2009, 02:02:50 PM
Which SMF version, and does it show as red in the user's profile, or just on the main reputation log?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: b0dyr0ck2006 on March 25, 2009, 05:21:27 PM
How would I give all users 500 points?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 25, 2009, 05:29:44 PM
You need to execute this query in phpMyAdmin or another database management software that should be in your hosting control panel:

SMF 2.0 (Set all to 500)
UPDATE smf_members
SET karma_good = 500
WHERE 1=1


SMF 2.0 (Add 500 to current total)
UPDATE smf_members
SET karma_good = karma_good + 500
WHERE 1=1


SMF 1.1.x (Set all to 500)
UPDATE smf_members
SET karmaGood = 500
WHERE 1=1


SMF 1.1.x (Add 500 to current total)
UPDATE smf_members
SET karmaGood = karmaGood + 500
WHERE 1=1


and replace smf_members with your members table name if you're not using smf_
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: b0dyr0ck2006 on March 25, 2009, 05:35:44 PM
Quote from: Fustrate on March 25, 2009, 05:29:44 PM
You need to execute this query in phpMyAdmin or another database management software that should be in your hosting control panel:

SMF 2.0 (Set all to 500)
UPDATE smf_members
SET karma_good = 500
WHERE 1=1


SMF 2.0 (Add 500 to current total)
UPDATE smf_members
SET karma_good = karma_good + 500
WHERE 1=1


SMF 1.1.x (Set all to 500)
UPDATE smf_members
SET karmaGood = 500
WHERE 1=1


SMF 1.1.x (Add 500 to current total)
UPDATE smf_members
SET karmaGood = karmaGood + 500
WHERE 1=1


and replace smf_members with your members table name if you're not using smf_

Perfect, thanks.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Running With Scissors on March 25, 2009, 10:18:50 PM
Quote from: Fustrate on March 25, 2009, 02:02:50 PM
Which SMF version, and does it show as red in the user's profile, or just on the main reputation log?

rc1 and both. People noticed that when they neg people it still shows up as green in their log. Then I tried it and it does it too.
Do you want the link or a screen shot?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 25, 2009, 11:13:28 PM
is their rep power greater than 0? and does the person's negative rep go up in their profile?
Title: Re: Advanced Reputation System
Post by: rtkane on March 26, 2009, 11:52:41 AM
Quote from: Fustrate on March 13, 2009, 02:50:25 AM
Are you willing to do those by hand or upgrade to RC1? I know everything works fine on RC1, but Beta 4 should rightfully be having problems because of the amount of changes between the two versions.

I manually uninstalled it and upgraded it to the newest version and it looks like it's working at this point...thanks for your help.



Hi Fustrate...RC1 is installed now.. it would appear that it's working for the most part, except for a small glitch... when I view my reputation.. the ones that i give out to people appear in the list as if I sent it to myself (I know they received it though) whereas the ones I receive show who they are from.  Here's a screenshot from a test account I have setup:

(http://home.comcast.net/~openaccess/repsent.jpg)

Any ideas on that? And thanks for your continued help.

EDIT:  In the above screenshot, the account I'm using to test it is "reptest".  See the last 3 entries in that list.  Should be sent to people other than "Reptest". 
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Running With Scissors on March 27, 2009, 01:08:03 PM
Quote from: Fustrate on March 25, 2009, 11:13:28 PM
is their rep power greater than 0? and does the person's negative rep go up in their profile?

I just looked and when I click disagree and type a comment it still gives them positive rep.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: ampedm on March 27, 2009, 08:08:56 PM
Same is happening here, fresh 2.0 RC1 Install

EDIT: Only the AJAX rep box is affected, when adding rep without the Javascript popup box, it works.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: ampedm on March 27, 2009, 09:25:52 PM
Found a fix i think....

themes/default/scripts/script.js

look for: - around line 1446

x[x.length] = 'type=' + (form['type'][0].value != 'undefined' ? form['type'][0].value : form['type'][1].value);

form['type'][0].value != 'undefined'

replace with:

x[x.length] = 'type=' + (form['type'][0].checked ? form['type'][0].value : form['type'][1].value);

form['type'][0].checked

Problem: the conditional is checking for the radio field named type to have  a value which is always true (agree / disagree), it should be checking if the radio is checked.

I think this is correct, hopefully the author can verify  :)
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 27, 2009, 10:50:37 PM
That looks like that's EXACTLY what's wrong... I'll make an upgrade package ASAP.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Sudhakar Arjunan on March 28, 2009, 12:36:01 AM
Hi Fustrate,

When i click on the stats page,

Its shows two error on my error log.

Only show the errors of this type Type of error: General
Only show the error messages of this URL http://website.com/index.php?action=stats
Only show the errors with the same message
2: Invalid argument supplied for foreach()
Only show the errors from this file
File: /home/website/public_html/Themes/default/Stats.template.php (main sub template - eval?)
Line: 141
   

Only show the errors of this type Type of error: Undefined
Only show the error messages of this URL http://website.com/index.php?action=stats
Only show the errors with the same message
8: Undefined index: reputation_worst
Only show the errors from this file
File: /home/website/public_html/Themes/default/Stats.template.php (main sub template - eval?)
Line: 141

If there is a previous topic, kindly walk me to it. So i will read and modify the code.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 28, 2009, 12:38:59 AM
what version of this mod are you using?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Running With Scissors on March 28, 2009, 01:26:05 AM
That edit fixed my problem. Thanks.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Josh555 on March 28, 2009, 12:47:30 PM
hey, when i go to install on smf 1.1.8 it says:

25.  Execute Modification  ./Themes/default/languages/ModSettings.english.php  Test failed

Thats the only test that failed.

How do i fix this?

See attached screenshot
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Josh555 on March 28, 2009, 10:20:02 PM
it would be great if you could get back to me...
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 28, 2009, 10:50:41 PM
I apologize for having a life to live, and being out of the house all day. I'm be sure to be a recluse from now on.

ModSettings.english.php fails for no reason, just go ahead and install.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Josh555 on March 28, 2009, 11:26:35 PM
Can you take a screenie of the bottom half of the admin options, as I cant see it in my acp and i want to know what I'm editing.

Thanks
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 28, 2009, 11:33:54 PM
I have no clue why it fails, but it never actually failed (just said it would). Attach your ModSettings.english.php file from /Themes/default/languages/ and I'll edit it for you (and figure out why it fails on some and not others).
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Josh555 on March 28, 2009, 11:36:45 PM
mkay

I've also attached a screenshot of what i'm talking about, incase this has nothing to do with modsettings.english.php
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 28, 2009, 11:56:49 PM
What language are you using as your default - English, English UTF-8, or another language?

Your ModSettings.english.php file is fine, by the way.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Josh555 on March 29, 2009, 12:01:30 AM
english i'd assume?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 29, 2009, 12:15:30 AM
Is there another ModSettings.(language).php file in there?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Josh555 on March 29, 2009, 12:48:48 AM
Nope, everything is .english
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 29, 2009, 12:55:53 AM
any errors in the error log?

and this is SMF 1.1.x right?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Josh555 on March 29, 2009, 01:49:41 AM
Quote
Apply Filter: Only show the error messages of this member Josh    Today at 01:44:22 AM
Apply Filter: Only show the error messages of this IP address       Apply Filter: Only show the error messages of this session 84818f82380cb551138d43941c7b9bd0
Apply Filter: Only show the error messages of this URL http://icedragons.co.cc/index.php?topic=40.msg144;boardseen
Apply Filter: Only show the errors with the same message
8: Undefined index: add_karma
File: /home/a7698442/public_html/Themes/default/Display.template.php (main sub template - eval?)
Line: 397

Quote
Apply Filter: Only show the error messages of this member Josh    Today at 01:43:14 AM
Apply Filter: Only show the error messages of this IP address      Apply Filter: Only show the error messages of this session 84818f82380cb551138d43941c7b9bd0
Apply Filter: Only show the error messages of this URL http://icedragons.co.cc/index.php?topic=23.msg178;boardseen
Apply Filter: Only show the errors with the same message
8: Undefined index: karma_agree
File: /home/a7698442/public_html/Themes/default/Display.template.php (main sub template - eval?)
Line: 24

Quote
Apply Filter: Only show the error messages of this member Josh    Today at 01:43:14 AM
Apply Filter: Only show the error messages of this IP address       Apply Filter: Only show the error messages of this session 84818f82380cb551138d43941c7b9bd0
Apply Filter: Only show the error messages of this URL http://icedragons.co.cc/index.php?topic=23.msg178;boardseen
Apply Filter: Only show the errors with the same message
8: Undefined index: karma_your_opinion
File: /home/a7698442/public_html/Themes/default/Display.template.php (main sub template - eval?)
Line: 22

Quote
Apply Filter: Only show the error messages of this member Josh    Today at 01:43:14 AM
Apply Filter: Only show the error messages of this IP address       Apply Filter: Only show the error messages of this session 84818f82380cb551138d43941c7b9bd0
Apply Filter: Only show the error messages of this URL http://icedragons.co.cc/index.php?topic=23.msg178;boardseen
Apply Filter: Only show the errors with the same message
8: Undefined index: karma_add_to
File: /home/a7698442/public_html/Themes/default/Display.template.php (main sub template - eval?)
Line: 17

QuoteApply Filter: Only show the error messages of this member  Josh       Today at 01:43:14 AM
Apply Filter: Only show the error messages of this IP address       Apply Filter: Only show the error messages of this session 84818f82380cb551138d43941c7b9bd0
Apply Filter: Only show the error messages of this URL http://icedragons.co.cc/index.php?topic=23.msg178;boardseen
Apply Filter: Only show the errors with the same message
8: Undefined index: karma_title
File: /home/a7698442/public_html/Themes/default/Display.template.php (main sub template - eval?)
Line: 14

QuoteApply Filter: Only show the error messages of this member  Josh       Today at 01:43:14 AM
Apply Filter: Only show the error messages of this IP address       Apply Filter: Only show the error messages of this session 84818f82380cb551138d43941c7b9bd0
Apply Filter: Only show the error messages of this URL http://icedragons.co.cc/index.php?topic=23.msg178;boardseen
Apply Filter: Only show the errors with the same message
8: Undefined index: karma_disagree
File: /home/a7698442/public_html/Themes/default/Display.template.php (main sub template - eval?)
Line: 25

Uhm yeah. alot.

SMF 1.1.8
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: slowforthecones on March 29, 2009, 09:04:43 PM
Hey guys.  I need some help.  I am installing this Advance Reputation Mod on SMF 1.1.8 and get these following errors.

Installations actions for "Advanced Reputation System":
Installing this package will perform the following actions:
   Type    Action    Description
1.    Execute Code    install.php    
2.    Execute Modification    ./index.php    Test successful
3.    Execute Modification    ./Themes/default/Display.template.php    Test successful
4.    Execute Modification    ./Themes/default/PersonalMessage.template.php    Test successful
5.    Execute Modification    ./Themes/default/Profile.template.php    Test successful
6.    Execute Modification    ./Themes/default/Stats.template.php    Test successful
7.    Execute Modification    ./Themes/default/script.js    Test successful
8.    Execute Modification    ./Themes/default/style.css    Test successful
9.    Execute Modification    ./Sources/Admin.php    Test successful
10.    Execute Modification    ./Sources/Display.php    Test failed
11.    Execute Modification    ./Sources/Karma.php    Test successful
12.    Execute Modification    ./Sources/Load.php    Test successful
13.    Execute Modification    ./Sources/ManagePermissions.php    Test failed
14.    Execute Modification    ./Sources/ManageServer.php    Test successful
15.    Execute Modification    ./Sources/ModSettings.php    Test successful
16.    Execute Modification    ./Sources/Post.php    Test successful
17.    Execute Modification    ./Sources/Profile.php    Test successful
18.    Execute Modification    ./Sources/RemoveTopic.php    Test successful
19.    Execute Modification    ./Sources/Stats.php    Test successful
20.    Execute Modification    ./Sources/Subs-Members.php    Test successful
21.    Execute Modification    ./Themes/default/languages/Errors.english.php    Test successful
22.    Execute Modification    ./Themes/default/languages/Help.english.php    Test successful
23.    Execute Modification    ./Themes/default/languages/index.english.php    Test successful
24.    Execute Modification    ./Themes/default/languages/ManagePermissions.english.php    Test successful
25.    Execute Modification    ./Themes/default/languages/ModSettings.english.php    Test failed
26.    Execute Modification    ./Themes/default/languages/Reports.english.php    Test successful
27.    Execute Modification    ./Themes/default/languages/Stats.english.php    Test successful
28.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful
29.    Extract File    ./Themes/default/Karma.template.php    
30.    Extract File    ./Themes/default/images/karma.gif    
31.    Extract File    ./Themes/default/images/karmaBad_basic.gif    
32.    Extract File    ./Themes/default/images/karmaGood_basic.gif    
33.    Extract File    ./Themes/default/images/karmaBad_super.gif    
34.    Extract File    ./Themes/default/images/karmaGood_super.gif    
35.    Extract File    ./Themes/default/images/karma_disabled_basic.gif    
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 29, 2009, 11:39:09 PM
Josh555 - It looks like your Modifications.english.php file wasn't updated... attach it to a post.

slowforthecones - You'll need to do those edits by hand after you've installed it. On the download page, look in the upper left corner and select the 1.1.8 install package, and choose 1.1.8 in the dropdown.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Sudhakar Arjunan on March 30, 2009, 08:04:47 AM
Quote from: Fustrate on March 28, 2009, 12:38:59 AM
what version of this mod are you using?

I am using Advanced Reputation System  1.6  on 2.0.1(RC1).
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 30, 2009, 11:31:29 AM
Are you able to uninstall 1.6 and install 1.7.3? I can probably write an upgrade from 1.6 if you still have the package's zip file, and could attach it to a post. There were a lot of changes between 1.6 and 1.7, so I never bothered to write an upgrade package.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: ItsNatalie on March 30, 2009, 02:29:32 PM
Quote from: AlreeGator on March 24, 2009, 12:40:37 AM


one more question:  when you give rep to someone, why do you have to scroll to the top of the screen in order to comment?  the comment popup automatically goes to the top.

This is my issue as well. It works properly in the SMF Default core theme, but not in the Dark Pink Theme by FriedeKind.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 30, 2009, 02:34:04 PM
hard refresh - ctrl-shirt-r or cmd-shift-r
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: ItsNatalie on March 31, 2009, 03:45:12 PM
Quote from: Fustrate on March 30, 2009, 02:34:04 PM
hard refresh - ctrl-shirt-r or cmd-shift-r

Unfortunately that didn't work.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: robbie93 on March 31, 2009, 03:58:10 PM
Hi ItsNatalie you need to edit you're themes style.css  ;D

With this

.repbars img
{
   padding: 0 1px 0 0;
}

#reputation_menu{
   position: absolute;
   border: 1px solid black;
   z-index: 100;
}


right before this

  ?> 

Then the pop up will work in the proper way :D

Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on March 31, 2009, 07:04:21 PM
there's no ?> in a css file, just put that code at the end.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: robbie93 on March 31, 2009, 08:56:44 PM
Quote from: Fustrate on March 17, 2009, 04:54:43 PM
...add the code to your theme's style.css, right before the ?>

I thought you said there was?  oh well...
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: diaperingdiva on April 01, 2009, 07:47:24 AM
Quote from: robbie93 on March 31, 2009, 03:58:10 PM
Hi ItsNatalie you need to edit you're themes style.css  ;D

With this

.repbars img
{
   padding: 0 1px 0 0;
}

#reputation_menu{
   position: absolute;
   border: 1px solid black;
   z-index: 100;
}


right before this

  ?> 

Then the pop up will work in the proper way :D
ItsNatalie and I are from the same board, that worked =)  Thanks so much!
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Josh555 on April 01, 2009, 02:02:05 PM
1000th post in this topic :O

and fustrate, i don't know what went wrong the first time, but i got it working nicely
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Sudhakar Arjunan on April 04, 2009, 06:53:13 PM
Hi Fustrate,

When i click on the stats page on my 2.0 RC 1 ,

Its shows two error on my error log.

Only show the errors of this type Type of error: General
Only show the error messages of this URL http://website.com/index.php?action=stats
Only show the errors with the same message
2: Invalid argument supplied for foreach()
Only show the errors from this file
File: /home/website/public_html/Themes/default/Stats.template.php (main sub template - eval?)
Line: 141
   

Only show the errors of this type Type of error: Undefined
Only show the error messages of this URL http://website.com/index.php?action=stats
Only show the errors with the same message
8: Undefined index: reputation_worst
Only show the errors from this file
File: /home/website/public_html/Themes/default/Stats.template.php (main sub template - eval?)
Line: 141

If there is a previous topic, kindly walk me to it. So i will read and modify the code.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on April 04, 2009, 07:34:55 PM
I take it nobody has negative rep?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Sudhakar Arjunan on April 04, 2009, 08:19:24 PM
Quote from: Fustrate on April 04, 2009, 07:34:55 PM
I take it nobody has negative rep?

Hi Fustrate,  i could not understand it. Is that what i have queried is wrong.

Because i could see the error logs many times with these errors generated from stats page.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on April 04, 2009, 09:55:23 PM
Quote from: A.SK on April 04, 2009, 08:19:24 PM
Quote from: Fustrate on April 04, 2009, 07:34:55 PM
I take it nobody has negative rep?

Hi Fustrate,  i could not understand it. Is that what i have queried is wrong.

Because i could see the error logs many times with these errors generated from stats page.

Nobody has reputation points lower than 0, I mean.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Sudhakar Arjunan on April 05, 2009, 01:09:32 PM
Quote from: Fustrate on April 04, 2009, 09:55:23 PM

Nobody has reputation points lower than 0, I mean.

Ok to avoid this, do i have to add negative reputation to one user to avoid this issue generated.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on April 05, 2009, 01:20:09 PM
nope, try upgrading to this version (just upload it as another package, don't uninstall the previous one)
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Sudhakar Arjunan on April 05, 2009, 01:21:37 PM
Quote from: Fustrate on April 05, 2009, 01:20:09 PM
nope, try upgrading to this version (just upload it as another package, don't uninstall the previous one)

I have tried it Fustrate.

It has some bugs in upgrading, so i have to sit and manually mod this upgrade.

Ok will let you know once upgraded.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on April 05, 2009, 02:15:50 PM
What are the bugs while upgrading? It should only be doing 2 edits, both in Stats.template.php
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Sudhakar Arjunan on April 06, 2009, 02:11:55 AM
Quote from: Fustrate on April 05, 2009, 02:15:50 PM
What are the bugs while upgrading? It should only be doing 2 edits, both in Stats.template.php

Execute Code     install.php     
*    2.    Execute Modification    ./index.php    Test successful
      1.    Add After    ./index.php    Test successful
*    3.    Execute Modification    ./Themes/default/Display.template.php    Test failed
      1.    Replace    ./Themes/default/Display.template.php    Test failed
      2.    Add After    ./Themes/default/Display.template.php    Test successful
*    4.    Execute Modification    ./Themes/default/Profile.template.php    Test successful
      1.    Add Before    ./Themes/default/Profile.template.php    Test successful
*    5.    Execute Modification    ./Themes/default/PersonalMessage.template.php    Test failed
      1.    Replace    ./Themes/default/PersonalMessage.template.php    Test failed
*    6.    Execute Modification    ./Themes/default/Stats.template.php    Test successful
      1.    Add Before    ./Themes/default/Stats.template.php    Test successful
*    7.    Execute Modification    ./Themes/default/Xml.template.php    Test successful
      1.    Add Before    ./Themes/default/Xml.template.php    Test successful
*    8.    Execute Modification    ./Themes/default/scripts/script.js    Test successful
      1.    Add Before    ./Themes/default/scripts/script.js    Test successful
*    9.    Execute Modification    ./Themes/default/style.css    Test successful
      1.    Add Before    ./Themes/default/style.css    Test successful
*    10.    Execute Modification    ./Sources/Display.php    Test failed
      1.    Add After    ./Sources/Display.php    Test successful
      2.    Replace    ./Sources/Display.php    Test failed
      3.    Add After    ./Sources/Display.php    Test successful
*    11.    Execute Modification    ./Sources/Karma.php    Test failed
      1.    Add Before    ./Sources/Karma.php    Test successful
      2.    Replace    ./Sources/Karma.php    Test failed
      3.    Replace    ./Sources/Karma.php    Test failed
*    12.    Execute Modification    ./Sources/Load.php    Test failed
      1.    Add After    ./Sources/Load.php    Test successful
      2.    Replace    ./Sources/Load.php    Test successful
      3.    Replace    ./Sources/Load.php    Test failed
      4.    Add After    ./Sources/Load.php    Test successful
      5.    Add Before    ./Sources/Load.php    Test successful
*    13.    Execute Modification    ./Sources/ManageMaintenance.php    Test successful
      1.    Replace    ./Sources/ManageMaintenance.php    Test successful
*    14.    Execute Modification    ./Sources/ManagePermissions.php    Test successful
      1.    Add After    ./Sources/ManagePermissions.php    Test successful
      2.    Add After    ./Sources/ManagePermissions.php    Test successful
      3.    Add After    ./Sources/ManagePermissions.php    Test successful
*    15.    Execute Modification    ./Sources/ManageServer.php    Test successful
      1.    Add Before    ./Sources/ManageServer.php    Test successful
*    16.    Execute Modification    ./Sources/ManageSettings.php    Test failed
      1.    Replace    ./Sources/ManageSettings.php    Test failed
      2.    Add After    ./Sources/ManageSettings.php    Test successful
      3.    Replace    ./Sources/ManageSettings.php    Test failed
*    17.    Execute Modification    ./Sources/Post.php    Test failed
      1.    Replace    ./Sources/Post.php    Test failed
      2.    Replace    ./Sources/Post.php    Test failed
*    18.    Execute Modification    ./Sources/Profile.php    Test successful
      1.    Add After    ./Sources/Profile.php    Test successful
*    19.    Execute Modification    ./Sources/Profile-Modify.php    Test failed
      1.    Add After    ./Sources/Profile-Modify.php    Test successful
      2.    Replace    ./Sources/Profile-Modify.php    Test failed
*    20.    Execute Modification    ./Sources/Profile-View.php    Test successful
      1.    Add Before    ./Sources/Profile-View.php    Test successful
*    21.    Execute Modification    ./Sources/RemoveTopic.php    Test failed
      1.    Replace    ./Sources/RemoveTopic.php    Test failed
      2.    Replace    ./Sources/RemoveTopic.php    Test failed
*    22.    Execute Modification    ./Sources/ScheduledTasks.php    Test successful
      1.    Add Before    ./Sources/ScheduledTasks.php    Test successful
*    23.    Execute Modification    ./Sources/Stats.php    Test failed
      1.    Replace    ./Sources/Stats.php    Test failed
      2.    Add Before    ./Sources/Stats.php    Test successful
*    24.    Execute Modification    ./Sources/Subs-Members.php    Test successful
      1.    Add After    ./Sources/Subs-Members.php    Test successful
*    25.    Execute Modification    ./Sources/Xml.php    Test successful
      1.    Add After    ./Sources/Xml.php    Test successful
      2.    Add Before    ./Sources/Xml.php    Test successful
*    26.    Execute Modification    ./Themes/default/languages/Admin.english.php    Test failed
      1.    Replace    ./Themes/default/languages/Admin.english.php    Test failed
*    27.    Execute Modification    ./Themes/default/languages/Errors.english.php    Test failed
      1.    Replace    ./Themes/default/languages/Errors.english.php    Test failed
      2.    Add Before    ./Themes/default/languages/Errors.english.php    Test successful
*    28.    Execute Modification    ./Themes/default/languages/Help.english.php    Test failed
      1.    Replace    ./Themes/default/languages/Help.english.php    Test failed
*    29.    Execute Modification    ./Themes/default/languages/index.english.php    Test successful
      1.    Add Before    ./Themes/default/languages/index.english.php    Test successful
*    30.    Execute Modification    ./Themes/default/languages/Install.english.php    Test failed
      1.    Replace    ./Themes/default/languages/Install.english.php    Test failed
*    31.    Execute Modification    ./Themes/default/languages/ManageScheduledTasks.english.php    Test successful
      1.    Add After    ./Themes/default/languages/ManageScheduledTasks.english.php    Test successful
*    32.    Execute Modification    ./Themes/default/languages/ManagePermissions.english.php    Test failed
      1.    Replace    ./Themes/default/languages/ManagePermissions.english.php    Test failed
      2.    Add Before    ./Themes/default/languages/ManagePermissions.english.php    Test successful
*    33.    Execute Modification    ./Themes/default/languages/ManageSettings.english.php    Test failed
      1.    Replace    ./Themes/default/languages/ManageSettings.english.php    Test failed
      2.    Replace    ./Themes/default/languages/ManageSettings.english.php    Test failed
      3.    Add Before    ./Themes/default/languages/ManageSettings.english.php    Test successful
*    34.    Execute Modification    ./Themes/default/languages/Profile.english.php    Test successful
      1.    Add Before    ./Themes/default/languages/Profile.english.php    Test successful
*    35.    Execute Modification    ./Themes/default/languages/Reports.english.php    Test failed
      1.    Replace    ./Themes/default/languages/Reports.english.php    Test failed
*    36.    Execute Modification    ./Themes/default/languages/Stats.english.php    Test failed
      1.    Replace    ./Themes/default/languages/Stats.english.php    Test failed
*    37.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful
      1.    Add Before    ./Themes/default/languages/Modifications.english.php    Test successful
*    38.    Execute Modification    ./Themes/default/Display.template.php    Test successful
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on April 06, 2009, 02:55:51 AM
Quote from: A.SK on April 06, 2009, 02:11:55 AM
Quote from: Fustrate on April 05, 2009, 02:15:50 PM
What are the bugs while upgrading? It should only be doing 2 edits, both in Stats.template.php

Execute Code     install.php     
*    2.    Execute Modification    ./index.php    Test successful
      1.    Add After    ./index.php    Test successful
*    3.    Execute Modification    ./Themes/default/Display.template.php    Test failed
      1.    Replace    ./Themes/default/Display.template.php    Test failed
      2.    Add After    ./Themes/default/Display.template.php    Test successful
*    4.    Execute Modification    ./Themes/default/Profile.template.php    Test successful
      1.    Add Before    ./Themes/default/Profile.template.php    Test successful
*    5.    Execute Modification    ./Themes/default/PersonalMessage.template.php    Test failed
      1.    Replace    ./Themes/default/PersonalMessage.template.php    Test failed
*    6.    Execute Modification    ./Themes/default/Stats.template.php    Test successful
      1.    Add Before    ./Themes/default/Stats.template.php    Test successful
*    7.    Execute Modification    ./Themes/default/Xml.template.php    Test successful
      1.    Add Before    ./Themes/default/Xml.template.php    Test successful
*    8.    Execute Modification    ./Themes/default/scripts/script.js    Test successful
      1.    Add Before    ./Themes/default/scripts/script.js    Test successful
*    9.    Execute Modification    ./Themes/default/style.css    Test successful
      1.    Add Before    ./Themes/default/style.css    Test successful
*    10.    Execute Modification    ./Sources/Display.php    Test failed
      1.    Add After    ./Sources/Display.php    Test successful
      2.    Replace    ./Sources/Display.php    Test failed
      3.    Add After    ./Sources/Display.php    Test successful
*    11.    Execute Modification    ./Sources/Karma.php    Test failed
      1.    Add Before    ./Sources/Karma.php    Test successful
      2.    Replace    ./Sources/Karma.php    Test failed
      3.    Replace    ./Sources/Karma.php    Test failed
*    12.    Execute Modification    ./Sources/Load.php    Test failed
      1.    Add After    ./Sources/Load.php    Test successful
      2.    Replace    ./Sources/Load.php    Test successful
      3.    Replace    ./Sources/Load.php    Test failed
      4.    Add After    ./Sources/Load.php    Test successful
      5.    Add Before    ./Sources/Load.php    Test successful
*    13.    Execute Modification    ./Sources/ManageMaintenance.php    Test successful
      1.    Replace    ./Sources/ManageMaintenance.php    Test successful
*    14.    Execute Modification    ./Sources/ManagePermissions.php    Test successful
      1.    Add After    ./Sources/ManagePermissions.php    Test successful
      2.    Add After    ./Sources/ManagePermissions.php    Test successful
      3.    Add After    ./Sources/ManagePermissions.php    Test successful
*    15.    Execute Modification    ./Sources/ManageServer.php    Test successful
      1.    Add Before    ./Sources/ManageServer.php    Test successful
*    16.    Execute Modification    ./Sources/ManageSettings.php    Test failed
      1.    Replace    ./Sources/ManageSettings.php    Test failed
      2.    Add After    ./Sources/ManageSettings.php    Test successful
      3.    Replace    ./Sources/ManageSettings.php    Test failed
*    17.    Execute Modification    ./Sources/Post.php    Test failed
      1.    Replace    ./Sources/Post.php    Test failed
      2.    Replace    ./Sources/Post.php    Test failed
*    18.    Execute Modification    ./Sources/Profile.php    Test successful
      1.    Add After    ./Sources/Profile.php    Test successful
*    19.    Execute Modification    ./Sources/Profile-Modify.php    Test failed
      1.    Add After    ./Sources/Profile-Modify.php    Test successful
      2.    Replace    ./Sources/Profile-Modify.php    Test failed
*    20.    Execute Modification    ./Sources/Profile-View.php    Test successful
      1.    Add Before    ./Sources/Profile-View.php    Test successful
*    21.    Execute Modification    ./Sources/RemoveTopic.php    Test failed
      1.    Replace    ./Sources/RemoveTopic.php    Test failed
      2.    Replace    ./Sources/RemoveTopic.php    Test failed
*    22.    Execute Modification    ./Sources/ScheduledTasks.php    Test successful
      1.    Add Before    ./Sources/ScheduledTasks.php    Test successful
*    23.    Execute Modification    ./Sources/Stats.php    Test failed
      1.    Replace    ./Sources/Stats.php    Test failed
      2.    Add Before    ./Sources/Stats.php    Test successful
*    24.    Execute Modification    ./Sources/Subs-Members.php    Test successful
      1.    Add After    ./Sources/Subs-Members.php    Test successful
*    25.    Execute Modification    ./Sources/Xml.php    Test successful
      1.    Add After    ./Sources/Xml.php    Test successful
      2.    Add Before    ./Sources/Xml.php    Test successful
*    26.    Execute Modification    ./Themes/default/languages/Admin.english.php    Test failed
      1.    Replace    ./Themes/default/languages/Admin.english.php    Test failed
*    27.    Execute Modification    ./Themes/default/languages/Errors.english.php    Test failed
      1.    Replace    ./Themes/default/languages/Errors.english.php    Test failed
      2.    Add Before    ./Themes/default/languages/Errors.english.php    Test successful
*    28.    Execute Modification    ./Themes/default/languages/Help.english.php    Test failed
      1.    Replace    ./Themes/default/languages/Help.english.php    Test failed
*    29.    Execute Modification    ./Themes/default/languages/index.english.php    Test successful
      1.    Add Before    ./Themes/default/languages/index.english.php    Test successful
*    30.    Execute Modification    ./Themes/default/languages/Install.english.php    Test failed
      1.    Replace    ./Themes/default/languages/Install.english.php    Test failed
*    31.    Execute Modification    ./Themes/default/languages/ManageScheduledTasks.english.php    Test successful
      1.    Add After    ./Themes/default/languages/ManageScheduledTasks.english.php    Test successful
*    32.    Execute Modification    ./Themes/default/languages/ManagePermissions.english.php    Test failed
      1.    Replace    ./Themes/default/languages/ManagePermissions.english.php    Test failed
      2.    Add Before    ./Themes/default/languages/ManagePermissions.english.php    Test successful
*    33.    Execute Modification    ./Themes/default/languages/ManageSettings.english.php    Test failed
      1.    Replace    ./Themes/default/languages/ManageSettings.english.php    Test failed
      2.    Replace    ./Themes/default/languages/ManageSettings.english.php    Test failed
      3.    Add Before    ./Themes/default/languages/ManageSettings.english.php    Test successful
*    34.    Execute Modification    ./Themes/default/languages/Profile.english.php    Test successful
      1.    Add Before    ./Themes/default/languages/Profile.english.php    Test successful
*    35.    Execute Modification    ./Themes/default/languages/Reports.english.php    Test failed
      1.    Replace    ./Themes/default/languages/Reports.english.php    Test failed
*    36.    Execute Modification    ./Themes/default/languages/Stats.english.php    Test failed
      1.    Replace    ./Themes/default/languages/Stats.english.php    Test failed
*    37.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful
      1.    Add Before    ./Themes/default/languages/Modifications.english.php    Test successful
*    38.    Execute Modification    ./Themes/default/Display.template.php    Test successful
What version of the mod were you on before?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Sudhakar Arjunan on April 06, 2009, 09:24:02 AM
Quote from: Fustrate on April 05, 2009, 01:20:09 PM
nope, try upgrading to this version (just upload it as another package, don't uninstall the previous one)

The previous post when i tried uninstalling the old mod.

Just now uninstalled after manual edit.

Installed the new version and got the issue again on stats page.

Then upgraded the package and worked great.

Thanks and do i have to have two mod to uninstall advanced reputation system.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Sudhakar Arjunan on April 06, 2009, 12:29:36 PM
Quote from: Fustrate on April 05, 2009, 01:20:09 PM
nope, try upgrading to this version (just upload it as another package, don't uninstall the previous one)

Have updated .

No errors because under the Best Reputation  & Worst Reputation there is no fields displayed on stats page.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on April 06, 2009, 02:12:22 PM
So is everything working as it should?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Sudhakar Arjunan on April 09, 2009, 09:30:23 AM
Quote from: Fustrate on April 06, 2009, 02:12:22 PM
So is everything working as it should?

Hi Fustrate.

Nothing under the reputation bar on stats page.

http://discuss.itacumens.com/index.php?action=stats
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Sudhakar Arjunan on April 10, 2009, 11:09:19 AM
Quote from: Fustrate on April 06, 2009, 02:12:22 PM
So is everything working as it should?

Hi Fustrate,

Have you looked at my forum.

Kindly check and let me know the status.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: gibby on April 10, 2009, 11:06:07 PM
Sorry to ask simply question

to upgrade from 1.7.2 to 1.7.3 do I just uninstall and reinstall

Thanks

Gibby
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on April 10, 2009, 11:24:30 PM
*facepalm*

A.SK: either use the new version on the mod site (1.7.4) or change $content in Stats.template.php to $context

gibby: to upgrade (1.7.2 to 1.7.4 now), just upload the new package. It'll say "Upgrade" instead of "Install", and just do the edits needed.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: gibby on April 10, 2009, 11:37:29 PM
Thanks  ;D
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Plus on April 11, 2009, 05:20:55 AM
i get this error message :(

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'den Windows 7'ye Geçmek')' at line 4
Dosya: /home/tshkk/public_html/Sources/Karma.php
Satır: 368

help :(
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on April 11, 2009, 05:39:49 AM
Quote from: Plus on April 11, 2009, 05:20:55 AM
i get this error message :(

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'den Windows 7'ye Geçmek')' at line 4
Dosya: /home/tshkk/public_html/Sources/Karma.php
Satır: 368

help :(
1.1.x or 2.0?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Plus on April 11, 2009, 11:44:31 AM
smf 1.1.8
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Sudhakar Arjunan on April 11, 2009, 07:18:22 PM
Quote from: Fustrate on April 10, 2009, 11:24:30 PM

A.SK: either use the new version on the mod site (1.7.4) or change $content in Stats.template.php to $context


That worked Great.

Thanks a lot Fustrate.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on April 11, 2009, 09:33:07 PM
Plus - I've uploaded a new version to the mod site, which should fix that. Just upload it like any other mod, and it'll show [Upgrade] instead of [Install].
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: kimnotyze on April 12, 2009, 02:23:35 AM
hi. Please help me. How i can install ihis mod in other themes like Theme kelo-lt by panic. It's really don't work.   :-[ :-[ :-[ :-[
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on April 12, 2009, 02:34:51 AM
In the dropdown under where you downloaded this mod, make sure the reputation_1-1-x_0-1-2.zip one is selected, select your SMF version (1.1.8 I'd assume) below that, and press "Parse"

Follow the instructions there for every file in your theme's folder in /Themes/.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: kimnotyze on April 12, 2009, 01:11:48 PM
oki`.. thank you very much  ;)
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Cronyth on April 13, 2009, 06:52:55 AM
The only problem I really have with the mod is, there is no feature to change the "Reputation Power:" wording, without editing of course.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: TW1ST3D on April 16, 2009, 11:36:01 PM
Strange indeed !!

The Reputation mod has been working great until today. The Reputation "Meter" under the members name has disappeared ! the Label is still there but it shows no beans!?!

Any ideas?

PS:  running 1.1.8
4 different themes ( all worked until today now all have same symptoms)
No recent mods installed , just a tweak to the script running the IPN for the treasury mod.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Shades. on April 18, 2009, 11:05:59 AM
Can someone help me with this please? I am using smf 1.1.8 and using BostunCeltics theme. When I try and read a topic I am getting the following error.

QuoteParse error: syntax error, unexpected T_STRING in .../Themes/BostonCeltics/Display.template.php on line 340

331:                         <span class="repbars">
332:                            ';
333:
334:             foreach($message['member']['karma']['bars'] as $karma_bar)
335:                echo '<img src="', $settings['images_url'], '/karma', $karma_bar['type'], '.gif" title="', $message['member']['name'], ' ', $karma_bar['desc'], '" alt="', $message['member']['name'], ' ', $karma_bar['desc'], '" />';
336:
337:             echo '
338:                         </span>
339:                         <br />';
340:          }', $context['start'], ';m=', $message['id'], ';sesc=', $context['session_id'], '">', $modSettings['karmaSmiteLabel'], '</a><br />';341:
342:          // Show online and offline buttons?
343:          if (!empty($modSettings['onlineEnable']) && !$message['member']['is_guest'])
344:             echo '
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on April 18, 2009, 01:37:16 PM
BoZilla - take this out of your file, so it's just a closing bracket } with nothing after it
', $context['start'], ';m=', $message['id'], ';sesc=', $context['session_id'], '">', $modSettings['karmaSmiteLabel'], '</a><br />';

TW1ST3D - are there any errors in the error log pertaining to reputation or karma?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Shades. on April 18, 2009, 04:07:17 PM
Quote from: Fustrate on April 18, 2009, 01:37:16 PM
BoZilla - take this out of your file, so it's just a closing bracket } with nothing after it
', $context['start'], ';m=', $message['id'], ';sesc=', $context['session_id'], '">', $modSettings['karmaSmiteLabel'], '</a><br />';

TW1ST3D - are there any errors in the error log pertaining to reputation or karma?
Ok, I got rid of the error messages but when I go and add a reputation and then try to view them, it still "0".
What did I do wrong?

Thanks
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on April 18, 2009, 04:21:46 PM
What is 0?

If none of your members have more than the "points per power" number of points (default is 100), they'll only give neutral reputation. Try giving yourself and a few other people 10000 points to begin with, in their account settings page.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Shades. on April 18, 2009, 04:35:08 PM
Where is "their account settings page"?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Shades. on April 18, 2009, 04:46:00 PM
Just gave myself a "positive reputation" with a test user and it show my rep is -6". Shouldn't it be 6 or +6? Not sure if I understand how this is supposed to work...lol! :o
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: TW1ST3D on April 19, 2009, 12:23:00 AM
yes.........


8: Undefined index: power
File: /home/galxc3/public_html/forum/Themes/default/Display.template.php (eval?)
Line: 379

and

2: Invalid argument supplied for foreach()
File: /home/galxc3/public_html/forum/Themes/babylon/Display.template.php (eval?)
Line: 383
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: SolidSnake2003 on April 19, 2009, 05:47:26 AM
Ive tried to install the theme for 1.18, but it came with the ModSettings.english file in the default theme, and I didn't modify it at all.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on April 19, 2009, 06:13:02 AM
TW1ST3D - http://www.simplemachines.org/community/index.php?topic=290186.0 and tell me what the real error is.

SolidSnake2003 - that file fails for no reason... it actually does get editing, rest assured.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: SolidSnake2003 on April 19, 2009, 06:19:34 AM
Quote from: Fustrate on April 19, 2009, 06:13:02 AM
TW1ST3D - http://www.simplemachines.org/community/index.php?topic=290186.0 and tell me what the real error is.

SolidSnake2003 - that file fails for no reason... it actually does get editing, rest assured.

Thanks for helping me Fustrate :)
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: probinson77 on April 20, 2009, 02:48:10 PM
Is there an option to disable negative reputation (the "I disagree" option), short of editing the code?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on April 20, 2009, 02:52:43 PM
Go to the member permissions area of your admin panel and remove everyone's permission to send negative reputation :)
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: probinson77 on April 20, 2009, 05:19:23 PM
Quote from: Fustrate on April 20, 2009, 02:52:43 PM
Go to the member permissions area of your admin panel and remove everyone's permission to send negative reputation :)

Thanks.

I've done that, but the "I disagree" option still shows up when you go to give reps.  I can remove it from my Display.template.php, but I wondered if there was a way to remove it without altering the source code.

:)
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on April 20, 2009, 05:21:18 PM
Is it just showing for you, as an administrator? Administrators get every privelege regardless of whether or not it's set, so you'll always see it, just not anyone else.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: probinson77 on April 20, 2009, 05:29:34 PM
Quote from: Fustrate on April 20, 2009, 05:21:18 PM
Is it just showing for you, as an administrator? Administrators get every privelege regardless of whether or not it's set, so you'll always see it, just not anyone else.

I just tried with my test account, which is set up as a general user, and it still shows up.  What's worse, is "I disagree" is the default option!  That could get ugly...  ;)

I have "Can- reputation" cleared from all user groups.

Any other suggestions?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on April 20, 2009, 05:33:11 PM
1.1.8 or 2.0?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: probinson77 on April 20, 2009, 05:35:57 PM
2.0 RC1.  I just upgraded the forum over the weekend, which went surprisingly well.

I saw your great reputation mod a while ago, and at the time there was no 1.1.x version, so I bookmarked it so when I did the upgrade I could install it.  It works great, except for I want to prevent people from "disagreeing" via reps.

:)
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: ZOR0 on April 20, 2009, 07:59:49 PM
Love the mod, works great, but I installed this new mod that moves all the user info to the top of the post:

http://custom.simplemachines.org/mods/index.php?mod=1783

Came out recently.

Anyway, The bars apparently aren't showing up anymore, but the numbers stay. Probably a php problem, but I'm not php literate. Think anyone can help with problem? Thanks in advanced.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on April 20, 2009, 08:13:55 PM
I knew this would come up the moment I approved that mod... I can't look at it exactly right now, so you might want to ask in the other thread how to do that. The instructions for the display template can be found in this file: http://www.fustrate.com/dev/sources/Advanced%20Reputation%20System/Reputation_2-0/install_display_template.xml
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: ZOR0 on April 20, 2009, 09:08:07 PM
Nice, Followed it exactly and it worked out nicely.  :D

Thank you Frustrate.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Running With Scissors on April 20, 2009, 10:03:15 PM
I have smf 2.0 and this version of the mod 1.7.4

For some reason members that have over 1000 rep points don't have more than one rep power bar pic.
And there is nobody in the worst rep part of the site stats
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on April 20, 2009, 10:09:41 PM
I'm guessing you left the default settings of 1000 points per bar. It rounds down, so they'd need 2000 points to get a second bar (and when it rounds down to 0, they still get 1 so something shows).

Worst Reputation only shows people who are in the negatives.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Running With Scissors on April 20, 2009, 10:32:35 PM
Oh ok that all make sense. Thanks
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: daveaite on April 21, 2009, 03:30:46 AM
Is there a way of having reputation comments viewable by all members from profile like the admin?

How would you go about doing this
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on April 21, 2009, 04:00:04 AM
have you tried action=reputation ?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: daveaite on April 21, 2009, 11:59:36 PM
Quote from: Fustrate on April 21, 2009, 04:00:04 AM
have you tried action=reputation ?

Whats the easiest way to add this permission?

I'm sorry, I've never added custom permissions before. What should I be looking for?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on April 22, 2009, 12:28:22 AM
They shouldn't need any permissions to see it.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: daveaite on April 22, 2009, 02:01:39 AM
They can see their own reputations, but not everyone elses...
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on April 22, 2009, 03:19:26 AM
To see it in someone else's profile, open /Sources/Profile.php and find this line:
'reputation' => array(
and then change the

'any' => array('moderate_forum'),

to

'any' => array('profile_view_any'),
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Privacy Blocked on April 22, 2009, 08:23:31 AM

(http://i39.tinypic.com/e031ae.jpg)

it posible if i want add image like this? how the insert code ? please help me  O:)

Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on April 22, 2009, 10:59:36 AM
in /Themes/default/languages/index.(your language).php, find those text strings and just add some <img src="..." /> html before it. If you're using SMF 2.0, you also need to go to Admin > Maintenance > Routine and Clear the file cache.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: daveaite on April 22, 2009, 03:12:50 PM
Awesome feedback A+++


I recommend this mod for every forum.


for demo: http://buypoe.com, (it's known as a vouch system on buypoe)
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Privacy Blocked on April 22, 2009, 06:32:32 PM
Quote from: Fustrate on April 22, 2009, 10:59:36 AM
in /Themes/default/languages/index.(your language).php, find those text strings and just add some <img src="..." /> html before it. If you're using SMF 2.0, you also need to go to Admin > Maintenance > Routine and Clear the file cache.

can u spesific please  ???  i'm so confused because i'm a newbie. i'm using smf 1.1.8
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on April 22, 2009, 06:54:36 PM
Since you're on 1.1.x, you don't need to do the second part. Just edit that file and find the text you want to put the image before and add it there.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Privacy Blocked on April 23, 2009, 01:26:41 AM
Quote from: Fustrate on April 22, 2009, 06:54:36 PM
Since you're on 1.1.x, you don't need to do the second part. Just edit that file and find the text you want to put the image before and add it there.

can u example pliss ? i'm very nubies for this.

example i edited the /Themes/default/languages/index.english.php and i adding what the code ? and after or before the code???
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on April 23, 2009, 01:40:20 AM
find "I disagree" and add an <img> tag (http://www.w3schools.com/tags/tag_IMG.asp) before it. Same thing with "I agree".

If you're using another language (like spanish_latin) you have to edit it in index.spanish_latin.php
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: The_Wii_Nes_Boy on April 23, 2009, 07:20:27 PM
Add Reputation heart not showing in my forum I'm using SMF 1.1.8 with Blue Ace theme installed. Worked before but I had to install my forums from scratch.....

Any help would be appreciated.

Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Privacy Blocked on April 24, 2009, 12:33:44 AM
Quote from: Fustrate on April 23, 2009, 01:40:20 AM
find "I disagree" and add an <img> tag (http://www.w3schools.com/tags/tag_IMG.asp) before it. Same thing with "I agree".

If you're using another language (like spanish_latin) you have to edit it in index.spanish_latin.php

this images reputation in my forum

(http://i44.tinypic.com/xf1w3.jpg)

and i want like this

(http://i39.tinypic.com/e031ae.jpg)


in index.english.php i don't find the "I disagree" and "I agree"...and i attachment my index.english.php and Modifications.english.php..help me please
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on April 24, 2009, 12:50:10 AM
You have to find it in YOUR language file... search for "Cendol" in your case. index.english.php is for English.

Quote from: The_Wii_Nes_Boy on April 23, 2009, 07:20:27 PM
Add Reputation heart not showing in my forum I'm using SMF 1.1.8 with Blue Ace theme installed. Worked before but I had to install my forums from scratch.....

Any help would be appreciated.



You'll need to do the theme edits again - you can use the parser on the top right side of the mod download page, select your SMF version, and press Parse. Search for "Display.template.php" and do the edits for that file.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: The_Wii_Nes_Boy on April 24, 2009, 01:06:33 AM
Checked my Display.template.php but there doesn't appear to be any error in the file every thing is ok
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on April 24, 2009, 01:08:49 AM
did you upload the little heart icon to your theme's directory?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: The_Wii_Nes_Boy on April 24, 2009, 01:14:31 AM
It's there, if it wasn't I'd get image error box and I'm getting nothing. Everything else is ok it's just the heart icon thats not appearing.

Attached Display.template.php
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on April 24, 2009, 01:19:05 AM
have you given everyone the right permissions?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: The_Wii_Nes_Boy on April 24, 2009, 01:28:05 AM
I've the site's admin and even I can't see it and permissions are set correctly, logged in with a test account and still nothing.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on April 24, 2009, 01:32:32 AM
Hmm... have you enabled Reputation in the admin center?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: The_Wii_Nes_Boy on April 24, 2009, 01:42:02 AM
Reputation is enabled...... whats my next option, uninstall and reinstall?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on April 24, 2009, 02:09:21 AM
I can't think of anything else, so ya, I'd say that's the only thing left to do. Make sure you follow the install instructions exactly afterwards.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Privacy Blocked on April 24, 2009, 02:16:20 AM
Quote from: Fustrate on April 24, 2009, 12:50:10 AM
You have to find it in YOUR language file... search for "Cendol" in your case. index.english.php is for English.

please look file in this my attachment..Cendol i edit in Modifications.english.php not in index.english.php

thanks

Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on April 24, 2009, 02:41:07 AM
Nevermind on the language files, open /Themes/(your theme name)/Display.template.php and find this:
<input type="radio" name="type" value="agree"
and add the <img> right before <input
do the same with the next line too.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: The_Wii_Nes_Boy on April 24, 2009, 12:46:52 PM
OK, after much messing around I hade to clean the forums completly off the server and reinstall (obviously levign my old settings.php files).

So far I have added these mods:
1. Ad Managment 2.3 
2. Treasury 2.34
3. Downloads System 1.1.5.1
4. SimplePortal 2.2
5. SMF Media Gallery

But when I try and install the Rep system I get this error:

Duplicate column name 'karma_disabled'
File: /home/twnbwor1/public_html/Packages/temp/install.php
Line: 72

also Modsettings.php fails

Help! I need my rep system back in place
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: D0CT0R on April 24, 2009, 02:31:55 PM
I just upgraded to 2.0 RC1.  I'm trying to install v1.7.4 of this mod.  It gives me a "test failed" in my "Stats.php."

It gives me an 'add before':
Quote//  Format the numbers nicely.
but my stats.php doesn't have that phrase/line in there.


It also tells me to replace:
Quotefunction DisplayStats() { global $txt, $scripturl, $modSettings, $user_info, $context, $smcFunc; 
with
Quotefunction DisplayStats() { global $txt, $scripturl, $modSettings, $user_info, $context, $smcFunc, $settings; 
I can do this, but it doesn't seem to solve anything.


Any suggestions?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Privacy Blocked on April 29, 2009, 08:30:57 PM
why i can disagree smite
QuoteAn Error Has Occurred!
Please spread the love before giving it to this user again.
in other themes ? in permisiion i already Can -reputation other users

and how to user can't see the  people give the agree and disagree repurtation in other member?


thanks
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: The_Wii_Nes_Boy on April 30, 2009, 03:13:25 AM
Ok I still need help with this becaus ethe rep heart is still not showing and I can't even see it in the generated webpages source code! Any clues as to whats wrong wit it?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Privacy Blocked on April 30, 2009, 08:14:09 AM
Quote from: The_Wii_Nes_Boy on April 30, 2009, 03:13:25 AM
Ok I still need help with this becaus ethe rep heart is still not showing and I can't even see it in the generated webpages source code! Any clues as to whats wrong wit it?

upload images karma.gif to your themes/images
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on April 30, 2009, 11:47:14 AM
Quote from: The_Wii_Nes_Boy on April 30, 2009, 03:13:25 AM
Ok I still need help with this becaus ethe rep heart is still not showing and I can't even see it in the generated webpages source code! Any clues as to whats wrong wit it?
If it's not in the source, you need to do the edits to your theme's Display.template.php. Go here (http://www.fustrate.com/dev/sources/Advanced%20Reputation%20System), choose your version, and click on install_display_template.xml and it'll give you a nicely formatted instructions screen.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: The_Wii_Nes_Boy on April 30, 2009, 06:48:02 PM
All the relevent code is there, I've attached my Display.template for you to look at, it's the same thing as my last posts!!!!

@Fustrate: Like the avatar
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on May 01, 2009, 03:40:25 AM
Have you enabled reputation in the Admin area?

Heh, just finished Link's Awakening for the umpteenth time, so I decided to make a rotating avatar from it :)
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: D0CT0R on May 01, 2009, 08:57:26 AM
As requested, here's my original stats.php file:

Quote<?php
/******************************************************************************
* Stats.php                                                                   *
*******************************************************************************
* SMF: Simple Machines Forum                                                  *
* Open-Source Project Inspired by Zef Hemel ([email protected])                *
* =========================================================================== *
* Software Version:           SMF 1.0 Beta 5 Public                           *
* Software by:                Simple Machines (http://www.simplemachines.org) *
* Copyright 2001-2004 by:     Lewis Media (http://www.lewismedia.com)         *
* Support, News, Updates at:  http://www.simplemachines.org                   *
*******************************************************************************
* This program is free software; you may redistribute it and/or modify it     *
* under the terms of the provided license as published by Lewis Media.        *
*                                                                             *
* This program is distributed in the hope that it is and will be useful,      *
* but WITHOUT ANY WARRANTIES; without even any implied warranty of            *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.                        *
*                                                                             *
* See the "license.txt" file for details of the Simple Machines license.      *
* The latest version can always be found at http://www.simplemachines.org.    *
******************************************************************************/
if (!defined('SMF'))
   die('Hacking attempt...');

/*   This function has only one job: providing a display for forum statistics.
   As such, it has only one function:

   void DisplayStats()
      - gets all the statistics in order and puts them in.
      - uses the Stats template and language file. (and main sub template.)
      - requires the view_stats permission.
      - accessed from ?action=stats.
*/

// Display some useful/interesting board statistics.
function DisplayStats()
{
   global $txt, $months, $scripturl, $db_prefix, $modSettings, $user_info, $context;

   loadTemplate('Stats');
   loadLanguage('Stats');

   isAllowedTo('view_stats');

   // Build the link tree......
   $context['linktree'][] = array(
      'url' => $scripturl . '?action=stats',
      'name' => $txt['smf_stats_1']
   );
   $context['page_title'] = $context['forum_name'] . ' - ' . $txt['smf_stats_1'];

   // Get averages...
   $result = db_query("
      SELECT
         SUM(posts) AS posts, SUM(topics) AS topics, SUM(registers) AS registers,
         SUM(mostOn) AS mostOn, MIN(date) AS date
      FROM {$db_prefix}log_activity", __FILE__, __LINE__);
   $row = mysql_fetch_assoc($result);
   mysql_free_result($result);

   // This would be the amount of time the forum has been up... in days...
   $total_days_up = ceil((time() - strtotime($row['date'])) / (60 * 60 * 24));

   $context['average_posts'] = round($row['posts'] / $total_days_up, 2);
   $context['average_topics'] = round($row['topics'] / $total_days_up, 2);
   $context['average_members'] = round($row['registers'] / $total_days_up, 2);
   $context['average_online'] = round($row['mostOn'] / $total_days_up, 2);

   // How many users are online now.
   $result = db_query("
      SELECT COUNT(session)
      FROM {$db_prefix}log_online", __FILE__, __LINE__);
   list ($context['users_online']) = mysql_fetch_row($result);
   mysql_free_result($result);

   // Statistics such as number of boards, categories, etc.
   $result = db_query("
      SELECT COUNT(b.ID_BOARD) AS totalb
      FROM {$db_prefix}boards AS b", __FILE__, __LINE__);
   list ($context['num_boards']) = mysql_fetch_row($result);
   mysql_free_result($result);

   $result = db_query("
      SELECT COUNT(c.ID_CAT) AS totalc
      FROM {$db_prefix}categories AS c", __FILE__, __LINE__);
   list ($context['num_categories']) = mysql_fetch_row($result);
   mysql_free_result($result);

   $context['num_members'] = &$modSettings['memberCount'];
   $context['num_posts'] = &$modSettings['totalMessages'];
   $context['num_topics'] = &$modSettings['totalTopics'];
   $context['most_members_online'] = array(
      'number' => &$modSettings['mostOnline'],
      'date' => timeformat($modSettings['mostDate'])
   );
   $context['latest_member'] = array(
      'name' => $modSettings['latestRealName'],
      'id' => $modSettings['latestMember'],
      'href' => $scripturl . '?action=profile;u=' . $modSettings['latestMember'],
      'link' => '<a href="' . $scripturl . '?action=profile;u=' . $modSettings['latestMember'] . '"><b>' . $modSettings['latestRealName'] . '</b></a>'
   );

   // Poster top 10.
   $members_result = db_query("
      SELECT ID_MEMBER, realName, posts
      FROM {$db_prefix}members
      ORDER BY posts DESC
      LIMIT 10", __FILE__, __LINE__);
   $context['top_posters'] = array();
   $max_num_posts = 1;
   while ($row_members = mysql_fetch_assoc($members_result))
   {
      $context['top_posters'][] = array(
         'name' => $row_members['realName'],
         'id' => $row_members['ID_MEMBER'],
         'num_posts' => $row_members['posts'],
         'href' => $scripturl . '?action=profile;u=' . $row_members['ID_MEMBER'],
         'link' => '<a href="' . $scripturl . '?action=profile;u=' . $row_members['ID_MEMBER'] . '">' . $row_members['realName'] . '</a>'
      );

      if ($max_num_posts < $row_members['posts'])
         $max_num_posts = $row_members['posts'];
   }
   foreach ($context['top_posters'] as $i => $poster)
      $context['top_posters'][$i]['post_percent'] = round(($poster['num_posts'] * 100) / $max_num_posts);

   // Board top 10.
   $boards_result = db_query("
      SELECT ID_BOARD, name, numPosts
      FROM {$db_prefix}boards AS b
      WHERE $user_info[query_see_board]
      ORDER BY numPosts DESC
      LIMIT 10", __FILE__, __LINE__);
   $context['top_boards'] = array();
   $max_num_posts = 1;
   while ($row_board = mysql_fetch_assoc($boards_result))
   {
      $context['top_boards'][] = array(
         'id' => $row_board['ID_BOARD'],
         'name' => $row_board['name'],
         'num_posts' => $row_board['numPosts'],
         'href' => $scripturl . '?board=' . $row_board['ID_BOARD'] . '.0',
         'link' => '<a href="' . $scripturl . '?board=' . $row_board['ID_BOARD'] . '.0">' . $row_board['name'] . '</a>'
      );

      if ($max_num_posts < $row_board['numPosts'])
         $max_num_posts = $row_board['numPosts'];
   }
   foreach ($context['top_boards'] as $i => $board)
      $context['top_boards'][$i]['post_percent'] = round(($board['num_posts'] * 100) / $max_num_posts);

   // Topic replies top 10.
   // !!!SLOW This query is slow, but can it be fixed at all?
   $topic_reply_result = db_query("
      SELECT m.subject, t.numReplies, t.ID_BOARD, t.ID_TOPIC, b.name
      FROM {$db_prefix}topics AS t, {$db_prefix}messages AS m, {$db_prefix}boards AS b
      WHERE m.ID_MSG = t.ID_FIRST_MSG
         AND $user_info[query_see_board]
         AND t.ID_BOARD = b.ID_BOARD
      ORDER BY t.numReplies DESC
      LIMIT 10", __FILE__, __LINE__);
   $context['top_topics_replies'] = array();
   $max_num_replies = 1;
   while ($row_topic_reply = mysql_fetch_assoc($topic_reply_result))
   {
      censorText($row_topic_reply['subject']);

      $context['top_topics_replies'][] = array(
         'id' => $row_topic_reply['ID_TOPIC'],
         'board' => array(
            'id' => $row_topic_reply['ID_BOARD'],
            'name' => $row_topic_reply['name'],
            'href' => $scripturl . '?board=' . $row_topic_reply['ID_BOARD'] . '.0',
            'link' => '<a href="' . $scripturl . '?board=' . $row_topic_reply['ID_BOARD'] . '.0">' . $row_topic_reply['name'] . '</a>'
         ),
         'subject' => $row_topic_reply['subject'],
         'num_replies' => $row_topic_reply['numReplies'],
         'href' => $scripturl . '?topic=' . $row_topic_reply['ID_TOPIC'] . '.0',
         'link' => '<a href="' . $scripturl . '?topic=' . $row_topic_reply['ID_TOPIC'] . '.0">' . $row_topic_reply['subject'] . '</a>'
      );

      if ($max_num_replies < $row_topic_reply['numReplies'])
         $max_num_replies = $row_topic_reply['numReplies'];
   }
   foreach ($context['top_topics_replies'] as $i => $topic)
      $context['top_topics_replies'][$i]['post_percent'] = round(($topic['num_replies'] * 100) / $max_num_replies);

   // Topic views top 10.
   $topic_view_result = db_query("
      SELECT m.subject, t.numViews, t.ID_BOARD, t.ID_TOPIC, b.name
      FROM {$db_prefix}topics AS t, {$db_prefix}messages AS m, {$db_prefix}boards AS b
      WHERE m.ID_MSG = t.ID_FIRST_MSG
         AND $user_info[query_see_board]
         AND t.ID_BOARD = b.ID_BOARD
      ORDER BY t.numViews DESC
      LIMIT 10", __FILE__, __LINE__);
   $context['top_topics_views'] = array();
   $max_num_views = 1;
   while ($row_topic_views = mysql_fetch_assoc($topic_view_result))
   {
      censorText($row_topic_views['subject']);

      $context['top_topics_views'][] = array(
         'id' => $row_topic_views['ID_TOPIC'],
         'board' => array(
            'id' => $row_topic_views['ID_BOARD'],
            'name' => $row_topic_views['name'],
            'href' => $scripturl . '?board=' . $row_topic_views['ID_BOARD'] . '.0',
            'link' => '<a href="' . $scripturl . '?board=' . $row_topic_views['ID_BOARD'] . '.0">' . $row_topic_views['name'] . '</a>'
         ),
         'subject' => $row_topic_views['subject'],
         'num_views' => $row_topic_views['numViews'],
         'href' => $scripturl . '?topic=' . $row_topic_views['ID_TOPIC'] . '.0',
         'link' => '<a href="' . $scripturl . '?topic=' . $row_topic_views['ID_TOPIC'] . '.0">' . $row_topic_views['subject'] . '</a>'
      );

      if ($max_num_views < $row_topic_views['numViews'])
         $max_num_views = $row_topic_views['numViews'];
   }
   foreach ($context['top_topics_views'] as $i => $topic)
      $context['top_topics_views'][$i]['post_percent'] = round(($topic['num_views'] * 100) / $max_num_views);

   // Poster top 10.
   $members_result = db_query("
      SELECT t.ID_MEMBER_STARTED, COUNT(t.ID_TOPIC) AS hits, mem.realName
      FROM {$db_prefix}topics AS t, {$db_prefix}members AS mem
      WHERE t.ID_MEMBER_STARTED = mem.ID_MEMBER
      GROUP BY t.ID_MEMBER_STARTED
      ORDER BY hits DESC
      LIMIT 10", __FILE__, __LINE__);
   $context['top_starters'] = array();
   $max_num_topics = 1;
   while ($row_members = mysql_fetch_assoc($members_result))
   {
      $context['top_starters'][] = array(
         'name' => $row_members['realName'],
         'id' => $row_members['ID_MEMBER_STARTED'],
         'num_topics' => $row_members['hits'],
         'href' => $scripturl . '?action=profile;u=' . $row_members['ID_MEMBER_STARTED'],
         'link' => '<a href="' . $scripturl . '?action=profile;u=' . $row_members['ID_MEMBER_STARTED'] . '">' . $row_members['realName'] . '</a>'
      );

      if ($max_num_topics < $row_members['hits'])
         $max_num_topics = $row_members['hits'];
   }
   foreach ($context['top_starters'] as $i => $topic)
      $context['top_starters'][$i]['post_percent'] = round(($topic['num_topics'] * 100) / $max_num_topics);

   // Time online top 10.
   // !!!SLOW This query is sorta slow.  Should we just add a key? (or would that be bad in the long run?)
   $members_result = db_query("
      SELECT ID_MEMBER, realName, totalTimeLoggedIn
      FROM {$db_prefix}members
      ORDER BY totalTimeLoggedIn DESC
      LIMIT 10", __FILE__, __LINE__);
   $context['top_time_online'] = array();
   $max_time_online = 1;
   while ($row_members = mysql_fetch_assoc($members_result))
   {
      // Figure out the days, hours and minutes.
      $timeDays = floor($row_members['totalTimeLoggedIn'] / 86400);
      $timeHours = floor(($row_members['totalTimeLoggedIn'] % 86400) / 3600);

      // Figure out which things to show... (days, hours, minutes, etc.)
      $timelogged = '';
      if ($timeDays > 0)
         $timelogged .= $timeDays . $txt['totalTimeLogged5'];
      if ($timeHours > 0)
         $timelogged .= $timeHours . $txt['totalTimeLogged6'];
      $timelogged .= floor(($row_members['totalTimeLoggedIn'] % 3600) / 60) . $txt['totalTimeLogged7'];

      $context['top_time_online'][] = array(
         'id' => $row_members['ID_MEMBER'],
         'name' => $row_members['realName'],
         'time_online' => $timelogged,
         'seconds_online' => $row_members['totalTimeLoggedIn'],
         'href' => $scripturl . '?action=profile;u=' . $row_members['ID_MEMBER'],
         'link' => '<a href="' . $scripturl . '?action=profile;u=' . $row_members['ID_MEMBER'] . '">' . $row_members['realName'] . '</a>'
      );

      if ($max_time_online < $row_members['totalTimeLoggedIn'])
         $max_time_online = $row_members['totalTimeLoggedIn'];
   }
   foreach ($context['top_time_online'] as $i => $member)
      $context['top_time_online'][$i]['time_percent'] = round(($member['seconds_online'] * 100) / $max_time_online);

   // Activity by day.
   $days_result = db_query("
      SELECT date, topics, posts, registers, mostOn, hits
      FROM {$db_prefix}log_activity
      ORDER BY date DESC
      LIMIT 30", __FILE__, __LINE__);
   $context['daily'] = array();
   while ($row_days = mysql_fetch_assoc($days_result))
      $context['daily'][] = array(
         'date' => array(
            'month' => substr($row_days['date'], 5, 2),
            'day' => substr($row_days['date'], 8),
            'year' => substr($row_days['date'], 0, 4),
         ),
         'month' => $months[(int) substr($row_days['date'], 5, 2)],
         'new_topics' => $row_days['topics'],
         'new_posts' => $row_days['posts'],
         'new_members' => $row_days['registers'],
         'most_members_online' => $row_days['mostOn'],
         'hits' => $row_days['hits']
      );

   // Activity by month.
   $months_result = db_query("
      SELECT date,
         SUM(hits) AS hits, SUM(registers) AS registers, SUM(topics) AS topics, SUM(posts) AS posts,
         MAX(mostOn) AS mostOn
      FROM {$db_prefix}log_activity
      GROUP BY YEAR(date), MONTH(date)", __FILE__, __LINE__);
   $context['monthly'] = array();
   while ($row_months = mysql_fetch_assoc($months_result))
      $context['monthly'][$row_months['date']] = array(
         'date' => array(
            'month' => substr($row_months['date'], 5, 2),
            'day' => substr($row_months['date'], 8),
            'year' => substr($row_months['date'], 0, 4),
         ),
         'month' => $months[(int) substr($row_months['date'], 5, 2)],
         'new_topics' => $row_months['topics'],
         'new_posts' => $row_months['posts'],
         'new_members' => $row_months['registers'],
         'most_members_online' => $row_months['mostOn'],
         'hits' => $row_months['hits']
      );

   // This gets rid of the filesort on the query ;).
   krsort($context['monthly']);

   $context['show_member_list'] = allowedTo('view_mlist');
}

?>
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on May 01, 2009, 12:09:27 PM
Err, that doesn't preserve tabs vs. spaces, so you need to download it to your computer and then, when you're posting, press "Additional Options" and you'll see an upload box.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: The_Wii_Nes_Boy on May 01, 2009, 12:21:40 PM
Quote from: Fustrate on May 01, 2009, 03:40:25 AM
Have you enabled reputation in the Admin area?

Heh, just finished Link's Awakening for the umpteenth time, so I decided to make a rotating avatar from it :)

Reputition is enables in the admin area, all permissions are correct. Whats the next ting besides the Display.temp that would cause this kind of problem?

Yeah, the link series is one of my all time favorite (next to Final Fantasy series), hence my own animated avatar and sig set.
(http://i299.photobucket.com/albums/mm311/The_Wii_Nes_Boy/Sigs/Triforce-Hero.gif)
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Privacy Blocked on May 02, 2009, 01:36:39 AM
answer please my question  ???

Quoteand how to user can't see the  people give the agree and disagree repurtation in other member?

thanks
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on May 02, 2009, 01:44:49 AM
Quote from: Privacy Blocked on May 02, 2009, 01:36:39 AM
answer please my question  ???

Quoteand how to user can't see the  people give the agree and disagree repurtation in other member?

thanks

Right now it's just set up to allow you to see your own, as far as I know. I'll look into what you need to do to allow everyone to see it.

Quote from: The_Wii_Nes_Boy on May 01, 2009, 12:21:40 PM
Quote from: Fustrate on May 01, 2009, 03:40:25 AM
Have you enabled reputation in the Admin area?

Heh, just finished Link's Awakening for the umpteenth time, so I decided to make a rotating avatar from it :)

Reputition is enables in the admin area, all permissions are correct. Whats the next ting besides the Display.temp that would cause this kind of problem?

Yeah, the link series is one of my all time favorite (next to Final Fantasy series), hence my own animated avatar and sig set.

Could you upload a screenshot of your Reputation settings page?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: The_Wii_Nes_Boy on May 02, 2009, 03:45:37 AM
Find attached screen shot of Reputation settings, just to make sure I'm not a complete retard obviously, lol  :P
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on May 02, 2009, 04:06:04 AM
Hmm... nothing wrong there, but I noticed one of the text strings isn't the same as in the current version. Are you using v1.7.4?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: The_Wii_Nes_Boy on May 02, 2009, 04:11:22 AM
Forums are 1.1.8
Advanced Reputation is 1.7.4

Nice to know I passed the retard test :D, Is this text string causing the problems?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on May 02, 2009, 04:14:32 AM
Nah, I think the text string is my fault somewhere

So... can you see anything reputation-related anywhere?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: The_Wii_Nes_Boy on May 02, 2009, 04:25:58 AM
Find attached a pic of post are, I can give you a list of all the mods that are on my site if you think it will help.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on May 02, 2009, 04:55:44 AM
I registered as RepSys - could you edit my profile to give me 10 posts (so I can actually test it out)?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: The_Wii_Nes_Boy on May 03, 2009, 03:46:29 AM
It's done, profile is edited to reflect 10 posts . An information for me?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Tacheon on May 04, 2009, 05:16:15 AM
This is an excellent mod, even though I had to do everything by hand.  A few questions, however.

I am using 1.1.8.

I received the error:
Unknown column 'k.message' in 'field list'
File: /mounted-storage/home119a/sub005/sc66957-EQTO/forum/Sources/Display.php
Line: 740


in my Display.php, and after trying to rectify it for quite some time, I reverted the code back to the original, with no negative side effects in terms of the mod (or so it seems).  Is this code for a previous version of SMF, or does it serve some other purpose that I need it for?

Also, does the reputation system support decimal values (e.g. ".25 rep/post"), or do I need to work around that?  An answer would be appreciated, but my all means, take your time.

Seriously though, I can't even imagine how much time and effort went into making this modification, I tip my hat to you.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on May 04, 2009, 06:01:02 AM
The_Wii_Nes_Boy: did the edits get made for /Sources/Display.php and Subs.php and Load.php? You might want to go step-by-step through http://www.fustrate.com/dev/sources/Advanced%20Reputation%20System/Reputation_1-1-x/package-info.xml and make sure everything was done correctly. Sorry for the late response, there was a massive spike in stuff I had to attend to the past two days.

Tacheon: Did you remember to do the database edits, too? message is a new column that should've been added when you upload install.php to your forum's root directory and ran it in your browser.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Tacheon on May 04, 2009, 06:11:47 AM
Quote from: Fustrate on May 04, 2009, 06:01:02 AMTacheon: Did you remember to do the database edits, too? message is a new column that should've been added when you upload install.php to your forum's root directory and ran it in your browser.

...hmm, it gives me the same error that made me do the manual install in the first place:

Duplicate column name 'karma_disabled'
File: /mounted-storage/home119a/sub005/sc66957-EQTO/forum/install.php
Line: 72
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on May 04, 2009, 06:37:49 AM
mkay, every time you try to run the file and it gives you an error, delete that portion from install.php and run it again. I'll work on a new version that respects old columns, but for now this is just about the only way.

So you'd be removing
db_query("
ALTER TABLE {$db_prefix}members
ADD karma_disabled TINYINT(3) NOT NULL default '0'", __FILE__, __LINE__);

and reuploading it and running it again until you get a little confirmation message. Might take a few tries to get it all the way through.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Tacheon on May 04, 2009, 06:47:25 AM
...O_o different error this time.

Too big column length for column 'comment' (max = 255). Use BLOB instead
File: /mounted-storage/home119a/sub005/sc66957-EQTO/forum/install.php
Line: 84


...it's like the forums hate me.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on May 04, 2009, 06:48:27 AM
change VARCHAR(300) to TINYTEXT(300)
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Tacheon on May 04, 2009, 06:52:07 AM
Tried that, got

"You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '(300) NOT NULL' at line 2
File: /mounted-storage/home119a/sub005/sc66957-EQTO/forum/install.php
Line: 84"

:\
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on May 04, 2009, 12:12:17 PM
I'll have to write that script when I get home in a few hours. The (300) shouldn't be there, by the way. My mistake  :-X
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Tacheon on May 04, 2009, 04:51:46 PM
Ehehe, I'm assuming it was supposed to be 255... I'll try that :P

<UPDATE> I went ahead and tried to just change the values so that they were accepted (which may have been my problem), but now whenever I try to modify someone's Rep by post (Praise or Smite, whichever), I receive:

Session verification failed. Please try logging out and back in again, and then try again.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on May 04, 2009, 05:43:43 PM
Did any edits fail when you installed?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: The_Wii_Nes_Boy on May 04, 2009, 07:10:01 PM
Quote from: Fustrate on May 04, 2009, 06:01:02 AM
The_Wii_Nes_Boy: did the edits get made for /Sources/Display.php and Subs.php and Load.php? You might want to go step-by-step through http://www.fustrate.com/dev/sources/Advanced%20Reputation%20System/Reputation_1-1-x/package-info.xml and make sure everything was done correctly. Sorry for the late response, there was a massive spike in stuff I had to attend to the past two days.

I'll check them out as soon as I get the chance
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Tacheon on May 05, 2009, 02:46:24 AM
Quote from: Fustrate on May 04, 2009, 05:43:43 PM
Did any edits fail when you installed?

I did not receive any error messages when I installed, it just gave me the "Database modification complete!" or whatever message.

And hey, I appreciate all your help with this.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: phpaddicted on May 05, 2009, 09:55:55 AM
Hello Friends,

I have installed it in my forum.. my SMF veriosn is 1.1.8.. all are ok..
But why it is showing "Reputation Power: 0" for every user??

One question when we install this mod first time by default "Reputation Power" is 0.

and i want to change reputation image but this option is not showing anywhere/admin.

What can i do..please help me.

Thanks
Ankur
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on May 05, 2009, 10:34:58 AM
Tacheon: Did you do all of the manual edits to install the mod?

phpaddicted: you can change individual people's reputation power by giving them more reputation points in their profile. By default, they need 100 points for 1 power. You should give all of your admins and moderators 10000 points, which will give them 100 power. To give EVERYONE a certain amount, open phpMyAdmin ( What is phpMyAdmin? (http://www.simplemachines.org/community/index.php?topic=21919.0) ) and execute the following query:
UPDATE smf_members
SET karmaGood = karmaGood + 777
WHERE 1=1

and change 777 to the amount of POINTS (remember, 100 points per power!) you want each person to have.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Tacheon on May 05, 2009, 09:02:03 PM
Quote from: Fustrate on May 05, 2009, 10:34:58 AM
Tacheon: Did you do all of the manual edits to install the mod?

phpaddicted: you can change individual people's reputation power by giving them more reputation points in their profile. By default, they need 100 points for 1 power. You should give all of your admins and moderators 10000 points, which will give them 100 power. To give EVERYONE a certain amount, open phpMyAdmin ( What is phpMyAdmin? (http://www.simplemachines.org/community/index.php?topic=21919.0) ) and execute the following query:
UPDATE smf_members
SET karmaGood = karmaGood + 777
WHERE 1=1

and change 777 to the amount of POINTS (remember, 100 points per power!) you want each person to have.

I did every edit in the install file; I just spent an hour double-checking to make sure I didn't miss anything :P
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on May 06, 2009, 02:29:47 AM
Hmm... this is strange. Try uninstalling, and then using this package to install. It has checks built in so that it won't just quit on you.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: phpaddicted on May 06, 2009, 04:01:00 AM
Hello... please help me.. i got one big error...

My forums have Thank-O-Matic system.. so it was working very fine before i have installed reputation system...

Now when any user click on "Add thank you" then it is not showing list of users who given thank you to that post..

that list was showing and working perfectly.. but now what happened i dnt know.

Please help me... if anyone know what is happening.///
Thanks
Ankur
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Tacheon on May 06, 2009, 04:02:09 AM
Quote from: Fustrate on May 06, 2009, 02:29:47 AM
Hmm... this is strange. Try uninstalling, and then using this package to install. It has checks built in so that it won't just quit on you.

Appreciate it.  I assume I just do everything in reverse?  :P

<UPDATE> I went ahead and just restored to the backup that I (luckily) made before installing everything manually... and it installed perfectly!  It didn't even give me the basic test failure that it gave me every other time.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: The_Wii_Nes_Boy on May 06, 2009, 06:43:04 AM
OK, I've went over everything and still no sign of errors!!!!

The link you gave me doesn't work.

Now i'm just getting frustrated, especially as it worked before (http://twnb-worldofstuff.com/Smileys/icube/frusty.gif)
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on May 06, 2009, 12:37:19 PM
I'm baffled as to why you wouldn't see anything... that hasn't happened for months, at least not that I've seen. Try uninstalling and using the one I just posted above... it's random, but it worked for Tacheon. If that doesn't work, would it be possible to send me a temporary FTP login to your forum so that I can get to the root of this problem? I really don't want to leave you hanging for too much longer as I have been, and I apologize for that :(

phpaddicted: Does this "Thank-O-Matic" mod use the karma system at all?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: The_Wii_Nes_Boy on May 06, 2009, 02:38:21 PM
I already tried the one you posted above, nowing me it'll be something stupid.

I'll PM you a temp ftp loggin, do you want a list of mods that also are installed on the site as well?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: The_Wii_Nes_Boy on May 06, 2009, 08:05:10 PM
Dude.... A BIG, BIG thanks for fixing my issue!

If the Rep system was in use here I'd give you some but it's not :P

Thanks!
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Tacheon on May 06, 2009, 08:40:29 PM
All right, I waited a while to see if I could find any obvious flaws, and I can't-- none at all!  Thank you very much for all your help, this is a great mod.

One tiny little question, though:  What can I modify to change "Reputation" to, say, "Honor"?  Can I do that using another SQL query, or must I change the files manually?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on May 07, 2009, 02:47:13 AM
look at the end of the package's install.xml for all of the language strings... there are quite a few to change.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Tacheon on May 07, 2009, 04:23:09 AM
Quote from: Fustrate on May 07, 2009, 02:47:13 AM
look at the end of the package's install.xml for all of the language strings... there are quite a few to change.

Thanks again!  :D
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: MatrixIS on May 07, 2009, 02:02:54 PM
i installed this on the extreame 6 theme , installed with errors , doesnt seem to be working right , check out my site ptctalk.co.za , i dont really know how to explain it
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on May 07, 2009, 02:49:08 PM
What were the specific errors? Were they just in your theme's files?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: MatrixIS on May 07, 2009, 03:15:30 PM
Quote from: Fustrate on May 07, 2009, 02:49:08 PM
What were the specific errors? Were they just in your theme's files?

the errors were in:
   ./Sources/Display.php - 1 error

   ./Themes/default/Display.template.php - 2 errors

theme i use -----> ./Themes/extreme61/Display.template.php - all files had a error
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Enders on May 08, 2009, 12:02:00 AM
I've installed this mod successfully and it was the first mod i've installed. However, there is no way to give out reputation nor does the reputation # updates. Any idea?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Tacheon on May 08, 2009, 02:38:49 AM
Quote from: Enders on May 08, 2009, 12:02:00 AM
I've installed this mod successfully and it was the first mod i've installed. However, there is no way to give out reputation nor does the reputation # updates. Any idea?

If I may be so bold as to try to answer, is it the reputation number that doesn't update, or the rep power?  Rep power increases, by default, by 1 for every 100 reputation.

Also, the +rep location has been moved from right under the rep amount, to down in the AIM, MSN, ICQ, etc. information.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Tyrsson on May 08, 2009, 04:14:29 AM
Hey Fustrate,

I think I found a bug.

In the first edit in the display template for 2.0Rc1 its adding this:

<span id="reputation_menu" style="visibility: hidden; display: none;">

But should be:

<span id="reputation_menu" style="visibility: hidden; display: none;"></span>
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: The_Wii_Nes_Boy on May 08, 2009, 09:07:53 AM
Hi Fustrate,

now I have vbgamer45's Download System installed, when an item is uploaded to the system it generates a new topic which is automaticlly posted in the approriate board with the details but these topics do not add points to the reputation system, how would I go about getting the new topic points added to the rep system as if it was any other new topic?

Will this be intergrated with any other system in the future? I'd like to be able to give members point for the images the upload to SMF Gallery.

Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Tyrsson on May 08, 2009, 01:39:37 PM
Quote from: Tyrsson on May 08, 2009, 04:14:29 AM
Hey Fustrate,

I think I found a bug.

In the first edit in the display template for 2.0Rc1 its adding this:

<span id="reputation_menu" style="visibility: hidden; display: none;">

But should be:

<span id="reputation_menu" style="visibility: hidden; display: none;"></span>
Disregard this one :)
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on May 08, 2009, 01:45:58 PM
MatrixIS - You'll need to do any failed edits by hand.

The_Wii_Nes_Boy - you have to ask him if there's a setting to add karma for each uploaded item, and then change that portion of the code to use $modSettings['karmaValueThread'] instead of 100 or whatever it is.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: The_Wii_Nes_Boy on May 08, 2009, 02:00:26 PM
Thanks for the info
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Enders on May 09, 2009, 09:33:55 PM
Quote from: Tacheon on May 08, 2009, 02:38:49 AM
Quote from: Enders on May 08, 2009, 12:02:00 AM
I've installed this mod successfully and it was the first mod i've installed. However, there is no way to give out reputation nor does the reputation # updates. Any idea?

If I may be so bold as to try to answer, is it the reputation number that doesn't update, or the rep power?  Rep power increases, by default, by 1 for every 100 reputation.

Also, the +rep location has been moved from right under the rep amount, to down in the AIM, MSN, ICQ, etc. information.

There is no image / anything to add reputation on the default theme or any other themes o.o. Also,  " Reputation Power: 0 " doesn't change in the post display.. or does that only display how many reps someone gave them? It does however show in the simpleportal block  "Reputation: 51"

I've also checked if all edits were made and they have o.o
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Lex-BY on May 11, 2009, 01:19:57 PM
Hello. :)
I have translated this wonderful mod to the Russian language.
Based on official Russian localization of SMF v1-1-8.
Translation is in attach.

BtW... Under SMF 1.1.8 there are no such strings in ModSettings.english.php:

$txt['core_settings_item_k'] = 'Karma';
$txt['core_settings_item_k_desc'] = 'Karma is a feature that shows the popularity of a member. Members, if allowed, can \'applaud\' or \'smite\' other members, which is how their popularity is calculated.';

So fix your package.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Invidia on May 12, 2009, 09:48:13 AM
Hello,

i installed Your mod and i have a problem. When I click "add reputaion" on default theme all is ok. When I do it again on other theme i don't see a popup box. So.. what should I modify if I want delete popup box, and add reputation box on new page?

sorry for english.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: SolidSnake2003 on May 12, 2009, 09:53:45 AM
When I click on "View Reputation, I can't view anything.  It comes up "An Error Occured", and then the message is blank

Edit: Please forgive this needless post, I forgot to turn it on  :o
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: ItsNatalie on May 12, 2009, 04:39:04 PM
Quote from: robbie93 on March 31, 2009, 03:58:10 PM
Hi ItsNatalie you need to edit you're themes style.css  ;D

With this

.repbars img
{
   padding: 0 1px 0 0;
}

#reputation_menu{
   position: absolute;
   border: 1px solid black;
   z-index: 100;
}


right before this

  ?> 

Then the pop up will work in the proper way :D

I installed a new theme (Error) and am having the same issue. However the fix that worked last time (quoted above) isn't working for me now. I added the code to the end of my style.css file and the reputation box still pops up at the top of the screen.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on May 12, 2009, 04:42:38 PM
Try doing a hard refresh - shift-ctrl-r (shift-cmd-r on a mac) and see if that helps.

I'll work on the larger issues when my History final is over tomorrow.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: ItsNatalie on May 12, 2009, 08:13:29 PM
Quote from: Fustrate on May 12, 2009, 04:42:38 PM
Try doing a hard refresh - shift-ctrl-r (shift-cmd-r on a mac) and see if that helps.

I'll work on the larger issues when my History final is over tomorrow.

No luck.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: ItsNatalie on May 13, 2009, 03:29:54 PM
Quote from: ItsNatalie on May 12, 2009, 04:39:04 PM
Quote from: robbie93 on March 31, 2009, 03:58:10 PM
Hi ItsNatalie you need to edit you're themes style.css  ;D

With this

.repbars img
{
   padding: 0 1px 0 0;
}

#reputation_menu{
   position: absolute;
   border: 1px solid black;
   z-index: 100;
}


right before this

  ?> 

Then the pop up will work in the proper way :D

I installed a new theme (Error) and am having the same issue. However the fix that worked last time (quoted above) isn't working for me now. I added the code to the end of my style.css file and the reputation box still pops up at the top of the screen.

I put the code at the top of my style.css file and it's working properly. Is it possible that the different positioning will affect anything? So far everything looks good.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on May 13, 2009, 09:10:54 PM
it shouldn't, but if it does, that's a good thing :)

Lex-BY: Thank you very much, I'll be sure to add it to the package as soon as my host re-enables the ZipArchive class which I use to package everything.

Invidia: you'll have to do the theme edits by hand. You can see all edits on the mod download page by choosing your SMF version, the file you downloaded, and clicking "Parse" on the upper right side of the area. You only need to do the ones that are template or css/js files.

Enders: Are you sure the theme edits were made in each theme? And you've enabled it in the admin center? And the power you see isn't the same as points - by default, you need 100 points to get 1 power. I'm going to go write a SP block for reputation, and not Karma. Works differently :)
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Invidia on May 14, 2009, 09:41:41 AM
thanks for reply, Fustrate.

Quote from: Fustrate on May 13, 2009, 09:10:54 PM
Invidia: you'll have to do the theme edits by hand. You can see all edits on the mod download page by choosing your SMF version, the file you downloaded, and clicking "Parse" on the upper right side of the area. You only need to do the ones that are template or css/js files.

I know, but my theme hasn't Display.template.php, Profile.template.php (etc., etc.) files. Only index.php, index template and style.css. :/
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on May 14, 2009, 10:48:03 AM
Then you don't need to do the edits for those files - just the ones your theme has.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Invidia on May 14, 2009, 11:32:02 AM
Quote from: Fustrate on May 14, 2009, 10:48:03 AM
Then you don't need to do the edits for those files - just the ones your theme has.

Ok, so i done this and.. next problem.  ::)
When I click "add reputation", reputation box is..  over the thread.
Look at this screenshot: http://i42.tinypic.com/21lv1g0.png

wtf?


EDIT:
Ok, i repaired this problem, thanks for mod. ;)
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: njdevils28 on May 15, 2009, 08:10:35 AM
Hi,

I just installed this Mod in SMF 2.0 RC1 and now my Add/Subtract Reputaion buttons are gone.

Any one else have this problem?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on May 15, 2009, 02:01:10 PM
There should be a heart button somewhere on the left side of a post. If it's not there, you'll need to do the theme edits to your theme by hand. You also need to make sure reputation is enabled in the admin area.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: njdevils28 on May 15, 2009, 03:05:04 PM
Quote from: Fustrate on May 15, 2009, 02:01:10 PM
There should be a heart button somewhere on the left side of a post. If it's not there, you'll need to do the theme edits to your theme by hand. You also need to make sure reputation is enabled in the admin area.

Hi,

Ok, I found the heart - Thanks.

Now another problem poped up.

In all the themes but the default.  The reputation bar repeats itself many times between the user name and their avatar.

Any idea why that is happening?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on May 15, 2009, 03:15:49 PM
So if x = a bar image, you're seeing

xxxxxxxxxxx
xxxxxxxxxxx
xxxxxxxxxxx

so multiple rows? If so, open the theme's Display.template.php and search for "reputation" and remove and code that is duplicated.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: njdevils28 on May 15, 2009, 03:40:07 PM
Quote from: Fustrate on May 15, 2009, 03:15:49 PM
So if x = a bar image, you're seeing

xxxxxxxxxxx
xxxxxxxxxxx
xxxxxxxxxxx

so multiple rows? If so, open the theme's Display.template.php and search for "reputation" and remove and code that is duplicated.

Hi,

There is no Display.Template.php there is however an Index.Template.php.

Would that be what you're refering to?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on May 15, 2009, 03:43:48 PM
If there's no Display.template.php in your custom theme, then it uses the one in Themes/default/

try that one instead.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: njdevils28 on May 15, 2009, 03:49:19 PM
Ok,

I found it right where you said it was but it is a bit intmidating.
There seems to be 6 or 7 refrences to "reputation" and I'm not sure if any of them are duplicates.
Would you mind taking a look at it for me?

<?php
// Version: 2.0 RC1; Display

function template_main()
{
global $context$settings$options$txt$scripturl$modSettings$user_info;

// Show the anchor for the top and for the first message. If the first message is new, say so.
echo '
<a name="top"></a>
<span id="reputation_menu" style="visibility: hidden; display: none;">
<table class="bordercolor" cellpadding="4" cellspacing="1" style="width: 100%;">
<tr class="titlebg">
<td height="22">'
$txt['karma_title'], '</td>
</tr>
<tr class="catbg">
<td height="22">'
$txt['karma_add_to'], ': <span id="reputation_name">&nbsp;</span></td>
</tr>
<tr class="windowbg2">
<td>
<fieldset>
<legend>'
$txt['karma_your_opinion'], '</legend>
<form id="reputation_form" name="reputation_form" action="'
$scripturl'?action=modifykarma" method="post" accept-charset="'$context['character_set'], '" class="reputation_form" onsubmit="aReputation[0].sendRep(); return false;">
<input type="radio" name="type" value="agree"'
, !$context['can_pos_rep'] ? ' disabled="disabled"' ' checked="checked"'' /> '$txt['karma_agree'], '
<input type="radio" name="type" value="disagree"'
, !$context['can_neg_rep'] ? ' disabled="disabled"' : !$context['can_pos_rep'] ? ' checked="checked"' ''' /> '$txt['karma_disagree'], '
<span id="reputation_fields">&nbsp;</span>
<br />
'
$txt['comment'], ': <input type="text" name="reputation_comment" /><br />
<br />
<input type="submit" value="'
$txt['submit'], '" />
<input type="hidden" name="topic" value="'
$context['current_topic'], '.'$context['start'], '" />
<input type="hidden" id="sessionid" name="'
$context['session_var'], '" value="'$context['session_id'], '" />
</form>
</fieldset>
<script language="JavaScript" type="text/javascript"><!-- // -->
// Ajaxify that reputation box!
if (typeof(window.XMLHttpRequest) != "undefined")
{
aReputation[0] = new Reputation({
sBackReference: "aReputation[0]",
sScriptUrl: "'
$scripturl'"
});
}
</script>
</td>
</tr>
</table>
</span>
<a name="msg'
$context['first_message'], '"></a>'$context['first_new_message'] ? '<a name="new"></a>' '';

// Is this topic also a poll?
if ($context['is_poll'])
{
echo '
<div class="tborder marginbottom" id="poll">
<h3 class="titlebg headerpadding">
<img src="'
$settings['images_url'], '/topic/'$context['poll']['is_locked'] ? 'normal_poll_locked' 'normal_poll''.gif" alt="" align="bottom" /> '$txt['poll'], '
</h3>
<h4 class="windowbg headerpadding" id="pollquestion">
'
$context['poll']['question'], '
</h4>
<div class="windowbg clearfix" id="poll_options">'
;

// Are they not allowed to vote but allowed to view the options?
if ($context['poll']['show_results'] || !$context['allow_vote'])
{
echo '
<dl class="options">'
;

// Show each option with its corresponding percentage bar.
foreach ($context['poll']['options'] as $option)
echo '
<dt class="middletext'
$option['voted_this'] ? ' voted' '''">'$option['option'], '</dt>
<dd class="middletext">'
$context['allow_poll_view'] ? $option['bar'] . ' ' $option['votes'] . ' (' $option['percent'] . '%)' '''</dd>';

echo '
</dl>'
;

if ($context['allow_poll_view'])
echo '
<p><b>'
$txt['poll_total_voters'], ':</b> '$context['poll']['total_votes'], '</p>';

}
// They are allowed to vote! Go to it!
else
{
echo '
<form action="'
$scripturl'?action=vote;topic='$context['current_topic'], '.'$context['start'], ';poll='$context['poll']['id'], '" method="post" accept-charset="'$context['character_set'], '">';

// Show a warning if they are allowed more than one option.
if ($context['poll']['allowed_warning'])
echo '
<p class="smallpadding">'
$context['poll']['allowed_warning'], '</p>';

echo '
<ul class="options">'
;

// Show each option with its button - a radio likely.
foreach ($context['poll']['options'] as $option)
echo '
<li class="middletext">'
$option['vote_button'], ' <label for="'$option['id'], '">'$option['option'], '</label></li>';

echo '
</ul>

<div class="submitbutton'
, !empty($context['poll']['expire_time']) ? ' border' '''">
<input type="submit" value="'
$txt['poll_vote'], '" />
<input type="hidden" name="'
$context['session_var'], '" value="'$context['session_id'], '" />
</div>
</form>'
;
}

// Is the clock ticking?
if (!empty($context['poll']['expire_time']))
echo '
<p><b>'
, ($context['poll']['is_expired'] ? $txt['poll_expired_on'] : $txt['poll_expires_on']), ':</b> '$context['poll']['expire_time'], '</p>';

echo '
</div>
</div>
<div id="pollmoderation">'
;

// Build the poll moderation button array.
$poll_buttons = array(
'vote' => array('test' => 'allow_return_vote''text' => 'poll_return_vote''image' => 'poll_options.gif''lang' => true'url' => $scripturl '?topic=' $context['current_topic'] . '.' $context['start']),
'results' => array('test' => 'allow_poll_view''text' => 'poll_results''image' => 'poll_results.gif''lang' => true'url' => $scripturl '?topic=' $context['current_topic'] . '.' $context['start'] . ';viewResults'),
'change_vote' => array('test' => 'allow_change_vote''text' => 'poll_change_vote''image' => 'poll_change_vote.gif''lang' => true'url' => $scripturl '?action=vote;topic=' $context['current_topic'] . '.' $context['start'] . ';poll=' $context['poll']['id'] . ';' $context['session_var'] . '=' $context['session_id']),
'lock' => array('test' => 'allow_lock_poll''text' => (!$context['poll']['is_locked'] ? 'poll_lock' 'poll_unlock'), 'image' => 'poll_lock.gif''lang' => true'url' => $scripturl '?action=lockvoting;topic=' $context['current_topic'] . '.' $context['start'] . ';' $context['session_var'] . '=' $context['session_id']),
'edit' => array('test' => 'allow_edit_poll''text' => 'poll_edit''image' => 'poll_edit.gif''lang' => true'url' => $scripturl '?action=editpoll;topic=' $context['current_topic'] . '.' $context['start']),
'remove_poll' => array('test' => 'can_remove_poll''text' => 'poll_remove''image' => 'admin_remove_poll.gif''lang' => true'custom' => 'onclick="return confirm(\'' $txt['poll_remove_warn'] . '\');"''url' => $scripturl '?action=removepoll;topic=' $context['current_topic'] . '.' $context['start']),
);

template_button_strip($poll_buttons);

echo '
</div>'
;
}

// Does this topic have some events linked to it?
if (!empty($context['linked_calendar_events']))
{
echo '
<div id="events" class="tborder marginbottom">
<h3 class="titlebg headerpadding"> '
$txt['calendar_linked_events'], '</h3>
<ul class="windowbg largepadding">'
;
foreach ($context['linked_calendar_events'] as $event)
echo '
<li>
'
, ($event['can_edit'] ? '<a href="' $event['modify_href'] . '" style="color: red;">*</a> ' ''), '<strong>'$event['title'], '</strong>: '$event['start_date'], ($event['start_date'] != $event['end_date'] ? ' - ' $event['end_date'] : ''), '
</li>'
;
echo '
</ul>
</div>'
;
}

// Build the normal button array.
$normal_buttons = array(
'reply' => array('test' => 'can_reply''text' => 'reply''image' => 'reply.gif''lang' => true'url' => $scripturl '?action=post;topic=' $context['current_topic'] . '.' $context['start'] . ';num_replies=' $context['num_replies']),
'notify' => array('test' => 'can_mark_notify''text' => 'notify''image' => 'notify.gif''lang' => true'custom' => 'onclick="return confirm(\'' . ($context['is_marked_notify'] ? $txt['notification_disable_topic'] : $txt['notification_enable_topic']) . '\');"''url' => $scripturl '?action=notify;sa=' . ($context['is_marked_notify'] ? 'off' 'on') . ';topic=' $context['current_topic'] . '.' $context['start'] . ';' $context['session_var'] . '=' $context['session_id']),
'mark_unread' => array('test' => 'can_mark_unread''text' => 'mark_unread''image' => 'markunread.gif''lang' => true'url' => $scripturl '?action=markasread;sa=topic;t=' $context['mark_unread_time'] . ';topic=' $context['current_topic'] . '.' $context['start'] . ';' $context['session_var'] . '=' $context['session_id']),
'add_poll' => array('test' => 'can_add_poll''text' => 'add_poll''image' => 'add_poll.gif''lang' => true'url' => $scripturl '?action=editpoll;add;topic=' $context['current_topic'] . '.' $context['start'] . ';' $context['session_var'] . '=' $context['session_id']),
'send' => array('test' => 'can_send_topic''text' => 'send_topic''image' => 'sendtopic.gif''lang' => true'url' => $scripturl '?action=emailuser;sa=sendtopic;topic=' $context['current_topic'] . '.0'),
'print' => array('text' => 'print''image' => 'print.gif''lang' => true'custom' => 'rel="new_win nofollow"''url' => $scripturl '?action=printpage;topic=' $context['current_topic'] . '.0'),
);

// Make Article Button
if ($context['can_make_article'])
$normal_buttons['article'] = array('text' => 'sp-make_article''image' => 'addarticle.gif''lang' => true'url' => $context['portal_url'] . '?sa=addarticle;message=' $context['topic_first_message'] . ';return=' $context['current_topic'] . '.' $context['start'] . ';sesc=' $context['session_id']);

// Show the page index... "Pages: [1]".
echo '
<div class="clearfix margintop" id="postbuttons">
<div class="next">'
$context['previous_next'], '</div>
<div class="margintop middletext floatleft">'
$txt['pages'], ': '$context['page_index'], !empty($modSettings['topbottomEnable']) ? $context['menu_separator'] . ' &nbsp;&nbsp;<a href="#lastPost"><strong>' $txt['go_down'] . '</strong></a>' '''</div>
<div class="nav floatright">'
template_button_strip($normal_buttons'bottom'), '</div>
</div>'
;

// Show the topic information - icon, subject, etc.
echo '
<div id="forumposts" class="tborder">
<h3 class="catbg3">
<img src="'
$settings['images_url'], '/topic/'$context['class'], '.gif" align="bottom" alt="" />
<span>'
$txt['author'], '</span>
<span id="top_subject">'
$txt['topic'], ': '$context['subject'], ' &nbsp;('$txt['read'], ' '$context['num_views'], ' '$txt['times'], ')</span>
</h3>'
;
if (!empty($settings['display_who_viewing']))
{
echo '
<div id="whoisviewing" class="smalltext headerpadding windowbg2">'
;

// Show just numbers...?
if ($settings['display_who_viewing'] == 1)
echo count($context['view_members']), ' 'count($context['view_members']) == $txt['who_member'] : $txt['members'];
// Or show the actual people viewing the topic?
else
echo empty($context['view_members_list']) ? '0 ' $txt['members'] : implode(', '$context['view_members_list']) . ((empty($context['view_num_hidden']) || $context['can_moderate_forum']) ? '' ' (+ ' $context['view_num_hidden'] . ' ' $txt['hidden'] . ')');

// Now show how many guests are here too.
echo $txt['who_and'], $context['view_num_guests'], ' '$context['view_num_guests'] == $txt['guest'] : $txt['guests'], $txt['who_viewing_topic'], '
</div>'
;
}

echo '
<form action="'
$scripturl'?action=quickmod2;topic='$context['current_topic'], '.'$context['start'], '" method="post" accept-charset="'$context['character_set'], '" name="quickModForm" id="quickModForm" style="margin: 0;" onsubmit="return oQuickModify.bInEditMode ? oQuickModify.modifySave(\'' $context['session_id'] . '\') : false">';

// These are some cache image buttons we may want.
    
$respond_button create_button('reply.gif''reply''reply''align="middle"');
$reply_button create_button('quote.gif''reply_quote''quote''align="middle"');
$modify_button create_button('modify.gif''modify_msg''modify''align="middle"');
$remove_button create_button('delete.gif''remove_message''remove''align="middle"');
$split_button create_button('split.gif''split''split''align="middle"');
$approve_button create_button('approve.gif''approve''approve''align="middle"');
$restore_message_button create_button('restore_topic.gif''restore_message''restore_message''align="middle"');

$ignoredMsgs = array();
$messageIDs = array();

// Get all the messages...
while ($message $context['get_message']())
{
$is_first_post = !isset($is_first_post) ? true false;
$ignoring false;
$messageIDs[] = $message['id'];

echo '
<div class="bordercolor">'
;

if (in_array($message['member']['id'], $context['user']['ignoreusers']))
{
$ignoring true;
$ignoredMsgs[] = $message['id'];
}

// Show the message anchor and a "new" anchor if this message is new.
if ($message['id'] != $context['first_message'])
echo '
<a name="msg'
$message['id'], '"></a>'$message['first_new'] ? '<a name="new"></a>' '';

echo '
<div class="clearfix '
, !$is_first_post 'topborder ' ''$message['approved'] ? ($message['alternate'] == 'windowbg' 'windowbg2') : 'approvebg'' largepadding">';

// Show information about the poster of this message.
echo '
<div class="floatleft poster">
<h4>'
$message['member']['link'], '</h4>
<ul class="smalltext" id="msg_'
$message['id'], '_extra_info">';

// Show the member's custom title, if they have one.
if (isset($message['member']['title']) && $message['member']['title'] != '')
echo '
<li>'
$message['member']['title'], '</li>';

// Let us make the admin stand out in topic view
if (isset($message['member']['group']) && $message['member']['group'] != '')
if (@$message['member']['group_id'] == 1)
echo '
<strong><span style="border: 1px dotted #FFFFFF; background-color:#C50000; color: #FFFFFF; text-decoration: none; padding: 1px;">'
$message['member']['group'], '</span></strong>';
else
    echo '
    <li>'
$message['member']['group'], '</li>';

// Don't show these things for guests.
if (!$message['member']['is_guest'])
{
// Show the post group if and only if they have no other group or the option is on, and they are in a post group.
if ((empty($settings['hide_post_group']) || $message['member']['group'] == '') && $message['member']['post_group'] != '')
echo '
<li>'
$message['member']['post_group'], '</li>';
echo '
<li>'
$message['member']['group_stars'], '</li>';

// Is karma display enabled?
if ($modSettings['karmaMode'] != '0'){
echo '
<li class="margintop">'
$txt['karma_power'], ': '$message['member']['karma']['power'], '</li>
<li class="margintop repbars">
'
;
foreach($message['member']['karma']['bars'] as $karma_bar)
echo '<img src="'$settings['images_url'], '/karma_'$karma_bar['type'], '.gif" title="'$message['member']['name'], ' '$karma_bar['desc'], '" alt="'$message['member']['name'], ' '$karma_bar['desc'], '" />';
echo '
</li>'
;
}

// Show online and offline buttons?
if (!empty($modSettings['onlineEnable']))
echo '
<li>'
$context['can_send_pm'] ? '<a href="' $message['member']['online']['href'] . '" title="' $message['member']['online']['label'] . '">' ''$settings['use_image_buttons'] ? '<img src="' $message['member']['online']['image_href'] . '" alt="' $message['member']['online']['text'] . '" border="0" style="margin-top: 2px;" />' $message['member']['online']['text'], $context['can_send_pm'] ? '</a>' ''$settings['use_image_buttons'] ? '<span class="smalltext"> ' $message['member']['online']['text'] . '</span>' '''</li>';

// Show the member's gender icon?
if (!empty($settings['show_gender']) && $message['member']['gender']['image'] != '' && !isset($context['disabled_fields']['gender']))
echo '
<li>'
$txt['gender'], ': '$message['member']['gender']['image'], '</li>';

// Show how many posts they have made.
if (!isset($context['disabled_fields']['posts']))
echo '
<li>'
$txt['member_postcount'], ': '$message['member']['posts'], '</li>';

// Any custom fields?
if (!empty($message['member']['custom_fields']))
{
foreach ($message['member']['custom_fields'] as $custom)
echo '
<li>'
$custom['title'], ': '$custom['value'], '</li>';
}

// Show avatars, images, etc.?
if (!empty($settings['show_user_images']) && empty($options['show_no_avatars']) && !empty($message['member']['avatar']['image']))
echo '
<li class="margintop" style="overflow: auto;">'
$message['member']['avatar']['image'], '</li>';

// Show their personal text?
if (!empty($settings['show_blurb']) && $message['member']['blurb'] != '')
echo '
<li class="margintop">'
$message['member']['blurb'], '</li>';

// This shows the popular messaging icons.
if ($message['member']['has_messenger'] && $message['member']['can_view_profile'])
echo '
<li class="margintop">
<ul class="nolist">
'
, !isset($context['disabled_fields']['icq']) && !empty($message['member']['icq']['link']) ? '<li>' $message['member']['icq']['link'] . '</li>' '''
'
, !isset($context['disabled_fields']['msn']) && !empty($message['member']['msn']['link']) ? '<li>' $message['member']['msn']['link'] . '</li>' '''
'
, !isset($context['disabled_fields']['aim']) && !empty($message['member']['aim']['link']) ? '<li>' $message['member']['aim']['link'] . '</li>' '''
'
, !isset($context['disabled_fields']['yim']) && !empty($message['member']['yim']['link']) ? '<li>' $message['member']['yim']['link'] . '</li>' '''

'
, !isset($context['disabled_fields']['skype']) && !empty($message['member']['skype']['link']) ? '<li>' $message['member']['skype']['link'] . '</li>' '''
</ul>
</li>'
;

// Show the profile, website, email address, and personal message buttons.
if ($settings['show_profile_buttons'])
{
echo '
<li class="margintop">
<ul class="nolist">'
;
// Don't show the profile button if you're not allowed to view the profile.
if ($message['member']['can_view_profile'])
echo '
<li><a href="'
$message['member']['href'], '">', ($settings['use_image_buttons'] ? '<img src="' $settings['images_url'] . '/icons/profile_sm.gif" alt="' $txt['view_profile'] . '" title="' $txt['view_profile'] . '" border="0" />' $txt['view_profile']), '</a></li>';

// Don't show an icon if they haven't specified a website.
if ($message['member']['website']['url'] != '' && !isset($context['disabled_fields']['website']))
echo '
<li><a href="'
$message['member']['website']['url'], '" title="' $message['member']['website']['title'] . '" target="_blank" class="new_win">', ($settings['use_image_buttons'] ? '<img src="' $settings['images_url'] . '/www_sm.gif" alt="' $txt['www'] . '" border="0" />' $txt['www']), '</a></li>';

// Don't show the email address if they want it hidden.
if (in_array($message['member']['show_email'], array('yes''yes_permission_override''no_through_forum')))
echo '
<li><a href="'
$scripturl'?action=emailuser;sa=email;msg='$message['id'], '" rel="nofollow">', ($settings['use_image_buttons'] ? '<img src="' $settings['images_url'] . '/email_sm.gif" alt="' $txt['email'] . '" title="' $txt['email'] . '" />' $txt['email']), '</a></li>';

// 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 id="repicon" 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'], ';'$context['session_var'], '='$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']['is_online'] ? $txt['pm_online'] : $txt['pm_offline'], '">'$settings['use_image_buttons'] ? '<img src="' $settings['images_url'] . '/im_' . ($message['member']['online']['is_online'] ? 'on' 'off') . '.gif" alt="' . ($message['member']['online']['is_online'] ? $txt['pm_online'] : $txt['pm_offline']) . '" border="0" />' : ($message['member']['online']['is_online'] ? $txt['pm_online'] : $txt['pm_offline']), '</a></li>';

echo '
</ul>
</li>'
;
}

// Are we showing the warning status?
if (!isset($context['disabled_fields']['warning_status']) && $message['member']['warning_status'] && ($context['user']['can_mod'] || (!empty($modSettings['warning_show']) && ($modSettings['warning_show'] > || $message['member']['id'] == $context['user']))))
echo '
<li>'
$context['can_issue_warning'] ? '<a href="' $scripturl '?action=profile;area=issuewarning;u=' $message['member']['id'] . '">' '''<img src="'$settings['images_url'], '/warning_'$message['member']['warning_status'], '.gif" alt="'$txt['user_warn_' $message['member']['warning_status']], '" />'$context['can_issue_warning'] ? '</a>' '''<span class="warn_'$message['member']['warning_status'], '">'$txt['warn_' $message['member']['warning_status']], '</span></li>';
}
// Otherwise, show the guest's email.
elseif (in_array($message['member']['show_email'], array('yes''yes_permission_override''no_through_forum')))
echo '
<li><a href="'
$scripturl'?action=emailuser;sa=email;msg='$message['id'], '" rel="nofollow">', ($settings['use_image_buttons'] ? '<img src="' $settings['images_url'] . '/email_sm.gif" alt="' $txt['email'] . '" title="' $txt['email'] . '" border="0" />' $txt['email']), '</a></li>';

// Done with the information about the poster... on to the post itself.
echo '
</ul>
</div>
<div class="postarea">
<div class="keyinfo">
<div class="messageicon"><img src="'
$message['icon_url'] . '" alt="" border="0"'$message['can_modify'] ? ' id="msg_icon_' $message['id'] . '"' ''' /></div>
<h5 id="subject_'
$message['id'], '">
<a href="'
$message['href'], '" rel="nofollow">'$message['subject'], '</a>
</h5>
<div class="smalltext">&#38;#171; <strong>'
, !empty($message['counter']) ? $txt['reply_noun'] . ' #' $message['counter'] : ''' '$txt['on'], ':</strong> '$message['time'], ' &#38;#187;</div>
<div id="msg_'
$message['id'], '_quick_mod"></div>
</div>'
;

// If this is the first post, (#0) just say when it was posted - otherwise give the reply #.
echo '
<ul class="smalltext postingbuttons">'
;

// Maybe we can approve it, maybe we should?
if ($message['can_approve'])
echo '
<li><a href="'
$scripturl'?action=moderate;area=postmod;sa=approve;topic='$context['current_topic'], '.'$context['start'], ';msg='$message['id'], ';'$context['session_var'], '='$context['session_id'], '">'$approve_button'</a></li>';

      
// Simple Reply Button
      
if ($context['can_reply'] && !empty($options['display_quick_reply']))
      echo 
'
               <li><a href="#quickreply">'
$respond_button'</a></li>';
      else
      echo 
'
               <li><a href="'
$scripturl '?action=post;topic=' $context['current_topic'] . '.' $context['start'] . ';num_replies=' $context['num_replies'], '">'$respond_button'</a></li>';
               
               
// Can they reply? Have they turned on quick reply?
if ($context['can_reply'] && !empty($options['display_quick_reply']))
echo '
<li><a href="'
$scripturl'?action=post;quote='$message['id'], ';topic='$context['current_topic'], '.'$context['start'], ';num_replies='$context['num_replies'], ';'$context['session_var'], '='$context['session_id'], '" onclick="return oQuickReply.quote('$message['id'], ', \''$context['session_id'], '\', true);">'$reply_button'</a></li>';

// So... quick reply is off, but they *can* reply?
elseif ($context['can_reply'])
echo '
<li><a href="'
$scripturl'?action=post;quote='$message['id'], ';topic='$context['current_topic'], '.'$context['start'], ';num_replies='$context['num_replies'], ';'$context['session_var'], '='$context['session_id'], '">'$reply_button'</a></li>';

// Can the user modify the contents of this post?
if ($message['can_modify'])
echo '
<li><a href="'
$scripturl'?action=post;msg='$message['id'], ';topic='$context['current_topic'], '.'$context['start'], ';'$context['session_var'], '='$context['session_id'], '">'$modify_button'</a></li>';

// How about... even... remove it entirely?!
if ($message['can_remove'])
echo '
<li><a href="'
$scripturl'?action=deletemsg;topic='$context['current_topic'], '.'$context['start'], ';msg='$message['id'], ';'$context['session_var'], '='$context['session_id'], '" onclick="return confirm(\''$txt['remove_message'], '?\');">'$remove_button'</a></li>';

// What about splitting it off the rest of the topic?
if ($context['can_split'])
echo '
<li><a href="'
$scripturl'?action=splittopics;topic='$context['current_topic'], '.0;at='$message['id'], '">'$split_button'</a></li>';

// Can we restore topics?
if ($context['can_restore_msg'])
echo '
<li><a href="'
$scripturl'?action=restoretopic;msgs='$message['id'], ';'$context['session_var'], '='$context['session_id'], '">'$restore_message_button'</a></li>';

// Show a checkbox for quick moderation?
if (!empty($options['display_quick_mod']) && $options['display_quick_mod'] == && $message['can_remove'])
echo '
<li style="display: none;" id="in_topic_mod_check_'
$message['id'], '"></li>';

// Show the post itself, finally!
echo '
</ul>'
;

if ($ignoring)
echo '<div id="msg_'$message['id'], '_ignored_prompt" style="display: none; clear: left">'$txt['ignoring_user'], '  <a href="#msg'$message['id'], '" onclick="return ignoreToggles['$message['id'], '].toggle()">'$txt['show_ignore_user_post'], '</a></div>';

echo '
<div class="post" id="msg_'
$message['id'], '"''>';

if (!$message['approved'] && $message['member']['id'] != && $message['member']['id'] == $context['user']['id'])
echo '
<div class="approve_post">
'
$txt['post_awaiting_approval'], '
</div>'
;
echo '
<div class="inner">'
$message['body'], '</div>
</div>'
$message['can_modify'] ? '
<img src="' 
$settings['images_url'] . '/icons/modify_inline.gif" alt="" title="' $txt['modify_msg'] . '" class="modifybutton" id="modify_button_' $message['id'] . '" style="cursor: ' . ($context['browser']['is_ie5'] || $context['browser']['is_ie5.5'] ? 'hand' 'pointer') . '; display: none;" onclick="oQuickModify.modifyMsg(\'' $message['id'] . '\', \'' $context['session_id'] . '\')" />' '';

// Now for the attachments, signature, ip logged, etc...
echo '
<div id="msg_'
$message['id'], '_footer" class="attachments smalltext">';

// Assuming there are attachments...
if (!empty($message['attachment']))
{
echo '
<hr width="100%" size="1" class="hrcolor" />
<div style="overflow: '
$context['browser']['is_firefox'] ? 'visible' 'auto''; width: 100%;">';
$last_approved_state 1;
foreach ($message['attachment'] as $attachment)
{
// Show a special box for unapproved attachments...
if ($attachment['is_approved'] != $last_approved_state)
{
$last_approved_state 0;
echo '
<fieldset>
<legend>'
$txt['attach_awaiting_approve'], '&nbsp;[<a href="'$scripturl'?action=attachapprove;sa=all;mid='$message['id'], ';'$context['session_var'], '='$context['session_id'], '">'$txt['approve_all'], '</a>]</legend>';
}

if ($attachment['is_image'])
{
if ($attachment['thumbnail']['has_thumb'])
echo '
<a href="'
$attachment['href'], ';image" id="link_'$attachment['id'], '" onclick="'$attachment['thumbnail']['javascript'], '"><img src="'$attachment['thumbnail']['href'], '" alt="" id="thumb_'$attachment['id'], '" border="0" /></a><br />';
else
echo '
<img src="' 
$attachment['href'] . ';image" alt="" width="' $attachment['width'] . '" height="' $attachment['height'] . '" border="0" /><br />';
}
echo '
<a href="' 
$attachment['href'] . '"><img src="' $settings['images_url'] . '/icons/clip.gif" align="middle" alt="*" border="0" />&nbsp;' $attachment['name'] . '</a> ';

if (!$attachment['is_approved'])
echo '
[<a href="'
$scripturl'?action=attachapprove;sa=approve;aid='$attachment['id'], ';'$context['session_var'], '='$context['session_id'], '">'$txt['approve'], '</a>]&nbsp;|&nbsp;[<a href="'$scripturl'?action=attachapprove;sa=reject;aid='$attachment['id'], ';'$context['session_var'], '='$context['session_id'], '">'$txt['delete'], '</a>] ';
echo '
('
$attachment['size'], ($attachment['is_image'] ? ', ' $attachment['real_width'] . 'x' $attachment['real_height'] . ' - ' $txt['attach_viewed'] : ' - ' $txt['attach_downloaded']) . ' ' $attachment['downloads'] . ' ' $txt['attach_times'] . '.)<br />';
}

// If we had unapproved attachments clean up.
if ($last_approved_state == 0)
echo '
</fieldset>'
;

echo '
</div>'
;
}

echo '
</div>
</div>
<div class="moderatorbar">
<div class="smalltext floatleft" id="modified_'
$message['id'], '">';

// Show "« Last Edit: Time by Person »" if this post was edited.
if ($settings['show_modify'] && !empty($message['modified']['name']))
echo '
&#38;#171; <em>'
$txt['last_edit'], ': '$message['modified']['time'], ' '$txt['by'], ' '$message['modified']['name'], '</em> &#38;#187;';

echo '
</div>
<div class="smalltext largepadding floatright">'
;

// Maybe they want to report this post to the moderator(s)?
if ($context['can_report_moderator'])
echo '
<a href="'
$scripturl'?action=reporttm;topic='$context['current_topic'], '.'$message['counter'], ';msg='$message['id'], '">'$txt['report_to_mod'], '</a> &nbsp;';

// Can we issue a warning because of this post?  Remember, we can't give guests warnings.
if ($context['can_issue_warning'] && !$message['is_message_author'] && !$message['member']['is_guest'])
echo '
<a href="'
$scripturl'?action=profile;area=issuewarning;u='$message['member']['id'], ';msg='$message['id'], '"><img src="'$settings['images_url'], '/warn.gif" alt="'$txt['issue_warning_post'], '" title="'$txt['issue_warning_post'], '" border="0" /></a>';
echo '
<img src="'
$settings['images_url'], '/ip.gif" alt="" border="0" />';

// Show the IP to this user for this post - because you can moderate?
if ($context['can_moderate_forum'] && !empty($message['member']['ip']))
echo '
<a href="'
$scripturl'?action=trackip;searchip='$message['member']['ip'], '">'$message['member']['ip'], '</a> <a href="'$scripturl'?action=helpadmin;help=see_admin_ip" onclick="return reqWin(this.href);" class="help">(?)</a>';
// Or, should we show it because this is you?
elseif ($message['can_see_ip'])
echo '
<a href="'
$scripturl'?action=helpadmin;help=see_member_ip" onclick="return reqWin(this.href);" class="help">'$message['member']['ip'], '</a>';
// Okay, are you at least logged in?  Then we can show something about why IPs are logged...
elseif (!$context['user']['is_guest'])
echo '
<a href="'
$scripturl'?action=helpadmin;help=see_member_ip" onclick="return reqWin(this.href);" class="help">'$txt['logged'], '</a>';
// Otherwise, you see NOTHING!
else
echo '
'
$txt['logged'];
echo '
</div>'
;
// Show the member's signature?
if (!empty($message['member']['signature']) && empty($options['show_no_signatures']) && $context['signature_enabled'])
echo '
<div class="signature">'
$message['member']['signature'], '</div>';
echo '
</div>
</div>
</div>'
;
}
echo '
</form>'
;
echo '
</div>
<a name="lastPost"></a>'
;
echo '
<div class="clearfix marginbottom" id="postbuttons_lower">
<div class="middletext floatleft">'
$txt['pages'], ': '$context['page_index'], !empty($modSettings['topbottomEnable']) ? $context['menu_separator'] . ' &nbsp;&nbsp;<a href="#top"><strong>' $txt['go_up'] . '</strong></a>' '''</div>
<div class="nav floatright">'
template_button_strip($normal_buttons'top'), '</div>
<div style="clear: both;">'
$context['previous_next'], '</div>
</div>'
;
if ($settings['linktree_inline'])
theme_linktree();
$mod_buttons = array(
'move' => array('test' => 'can_move''text' => 'move_topic''image' => 'admin_move.gif''lang' => true'url' => $scripturl '?action=movetopic;topic=' $context['current_topic'] . '.0'),
'delete' => array('test' => 'can_delete''text' => 'remove_topic''image' => 'admin_rem.gif''lang' => true'custom' => 'onclick="return confirm(\'' $txt['are_sure_remove_topic'] . '\');"''url' => $scripturl '?action=removetopic2;topic=' $context['current_topic'] . '.0;' $context['session_var'] . '=' $context['session_id']),
'lock' => array('test' => 'can_lock''text' => empty($context['is_locked']) ? 'set_lock' 'set_unlock''image' => 'admin_lock.gif''lang' => true'url' => $scripturl '?action=lock;topic=' $context['current_topic'] . '.' $context['start'] . ';' $context['session_var'] . '=' $context['session_id']),
'sticky' => array('test' => 'can_sticky''text' => empty($context['is_sticky']) ? 'set_sticky' 'set_nonsticky''image' => 'admin_sticky.gif''lang' => true'url' => $scripturl '?action=sticky;topic=' $context['current_topic'] . '.' $context['start'] . ';' $context['session_var'] . '=' $context['session_id']),
'merge' => array('test' => 'can_merge''text' => 'merge''image' => 'merge.gif''lang' => true'url' => $scripturl '?action=mergetopics;board=' $context['current_board'] . '.0;from=' $context['current_topic']),
'calendar' => array('test' => 'calendar_post''text' => 'calendar_link''image' => 'linktocal.gif''lang' => true'url' => $scripturl '?action=post;calendar;msg=' $context['topic_first_message'] . ';topic=' $context['current_topic'] . '.0;' $context['session_var'] . '=' $context['session_id']),
);
// Restore topic. eh?  No monkey business.
if ($context['can_restore_topic'])
$mod_buttons[] = array('text' => 'restore_topic''image' => '''lang' => true'url' => $scripturl '?action=restoretopic;topics=' $context['current_topic'] . ';' $context['session_var'] . '=' $context['session_id']);
echo '
<div id="moderationbuttons">'
template_button_strip($mod_buttons'bottom'), '</div>';
// Show the jumpto box, or actually...let Javascript do it.
echo '
<div class="tborder">
<div class="titlebg2" style="padding: 4px;" align="'
, !$context['right_to_left'] ? 'right' 'left''" id="display_jump_to">&nbsp;</div>
</div><br />'
;
if ($context['can_reply'] && !empty($options['display_quick_reply']))
{
echo '
<a name="quickreply"></a>
<div class="tborder" id="quickreplybox">
<h3 class="catbg headerpadding">
<a href="javascript:oQuickReply.swap();">
<img src="'
$settings['images_url'], '/'$options['display_quick_reply'] == 'collapse' 'expand''.gif" alt="+" id="quickReplyExpand" />
</a>
<a href="javascript:oQuickReply.swap();">'
$txt['quick_reply'], '</a>
</h3>
<div class="smallpadding windowbg" id="quickReplyOptions"'
$options['display_quick_reply'] == '' ' style="display: none"''>
<div class="smallpadding floatleft" id="quickReplyWarning">
'
$txt['quick_reply_desc'], $context['is_locked'] ? '<p><strong>' $txt['quick_reply_warning'] . '</strong></p>' ''$context['oldTopicError'] ? '<p><strong>' sprintf($txt['error_old_topic'], $modSettings['oldTopicDays']) . '</strong></p>' '''
</div>
<div id="quickReplyContent">'
$context['can_reply_approved'] ? '' '<em>' $txt['wait_for_approval'] . '</em>''
'
, !$context['can_reply_approved'] && $context['verification_message'] ? '<br />' '''
'
$context['verification_message'] ? '<span class="smalltext">' $context['verification_message'] . '</span>' '''
<form action="'
$scripturl'?action=post2" method="post" accept-charset="'$context['character_set'], '" name="postmodify" id="postmodify" onsubmit="submitonce(this);" style="margin: 0;">
<input type="hidden" name="topic" value="'
$context['current_topic'], '" />
<input type="hidden" name="subject" value="'
$context['response_prefix'], $context['subject'], '" />
<input type="hidden" name="icon" value="xx" />
<input type="hidden" name="from_qr" value="1" />
<input type="hidden" name="notify" value="'
$context['is_marked_notify'] || !empty($options['auto_notify']) ? '1' '0''" /><br 
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on May 15, 2009, 03:51:55 PM
I don't see anything wrong with it - can you take a screenshot of what you see and attach it to a post? I'm at work, so I unfortunately can't go to many links :P
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: njdevils28 on May 15, 2009, 03:58:13 PM
Sure....

Oh - and thanks for the attention your giving me... :)

Here is the same post.  Different Theme
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on May 15, 2009, 04:11:02 PM
No problem :)

You need to upload the five images from the mod package to your custom theme's /images/ folder.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: njdevils28 on May 15, 2009, 04:22:42 PM
Quote from: Fustrate on May 15, 2009, 04:11:02 PM
No problem :)

You need to upload the five images from the mod package to your custom theme's /images/ folder.

Sweet!!!!!

You Rock Bud!!!


Thanks
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on May 15, 2009, 07:11:29 PM
Quote from: Lex-BY on May 11, 2009, 01:19:57 PM
Hello. :)
I have translated this wonderful mod to the Russian language.
Based on official Russian localization of SMF v1-1-8.
Translation is in attach.

BtW... Under SMF 1.1.8 there are no such strings in ModSettings.english.php:

$txt['core_settings_item_k'] = 'Karma';
$txt['core_settings_item_k_desc'] = 'Karma is a feature that shows the popularity of a member. Members, if allowed, can \'applaud\' or \'smite\' other members, which is how their popularity is calculated.';

So fix your package.
Russian has now been added to the 1.1.x package, and those two strings are taken out of it now.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Enders on May 16, 2009, 12:02:23 PM
What determines how many points are given when you rep someone?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on May 16, 2009, 12:52:26 PM
Your reputation power. If you have a power level of 47, they get 47 points. By default, you need 100 points to get 1 power.

You might want to give your admins and moderators 10000 points each in their profile, so they get 100 power and give really jumpstart the system.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: madglee on May 17, 2009, 01:02:40 PM
I've been following along through these posts, but cannot figure how to get this mod to work. I am using the custom theme Streamline. Nowhere can I find any check box that says "Install in Other Themes," so the thing keeps getting installed to the SMF default theme. Can someone please describe where this box is?

Or maybe I am misunderstanding, and to use this mod with custom themes you have to look at the parser and manually edit all those files?

Thanks!
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on May 17, 2009, 01:34:03 PM
If you're on SMF 1.1.8, you always have to do manual theme edits. If you're on 2.0, there should be a bar at the bottom of the install screen that, when expanded, lists your other themes with check boxes.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: madglee on May 17, 2009, 01:43:40 PM
Oh, I'm on 1.1.8, so I have to do manual edits.

Everything seems to be working with no modification, as long as I add the images to the theme, except that there is no way to subtract reputation.

Also:
Is there some way to put the images directly below the Reputation Power so that they're obvious?

Is there some way to make the administrator immune to having to wait an hour (the box IS unchecked in the options) or having to rep some amount of people.

The javascript popup does not work for me with FF3, Safari, or Chrome. I even tried turning off popup blockers, but that doesn't do anything. It just goes to another page, instead.

I did follow the instructions and check everything that was supposed to be checked.

Any suggestions? Thanks.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: ItsNatalie on May 17, 2009, 04:55:50 PM
I'm using SMF 1.1.8. and I'm only able to read the first page when I click "view reputation", there are two more pages. Any ideas?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on May 17, 2009, 05:13:16 PM
ItsNatalie - So the pagination at the bottom shows 1 2 3 but the second two don't do anything?

madglee -
QuoteIs there some way to put the images directly below the Reputation Power so that they're obvious?
You just need to rearrange it in the Display.template.php file.
QuoteIs there some way to make the administrator immune to having to wait an hour (the box IS unchecked in the options) or having to rep some amount of people.
You'd have to edit the /Sources/Karma.php file - attach it here and I'll make the edits.
QuoteThe javascript popup does not work for me with FF3, Safari, or Chrome. I even tried turning off popup blockers, but that doesn't do anything. It just goes to another page, instead.
Do a hard refresh (ctrl-shift-r or smd-shift-r on a mac), and if that doesn't work, make sure your theme's script.js file was edited correctly.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: madglee on May 17, 2009, 05:34:43 PM
Quote
Is there some way to put the images directly below the Reputation Power so that they're obvious?
You just need to rearrange it in the Display.template.php file.
Okay, I'll try to figure that out.

QuoteIs there some way to make the administrator immune to having to wait an hour (the box IS unchecked in the options) or having to rep some amount of people.
You'd have to edit the /Sources/Karma.php file - attach it here and I'll make the edits.
Attached.
QuoteThe javascript popup does not work for me with FF3, Safari, or Chrome. I even tried turning off popup blockers, but that doesn't do anything. It just goes to another page, instead.
Do a hard refresh (ctrl-shift-r or smd-shift-r on a mac), and if that doesn't work, make sure your theme's script.js file was edited correctly.
After doing a ctrl-shift-r, it no longer goes to another page, and it makes the little box, but it puts it at the very top of the page; it's still not a pop-up and it doesn't automatically scroll to it; I had to scroll up to find it. Hmm. I found another post and pasted

.repbars img
{
   padding: 0 1px 0 0;
}

#reputation_menu{
   position: absolute;
   border: 1px solid black;
   z-index: 100;
}
  into my stylesheet and that fixed that issue.

I attached the Karma.php file and the default theme's script.js file - Even with the default theme it doesn't work for me, and my Streamline theme doesn't have any such script.js file anyway. The default one appears to have added in what you'd specified in the parser.

I still don't see any negative rep ability, unless clicking that heart and then hitting "disagree" is supposed to be negative rep.

Thanks so much for your help.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: ItsNatalie on May 17, 2009, 06:55:26 PM
Quote from: Fustrate on May 17, 2009, 05:13:16 PM
ItsNatalie - So the pagination at the bottom shows 1 2 3 but the second two don't do anything?
Quote

Exactly. Clicking the last two bring me back to the profile summary, not the list of reputation.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on May 17, 2009, 07:04:53 PM
so the view page is sa= but the links go to area=?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: ItsNatalie on May 18, 2009, 12:33:11 PM
Quote from: Fustrate on May 17, 2009, 07:04:53 PM
so the view page is sa= but the links go to area=?

I'm admittedly confused by the question.  :-[
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: ოկtђ on May 19, 2009, 07:45:57 AM
I would like permission to translate this mod  into Turkish.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Maxtor on May 19, 2009, 08:53:30 AM
Errors while setup:

10. Execute Modification ./Sources/Display.php Test failed

and then:

Database Error
Can't DROP 'PRIMARY'; check that column/key exists
File: /home/maxt0ras/public_html/forum/Packages/temp/install.php
Line: 126

Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on May 19, 2009, 10:41:52 AM
Quote from: ItsNatalie on May 18, 2009, 12:33:11 PM
Quote from: Fustrate on May 17, 2009, 07:04:53 PM
so the view page is sa= but the links go to area=?

I'm admittedly confused by the question.  :-[
I found the problem and will release an upgrade in a few hours when I get home from work.
Quote from: Mythcomeback | Burak on May 19, 2009, 07:45:57 AM
I would like permission to translate this mod  into Turkish.
That would be awesome :)
Quote from: maxtor on May 19, 2009, 08:53:30 AM
Errors while setup:

10. Execute Modification ./Sources/Display.php Test failed

and then:

Database Error
Can't DROP 'PRIMARY'; check that column/key exists
File: /home/maxt0ras/public_html/forum/Packages/temp/install.php
Line: 126
Do you have any other karma mods installed? This doesn't play nicely with anything else that touches the karma system.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Maxtor on May 19, 2009, 11:10:53 AM
Quote from: Fustrate on May 17, 2009, 07:04:53 PM
Quote from: maxtor on May 19, 2009, 08:53:30 AM
Errors while setup:

10. Execute Modification ./Sources/Display.php Test failed

and then:

Database Error
Can't DROP 'PRIMARY'; check that column/key exists
File: /home/maxt0ras/public_html/forum/Packages/temp/install.php
Line: 126
Do you have any other karma mods installed? This doesn't play nicely with anything else that touches the karma system.

Yes Karma Description Mod .  i have uninstalled it successfully and i still get this error.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Sudhakar Arjunan on May 19, 2009, 01:11:53 PM
HI Fustrate ,

We are working with the below url.

http://www.simplemachines.org/community/index.php?topic=230676.msg2004743#msg2004743

Today i have tried to clean up my forum.

I had two packages, one said 1.7.4 and one said 1.7.3

I have uninstalled 1.7.4, it showed me some error on stats.template page.

After uninstall, i have manually edited those lines carefully by checking the parse on smf site.

Now on the browse package , there are three mods,

40.     Advanced Reputation System  1.7.4      [ Upgrade ]  [ List Files ]  [ Delete ]
41.    Advanced Reputation System    1.7.3    [ Uninstall ] [ List Files ] [ Delete ]

When i click upgrade, or uninstall.

All showing Test Failed.

What i have to do now.

---------------- Error logs shows ---------

http://siteforum.com/index.php?action=profile;u=1
Apply Filter: Only show the errors with the same message
Database Error: Unknown column 'mem.karma_disabled' in 'field list'
Apply Filter: Only show the errors from this file
File: /home/site/public_html/forum/Sources/Load.php
Line: 1023

------------ I have cleared the error log, just went to load.php and removed  'mem.karma_disabled,'---

But what we could do about the uninstall issue.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: ოկtђ on May 20, 2009, 12:19:23 PM
Turkish translate is in attach.Based on official turkish localization of SMF 2.0 RC1
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on May 20, 2009, 12:33:34 PM
The zip file doesn't seem to work... can you post each of the files as attachments instead maybe?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: ოկtђ on May 20, 2009, 12:47:32 PM
Sure
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: lazanya on May 21, 2009, 05:28:06 AM
where is the mod? there isn't a file here, http://custom.simplemachines.org/mods/index.php?mod=1129
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Sudhakar Arjunan on May 21, 2009, 06:32:04 AM
Hi Admin,

Why there is no update here.

I have uninstalled it still it shows some error on the install file. http://www.simplemachines.org/community/index.php?topic=230676.msg2067417#msg2067417
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on May 21, 2009, 01:31:45 PM
Quote from: lazanya on May 21, 2009, 05:28:06 AM
where is the mod? there isn't a file here, http://custom.simplemachines.org/mods/index.php?mod=1129
The mod site was broken by the upgrade to 2.0 RC1-1.

A.SK - if it's doing that, I'd suggest manually uninstalling (and running the uninstall script from the package) and just clicking [Delete] there, and then installing 1.7.4
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: lazanya on May 21, 2009, 01:52:55 PM
ok
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on May 21, 2009, 02:39:21 PM
You can go here (http://www.fustrate.com/dev/sources/Advanced%20Reputation%20System/) and choose the version, and then click "Download This Modification".
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: ოկtђ on May 22, 2009, 08:28:03 AM
Fustrate, did you add to package  Turkish language?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on May 22, 2009, 12:36:51 PM
I'm still figuring out how to do both UTF-8 and regular (entities) with just the UTF-8 ones you sent me. Languages are confusing to me ;)

Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: ოկtђ on May 22, 2009, 01:05:32 PM
Oh yeah!
I am sorry
Turkish-utf8

<?xml version="1.0"?>
<!DOCTYPE modification SYSTEM "http://www.simplemachines.org/xml/modification">
<modification xmlns="http://www.simplemachines.org/xml/modification" xmlns:smf="http://www.simplemachines.org/">
    <id>Mythcomeback:SMFreputationturkish</id>
    <version>1.7.4</version>

<file name="$languagedir/Admin.turkish.php">
    <operation>
        <search position="replace"><![CDATA[$txt['karma'] = 'Karma';]]></search>
        <add><![CDATA[$txt['karma'] = 'Rep Puanı';]]></add>
    </operation>
</file>

<file name="$languagedir/Errors.turkish.php">
    <operation>
        <search position="replace"><![CDATA[
$txt['not_enough_posts_karma'] = 'Ãœzgünüz ama karma düzenlemek i çin yeterli ileti sayısına sahip deÄŸilsiniz - sahip olmanız gereken en az ileti sayısı: %1$d.';
$txt['cant_change_own_karma'] = 'Kendi karmanızıdüzenleyemezsiniz.';
$txt['karma_wait_time'] = 'Ãœzgünüz fakat %1$s %2$s beklemeden karma düzeneleyemezsiniz.';]]></search>
        <add><![CDATA[
$txt['not_enough_posts_karma'] = 'Ãœzgünüm, rep puanıverebilmek i çin gerekli sayıda mesajın yok.Gereken mesaj sayısı: %1$d.';
$txt['cant_change_own_karma'] = 'Maalesef kendi rep puanınızıdeÄŸiÅŸtiremezsiniz.';
$txt['karma_wait_time'] = 'Ãœzgünüm, aynıkiÅŸiye 2. kez rep puanıvermek i çin beklemeniz gerekir.Beklemeniz gereken süre %1$s %2$s.';]]></add>
    </operation>
    <operation>
        <search position="end" />
        <add><![CDATA[
// Advanced Reputation System
$txt['karma_title'] = 'Rep';
$txt['karma_power'] = 'Rep gücü';
$txt['karma_add_to'] = 'Rep ver';
$txt['karma_your_opinion'] = 'Bu mesaj hakkında düÅŸüncelerin?';
$txt['add_karma'] = 'Rep ver';
$txt['submit'] = 'GÖnder';
$txt['comment'] = 'Yorum';
$txt['karma_agree'] = 'BeÄŸendim';
$txt['karma_disagree'] = 'BeÄŸenmedim';]]></add>
    </operation>
</file>

<file name="$languagedir/Help.turkish.php">
    <operation>
        <search position="replace"><![CDATA[
$helptxt['karmaMode'] = 'Karma bir üyenin popülerliÄŸini gÖstermeye yarar. &quot;Karma&quot; vermek i çin gerekli olan mesaj sayısını,
        karmalar arasında ge çmesi gerek süreyi deÄŸiÅŸtirebilirsiniz.<br /><br />Ä°zinlerden gerekli ayarlarda yapılabilir.';
]]></search>
        <add><![CDATA[
$helptxt['karmaMode']  = 'Rep puanıbir üyenin popülerliÄŸini gÖstermeye yarar. &quot;Rep&quot; vermek i çin gerekli olan mesaj sayısını,
        karmalar arasında ge çmesi gerek süreyi deÄŸiÅŸtirebilirsiniz.<br /><br />Ä°zinlerden gerekli ayarlarda yapılabilir.';]]></add>
    </operation>
</file>

<file name="$languagedir/index.turkish.php">
    <operation>
        <search position="end" />
        <add><![CDATA[
// Advanced Reputation System
$txt['karma_title'] = 'Rep';
$txt['karma_power'] = 'Rep gücü';
$txt['karma_add_to'] = 'Rep ver';
$txt['karma_your_opinion'] = 'Bu mesaj hakkında düÅŸüncelerin?';
$txt['add_karma'] = 'Rep ver';
$txt['submit'] = 'GÖnder';
$txt['comment'] = 'Yorum';
$txt['karma_agree'] = 'BeÄŸendim';
$txt['karma_disagree'] = 'BeÄŸenmedim';]]></add>
    </operation>
</file>

<file name="$languagedir/Install.turkish.php">
    <operation>
        <search position="replace"><![CDATA[$txt['default_karmaLabel'] = 'Karma';]]></search>
        <add><![CDATA[$txt['default_karmaLabel'] = 'Rep puanı';]]></add>
    </operation>
</file>

<file name="$languagedir/ManageScheduledTasks.turkish.php">
    <operation>
        <search position="before"><![CDATA[
$txt['scheduled_task_desc_paid_subscriptions'] = 'Ãœcretli abonelik hatırlatmalarıgÖnderir ve süresi dolmuÅŸ abonelikleri kaldırır.';]]></search>
        <add><![CDATA[
$txt['scheduled_task_karma_birthdays'] = 'DoÄŸumgünüRepi';
$txt['scheduled_task_desc_karma_birthdays'] = 'Kullanıcının doÄŸum gününde ona hediye olarak verilecek rep puanı.';]]></add>
    </operation>
</file>

<file name="$languagedir/ManagePermissions.turkish.php">
    <operation>
        <search position="replace"><![CDATA[
$txt['permissionname_karma_edit'] = 'KiÅŸilerin karmasınıdeÄŸiÅŸtirebilir';
$txt['permissionhelp_karma_edit'] = 'Karma bir üyenin popülerliÄŸini gÖstermeye yarar. Bu ÖzelliÄŸi kullanabilmeniz i çin \'Se çenekler ve Opsiyonlar\' kısmından izini ayarlamanız gerekir. Bu izin sayesinde kullanıcılar oy verebileceklerdir. Ziyaret çiler bu izinden mahrumdurlar.';        <add><![CDATA[
$txt['permissionname_karma_edit'] = 'KiÅŸilerin rep puanınıdeÄŸiÅŸtirebilir.';
$txt['permissionhelp_karma_edit'] = 'Rep puanıpopulerlik gÖsteren bir Özelliktir. Bu ÖzelliÄŸi kullanmak istiyorsanız,  \'Özellikler ve se çeneklerden\' etkinleÅŸtirmelisiniz. Bu izin üyelerin bundan yararlanmasına olanak saÄŸlar. Ziyaret çilerin buna yetkisi yoktur.';
    </operation>
    <operation>
        <search position="end" />
        <add><![CDATA[
// Advanced Reputation System
$txt['permissionname_disable_karma_display'] = 'Rep puanlamasınıkendin i çin devre dışıbırak.';
$txt['permissionhelp_disable_karma_display'] = 'Bunu se çen kullanıcırep puanınıkendisi i çin devre dışıbırakır.';
$txt['permissionname_negative_karma'] = 'DiÄŸer kullanıcılara eksi rep verebilir.';
$txt['permissionhelp_negative_karma'] = 'DiÄŸer kullanıcılara eksi rep verebilir mi? Bazen ücretli aboneliÄŸe teÅŸvik etmek i çin bunu normal kullanıcılarda devre dışıbırakabilirsiniz.';
$txt['permissionname_positive_karma'] = 'DiÄŸer kullanıcılara artırep verebilir mi?';
$txt['permissionhelp_positive_karma'] = 'DiÄŸer kullanıcılara artırep verebilir mi? .';
$txt['permissionname_delete_karma'] = 'Rep iÅŸlemini sil.';
$txt['permissionhelp_delete_karma'] = 'VerdiÄŸin rep puanınıgeri almak i çindir.';]]>
</add>
    </operation>
</file>

<file name="$languagedir/ManageSettings.turkish.php">
    <operation>
        <search position="replace"><![CDATA[
$txt['karmaMode'] = 'Karmanın iÅŸleyiÅŸi';
$txt['karma_options'] = 'Devre dışıbırak|Toplam karma|Pozitif/negatif karma';
$txt['karmaMinPosts'] = 'KarmayıdeÄŸiÅŸtirebilmek i çin sahip olunmasıgereken en az ileti sayısı';
$txt['karmaWaitTime'] = 'Karmayıtekrar deÄŸiÅŸtirebilmek i çin gereken süre';
$txt['karmaTimeRestrictAdmins'] = 'Süre sınırlamasınıyÖneticiler i çinde aktif et';
$txt['karmaLabel'] = 'Karma etiketi';
$txt['karmaApplaudLabel'] = 'Karma artırma etkiketi';
$txt['karmaSmiteLabel'] = 'Karma azaltma etkiketi';]]></search>
        <add><![CDATA[
$txt['karmaMode'] = 'Rep puanının iÅŸleyiÅŸi';
$txt['karma_options'] = 'Devre dışıbırak|Toplam karma|Pozitif/negatif rep';
$txt['karmaMinPosts'] = 'Rep puanınıdeÄŸiÅŸtirebilmek i çin sahip olunmasıgereken en az ileti sayısı';
$txt['karmaWaitTime'] = 'Rep puanınıtekrar deÄŸiÅŸtirebilmek i çin gereken süre';
$txt['karmaTimeRestrictAdmins'] = 'Süre sınırlamasınıyÖneticiler i çinde aktif et';
$txt['karmaLabel'] = 'Rep etiketi';
$txt['karmaApplaudLabel'] = 'Rep artırma etkiketi';
$txt['karmaSmiteLabel'] = 'Rep azaltma etkiketi';]]></add>
    </operation>
0,    <operation>
        <search position="replace"><![CDATA[
$txt['core_settings_item_k'] = 'Karma';
$txt['core_settings_item_k_desc'] = 'Karma üyelerin popülerliÄŸini gÖsteren  bir Özelliktir (Reputation ve Rep olarakta bilinmektedir). Ãœyeler, izin verildiÄŸi takdirde, diÄŸer üyelerin karmasını\'artırabilir\' veya \'azaltabilmektedirler\'.';]]></search>
        <add><![CDATA[
$txt['core_settings_item_k'] = 'Rep puanı';
$txt['core_settings_item_k_desc'] = 'Rep puanıüyelerin popülerliÄŸini gÖsteren  bir Özelliktir (Reputation ve itibar puanıolarakta bilinmektedir). Ãœyeler, izin verildiÄŸi takdirde, diÄŸer üyelerin rep puanını\'artırabilir\' veya \'azaltabilmektedirler\'.';]]></search>
    </operation>
    <operation>
        <search position="end" />
        <add><![CDATA[
// Advanced Reputation System
$txt['karmaBarPower'] = 'Rep gücüka ç rep puanında bir artsın?<br />
    <span style="font-size: smaller; padding: 3px;">Varsayılan 100</span>';
$txt['karmaBarPoints'] = 'Ka ç rep puanında resim sayısı1 artsın?<br />
    <span style="font-size: smaller; padding: 3px;">Varsayılan 1000</span>';
$txt['karmaDescriptions'] = 'Karma a çıklamaları- her a çıklama farklısatıra -<br />
    <span style="font-size: smaller; padding: 3px;">Bunlar resimlerde alt metin olarak kullanılacaktır.</span>';
$txt['karmaDisabledDescription'] = 'Kullanıların rep puanlarınıdevre dışıbırakmak i çin a çıklama.';
$txt['karmaNegativeDescription'] = 'Eksi rep puanıi çin a çıklama.';
$txt['karmaValuePost'] = 'Mesaj baÅŸına ka ç rep puanıverilsin?';
$txt['karmaValueThread'] = 'Konu baÅŸına ka ç rep puanıverilsin';
$txt['karmaRegistration'] = 'Yeni üyelere ka ç rep puanıverilsin?';
$txt['karmaBirthday'] = 'Ãœyelerin doÄŸum günlerinde alacaklarırep puanları';
$txt['karmaSpreadAround'] = 'Ka ç kiÅŸi bir kullanıcıya rep verme iÅŸlemini tekrarlayabilir?';
$txt['karmaMaxPerDay'] = 'Aynıkullanıcıya ka ç günde bir rep puanıverilebilir?';

$txt['karma_settings_desc'] = '<b>Rep puanı</b>: Kullanıcının paylaÅŸımlarının ne kadar kaliteli olduÄŸunu belirlemek i çin verilen puandır.<br />
<br />
<b>Rep Gücü</b>: . Kullanıcının rep gücüarttıkca verdiÄŸi rep puanının etkisi de artar. 0 olursa rep puanıveremez.';
]]></add>
    </operation>
</file>

<file name="$languagedir/Profile.turkish.php">
    <operation>
        <search position="end" />
        <add><![CDATA[
// Advanced Reputation System
$txt['user_disable_karma'] = 'Kendi rep puanıdevre dışıbırak';
$txt['user_disable_karma_description'] = 'Rep puanınız diÄŸer kullanıcılara gÖrünmez, ancak siz yinede puan alır veya kaybedersiniz.';
$txt['reputation'] = 'Rep işlemlerini gÖr';
$txt['karma_latest_title'] = 'Son rep iÅŸlemleri';
$txt['no_reputation_actions'] = 'Hi ç rep puanıvermemiÅŸ ve almamıÅŸsınız!';]]></add>
    </operation>
</file>

<file name="$languagedir/Reports.turkish.php">
    <operation>
        <search position="replace"><![CDATA[
$txt['group_perms_name_karma_edit'] = 'Kullanıcıkarmasınıdüzenleyebilir';]]></search>
        <add><![CDATA[
$txt['group_perms_name_karma_edit'] = 'Kullanıcırep puanınıdüzenleyebilir';]]></add>
    </operation>
</file>

<file name="$languagedir/Stats.turkish.php">
    <operation>
        <search position="replace"><![CDATA[
$txt['best_karma'] = 'En Ä°yi Karma';
$txt['worst_karma'] = 'En KÖtüKarma';]]></search>
        <add><![CDATA[
$txt['best_karma'] = 'Rep krallıÄŸı';
$txt['worst_karma'] = 'En KÖtüRep puanları';]]></add>
    </operation>
</file>

<file name="$languagedir/Modifications.english.php">
    <operation>
        <search position="end" />
        <add><![CDATA[
$txt['no_reputation_log'] = 'Hiç rep girdisi yok.';
$txt['reputation_log'] = 'Rep girdileri';
$txt['reputation_you'] = 'Siz';
$txt['reputation_sent'] = 'Rep iÅŸlemi baÅŸarılı';]]></add>
    </operation>
</file>

</modification>
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Sudhakar Arjunan on May 22, 2009, 01:36:47 PM
Quote from: Fustrate on May 21, 2009, 01:31:45 PM


A.SK - if it's doing that, I'd suggest manually uninstalling (and running the uninstall script from the package) and just clicking [Delete] there, and then installing 1.7.4

Thank you Author,

It had worked well for me.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: ItsNatalie on May 22, 2009, 02:41:04 PM
Quote from: Fustrate on May 21, 2009, 02:39:21 PM
You can go here (http://www.fustrate.com/dev/sources/Advanced%20Reputation%20System/) and choose the version, and then click "Download This Modification".

Does this include the update to fix the page problem? If so, which one do I download?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on May 22, 2009, 03:57:49 PM
download the 1.1.x version, upload it to your site, and click [Upgrade]. It will fix the page problem for you :)
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: MaNaRa on May 22, 2009, 07:03:00 PM
Hi, I have a problem in my theme... Im use this theme http://custom.simplemachines.org/themes/index.php?lemma=441 with 1.1.9 version... and I would put the reputation in the table above, under each users messages, but I get well...

(http://www.simplemachines.org/community/index.php?action=dlattach;topic=230676.0;attach=99510;image)


Can I help me, please?


This is my Display.Template.php and sorry my English
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: FluroJezza on May 23, 2009, 03:36:53 AM
Hello,

I was wondering how I would be able to add an extra Rep bar for good but not for bad. At the moment there is a
'karmaGood_basic' and a 'karmaGood_super' but I have designed my own which should come after super. I have named it
so that it fits with the others 'karmaGood_elite'.
Now my only trouble is getting it to work?
Currently when you have 13000 Reputation points you get 6 'basic' bars and 6 'super' bars, but if what I am asking is possible then you would have 6 'basic' and 'super' and 1 'elite' (but elite would have a maximum of 6 also (or 3)' I have seen a vBulletin forum which has this but they also have about 3 or so more extra bars.

Thanks for helping.

FluroJezza (Jeremy).
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: karanima on May 23, 2009, 07:04:44 AM
reputation when sending session failed to verify
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: zorro18 on May 24, 2009, 02:36:43 AM
Hi Frustrate,

Firstly, thanks for this beautiful mod!!

I have a small problem. I cannot see the reputation bars after installing the mod. This mod was installed on a different theme other than default. What should be done to see the reputation bars.?

Thanks in advance
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: madglee on May 24, 2009, 12:58:12 PM
Hi, are you still going to be able to fix this? I had attached the file(s) as you requested.

Thanks.

Quote from: madglee on May 17, 2009, 05:34:43 PM
Quote
Is there some way to put the images directly below the Reputation Power so that they're obvious?
You just need to rearrange it in the Display.template.php file.
Okay, I'll try to figure that out.

QuoteIs there some way to make the administrator immune to having to wait an hour (the box IS unchecked in the options) or having to rep some amount of people.
You'd have to edit the /Sources/Karma.php file - attach it here and I'll make the edits.
Attached.
QuoteThe javascript popup does not work for me with FF3, Safari, or Chrome. I even tried turning off popup blockers, but that doesn't do anything. It just goes to another page, instead.
Do a hard refresh (ctrl-shift-r or smd-shift-r on a mac), and if that doesn't work, make sure your theme's script.js file was edited correctly.
After doing a ctrl-shift-r, it no longer goes to another page, and it makes the little box, but it puts it at the very top of the page; it's still not a pop-up and it doesn't automatically scroll to it; I had to scroll up to find it. Hmm. I found another post and pasted

.repbars img
{
   padding: 0 1px 0 0;
}

#reputation_menu{
   position: absolute;
   border: 1px solid black;
   z-index: 100;
}
  into my stylesheet and that fixed that issue.

I attached the Karma.php file and the default theme's script.js file - Even with the default theme it doesn't work for me, and my Streamline theme doesn't have any such script.js file anyway. The default one appears to have added in what you'd specified in the parser.

I still don't see any negative rep ability, unless clicking that heart and then hitting "disagree" is supposed to be negative rep.

Thanks so much for your help.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: vika.vedy on May 25, 2009, 10:06:43 AM
Hi, Fustrate

I just installed your mod to my local SMF 1.1.9 and confused with one thing:
"karmaMaxPerDay" value totally ignored when I try to add reputation many times in small amount of time

Then I made small research and found, where was a problem in my opinion:

karma.php, line 274

// Used up all of their $modSettings['karmaMaxPerDay'] ?
if (!empty($modSettings['karmaMaxPerDay']) && ($modSettings['karmaMaxPerDay'] > 0))
{
// Find out if this user has done this in the past 24 hours.
$request = db_query("
SELECT logTime
FROM {$db_prefix}log_karma
WHERE ID_EXECUTOR = {$ID_MEMBER}
AND logTime >= {$hoursAgo}
LIMIT 1", __FILE__, __LINE__);
if (mysql_num_rows($request) >= $modSettings['karmaMaxPerDday']){ // but why would they be over?
mysql_free_result($request);
fatal_lang_error('karma_maxed_out', false, array($modSettings['karmaMaxPerday']));
}

// They're good on this one :) Continue on to the next test!
mysql_free_result($request);
}

First: "mysql_num_rows($request)" always return "1" value there because of "LIMIT 1" in SQL query!
Second: "$modSettings['karmaMaxPerdday']" returns empty value because of case sensitivity and should be a "$modSettings['karmaMaxPerDday']"

So, I changed the code to

// Used up all of their $modSettings['karmaMaxPerDay'] ?
if (!empty($modSettings['karmaMaxPerDay']) && ($modSettings['karmaMaxPerDay'] > 0))
{
// Find out if this user has done this in the past 24 hours.
$request = db_query("
SELECT logTime
FROM {$db_prefix}log_karma
WHERE ID_EXECUTOR = {$ID_MEMBER}
AND logTime >= {$hoursAgo}", __FILE__, __LINE__);
if (mysql_num_rows($request) >= $modSettings['karmaMaxPerDay']){ // but why would they be over?
mysql_free_result($request);
fatal_lang_error('karma_maxed_out', false, array($modSettings['karmaMaxPerDay']));
}

// They're good on this one :) Continue on to the next test!
mysql_free_result($request);
}


so, it works right way now.

Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: zorro18 on May 25, 2009, 03:03:54 PM
Hi Fustrate,

Sorry to bump. I have upgraded my forum to 2.0 RC 1-1 today. The problem with the bars still persist to me. I can only see the bars in default theme but not in the other themes. Kindly advice what has to be done to see the bars in different themes.

P.S: while applying the mod, I have selected to install in other themes too.

Thanks for your help
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on May 25, 2009, 06:10:10 PM
pnreddy - make sure the images from the package get put in your theme's /images/ folder, and make sure the Display.template.php edits were made in that theme's file.

vika - thanks, I'll look into that.

madglee - I'll look into it right now.

karanima - any more info? are there any errors in the error log? SMF version?

FluroJezza - you'd have to modify a few key portions of the code... I might work that into a later version, but it's a bit of a tricky thing to apply.

MaNaRa - looking into it.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on May 25, 2009, 10:05:01 PM
madglee - I've attached a new Karma.php. I pretty much just added a check for !$user_info['is_admin'] before the rest of the parts of the checks, so if you're an admin it doesn't do those checks. script.js looks fine though =\

vika - you are indeed correct. I'll try to push out a patch later today.

MaNaRa - Attached.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: MaNaRa on May 26, 2009, 12:00:52 AM
thank you so much, Fustrate
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: MrEd on May 26, 2009, 01:33:12 PM
Quote from: Fustrate on May 25, 2009, 06:10:10 PM

karanima - any more info? are there any errors in the error log? SMF version?

I may be having a similar issue.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: madglee on May 28, 2009, 12:49:58 PM
You rule. Thanks for taking the time to do that.

Quote from: Fustrate on May 25, 2009, 10:05:01 PM
madglee - I've attached a new Karma.php. I pretty much just added a check for !$user_info['is_admin'] before the rest of the parts of the checks, so if you're an admin it doesn't do those checks. script.js looks fine though =\

vika - you are indeed correct. I'll try to push out a patch later today.

MaNaRa - Attached.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: neteater on May 30, 2009, 10:46:08 PM
i dont know if am posting a duplicate but can someone tell me that is it possible to set maximum reputation for admin by default
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: baioslaio on May 31, 2009, 10:10:33 AM
Quote from: The_Wii_Nes_Boy on May 06, 2009, 08:05:10 PM
Dude.... A BIG, BIG thanks for fixing my issue!

If the Rep system was in use here I'd give you some but it's not :P

Thanks!
How diid you get it fixed?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: madglee on May 31, 2009, 07:11:51 PM
Hi Fustrate,

That karma.php you attached removes the wait for administrators with SMF 1.1.9 but it doesn't seem to work in RC2 1-1. Does that make sense? I tried Control-Shift-R but that doesn't seem to help.

Quote from: Fustrate on May 25, 2009, 10:05:01 PM
madglee - I've attached a new Karma.php. I pretty much just added a check for !$user_info['is_admin'] before the rest of the parts of the checks, so if you're an admin it doesn't do those checks. script.js looks fine though =\

vika - you are indeed correct. I'll try to push out a patch later today.

MaNaRa - Attached.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on June 01, 2009, 03:06:58 PM
baioslaio - iirc, he had disabled the option to show the little profile/pm/etc. buttons under the user's avatar, so I moved the code outside of the if()

madglee - if the file you sent me was from 1.1.x, it won't work on 2.0. You'd need to edit the 2.0 file in the same way.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: sAce on June 04, 2009, 02:13:02 PM
  Guest    03 Jun 2009, 05:52:48 PM
IP address 80.240.215.147    session 59d3919697821945ef82ff1924cdf3ba
URL /index.php?action=modifykarma


Guest 03 Jun 2009, 05:52:48 PM
IP address 80.240.215.147    session 59d3919697821945ef82ff1924cdf3ba
URL /index.php?action=modifykarma
8: Undefined index: feature_disabled
File: /Sources/Errors.php
Line: 365


hey guys , i am getting a lot off errors like the one above , mostly from guest ip, and very random as well, can anyone tell the problem location ?

i run 1.1.9 // and have disabled the rep setting
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: speedyuk7 on June 05, 2009, 08:16:45 PM
Very nice mod, got it working with some other profile mods although it took my like an hour to edit all together :D

Anyway, how can you make it so you MUST enter a comment to submit a reputation? Because now you can just give reputation without writing a comment
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: philcross on June 06, 2009, 02:03:40 AM

Help

I added the mod (for 2.0 RC1-1)

I get a screen with lots of info missing - see attached.

I also cannot change any permissions other than the one to allow members to post karma.

Ideas please?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on June 06, 2009, 02:26:43 AM
speedyuk - it requires a Karma.php edit, attach yours (from /Sources/) and I can make the edit for you.

philcross - are you sure the language strings were added to your language?

S-Ace - guests shouldn't be trying to access karma/reputation...

Side note, I've just finished class but I'm now without my laptop for about a week, and then I'm going to Boston, so I won't be around much.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: philcross on June 06, 2009, 02:37:57 AM

Quotephilcross - are you sure the language strings were added to your language?

The MOD uploaded just fine, with no errors so I guess so.

How best to double-check please?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on June 06, 2009, 02:42:40 AM
Does your forum use English, or English UTF-8, or some other language?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: philcross on June 06, 2009, 02:46:38 AM

erm - I believe its english_british

sorry, I really am new to this - how would I know?

thanks, and sorry again for being thick
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: sAce on June 06, 2009, 03:20:54 AM
Quote from: Fustrate on June 06, 2009, 02:26:43 AM

S-Ace - guests shouldn't be trying to access karma/reputation...


but the errors are being generated form guest ip only , and now members as well,
i installed atuo karma mod earlier, and havnt uninstalled it , can this be a problem?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: ოկtђ on June 06, 2009, 04:29:19 AM
Turkish translate is in attach.Based on official turkish localization of SMF1.1.9
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: speedyuk7 on June 06, 2009, 05:49:38 AM
Thank you for your help! You are a very kind person.
Here below I attach my file
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Twis7eD on June 07, 2009, 01:48:18 AM
How do I uninstall the other Karma features. I messed something up after installing and now I can't access my admin control panel. I get the error
QuoteParse error: syntax error, unexpected '*' in /home/insomni1/public_html/forums/Sources/Admin.php on line 405
Does anyone know how to fix this? Thanks. I don't care if I have to un install the mod, as long as I can get back into the admin control panel.

Edit: I fixed my first problem and then I uninstalled the mod and now I get the error
QuoteParse error: syntax error, unexpected ',' in /home/insomni1/public_html/forums/Sources/Admin.php on line 497
And when I try to go to any posts on my website I get the error
QuoteUnknown column 'mem.karma_disabled' in 'field list'
File: public_html/forums/Sources/Load.php
Line: 936
. Can anyone help please? Thanks.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: sAce on June 07, 2009, 07:18:05 AM
Quote from: errorshttp://forum.soumik-ace.com/index.php?action=modifykarma
8: Undefined index: m
File: /home/soumikac/public_html/smf/Sources/Karma.php
Line: 215

http://forum.soumik-ace.com/index.php?action=modifykarma
8: Undefined index: uid
File: /home/soumikac/public_html/smf/Sources/Karma.php
Line: 214

Quote from: lines-214-215
$uid = (int) $_POST['uid'];
$message_id = (int) $_POST['m'];

can any one explain how to get rid of this error ?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on June 07, 2009, 12:52:46 PM
philcross - you need to make the language edits from the mod to the files in /languages/ that are {filename}.english_british.php

S-Ace - I'd say auto karma mod is the problem. This mod doesn't work well with any other karma/reputation mods that I know of because of the amount of stuff it changes.

Mythcomeback | Burak - thanks :)

Twis7ed - You need to manually uninstall the reputation mod from Load.php

speedyuk7 - attached. There's a hardcoded text string you might want to change (right now it says "You need to enter a comment to send reputation!")
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: sAce on June 07, 2009, 12:55:49 PM
Quote from: Fustrate on June 07, 2009, 12:52:46 PM
S-Ace - I'd say auto karma mod is the problem. This mod doesn't work well with any other karma/reputation mods that I know of because of the amount of stuff it changes.

well the thing is i have already uninstalled that mod,
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: ოկtђ on June 07, 2009, 01:24:57 PM
not a all ;)
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: philcross on June 07, 2009, 02:17:20 PM
Quotephilcross - you need to make the language edits from the mod to the files in /languages/ that are {filename}.english_british.php

I reverted back to english language instead of english_british

Its OK now.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Twis7eD on June 07, 2009, 03:56:41 PM
Quote from: Fustrate
Twis7ed - You need to manually uninstall the reputation mod from Load.php
Is there anyway that you could give me some help with that or a tutorial on how to uninstall it manually? I know that it is probably pretty easy, but I'm not all that good with coding and stuff like that. Thanks.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: philcross on June 08, 2009, 02:12:02 AM

Was there an answer to this?

I wish to remove the negative too.

What exactly should I delete from which file.

Also, can someone give me the text to insert to force a reason for giving reputation - and the file to edit.

Thanks
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Kiana on June 09, 2009, 10:34:39 AM
This mod is awesome. :D The only trouble I have is whenever I view reputation, it doesn't show if it was positive or negative. Here (http://www.screenshotdumpster.com/img/j33K28618/Picture_3.png) is a screenshot of what I mean. The images are grey, not green or red. Any idea?

Thanks in advance. :)

Edit: On my next post, you'll see I realized what the problem was. Ignore this please. :-X
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Kyzer on June 09, 2009, 11:00:10 AM
Hey, i use this, and so far i love it, but is there a way to make someone get premoted to a new membergroup or title when they get a certain amount of rep?


Edit: i use 2.0 now
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: traveler1 on June 09, 2009, 11:52:07 AM
I am getting the following errors, so i guess it will not work on my setup?

10.     Execute Modification     ./Sources/Display.php     Test failed
      1.    Add After    ./Sources/Display.php    Test successful
      2.    Replace    ./Sources/Display.php    Test failed
      3.    Add After    ./Sources/Display.php    Test successful
*    11.    Execute Modification    ./Sources/Karma.php    Test successful
      1.    Add Before    ./Sources/Karma.php    Test successful
      2.    Replace    ./Sources/Karma.php    Test successful
      3.    Replace    ./Sources/Karma.php    Test successful
*    12.    Execute Modification    ./Sources/Load.php    Test failed
      1.    Add After    ./Sources/Load.php    Test successful
      2.    Replace    ./Sources/Load.php    Test successful
      3.    Replace    ./Sources/Load.php    Test failed
      4.    Add After    ./Sources/Load.php    Test successful
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Kiana on June 09, 2009, 12:41:13 PM
Quote from: traveler1 on June 09, 2009, 11:52:07 AM
I am getting the following errors, so i guess it will not work on my setup?

10.     Execute Modification     ./Sources/Display.php     Test failed
      1.    Add After    ./Sources/Display.php    Test successful
      2.    Replace    ./Sources/Display.php    Test failed
      3.    Add After    ./Sources/Display.php    Test successful
*    11.    Execute Modification    ./Sources/Karma.php    Test successful
      1.    Add Before    ./Sources/Karma.php    Test successful
      2.    Replace    ./Sources/Karma.php    Test successful
      3.    Replace    ./Sources/Karma.php    Test successful
*    12.    Execute Modification    ./Sources/Load.php    Test failed
      1.    Add After    ./Sources/Load.php    Test successful
      2.    Replace    ./Sources/Load.php    Test successful
      3.    Replace    ./Sources/Load.php    Test failed
      4.    Add After    ./Sources/Load.php    Test successful
I had the same problem. Just manually modify the files. ;)
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: traveler1 on June 09, 2009, 10:26:06 PM
Thanks.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: CrazyRed98 on June 09, 2009, 10:57:33 PM
I keep geting this problem for this:
10.     Execute Modification     ./Sources/Display.php     Test failed

Thats the only thing that failed, and I have v.  1.1.9, and don't know what to do also The version i have is:
reputation_1-1-x_0-1-3.zip
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Kiana on June 10, 2009, 02:27:30 PM
It was giving positive reputation per post, so I disabled that. Now it doesn't do anything whenever people give someone positive reputation points. :s

Edit: And yeah, I've set it up so that members can give reputation points. =\

Edit2: Okay, I found out that I have to give everyone at least 1 rep power for them to give 1 rep point. I knew it was based on others points, but I thought in the beginning it didn't matter. Is there any way it can be set up so that people can give reputation points with 0 reputation power? :( Having +100 rep points on registration is a bit odd.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Kyzer on June 10, 2009, 05:23:13 PM
I would like to know that too, the question above ^^^^


also, is there a way to make someone automatically level to a new membergroup when they get a certain amount of rep?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: philcross on June 11, 2009, 01:56:25 AM
QuoteI wish to remove the negative option.

What exactly should I delete from which file.

Also, can someone give me the code to force a reason for giving reputation - and the file to edit.

Thanks

Any ideas please?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on June 13, 2009, 10:30:24 PM
Okay, I'm running out the door on my way to the airport, but I'll reply to a few of the easier ones. I'll finish up when I get back in a week, sorry :( I've been without a proper computer for the last two weeks, so I haven't had much time to spend here (hence the Hiatus badge).

philcross: if you don't give anyone permission to give negative rep, the option won't show to anyone but admins. Admins just see it because they can do anything by default, and that can't be changed. Rest assured, nobody else can see it.

Kiana: You have to do it manually via phpmyadmin, I haven't finished the tool that'll do it for you. Something like:
UPDATE smf_members SET karma_good = 100
on 2.0, it's karmaGood instead of karma_good. Make sure you use the correct db_prefix, smf_ is the default.

CrazyRed98: You have to do the edit manually - http://fustrate.com/dev/sources/Advanced Reputation System and pick your version, then install.xml
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Kyzer on June 13, 2009, 10:39:24 PM
LOL! Even though none of those were my questions, they helped alot!

Though i would still like to know how to automatically be premoted to new membergroup based on rep. If i can get that, my website will be done, and there will be no reason for me to ever have to get VB :D
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: MrEd on June 14, 2009, 10:09:26 AM
I don't know what the advanced rep looks like yet, still can't get it working lol, but if this helps you then great.

To not give negative rep in the other rep systems, I simply did not give it a description in the config area and it did not show up.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Kyzer on June 15, 2009, 04:13:54 PM
does anyone besides yoda know how to make the < ## rep = ______ membergroup?>
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Kyzer on June 17, 2009, 07:42:03 PM
Sorry for double post.

bump?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: _Anthony_ on June 18, 2009, 02:08:29 PM
Quote from: Kyzer on June 15, 2009, 04:13:54 PM
does anyone besides yoda know how to make the < ## rep = ______ membergroup?>
I know how to do it hard-coded but that's the wrong way of doing it and I don't want to release hard-coded crap.
I can look into setting it up using ManageMembergroups I'll tell you if I make any progress.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: glennk on June 18, 2009, 02:29:56 PM
Hi There,

Have you thought about making an in post comment box like the one on this forum. I think its an excellent feature.

http://forums.seochat.com/showthread.php?p=684013#post684013
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Kyzer on June 19, 2009, 12:29:12 AM
_Anthony_:

If you could do that for me, it would be very appreciated :)

glennk:

that seemed very random to me untill i looked at the url xD


and other,

Im having trouble with this, members have to have 100 rep to start giving people reputation, is there a way to make everyone start with one rep power? I would think that would be easy, i just dont know how to do it lol, Thanks again :)
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: glennk on June 19, 2009, 08:13:10 AM
Quote from: Kyzer on June 19, 2009, 12:29:12 AM
_Anthony_:

If you could do that for me, it would be very appreciated :)

glennk:

that seemed very random to me untill i looked at the url xD


and other,

Im having trouble with this, members have to have 100 rep to start giving people reputation, is there a way to make everyone start with one rep power? I would think that would be easy, i just dont know how to do it lol, Thanks again :)

The little box in the post makes it interesting. You can see from the post why rep was recieved or taken away. Its a good way for forum members to agree with a post already made.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Kiana on June 19, 2009, 08:20:27 AM
The mod was working great, and still is, but it gives a database error in certain forums. The positive/negative point is still recorded, but the comment isn't. :-X I can't find anything wrong in the Karma.php (which is where the error told me to check).
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Kyzer on June 19, 2009, 01:34:06 PM
Yes glennk, i can see how that could be very usefull, but im not going to go and get too into the rep system untill i get more people on my forum.
I just need the (not need 100 rep for 1 rep power, starting with 100 is stupid xD) and then the rep ranks and im done with all my mods :D
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: NekoChrissy on June 19, 2009, 04:27:46 PM
I'm having an error when trying to uninstall the Advanced Reputation System:


Can't DROP 'karma_disabled'; check that column/key exists
File: /home2/tooncham/public_html/forum/Packages/temp/uninstall.php
Line: 29

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.9, while your database is at version 1.1.5. The above error might possibly go away if you execute the latest version of upgrade.php.


It won't let me remove the mod.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Kyzer on June 19, 2009, 04:50:20 PM
Have you tried updating to 1.1.9 again? if so, you might have to uninstall manually. Use the manual installation on the mods page, and do it backwards.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: NekoChrissy on June 19, 2009, 05:02:01 PM
I've tried re-upgrading, but it didn't seem to solve the problem. If I remove the default theme would that work because I'm having trouble finding what I need to remove.

Like, it mentions templates that the default theme doesn't have. So there is nothing to remove.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Kyzer on June 19, 2009, 09:33:42 PM
Not sure, it could be your custom template, it could be a 1.1.5 theme your using with 1.1.9?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: NekoChrissy on June 19, 2009, 11:45:56 PM
The SMF Default Theme - Core is 1.1.5 so maybe I should get an updated version of the core default theme? Currently, the forum uses Passion.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Kyzer on June 21, 2009, 02:20:23 PM
That might have something to do with it, you might have to download and replace the default theme.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Kyzer on June 21, 2009, 09:39:19 PM
Sorry for double post,


Can someone please help me with this? I need to be able to give reputation with 0 reputation, and then get one rep power for every 100 rep, ( which is default already) can someone do this for me?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: _Anthony_ on June 22, 2009, 03:13:45 AM
Quote from: Kyzer on June 21, 2009, 09:39:19 PM
Sorry for double post,


Can someone please help me with this? I need to be able to give reputation with 0 reputation, and then get one rep power for every 100 rep, ( which is default already) can someone do this for me?
What exactly do you want to be able to give rep with 0 rep for?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Kyzer on June 22, 2009, 09:59:46 PM
Im sorry i ment 1 rep.

How will members get reputation if no one can give rep? Because if you get one rep power every 100 rep. Its stupid to start out with 100 rep, and if i make it so you only need 1 rep, everyone will get tons of rep power.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: DELHI_BOY on June 23, 2009, 06:57:48 AM
I am using smf 1.1.9 with ReDark theme. I try to install this but i am getting this msg after clicking on "Apply Mod"

"The package you are trying to download or install is either corrupt or not compatible with this version of SMF."
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Kyzer on June 23, 2009, 03:26:51 PM
You might try emulating SMF Version 1.1.8 in the package manager.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Bruno36 on June 25, 2009, 05:14:35 AM
Hello!

When I give reputation points to a user are counter remains at 0
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Paracelsus on June 25, 2009, 07:31:31 AM
I'm having trouble understanding this MOD.

Let's see

- Users get points which translate into "reputation power" (which can be also represented in green bars)
- These points are obtained by posting regular posts or topics (and we can change how many points per post or per topic)
- These points can also be obtained if a user gets +Rep from another user (I assume it is just 1 point per +Rep because it doesn't say anywhere)

Is this interpretation correct? ???
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: djadoel on June 25, 2009, 09:38:25 AM
Help.. i'm install advance rep system 0.1.3 without uninstal 0.1.1 ... after that, i can't acces profile on my forum, any profil... this is showing like this :\

Fatal error: Cannot redeclare reputation() (previously declared in /home/nimbuzze/public_html/Sources/Profile.php:3035) in /home/nimbuzze/public_html/Sources/Profile.php on line 3279

And if i try to unistal it showing :

Quote1.     Execute Code     uninstall.php     
2.    Execute Modification    ./index.php    Test successful
3.    Execute Modification    ./Themes/default/Display.template.php    Test successful
4.    Execute Modification    ./Themes/default/PersonalMessage.template.php    Test successful
5.    Execute Modification    ./Themes/default/Profile.template.php    Test successful
6.    Execute Modification    ./Themes/default/Stats.template.php    Test successful
7.    Execute Modification    ./Themes/default/script.js    Test successful
8.    Execute Modification    ./Themes/default/style.css    Test successful
9.    Execute Modification    ./Sources/Admin.php    Test successful
10.    Execute Modification    ./Sources/Display.php    Test successful
11.    Execute Modification    ./Sources/Karma.php    Test successful
12.    Execute Modification    ./Sources/Load.php    Test successful
13.    Execute Modification    ./Sources/ManagePermissions.php    Test failed
14.    Execute Modification    ./Sources/ManageServer.php    Test successful
15.    Execute Modification    ./Sources/ModSettings.php    Test successful
16.    Execute Modification    ./Sources/Post.php    Test successful
17.    Execute Modification    ./Sources/Profile.php    Test successful
18.    Execute Modification    ./Sources/RemoveTopic.php    Test successful
19.    Execute Modification    ./Sources/Stats.php    Test successful
20.    Execute Modification    ./Sources/Subs-Members.php    Test successful
21.    Execute Modification    ./Themes/default/languages/Errors.english.php    Test successful
22.    Execute Modification    ./Themes/default/languages/Help.english.php    Test successful
23.    Execute Modification    ./Themes/default/languages/index.english.php    Test successful
24.    Execute Modification    ./Themes/default/languages/ManagePermissions.english.php    Test successful
25.    Execute Modification    ./Themes/default/languages/ModSettings.english.php    Test successful
26.    Execute Modification    ./Themes/default/languages/Reports.english.php    Test successful
27.    Execute Modification    ./Themes/default/languages/Stats.english.php    Test successful
28.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful
29.    Execute Modification    ./Themes/default/languages/Errors.english-utf8.php    Skipping file
30.    Execute Modification    ./Themes/default/languages/Help.english-utf8.php    Skipping file
31.    Execute Modification    ./Themes/default/languages/index.english-utf8.php    Skipping file
32.    Execute Modification    ./Themes/default/languages/ManagePermissions.english-utf8.php    Skipping file
33.    Execute Modification    ./Themes/default/languages/ModSettings.english-utf8.php    Skipping file
34.    Execute Modification    ./Themes/default/languages/Reports.english-utf8.php    Skipping file
35.    Execute Modification    ./Themes/default/languages/Stats.english-utf8.php    Skipping file
36.    Execute Modification    ./Themes/default/languages/Modifications.english-utf8.php    Test successful
37.    Execute Modification    ./Themes/default/languages/Errors.russian.php    Skipping file
38.    Execute Modification    ./Themes/default/languages/Help.russian.php    Skipping file
39.    Execute Modification    ./Themes/default/languages/index.russian.php    Skipping file
40.    Execute Modification    ./Themes/default/languages/ManagePermissions.russian.php    Skipping file
41.    Execute Modification    ./Themes/default/languages/ModSettings.russian.php    Skipping file
42.    Execute Modification    ./Themes/default/languages/Reports.russian.php    Skipping file
43.    Execute Modification    ./Themes/default/languages/Stats.russian.php    Skipping file
44.    Execute Modification    ./Themes/default/languages/Modifications.russian.php    Skipping file
45.    Execute Modification    ./Themes/default/languages/Errors.russian-utf8.php    Skipping file
46.    Execute Modification    ./Themes/default/languages/Help.russian-utf8.php    Skipping file
47.    Execute Modification    ./Themes/default/languages/index.russian-utf8.php    Skipping file
48.    Execute Modification    ./Themes/default/languages/ManagePermissions.russian-utf8.php    Skipping file
49.    Execute Modification    ./Themes/default/languages/ModSettings.russian-utf8.php    Skipping file
50.    Execute Modification    ./Themes/default/languages/Reports.russian-utf8.php    Skipping file
51.    Execute Modification    ./Themes/default/languages/Stats.russian-utf8.php    Skipping file
52.    Execute Modification    ./Themes/default/languages/Modifications.russian-utf8.php    Skipping file
53.    Delete File    ./Themes/default/Karma.template.php    
54.    Delete File    ./Themes/default/images/karma.gif    
55.    Delete File    ./Themes/default/images/karmaBad_basic.gif    
56.    Delete File    ./Themes/default/images/karmaGood_basic.gif    
57.    Delete File    ./Themes/default/images/karmaBad_super.gif    
58.    Delete File    ./Themes/default/images/karmaGood_super.gif    
59.    Delete File    ./Themes/default/images/karma_disabled_basic.gif

Please some one help me, my forum at : http://nimbuzzer.net , u can log in with username : nimbuzz , password : nimbuzz

thx for your helping :)
Title: Advanced Reputation System - rep points by members
Post by: AngelikaCourtois on June 26, 2009, 10:15:40 AM
Situation:

I installed the MOD on SMF 1.1.9 and it works great *kudos*. Set the rep preferences based on post count as I should, how many times someone can rep someone, etc

All I need to really know is how many rep points a person gives when they rep someone.

I assume its NOT based on the number I have in the post count (rep points based on posts or topics).

Summary of question:

How many rep points does a person receive when they are being repped by another member?

Thank you in advance,

Angelika
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Paracelsus on June 26, 2009, 11:38:31 AM
I got that part by now: you get the same amount of rep of the one who gives.

For example:

Giver: 10 Rep Power
Receiver: 2 Rep Power

Result:
Giver: 10 Rep Power
Receiver: 12 Rep Power


What I think is flawed in this method is that it is easily abused even with the options to limit the amount of times someone reps another and how many people have to be repped before you rep the same person. It would be better if there was some kind of algorithm that could be tuned instead of just giving out our rep points and feed a sort of piramidal game.
Title: Re: Advanced Reputation System - reps by poster
Post by: AngelikaCourtois on June 26, 2009, 11:59:42 AM
Paracelsus,

I actually have had broads that use a rep system, and I have never run into issues with abuse *thankfully so*.

With SMF and the mod, I have it set to minimize mayhem:



I will eventually disable the points per post and points per thread since I use the star system for posts and here is where I see possible abuse: posting one-liners just to get points and starting threads just to get them too (put thats another issue altogether).

Thank you for explaining the points per poster.

Now ... can someone point me to the MOD or area/thread where I can find out about adding the MOD that allows you to have the Font Face drop-down menu like we have here when we post?

Danke,

Angelika


Quote from: Paracelsus on June 26, 2009, 11:38:31 AM
I got that part by now: you get the same amount of rep of the one who gives.

For example:

Giver: 10 Rep Power
Receiver: 2 Rep Power

Result:
Giver: 10 Rep Power
Receiver: 12 Rep Power


What I think is flawed in this method is that it is easily abused even with the options to limit the amount of times someone reps another and how many people have to be repped before you rep the same person. It would be better if there was some kind of algorithm that could be tuned instead of just giving out our rep points and feed a sort of piramidal game.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: alan081954 on June 26, 2009, 02:38:50 PM
I looked through all of the post's here...........did I miss where the standard settings are for setting up the rep system? ie 1 per day ,how many times, there are about 10 options, I just want to set it up for general use for when someone makes a trade with someone else to help make them a legit trader. Also I would like to change the general message from (What do you think of this post) to something else.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Paracelsus on June 26, 2009, 02:56:43 PM
Quote from: AngelikaCourtois on June 26, 2009, 11:59:42 AM
Paracelsus,

I actually have had broads that use a rep system, and I have never run into issues with abuse *thankfully so*.

With SMF and the mod, I have it set to minimize mayhem:



  • Welcome new members with how many points? 0
  • How many times a day can a person give reputation? 10
  • How many people does a user have to give reputation to before they can repeat a person? 3

I will eventually disable the points per post and points per thread since I use the star system for posts and here is where I see possible abuse: posting one-liners just to get points and starting threads just to get them too (put thats another issue altogether).

Thank you for explaining the points per poster.


I understand your explanation, but imagine this:

Member A is one hell of a poster ;D and have a huge Rep Power, let's say 40, compared to 90% of the other members that have between 0 and 2. Then there's member B which is a novice that has Rep Power 0. Member A decides to applaud a post from member B. The result is that member B gets 40 Rep Power in a single vote and becomes one of the most Reputated members of that forum because of a single post that the member A decided to applaud, even though member B hasn't done anything special to deserve that reputation.

I think that there should be a limit to how much you can give in Reputation, even if you have a huge Rep Power. Join date, number of total applauds or smites, number of posts, etc should be taken into account to those that receive Reputation in order to "buffer" the system, otherwise my feeling is that it will just increase and increase with no real control.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: AngelikaCourtois on June 26, 2009, 03:54:46 PM
alan,

I have SMF 1.1.9 installed, as well as the Advanced Reputation System 0.1.3

On my board I can change the preferences by:

Admin Tab
Features and Options
Reputation Tab
Standard settings are already filled in after install
Now you can set your preferences for what works for your Forum

*I played around with my preferences, had my staff test them each time I changed it until I figured out which preferences I liked.

Hope this helps.

Angelika



Quote from: alan081954 on June 26, 2009, 02:38:50 PM
I looked through all of the post's here...........did I miss where the standard settings are for setting up the rep system?
Title: Re: Advanced Reputation System - math or social
Post by: AngelikaCourtois on June 26, 2009, 04:02:49 PM
Paracelsus,

Ja, Ano *laughs* ... yes, I can see that very easily but I work around that by creating a Forum/Category/Thread that says ... beg for reps here. It channels people's need to click on cute icons, to afford them to be cute to others since it also give the opportunity to leave little blurbs, and its amazing how creative people can get when begging for reps *laughs* (negative reps have been disabled).

But then again mine is a social Forum targeted at a specific group of people, so bantering of that sort is welcomed (but needs to be harnessed) .... rather than frowned upon. This type of approach is not for everyone and on the more serious scale, I can see where it would be better all around if there was a way to use some sort of mathematical approach to the repping.

Angelika

Quote from: Paracelsus on June 26, 2009, 02:56:43 PM

I understand your explanation, but imagine this:

Member A is one hell of a poster ;D and have a huge Rep Power, let's say 40, compared to 90% of the other members that have between 0 and 2. Then there's member B which is a novice that has Rep Power 0. Member A decides to applaud a post from member B. The result is that member B gets 40 Rep Power in a single vote and becomes one of the most Reputated members of that forum because of a single post that the member A decided to applaud, even though member B hasn't done anything special to deserve that reputation.

I think that there should be a limit to how much you can give in Reputation, even if you have a huge Rep Power. Join date, number of total applauds or smites, number of posts, etc should be taken into account to those that receive Reputation in order to "buffer" the system, otherwise my feeling is that it will just increase and increase with no real control.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: universalsameera on June 26, 2009, 04:05:29 PM
Hello this is a great mod but I have never been able to successfully install mods like this. Here is my folder with all the edited files. If anyone can check them and correct I'll be forever greatful because I really want this mod. With this mod when I try to add reputation power it says can not load karma template, I can't change the name of reputation to anything else either. When you edit files I sometimes get extra spaces between lines. Is this a problem? Also I didn't edit the files that are not compulsory for installation.

Here is my file

If someone can check this and tell me where I went wrong I'll be so greatful. Thankyou very much   :)
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: alan081954 on June 26, 2009, 04:18:30 PM
Quote from: AngelikaCourtois on June 26, 2009, 03:54:46 PM
alan,

I have SMF 1.1.9 installed, as well as the Advanced Reputation System 0.1.3

On my board I can change the preferences by:

Admin Tab
Features and Options
Reputation Tab
Standard settings are already filled in after install
Now you can set your preferences for what works for your Forum

*I played around with my preferences, had my staff test them each time I changed it until I figured out which preferences I liked.

Hope this helps.

Angelika



Quote from: alan081954 on June 26, 2009, 02:38:50 PM
I looked through all of the post's here...........did I miss where the standard settings are for setting up the rep system?

Could ya post a pic as to what yours are for I can use them? Thanks.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: AngelikaCourtois on June 26, 2009, 04:40:56 PM
alan,

There you go, its attached.

Angelika


Quote from: alan081954 on June 26, 2009, 04:18:30 PMCould ya post a pic as to what yours are for I can use them? Thanks.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: alan081954 on June 26, 2009, 04:43:09 PM
Quote from: AngelikaCourtois on June 26, 2009, 04:40:56 PM
alan,

There you go, its attached.

Angelika


Quote from: alan081954 on June 26, 2009, 04:18:30 PMCould ya post a pic as to what yours are for I can use them? Thanks.

Cool........Thanks
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: alan081954 on June 26, 2009, 04:57:37 PM
Now......Does anyone know how to change the text in the attached image?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: universalsameera on June 27, 2009, 03:32:59 AM
I can't chane the reputation name to anything else. It always shows as reputation power. When I give Karma to someone it doesn't show. It stays at zero. Here are all my edited files. Please help!!
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on June 27, 2009, 11:33:35 AM
universalsameera - did Karma.template.php get uploaded to your /Themes/default/ folder?

alan081954 - look in /Themes/default/languages/index.(your language).php and find the strings, then replace them. http://www.fustrate.com/dev/sources/Advanced%20Reputation%20System/Reputation_2-0/install.xml should help. Afterwards, if you're on 2.0, go to Admin > Maintenance > Routine Maintenance > Clear file cache (it's something like that, I'm not looking at an installation to make sure)

As for the "stays at 0", that's because you don't have any reputation power to give. Go into your profile and give yourself 10000 positive reputation points, and that'll give you 100 power, so that every time you (as the admin) give reputation, they themselves get 1 power. I really need to finish the tool for this...

Anyone else, if you still need help, please re-post your problem and I'll try to figure it out.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Thenewguy2009 on June 27, 2009, 11:48:05 AM
Getting this error code and I believe its from this mod. 

When I go to remove a topic, Im getting this error code.   Im hoping im just missing a squiggly or something.  Can someone figure this out?


You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3

File: /home/content/t/e/t/test/html/Sources/RemoveTopic.php
Line: 242

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.9, while your database is at version 1.1.4. The above error might possibly go away if you execute the latest version of upgrade.php.


Attached is my removetopic.php
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on June 27, 2009, 12:15:19 PM
Try this - SMFShop isn't using very clean code to accomplish what it's doing...
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Thenewguy2009 on June 27, 2009, 12:48:44 PM
Fustrate, awesome man thank you.  What was the problem on that?

On my original post, I stated it was with smf shop then a wise man told me it had to do with this mod so i posted it here. 

I really appreciate the help. 
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on June 27, 2009, 01:18:24 PM
It was because they commented out a portion of code that was vital to this mod and replaced it with the exact same thing, but closed it off before the rep system could use it. If you look at a diff of the original and new files, you'll see that I moved the rep system code inside the shop's brackets.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: alan081954 on June 27, 2009, 01:21:12 PM
Quote from: Fustrate on June 27, 2009, 11:33:35 AM
universalsameera - did Karma.template.php get uploaded to your /Themes/default/ folder?

alan081954 - look in /Themes/default/languages/index.(your language).php and find the strings, then replace them. http://www.fustrate.com/dev/sources/Advanced%20Reputation%20System/Reputation_2-0/install.xml should help. Afterwards, if you're on 2.0, go to Admin > Maintenance > Routine Maintenance > Clear file cache (it's something like that, I'm not looking at an installation to make sure)

As for the "stays at 0", that's because you don't have any reputation power to give. Go into your profile and give yourself 10000 positive reputation points, and that'll give you 100 power, so that every time you (as the admin) give reputation, they themselves get 1 power. I really need to finish the tool for this...

Anyone else, if you still need help, please re-post your problem and I'll try to figure it out.

I have it working.............All I was wanting to do is change the text in the box in my previous post above.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Thenewguy2009 on June 27, 2009, 02:09:59 PM
Yes, nice work fustrate. I see what you are talking about.  Thanks again.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: neteater on June 28, 2009, 04:29:50 AM
i am getting this error reputation is printed many times attached thubnails
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Aryon on June 29, 2009, 01:33:24 AM
Hello everyone ...

The administrator of our forum, of which I am the global moderator has set her reputation at 10,000 in her profile. This gave her a visual rep of 199. Following this, she made one posting on the forums and it upped her rep power to 200.

Then she repped the staff, they each got 4 rep points, thereby moving their rep power up by 4. So those who had 2 points showing, now show 6, and so on.

Would someone be so kind as to outline how the reputation system actually works? IE ... with 10,000 points, why would it only give 4, based on the above mentioned information.

Thank you in advance.

~ Aryon
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Thenewguy2009 on June 29, 2009, 01:36:25 AM
well that is all controled in the admin control panel. 
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Aryon on June 29, 2009, 01:54:11 AM
Quote from: Thenewguy2009 on June 29, 2009, 01:36:25 AM
well that is all controled in the admin control panel. 

We do appreciate that it is controlled in the admin control panel ... however, that is not precisely what I am looking for. I would like an outline that will inform our staff in case any of our members inquire ... based on the scenario above:

10000 points = 199 reputation power = ??

how much reputation power does the next person she reps get.

I mean ... why 4, it does not appear to be logical.

Logic would indicate:
10000 points = 199 rep power = 1 rep
10001= 200=2
etc., etc.

Thanks in advance.

~ Aryon
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Thenewguy2009 on June 29, 2009, 02:15:59 AM
Quote from: Aryon on June 29, 2009, 01:54:11 AM
Quote from: Thenewguy2009 on June 29, 2009, 01:36:25 AM
well that is all controled in the admin control panel. 

We do appreciate that it is controlled in the admin control panel ... however, that is not precisely what I am looking for. I would like an outline that will inform our staff in case any of our members inquire ... based on the scenario above:

10000 points = 199 reputation power = ??

how much reputation power does the next person she reps get.

I mean ... why 4, it does not appear to be logical.

Logic would indicate:
10000 points = 199 rep power = 1 rep
10001= 200=2
etc., etc.

Thanks in advance.

~ Aryon

Aryon..all that is set in the admin control panel.  Why you set up:

why 4, it does not appear to be logical

or

10000 points = 199 rep power = 1 rep
10001= 200=2
etc., etc.

That is up to you. 

Maybe make a sticky post and detail how the system works according to your settings.  All that is set in admin cp and why its configured that way on your forum is up to you.  Why dont you ask the admin, since your just the global mod to explain it?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: AngelikaCourtois on June 29, 2009, 02:25:46 AM
That is because I am the Admin, have staff and delegate this sort of thing. Staff needs to know, no? *smiles* I am having all my staff join here so they can learn, educate themselves ...etc.

On that note ... lets do this ....

Settings:
How many points per post? 1
How many points per thread? 3
Users gain 1 power for every __ points? 50
Users gain 1 bar image for every __ points? 1000
Welcome new members with how many points? 10
How many times a day can a person give reputation? 10
How many people does a user have to give reputation to before they can repeat a person? 3

The above does not explain the scenario Aryon posted ... so let ME ask:

I gave myself 10,000 points in my profile, got 199 rep power, made a post, as you see from above, that gave me 10,001 ... it moved me to 200 rep power ... and now I repped a staff member and their rep power moved from 2 to 6 .... why the 4 jump?

Angelika

Quote from: Thenewguy2009 on June 29, 2009, 02:15:59 AM
Quote from: Aryon on June 29, 2009, 01:54:11 AM
Quote from: Thenewguy2009 on June 29, 2009, 01:36:25 AM
well that is all controled in the admin control panel. 

We do appreciate that it is controlled in the admin control panel ... however, that is not precisely what I am looking for. I would like an outline that will inform our staff in case any of our members inquire ... based on the scenario above:

10000 points = 199 reputation power = ??

how much reputation power does the next person she reps get.

I mean ... why 4, it does not appear to be logical.

Logic would indicate:
10000 points = 199 rep power = 1 rep
10001= 200=2
etc., etc.

Thanks in advance.

~ Aryon

Aryon..all that is set in the admin control panel.  Why you set up:

why 4, it does not appear to be logical

or

10000 points = 199 rep power = 1 rep
10001= 200=2
etc., etc.

That is up to you. 

Maybe make a sticky post and detail how the system works according to your settings.  All that is set in admin cp and why its configured that way on your forum is up to you.  Why dont you ask the admin, since your just the global mod to explain it?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Thenewguy2009 on June 29, 2009, 02:40:55 AM



Well you giving yourself 10k mathes up to what you should get according to your settings.  You made a post, it bumps up in accordance. 

How much did you rep them?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: AngelikaCourtois on June 29, 2009, 09:23:36 AM
Exactly, everything makes sense (and is logical) until I repped and it bumped them up 4.

Repping (leaving a rep) does not allow you to give anything but a comment. So I did not give them any numerical rep ... only text "i.e. good job" ... clicked submit, saw the page refresh, and swoosh, they went from 2 to 6 rep power.

So, why did they move from 2 to  6? ... why the jump by 4?

Angelika

Quote from: Thenewguy2009 on June 29, 2009, 02:40:55 AM



Well you giving yourself 10k mathes up to what you should get according to your settings.  You made a post, it bumps up in accordance. 

How much did you rep them?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: neteater on June 29, 2009, 10:12:43 AM
Quote from: neteater on June 28, 2009, 04:29:50 AM
i am getting this error reputation is printed many times attached thubnails
any update for me
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: CyprusGrump on June 29, 2009, 11:33:45 AM
Quote from: Thenewguy2009 on June 27, 2009, 11:48:05 AM
Getting this error code and I believe its from this mod. 

When I go to remove a topic, Im getting this error code.   Im hoping im just missing a squiggly or something.  Can someone figure this out?


You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3

File: /home/content/t/e/t/test/html/Sources/RemoveTopic.php
Line: 242

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.9, while your database is at version 1.1.4. The above error might possibly go away if you execute the latest version of upgrade.php.


Attached is my removetopic.php
I've just installed and get the same error...  :(
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: CyprusGrump on June 29, 2009, 11:39:32 AM
Sorry, Having re-read it...

I actually get the following message when I try to click the 'submit' button...

QuoteYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's all new Bulletins from Scotland thread')' at line 4
File: /vhost/vhost6/v/i/r/virtual-pub.com/www/SMF/Sources/Karma.php
Line: 370
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on June 29, 2009, 11:44:04 AM
neteater - you need to upload the 5 images from the package to your theme's /images/ folder.

CyprusGrump - are you using the most recent version of the rep system for 1.1.x? That problem was fixed, iirc.

Angelika/Aryon - Since Angelika has 200 power, that means that whoever she sends rep to gets 200 points. 200 points divided by the "50 points per power" in your settings equals 4 power that they'll receive. If you look at their points, they went up by 200.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: CyprusGrump on June 29, 2009, 11:56:09 AM
Quote from: Fustrate on June 29, 2009, 11:44:04 AM


CyprusGrump - are you using the most recent version of the rep system for 1.1.x? That problem was fixed, iirc.
Thanks for your reply...

I just downloaded it... reputation_1-1-x_0-1-3.zip

That must be the current version...?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: CyprusGrump on June 29, 2009, 12:14:02 PM
It appears to have started working...  :-\
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: AngelikaCourtois on June 29, 2009, 12:51:32 PM
Fustrate,

Perfect - thank you

Angelika

Quote from: Fustrate on June 29, 2009, 11:44:04 AM
neteater - you need to upload the 5 images from the package to your theme's /images/ folder.

CyprusGrump - are you using the most recent version of the rep system for 1.1.x? That problem was fixed, iirc.

Angelika/Aryon - Since Angelika has 200 power, that means that whoever she sends rep to gets 200 points. 200 points divided by the "50 points per power" in your settings equals 4 power that they'll receive. If you look at their points, they went up by 200.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Chaos Dragon on June 29, 2009, 11:04:02 PM
I looked through the posts but didn't find it so I'll go ahead and ask.
Is there a way to add more bars(levels) to this mod? I would definitely like to have more than 12 bars!
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: neteater on June 29, 2009, 11:53:36 PM
Quote from: Fustrate on June 29, 2009, 11:44:04 AM
neteater - you need to upload the 5 images from the package to your theme's /images/ folder.


sorry i cant understand which five images
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Chaos Dragon on June 30, 2009, 12:18:42 AM
neteater
He Means move these images to your respectful themes image folder........
   karma.gif   
   karma_bad_basic.gif   
   karma_bad_super.gif   
   karma_disabled_basic.gif   
   karma_good_basic.gif   
   karma_good_super.gif

eg. ./Themes/default/images
or ./Themes/baylon/images
or .Themes/YourCustomtheme/images
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: CyprusGrump on June 30, 2009, 02:36:54 AM
It has stopped working again... indeed, I'm not convinced it ever worked as it should - could somebody have a look for me please?

www.virtual-pub.com

I'm getting this error message again: -

QuoteYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's all new Bulletins from Scotland thread')' at line 4
File: /vhost/vhost6/v/i/r/virtual-pub.com/www/SMF/Sources/Karma.php
Line: 370

Also, I can't change the labels to smite and applaud....

Also (sorry for so many alsos) I can't get the Givereputation.php script to run so the whole thing is rather meaningless at the moment...

Thanks!

PS I'm running 1.1.9 with few other mods...
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: netoya on June 30, 2009, 03:52:09 AM
Having successfully installed the mod on my 1.1.9, without errors, but after turning on, I do not see how to change reputation or comment post. I only see an image near avatar image, the premission enabled for groups, but login like admin i cant find how to change reputation.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: CyprusGrump on June 30, 2009, 04:26:14 AM
Quote from: netoya on June 30, 2009, 03:52:09 AM
Having successfully installed the mod on my 1.1.9, without errors, but after turning on, I do not see how to change reputation or comment post. I only see an image near avatar image, the premission enabled for groups, but login like admin i cant find how to change reputation.
Can you not see the little heart - I have that...
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: netoya on June 30, 2009, 04:32:40 AM
I don't see a heart
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: CyprusGrump on June 30, 2009, 04:49:17 AM
Quote from: netoya on June 30, 2009, 04:32:40 AM
I don't see a heart
Sorry, different problem then - I have the heart...
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: netoya on June 30, 2009, 05:02:51 AM
I found my problem, it becouse of my custom theme, so i manualy moved the code of changing reputation under the image of rep.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: netoya on June 30, 2009, 06:13:22 AM
But now i have another problem, reputation page in profile have a broken template
the percentage of the colums is not right, and the page goes far to the right side
(http://s61.radikal.ru/i174/0906/08/9be4d2f7870at.jpg) (http://radikal.ru/F/s61.radikal.ru/i174/0906/08/9be4d2f7870a.jpg.html)

I edited the profile tamplate, but can't solve it

Up. Solved, edited style.css
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: [Core] on June 30, 2009, 06:21:29 AM
Great Mod
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: netoya on June 30, 2009, 09:53:49 AM
Is it normal, when on a log page of a reputation, the image is always grey, whatever action is + or -?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: CyprusGrump on June 30, 2009, 12:26:59 PM
Quote from: netoya on June 30, 2009, 09:53:49 AM
Is it normal, when on a log page of a reputation, the image is always grey, whatever action is + or -?
It is for me...
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: the epic winner on June 30, 2009, 02:36:46 PM
Whenever I try to give reputation, I get this error:
Session verification failed. Please try logging out and back in again, and then try again.

I tried what it suggests, but it still doesn't work. help!
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: CyprusGrump on June 30, 2009, 03:03:43 PM
Quote from: the epic winner on June 30, 2009, 02:36:46 PM
Whenever I try to give reputation, I get this error:
Session verification failed. Please try logging out and back in again, and then try again.

I tried what it suggests, but it still doesn't work. help!
Somebody asked this on May 4th...

Check reply 1113 on this thread for a possible solution.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: the epic winner on June 30, 2009, 07:07:15 PM
Are you sure it's that post? I'm not seeing my problem posted there.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: CyprusGrump on July 01, 2009, 02:07:13 AM
Quote from: the epic winner on June 30, 2009, 07:07:15 PM
Are you sure it's that post? I'm not seeing my problem posted there.
I think so... on May 4th Tacheon posted this...

Quote from: Tacheon on May 04, 2009, 04:51:46 PM
Ehehe, I'm assuming it was supposed to be 255... I'll try that :P

<UPDATE> I went ahead and tried to just change the values so that they were accepted (which may have been my problem), but now whenever I try to modify someone's Rep by post (Praise or Smite, whichever), I receive:

Session verification failed. Please try logging out and back in again, and then try again.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: theglobe on July 01, 2009, 02:26:42 AM
I'm getting this problem when I post "disagree":

QuoteYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'A freedom movement'')' at line 4
File: /home/theglobe/public_html/smf/Sources/Karma.php
Line: 370

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.9, while your database is at version 1.1.6. The above error might possibly go away if you execute the latest version of upgrade.php.

I upgraded 1.1.9. I don't understand the thing about the database.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on July 01, 2009, 02:50:22 AM
Cyprus or theglobe - can you attach your Karma.php to a post here?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: theglobe on July 01, 2009, 03:15:41 AM
This is 922

QuoteWHERE mem." . ($is_name ? 'memberName' : 'ID_MEMBER') . (count($users) == 1 ? " = '" . current($users) . "'" : " IN ('" . implode("', '", $users) . "')"), __FILE__, __LINE__);
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: theglobe on July 01, 2009, 03:18:09 AM
Quote[Wed Jul 01 02:11:37 2009] [error] [client 71.62.240.96] script '/home/theglobe/public_html/karma.php' not found or unable to stat
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: CyprusGrump on July 01, 2009, 03:34:33 AM
Quote from: Fustrate on July 01, 2009, 02:50:22 AM
Cyprus or theglobe - can you attach your Karma.php to a post here?
Mine is attached...

Actually, my SQL problem is only related to one thread - all the others work fine.

My only problem is that I can't run Givereputation.php so all the 'scores' are somewhat meaningless...

Thanks for your response.

Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: CyprusGrump on July 01, 2009, 09:05:13 AM
Actually, the SQL error now appears on another thread...  :(

QuoteYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's the weather doing where you are?')' at line 4
File: /vhost/vhost6/v/i/r/virtual-pub.com/www/SMF/Sources/Karma.php
Line: 370
Title: Need to remove advanced reputation system
Post by: theglobe on July 01, 2009, 05:57:37 PM
OK, I tried uninstalling it and there are still broken images appearing and it won't let me revert to normal karma. Anyone know PHP well enough so I can go fix this crap manually? The advanced reputation is not in my list of packages now, so that's not an option.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: theglobe on July 01, 2009, 07:06:05 PM
It's also doing this

QuoteUnknown column 'comment' in 'field list'
File: /home/theglobe/public_html/smf/Sources/Karma.php
Line: 370
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: theglobe on July 01, 2009, 07:06:58 PM
I just really want to get it back to regular old karma. :-/
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on July 01, 2009, 07:10:36 PM
Plutus79 - /Themes/default/languages/index.english.php and if you're running 2.0, you'll have to clear the file cache via the admin panel, under Routine Maintenance.

theglobe - you'll need to manually uninstall any part that didn't fully uninstall... basically the reverse of http://www.fustrate.com/dev/sources/Advanced%20Reputation%20System/Reputation_1-1-x/install.xml

Cyprus - I'm guessing the error only occurs when the send rep and it includes an apostrophe in the comment? The code looks solid, so I'll see if someone else can see anything.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Chaos Dragon on July 01, 2009, 10:48:27 PM
Is there a way I can move the reputation box to somewhere a little different.
Code (I went into the script.js and found ) Select
var disappeardelay = 30 * 1000; // karma box hide display time, in milliseconds
var vertical_offset = "0px"; // vertical offset of karma box from image
var horizontal_offset = "-3px"; // horizontal offset of karma box from image

and did the adjustments but nothing moved. I also tried to replace it through CSS and still couldn't move it.
Any Ideas?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on July 02, 2009, 01:52:24 AM
did you do a hard refresh? ctrl-shift-r or cmd-shift-r
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: netoya on July 02, 2009, 01:58:07 AM
I want to make to display these fields for global moderators only

      // Is karma display enabled?
         if ($modSettings['karmaMode'] != '0'){
            echo '
                        <br />
                        ', $txt['karma_power'], ': ', $message['member']['karma']['power'], '<br />
                        <span class="repbars">
                           ';

            foreach($message['member']['karma']['bars'] as $karma_bar)
               echo '<img src="', $settings['images_url'], '/karma', $karma_bar['type'], '.gif" title="', $message['member']['name'], ' ', $karma_bar['desc'], '" alt="', $message['member']['name'], ' ', $karma_bar['desc'], '" />';

            echo '
                        </span>
                        <br />';


It must bu simple i think :)
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on July 02, 2009, 02:17:12 AM
surround it all with
if ($user_info['is_mod']){
}
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: [Core] on July 02, 2009, 02:25:51 AM
Very nice mod.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: netoya on July 02, 2009, 02:26:15 AM
Thanks :) but also for the admin, in that way i can't see :D
just looked for test user with the moredator right, also can't see.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on July 02, 2009, 02:29:16 AM
I believe admins are covered under is_mod, but if I'm wrong, just add || $user_info['is_admin'] after $user_info['is_mod']
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: netoya on July 02, 2009, 02:34:28 AM
tried in different ways, but then this info is missing for all, also for admin and moderators.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on July 02, 2009, 02:56:38 AM
try replacing $user_info with $context['user']

without looking at the code, I'm not sure if $user_info is globalized by default... I'm rushing to finish downgrading the 2.0 member awards mod to 1.1.x for security reasons... 2 years old now...
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: CyprusGrump on July 02, 2009, 03:20:47 AM
Quote from: Fustrate on July 01, 2009, 07:10:36 PM

Cyprus - I'm guessing the error only occurs when the send rep and it includes an apostrophe in the comment? The code looks solid, so I'll see if someone else can see anything.

Yes, the problem occurs when I try to send rep in a thread that has an apostrophe in the thread title...

All other threads work okay although I haven't managed to get GiveReputation.php to run.

Hope that helps!
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: CyprusGrump on July 02, 2009, 03:28:50 AM
BTW this is the error I get when running GiveReputation.php

QuoteParse error: parse error in /vhost/vhost6/v/i/r/virtual-pub.com/www/SMF/GiveReputation.php on line 51
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on July 02, 2009, 04:03:32 AM
aha, thread title... I only fixed it for the comment... I've now uploaded v0.1.4 to the mod site which fixes this and a few other issues.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: CyprusGrump on July 02, 2009, 04:44:02 AM
Quote from: Fustrate on July 02, 2009, 04:03:32 AM
aha, thread title... I only fixed it for the comment... I've now uploaded v0.1.4 to the mod site which fixes this and a few other issues.
Excellent! Thanks, I'll try it now...
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: CyprusGrump on July 02, 2009, 04:46:54 AM
That works fine!
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on July 02, 2009, 09:19:54 PM
GiveReputation.php has been uploaded to the mod download page, if anyone wants to try it.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Chaos Dragon on July 02, 2009, 11:56:41 PM
I get this error when I try to use GiveReputation.php:
Parse error: syntax error, unexpected ',' in /home/user/public_html/domain/forum/GiveReputation.php on line 60
I thought it was an update, but I see what it is for. Not needed on my part, but thought I would let you know there is an error.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on July 03, 2009, 12:26:22 AM
Fixed
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Chaos Dragon on July 03, 2009, 12:29:42 AM
Ok, I'll be glad to give it a test run for ya.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Chaos Dragon on July 03, 2009, 12:33:15 AM
Ok Good to go....It is up and running and it also did the adjustments.....
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on July 03, 2009, 12:40:57 AM
yay :D finally a version that works. I don't think there's anything else to fix now, which is quite new to me
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Chaos Dragon on July 03, 2009, 12:49:03 AM
At this point I don't see anything that needs fixing working great for me since I installed it, but then again i am still going through site testing and forum testing....Can't wait to get launched though.
Thanks For a great mod.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: CyprusGrump on July 03, 2009, 02:32:05 AM
Quote from: Fustrate on July 02, 2009, 09:19:54 PM
GiveReputation.php has been uploaded to the mod download page, if anyone wants to try it.
Excellent!

We've been playing with the system for a few days now and I initially reset everybody to 2000.

Shall I reset everybody back to 0 before running GiveReputation? I.e. will the Reputation then be based solely on the number of posts they have made and threads they have started?

Thanks.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: netoya on July 03, 2009, 02:36:48 AM
Quote from: Fustrate on July 02, 2009, 04:03:32 AM
aha, thread title... I only fixed it for the comment... I've now uploaded v0.1.4 to the mod site which fixes this and a few other issues.

I have  a poblem while uninstalling 0.1.3. Is it possible to see difference in code, so i can update manualy?

update
Have another problem
some user avatars don't loads on a page, firebug reports a error: 501 - Not Implemented


removed code:

Is this user allowed to modify this member's karma?
if (($context['can_pos_rep'] || $context['can_neg_rep']) && $message['can_send_karma'] && ($context['user']['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>
<a id="repicon" 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><br />';


all avatars are visible, no errors.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: CiQ on July 03, 2009, 11:25:55 AM
http://*********/index.php?action=modifykarma

2: mysql_real_escape_string() expects parameter 1 to be string, array given
Файл: /*******/Sources/Karma.php
Строка: 361 (+/-)

smf1.1.9
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on July 03, 2009, 11:39:31 AM
Can you upload your Karma.php file as an attachment here so I can look at it?

netoya - the avatar thing most likely has nothing to do with this mod, so I don't know why that error ever popped up.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: CiQ on July 03, 2009, 12:22:13 PM
Quote from: Fustrate on July 03, 2009, 11:39:31 AM
Can you upload your Karma.php file as an attachment here so I can look at it?
yes
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on July 03, 2009, 12:27:46 PM
upgrade with the new package (v0.1.5) on the mod site
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: CiQ on July 03, 2009, 01:07:55 PM
pls check upgrade_0-1-4.xml in reputation_1-1-x_0-1-5.zip
I think there is not something that be should
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: netoya on July 03, 2009, 02:40:02 PM
Quotenetoya - the avatar thing most likely has nothing to do with this mod, so I don't know why that error ever popped up.

I thought this is because of code is near avatar in display.template, then i deleted it, everything was ok. But problem was in my hoster. :)
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on July 03, 2009, 02:50:17 PM
Quote from: CiQ on July 03, 2009, 01:07:55 PM
pls check upgrade_0-1-4.xml in reputation_1-1-x_0-1-5.zip
I think there is not something that be should


unfortunately I'm on the road to San Diego and I won't have computer access until tomorrow night. I'll see if I can get someone else to look at it.

Edit: I just looked, and it's safe to install with the errors. Just ignore them :)
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: X-TERMINATOR™ on July 03, 2009, 11:36:14 PM
i have one problem..i have install latest version of advanced reputation system on my SMF 1.1.9,but, if user give reputation either plus or minus other reputation, the reputation didnt automatic increase or decrease the receiver reputation..how to solve this ? and one more thing, i didnt find click the box next to "Install in Other Themes" when installing it, but i have copy the css file to my using theme
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: CyprusGrump on July 04, 2009, 01:03:12 AM
Quote from: X-TERMINATOR™ on July 03, 2009, 11:36:14 PM
i have one problem..i have install latest version of advanced reputation system on my SMF 1.1.9,but, if user give reputation either plus or minus other reputation, the reputation didnt automatic increase or decrease the receiver reputation..how to solve this ? and one more thing, i didnt find click the box next to "Install in Other Themes" when installing it, but i have copy the css file to my using theme
I think that is because you need 100 points for 1 power...

It isn't like the old karma system where each smite changes by -1

You can change the number of points needed for each 'power' in the admin system...

Sorry, I don't know the answer to your theme question.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: X-TERMINATOR™ on July 04, 2009, 03:40:12 AM
i have change for the point 1 to 1 power...add the profile page add the view reputation..the icon is gray color...
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on July 04, 2009, 12:38:13 PM
Do they have any points at all? It only shows grey when the positive and negative points cancel out.

As for "Install in Other Themes", that's a 2.0-only feature. You'll have to install it in any other themes by hand.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: MATTEK on July 04, 2009, 05:22:27 PM
I do not know how to install mods by doanloading and uploading. If you point me in the right directions it would be appreciated. Also - Do I download all 3 components and install them all or just 900kb one?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: biohazardjoker on July 04, 2009, 09:19:17 PM
please i need to know how to fix those problems in the picture , im using smf 1.1.9 with urban theme, pelase chack the attachment and help me please, ty to all
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Kyzer on July 05, 2009, 04:09:57 PM
Fustrate, since your online :) Could you make a edit, just for me, unless others need it, so that everyone starts out with one Rep Power, no matter what rep they have? so they dont have to start with 100+ rep?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on July 05, 2009, 04:56:27 PM
use GiveReputation.php :)
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Kyzer on July 05, 2009, 07:00:56 PM
how?

SMF 2.0 RC1-1
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Kyzer on July 05, 2009, 07:16:48 PM
Sorry for double post, i ment, everyone starts with one rep POWER not one rep :)
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Chaos Dragon on July 05, 2009, 07:18:16 PM
Quote from: Kyzer on July 05, 2009, 07:00:56 PM
how?

SMF 2.0 RC1-1

just go to the directory that has your forum and make a new file and copy and paste the code in it save then navigate to it using your browser.
ex. http://www.yourdomain.com/SMFforum/GiveReputation.php.
Make sure this is in the same area as your index.php and setting.php.

Hope this Helps...

Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on July 05, 2009, 07:22:43 PM
run this query:

UPDATE smf_members
SET karma_good = 100, karma_bad = 0


100 is the default for "points per power", change it if you changed it in the admin panel

Chaos - GR.php give reputation based on topics and posts, not a flat amount. A query still works best for that.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Kyzer on July 05, 2009, 07:40:10 PM
wont this give them -100 reputation?

I want them to have 0 reputation, with one rep power, and a additional 1 rep power per 100 rep
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Chaos Dragon on July 05, 2009, 07:52:39 PM
lol....... :-[
Sorry miss read that.....
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Kyzer on July 05, 2009, 08:12:24 PM
heh np, this is all i need from this, that i dont already have. i just dont want people to start with 100 rep...
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: X-TERMINATOR™ on July 06, 2009, 04:08:09 AM
Quote from: Fustrate on July 04, 2009, 12:38:13 PM
Do they have any points at all? It only shows grey when the positive and negative points cancel out.

As for "Install in Other Themes", that's a 2.0-only feature. You'll have to install it in any other themes by hand.

i installed it on fresh SMF...what means by "It only shows grey when the positive and negative points cancel out."?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Chaos Dragon on July 06, 2009, 04:32:59 AM
Quote
Quote from: Fustrate on July 04, 2009, 12:38:13 PM

    Do they have any points at all? It only shows grey when the positive and negative points cancel out.

    As for "Install in Other Themes", that's a 2.0-only feature. You'll have to install it in any other themes by hand.


i installed it on fresh SMF...what means by "It only shows grey when the positive and negative points cancel out."?

Lets say the person has 4 positive points and 4 negative points....They cancel each other out basically meaning 0 points.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: X-TERMINATOR™ on July 06, 2009, 06:42:32 AM
ok..now i understand..yesterday, i install a fresh smf 1.1.9 in xampp..after that, i install advanced reputation system..i create a regular user account..and i give point...but the test user regular account didnt plus it point ? how about that ?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on July 06, 2009, 04:44:57 PM
X-TERMINATOR, points are not power. By default, you get 1 power for ever 100 points. If you want them to have 1 power each, run the query I posted above in phpMyAdmin. I've edited it to give positive reputation (sorry about that, Kyzer)

I've also uploaded a new package that will install on any version of 2.0. Just re-download and it'll work without any tweaks.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Kyzer on July 06, 2009, 04:50:57 PM
Either way, wont that give them all 100 rep? I want them to have to start at 0-1 rep and go up from there.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on July 06, 2009, 04:54:10 PM
100 points = 1 power... if you only want them to have 1 point (which is useless), then just change it to 1

With 1 power, they'll all give each other 1 point every time they rep. When someone gets to 200 points, they'll have 2 power, and will give 2 points every time they rep someone.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Kyzer on July 06, 2009, 04:59:39 PM
What im saying is, its stupid to just have 100 rep when you first join a forum, even if everyone else does, is there a way to make this, like in VB start out with one default rep power, and get another every 100 rep, so they dont HAVE to start at 100 to get a rep power?

Edit: I guess i didnt make this clear at all lol, i am using the karma membergroups mod so i want it to be like posts, they have to work toward it before they get the rank, and i do not want to change the req for my membergroups to more rep.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on July 06, 2009, 05:53:57 PM
I'm not well-versed in that mod, but have you tried tweaking the other settings for this mod? You might want to give 0 points for posts and topics, and rely solely on people getting recognition from others.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Kyzer on July 06, 2009, 07:08:18 PM
Acually it has nothing to do with the mod.

What i want is a small mod, to this mod, that makes it so you start out, with 1 Rep And 1 Rep POWER, and then get one more rep power PER 100 Rep you get.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: punktravis182 on July 07, 2009, 01:33:21 AM
i got problem when installing this mod.

QuoteCan't DROP 'PRIMARY'; check that column/key exists
File: /home/backd00r/public_html/Packages/temp/install.php
Line: 126

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.9, while your database is at version 1.1.7. The above error might possibly go away if you execute the latest version of upgrade.php.

please help.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: netoya on July 07, 2009, 04:38:58 AM
And i have a problem with uninstalling the mod 0.1.3 program can't delete some tabls in database so i can't update to curent version.

The error is the same:
QuoteNote: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.9, while your database is at version 1.1.6. The above error might possibly go away if you execute the latest version of upgrade.php.
Unfortunately I can not remember the exact name of the table.

So to make forum working i had to run install.php becouse some of tables were deleted sucessuly. But no i can't see for what user got reputation in his profile tab.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: h4nbury on July 07, 2009, 02:27:43 PM
hey i cant install it! :(  i have SMF 1.1.9 and u use the 1.1.x mod. i get this when i click Apply Mod:

Quote!!Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.

any ideas?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on July 07, 2009, 05:59:51 PM
punktravis182 - do you have any other karma-type mods installed?

netoya - what was the original problem? I'm kind of confused by the different things you're saying.

h4nbury - make note of which parts failed, and this will tell you how to do them: http://www.fustrate.com/dev/sources/Advanced%20Reputation%20System/Reputation_1-1-x/install.xml
you can install it, but make sure you make the changes that it couldn't do alone.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: punktravis182 on July 07, 2009, 08:36:23 PM
Quote from: Fustrate on July 07, 2009, 05:59:51 PM
punktravis182 - do you have any other karma-type mods installed?

thanks for replying. i don't have any karma mods installed on my site. what should i do?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: mrtrc266 on July 07, 2009, 09:02:48 PM
FYI I just installed the new version on a fresh SMF 2 RC1-1 and it installed clean but blew up my forum

  Template Parse Error! There was a problem loading the /cache/lang_index+Modifications_english_default.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (). To see more specific error information from PHP, try accessing the file directly (http://www.worldteamofpoker.com/cache/lang_index+Modifications_english_default.php).

You may want to try to refresh this page (//http://javascript:location.reload();) or use the default theme (http://www.worldteamofpoker.com/index.php?theme=1).     


    syntax error, unexpected T_VARIABLE



EDIT:I couldn't track down what caused that, I just had to restore all the files and then had to use a theme that it didnt install on to get back inside my forum and clear the forum cache.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: biohazardjoker on July 08, 2009, 12:04:11 AM
i have a error can someone please help me ??????????????

Quote8. Execute Modification ./Themes/default/style.css Test successful
9. Execute Modification ./Sources/Admin.php Test successful
10. Execute Modification ./Sources/Display.php Test failed
11. Execute Modification ./Sources/Karma.php Test successful
12. Execute Modification ./Sources/Load.php Test successful
13. Execute Modification ./Sources/ManagePermissions.php Test successful
14. Execute Modification ./Sources/ManageServer.php Test successful
15. Execute Modification ./Sources/ModSettings.php Test successful
16. Execute Modification ./Sources/Post.php Test failed
17. Execute Modification ./Sources/Profile.php Test successful
18. Execute Modification ./Sources/RemoveTopic.php Test successful
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: D0CT0R on July 08, 2009, 08:09:13 AM
So, I got the mod installed, and it seems to be working, but only for me.  The others on the board still see the original karma numbers, and no "heart," rep power, or green bars.  Any suggestions?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: improv on July 08, 2009, 01:10:52 PM
Excuse me if this has been answered already,
but is there a way to convert the current karma into the reputation?

And by the way, great job it supports 1.1.x !
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on July 08, 2009, 02:12:39 PM
punktravis - if you know how to use phpmyadmin, can you look at the karma table and list what columns are there, and which one it says is primary (should be underlined or bolded)?

mrtrc - that's usually caused by a corrupted cache directory, all you have to do to fix that is delete that file from /cache/

biohazardjoker - see what I said to h4nbury above ^

D0CT0R - are they using a different theme? did you enable Reputation in the mod panel? did they do a hard refresh (ctrl-shift-r or cmd-shift-r)?

improv - There's a tool to give them reputation based on past posts and topics, if you'd like to use that. It's probably the best way to jump-start a reputation system. If you want to, upload GiveReputation.php (available on the mod's page) to your forum's directory, and go to it in your browser.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Mynamehere on July 09, 2009, 04:27:50 AM
Requesting assistance:

I have installed 0.1.3 on my SMF1.1.9
I have set the permissions in all usergroups (+rep, -rep, del rep for mods)
I have enabled reputation in the configuration tab.

I am using the default template, allthough I have changed the colors a bit.

I am unable to give or receive rep, despite being way over the minimum postcount myself....
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on July 09, 2009, 04:40:28 PM
Use the little heart icon in a post

if you can't see it, press ctrl-shift-r or cmd-shift-r
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: punktravis182 on July 10, 2009, 01:50:15 AM
Quote from: Fustrate on July 08, 2009, 02:12:39 PM
punktravis - if you know how to use phpmyadmin, can you look at the karma table and list what columns are there, and which one it says is primary (should be underlined or bolded)?


here are the 2 tables i found on Phpmyadmin.

Smf_log_Karma
http://i30.tinypic.com/o5sysk.jpg

Smf_limit_karma
http://i31.tinypic.com/v7qbux.jpg
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: improv on July 10, 2009, 08:56:30 AM
I recently wanted to install this mod too, yet I received the same errors as punktravis182 did.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on July 10, 2009, 06:10:20 PM
Oh boy, this is gonna be tough... I'm going to send a message to grek_kamchatka (trying to remember his name off the top of my head). His mod isn't uninstalling, it's just leaving everything it put in.

In the mean time, delete Description, link, and is_read, and add a primary key on ID_TARGET, ID_EXECUTOR:
ALTER TABLE smf_log_karma
ADD PRIMARY KEY (`id_executor`, `id_target`)


and I noticed a typo in my install file, good thing phpmyadmin isn't case sensitive :)
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: punktravis182 on July 10, 2009, 09:27:46 PM
Quote from: Fustrate on July 10, 2009, 06:10:20 PM
Oh boy, this is gonna be tough... I'm going to send a message to grek_kamchatka (trying to remember his name off the top of my head). His mod isn't uninstalling, it's just leaving everything it put in.

In the mean time, delete Description, link, and is_read, and add a primary key on ID_TARGET, ID_EXECUTOR:
ALTER TABLE smf_log_karma
ADD PRIMARY KEY (`id_executor`, `id_target`)


and I noticed a typo in my install file, good thing phpmyadmin isn't case sensitive :)

how to add primay key on ID-TARGET, ID_EXECUTOR? :(
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on July 10, 2009, 09:30:04 PM
ALTER TABLE smf_log_karma
ADD PRIMARY KEY (`id_target`, `id_executor`)
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: JeremyB. on July 10, 2009, 09:33:12 PM
Nice mod Fustrate.

-JB
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Kyzer on July 10, 2009, 10:06:27 PM
Hate to be a pest, but is there a way to make them start with 1 rep power and 1 rep? without getting another rep power ever 1 rep? ...
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: punktravis182 on July 10, 2009, 10:29:54 PM
Quote from: Fustrate on July 10, 2009, 09:30:04 PM
ALTER TABLE smf_log_karma
ADD PRIMARY KEY (`id_target`, `id_executor`)

Now i tried you what said, but here's the new error.

QuoteDuplicate entry '1128-0-0' for key 1
File: /home/backd00r/public_html/Packages/temp/install.php
Line: 130

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.9, while your database is at version 1.1.7. The above error might possibly go away if you execute the latest version of upgrade.php.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on July 10, 2009, 11:34:48 PM
Clear the karma log - DELETE FROM smf_log_karma WHERE 1=1
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: punktravis182 on July 11, 2009, 02:46:46 AM
Quote from: Fustrate on July 10, 2009, 11:34:48 PM
Clear the karma log - DELETE FROM smf_log_karma WHERE 1=1

thanks a lot!! i installed it successfully. i have one more question. what is GiveReputation.php? and where do i have to upload it?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on July 11, 2009, 02:48:45 AM
I added a FAQ on the first page of this topic. Basically, it allows you to give reputation points based on prior posts and topics made. It's a tool to jumpstart already-established forums' reputation systems.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: punktravis182 on July 11, 2009, 03:10:01 AM
Quote from: Fustrate on July 11, 2009, 02:48:45 AM
I added a FAQ on the first page of this topic. Basically, it allows you to give reputation points based on prior posts and topics made. It's a tool to jumpstart already-established forums' reputation systems.

thanks a lot for the quick reply! One last problem is The box doesn't pop up in a post, or the images don't show even if i refreshed my browser. i tried it on different brwosers but no luck. i check all the codes and they were installed successfully.

EDIT: i enabled the reputation system on admin panel. i also gave persmissions all membergroups including regular members but still they can't give rep.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on July 11, 2009, 03:24:23 AM
did you clear your cache? ctrl-shift-r or cmd-shift-r

and it's the little heart icon that you use to send rep, if that slipped by you
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: punktravis182 on July 11, 2009, 04:03:49 AM
Quote from: Fustrate on July 11, 2009, 03:24:23 AM
did you clear your cache? ctrl-shift-r or cmd-shift-r

and it's the little heart icon that you use to send rep, if that slipped by you

it worked!! thanks thanks thanks!!!

(http://i26.tinypic.com/bitmr5.jpg)

is there anyway i could move the heart button below the reputation points? so members can easily see it. xD
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on July 11, 2009, 04:25:25 AM
you'll have to change its position in Display.template.php. Make sure you move its whole code block (3-5 or so lines)
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: punktravis182 on July 11, 2009, 04:47:59 AM
thanks! now i successfully installed it on default core smf theme. but my default theme is aa_new_damage v2. i tried installing it manually. i edited the display.template.php and upload the images on the images folder but i still can't see the heart button.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on July 11, 2009, 04:50:26 AM
did you do the ctrl-shift-r again?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: punktravis182 on July 11, 2009, 04:57:59 AM
Quote from: Fustrate on July 11, 2009, 04:50:26 AM
did you do the ctrl-shift-r again?

yes but still no heart image. :(

EDIT: here's the screen shot.

http://i26.tinypic.com/smy4b4.jpg
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on July 11, 2009, 05:05:35 AM
okay, you need to move the code that shows the heart outside of the block it's in... attach Display.template.php here and I can fix it.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: punktravis182 on July 11, 2009, 05:07:44 AM
Quote from: Fustrate on July 11, 2009, 05:05:35 AM
okay, you need to move the code that shows the heart outside of the block it's in... attach Display.template.php here and I can fix it.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on July 12, 2009, 06:23:39 PM
go into the theme settings and check something about "show profile buttons in post". does that fix it?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: punktravis182 on July 13, 2009, 04:45:20 AM
Quote from: Fustrate on July 12, 2009, 06:23:39 PM
go into the theme settings and check something about "show profile buttons in post". does that fix it?

thanks i can see it now! but there's one more problem.

http://i28.tinypic.com/25h1rac.jpg

i was trying to add reputation to other members
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: evolution25 on July 13, 2009, 03:57:17 PM
can someone please help me i edit managesetting.php and after i install it on smf 2.0 rc1-1 it gives me this error Template Parse Error!
There was a problem loading the /cache/lang_index+Modifications_english_default.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.

You may want to try to refresh this page or use the default theme.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on July 14, 2009, 07:16:49 PM
delete the file in /cache/ that it references in your error... see if that clears it up. If not, attach your Modifications.english.php file from /Themes/default/languages/ to a post here.

punktravis - can you send me a temporary account login for your forum via PM?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: evolution25 on July 15, 2009, 02:00:21 AM
i tryed deleting it and i got the same error 

There was a problem loading the /cache/lang_index+Modifications_english_default.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: JayKay29 on July 15, 2009, 08:45:02 AM
Hi,
I'm having a problem with this mod. First, if I try to install the mod I get this text:
Installing this package will perform the following actions:
Type Action Description
1. Execute Code install.php
2. Execute Modification ./index.php Test successful
3. Execute Modification ./Themes/default/Display.template.php Test successful
4. Execute Modification ./Themes/default/PersonalMessage.template.php Test successful
5. Execute Modification ./Themes/default/Profile.template.php Test successful
6. Execute Modification ./Themes/default/Stats.template.php Test successful
7. Execute Modification ./Themes/default/script.js Test successful
8. Execute Modification ./Themes/default/style.css Test successful
9. Execute Modification ./Sources/Admin.php Test successful
10. Execute Modification ./Sources/Display.php Test successful
11. Execute Modification ./Sources/Karma.php Test successful
12. Execute Modification ./Sources/Load.php Test successful
13. Execute Modification ./Sources/ManagePermissions.php Test successful
14. Execute Modification ./Sources/ManageServer.php Test successful
15. Execute Modification ./Sources/ModSettings.php Test successful
16. Execute Modification ./Sources/Post.php Test successful
17. Execute Modification ./Sources/Profile.php Test successful
18. Execute Modification ./Sources/RemoveTopic.php Test successful
19. Execute Modification ./Sources/Stats.php Test successful
20. Execute Modification ./Sources/Subs-Members.php Test successful
21. Execute Modification ./Themes/default/languages/Errors.english.php Test successful
22. Execute Modification ./Themes/default/languages/Help.english.php Test successful
23. Execute Modification ./Themes/default/languages/index.english.php Test successful
24. Execute Modification ./Themes/default/languages/ManagePermissions.english.php Test successful
25. Execute Modification ./Themes/default/languages/ModSettings.english.php Test successful
26. Execute Modification ./Themes/default/languages/Reports.english.php Test successful
27. Execute Modification ./Themes/default/languages/Stats.english.php Test successful
28. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
29. Execute Modification ./Themes/default/languages/Errors.english-utf8.php Skipping file
30. Execute Modification ./Themes/default/languages/Help.english-utf8.php Skipping file
31. Execute Modification ./Themes/default/languages/index.english-utf8.php Skipping file
32. Execute Modification ./Themes/default/languages/ManagePermissions.english-utf8.php Skipping file
33. Execute Modification ./Themes/default/languages/ModSettings.english-utf8.php Skipping file
34. Execute Modification ./Themes/default/languages/Reports.english-utf8.php Skipping file
35. Execute Modification ./Themes/default/languages/Stats.english-utf8.php Skipping file
36. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php Skipping file
37. Execute Modification ./Themes/default/languages/Errors.russian.php Skipping file
38. Execute Modification ./Themes/default/languages/Help.russian.php Skipping file
39. Execute Modification ./Themes/default/languages/index.russian.php Skipping file
40. Execute Modification ./Themes/default/languages/ManagePermissions.russian.php Skipping file
41. Execute Modification ./Themes/default/languages/ModSettings.russian.php Skipping file
42. Execute Modification ./Themes/default/languages/Reports.russian.php Skipping file
43. Execute Modification ./Themes/default/languages/Stats.russian.php Skipping file
44. Execute Modification ./Themes/default/languages/Modifications.russian.php Skipping file
45. Execute Modification ./Themes/default/languages/Errors.russian-utf8.php Skipping file
46. Execute Modification ./Themes/default/languages/Help.russian-utf8.php Skipping file
47. Execute Modification ./Themes/default/languages/index.russian-utf8.php Skipping file
48. Execute Modification ./Themes/default/languages/ManagePermissions.russian-utf8.php Skipping file
49. Execute Modification ./Themes/default/languages/ModSettings.russian-utf8.php Skipping file
50. Execute Modification ./Themes/default/languages/Reports.russian-utf8.php Skipping file
51. Execute Modification ./Themes/default/languages/Stats.russian-utf8.php Skipping file
52. Execute Modification ./Themes/default/languages/Modifications.russian-utf8.php Skipping file
53. Extract File ./Themes/default/Karma.template.php
54. Extract File ./Themes/default/images/karma.gif
55. Extract File ./Themes/default/images/karmaBad_basic.gif
56. Extract File ./Themes/default/images/karmaGood_basic.gif
57. Extract File ./Themes/default/images/karmaBad_super.gif
58. Extract File ./Themes/default/images/karmaGood_super.gif
59. Extract File ./Themes/default/images/karma_disabled_basic.gif

I don't know if it's normal that it skips some files, but if I click "install" then it says the mod is succesfully installed. Everything worked fine untill I installed a new theme. With this new theme installed, the green images are being replaced with the text: "<name> has no influence (this should normally appear when you hover over the green image) and with the default theme installed it says Reputation Power: 1 and with the new theme it says Reputation Power: 0
I have tried to reinstall both the theme and the mod, but it didn't work.
My SMF version is 1.1.10 (yesterday it was 1.1.9)
Can someone help me with this problem please?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: fff on July 16, 2009, 01:59:54 PM
This is my 1.1.9 forum http://trustedptc.ueuo.com/.  I tried to install manually advanced reputation mod but I didnt succed, When I am opening the topics in my forum it shows some error messages like this:
Unknown column 'k.message' in 'field list'
File: /home/vhosts/trustedptc.ueuo.com/Sources/Display.php
Line: 741

I did everything correctly during the manual isntalation of this mod except the following modifications:

./Themes/default/script.js
Find (at the end of the file): [Select]
?>

Add Before: [Select]


var disappeardelay = 30 * 1000; // karma box hide display time, in milliseconds
var vertical_offset = "0px"; // vertical offset of karma box from image
var horizontal_offset = "-3px"; // horizontal offset of karma box from image

function getposOffset(what, offsettype){
var totaloffset = (offsettype=="left") ? what.offsetLeft : what.offsetTop;
var parentEl = what.offsetParent;
while (parentEl!=null){
totaloffset = (offsettype == "left") ? totaloffset + parentEl.offsetLeft : totaloffset + parentEl.offsetTop;
parentEl = parentEl.offsetParent;
}
return totaloffset;
}

function showhiderep(obj, e){
rep_box.style.left = rep_box.style.top = -500;
rep_box.widthobj = rep_box.style;
rep_box.widthobj.width = '300px';
if (obj.visibility == "visible"){
obj.visibility = "hidden";
obj.display = "none";
} else {
obj.visibility = "visible";
obj.display = "block";
}
}

function reputationForm(rep_contents, member_name, obj, e){
if(window.event)
event.cancelBubble = true;
else if(e.stopPropagation)
e.stopPropagation();
clearhidebox();
rep_box = document.getElementById("reputation_menu");
rep_fields = document.getElementById("reputation_fields");
rep_name = document.getElementById("reputation_name");
setInnerHTML(rep_fields, getInnerHTML(document.getElementById(rep_contents)));
setInnerHTML(rep_name, member_name);

showhiderep(rep_box.style, e);
rep_box.x = getposOffset(obj, "left");
rep_box.y = getposOffset(obj, "top");
rep_box.style.left = rep_box.x + "px";
rep_box.style.top = rep_box.y + obj.offsetHeight + "px";

delayhidebox();
}

function hidebox(e){
if(typeof rep_box != "undefined")
rep_box.style.visibility = "hidden";
}

function delayhidebox(){
delayhide = setTimeout("hidebox()", disappeardelay);
}

function clearhidebox(){
if(typeof delayhide != "undefined")
clearTimeout(delayhide);
}



and


./Themes/default/style.css
Find (at the end of the file): [Select]
?>

Add Before: [Select]

.repbars img
{
padding: 0 1px 0 0;
}

#reputation_menu{
position: absolute;
border: 1px solid black;
z-index: 100;
}



I cannot do these 2 modifications because there aren't characters like these ?>  in these files ./Themes/default/script.js and ./Themes/default/style.css

What is the problem?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: katb on July 20, 2009, 10:23:02 AM
i can see the heart icon when i login as a administartor , but normal members and other groups don't have. I have give the permissions to those groups but still heart icon is not coming . I am using smf 1.1.10 and dfault core theme ...
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: katb on July 20, 2009, 11:24:54 AM
please ignore above message i fix my error ..
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on July 20, 2009, 02:19:55 PM
fff - just put it at the end of the files, JS and CSS files don't have ?> at the end of them. Also, did you run install.php? Put it in your forum's main directory (next to index.php and SSI.php) and go to it in your browser.

JayKay29 - you need to put the six images from the mod package into your new theme's /images/ folder.

evolution25 - use this instead. Were you trying to translate the mod inside the english language file?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Shark-Time on July 20, 2009, 03:56:47 PM
is it possible that it appears next to reputition button like vbulletin boards?

(http://i341.photobucket.com/albums/o377/pakistanihaider/rep.jpg)

please can any one make it possible in SMF..
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on July 20, 2009, 04:02:18 PM
It already does that - press ctrl-shift-r or cmd-shift-r to clear the page's cache, and it should work as you show.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Shark-Time on July 20, 2009, 04:26:25 PM
Quote from: Fustrate on July 20, 2009, 04:02:18 PM
It already does that - press ctrl-shift-r or cmd-shift-r to clear the page's cache, and it should work as you show.

no buddy its still coming up... not next to the rep button
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on July 20, 2009, 04:41:38 PM
Did you make the changes to your theme's style.css file?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Shark-Time on July 20, 2009, 04:49:07 PM
may be..let me check..
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Shark-Time on July 20, 2009, 04:54:23 PM
Quote from: Fustrate on July 20, 2009, 04:41:38 PM
Did you make the changes to your theme's style.css file?

no i dont think so.. i installed it by the normal way from packages..havent done anything manually to this mod coding..
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Shark-Time on July 20, 2009, 05:00:55 PM
Hip Hip Hurrah.. its working fine now.. now its poping up.. i copied the coding of style.css to custom theme and its working great now... thanks for the hint it helped me great....many many thanks..
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on July 20, 2009, 05:08:20 PM
Good to hear :)
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Ixreb on July 21, 2009, 11:24:22 AM
I have not read the whole post. I have a problem, if a user writes a post receives reputation, but if I click on the heart does not get you anything! any idea?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: JayKay29 on July 21, 2009, 05:24:34 PM
Quote from: Fustrate on July 20, 2009, 02:19:55 PM
fff - just put it at the end of the files, JS and CSS files don't have ?> at the end of them. Also, did you run install.php? Put it in your forum's main directory (next to index.php and SSI.php) and go to it in your browser.

JayKay29 - you need to put the six images from the mod package into your new theme's /images/ folder.

evolution25 - use this instead. Were you trying to translate the mod inside the english language file?
Thanks, it works! :D
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: evolution25 on July 22, 2009, 11:20:00 PM
i am still getting the same error There was a problem loading the /cache/lang_index+Modifications_english_default.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: chaitu_cheat on July 24, 2009, 12:51:33 AM
When I am adding the reputation...its not showing it under Reputation as 1 or 2 :( . please help.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: PalmBeachPreps on July 24, 2009, 03:17:37 PM
When I rep someone, the dialog box is in a foreign language(not English!).
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: evolution25 on July 24, 2009, 03:51:51 PM
ecute Code   install.php   
   2.   Execute Modification   ./index.php   Test successful
      1.   Add After   ./index.php   Test successful

   3.   Execute Modification   ./Themes/default/Display.template.php   Test successful
   4.   Execute Modification   ./Themes/default/Profile.template.php   Test successful
   5.   Execute Modification   ./Themes/default/PersonalMessage.template.php   Test successful
   6.   Execute Modification   ./Themes/default/Stats.template.php   Test successful
   7.   Execute Modification   ./Themes/default/Xml.template.php   Test successful
   8.   Execute Modification   ./Themes/default/scripts/script.js   Test successful
   9.   Execute Modification   ./Themes/default/style.css   Test successful
   10.   Execute Modification   ./Sources/Display.php   Test successful
   11.   Execute Modification   ./Sources/Karma.php   Test successful
   12.   Execute Modification   ./Sources/Load.php   Test failed
      1.   Add After   ./Sources/Load.php   Test successful
      2.   Replace   ./Sources/Load.php   Test successful
      3.   Replace   ./Sources/Load.php   Test failed
      4.   Add After   ./Sources/Load.php   Test successful
      5.   Add Before   ./Sources/Load.php   Test successful

   13.   Execute Modification   ./Sources/ManageMaintenance.php   Test successful
   14.   Execute Modification   ./Sources/ManagePermissions.php   Test successful
   15.   Execute Modification   ./Sources/ManageServer.php   Test successful
   16.   Execute Modification   ./Sources/ManageSettings.php   Test successful
   17.   Execute Modification   ./Sources/Post.php   Test successful
   18.   Execute Modification   ./Sources/Profile.php   Test successful
   19.   Execute Modification   ./Sources/Profile-Modify.php   Test successful
   20.   Execute Modification   ./Sources/Profile-View.php   Test successful
   21.   Execute Modification   ./Sources/RemoveTopic.php   Test successful
   22.   Execute Modification   ./Sources/ScheduledTasks.php   Test successful
   23.   Execute Modification   ./Sources/Stats.php   Test successful
   24.   Execute Modification   ./Sources/Subs-Members.php   Test successful
   25.   Execute Modification   ./Sources/Xml.php   Test successful
   26.   Execute Modification   ./Themes/default/Display.template.php   Test successful
   27.   Execute Modification   ./Themes/default/languages/Admin.english.php   Test successful
   28.   Execute Modification   ./Themes/default/languages/Errors.english.php   Test successful
   29.   Execute Modification   ./Themes/default/languages/Help.english.php   Test successful
   30.   Execute Modification   ./Themes/default/languages/index.english.php   Test successful
   31.   Execute Modification   ./Themes/default/languages/Install.english.php   Test successful
   32.   Execute Modification   ./Themes/default/languages/ManageScheduledTasks.english.php   Test successful
   33.   Execute Modification   ./Themes/default/languages/ManagePermissions.english.php   Test successful
   34.   Execute Modification   ./Themes/default/languages/ManageSettings.english.php   Test successful
   35.   Execute Modification   ./Themes/default/languages/Profile.english.php   Test successful
   36.   Execute Modification   ./Themes/default/languages/Reports.english.php   Test successful
   37.   Execute Modification   ./Themes/default/languages/Stats.english.php   Test successful
   38.   Execute Modification   ./Themes/default/languages/Modifications.english.php   Test successful
   39.   Execute Modification   ./Themes/default/languages/Admin.english-utf8.php   Skipping file
   40.   Execute Modification   ./Themes/default/languages/Errors.english-utf8.php   Skipping file
   41.   Execute Modification   ./Themes/default/languages/Help.english-utf8.php   Skipping file
   42.   Execute Modification   ./Themes/default/languages/index.english-utf8.php   Skipping file
   43.   Execute Modification   ./Themes/default/languages/Install.english-utf8.php   Skipping file
   44.   Execute Modification   ./Themes/default/languages/ManageScheduledTasks.english-utf8.php   Skipping file
   45.   Execute Modification   ./Themes/default/languages/ManagePermissions.english-utf8.php   Skipping file
   46.   Execute Modification   ./Themes/default/languages/ManageSettings.english-utf8.php   Skipping file
   47.   Execute Modification   ./Themes/default/languages/Profile.english-utf8.php   Skipping file
   48.   Execute Modification   ./Themes/default/languages/Reports.english-utf8.php   Skipping file
   49.   Execute Modification   ./Themes/default/languages/Stats.english-utf8.php   Skipping file
   50.   Execute Modification   ./Themes/default/languages/Modifications.english-utf8.php   Test successful
   51.   Execute Modification   ./Themes/default/languages/Admin.turkish.php   Skipping file
   52.   Execute Modification   ./Themes/default/languages/Errors.turkish.php   Skipping file
   53.   Execute Modification   ./Themes/default/languages/Help.turkish.php   Skipping file
   54.   Execute Modification   ./Themes/default/languages/index.turkish.php   Skipping file
   55.   Execute Modification   ./Themes/default/languages/Install.turkish.php   Skipping file
   56.   Execute Modification   ./Themes/default/languages/ManageScheduledTasks.turkish.php   Skipping file
   57.   Execute Modification   ./Themes/default/languages/ManagePermissions.turkish.php   Skipping file
   58.   Execute Modification   ./Themes/default/languages/ManageSettings.turkish.php   Skipping file
   59.   Execute Modification   ./Themes/default/languages/Profile.turkish.php   Skipping file
   60.   Execute Modification   ./Themes/default/languages/Reports.turkish.php   Skipping file
   61.   Execute Modification   ./Themes/default/languages/Stats.turkish.php   Skipping file
   62.   Execute Modification   ./Themes/default/languages/Modifications.english.php   Test successful
   63.   Execute Modification   ./Themes/default/languages/Admin.turkish.php   Skipping file
   64.   Execute Modification   ./Themes/default/languages/Errors.turkish.php   Skipping file
   65.   Execute Modification   ./Themes/default/languages/Help.turkish.php   Skipping file
   66.   Execute Modification   ./Themes/default/languages/index.turkish.php   Skipping file
   67.   Execute Modification   ./Themes/default/languages/Install.turkish.php   Skipping file
   68.   Execute Modification   ./Themes/default/languages/ManageScheduledTasks.turkish.php   Skipping file
   69.   Execute Modification   ./Themes/default/languages/ManagePermissions.turkish.php   Skipping file
   70.   Execute Modification   ./Themes/default/languages/ManageSettings.turkish.php   Skipping file
   71.   Execute Modification   ./Themes/default/languages/Profile.turkish.php   Skipping file
   72.   Execute Modification   ./Themes/default/languages/Reports.turkish.php   Skipping file
   73.   Execute Modification   ./Themes/default/languages/Stats.turkish.php   Skipping file
   74.   Execute Modification   ./Themes/default/languages/Modifications.english.php   Test successful
   75.   Extract File   ./Themes/default/Karma.template.php   
   76.   Extract File   ./Themes/default/images/karma.gif   
   77.   Extract File   ./Themes/default/images/karma_bad_basic.gif   
   78.   Extract File   ./Themes/default/images/karma_good_basic.gif   
   79.   Extract File   ./Themes/default/images/karma_bad_super.gif   
   80.   Extract File   ./Themes/default/images/karma_good_super.gif   
   81.   Extract File   ./Themes/default/images/karma_disabled_basic.gif


then when i modifie load it gives me the error i keep getting
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: uaFlash on July 24, 2009, 04:17:51 PM
QuoteTo install this modification in any theme other than Default, please click the box next to "Install in Other Themes" at the bottom of this page and check the applicable themes.
How to install this mod to other templates? I don't understand :(
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: uaFlash on July 25, 2009, 07:00:58 AM
How to install this mod to other templates? pls help me :( I use SMF - 1.1.10
Title: Can you tell me what is my error when I try to install this mod?
Post by: rayosx on July 25, 2009, 12:34:14 PM
Guys,
When I am trying to install this Advanced Reputation System v1.7.5, I get an error  please check Line 10,    is that fine these errors or not?   can I proceed safely to install the mod ?   

I am using SMF 2.0 RC1.2

What changes or mods should I have to do for a proper installation?

Please advise

Thank you


Install Actions
Installations actions for "Advanced Reputation System":
Installing this package will perform the following actions:   Type Action Description
1. Execute Code install.php 
2. Execute Modification ./index.php Test successful
  1. Add After ./index.php Test successful

3. Execute Modification ./Themes/default/Display.template.php Test successful
  1. Replace ./Themes/default/Display.template.php Test successful
  2. Add After ./Themes/default/Display.template.php Test successful

4. Execute Modification ./Themes/default/Profile.template.php Test successful
  1. Add Before ./Themes/default/Profile.template.php Test successful

5. Execute Modification ./Themes/default/PersonalMessage.template.php Test successful
  1. Replace ./Themes/default/PersonalMessage.template.php Test successful

6. Execute Modification ./Themes/default/Stats.template.php Test successful
  1. Add Before ./Themes/default/Stats.template.php Test successful

7. Execute Modification ./Themes/default/Xml.template.php Test successful
  1. Add Before ./Themes/default/Xml.template.php Test successful

8. Execute Modification ./Themes/default/scripts/script.js Test successful
  1. Add Before ./Themes/default/scripts/script.js Test successful

9. Execute Modification ./Themes/default/style.css Test successful
  1. Add Before ./Themes/default/style.css Test successful

10. Execute Modification ./Sources/Display.php Test failed
  1. Add After ./Sources/Display.php Test successful
  2. Replace ./Sources/Display.php Test failed
  3. Add After ./Sources/Display.php Test successful


Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: CesarManara on July 26, 2009, 08:34:39 PM
Language portuguese_brazilian on SMF 2.0 RC1.2.

On the replace strings, I've used the official translate of SMF.

Admin.portuguese_brazilian.php
Code (Find) Select
$txt['karma'] = 'Karma';
Code (Replace) Select
$txt['karma'] = 'Reputação';


Errors.portuguese_brazilian.php
Code (Find) Select
$txt['not_enough_posts_karma'] = 'Desculpe, você não tem posts suficientes para modificar a reputação, você precisa de pelo menos %1$d.';
$txt['cant_change_own_karma'] = 'Desculpe, você não tem permissão para modificar sua própria reputação.';
$txt['karma_wait_time'] = 'Desculpe, você não pode repetir uma ação de reputação sem esperar %1$s %2$s.';

Code (Replace) Select
$txt['not_enough_posts_karma'] = 'Desculpe, você não tem posts suficientes para modificar a reputação, você precisa de pelo menos %1$d.';
$txt['cant_change_own_karma'] = 'Desculpe, você não tem permissão para modificar sua própria reputação.';
$txt['karma_wait_time'] = 'Desculpe, você não pode repetir uma ação de reputação sem esperar %1$s %2$s.';



Code (Find) Select
?>
Code (Add Before) Select
// Advanced Reputation System
$txt['karma_cant_agree'] = 'Você não tem permissão de dar reputação positiva para este user!';
$txt['karma_cant_disagree'] = 'Você não tem permissão de dar reputação negativa para este user!';
$txt['karma_choose_action'] = 'Decida-se! Concorde ou descorde, por favor.';
$txt['karma_maxed_out'] = 'Você já usou todas as %1$d das suas ações de reputação permitidas!';
$txt['karma_please_wait'] = 'Você tem de esperar %1$d horas entre as ações de reputação. Você ainda tem de esperar aproximadamente %2$d minutos.';
$txt['karma_spread_around'] = 'Por favor, de reputação para outros usuários antes de dar para este novamente.';
$txt['karma_didnt_update'] = 'Existe um erro com a database. Por favor tente novamente.';
$txt['karma_didnt_log'] = 'Existe um erro com o log de reputação. Por favor, alerte o Administrador.';
$txt['karma_sent_twice'] = 'Você não pode enviar reputação duas vezes no mesmo post!';



Help.portuguese_brazilian.php
Code (Find) Select
$helptxt['karmaMode'] = 'O Karma é uma função que mostra a popularidade de um membro. Membros, se permitidos, podem &quot;Aplaudir&quot; ou &quot;Denegrir&quot; outros membros, que é como suas popularidades são calculadas. Você pode mudar o número de posts necessário para se ter um &quot;Karma&quot;, o tempo entre as ações no karma, e se os Administradores terão de aguardar este tempo.<br /><br />Os grupos de membros que poderão ou não fazer ações no karma, isto é controlado por uma permissão. Se você está tendo problemas em liberar isto para todos os membros, cheque suas permissões.';
Code (Replace) Select
$helptxt['karmaMode'] = 'A reputação é uma função que mostra a popularidade de um membro. Membros, se permitidos, podem &quot;Aplaudir&quot; ou &quot;Denegrir&quot; outros membros, que é como suas popularidades são calculadas. Você pode mudar o número de posts necessário para se ter uma &quot;Reputação&quot;, o tempo entre as ações na reputação, e se os Administradores terão de aguardar este tempo.<br /><br />Os grupos de membros que poderão ou não fazer ações na reputação, isto é controlado por uma permissão. Se você está tendo problemas em liberar isto para todos os membros, cheque suas permissões.';


index.portuguese_brazilian.php
Code (Find) Select
?>
Code (Add Before) Select
// Advanced Reputation System
$txt['karma_title'] = 'Reputação';
$txt['karma_power'] = 'Poder de Reputação';
$txt['karma_add_to'] = 'Adicionar na reputação';
$txt['karma_your_opinion'] = 'O que você pensa deste post?';
$txt['add_karma'] = 'Adicionar reputação';
$txt['submit'] = 'Enviar';
$txt['comment'] = 'Comentário';
$txt['karma_agree'] = 'Bom post';
$txt['karma_disagree'] = 'Péssimo post';



Install.portuguese_brazilian.php
Code (Find) Select
$txt['default_karmaLabel'] = 'Karma:';
Code (Replace) Select
$txt['default_karmaLabel'] = 'Reputação:';


ManageScheduledTasks.portuguese_brazilian.php
Code (Find) Select
$txt['scheduled_task_desc_paid_subscriptions'] = 'Envia qualquer lembrete necessário de qualquer subscrição paga e remove subscrição expiradas.';
Code (Add After) Select
$txt['scheduled_task_karma_birthdays'] = 'Reputação de Aniversário'; $txt['scheduled_task_desc_karma_birthdays'] = 'Envia reputação no aniversário dos membros.';


ManagePermissions.portuguese_brazilian.php
Code (Find) Select
$txt['permissionname_karma_edit'] = 'Alterar o Karma de outro Membro';
$txt['permissionhelp_karma_edit'] = 'O Karma &eacute; uma caracter&iacute;stica que mostra a popularidade de um Membro. Para poder usar esta funcionalidade, precisa de a ativar em 'Recursos e Op&ccedil;&otilde;es'. Esta permiss&atilde;o permitir&aacute; que um Grupo de Membros vote no Karma. A permiss&atilde;o n&atilde;o tem efeito nos Visitantes.';

Code (Replace) Select
$txt['permissionname_karma_edit'] = 'Mudar a reputação de outro Membro';
$txt['permissionhelp_karma_edit'] = 'Reputação é uma funcionalidade que mostra a popularidade de um membro. Se quiser usar esta opção, você tem de ativa-la em &quot;Recursos e Opções&quot;. Esta permissão permitirá este grupo fazer ações de reputação. Esta permissão não tem efeito em visitantes.';



Code (Find) Select
?>
Code (Add Before) Select
$txt['permissionname_disable_karma_display'] = 'Desabilitar a exebição de sua reputação';
$txt['permissionhelp_disable_karma_display'] = 'Quando um usuário escolher desabilitar a exebição de sua própria reputação, nenhuma informação de reputação será mostrada a outros membros e sim uma reputação &quot;neutra&quot;.';
$txt['permissionname_negative_karma'] = 'Enviar reputação negativa para outros usúarios';
$txt['permissionhelp_negative_karma'] = 'Este usuário pode enviar reputação negativa para outros? Pode ser usado como um incentivo para
subscrições pagas.';
$txt['permissionname_positive_karma'] = 'Enviar reputação positiva para outros users';
$txt['permissionhelp_positive_karma'] = 'Este usuário pode enviar reputação positiva para outros membros? A maioria deve ter esta possibilidade.';
$txt['permissionname_delete_karma'] = 'Deletar ações de reputação?';
$txt['permissionhelp_delete_karma'] = 'Este usuário pode deletar as ações de reputação pelos profiles?';



ManageSettings.portuguese_brazilian.php
Code (Find) Select
$txt['karmaMode'] = 'Modo do Karma';
$txt['karma_options'] = 'Desabilitar Karma|Habilitar totalmente o Karma|Habilitar karma positivo/negativo';
$txt['karmaMinPosts'] = 'Defina o número mínimo de posts para modificar o karma';
$txt['karmaWaitTime'] = 'Defina o tempo de espera em horas';
$txt['karmaTimeRestrictAdmins'] = 'Administradores devem esperar o tempo?';
$txt['karmaLabel'] = 'Nome do Karma';
$txt['karmaApplaudLabel'] = 'Nome para dar Karma positivo';
$txt['karmaSmiteLabel'] = 'Nome para dar Karma negativo';

Code (Replace) Select
$txt['karmaMode'] = 'Modo da Reputação';
$txt['karma_options'] = 'Desabilitar Reputação|Habilitar Reputação';
$txt['karmaMinPosts'] = 'Defina o número mínimo de posts para modificar a Reputação';
$txt['karmaWaitTime'] = 'Defina o tempo de espera em horas';
$txt['karmaTimeRestrictAdmins'] = 'Administradores devem esperar o tempo?';
$txt['karmaLabel'] = 'Nome da Reputação (Não usado)';
$txt['karmaApplaudLabel'] = 'Nome para dar Reputação positiva (Não usado)';
$txt['karmaSmiteLabel'] = 'Nome para dar Reputação negativa (Não usado)';



Code (Find) Select
$txt['core_settings_item_k'] = 'Karma';
$txt['core_settings_item_k_desc'] = 'O Karma é uma função que mostra a popularidade de um membro. Membros, se permitidos, podem &quot;Aplaudir&quot; ou &quot;Denegrir&quot; outros membros, que é como suas popularidades são calculadas.';

Code (Replace) Select
$txt['core_settings_item_k'] = 'Reputação';
$txt['core_settings_item_k_desc'] = 'A Reputação é uma função que mostra a popularidade de um membro. Membros, se permitidos, podem &quot;Aplaudir&quot; ou &quot;Denegrir&quot; outros membros, que é como suas popularidades são calculadas.';



Code (Find) Select
?>
Code (Add Before) Select
$txt['karmaBarPower'] = 'Usuários ganham 1 de Poder de Reputação a cada __ Pontos<br /> <span style="font-size: smaller; padding: 3px;">100 por padrão</span>';
$txt['karmaBarPoints'] = 'Usuários ganham um retangulo a cada __ pontos<br /> <span style="font-size: smaller; padding: 3px;">1000 Por Padrão</span>';
$txt['karmaDescriptions'] = 'Descrição dos retangulos - uma por linha!<br /> <span style="font-size: smaller; padding: 3px;">Este é o texto que vai aparecer quando você colocar o mouse sobre os retangulos.</span>';
$txt['karmaDisabledDescription'] = 'Descrição dos membros que desabilitarem a exebição de sua reputação.';
$txt['karmaNegativeDescription'] = 'Descrição para membros que possuem reputação negativa.';
$txt['karmaValuePost'] = 'Quantos pontos por post?';
$txt['karmaValueThread'] = 'Quantos pontos por tópico?';
$txt['karmaRegistration'] = 'Dar as boas vindas a novos membros premiando eles com quantos pontos?';
$txt['karmaBirthday'] = 'Dar quantos pontos de feliz aniversário a um membro?';
$txt['karmaSpreadAround'] = 'Para quantas pessoas um usuário tem que dar reputação para poder repetir uma pessoa?';
$txt['karmaMaxPerDay'] =  'Quantas vezes em um dia uma pessoa pode dar reputação?';
$txt['karma_settings_desc'] = '<b>Pontos de reputação</b>: Pontos individuais que são ganhos quando o user posta, cria um tópico, ou é lhe dado reputação por outro usuário.<br /> <br /> <b>Poder de Reputação</b>: A quantidade de reputação que um membro pode dar a outro. Um membro com 0 de Popularidade não afeta a reputação de outros.';



Profile.portuguese_brazilian.php
Code (Find) Select
?>
Code (Add Before) Select
// Advanced Reputation System
$txt['user_disable_karma'] = 'Desabilitar exebição da sua própria reputação?';
$txt['user_disable_karma_description'] = 'Sua reputação não será mostrada a outros membros, mas você vai continuar a receber reputação negativa e positiva.';
$txt['reputation'] = 'Ver ações de reputação';
$txt['karma_latest_title'] = 'Últimas ações de reputações';
$txt['no_reputation_actions'] = 'Você não enviou nem recebeu reputação ainda!';



Reports.portuguese_brazilian.php
Code (Find) Select
$txt['group_perms_name_karma_edit'] = 'Editar o karma dos usu&aacute;rios';
Code (Replace) Select
$txt['group_perms_name_karma_edit'] = 'Editar a reputação dos usu&aacute;rios';


Stats.portuguese_brazilian.php
Code (Find) Select
$txt['best_karma'] = 'Melhor Karma';
$txt['worst_karma'] = 'Pior Karma';

Code (Replace) Select
$txt['best_karma'] = 'Melhor Reputa&ccedil;&atilde;o';
$txt['worst_karma'] = 'Pior Reputa&ccedil;&atilde;o';



Modifications.portuguese_brazilian.php
// Advanced Reputation System
$txt['no_reputation_log'] = 'Não existem registros de reputação no log.';
$txt['reputation_log'] = 'Log de reputação';
$txt['reputation_you'] = 'Você';
$txt['reputation_sent'] = 'Sua avaliação foi enviada';
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: uaFlash on July 27, 2009, 08:54:41 AM
how to reset all reputation?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: juanpons14 on July 27, 2009, 10:36:48 AM
I can't give reputation before i could but now when i try to give appear this:

Please spread the love before giving it to this user again.

I don't change anything.

Bye
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: CesarManara on July 27, 2009, 03:34:55 PM
Quote from: juanpons14 on July 27, 2009, 10:36:48 AM
I can't give reputation before i could but now when i try to give appear this:
Please spread the love before giving it to this user again.
I don't change anything.Bye
U have to send reputation to another users before giving to this user again.
The number of users can be set on the admin panel.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on July 27, 2009, 07:47:07 PM
First off, sorry for not responding... I've been very busy with stuff in life, and took a hiatus from SMF (as you could see from the pink "On Hiatus" badge) :) I'm back though


evolution25 - attach your /Themes/default/languages/Modifications.english.php to a post here? And http://www.fustrate.com/dev/sources/Advanced%20Reputation%20System/Reputation_2-0/install.xml

chaitu_cheat - I have no clue what you mean... can you explain a little more?

AlreeGator - if you look at Modifications.english.php or index.english.php, is there anything not in English?

uaFlash - http://www.fustrate.com/dev/sources/Advanced%20Reputation%20System/Reputation_1-1-x/install.xml and enter this query in phpMyAdmin (What is phpMyAdmin? (http://www.simplemachines.org/community/index.php?topic=21919.0)):
UPDATE smf_members
SET karmaGood = 0, karmaBad = 0
WHERE 1=1


rayosx - http://www.fustrate.com/dev/sources/Advanced%20Reputation%20System/Reputation_2-0/install.xml

CesarManara - Thanks, I'll work on getting those into the package

juanpons14 - Same answer as CesarManara gave :) By default, you can't give reputation to the same person too often, but this can be changed in the settings
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: rayosx on July 28, 2009, 06:03:33 AM
Frustate,

thanks for the link,  I already did the changes to   display.php, 

I don't see this

That's about it! There are a dozen or so settings under Configuration > Figures & Options > Reputation that you can mess around with, and six images that you can change if you feel like it.

Under configuration,  I don't see   any  Figures & Options,    can you please explain me exactly where to go or how to enable that option?

thanks again
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: juanpons14 on July 28, 2009, 02:08:56 PM
Quote from: Fustrate on July 27, 2009, 07:47:07 PM
First off, sorry for not responding... I've been very busy with stuff in life, and took a hiatus from SMF (as you could see from the pink "On Hiatus" badge) :) I'm back though


evolution25 - attach your /Themes/default/languages/Modifications.english.php to a post here? And http://www.fustrate.com/dev/sources/Advanced%20Reputation%20System/Reputation_2-0/install.xml

chaitu_cheat - I have no clue what you mean... can you explain a little more?

AlreeGator - if you look at Modifications.english.php or index.english.php, is there anything not in English?

uaFlash - http://www.fustrate.com/dev/sources/Advanced%20Reputation%20System/Reputation_1-1-x/install.xml and enter this query in phpMyAdmin (What is phpMyAdmin? (http://www.simplemachines.org/community/index.php?topic=21919.0)):
UPDATE smf_members
SET karmaGood = 0, karmaBad = 0
WHERE 1=1


rayosx - http://www.fustrate.com/dev/sources/Advanced%20Reputation%20System/Reputation_2-0/install.xml

CesarManara - Thanks, I'll work on getting those into the package

juanpons14 - Same answer as CesarManara gave :) By default, you can't give reputation to the same person too often, but this can be changed in the settings

Thanks to CesarManara and Frustate, can you tell me how can i desactivate this option?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: CesarManara on July 28, 2009, 02:37:56 PM
Quote from: juanpons14 on July 28, 2009, 02:08:56 PM
Thanks to CesarManara and Frustate, can you tell me how can i desactivate this option?

I don't recommend to desactive... But you can try setting the option as 0, dont know if will work.
I use with 1 on the option, will test setting as 0 in my forum and edit here.

Edit:

Yeah, u can desactive setting the option as 0. Then u can repeat the same person as the many times as u want.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on July 28, 2009, 07:39:37 PM
rayosx - it's "Features & Options", iirc
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: evolution25 on July 28, 2009, 08:05:30 PM
file
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: juanpons14 on July 29, 2009, 08:02:53 AM
Quote from: CesarManara on July 28, 2009, 02:37:56 PM
Quote from: juanpons14 on July 28, 2009, 02:08:56 PM
Thanks to CesarManara and Frustate, can you tell me how can i desactivate this option?

I don't recommend to desactive... But you can try setting the option as 0, dont know if will work.
I use with 1 on the option, will test setting as 0 in my forum and edit here.

Edit:

Yeah, u can desactive setting the option as 0. Then u can repeat the same person as the many times as u want.

Thanks..   :D

=)
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: uaFlash on July 29, 2009, 09:16:01 AM
Fustrate, tnx.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: CesarManara on July 29, 2009, 03:05:26 PM
Quote from: evolution25 on July 28, 2009, 08:05:30 PM
file

Have u tried to clean your cache directory?
Becouse i can't find anything wrong with ur modifications file. =/
Anything i mean any template error.

You don't have the Advanced Reputation System on ur modifications english.
$txt['no_reputation_log'] = 'There are no entries in the reputation log.';
$txt['reputation_log'] = 'Reputation Log';
$txt['reputation_you'] = 'You';
$txt['reputation_sent'] = 'Your reputation action has been sent';
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on July 29, 2009, 07:03:13 PM
I talked with him on AIM, and pretty much determined that it's not anything to do with this mod, but I could find what is wrong. He made another support topic in the general support area for it.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Riktor on July 29, 2009, 10:49:17 PM
Ok I just installed this MOD after installing a few others and I have a purely visual problem.

The MOD works perfect for everyone EXCEPT me. My profile with the custom REP title is repeating. For some reason it works fine for everyone but the ADMIN and with the ADMIN it is repeating around seven times. It is cluttering up my profile pretty back.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on July 29, 2009, 10:57:55 PM
did you upload all 6 images to your theme's images folder?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Riktor on July 29, 2009, 11:28:55 PM
It went in flawlessly; so I am going ot say yes. I used the forum to handle the package. This is the only problem.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on July 30, 2009, 01:11:35 AM
You should still make sure the images are in your theme's /images/ folder, just in case. They all begin with the word 'karma' iirc
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: rayosx on July 30, 2009, 02:38:36 AM
Frustate,
thanks, works like a charm :)
your mod is awesome !
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Alleks on July 31, 2009, 03:01:44 PM
I have SMF 1.1.9 installed and currently using Babylon theme.

When ARS was installed I found 2 problems:

1) Reputation power is not showing under reputation points. And there is no manual for 1.1.9. So it would helpful if someone from core would post needed modifications for template which goes with defaul SMF package.

2) When forum members tries to increase (or decrease) reputation it gets following error:

QuoteAn Error Has Occurred!
Session verification failed. Please try logging out and back in again, and then try again.

Returning URL: forum/index.php?action=reputation;uid=29;m=608;topic=24;sesc=

Please help.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Kadimi on August 01, 2009, 02:05:10 AM
Hello Fustrate,

While using this mod, I get javascript errors in both IE7 and FF (latest), here are the errors that Firefox shows:

When I click the heart icon to open the small window, it opens that small box its top left corner being the exact location where I clicked, even if that means that part of the box will be hidden untill I scroll the page up

Warning: Error in parsing value for property 'top'.  Declaration dropped.
Source File: http://www.e-metals.com/index.php?topic=1.msg2#msg2
Line: 0

Warning: Error in parsing value for property 'left'.  Declaration dropped.
Source File: http://www.e-metals.com/index.php?topic=1.msg2#msg2
Line: 0

---------------------------------------------------------

When I click submit I get this message, I only get it if there is no normal error like double repping the same post
Error: result.childNodes[0] is undefined
Source File: http://www.e-metals.com/Themes/default/scripts/script.js?rc1
Line: 1477
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on August 01, 2009, 02:36:00 AM
Alleks - follow the theme edits here (http://www.fustrate.com/dev/sources/Advanced%20Reputation%20System/Reputation_1-1-x/install.xml) for all $themedir edits.

KIN - I've never seen those javascript errors before, but I'll try to research it.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: netoya on August 04, 2009, 11:42:24 AM
There is russian and english languages installed on my forum so the install manager couden't find language files for spanish and spanish latin. Why don't installes just skip that files? I understand that this is not a critical error.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on August 04, 2009, 02:18:16 PM
It skips any languages that you don't have installed, if that's what you mean. Are you saying it doesn't show "Skipping File" next to the file names?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Kurogane on August 04, 2009, 03:14:56 PM
I have a problem with uninstall this mod and the problem is with language spanish there are not include to unistall it

1.  Execute Code  uninstall.php 
2. Execute Modification ./index.php Test successful
3. Execute Modification ./Themes/default/Display.template.php Test successful
4. Execute Modification ./Themes/default/PersonalMessage.template.php Test successful
5. Execute Modification ./Themes/default/Profile.template.php Test successful
6. Execute Modification ./Themes/default/Stats.template.php Test successful
7. Execute Modification ./Themes/default/script.js Test successful
8. Execute Modification ./Themes/default/style.css Test successful
9. Execute Modification ./Sources/Admin.php Test successful
10. Execute Modification ./Sources/Display.php Test successful
11. Execute Modification ./Sources/Karma.php Test successful
12. Execute Modification ./Sources/Load.php Test successful
13. Execute Modification ./Sources/ManagePermissions.php Test successful
14. Execute Modification ./Sources/ManageServer.php Test successful
15. Execute Modification ./Sources/ModSettings.php Test successful
16. Execute Modification ./Sources/Post.php Test successful
17. Execute Modification ./Sources/Profile.php Test successful
18. Execute Modification ./Sources/RemoveTopic.php Test successful
19. Execute Modification ./Sources/Stats.php Test successful
20. Execute Modification ./Sources/Subs-Members.php Test successful
21. Execute Modification ./Themes/default/languages/Errors.english.php Test successful
22. Execute Modification ./Themes/default/languages/Help.english.php Test successful
23. Execute Modification ./Themes/default/languages/index.english.php Test successful
24. Execute Modification ./Themes/default/languages/ManagePermissions.english.php Test successful
25. Execute Modification ./Themes/default/languages/ModSettings.english.php Test successful
26. Execute Modification ./Themes/default/languages/Reports.english.php Test successful
27. Execute Modification ./Themes/default/languages/Stats.english.php Test successful
28. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
29. Execute Modification ./Themes/default/languages/Errors.english-utf8.php Skipping file
30. Execute Modification ./Themes/default/languages/Help.english-utf8.php Skipping file
31. Execute Modification ./Themes/default/languages/index.english-utf8.php Skipping file
32. Execute Modification ./Themes/default/languages/ManagePermissions.english-utf8.php Skipping file
33. Execute Modification ./Themes/default/languages/ModSettings.english-utf8.php Skipping file
34. Execute Modification ./Themes/default/languages/Reports.english-utf8.php Skipping file
35. Execute Modification ./Themes/default/languages/Stats.english-utf8.php Skipping file
36. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php Skipping file
37. Execute Modification ./Themes/default/languages/Errors.russian.php Skipping file
38. Execute Modification ./Themes/default/languages/Help.russian.php Skipping file
39. Execute Modification ./Themes/default/languages/index.russian.php Skipping file
40. Execute Modification ./Themes/default/languages/ManagePermissions.russian.php Skipping file
41. Execute Modification ./Themes/default/languages/ModSettings.russian.php Skipping file
42. Execute Modification ./Themes/default/languages/Reports.russian.php Skipping file
43. Execute Modification ./Themes/default/languages/Stats.russian.php Skipping file
44. Execute Modification ./Themes/default/languages/Modifications.russian.php Skipping file
45. Execute Modification ./Themes/default/languages/Errors.russian-utf8.php Skipping file
46. Execute Modification ./Themes/default/languages/Help.russian-utf8.php Skipping file
47. Execute Modification ./Themes/default/languages/index.russian-utf8.php Skipping file
48. Execute Modification ./Themes/default/languages/ManagePermissions.russian-utf8.php Skipping file
49. Execute Modification ./Themes/default/languages/ModSettings.russian-utf8.php Skipping file
50. Execute Modification ./Themes/default/languages/Reports.russian-utf8.php Skipping file
51. Execute Modification ./Themes/default/languages/Stats.russian-utf8.php Skipping file
52. Execute Modification ./Themes/default/languages/Modifications.russian-utf8.php Skipping file
53. Delete File ./Themes/default/Karma.template.php
54. Delete File ./Themes/default/images/karma.gif
55. Delete File ./Themes/default/images/karmaBad_basic.gif
56. Delete File ./Themes/default/images/karmaGood_basic.gif
57. Delete File ./Themes/default/images/karmaBad_super.gif
58. Delete File ./Themes/default/images/karmaGood_super.gif
59. Delete File ./Themes/default/images/karma_disabled_basic.gif


I have the version v0.1.5 also there are a error in lang-spanish_latin-utf8.xml in the part "<file name="$languagedir/Errors.spanish_latin.php">" is wrong is should be "<file name="$languagedir/Errors.spanish_latin-utf8.php">" and the others modification

Can you fix it?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: netoya on August 04, 2009, 03:55:04 PM
Fustrate installer is not skipping spanish files
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: zpc9814 on August 05, 2009, 03:23:22 AM



but how to uninstall mods﹖if only to sent the package to host?
but  sent to whick directory?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: netoya on August 05, 2009, 12:04:27 PM
Fustrate i heve seen your post http://www.simplemachines.org/community/index.php?topic=230676.msg2179742#msg2179742 but i want to reset also information about who gave and who recived reputation with the comments for rep.
also noticed that if I want to see those who gave a reputation, then going to users profile, there in the field who gaved is not the name of porson gave i see "you" like i recived it, but it was given by another user for user whose profile i watch . Is it only my bug?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Ben K on August 05, 2009, 12:26:42 PM
I am making Russian lang support.
It'll be ready in 2-3 days  :P
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Ben K on August 05, 2009, 02:01:22 PM
No, it didn't take that much  :D
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: netoya on August 06, 2009, 01:51:11 AM
Ben K russian translate was allready made by Lex-BY for this mod
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Ben K on August 06, 2009, 01:55:38 AM
QuoteBen K russian translate was allready made by Lex-BY for this mod
He made one for Advanced Reputation System v0.1.5.
I made one for Advanced Reputation System v1.7.5.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: fox0r on August 06, 2009, 05:45:34 PM
I seem to be having a problem with this one.  It installed okay, save for one thing to Display.php that I went in and added manually.

I tried to add to someone (I'm an admin, of course), and it just doesn't seem to do anything.  I click on that person's profile, and go into their reputation, and it says they have none.

I ran the GiveReputation.php fine with no problems.

This is what I can find in my logs that might be relevant.

   
Apply Filter: Only show the error messages of this member Jen    Reverse chronological order of list Today at 05:41:37 pm
Apply Filter: Only show the error messages of this IP address 99.37.243.248      Apply Filter: Only show the error messages of this session bd3c00bc1dd62d64883e9a1dc7893ba1
     Apply Filter: Only show the errors of this type Type of error: Database
Apply Filter: Only show the error messages of this URL http://www.bqinternet.com/~jpohlman/htss/index.php?action=xmlhttp;sa=reputation;xml
Apply Filter: Only show the errors with the same message
Database Error: Unknown column 'comment' in 'field list'
Apply Filter: Only show the errors from this file
File: /usr/home2/jpohlman/public_html/htss/Sources/Xml.php
Line: 280

Any ideas how I can fix it?  I'm running 2.0 RC1.2.

Edit:  I tried running install.php for this mod, and it said that the database changes were complete, but there's still no comment (I tried to add one again), and I got the same error again in my error log.

Also, points are awarding, but comments aren't working.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: fox0r on August 07, 2009, 01:51:18 PM
I still have had no luck trying to fix this one myself. :(
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on August 08, 2009, 01:41:50 PM
Ben K, thanks for the translations. I'll add them as soon as I can.

fox0r, can you look at your database (What is phpMyAdmin? (http://www.simplemachines.org/community/index.php?topic=21919.0)) and see if the smf_log_karma (or {your db prefix}log_karma) table has a column named "comment"? If it doesn't, what columns does it have?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: fox0r on August 08, 2009, 10:40:03 PM
I don't have access to phpmyadmin unfortunately.  MYSQL also doesn't work via command line for the website I'm currently working with.  I need to get my buddy to get his host to set it up one of these days, but the owner of the hosting company is currently out of town.

I'm assuming it made something, since the mod does partially work.

I had a problem when I installed my board, where it didn't create all of the tables, so the support guys here gave me a php script to run to add it.  I figured it was a similar issue.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: fox0r on August 08, 2009, 10:51:42 PM
I made a little progress using the script I was given before.  I've added the comment and title columns, and was able to add a comment, which went through.  When I clicked okay (or submit, or whatever it is), I got a pop up that reads:

Rep iþlemi baþarýlý

I'm not sure what language that is..

The member I commented is account name "Jess', and in the log thinger it says I sent it to "Siz".

Error log doesn't report anything further.

Edit:

i tried to add the rest of the karma log colums, they all seem to be there.  I guess this web server is selective in what columns it adds.

Edit Again:

Siz is apparently Turkish for you.  Now to find where to tweak language settings for the mod.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: fox0r on August 08, 2009, 11:45:17 PM
Okay, I got it.  It added English and Turkish (I'm assuming!) to my modfications.english.php, and since Turkish was the latest one, it was using that.  I just deleted it and all is well in the world of Reputation.

Thanks for your help!
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on August 10, 2009, 02:22:26 AM
heh, you seem to have figured it out all on your own, great job on that :) sorry I wasn't responding, I've been hard at work on Curve and totally forgot to check on other stuff... found out I'm passable with Photoshop and haven't stopped since ;)
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Shark-Time on August 11, 2009, 09:55:52 AM
ok i want a bigger text feild.. see the red block in the cap for the size i need..
(http://i341.photobucket.com/albums/o377/pakistanihaider/1f.jpg)
do any one here can make it possible??
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: vanquizhers on August 11, 2009, 11:52:33 AM
Why I can't install Advanced reputation system for my other themes?
It not display the bar...  :-[
can somebody solve it?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: vanquizhers on August 11, 2009, 03:33:05 PM
can somebody help me?  :)
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: C4G-TK on August 11, 2009, 03:56:38 PM
Hey Fustrate...

I upgraded to 1.7.5 from 1.7.4 using the package manager.  Can I go ahead and delete the 1.7.4 package from the list or do I still need that there?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on August 11, 2009, 03:59:59 PM
You can delete it.

Shark-Time: Go into Display.template.html in your theme and increase the size attribute on the <input />

(and I spoke with vanquizhers via AIM)
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: C4G-TK on August 11, 2009, 04:11:08 PM
Thank you much.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: sangwe11 on August 11, 2009, 08:15:34 PM
For some reason, every now and then the reputation list resets.

It says no sent or recieved reputation, when there obviously has been.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Shark-Time on August 12, 2009, 01:14:55 AM
Quote from: Fustrate on August 11, 2009, 03:59:59 PM
You can delete it.

Shark-Time: Go into Display.template.html in your theme and increase the size attribute on the <input />

(and I spoke with vanquizhers via AIM)
Thanks mate for the input.. well i am not sure what to do.. can you please explain me..
here is some coding of that rep system..



<fieldset>
<legend>', $txt['karma_your_opinion'], '</legend>
<form id="reputation_form" name="reputation_form" action="', $scripturl, '?action=modifykarma" method="post" accept-charset="', $context['character_set'], '" class="reputation_form">
<input type="radio" name="type" value="agree"', !$context['can_pos_rep'] ? ' disabled="disabled"' : ' checked="checked"', ' /> ', $txt['karma_agree'], '
<input type="radio" name="type" value="disagree"', !$context['can_neg_rep'] ? ' disabled="disabled"' : !$context['can_pos_rep'] ? ' checked="checked"' : '', ' /> ', $txt['karma_disagree'], '
<span id="reputation_fields">&nbsp;</span>
<br /><br />
', $txt['comment'], ': <div align="center"><input type="text" name="reputation_comment" /><br /><input name="Name" type="text" value=""></div>
<br />
<input type="submit" value="', $txt['submit'], '" />
<input type="hidden" name="topic" value="', $context['current_topic'], '.', $context['start'], '" />
<input type="hidden" name="sc" value="', $context['session_id'], '" />
</form>
</fieldset>
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: vanquizhers on August 12, 2009, 02:07:51 AM
It still can't display correcty in my themes,

I already add :
Quote
.repbars img
{
   padding: 0 1px 0 0;
}

#reputation_menu{
   position: absolute;
   border: 1px solid black;
   z-index: 100;
}

Can somebody help me?
the theme name is Outline from http://www.dzinerstudio.com/

Thank You....  :)
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: netoya on August 12, 2009, 02:11:15 AM
vanquizhers did you copy image files of mod to your custom theme folder?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Shark-Time on August 12, 2009, 02:16:05 AM
Problem solved..

i changed this

<input type="text" name="reputation_comment" />

with this
<input type="text" name="reputation_comment" size="40" />

and now its looking much better..

(http://i341.photobucket.com/albums/o377/pakistanihaider/1g.jpg)
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: primetime on August 12, 2009, 11:34:17 AM
I get the following errror when trying to add or take away reputation points...

Session verification failed. Please try logging out and back in again, and then try again

I am using version 1.75
SMF 2.0 RC1.2
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: orca8767 on August 12, 2009, 04:22:01 PM
Quote from: primetime on August 12, 2009, 11:34:17 AM
I get the following errror when trying to add or take away reputation points...

Session verification failed. Please try logging out and back in again, and then try again

I am using version 1.75
SMF 2.0 RC1.2


Same here, it just spits this error out when you try to add/subtract rep from someone...
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: sangwe11 on August 12, 2009, 06:17:16 PM
For some reason, every now and then the reputation list resets.

It says no sent or recieved reputation, when there obviously has been.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on August 12, 2009, 07:21:26 PM
sangwe11 - are you on 1.1.x or 2.0?

orca and primetime - were all edits done to Display.template.php? Does the popup box work?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: netoya on August 13, 2009, 12:37:10 AM
Quote from: sangwe11 on August 12, 2009, 06:17:16 PM
For some reason, every now and then the reputation list resets.

It says no sent or recieved reputation, when there obviously has been.
The same, using 1.1.10
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on August 13, 2009, 01:23:46 AM
That SHOULD be impossible... can you attach your /Sources/Admin.php file?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Sordell Media on August 13, 2009, 02:14:43 AM
Are there problems with the language files for this mod? I'm getting some really odd gibberish (well, gibberish to me since I only speak english :P) when using the mod, when giving reputation the javascript alert says something like "Rep bupobupo!", and when viewing reputation I've sent shows the "from" name as "Siz" (where it should be displaying my name). Havent checked the reciever end to see if that shows incorrectly.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on August 13, 2009, 02:33:32 AM
Go into Modifications.english.php and remove anything not in English from the end, I've heard of that... need to investigate more
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: sangwe11 on August 13, 2009, 09:59:33 AM
Quote from: Fustrate on August 12, 2009, 07:21:26 PM
sangwe11 - are you on 1.1.x or 2.0?

orca and primetime - were all edits done to Display.template.php? Does the popup box work?

I'm using 1.1.10
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Aoife on August 13, 2009, 10:15:48 AM
Quote from: Fustrate on August 12, 2009, 07:21:26 PM

orca and primetime - were all edits done to Display.template.php? Does the popup box work?

I'm having the same problem as orca and primetime. i'm using 2.0 R1.2, don't know if the Display.template.php edits were done (how do i tell), and popup box does not work.

Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: primetime on August 13, 2009, 10:20:41 AM
Quote from: Fustrate on August 12, 2009, 07:21:26 PM
sangwe11 - are you on 1.1.x or 2.0?

orca and primetime - were all edits done to Display.template.php? Does the popup box work?

The pop-up does not work. And I assume that all edits were done to display.template.php. I am also using a diff theme, Silentwave, which does not have that file. I assume the MOD uses the file from the default theme.

Thank you,
Prime
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: noaccess on August 14, 2009, 04:37:36 AM
I'm wondering whether one can get negative reputation points with this? I just gave someone with 0 reputation, one negative review, yet I don't see any result. Is there a delay between the time you give it and one can see it also?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: slowforthecones on August 14, 2009, 04:52:34 AM
I'm using 1.1.10 and I get the following errors..any ideas?

nstalling this package will perform the following actions:
   Type    Action    Description
1.    Execute Code    install.php    
2.    Execute Modification    ./index.php    Test successful
3.    Execute Modification    ./Themes/default/Display.template.php    Test successful
4.    Execute Modification    ./Themes/default/PersonalMessage.template.php    Test successful
5.    Execute Modification    ./Themes/default/Profile.template.php    Test successful
6.    Execute Modification    ./Themes/default/Stats.template.php    Test successful
7.    Execute Modification    ./Themes/default/script.js    Test successful
8.    Execute Modification    ./Themes/default/style.css    Test successful
9.    Execute Modification    ./Sources/Admin.php    Test successful
10.    Execute Modification    ./Sources/Display.php    Test failed
11.    Execute Modification    ./Sources/Karma.php    Test successful
12.    Execute Modification    ./Sources/Load.php    Test successful
13.    Execute Modification    ./Sources/ManagePermissions.php    Test failed
14.    Execute Modification    ./Sources/ManageServer.php    Test successful
15.    Execute Modification    ./Sources/ModSettings.php    Test successful
16.    Execute Modification    ./Sources/Post.php    Test successful
17.    Execute Modification    ./Sources/Profile.php    Test successful
18.    Execute Modification    ./Sources/RemoveTopic.php    Test successful
19.    Execute Modification    ./Sources/Stats.php    Test successful
20.    Execute Modification    ./Sources/Subs-Members.php    Test successful
21.    Execute Modification    ./Themes/default/languages/Errors.english.php    Test successful
22.    Execute Modification    ./Themes/default/languages/Help.english.php    Test successful
23.    Execute Modification    ./Themes/default/languages/index.english.php    Test successful
24.    Execute Modification    ./Themes/default/languages/ManagePermissions.english.php    Test successful
25.    Execute Modification    ./Themes/default/languages/ModSettings.english.php    Test successful
26.    Execute Modification    ./Themes/default/languages/Reports.english.php    Test successful
27.    Execute Modification    ./Themes/default/languages/Stats.english.php    Test successful
28.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful
29.    Execute Modification    ./Themes/default/languages/Errors.english-utf8.php    Test successful
30.    Execute Modification    ./Themes/default/languages/Help.english-utf8.php    Test successful
31.    Execute Modification    ./Themes/default/languages/index.english-utf8.php    Test successful
32.    Execute Modification    ./Themes/default/languages/ManagePermissions.english-utf8.php    Test successful
33.    Execute Modification    ./Themes/default/languages/ModSettings.english-utf8.php    Test successful
34.    Execute Modification    ./Themes/default/languages/Reports.english-utf8.php    Test successful
35.    Execute Modification    ./Themes/default/languages/Stats.english-utf8.php    Test successful
36.    Execute Modification    ./Themes/default/languages/Modifications.english-utf8.php    Test successful
37.    Execute Modification    ./Themes/default/languages/Errors.russian.php    Skipping file
38.    Execute Modification    ./Themes/default/languages/Help.russian.php    Skipping file
39.    Execute Modification    ./Themes/default/languages/index.russian.php    Skipping file
40.    Execute Modification    ./Themes/default/languages/ManagePermissions.russian.php    Skipping file
41.    Execute Modification    ./Themes/default/languages/ModSettings.russian.php    Skipping file
42.    Execute Modification    ./Themes/default/languages/Reports.russian.php    Skipping file
43.    Execute Modification    ./Themes/default/languages/Stats.russian.php    Skipping file
44.    Execute Modification    ./Themes/default/languages/Modifications.russian.php    Skipping file
45.    Execute Modification    ./Themes/default/languages/Errors.russian-utf8.php    Test successful
46.    Execute Modification    ./Themes/default/languages/Help.russian-utf8.php    Test successful
47.    Execute Modification    ./Themes/default/languages/index.russian-utf8.php    Test successful
48.    Execute Modification    ./Themes/default/languages/ManagePermissions.russian-utf8.php    Test successful
49.    Execute Modification    ./Themes/default/languages/ModSettings.russian-utf8.php    Test successful
50.    Execute Modification    ./Themes/default/languages/Reports.russian-utf8.php    Test successful
51.    Execute Modification    ./Themes/default/languages/Stats.russian-utf8.php    Test successful
52.    Execute Modification    ./Themes/default/languages/Modifications.russian-utf8.php    Test successful
53.    Execute Modification    ./Themes/default/languages/Errors.spanish_latin.php    File not found
54.    Execute Modification    ./Themes/default/languages/Help.spanish_latin.php    File not found
55.    Execute Modification    ./Themes/default/languages/index.spanish_latin.php    File not found
56.    Execute Modification    ./Themes/default/languages/ManagePermissions.spanish_latin.php    File not found
57.    Execute Modification    ./Themes/default/languages/ModSettings.spanish_latin.php    File not found
58.    Execute Modification    ./Themes/default/languages/Reports.spanish_latin.php    File not found
59.    Execute Modification    ./Themes/default/languages/Stats.spanish_latin.php    File not found
60.    Execute Modification    ./Themes/default/languages/Modifications.spanish_latin.php    File not found
61.    Execute Modification    ./Themes/default/languages/Errors.spanish_latin.php    File not found
62.    Execute Modification    ./Themes/default/languages/Help.spanish_latin.php    File not found
63.    Execute Modification    ./Themes/default/languages/index.spanish_latin.php    File not found
64.    Execute Modification    ./Themes/default/languages/ManagePermissions.spanish_latin.php    File not found
65.    Execute Modification    ./Themes/default/languages/ModSettings.spanish_latin.php    File not found
66.    Execute Modification    ./Themes/default/languages/Reports.spanish_latin.php    File not found
67.    Execute Modification    ./Themes/default/languages/Stats.spanish_latin.php    File not found
68.    Execute Modification    ./Themes/default/languages/Modifications.spanish_latin.php    File not found
69.    Extract File    ./Themes/default/Karma.template.php    
70.    Extract File    ./Themes/default/images/karma.gif    
71.    Extract File    ./Themes/default/images/karmaBad_basic.gif    
72.    Extract File    ./Themes/default/images/karmaGood_basic.gif    
73.    Extract File    ./Themes/default/images/karmaBad_super.gif    
74.    Extract File    ./Themes/default/images/karmaGood_super.gif    
75.    Extract File    ./Themes/default/images/karma_disabled_basic.gif
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: noaccess on August 14, 2009, 05:37:14 AM
Quote from: slowforthecones on August 14, 2009, 04:52:34 AM
I'm using 1.1.10 and I get the following errors..any ideas?

nstalling this package will perform the following actions:

What you should do is manually add the changes to the following two files:
./Sources/Display.php
./Sources/ManagePermissions.php

Just apply the mod and the upload the manually changed files via ftp.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: sangwe11 on August 14, 2009, 11:22:41 AM
Quote from: Fustrate on August 12, 2009, 07:21:26 PM
sangwe11 - are you on 1.1.x or 2.0?

orca and primetime - were all edits done to Display.template.php? Does the popup box work?

I'm using 1.1.10
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: noaccess on August 15, 2009, 05:56:21 AM
The reputation system is installed on my forum but it only seems to add reputation to new users that join, not current members. How can I make it so it also works on the reputation of current users?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Shark-Time on August 16, 2009, 02:09:08 PM
To Fustrate.
Hello fustrate well this mod is working great for me.. but in this mod you have popup window function.. i mean when a user click the heart window popups beside it..
well its great but i want it for another mod too.. and i think you are the only one here who can understand on it.. please help me with it..
here is the topic in which i need help..
http://www.simplemachines.org/community/index.php?topic=331048.0


Please dont say no..if it wouldn't be important i would not had asked.. but you are the only one i have seen who understands on this popup thing..
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Ben K on August 17, 2009, 03:17:39 AM
It's been a while now, but there is still no Russian lang. in this mod =\
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on August 18, 2009, 03:26:20 AM
Ben K - it's in my dev copy, but I haven't had time to upload it to the mod site yet. I want to figure out any possible problems before I upload a new package, just in case there are bugs.

Shark-Time - have you looked at the javascript for this mod?

noaccess - try GiveReputation.php, which is (I think) also downloadable from the mod page. For your earlier question, it's answered in the first post of this topic :)

primetime & aoife - were the edits made to your theme's script.js file?

sangwe11 & netoya - I'm at a loss for why this happens... is it at the same time every month, every two months, randomly, weekly, etc.?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Shark-Time on August 18, 2009, 10:56:10 AM
yes i have seen the javascript of that file.. and i have done some editing and you can see that in the thread i have given..but i know that i am not good with javascript so im asking you..

please have a look on my topic and please please help me with it...

http://www.simplemachines.org/community/index.php?topic=331048.0...

the editing i have done to make it work is posted on the above topic but all i need is to do when i click the button the box appears next to that button.. like this mod when a user click heart then reputation box appears next to heart....

i need your help badly mate... please help me out with this...
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: TEF™ on August 18, 2009, 12:36:46 PM
Quote from: Sordell Media on August 13, 2009, 02:14:43 AM
Are there problems with the language files for this mod? I'm getting some really odd gibberish (well, gibberish to me since I only speak english :P) when using the mod, when giving reputation the javascript alert says something like "Rep bupobupo!", and when viewing reputation I've sent shows the "from" name as "Siz" (where it should be displaying my name). Havent checked the reciever end to see if that shows incorrectly.
Quote from: Fustrate on August 13, 2009, 02:33:32 AM
Go into Modifications.english.php and remove anything not in English from the end, I've heard of that... need to investigate more

Quote from: Modifications.english.php
$txt['no_reputation_log'] = 'There are no entries in the reputation log.';
$txt['reputation_log'] = 'Reputation Log';
$txt['reputation_you'] = 'You';
$txt['reputation_sent'] = 'Your reputation action has been sent';
$txt['no_reputation_log'] = 'Hiç rep girdisi yok.';
$txt['reputation_log'] = 'Rep girdileri';
$txt['reputation_you'] = 'Siz';
$txt['reputation_sent'] = 'Rep iþlemi baþarýlý';

The last four entries are causing the error. ;)

Also, though, when you look at someone else's reputation, it says "To You" instead of the member's name. However, when you go into your own profile, it says "From You" and then "To [member]."

I don't think I'm wording it correctly, so here's an example of what I mean:

Quote from: The other user's profile

Quote from: My profile


Is there a fix for this?


I apologize if any of the above was already stated.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: CrayonViolent on August 22, 2009, 11:15:03 AM
Dunno if someone mentioned it before..sorry, not gonna read 76 pages to find out.. how about making an option for it to only be visible to designated member groups? So for instance, Admin/Mods can give out rep to anybody but a user can not only not give rep, but can't even see it unless they have proper permissions set?

Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: hefesto on August 23, 2009, 11:24:04 AM
I've translated the mod into spanish (from Spain, not latin). Would love to see it in next version  ;) .
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Neverhurry on August 23, 2009, 03:51:19 PM
Hello there,

i am using smf 2.0 RC1.2 and have installed "thank-o-matic" mod and turned on Karma function. Can i use ARS mod? I would like very much to try it, but i don't if there will be any conflict with "thank-o-matic" mod and Karma function. Should i turn off Karma function first before? Many thanks for your help.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on August 23, 2009, 03:58:59 PM
TEF - would removing the column that says "You" solve the problem? The "You" is a reference to the profile owner, not the person viewing it.

CrayonViolent - it wouldn't be too hard, but it's probably not something that I'd code into the regular version. I could guide you throught it, or if you're comfortable with allowing me temporary FTP access, I could code it myself for you. Shouldn't take longer than half an hour either way.

hefesto - thanks, I've added it to my copy, which I'll upload later today.

neverhurry - I'm not sure... you could try it, but make sure you make backups of your files and database first.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Neverhurry on August 23, 2009, 04:02:38 PM
Quote from: Fustrate on August 23, 2009, 03:58:59 PM

neverhurry - I'm not sure... you could try it, but make sure you make backups of your files and database first.

Hi Fustrate, should I turn off the karma function in SMF 2.0 before i install this mod?
Yes, i backuped everything.

Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on August 23, 2009, 04:12:04 PM
There's no need to turn off the main karma function, since this just modifies the heck out of it, it's not a separate thing.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Neverhurry on August 23, 2009, 04:14:44 PM
Quote from: Fustrate on August 23, 2009, 04:12:04 PM
There's no need to turn off the main karma function, since this just modifies the heck out of it, it's not a separate thing.

Thanks a lot!
May I ask here, anybody who ever had conflict between "thank-o-matic" mod with ARS mod?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: hefesto on August 24, 2009, 01:16:28 PM
Quote from: Fustrate on August 23, 2009, 03:58:59 PM
hefesto - thanks, I've added it to my copy, which I'll upload later today.

Maybe you weren't able to upload it so quickly. No matter, I can wait... for now  ;D
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on August 24, 2009, 02:54:14 PM
heh, I'm looking into an error that might need to be fixed (unrelated to your translation :P)
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Rohan_ on August 25, 2009, 02:37:50 AM
hey i have a problem .. when someone clicks on add rep button then the rep box comes at top of the page .. i want it to open after the rep button ??? please help its really urgent
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: hefesto on August 26, 2009, 05:08:28 AM
I'm trying to add spanish translation to the package I've downloaded (I would like to install the mod before my holidays end), but I'm getting an error message every time I try to install the package  :-[ . Does SMF have some kind of packages hash checker that prevents the installation of modified ones? Or maybe I'm missing something in my modified package? Which files should I change for it to work and apply my changes? Thanks
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on August 26, 2009, 06:12:09 PM
Where is the error coming from? Try this one:
http://www.fustrate.com/dev/sources/Advanced Reputation System/Reputation_2-0

Rohan_, press ctrl-shift-r (cmd-shift-r on a mac)
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Rohan_ on August 27, 2009, 03:38:06 AM
Fustrate it didn't work the reputation box still coming at top of the page not just after the mouse cursor .. not everyone scroll up to see the box people thinks its not opening and close the window :( please help
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: primetime on August 27, 2009, 09:28:52 AM
I would really like to get this MOD to work but keep geting session verification errors. Anyone figured out why this happens?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: juvebalkan on August 27, 2009, 10:52:39 AM
I installed this mod, and when i removed it, I can't give normal karma anymore. This error is showing up when i try to give positive or negative karma:

An Error Has Occurred!
Unable to load the 'main' template.

Im using SMF 1.1.10

How can I get to work normal Karma again ?

Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Nameless? on August 27, 2009, 12:50:28 PM
is there any chance that this is compability with SMF 1.1.9 ??

Anyways i uploaded the mod i downloaded before this summer, it is Version: Advanced Reputation System v0.1.5

This shows when i Install:

Install Actions
Installations actions for "Advanced Reputation System":
Installing this package will perform the following actions:  Type Action Description
1. Execute Code install.php 
2. Execute Modification ./index.php Test successful
3. Execute Modification ./Themes/default/Display.template.php Test successful
4. Execute Modification ./Themes/default/PersonalMessage.template.php Test successful
5. Execute Modification ./Themes/default/Profile.template.php Test successful
6. Execute Modification ./Themes/default/Stats.template.php Test successful
7. Execute Modification ./Themes/default/script.js Test successful
8. Execute Modification ./Themes/default/style.css Test successful
9. Execute Modification ./Sources/Admin.php Test successful
10. Execute Modification ./Sources/Display.php Test successful
11. Execute Modification ./Sources/Karma.php Test successful
12. Execute Modification ./Sources/Load.php Test successful
13. Execute Modification ./Sources/ManagePermissions.php Test successful
14. Execute Modification ./Sources/ManageServer.php Test successful
15. Execute Modification ./Sources/ModSettings.php Test successful
16. Execute Modification ./Sources/Post.php Test successful
17. Execute Modification ./Sources/Profile.php Test successful
18. Execute Modification ./Sources/RemoveTopic.php Test successful
19. Execute Modification ./Sources/Stats.php Test successful
20. Execute Modification ./Sources/Subs-Members.php Test successful
21. Execute Modification ./Themes/default/languages/Errors.english.php Test successful
22. Execute Modification ./Themes/default/languages/Help.english.php Test successful
23. Execute Modification ./Themes/default/languages/index.english.php Test successful
24. Execute Modification ./Themes/default/languages/ManagePermissions.english.php Test successful
25. Execute Modification ./Themes/default/languages/ModSettings.english.php Test successful
26. Execute Modification ./Themes/default/languages/Reports.english.php Test successful
27. Execute Modification ./Themes/default/languages/Stats.english.php Test successful
28. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
29. Execute Modification ./Themes/default/languages/Errors.english-utf8.php Skipping file
30. Execute Modification ./Themes/default/languages/Help.english-utf8.php Skipping file
31. Execute Modification ./Themes/default/languages/index.english-utf8.php Skipping file
32. Execute Modification ./Themes/default/languages/ManagePermissions.english-utf8.php Skipping file
33. Execute Modification ./Themes/default/languages/ModSettings.english-utf8.php Skipping file
34. Execute Modification ./Themes/default/languages/Reports.english-utf8.php Skipping file
35. Execute Modification ./Themes/default/languages/Stats.english-utf8.php Skipping file
36. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php Skipping file
37. Execute Modification ./Themes/default/languages/Errors.russian.php Skipping file
38. Execute Modification ./Themes/default/languages/Help.russian.php Skipping file
39. Execute Modification ./Themes/default/languages/index.russian.php Skipping file
40. Execute Modification ./Themes/default/languages/ManagePermissions.russian.php Skipping file
41. Execute Modification ./Themes/default/languages/ModSettings.russian.php Skipping file
42. Execute Modification ./Themes/default/languages/Reports.russian.php Skipping file
43. Execute Modification ./Themes/default/languages/Stats.russian.php Skipping file
44. Execute Modification ./Themes/default/languages/Modifications.russian.php Skipping file
45. Execute Modification ./Themes/default/languages/Errors.russian-utf8.php Skipping file
46. Execute Modification ./Themes/default/languages/Help.russian-utf8.php Skipping file
47. Execute Modification ./Themes/default/languages/index.russian-utf8.php Skipping file
48. Execute Modification ./Themes/default/languages/ManagePermissions.russian-utf8.php Skipping file
49. Execute Modification ./Themes/default/languages/ModSettings.russian-utf8.php Skipping file
50. Execute Modification ./Themes/default/languages/Reports.russian-utf8.php Skipping file
51. Execute Modification ./Themes/default/languages/Stats.russian-utf8.php Skipping file
52. Execute Modification ./Themes/default/languages/Modifications.russian-utf8.php Skipping file
53. Extract File ./Themes/default/Karma.template.php 
54. Extract File ./Themes/default/images/karma.gif 
55. Extract File ./Themes/default/images/karmaBad_basic.gif 
56. Extract File ./Themes/default/images/karmaGood_basic.gif 
57. Extract File ./Themes/default/images/karmaBad_super.gif 
58. Extract File ./Themes/default/images/karmaGood_super.gif 
59. Extract File ./Themes/default/images/karma_disabled_basic.gif


Is It Ok to Go Forward and Install it?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Rohan_ on August 27, 2009, 01:45:34 PM
yeahh install it
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: juvebalkan on August 28, 2009, 09:53:55 AM
Quote from: juvebalkan on August 27, 2009, 10:52:39 AM
I installed this mod, and when i removed it, I can't give normal karma anymore. This error is showing up when i try to give positive or negative karma:

An Error Has Occurred!
Unable to load the 'main' template.

Im using SMF 1.1.10

How can I get to work normal Karma again ?



Anyone ?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on August 29, 2009, 12:31:44 AM
hmm... try replacing the Karma.php in your /Sources/ dir with a new one from the zip package... make sure you back up your old one first.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Shark-Time on August 29, 2009, 07:35:29 AM
Quote from: Rohan_ on August 25, 2009, 02:37:50 AM
hey i have a problem .. when someone clicks on add rep button then the rep box comes at top of the page .. i want it to open after the rep button ??? please help its really urgent

buddy i had the same prob before... i assume that you are using custom theme..make sure when you install this mod then do the editing in style.css of custom theme..may be this will help you..
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Rohan_ on August 29, 2009, 07:55:23 AM
Quote from: Shark-Time on August 29, 2009, 07:35:29 AM
buddy i had the same prob before... i assume that you are using custom theme..make sure when you install this mod then do the editing in style.css of custom theme..may be this will help you..
hey thanx a ton buddy you really solved my problem :)
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Shark-Time on August 29, 2009, 08:54:00 AM
no problemo...
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: clewis789 on August 31, 2009, 06:23:35 AM
i get this error ever time i try to give rep "Session verification failed. Please try logging out and back in again, and then try again"

but when i log out and log back in it still does no work
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Rohan_ on August 31, 2009, 06:38:40 AM
try to give rep to another user
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: clewis789 on August 31, 2009, 07:00:24 AM
Quote from: Rohan_ on August 31, 2009, 06:38:40 AM
try to give rep to another user

i have none of them work
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Rohan_ on August 31, 2009, 07:02:08 AM
clear your cookies then try again
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: LC on September 01, 2009, 01:22:04 PM
Having trouble installing this mod. I'm using smf 1.1.10.

18.   Execute Modification   ./Sources/RemoveTopic.php   Test failed

Is there a way to fix this?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on September 01, 2009, 01:59:05 PM
You'll either have to do that one edit manually, or attach that file here and I'll male the edit for you.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: LC on September 01, 2009, 04:32:32 PM
Quote from: Fustrate on September 01, 2009, 01:59:05 PM
You'll either have to do that one edit manually, or attach that file here and I'll male the edit for you.
File is attached. Thank you. Very much. :)

After which, I proceed with uploading and installing the package then replacing that file with the one you edited correct? Just making sure.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Rohan_ on September 01, 2009, 05:09:39 PM
Here it is .. enjoy


(http://i32.tinypic.com/2rdw18g.gif)(http://i32.tinypic.com/2rdw18g.gif)(http://i32.tinypic.com/2rdw18g.gif)
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: LC on September 01, 2009, 05:14:22 PM
Quote from: Rohan_ on September 01, 2009, 05:09:39 PM
Here it is .. enjoy


(http://i32.tinypic.com/2rdw18g.gif)(http://i32.tinypic.com/2rdw18g.gif)(http://i32.tinypic.com/2rdw18g.gif)

Thank you.  ;D
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Rohan_ on September 01, 2009, 05:19:29 PM
You're Most Welcome   ;D
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: evolution25 on September 01, 2009, 06:29:06 PM
it keeps giving me a error on new theme Fatal error: require_once() [function.require]: Failed opening required '/ArcadeSigsStats_v2.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/*/public_html/Sources/Load.php(2036) : eval()'d code on line 8 and i uninstalled arcade awhile ago
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on September 02, 2009, 12:15:12 AM
That doesn't have anything to do with the reputation system, sorry :( you should ask in the topic for the arcade (or arcade sig stats, whichever it is).

And thanks for helping out, Rohan_ :)
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Rohan_ on September 02, 2009, 02:56:01 AM
You're Welcome Fustrate :)
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Rohan_ on September 02, 2009, 04:47:03 PM
what do u mean ? do u mean the rep images or rep Box ? if u mean box and if u are using a custom theme then add this code in ur theme's style.css or if u cant then attach it here .. here is the code

Find
?>

Add Before

.repbars img
{
padding: 0 1px 0 0;
}

#reputation_menu{
position: absolute;
border: 1px solid black;
z-index: 100;
}
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: evolution25 on September 02, 2009, 04:53:24 PM
 it just says add rep and permissions r not showing rep images and the heart for to add rep
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: LC on September 02, 2009, 06:14:33 PM
You have to carry those image files over from the default theme folders (usually found in themes/default/images) for the reputation images to show up, if you've not done that already.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: evolution25 on September 02, 2009, 07:00:13 PM
how do i give rep to people as admin not posting comment
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on September 02, 2009, 02:36:07 PM
look in their profile, you can edit the # of positive or negative. You can also use GiveReputation.php
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: evolution25 on September 03, 2009, 02:57:54 PM
i still only have one rep bar is there a way i can link thank you system to rep system if someone thanks your post it counts as rep points only 1 of that box next to the name  like in this pic http://custom.simplemachines.org/mods/index.php?action=download;mod=1129;id=51744;image only see one box on my site
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Rohan_ on September 03, 2009, 03:01:20 PM
Quote from: Fustrate on September 02, 2009, 02:36:07 PM
look in their profile, you can edit the # of positive or negative. You can also use GiveReputation.php
hey what does givereputation.php do ?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: LC on September 03, 2009, 05:08:45 PM
Quote from: Rohan_ on September 03, 2009, 03:01:20 PM
Quote from: Fustrate on September 02, 2009, 02:36:07 PM
look in their profile, you can edit the # of positive or negative. You can also use GiveReputation.php
hey what does givereputation.php do ?
"How can I give my members points for their posts and topics made before I installed this mod?
Simple - download GiveReputation.php from the mod's download page, upload it to your forum's root directory, and point your browser to it. Make sure you decide how many points they get per post/topic before starting!" - http://www.simplemachines.org/community/index.php?topic=230676.msg1483159#msg1483159
:D

Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Danpotter on September 03, 2009, 09:04:56 PM
Quote from: Fustrate on March 25, 2008, 12:51:10 PM


To install this modification in any theme other than Default, please click the box next to "Install in Other Themes" at the bottom of this page and check the applicable themes.


Where is that?..pls provide me link...i wanna have this in my "Dilbermc Theme"
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: LC on September 03, 2009, 10:44:28 PM
Quote from: Rohan_ on September 01, 2009, 05:09:39 PM
Here it is .. enjoy


(http://i32.tinypic.com/2rdw18g.gif)(http://i32.tinypic.com/2rdw18g.gif)(http://i32.tinypic.com/2rdw18g.gif)
Well now I've discovered I can't remove any topics since installing this mod. I am assuming it has to do with the alteration to removetopic.php.

I am now getting a parse error -

Parse error: syntax error, unexpected '}' in /home/mysite/site/forum/Sources/RemoveTopic.php on line 414.

Please help?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Rohan_ on September 04, 2009, 12:32:39 AM
i dont know why is this happening but the error you having does not have any relation to this mod or my modification .. anyways try this maybe this work

Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: LC on September 04, 2009, 04:12:23 AM
Quote from: Rohan_ on September 04, 2009, 12:32:39 AM
i dont know why is this happening but the error you having does not have any relation to this mod or my modification .. anyways try this maybe this work
Oh. I see, well it's simply odd. I'm still getting the same error before I added that script you added. I will direct it to another part of the forum for support. Thank you for your help though.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Ben K on September 08, 2009, 01:39:25 AM
When is new version is coming out ? =\
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.8 and 2.0 RC1!
Post by: Fustrate on September 08, 2009, 03:47:44 AM
Quote from: Danpotter on September 03, 2009, 09:04:56 PM
Quote from: Fustrate on March 25, 2008, 12:51:10 PM


To install this modification in any theme other than Default, please click the box next to "Install in Other Themes" at the bottom of this page and check the applicable themes.


Where is that?..pls provide me link...i wanna have this in my "Dilbermc Theme"

It's only an option in SMF 2.0 - you'll have to do a manual install on 1.1.x.

Quote from: Ben K on September 08, 2009, 01:39:25 AM
When is new version is coming out ? =\
There's really no need for a new version util RC2, and I already have it packaged up... it's just that the package contains a bit of code from Curve (in the search/replaces), so I can't release it yet :)
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.10 and 2.0 RC1.2!
Post by: warlock2009 on September 08, 2009, 04:54:02 AM
 i get "The package you are trying to download or install is either corrupt or not compatible with this version of SMF." i try upload that mod for smf 1.1.10 with default theme,any one can tell me where is the problem!!!
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.10 and 2.0 RC1.2!
Post by: adbrad on September 10, 2009, 02:56:10 PM
i have installed this mod in smf 2.0rc1.2.
i used the package manager and have installed in my custom theme and copied the pictures to the images file how ever i am still not gettin the green bar all i get is a user name and a message
and have no idea how to make it appear.
i have also tryed using ctrl-shift-r

any help appreciated
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.10 and 2.0 RC1.2!
Post by: Fustrate on September 11, 2009, 07:17:47 PM
warlock, try adding this to the end of the url:
;emulate_version=1.1.9

adbrad, can you PM me the link to your forum?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.10 and 2.0 RC1.2!
Post by: Shark-Time on September 13, 2009, 02:42:58 PM
hello.. im facing little problem with this mod in profile.template.php

look its working fine in display.template.php..

(http://i341.photobucket.com/albums/o377/pakistanihaider/45628564.jpg)

but in profile summary it is not showing the reputation bar.. instead it is giving some no.. what does that no suppose to mean??

(http://i341.photobucket.com/albums/o377/pakistanihaider/repu.jpg)

please do some thing and make reputation bar of user enable in profile summary..
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.10 and 2.0 RC1.2!
Post by: Rohan_ on September 13, 2009, 02:50:11 PM
the number is the reputation points .. i hope u know what is points .. there is no use of rep bars there ..

what is ur site ?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.10 and 2.0 RC1.2!
Post by: Shark-Time on September 14, 2009, 07:59:12 AM
but buddy 1067 is too much.. and you can see i have set  my stutus disabled for points.like in first pic rep power is 0 and icon is grey and in second pic of my same profile reputation is1067??... also there  are other members with more than 100 points what does that mean.. they didnt got too point.. after all i dont have members.. the only members i have test members..as my forum is not active..

is there any way to show the repbar that how much the person has achieved??
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.10 and 2.0 RC1.2!
Post by: Frelo21 on September 15, 2009, 06:31:12 AM
why cant this work for 1.1.9

are there any upgrades in the future for it to work on 1.1.9?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.10 and 2.0 RC1.2!
Post by: Shark-Time on September 15, 2009, 08:53:41 AM
Hey any one do understand on my problem? can any one make repbars possible in profile??
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.10 and 2.0 RC1.2!
Post by: ოկtђ on September 15, 2009, 11:07:12 AM
Hi Fustrate ı want to show give rep members to post  under the post
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.10 and 2.0 RC1.2!
Post by: Sebis on September 17, 2009, 06:06:28 AM
Thanks for the mod! It works fine.

For my forum it is important to have reputation (comments) are viewable for all users (not 4 admins only)
is there a way to do this?

SMF 1.1.10 + reputation_1-1-x_0-1-5

Thanks!
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.10 and 2.0 RC1.2!
Post by: adbrad on September 17, 2009, 03:37:31 PM
ok so i have the mod installed and working however is ther a way you can allso display the rep point as well as the rep power i have seen it on other forums
see attached image to see what i mean
great mod so far

thanks

eta:i'm using version 1.75 of the mod and smf 2.0rc1.2 if this helps
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.10 and 2.0 RC1.2!
Post by: BinaryNinja on September 21, 2009, 10:49:43 AM
I'm sure this is a great mod, and I usually don't respond this way, but this is really frustrating!

"To install this modification in any theme other than Default, please click the box next to "Install in Other Themes" at the bottom of this page and check the applicable themes"

WHERE?! There is NO such F***ing thing?!

I would like to manually modify my code as I have a custom theme, but I can't?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.10 and 2.0 RC1.2!
Post by: LC on September 22, 2009, 10:19:53 PM
This is a great mod, however I have been having issues with guest IP's attempting to use the Karma and I have no idea how to stop it. I have not given any permissions for the karma to be altered by guests.

Here are the errors I am getting.

   
Guest    Today at 11:34:19 AM

http://www./forum/index.php?action=modifykarma
8: Undefined index: m
File: /home//site/forum/Sources/Karma.php
Line: 215
   
8: Undefined index: uid
File: /home//site/forum/Sources/Karma.php
Line: 214
  Check all

I use SMF 1.1.10 and a custom theme with other mods as well.

Any help or explanation why this is happening would be helpful. Thanks. :)
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.10 and 2.0 RC1.2!
Post by: gisfreak on September 23, 2009, 01:01:24 PM
hello mate  :D

interesting to install this mod on my SMF 1.1.10

but when i try to install it, this error happen :

QuoteExecute Modification   ./Themes/default/languages/Errors.spanish_latin.php   File not found
54.   Execute Modification   ./Themes/default/languages/Help.spanish_latin.php   File not found
55.   Execute Modification   ./Themes/default/languages/index.spanish_latin.php   File not found
56.   Execute Modification   ./Themes/default/languages/ManagePermissions.spanish_latin.php   File not found
57.   Execute Modification   ./Themes/default/languages/ModSettings.spanish_latin.php   File not found
58.   Execute Modification   ./Themes/default/languages/Reports.spanish_latin.php   File not found
59.   Execute Modification   ./Themes/default/languages/Stats.spanish_latin.php   File not found
60.   Execute Modification   ./Themes/default/languages/Modifications.spanish_latin.php   File not found
61.   Execute Modification   ./Themes/default/languages/Errors.spanish_latin.php   File not found
62.   Execute Modification   ./Themes/default/languages/Help.spanish_latin.php   File not found
63.   Execute Modification   ./Themes/default/languages/index.spanish_latin.php   File not found
64.   Execute Modification   ./Themes/default/languages/ManagePermissions.spanish_latin.php   File not found
65.   Execute Modification   ./Themes/default/languages/ModSettings.spanish_latin.php   File not found
66.   Execute Modification   ./Themes/default/languages/Reports.spanish_latin.php   File not found
67.   Execute Modification   ./Themes/default/languages/Stats.spanish_latin.php   File not found
68.   Execute Modification   ./Themes/default/languages/Modifications.spanish_latin.php   File not found


it seems that the script did not found spanish language

any clue ?

regards, GISfreak
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.10 and 2.0 RC1.2!
Post by: Rohan_ on September 23, 2009, 03:40:31 PM
if u use english then go on
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.10 and 2.0 RC1.2!
Post by: Sebis on September 23, 2009, 06:45:00 PM
Error while Uninstall (smf 1.1.10)
Execute Modification ./Themes/default/Display.template.php Failed

and:

Can't DROP 'karma_disabled'; check that column/key exists
File: /home/micracl/public_html/forum/Packages/temp/uninstall.php
line: 29


Could you please help to uninstall mod?

I do not have any other karma mods installed

Thanks
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.10 and 2.0 RC1.2!
Post by: gisfreak on September 24, 2009, 05:05:46 AM
Quote from: Rohan_ on September 23, 2009, 03:40:31 PM
if u use english then go on

yes i use English but

any other way ? i mean the cleanest way ?

how to overcome those error instead just ignore it, i need solution bout that ?

regards, GISfreak
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.10 and 2.0 RC1.2!
Post by: Rohan_ on September 24, 2009, 06:45:18 AM
just ignore the errors and install it.. the mod is searching the spanish language that is not usable for you so just ignore that ... language errors doesn't matter if u use a fix language .. but if u use spanish after installing this then u will get errors :)
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.10 and 2.0 RC1.2!
Post by: gisfreak on September 24, 2009, 09:47:15 AM
Quote from: Rohan_ on September 24, 2009, 06:45:18 AM
just ignore the errors and install it.. the mod is searching the spanish language that is not usable for you so just ignore that ... language errors doesn't matter if u use a fix language .. but if u use spanish after installing this then u will get errors :)

i try to install spanish_latin language by extracting spanish language pack to the directory,

but then i got this :

QuoteExecute Modification     ./Themes/default/languages/Errors.spanish_latin.php     Test failed
54.    Execute Modification    ./Themes/default/languages/Help.spanish_latin.php    Test failed
55.    Execute Modification    ./Themes/default/languages/index.spanish_latin.php    Test failed
56.    Execute Modification    ./Themes/default/languages/ManagePermissions.spanish_latin.php    Test failed
57.    Execute Modification    ./Themes/default/languages/ModSettings.spanish_latin.php    Test failed
58.    Execute Modification    ./Themes/default/languages/Reports.spanish_latin.php    Test failed
59.    Execute Modification    ./Themes/default/languages/Stats.spanish_latin.php    Test successful
60.    Execute Modification    ./Themes/default/languages/Modifications.spanish_latin.php    Test successful
61.    Execute Modification    ./Themes/default/languages/Errors.spanish_latin.php    Test failed
62.    Execute Modification    ./Themes/default/languages/Help.spanish_latin.php    Test failed
63.    Execute Modification    ./Themes/default/languages/index.spanish_latin.php    Test failed
64.    Execute Modification    ./Themes/default/languages/ManagePermissions.spanish_latin.php    Test failed
65.    Execute Modification    ./Themes/default/languages/ModSettings.spanish_latin.php    Test failed
66.    Execute Modification    ./Themes/default/languages/Reports.spanish_latin.php    Test failed
67.    Execute Modification    ./Themes/default/languages/Stats.spanish_latin.php    Test failed
68.    Execute Modification    ./Themes/default/languages/Modifications.spanish_latin.php    Test successful

some test are failed  :-[

i just install those language pack by simply extract zip file to the forum directory, is it correct ? and should i need to change anything after that ?

regards, GISfreak
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.10 and 2.0 RC1.2!
Post by: Rohan_ on September 28, 2009, 04:39:26 AM
do u want to use spanish language ?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.10 and 2.0 RC1.2!
Post by: DragonKith on September 28, 2009, 12:41:07 PM
I'm going to be install the Advanced Reputation System what do i have to install for everything to work i am a little confused what to download.

Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.10 and 2.0 RC1.2!
Post by: gisfreak on September 28, 2009, 11:53:16 PM
Quote from: Rohan_ on September 28, 2009, 04:39:26 AM
do u want to use spanish language ?

yep, i want to make those language work too


Quote from: DragonKith on September 28, 2009, 12:41:07 PM
I'm going to be install the Advanced Reputation System what do i have to install for everything to work i am a little confused what to download.

what version of SMF that you use ? version 1.1.10 or version 2 RC 1.2

then go to here :

http://custom.simplemachines.org/mods/index.php?mod=1129 (http://custom.simplemachines.org/mods/index.php?mod=1129)

you can download the mod based on your SMF version

http://custom.simplemachines.org/mods/index.php?action=download;mod=1129;id=107101 (http://custom.simplemachines.org/mods/index.php?action=download;mod=1129;id=107101)

for SMF 1.1.10

or

http://custom.simplemachines.org/mods/index.php?action=download;mod=1129;id=107102 (http://custom.simplemachines.org/mods/index.php?action=download;mod=1129;id=107102)

for SMF 2 RC1.2

then go to your ADMIN panel on your forum

go to Packages

and upload your MOD, then install it

regards, GISfreak
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.10 and 2.0 RC1.2!
Post by: Rohan_ on September 29, 2009, 02:04:13 AM
Quote from: gisfreak on September 24, 2009, 09:47:15 AM
Quote from: Rohan_ on September 24, 2009, 06:45:18 AM
just ignore the errors and install it.. the mod is searching the spanish language that is not usable for you so just ignore that ... language errors doesn't matter if u use a fix language .. but if u use spanish after installing this then u will get errors :)

i try to install spanish_latin language by extracting spanish language pack to the directory,

but then i got this :

QuoteExecute Modification     ./Themes/default/languages/Errors.spanish_latin.php     Test failed
54.    Execute Modification    ./Themes/default/languages/Help.spanish_latin.php    Test failed
55.    Execute Modification    ./Themes/default/languages/index.spanish_latin.php    Test failed
56.    Execute Modification    ./Themes/default/languages/ManagePermissions.spanish_latin.php    Test failed
57.    Execute Modification    ./Themes/default/languages/ModSettings.spanish_latin.php    Test failed
58.    Execute Modification    ./Themes/default/languages/Reports.spanish_latin.php    Test failed
59.    Execute Modification    ./Themes/default/languages/Stats.spanish_latin.php    Test successful
60.    Execute Modification    ./Themes/default/languages/Modifications.spanish_latin.php    Test successful
61.    Execute Modification    ./Themes/default/languages/Errors.spanish_latin.php    Test failed
62.    Execute Modification    ./Themes/default/languages/Help.spanish_latin.php    Test failed
63.    Execute Modification    ./Themes/default/languages/index.spanish_latin.php    Test failed
64.    Execute Modification    ./Themes/default/languages/ManagePermissions.spanish_latin.php    Test failed
65.    Execute Modification    ./Themes/default/languages/ModSettings.spanish_latin.php    Test failed
66.    Execute Modification    ./Themes/default/languages/Reports.spanish_latin.php    Test failed
67.    Execute Modification    ./Themes/default/languages/Stats.spanish_latin.php    Test failed
68.    Execute Modification    ./Themes/default/languages/Modifications.spanish_latin.php    Test successful

some test are failed  :-[

i just install those language pack by simply extract zip file to the forum directory, is it correct ? and should i need to change anything after that ?

regards, GISfreak

is your spanish files are writable ?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.10 and 2.0 RC1.2!
Post by: netoya on September 29, 2009, 02:14:13 AM
installer is not skipping spanish files!
just look lang-spanish_latin.xml and lang-spanish_latin-utf8.xml there are no error="skip" if that language is not installed.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.10 and 2.0 RC1.2!
Post by: Sebis on September 29, 2009, 03:08:51 AM
Quote from: Sebis on September 23, 2009, 06:45:00 PM
Error while Uninstall (smf 1.1.10)
Execute Modification ./Themes/default/Display.template.php Failed

and:

Can't DROP 'karma_disabled'; check that column/key exists
File: /home/micracl/public_html/forum/Packages/temp/uninstall.php
line: 29


Could you please help to uninstall mod?

I do not have any other karma mods installed

Thanks

Could anybody help with this?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.10 and 2.0 RC1.2!
Post by: gisfreak on September 29, 2009, 09:09:26 PM
Quote from: Rohan_ on September 29, 2009, 02:04:13 AM
Quote from: gisfreak on September 24, 2009, 09:47:15 AM
Quote from: Rohan_ on September 24, 2009, 06:45:18 AM
just ignore the errors and install it.. the mod is searching the spanish language that is not usable for you so just ignore that ... language errors doesn't matter if u use a fix language .. but if u use spanish after installing this then u will get errors :)

i try to install spanish_latin language by extracting spanish language pack to the directory,

but then i got this :

QuoteExecute Modification     ./Themes/default/languages/Errors.spanish_latin.php     Test failed
54.    Execute Modification    ./Themes/default/languages/Help.spanish_latin.php    Test failed
55.    Execute Modification    ./Themes/default/languages/index.spanish_latin.php    Test failed
56.    Execute Modification    ./Themes/default/languages/ManagePermissions.spanish_latin.php    Test failed
57.    Execute Modification    ./Themes/default/languages/ModSettings.spanish_latin.php    Test failed
58.    Execute Modification    ./Themes/default/languages/Reports.spanish_latin.php    Test failed
59.    Execute Modification    ./Themes/default/languages/Stats.spanish_latin.php    Test successful
60.    Execute Modification    ./Themes/default/languages/Modifications.spanish_latin.php    Test successful
61.    Execute Modification    ./Themes/default/languages/Errors.spanish_latin.php    Test failed
62.    Execute Modification    ./Themes/default/languages/Help.spanish_latin.php    Test failed
63.    Execute Modification    ./Themes/default/languages/index.spanish_latin.php    Test failed
64.    Execute Modification    ./Themes/default/languages/ManagePermissions.spanish_latin.php    Test failed
65.    Execute Modification    ./Themes/default/languages/ModSettings.spanish_latin.php    Test failed
66.    Execute Modification    ./Themes/default/languages/Reports.spanish_latin.php    Test failed
67.    Execute Modification    ./Themes/default/languages/Stats.spanish_latin.php    Test failed
68.    Execute Modification    ./Themes/default/languages/Modifications.spanish_latin.php    Test successful

some test are failed  :-[

i just install those language pack by simply extract zip file to the forum directory, is it correct ? and should i need to change anything after that ?

regards, GISfreak

is your spanish files are writable ?

yep. i just change from 644 to 755

but No luck

any other way ?

regards, GISfreak
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.10 and 2.0 RC1.2!
Post by: Rohan_ on September 30, 2009, 03:58:02 AM
go in packaged > settings > all files are writable
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.10 and 2.0 RC1.2!
Post by: gisfreak on September 30, 2009, 11:37:52 AM
Quote from: Rohan_ on September 30, 2009, 03:58:02 AM
go in packaged > settings > all files are writable

still not work ,

or could be my mistake on installation step ?

hem, but some of spanish_latin file were sucessfull :

QuoteExecute Modification     ./Themes/default/languages/Stats.spanish_latin.php     Test successful
Execute Modification    ./Themes/default/languages/Modifications.spanish_latin.php    Test successful
Execute Modification     ./Themes/default/languages/Modifications.spanish_latin.php

and the rest were failed during test :

QuoteExecute Modification     ./Themes/default/languages/Errors.spanish_latin.php     Test failed
Execute Modification    ./Themes/default/languages/Help.spanish_latin.php    Test failed
Execute Modification    ./Themes/default/languages/index.spanish_latin.php    Test failed
Execute Modification    ./Themes/default/languages/ManagePermissions.spanish_latin.php    Test failed
Execute Modification    ./Themes/default/languages/ModSettings.spanish_latin.php    Test failed
Execute Modification    ./Themes/default/languages/Reports.spanish_latin.php    Test failed
Execute Modification     ./Themes/default/languages/Errors.spanish_latin.php     Test failed
Execute Modification    ./Themes/default/languages/Help.spanish_latin.php    Test failed
Execute Modification    ./Themes/default/languages/index.spanish_latin.php    Test failed
Execute Modification    ./Themes/default/languages/ManagePermissions.spanish_latin.php    Test failed
Execute Modification    ./Themes/default/languages/ModSettings.spanish_latin.php    Test failed
Execute Modification    ./Themes/default/languages/Reports.spanish_latin.php    Test failed
Execute Modification    ./Themes/default/languages/Stats.spanish_latin.php    Test failed

hoh, really annoying , hehehehe

any other way mate ?

regards, GISfreak
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.10 and 2.0 RC1.2!
Post by: casty23 on September 30, 2009, 12:35:08 PM
I tried this mod on 1.1.10 in 2 different themes and it wouldn't work.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.10 and 2.0 RC1.2!
Post by: 4b11l on October 02, 2009, 12:50:37 PM
Having a slight issue with an extra space in the post info profile.

Maybe an extra <br /> tag somewhere? Just recently installed 2.0 and would like to know where this code was put. Thanks.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.10 and 2.0 RC1.2!
Post by: Rohan_ on October 02, 2009, 02:56:48 PM
find it in themes>your theme>display.php
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.10 and 2.0 RC1.2!
Post by: 4b11l on October 02, 2009, 03:47:32 PM
I looked in display.template.php and found the code, but it doesn't look like there is anything wrong with it. Can anyone help me remedy this issue?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.10 and 2.0 RC1.2!
Post by: Rohan_ on October 03, 2009, 02:32:02 AM
attach it here
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.10 and 2.0 RC1.2!
Post by: 4b11l on October 03, 2009, 02:35:43 AM
Quote from: Rohan_ on October 03, 2009, 02:32:02 AM
attach it here
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.10 and 2.0 RC1.2!
Post by: Rohan_ on October 03, 2009, 02:47:08 AM
try this :(
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.10 and 2.0 RC1.2!
Post by: 4b11l on October 03, 2009, 03:02:43 AM
Quote from: Rohan_ on October 03, 2009, 02:47:08 AM
try this :(

Now, the power bar is moved directly next to the reputation power number.

So it's...

Reputation Power: 60 [][][]

I am not sure what's going wrong.
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.10 and 2.0 RC1.2!
Post by: Rohan_ on October 03, 2009, 03:28:29 AM
try this  >:(
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.10 and 2.0 RC1.2!
Post by: gisfreak on October 03, 2009, 11:20:22 AM
Quote from: netoya on September 29, 2009, 02:14:13 AM
installer is not skipping spanish files!
just look lang-spanish_latin.xml and lang-spanish_latin-utf8.xml there are no error="skip" if that language is not installed.

hem, i try to add those modification to the script, but still error happen

yes, its skipping the language, but in the next , it said not found

Quote53.     Execute Modification     ./Themes/default/languages/Errors.spanish_latin.php     Skipping file
54.    Execute Modification    ./Themes/default/languages/Help.spanish_latin.php    Skipping file
55.    Execute Modification    ./Themes/default/languages/index.spanish_latin.php    Skipping file
56.    Execute Modification    ./Themes/default/languages/ManagePermissions.spanish_latin.php    Skipping file
57.    Execute Modification    ./Themes/default/languages/ModSettings.spanish_latin.php    Skipping file
58.    Execute Modification    ./Themes/default/languages/Reports.spanish_latin.php    Skipping file
59.    Execute Modification    ./Themes/default/languages/Stats.spanish_latin.php    Skipping file
60.    Execute Modification    ./Themes/default/languages/Modifications.spanish_latin.php    Skipping file
61.    Execute Modification    ./Themes/default/languages/Errors.spanish_latin.php    File not found
62.    Execute Modification    ./Themes/default/languages/Help.spanish_latin.php    File not found
63.    Execute Modification    ./Themes/default/languages/index.spanish_latin.php    File not found
64.    Execute Modification    ./Themes/default/languages/ManagePermissions.spanish_latin.php    File not found
65.    Execute Modification    ./Themes/default/languages/ModSettings.spanish_latin.php    File not found
66.    Execute Modification    ./Themes/default/languages/Reports.spanish_latin.php    File not found
67.    Execute Modification    ./Themes/default/languages/Stats.spanish_latin.php    File not found
68.    Execute Modification    ./Themes/default/languages/Modifications.spanish_latin.php    File not found

its seems that script check it twice, i will look closer at the installer  :)

wish me luck
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.10 and 2.0 RC1.2!
Post by: 4b11l on October 03, 2009, 12:44:49 PM
Quote from: Rohan_ on October 03, 2009, 03:28:29 AM
try this  >:(

Thanks, that did it! Can you let me know what you did so I know where to look for future reference?
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.10 and 2.0 RC1.2!
Post by: Rohan_ on October 03, 2009, 01:41:52 PM
i just removed the <li> tags and used <span>
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.10 and 2.0 RC1.2!
Post by: slowmotion_99 on October 03, 2009, 01:58:03 PM
Hello...
how to rename "reputation power" ?cause i want to using another name...

Thanks
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.10 and 2.0 RC1.2!
Post by: Rohan_ on October 03, 2009, 03:02:11 PM
Quote from: slowmotion_99 on October 03, 2009, 01:58:03 PM
Hello...
how to rename "reputation power" ?cause i want to using another name...

Thanks
in

Themes > Default > Languages > modifications.english.php

find
$txt['karma_power'] = 'Reputation Power';

Change Reputation Power to whatever you want :)
Title: Re: Advanced Reputation System - Now Supporting SMF 1.1.10 and 2.0 RC1.2!
Post by: 4b11l on October 03, 2009, 03:04:04 PM
Quote from: Rohan_ on October 03, 2009, 01:41:52 PM
i just removed the <li> tags and used <span>

Thanks. Cheers.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Fustrate on October 03, 2009, 06:43:18 PM
Version 1.8 has been released, and is RC2+Curve compatible. It does not work with any non-Curve-based themes yet, but a compatibility pack will be released in the near future.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: netoya on October 04, 2009, 11:28:00 AM
Quote from: gisfreak on October 03, 2009, 11:20:22 AM
yes, its skipping the language, but in the next , it said not found
did you add this line for utf-8 also?
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: gisfreak on October 05, 2009, 04:16:55 AM
Quote from: netoya on October 04, 2009, 11:28:00 AM
Quote from: gisfreak on October 03, 2009, 11:20:22 AM
yes, its skipping the language, but in the next , it said not found
did you add this line for utf-8 also?

just notice it, i'll add it, thanx  :D
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: 4b11l on October 05, 2009, 03:55:15 PM
Has anyone been able to add a link to the post profile that will show the given/commented reputations as a # count?

So, it will link to their rep page when clicked.
http://site/index.php?action=profile;area=reputation;u=1

Additionally, new error.
Division by zero
File: /public_html/Sources/Load.php
Line: 1124


Which pertains to:
$power = ($points - ($points % $modSettings['karmaBarPower'])) / $modSettings['karmaBarPower'];


Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: TurtleKicker on October 07, 2009, 04:52:57 PM
Yikes! 80 pages. I just need some simple questions answered...

1) Where can I get the full list of features? All these "and more!" in the feature lists are just a tease and not descriptive enough to be helpful unless there's a full list somewhere. ;)

2) Is it possible to only allow the giving of rep?

3) Is it possible to log all rep publicly and require a reason to be given each time? (sort of like http://custom.simplemachines.org/mods/index.php?mod=192 )

Thanks in advance! :)

Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Rohan_ on October 08, 2009, 04:05:16 AM
this Reputation mod adds a new button just after the (http://www.simplemachines.org/community/Themes/smsite/images/www_sm.gif) button .. and whenever someone clicks on the button it opens a new window and there u can see 2 option approve or disapprove and a text box to add comments .. a reputation describes the popularity of a user .... to see exactly what it does .. u can visit and register in my site and test it there :)
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: shellniger on October 08, 2009, 04:19:47 AM
I am using Advanced Reputation System v0.1.5 & my SMF version is 1.19. I have no problem with the installation or implementation on my site. I have tried to search this topic for the related help, but I found none.

I wish to find out how to modify the algorithm used to give reputation for this mod.

By default, points given are directly related to the power of whoever is giving it to them. I found the default algorithm quite unfair, because the more reputation power, will means the person given reputation will have a higher reputations points.

I wish to be able to give a standard amount of reputations & not according to the default algorithm.

Example: 5 (+/-) reputation points given to each reputation & not instead of the algorithm.

Please support me. Thanks.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: 4b11l on October 09, 2009, 03:13:21 PM
Quote from: 4b11l on October 05, 2009, 03:55:15 PM
Has anyone been able to add a link to the post profile that will show the given/commented reputations as a # count?

So, it will link to their rep page when clicked.
http://site/index.php?action=profile;area=reputation;u=1

Or, if anyone can show me how to make the url link to the members profile when clicked; I can add it myself to the display template I guess if the above is not possible.

Additionally, new error.
Division by zero
File: /public_html/Sources/Load.php
Line: 1124


Which pertains to:
$power = ($points - ($points % $modSettings['karmaBarPower'])) / $modSettings['karmaBarPower'];




bump
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Fustrate on October 11, 2009, 04:24:37 PM
4b11l: You'd need to edit Display.template.php, if you attach it here I might be able to do it for you. As for the error, can you post a screenshot of your reputation settings page?

sremick: I'll work on writing one up... I wrote that over a year ago when I was a bit of a noob :P if you're talking about disabling negative reputation, just don't give anyone the permission to do it. As an administrator, you'll always be able to, but none of your members will. Also, have you tried ?action=reputation ? I can't remember, but I think it shows the full list... shows you how much I've been paying attention to my own code lately :( oh and I'll add "require a comment" in the next version

shellniger: you'd need to edit Karma.php and find $power, and just set it to 5... see if that helps. If you're unsure of how to do this, you can post the file here and I'll try to do it for you :)
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: 4b11l on October 11, 2009, 10:45:42 PM
Quote from: Fustrate on October 11, 2009, 04:24:37 PM
4b11l: You'd need to edit Display.template.php, if you attach it here I might be able to do it for you. As for the error, can you post a screenshot of your reputation settings page?



Thank you. My file is attached here along with the screenshot also.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: kapitaliser on October 12, 2009, 06:56:37 PM
Great Job, Fustrate! :D
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: kapitaliser on October 13, 2009, 11:54:00 PM
I'm having a problem with this mod, when I Click Profile, and then click view reputation, the result is "Can't find template 'reputation', how fix this problem? thanks
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Vyache on October 14, 2009, 03:11:08 AM
First I checked if this was compatible with my forum version SMF 2.0 RC2.1 and it said no, but I checked it said on the download that it is. Okay so I download it and try to install it and it tells me that version is currupt or isn't compatible. This is the 1.8 version.

What should I do?

Let me know,
Take Care.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: LuminaRS on October 15, 2009, 04:22:38 PM
Tired to install this on 1.1.10 (Permissions on display.php are 0777) and got this error:
10.  Execute Modification  ./Sources/Display.php  Test failed



I tried to manually modify using the manual install instructions for 1.1.10 but get this error for everything:
Sorry, but this modification does not appear to be compatible with the selected version.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: vortodox on October 15, 2009, 04:36:28 PM
Quote from: Sebis on September 23, 2009, 06:45:00 PM
Error while Uninstall (smf 1.1.10)
Execute Modification ./Themes/default/Display.template.php Failed

and:

Can't DROP 'karma_disabled'; check that column/key exists
File: /home/micracl/public_html/forum/Packages/temp/uninstall.php
line: 29


Could you please help to uninstall mod?

I do not have any other karma mods installed

Thanks

I have the same problem, I would apriciate some help.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: XaiXo on October 15, 2009, 05:51:30 PM
I've been using the mod on my forum for a short while now (about a month), and things were all going well until a member informed me that the heart icon doesn't show, and thusly he can't give rep...

It's not an image location problem, as I (the admin) can see it and give rep freely. I've enabled Karma modification, and changed everyone's permissions to allow it as well, but alas, still no change.

Please help me out, cheers.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: kapitaliser on October 15, 2009, 09:20:23 PM
Quote
I tried to manually modify using the manual install instructions for 1.1.10 but get this error for everything:
Sorry, but this modification does not appear to be compatible with the selected version.

You must select "reputation_1-1-x_0-1-5.zip", and then select the version smf 1.1.10, and click parse. that's work for me.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Sebis on October 16, 2009, 07:39:18 AM
Quote from: vortodox on October 15, 2009, 04:36:28 PM
Quote from: Sebis on September 23, 2009, 06:45:00 PM
Error while Uninstall (smf 1.1.10)
Execute Modification ./Themes/default/Display.template.php Failed

and:

Can't DROP 'karma_disabled'; check that column/key exists
File: /home/micracl/public_html/forum/Packages/temp/uninstall.php
line: 29


Could you please help to uninstall mod?

I do not have any other karma mods installed

Thanks

I have the same problem, I would apriciate some help.

no help from developer yet  :(
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: kapitaliser on October 16, 2009, 10:20:26 AM
Quote from: kapitaliser on October 13, 2009, 11:54:00 PM
I'm having a problem with this mod, when I Click Profile, and then click view reputation, the result is "Can't find template 'reputation', how fix this problem? thanks
BUMP, BUMP

when I click htxp://www.domain.com/index.php?action=profile;u=2;sa=reputation, error, can't find template 'reputation'
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: kapitaliser on October 16, 2009, 11:21:44 AM
Quote from: Sebis on October 16, 2009, 07:39:18 AM
Quote from: vortodox on October 15, 2009, 04:36:28 PM
Quote from: Sebis on September 23, 2009, 06:45:00 PM
Error while Uninstall (smf 1.1.10)
Execute Modification ./Themes/default/Display.template.php Failed

and:

Can't DROP 'karma_disabled'; check that column/key exists
File: /home/micracl/public_html/forum/Packages/temp/uninstall.php
line: 29


Could you please help to uninstall mod?

I do not have any other karma mods installed

Thanks

I have the same problem, I would apriciate some help.

no help from developer yet  :(

have you uninstall it manually?
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Sebis on October 16, 2009, 11:39:43 AM
Quote from: kapitaliser on October 16, 2009, 11:21:44 AM
have you uninstall it manually?

no, I need some help to uninstall it manually
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Fustrate on October 16, 2009, 12:40:41 PM
4b11l
I'm not sure why you're getting a divide by zero error, none of your settings are off like that. Also, your Display template is attached - I used a hardcoded text string, but it can easily be changed to a translatable string if you'd like. I wasn't quite sure what you wanted, but I think this was it - if not, could you clarify further?

kapitaliser
If you look in Profile.template.php, is the a line that has template_reputation on it?

Vyache
v1.8 is for 2.0 RC2, but I left v1.7.5 up for 2.0 RC1.2

XaiXo
Ask him to do a hard refresh - ctrl-shift-r (cmd-shift-r on a mac). Are all of your members having this problem, or just him?

Sebis & vortodox
I think I know what the problem is - go into your database using phpMyAdmin (What is phpMyAdmin? (http://www.simplemachines.org/community/index.php?topic=21919.0)) and see if there's a karma_disabled column in smf_members (or whatever your db_prefix is instead of smf_). If it's not there, try running this query and then uninstalling:
ALTER TABLE smf_members
ADD karma_disabled TINYINT(3) NOT NULL default '0'

with your db_prefix in place of smf_ if needed.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: XaiXo on October 16, 2009, 01:37:41 PM
Quote from: Fustrate on October 16, 2009, 12:40:41 PM
Ask him to do a hard refresh - ctrl-shift-r (cmd-shift-r on a mac). Are all of your members having this problem, or just him?

All of them, including me on a test account.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Fustrate on October 16, 2009, 01:53:27 PM
Hmm... can you set up a temporary admin account and PM me the login details, so I can see if I can find the problem?
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: kapitaliser on October 16, 2009, 07:18:11 PM
yes, there is a function template_reputation(), these two files(Profiles.template.php and Profile.php), you can look it. thanks fustrate,
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: shellniger on October 16, 2009, 08:59:32 PM
Quote from: Fustrate on October 11, 2009, 04:24:37 PM
shellniger: you'd need to edit Karma.php and find $power, and just set it to 5... see if that helps. If you're unsure of how to do this, you can post the file here and I'll try to do it for you :)

Hi Fustrate, I have opened the file (karma.php) & look for $power, but I really didn't know which part to edit.

$power is found on line 235 & 236

Please help me to do it. Thanks & appreciate it very much.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: kapitaliser on October 16, 2009, 09:30:46 PM
My Problem is solved, Profile.template.php is placed on my theme, not default theme.
Thanks for Frustrate, the creator this mod. I can't find a word how to thank you, thanks very much. :D
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Sebis on October 17, 2009, 08:04:20 AM
Quote from: Fustrate on October 16, 2009, 12:40:41 PM
Sebis & vortodox
I think I know what the problem is - go into your database using phpMyAdmin (What is phpMyAdmin? (http://www.simplemachines.org/community/index.php?topic=21919.0)) and see if there's a karma_disabled column in smf_members (or whatever your db_prefix is instead of smf_). If it's not there, try running this query and then uninstalling:
ALTER TABLE smf_members
ADD karma_disabled TINYINT(3) NOT NULL default '0'

with your db_prefix in place of smf_ if needed.

Hi thanks for your help. I have checked my smf_members table - there was karma_disabled column. I did drop karma_disabled column. And did:
ALTER TABLE smf_members
ADD karma_disabled TINYINT(3) NOT NULL default '0'


but the problem is the same:

Can't DROP 'karma_disabled'; check that column/key exists
File: /home/micracl/public_html/forum/Packages/temp/uninstall.php
Line: 29

What else could I do to unistall the mod?

Thanks!
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Sebis on October 17, 2009, 08:12:52 AM
After I tried to uninstall the mod one more time karma_disabled column gone. I did again you SQL query to add karma_disabled column and now i have other error:

Can't DROP 'comment'; check that column/key exists
Файл: /home/micracl/public_html/forum/Packages/temp/uninstall.php
Line: 37

karma_disabled was deleted by unistall script and when i try to run uninstall script again I have the old error:

Can't DROP 'karma_disabled'; check that column/key exists
File: /home/micracl/public_html/forum/Packages/temp/uninstall.php
Line: 29


Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Fustrate on October 17, 2009, 07:57:29 PM
XaiXo - you need to apply all of the language edits to the language you're using... I assume it's English UTF-8

shellniger - attached

Sebis - try running install.php (take it out of the package, put it in your forum's folder next to SSI.php and index.php, and go to it in your browser). Then try uninstalling again. Running install.php should make sure all columns are there, which should fix any problems during uninstallation.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Newbiezkid on October 17, 2009, 09:17:10 PM
Sorry if this sounds very newbish but will this work on SMF RC1.2?

Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: ɔɔɔɔɔɔuɥoɾ on October 17, 2009, 10:03:52 PM
Mod Name:
    Advanced Reputation System
Created By:
    Fustrate
Type:
    New Feature
First Created:
    March 18, 2008, 01:26:00 AM
Last Modified:
    October 03, 2009, 06:39:47 PM
Latest Version:
    1.8
Compatible With:
    1.1.10, 2.0 RC1.2
Total Downloads:
    40743

;)
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Fustrate on October 17, 2009, 10:15:01 PM
NewbiezKid, just make sure you use v1.7.5

v1.8 is for RC2
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Gixxer on October 17, 2009, 11:29:58 PM
Quote from: Fustrate on October 17, 2009, 10:15:01 PM
NewbiezKid, just make sure you use v1.7.5

v1.8 is for RC2
pmed fustrate
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: 4b11l on October 18, 2009, 02:46:13 AM
Quote from: Fustrate on October 16, 2009, 12:40:41 PM
4b11l
I'm not sure why you're getting a divide by zero error, none of your settings are off like that. Also, your Display template is attached - I used a hardcoded text string, but it can easily be changed to a translatable string if you'd like. I wasn't quite sure what you wanted, but I think this was it - if not, could you clarify further?

Thank you, that did work. Is it possible to show a count on the reps received next to the "reputation log"? i.e. Reputation Log (5)
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Fustrate on October 18, 2009, 02:59:44 AM
Not without a performance hit, no. There's also the issue of your log showing both what you've sent and you've received - in what way would it be separated? It's definitely possible, though.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: 4b11l on October 18, 2009, 03:07:04 AM
Quote from: Fustrate on October 18, 2009, 02:59:44 AM
Not without a performance hit, no. There's also the issue of your log showing both what you've sent and you've received - in what way would it be separated? It's definitely possible, though.

What you've received would be my main concern. My gripe as with some is that the rep will climb tremendously for active members and some of these members are just active posters; most with nothing more than "lol" to say, etc..

My way of wanting to use your mod here is simply to use the "power" as an activity or another type of bar knowing the way it worked. Then, using the blue heart +/- rep as the actual reps kind of like the old system. I know there is a mod for an activity bar, but I liked this one due to the fact that you can give rep with comments.

Is it something you can easily do if I just need the received parts? Also, how big of a performance hit would it do?
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Fustrate on October 18, 2009, 03:10:09 AM
It would be pretty easy, I think. Load.php (I already have your Display.template.php) is the only thing I'd need. It wouldn't be much of a noticeable hit if any, as long as you're not totally packed in with mods :P
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: 4b11l on October 18, 2009, 03:23:08 AM
Quote from: Fustrate on October 18, 2009, 03:10:09 AM
It would be pretty easy, I think. Load.php (I already have your Display.template.php) is the only thing I'd need. It wouldn't be much of a noticeable hit if any, as long as you're not totally packed in with mods :P

That would be awesome!

I have attached my load.php below.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: shellniger on October 18, 2009, 06:26:43 AM
Quote from: Fustrate on October 17, 2009, 07:57:29 PM
shellniger - attached

Sorry Fustrate, but there is no attachment on your reply.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Fustrate on October 18, 2009, 01:56:31 PM
oops :P

4b11l - I'll work on yours when I get a chance, have to finish something up for a client first
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: shellniger on October 18, 2009, 08:50:19 PM
It works, it works. Fustrate, thank you very much.

Oh, I like this mod so much, it's making my forum more interesting.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: 4b11l on October 18, 2009, 11:42:06 PM
Quote from: Fustrate on October 18, 2009, 01:56:31 PM
oops :P

4b11l - I'll work on yours when I get a chance, have to finish something up for a client first

Thanks, please update me or this thread and I will keep checking.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Sebis on October 19, 2009, 04:26:37 AM
Quote from: Fustrate on October 17, 2009, 07:57:29 PM
Sebis - try running install.php (take it out of the package, put it in your forum's folder next to SSI.php and index.php, and go to it in your browser). Then try uninstalling again. Running install.php should make sure all columns are there, which should fix any problems during uninstallation.

new error during unistall after I did install.php

Duplicate entry '49' for key 1
Файл: /home/micracl/public_html/forum/Packages/temp/uninstall.php
Line: 53

:'(
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Sebis on October 19, 2009, 04:38:12 AM
Quote from: Sebis on October 19, 2009, 04:26:37 AM
Quote from: Fustrate on October 17, 2009, 07:57:29 PM
Sebis - try running install.php (take it out of the package, put it in your forum's folder next to SSI.php and index.php, and go to it in your browser). Then try uninstalling again. Running install.php should make sure all columns are there, which should fix any problems during uninstallation.

new error during unistall after I did install.php

Duplicate entry '49' for key 1
Файл: /home/micracl/public_html/forum/Packages/temp/uninstall.php
Line: 53

:'(

run install.php again after did uninstall and it works! Mod was deleted. Thank you for your help!
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: vortodox on October 19, 2009, 05:12:01 AM
Quote from: Sebis on October 19, 2009, 04:38:12 AM
Quote from: Sebis on October 19, 2009, 04:26:37 AM
Quote from: Fustrate on October 17, 2009, 07:57:29 PM
Sebis - try running install.php (take it out of the package, put it in your forum's folder next to SSI.php and index.php, and go to it in your browser). Then try uninstalling again. Running install.php should make sure all columns are there, which should fix any problems during uninstallation.

new error during unistall after I did install.php

Duplicate entry '49' for key 1
Файл: /home/micracl/public_html/forum/Packages/temp/uninstall.php
Line: 53

:'(

run install.php again after did uninstall and it works! Mod was deleted. Thank you for your help!

Same problem...
Right now I have runned install.php, and reputation works fine now, BUT I can't see reputation power blocks... images are on right place, just theme is not't showing them... :S
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: WIZARD87 on October 24, 2009, 08:18:55 PM
This mod is showing errors when I install it on version RC 1.2
3.     Execute Modification     ./Themes/default/Display.template.php     Test failed
      1.    Replace    ./Themes/default/Display.template.php    Test failed

and yes I used 1.75. Any Ideas ?
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Joker™ on October 25, 2009, 06:26:08 AM
im also facing same problem ... i have SMF 2.0 RC1.2


when i try to install 1-8 version to this mod i get this error

The package you are trying to download or install is either corrupt or not compatible with this version of SMF.


on version 1.75 of the mod error comes as

   10.   Execute Modification   ./Sources/Display.php   Test failed
      2.   Replace   ./Sources/Display.php   Test failed
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: automama on October 25, 2009, 06:03:58 PM
I am helping out a friend with their forum and they have asked if I could install this mod. They are using SMF version 1.1.10. Is this mod compatible with that or do I need to look for an alternative?
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Fustrate on October 26, 2009, 02:00:44 AM
vortodox, are you sure they're in the /images/ folder for the theme you're using? If they show up as little blocks or as text, try right clicking them and doing something like "view image" - what's the url it takes you to?

WIZARD87, if that's the only error, try installing it, and then opening up that theme's Display.template.php and looking for
global $context, $settings, $options
is $user_info on that line?

sid2varun, same as above, but see if you can find anything like
$messages_request = $smcFunc['db_query']('', '
SELECT
id_msg, icon, subject, poster_time, poster_ip, id_member, modified_time, modified_name, body,
smileys_enabled, poster_name, poster_email, approved,
id_msg_modified < {int:new_from} AS is_read
FROM {db_prefix}messages
WHERE id_msg IN ({array_int:message_list})
ORDER BY id_msg' . (empty($options['view_newest_first']) ? '' : ' DESC'),
array(
'message_list' => $messages,
'new_from' => $topicinfo['new_from'],
)
);

and try to make the same edits that it does in here (http://www.fustrate.com/dev/sources/Advanced%20Reputation%20System/Reputation_2-0/install.xml), just scroll down until you find Display.php, and it's the second edit listed there

automama, use v0.1.5 for 1.1.10
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: WIZARD87 on October 26, 2009, 05:24:29 PM
None of the permissions work and there all the reps are set to zero no matter how many positives you add. Sorry going to uninstall this mod needs work on other themes..can't recommend it.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Fustrate on October 26, 2009, 05:33:31 PM
Well, the FAQ on the first page explains why it's at 0 and how to "fix" it, and the permissions sound like a problem with the exact thing I told you =\
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: WIZARD87 on October 26, 2009, 05:43:07 PM
Quote from: Fustrate on October 26, 2009, 05:33:31 PM
Well, the FAQ on the first page explains why it's at 0 and how to "fix" it, and the permissions sound like a problem with the exact thing I told you =\

I followed your instructions to the T and it changed nothing and threw up tons of errors. I found nothing on the display php as you instructed.
On advanced permissions it won't allow changes (You can only select one action to modify the permissions error gets thrown up).
Would love to have the mod ....again great idea but not working for me.
Great mod idea I just can't make it work with my theme.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: wwwserfer on October 29, 2009, 02:05:11 PM
It is possible to sorting reputation by date in users profiles?

--solved--

old-given reputatin automatically deleting or not in users profiles??

actual...
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Joker™ on November 08, 2009, 01:57:40 PM
First Of all g8 mod thanx for it n help

i just wanna know is it possible to make specific reputation for a specific member group..

so that whenever i place a member into that group the reputation of that member increases automatically

hope this one also get solve......
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Ben K on November 11, 2009, 08:11:04 PM
QuoteTable 'a111443_SMFWVv.members' doesn't exist
File: /home/111443/forum/Packages/temp/uninstall.php
Line: 46

What do I do ?
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: xtinaonefan on November 11, 2009, 09:18:08 PM
Why is it that the rep only goes up to 655???
On our forum we can't get the rep for anyone to go up past 655, we've got several members with rep stuck at that number...

Oh, also, I have version     1.5.2 ....... don't know if that could have something to do with it? Please if someone could let me know I would really appreciate it!!!  :)
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: xtinaonefan on November 12, 2009, 10:08:39 AM
*bump* anyone???
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: ɔɔɔɔɔɔuɥoɾ on November 12, 2009, 01:47:55 PM
Quote from: xtinaonefan on November 12, 2009, 10:08:39 AM
*bump* anyone???

Did you try installing the latest version?

Did you try to uninstall the mod and reinstall it again?

What version of SMF are you using?
Which Theme do you use?

After answering all the above questions, someone will be able to help you. :)
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: xtinaonefan on November 12, 2009, 02:01:26 PM
Quote from: ♪ JohnCcCcCc ♫ on November 12, 2009, 01:47:55 PM
Quote from: xtinaonefan on November 12, 2009, 10:08:39 AM
*bump* anyone???

Did you try installing the latest version?

Did you try to uninstall the mod and reinstall it again?

What version of SMF are you using?
Which Theme do you use?

After answering all the above questions, someone will be able to help you. :)

I didn't try installing the latest version.. if I install the latest version, won't everyone lose all the rep they have now? We'll have to start all over again won't we?
Same goes for uninstalling and re-installing the mod I assume..

The version of SMF I am using is SMF 2.0 Beta 4   SMF 2.0 RC2

The theme I use is SMF Default Theme - Core (2.0 Beta 4)
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: ɔɔɔɔɔɔuɥoɾ on November 12, 2009, 03:17:03 PM
No the Reputation is stored in the database and will remain, even as karma after removing the mod.

You can upgrade your for software (recommended as there are vulnerable security risks, go to the upgrades page, use the patch :)
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: xtinaonefan on November 12, 2009, 06:02:57 PM
So if I do that, will the rep go up past 655 once I do that?
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: xtinaonefan on November 12, 2009, 10:06:26 PM
Quote from: ♪ JohnCcCcCc ♫ on November 12, 2009, 03:17:03 PM
No the Reputation is stored in the database and will remain, even as karma after removing the mod.

You can upgrade your for software (recommended as there are vulnerable security risks, go to the upgrades page, use the patch :)

And do you mean upgrade the Advanced Reputation software? Or updated the software of the whole board.. sorry, I am kind of new to this.. I've been admin of my forum for a long time, but I've never really done any of the configuration/modding at all until now.. so I don't know any of the lingo or how to do anything yet really! Ahh. lol But I do have several members asking me to look into this reputation thing.. why we can't get anyone's to go up past 655 reputation. 655 seems to be the maxed out rep number.  :(
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Ben K on November 15, 2009, 09:08:48 PM
So, can any one help me ?!
It shows when I try to delete it =\
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: 4b11l on November 17, 2009, 01:57:28 AM
Quote from: 4b11l on October 18, 2009, 11:42:06 PM
Quote from: Fustrate on October 18, 2009, 01:56:31 PM
oops :P

4b11l - I'll work on yours when I get a chance, have to finish something up for a client first

Thanks, please update me or this thread and I will keep checking.

Bump. I would really love to use this feature if possible.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Spoogs on November 17, 2009, 08:14:59 PM
Had this on my RC1.2 forum and it worked great. Now i get install errors on RC2 (i am using the correct  version of the mod). I tried to install on a clean fresh RC2 install on my local tester and got the same error. No other mods installed.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Ben K on November 19, 2009, 12:43:25 AM
Bugs !

uninstall.php

Some places {db_prefix} should be added, check for it ...
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Joker™ on November 19, 2009, 08:21:43 AM
Quote from: sid2varun on November 08, 2009, 01:57:40 PM
First Of all g8 mod thanx for it n help

i just wanna know is it possible to make specific reputation for a specific member group..

so that whenever i place a member into that group the reputation of that member increases automatically

hope this one also get solve......

Any solution for it ???
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Ben K on November 19, 2009, 04:01:00 PM
Here is fixed russian translation :
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: ishy on November 19, 2009, 06:28:45 PM
Hi, is there a way to make a list of how much reputation everyone has, or put it into the memberlist?
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: adbrad on November 21, 2009, 05:31:46 PM
Hi, is there any way to add the amount of rep points, to the user area.
<-----------
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: adbrad on November 23, 2009, 11:00:48 AM
Ok i have a prob with mod i have 1.7.5 and rc1.2 every time a user adds rep you get a box pop up saying rep feufhu, uusdduy, or some garbage like this. I have tried the following:

1. removed the gibberish text from modifications.english.php.
2. copied karma.template to my custom theme
3. copied languages file from default theme to custom theme, even though the theme uses a lot of setting from the default theme.
4. in modifications.english.php i moved the rep system section to the end of the file. As i have other mods installed this was not at the end.

Even after all that even on the default theme i get that box with the garbage in after adding rep.
i have also done the ctrl+shift+r to hard refresh.

ETA: after a few hours of pulling out my hair and installing and unistalling mod. I now have it working properly it was just a case of clearing the forum cache.
Problem now solved
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Spoogs on November 24, 2009, 01:31:58 PM
Does anyone have this working on 2.0 RC2 I'm having an issue http://www.simplemachines.org/community/index.php?topic=230676.msg2363077#msg2363077

Also the last time this mod was updated was prior to the public release is there any difference the charter & public release that may need to be updated? I'm sure the author is probably busy, just curious if there is a way to fix this.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: ishy on November 24, 2009, 03:22:55 PM
I do have it working on RC2, although I had to do some of the edits myself using the parser. After that it worked fine.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Spoogs on November 24, 2009, 04:34:52 PM
Quote from: ishy on November 24, 2009, 03:22:55 PM
I do have it working on RC2, although I had to do some of the edits myself using the parser. After that it worked fine.
I've never done an edit before but can u share what u did and i'll see if it works for me
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: ishy on November 24, 2009, 05:53:43 PM
I would uninstall it first, then reinstall it, but after the "Install Mod" step, it should give you a list of everything that succeeded and failed. Copy that onto notepad or something, and then go through with the install. Then, on the mod page (http://custom.simplemachines.org/mods/index.php?mod=1129), at the right, is a drop-down box that says "Manual Install Instructions for SMF". Switch that to 2.0 RC2 and hit "Parse". It will come up with a list of edits. FInd the ones that failed from what you copied to notepad, and you have to go through your files in the directory and add those.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: PalmBeachPreps on December 02, 2009, 04:44:28 AM
For some reason karma.gif no longer shows up under the poster's name.  All other images show, but you can't rep anyone.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: adbrad on December 02, 2009, 08:41:50 AM
Quote from: PalmBeachPreps on December 02, 2009, 04:44:28 AM
For some reason karma.gif no longer shows up under the poster's name.  All other images show, but you can't rep anyone.

Stupid question, but have you set permissions for all member groups.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: LLandL on December 02, 2009, 12:38:03 PM
Installed this and all is working fine apart from when viewing reputation given in a profile the link to the next page (see image) doesn't work, When I click on the 2 it takes me back to my profile.

Any help with fixing this would be very much appreciated.

I'm running 1.1.11 on a custom theme.

Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: PalmBeachPreps on December 02, 2009, 10:33:55 PM
Quote from: adbrad on December 02, 2009, 08:41:50 AM
Quote from: PalmBeachPreps on December 02, 2009, 04:44:28 AM
For some reason karma.gif no longer shows up under the poster's name.  All other images show, but you can't rep anyone.

Stupid question, but have you set permissions for all member groups.
Yes, it just stopped appearing.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: adbrad on December 03, 2009, 11:27:23 AM
Well i only have 2 other ideas.
1. have you checked in your themes images folder to see if karma.gif has not been deleted.
2. had you already added rep for that perticular post as after u rep it dissapears.
does the add rep link still apeaar or nothing at all.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: PalmBeachPreps on December 09, 2009, 03:39:24 AM
Quote from: adbrad on December 03, 2009, 11:27:23 AM
Well i only have 2 other ideas.
1. have you checked in your themes images folder to see if karma.gif has not been deleted.
2. had you already added rep for that perticular post as after u rep it dissapears.
does the add rep link still apeaar or nothing at all.
1. it's there
2. the add rep link does not appear - i get nothing at all.  i can't even rep new replies by new members
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: victor.mello on December 10, 2009, 09:35:12 AM
Can i change the reputation Bar for 1 image?
where each reputation "level" has 1 image

How can i do this?
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: SEABOY on December 10, 2009, 01:06:22 PM
I can't get this mod to work....1st while installing i get this error

(http://i47.tinypic.com/2uqoopd.jpg)


After that when i go and enable this mod and try to rep up any member i get this error

Session verification failed. Please try logging out and back in again, and then try again.


have tried to clear the cach and tested with many browser and asked some member to test also but the same result


any help plz?
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: LC on December 10, 2009, 06:04:47 PM
Quote from: SEABOY on December 10, 2009, 01:06:22 PM
I can't get this mod to work....1st while installing i get this error

(http://i47.tinypic.com/2uqoopd.jpg)


After that when i go and enable this mod and try to rep up any member i get this error

Session verification failed. Please try logging out and back in again, and then try again.


have tried to clear the cach and tested with many browser and asked some member to test also but the same result


any help plz?
If you are using a custom themed forum, you will need to add in the theme's edits (display.template.php) using the parser found on the mod download page.

Also, it seems the Display.php in the sources file is changed so the mod cannot automatically add in the code. You will have to manually add this code into that file as well.

You will also have to carry over all the images from this mod into your images folder in your custom theme.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: LC on December 10, 2009, 06:10:47 PM
Quote from: PalmBeachPreps on December 09, 2009, 03:39:24 AM
Quote from: adbrad on December 03, 2009, 11:27:23 AM
Well i only have 2 other ideas.
1. have you checked in your themes images folder to see if karma.gif has not been deleted.
2. had you already added rep for that perticular post as after u rep it dissapears.
does the add rep link still apeaar or nothing at all.
1. it's there
2. the add rep link does not appear - i get nothing at all.  i can't even rep new replies by new members
Just a thought, check your rep timer in the admin panel. It may not appear if you have repped someone within the last hour, or it may not appear if you rep someone more then others within a certain amount of time.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: PalmBeachPreps on December 12, 2009, 04:31:27 PM
Since no one has a solution, nor can tell me why it doesn't show up for me, I have attempted to uninstall this mod and I get this error: Table 'pal0905506370903.members' doesn't exist
File: /home/content/p/a/l/palmbeachpreps/html/Packages/temp/uninstall.php
Line: 46

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF, while your database is at version 2.0 RC2. The above error might possibly go away if you execute the latest version of upgrade.php.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: PalmBeachPreps on December 12, 2009, 11:49:10 PM
Karma.gif is now appearing twice, where do I remove the duplicated code?
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: PalmBeachPreps on December 13, 2009, 02:11:09 AM
Quote from: PalmBeachPreps on December 09, 2009, 03:39:24 AM
Quote from: adbrad on December 03, 2009, 11:27:23 AM
Well i only have 2 other ideas.
1. have you checked in your themes images folder to see if karma.gif has not been deleted.
2. had you already added rep for that perticular post as after u rep it dissapears.
does the add rep link still apeaar or nothing at all.
1. it's there
2. the add rep link does not appear - i get nothing at all.  i can't even rep new replies by new members


EDIT:  Figured out the problem.  For anyone having this problem, you must make sure that "Show view profile button under post:" is checked in your Current Theme options.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: LLandL on December 13, 2009, 08:12:46 AM
Quote from: LLandL on December 02, 2009, 12:38:03 PM
Installed this and all is working fine apart from when viewing reputation given in a profile the link to the next page (see image) doesn't work, When I click on the 2 it takes me back to my profile.

Any help with fixing this would be very much appreciated.

I'm running 1.1.11 on a custom theme.



Can anyone help me with the above problem? It's driving us nuts not being able to see the latest karma comments in our profiles.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: adbrad on December 15, 2009, 04:29:21 PM
I've just upgraded my site to rc2 and my a.r.s needs reinstalling however in the user info it displays

# Posts: 38
# Reputation: 82
# Gender: Male

as soon as i reinstall the a.r.s the middle line will dissapear does anyone know how i can keep that line
what code in which file displays this line

many thanks
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: TGU on December 15, 2009, 10:18:55 PM
I installed it and everything is working fine but how do i make it so that it shows reputation points also?

because right now it only shows rep power.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: TGU on December 16, 2009, 02:32:40 PM
can someone help me, what do i edit?

(http://img36.imageshack.us/img36/2104/repproblem.png)

i want the rep BARS right under the rep POWER and i want both the power and bars right in between the post count and the trader count.

thing is i dont like how there is an extra space in between the post count and the rep power count and an extra space in between the rep bars and the rep power count. if  i could make it fit like how the trader count fits right under the rep bars, then that would be great.

thnx.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: adbrad on December 17, 2009, 07:36:41 PM
I've been trying to get an answer for this for ages so i had a play around.
So if any one wants to deplay there rep points aswell as rep power try entering the folowing to display.template.php
// Is karma display enabled?  Total or +/-?
if ($modSettings['karmaMode'] == '1')
echo '
<li class="karma">', $modSettings['karmaLabel'], ' ', $message['member']['karma']['good'] - $message['member']['karma']['bad'], '</li>';
elseif ($modSettings['karmaMode'] == '2')
echo '
<li class="karma">', $modSettings['karmaLabel'], ' +', $message['member']['karma']['good'], '/-', $message['member']['karma']['bad'], '</li>';

this is actually the original karma code but it worked for me i put it above the rep power line so it shows up as:
reputation:
reputation power:
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: juanpons14 on December 19, 2009, 07:06:14 PM
I have a problem, i'm the administrator ok? in teh configuration i have this:

Quote
   How many points per post?                                     1
   How many points per thread?                                    3
   Users gain 1 power for every __ points?                 1
Default 100    
   Users gain 1 bar image for every __ points?            200
Default 1000    
   Welcome new members with how many points?              10
   How many times a day can a person give reputation?      10   
   How many people does a user have to give reputation to before they can repeat a person?  0

But when I give reputation, if for example the user has 808 reputation then i give good reputation, this it change to 1616 i dno't now why..because i have put:

Quote
   Users gain 1 power for every __ points?                 1
Default 100    
   Users gain 1 bar image for every __ points?            200
Default 1000

Where is the problem?
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: adbrad on December 20, 2009, 04:12:58 AM
the amount of rep points given is dependant on the rep power of the user and with your settings the user gets a rep power for every 1 point so with 808 points will also have 808 power so 1 rep will give 808 points so then you will get 1616 next ime you rep it will go to 2424.
hope this is clear enough. to stop this change the power per___points to something bigger than 1
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: juanpons14 on December 20, 2009, 06:11:13 AM
Quote from: adbrad on December 20, 2009, 04:12:58 AM
the amount of rep points given is dependant on the rep power of the user and with your settings the user gets a rep power for every 1 point so with 808 points will also have 808 power so 1 rep will give 808 points so then you will get 1616 next ime you rep it will go to 2424.
hope this is clear enough. to stop this change the power per___points to something bigger than 1

What do you recomend me to put?

I want when i give reputation..i want to give one point..is it possible?
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: adbrad on December 20, 2009, 06:25:57 AM
Quote from: juanpons14 on December 20, 2009, 06:11:13 AM
Quote from: adbrad on December 20, 2009, 04:12:58 AM
the amount of rep points given is dependant on the rep power of the user and with your settings the user gets a rep power for every 1 point so with 808 points will also have 808 power so 1 rep will give 808 points so then you will get 1616 next ime you rep it will go to 2424.
hope this is clear enough. to stop this change the power per___points to something bigger than 1

What do you recomend me to put?

I want when i give reputation..i want to give one point..is it possible?

i would set to maybe 50 or leave at the default setting which i think is 100 so for every 100 points you get 1 rep power.
as points are given according to rep power you can't choose the amount of points. the only way you may get around it is to set the number insanely high so you only get 1 rep power, which kind of defeats the purpose of the mod to show members who have a good rep with the forum
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Bass Junkie on December 22, 2009, 01:05:24 AM
After installing this mod, every page on my forum went blank - lucky I could restore from backup. Would this be a random bogus install, or should I look into something deeper? I'm not really game enough to try installing it again, but will if I have to...
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: LC on December 22, 2009, 04:33:26 PM
Quote from: Bass Junkie on December 22, 2009, 01:05:24 AM
After installing this mod, every page on my forum went blank - lucky I could restore from backup. Would this be a random bogus install, or should I look into something deeper? I'm not really game enough to try installing it again, but will if I have to...
First place to find out what happened would be your error log. See what's posted there and then copy/paste the error here.

Also when you uploaded the mod and then clicked apply mod, was there any tests that failed?


Those two things would explain a lot about what may have happened.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Sakurachan on December 24, 2009, 09:15:35 PM
When will this work for SMF 1.1.11?
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: pointalk on December 28, 2009, 08:21:44 PM
QuoteCan I change the algorithm used to give reputation?
Although it is technically possible to totally change the way reputation is given, there is no built-in way to change it. Points given are directly related to the power of whoever is giving it to them.

Can you give me a way to change it.
Wish to be able to give +/- 1 reputation point every time
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: pointalk on December 28, 2009, 08:59:23 PM
Other question

box doesn't pop up at a right place when click add reputation

how to solve?
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Enders on January 03, 2010, 03:45:41 AM
How do i fix the profile view where it says "reputation:: "

2 semicolons are shown instead of one? I can't remove the semicolon in the admin panel because it won't show in the simple portal
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: blokey on January 04, 2010, 01:35:23 PM
Do I have to switch off karma in core features before installing this?
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: adbrad on January 04, 2010, 03:13:02 PM
Quote from: blokey on January 04, 2010, 01:35:23 PM
Do I have to switch off karma in core features before installing this?

no there is no need as all in does is mod the karma
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Giiyom on January 05, 2010, 04:13:05 PM
Is this mod any compatible with 1.1.11?
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: adbrad on January 05, 2010, 05:02:23 PM
Quote from: Giiyom on January 05, 2010, 04:13:05 PM
Is this mod any compatible with 1.1.11?

it appears to be you may have to do some manual edits
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Giiyom on January 05, 2010, 07:08:04 PM
Where's the manual instruction for SMF 1.1.x?

All the 1.1 to 1.1.11 version contain nothing.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: adbrad on January 05, 2010, 08:03:57 PM
go to the advanced rep mod page make sure you select this version reputation_1-1-x_0-1-5.zip (38kB) then choose version 1.1.11 from the list and click parse.
first you may want to try downloading the above file and see if it will install through your admin panel editing any files if you have a custom theme
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Giiyom on January 05, 2010, 08:37:44 PM
I installed everything with the downloader.
There was a problem with the profile.template file so I edited everything in it from the manual instructions but it's still not working.
I can see the Reputation and everything but there's no images bar or heart.

Anyone can help please?
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: LC on January 05, 2010, 08:59:41 PM
Quote from: Giiyom on January 05, 2010, 08:37:44 PM
I installed everything with the downloader.
There was a problem with the profile.template file so I edited everything in it from the manual instructions but it's still not working.
I can see the Reputation and everything but there's no images bar or heart.

Anyone can help please?
You need to carry over those images from the default theme file and add them into your current theme's images folder.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Giiyom on January 05, 2010, 09:34:08 PM
Just to make sure I understand.
With my custom Theme, if I edit/place in appropriates files:
(smf 1.1.11)

Karma.template.php
Display.template.php
PersonalMessage.template.php
karma.gif
karmaBad_basic.gif
karmaBad_super.gif
karmaGood_basic.gif
karmaGood_super.gif
karma_disabled_basic.gif

and leave everything else like the package manager did it should work?
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: LC on January 05, 2010, 10:44:38 PM
Any files your theme changes from the default theme needs to be edited. Such as index.template.php and style.css

Use the parser on the main mod page to find what files need edited. And yes, the .gif images need to be carried over.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Giiyom on January 05, 2010, 10:54:04 PM
I upload the package and install it..

Then I carry over the images to my Themes/{custom theme}/images folder..

Then I modify all the files from my Themes/{custom theme}/ folder that are in common with the parse..
->Display.template.php
->PersonalMessage.template.php
->Style.css
(there's no index.template.php in the parse)

And that's it? It should work?
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: LC on January 06, 2010, 03:51:29 AM
Quote from: Giiyom on January 05, 2010, 10:54:04 PM
I upload the package and install it..

Then I carry over the images to my Themes/{custom theme}/images folder..

Then I modify all the files from my Themes/{custom theme}/ folder that are in common with the parse..
->Display.template.php
->PersonalMessage.template.php
->Style.css
(there's no index.template.php in the parse)

And that's it? It should work?
Correct. :)
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: AshleyL on January 06, 2010, 04:49:56 AM
I don't mean to be a nuisance however I have run into a bit of trouble installing this Mod on SMF 1.1.11, does anyone have an suggestions as to how I can get this Mod up and running?

Quote1.     Execute Code     install.php     
2.    Execute Modification    ./index.php    Test successful
3.    Execute Modification    ./Themes/default/Display.template.php    Test successful
4.    Execute Modification    ./Themes/default/PersonalMessage.template.php    Test successful
5.    Execute Modification    ./Themes/default/Profile.template.php    Test successful
6.    Execute Modification    ./Themes/default/Stats.template.php    Test successful
7.    Execute Modification    ./Themes/default/script.js    Test successful
8.    Execute Modification    ./Themes/default/style.css    Test successful
9.    Execute Modification    ./Sources/Admin.php    Test successful
10.    Execute Modification    ./Sources/Display.php    Test successful
11.    Execute Modification    ./Sources/Karma.php    Test successful
12.    Execute Modification    ./Sources/Load.php    Test successful
13.    Execute Modification    ./Sources/ManagePermissions.php    Test successful
14.    Execute Modification    ./Sources/ManageServer.php    Test successful
15.    Execute Modification    ./Sources/ModSettings.php    Test successful
16.    Execute Modification    ./Sources/Post.php    Test successful
17.    Execute Modification    ./Sources/Profile.php    Test successful
18.    Execute Modification    ./Sources/RemoveTopic.php    Test failed
19.    Execute Modification    ./Sources/Stats.php    Test successful
20.    Execute Modification    ./Sources/Subs-Members.php    Test successful
21.    Execute Modification    ./Themes/default/languages/Errors.english.php    Test successful
22.    Execute Modification    ./Themes/default/languages/Help.english.php    Test successful
23.    Execute Modification    ./Themes/default/languages/index.english.php    Test successful
24.    Execute Modification    ./Themes/default/languages/ManagePermissions.english.php    Test successful
25.    Execute Modification    ./Themes/default/languages/ModSettings.english.php    Test successful
26.    Execute Modification    ./Themes/default/languages/Reports.english.php    Test successful
27.    Execute Modification    ./Themes/default/languages/Stats.english.php    Test successful
28.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful
29.    Execute Modification    ./Themes/default/languages/Errors.english-utf8.php    Test successful
30.    Execute Modification    ./Themes/default/languages/Help.english-utf8.php    Test successful
31.    Execute Modification    ./Themes/default/languages/index.english-utf8.php    Test successful
32.    Execute Modification    ./Themes/default/languages/ManagePermissions.english-utf8.php    Test successful
33.    Execute Modification    ./Themes/default/languages/ModSettings.english-utf8.php    Test successful
34.    Execute Modification    ./Themes/default/languages/Reports.english-utf8.php    Test successful
35.    Execute Modification    ./Themes/default/languages/Stats.english-utf8.php    Test successful
36.    Execute Modification    ./Themes/default/languages/Modifications.english-utf8.php    Test successful
37.    Execute Modification    ./Themes/default/languages/Errors.russian.php    Skipping file
38.    Execute Modification    ./Themes/default/languages/Help.russian.php    Skipping file
39.    Execute Modification    ./Themes/default/languages/index.russian.php    Skipping file
40.    Execute Modification    ./Themes/default/languages/ManagePermissions.russian.php    Skipping file
41.    Execute Modification    ./Themes/default/languages/ModSettings.russian.php    Skipping file
42.    Execute Modification    ./Themes/default/languages/Reports.russian.php    Skipping file
43.    Execute Modification    ./Themes/default/languages/Stats.russian.php    Skipping file
44.    Execute Modification    ./Themes/default/languages/Modifications.russian.php    Skipping file
45.    Execute Modification    ./Themes/default/languages/Errors.russian-utf8.php    Test successful
46.    Execute Modification    ./Themes/default/languages/Help.russian-utf8.php    Test successful
47.    Execute Modification    ./Themes/default/languages/index.russian-utf8.php    Test successful
48.    Execute Modification    ./Themes/default/languages/ManagePermissions.russian-utf8.php    Test successful
49.    Execute Modification    ./Themes/default/languages/ModSettings.russian-utf8.php    Test successful
50.    Execute Modification    ./Themes/default/languages/Reports.russian-utf8.php    Test successful
51.    Execute Modification    ./Themes/default/languages/Stats.russian-utf8.php    Test successful
52.    Execute Modification    ./Themes/default/languages/Modifications.russian-utf8.php    Test successful
53.    Execute Modification    ./Themes/default/languages/Errors.spanish_latin.php    File not found
54.    Execute Modification    ./Themes/default/languages/Help.spanish_latin.php    File not found
55.    Execute Modification    ./Themes/default/languages/index.spanish_latin.php    File not found
56.    Execute Modification    ./Themes/default/languages/ManagePermissions.spanish_latin.php    File not found
57.    Execute Modification    ./Themes/default/languages/ModSettings.spanish_latin.php    File not found
58.    Execute Modification    ./Themes/default/languages/Reports.spanish_latin.php    File not found
59.    Execute Modification    ./Themes/default/languages/Stats.spanish_latin.php    File not found
60.    Execute Modification    ./Themes/default/languages/Modifications.spanish_latin.php    File not found
61.    Execute Modification    ./Themes/default/languages/Errors.spanish_latin.php    File not found
62.    Execute Modification    ./Themes/default/languages/Help.spanish_latin.php    File not found
63.    Execute Modification    ./Themes/default/languages/index.spanish_latin.php    File not found
64.    Execute Modification    ./Themes/default/languages/ManagePermissions.spanish_latin.php    File not found
65.    Execute Modification    ./Themes/default/languages/ModSettings.spanish_latin.php    File not found
66.    Execute Modification    ./Themes/default/languages/Reports.spanish_latin.php    File not found
67.    Execute Modification    ./Themes/default/languages/Stats.spanish_latin.php    File not found
68.    Execute Modification    ./Themes/default/languages/Modifications.spanish_latin.php    File not found
69.    Extract File    ./Themes/default/Karma.template.php    
70.    Extract File    ./Themes/default/images/karma.gif    
71.    Extract File    ./Themes/default/images/karmaBad_basic.gif    
72.    Extract File    ./Themes/default/images/karmaGood_basic.gif    
73.    Extract File    ./Themes/default/images/karmaBad_super.gif    
74.    Extract File    ./Themes/default/images/karmaGood_super.gif    
75.    Extract File    ./Themes/default/images/karma_disabled_basic.gif
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: adbrad on January 06, 2010, 06:03:16 AM
are you using default theme if so it should install fine, if not you need to manually edit any files in your custom theme
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: AshleyL on January 06, 2010, 06:31:16 AM
I am using a customized theme.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: SEEN on January 06, 2010, 09:46:52 AM
2 questions. please help

1. if i install this mod, will the current karma points will not dissapear and will still become rep points?

2. im trying to combine to mod with smf shop. in the shop, theres an item to add karma. will it add the rep if i use this mod?

thank you
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: adbrad on January 06, 2010, 11:28:08 AM
Quote from: SEEN on January 06, 2010, 09:46:52 AM
2 questions. please help

1. if i install this mod, will the current karma points will not dissapear and will still become rep points?

2. im trying to combine to mod with smf shop. in the shop, theres an item to add karma. will it add the rep if i use this mod?

thank you
i think the answer to both is yes as in only modifies the karma system

Quote from: AshleyL on January 06, 2010, 06:31:16 AM
I am using a customized theme.

in that case you will need to do manual edits for numbers 3-8 if the files are present in your custom theme
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Qub1 on January 06, 2010, 03:40:19 PM
Could anyone please help with this problem?

I want to reinstall this package and this error shows up upon uninstall:
QuoteTable 'smf.members' doesn't exist
File: C:\webserver\xampp\htdocs\forum\Packages\temp\uninstall.php
Line: 46

I know it isn't right, because it is table smf_members, not smf.members, but how can I fix this?
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: adbrad on January 06, 2010, 05:48:17 PM
Quote from: Qub1 on January 06, 2010, 03:40:19 PM
Could anyone please help with this problem?

I want to reinstall this package and this error shows up upon uninstall:
QuoteTable 'smf.members' doesn't exist
File: C:\webserver\xampp\htdocs\forum\Packages\temp\uninstall.php
Line: 46

I know it isn't right, because it is table smf_members, not smf.members, but how can I fix this?

firstly why would you want to reinstall it
second i also get this error when i try to uninstall it
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Giiyom on January 07, 2010, 02:09:25 AM
I installed everything and it's working fine except that when I agree to someone's post It doesn't seem to add any Rep points at all.
It's only adding points when a user add a new post or thread.

I modified members Permissions and it's on Enabled +/- but nothing
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: LC on January 07, 2010, 03:07:07 AM
Quote from: Giiyom on January 07, 2010, 02:09:25 AM
I installed everything and it's working fine except that when I agree to someone's post It doesn't seem to add any Rep points at all.
It's only adding points when a user add a new post or thread.

I modified members Permissions and it's on Enabled +/- but nothing
Have you enabled the amount given for each "I agree" reps? I think the default gives a small amount. This can be changed in Features and Options->Reputation then
Users gain 1 power for every __ points?
Default 100
Users gain 1 bar image for every __ points?
Default 1000
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Giiyom on January 07, 2010, 03:41:04 AM
The Power and Bar image thing is working fine.
The comments system via the heart icon and View my Reputation also.
And if someone post or make a new thread they will earn points.

But if I agree or disagree (heart icon) to someone's post (wich means I want to rep him up or down), this person won't get or lose any points.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: SEEN on January 07, 2010, 05:06:20 AM
is there a feature that give some amount of rep to all members?
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: adbrad on January 07, 2010, 05:59:48 AM
Quote from: Giiyom on January 07, 2010, 03:41:04 AM
The Power and Bar image thing is working fine.
The comments system via the heart icon and View my Reputation also.
And if someone post or make a new thread they will earn points.

But if I agree or disagree (heart icon) to someone's post (wich means I want to rep him up or down), this person won't get or lose any points.

point given depend on the rep power of the user giving or taking rep have a look in your user info for
reputation power: and what ever the number is there is how many points the user you are reping will go up or down by
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: nadrojcote on January 07, 2010, 02:34:08 PM
Hi  :)

I am having a problem on both my sites, I am using custom themes on both, one is 1.1.11 and the other is using 2.0 rc2. I have manually went over the install to make sure everything was right, but I might have missed something.

The problem I am having with both sites is that when checking the reputation section of a profile, it shows
QuoteYou haven't sent or received any reputation!

even tho I have

Any suggestions?
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Giiyom on January 07, 2010, 04:24:25 PM
Quote from: adbrad on January 07, 2010, 05:59:48 AM
point given depend on the rep power of the user giving or taking rep have a look in your user info for
reputation power: and what ever the number is there is how many points the user you are reping will go up or down by

user info?
you mean the profiles?
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: adbrad on January 07, 2010, 04:52:10 PM
Quote from: Giiyom on January 07, 2010, 04:24:25 PM
Quote from: adbrad on January 07, 2010, 05:59:48 AM
point given depend on the rep power of the user giving or taking rep have a look in your user info for
reputation power: and what ever the number is there is how many points the user you are reping will go up or down by

user info?
you mean the profiles?

i mean the bit to the left of every post
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Giiyom on January 07, 2010, 04:56:01 PM
So if my Reputation power is at 25, the guy will receive 25 points?

And another question, where can I disable my own rep?
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: adbrad on January 07, 2010, 05:00:09 PM
Quote from: Giiyom on January 07, 2010, 04:56:01 PM
So if my Reputation power is at 25, the guy will receive 25 points?

yes thats the way it should work



QuoteAnd another question, where can I disable my own rep?

you can disable the display of rep through your profile. if you want to disable it altogether not sure how to do this
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Giiyom on January 07, 2010, 05:20:22 PM
Allright :D
Thanks to adbrad and LC for helping me out!

I also made the french translation with this so I will send it to Frustrate anytime soon.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: LC on January 07, 2010, 05:55:31 PM
Quote from: adbrad on January 07, 2010, 05:00:09 PM
Quote from: Giiyom on January 07, 2010, 04:56:01 PM
So if my Reputation power is at 25, the guy will receive 25 points?

yes thats the way it should work



QuoteAnd another question, where can I disable my own rep?

you can disable the display of rep through your profile. if you want to disable it altogether not sure how to do this
To disable the rep completely you just go to features and options->reputation and the first selection is about enabling or disabling.


Quote from: SEEN on January 07, 2010, 05:06:20 AM
is there a feature that give some amount of rep to all members?
From the mod info:

"Simple - download GiveReputation.php from the mod's download page, upload it to your forum's root directory, and point your browser to it. Make sure you decide how many points they get per post/topic before starting!"
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: adbrad on January 07, 2010, 06:17:21 PM
Quote from: LC on January 07, 2010, 05:55:31 PM
Quote from: adbrad on January 07, 2010, 05:00:09 PM
Quote from: Giiyom on January 07, 2010, 04:56:01 PM
So if my Reputation power is at 25, the guy will receive 25 points?

yes thats the way it should work



QuoteAnd another question, where can I disable my own rep?

you can disable the display of rep through your profile. if you want to disable it altogether not sure how to do this
To disable the rep completely you just go to features and options->reputation and the first selection is about enabling or disabling.


i think he wanted to just disable for him self not all members
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: cz99 on January 07, 2010, 06:49:48 PM
Hi Frustrate

My Spanish is very poor but I hope to let me understand. I installed the mod manually, it works more or less, my problem is:  that the box that comment on or evaluate the post disappears very quickly, and is positioned well down the screen.

What values should I change in the script.js for the comment box not hidden so fast?

Use the form but does not find the answer.

Greetings from Lima Peru.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: LC on January 07, 2010, 06:57:54 PM
Quote from: adbrad on January 07, 2010, 06:17:21 PM
Quote from: LC on January 07, 2010, 05:55:31 PM
Quote from: adbrad on January 07, 2010, 05:00:09 PM
Quote from: Giiyom on January 07, 2010, 04:56:01 PM
So if my Reputation power is at 25, the guy will receive 25 points?

yes thats the way it should work



QuoteAnd another question, where can I disable my own rep?

you can disable the display of rep through your profile. if you want to disable it altogether not sure how to do this
To disable the rep completely you just go to features and options->reputation and the first selection is about enabling or disabling.


i think he wanted to just disable for him self not all members
I know. But you mentioned not being sure about how to completely disable it.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: pointalk on January 08, 2010, 12:48:06 AM
The reputation giver will also receive 1 reputation
How to edit PHP files? :)
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: nadrojcote on January 08, 2010, 09:44:09 AM
Quote from: nadrojcote on January 07, 2010, 02:34:08 PM
Hi  :)

I am having a problem on both my sites, I am using custom themes on both, one is 1.1.11 and the other is using 2.0 rc2. I have manually went over the install to make sure everything was right, but I might have missed something.

The problem I am having with both sites is that when checking the reputation section of a profile, it shows
QuoteYou haven't sent or received any reputation!

even tho I have

Any suggestions?

anyone?
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: cz99 on January 08, 2010, 12:32:39 PM
Quote from: pointalk on December 28, 2009, 08:59:23 PM
Other question

box doesn't pop up at a right place when click add reputation

how to solve?


My box does not appear. Appears and disappears rather quickly, less than a second. I C HANGES millisecs the DisplayTime in 50000 but has no effect. I do not use the default theme.

How can I fix this error.

All help is welcome.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: cz99 on January 08, 2010, 07:44:57 PM
Quote from: cz99 on January 08, 2010, 12:32:39 PM
Quote from: pointalk on December 28, 2009, 08:59:23 PM
Other question

box doesn't pop up at a right place when click add reputation

how to solve?


My box does not appear. Appears and disappears rather quickly, less than a second. I C HANGES millisecs the DisplayTime in 50000 but has no effect. I do not use the default theme.

How can I fix this error.

All help is welcome.

Solucionado, Copie el codigo en el script.js de mi tema y listo.

Saludos.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: LC on January 08, 2010, 08:02:58 PM
Quote from: cz99 on January 08, 2010, 12:32:39 PM
Quote from: pointalk on December 28, 2009, 08:59:23 PM
Other question

box doesn't pop up at a right place when click add reputation

how to solve?


My box does not appear. Appears and disappears rather quickly, less than a second. I C HANGES millisecs the DisplayTime in 50000 but has no effect. I do not use the default theme.

How can I fix this error.

All help is welcome.
What version of SMF are you both using. If 2.0 you will need to add the index.css code to put it in the proper placement in your theme.
If you are using 1.1.x then you will need to add it to the style.css of your theme.

For 1.1.x -
Find (at the end of the file) in Themes/your theme/style.css:
?>

Add before:

.repbars img
{
padding: 0 1px 0 0;
}

#reputation_menu{
position: absolute;
border: 1px solid black;
z-index: 100;
}


For 2.0 RC2:

/Themes/your theme/css/index.css

Find (at the end of the file):
?>

Add before:

.repbars img
{
padding: 0 1px 0 0;
}

#reputation_menu{
position: absolute;
border: 1px solid black;
z-index: 100;
}



Hope this helps.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Lamarck on January 08, 2010, 09:01:53 PM
I can't unistall this,It says that my DB tables doesn't exists (for example: table whatever_whatever.members doesn't exist).I was trying to unistall it and reinstall because language strings are "missing" in spanish utf8.

Any help?.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: adbrad on January 09, 2010, 06:02:33 AM
Quote from: Lamarck on January 08, 2010, 09:01:53 PM
I can't unistall this,It says that my DB tables doesn't exists (for example: table whatever_whatever.members doesn't exist).I was trying to unistall it and reinstall because language strings are "missing" in spanish utf8.

Any help?.
could you not just do manual edits to the language files
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: anfieldlad on January 09, 2010, 06:44:17 AM
why I can't parse the Manual Install Instruction?
what's wrong?
any help?
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: cz99 on January 10, 2010, 08:41:01 PM
Again me.

To see the complete list of reputation:

? action = reputation

And what are the links for users to view their grades as shown in the following box?

http://custom.simplemachines.org/mods/index.php?action-download;mod=1129;id=51746;image
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: adbrad on January 11, 2010, 05:41:17 AM
Quote from: cz99 on January 10, 2010, 08:41:01 PM
Again me.

To see the complete list of reputation:

? action = reputation

And what are the links for users to view their grades as shown in the following box?

http://custom.simplemachines.org/mods/index.php?action-download;mod=1129;id=51746;image

can you give more detail as what you mean as the link just takes me to the mod page
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: cz99 on January 11, 2010, 02:35:01 PM
Thanks !!!!!!!!!!
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: nadrojcote on January 11, 2010, 03:28:00 PM
Please someone help, I cant get my repuation to show in action=reputation it shows you have not sent or recieved any reputation, yet I have sent and received, this is happening on both smf 1.1.11 and 2.0 rc2
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: adbrad on January 11, 2010, 03:48:55 PM
Quote from: nadrojcote on January 11, 2010, 03:28:00 PM
Please someone help, I cant get my repuation to show in action=reputation it shows you have not sent or recieved any reputation, yet I have sent and received, this is happening on both smf 1.1.11 and 2.0 rc2
have you reinstalled mod at all as this will clear the rep actions
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: nadrojcote on January 11, 2010, 04:24:35 PM
No I have not reinstalled, I had to install manually to make it work on my custom themes, but I can go and rep someone then instantly go check my profile > reputation and it doesnt show anything other than you have not sent or received any rep. Its almost like its not writing to the db when I do rep or when I check the rep its not reading it from the db properly. Where in my db should the rep be stored?
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: nadrojcote on January 11, 2010, 04:31:30 PM
If its in table log_karma then nothing is being saved to my db
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: adbrad on January 11, 2010, 04:38:16 PM
doe it all work ok if you change to the default theme
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: nadrojcote on January 11, 2010, 04:55:50 PM
nope, that was one of the first things I tried. Everything seems to be working fine, when I rep someone it says loading at the top then that goes away, but doesnt save it to the db, the log_karma database has the proper fields as far as I can tell, but they are not populated with any info

Is there anyone that knows more about this mod that could assist please?
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: adbrad on January 11, 2010, 04:58:22 PM
can't really assist any further as i no experience with coding or databases
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: nadrojcote on January 11, 2010, 05:42:36 PM
in 2.0 i am getting this in my error log http://canadiantacos.com/index.php?amp;action=portal;sa=shoutbox;shoutbox_id=1;time=1263249622;xml
Apply Filter: Only show the errors with the same message
8: Undefined index: reputation
Apply Filter: Only show the errors from this file
File: /home1/tdrggnet/public_html/cdntaco/Sources/Subs.php
Line: 4059

in 1.1.11 i am not getting anything in my error log
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: pointalk on January 11, 2010, 09:57:17 PM
Fustrate or other members, can you help me?

"Add 1 point to member when he give a Reputation"

How to achieve this feature?
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: hobox on January 14, 2010, 08:48:07 PM
Read in the beginning that you were about to implement membergroups based on reputation. Tried to look through this thread but can't find anything about it.

Installed it on 1.1.11 and the only problem I got was that I had to cut-n-paste into my theme's style.css to get the pop-up to work. Truly a wonderful mod, but it would be so much more useful if I could base membergroups or at least board access based on it.

Keep it up!
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: ʟink on January 14, 2010, 10:30:40 PM
Quote from: pointalk on January 11, 2010, 09:57:17 PM
Fustrate or other members, can you help me?

"Add 1 point to member when he give a Reputation"

How to achieve this feature?
If you're talking about adding a point to the reputation giver as well as the person who received it, I don't know how to do that. However, if you want to give only one point to anyone, regardless of power, this edit worked for me:

File:./Sources/Xml.php

Find: // Finally! Now do an update if there's no error
if($context['error_txt'] == "")
{
$request = $smcFunc['db_query']('', '
UPDATE {db_prefix}members
SET {raw:which} = {raw:which} + {int:power}
WHERE id_member = {int:uid}',
array(
'power' => $power,
'uid' => $uid,
'which' => $karma_which,
)
);


Replace with:   // Finally! Now do an update if there's no error
if($context['error_txt'] == "")
{
$request = $smcFunc['db_query']('', '
UPDATE {db_prefix}members
SET {raw:which} = {raw:which} + {int:power}
WHERE id_member = {int:uid}',
array(
'power' => 1,
'uid' => $uid,
'which' => $karma_which,
)
);
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Enders on January 16, 2010, 12:07:15 PM
Quote from: ʟink on January 14, 2010, 10:30:40 PM
Quote from: pointalk on January 11, 2010, 09:57:17 PM
Fustrate or other members, can you help me?

"Add 1 point to member when he give a Reputation"

How to achieve this feature?
If you're talking about adding a point to the reputation giver as well as the person who received it, I don't know how to do that. However, if you want to give only one point to anyone, regardless of power, this edit worked for me:

File:./Sources/Xml.php

Find:   // Finally! Now do an update if there's no error
   if($context['error_txt'] == "")
   {
      $request = $smcFunc['db_query']('', '
         UPDATE {db_prefix}members
         SET {raw:which} = {raw:which} + {int:power}
         WHERE id_member = {int:uid}',
         array(
            'power' => $power,
            'uid' => $uid,
            'which' => $karma_which,
         )
      );


Replace with:   // Finally! Now do an update if there's no error
   if($context['error_txt'] == "")
   {
      $request = $smcFunc['db_query']('', '
         UPDATE {db_prefix}members
         SET {raw:which} = {raw:which} + {int:power}
         WHERE id_member = {int:uid}',
         array(
            'power' => 1,
            'uid' => $uid,
            'which' => $karma_which,
         )
      );


Thanks! However, is there a way to change how much bad rep points are subtracted and good point reps added?
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Joker™ on January 16, 2010, 12:11:15 PM
can anyone tell how to make membergroups based on reputation.i mean if a member group has a specific reputation and a member joins that group ...  then the reputation of member automatically changes to the reputation of membergroup.....

hope i wrote the idea properly
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: adbrad on January 16, 2010, 12:53:40 PM
Quote from: sid2varun on January 16, 2010, 12:11:15 PM
can anyone tell how to make membergroups based on reputation.i mean if a member group has a specific reputation and a member joins that group ...  then the reputation of member automatically changes to the reputation of membergroup.....

hope i wrote the idea properly

you not said what version your on but you could try this
http://custom.simplemachines.org/mods/index.php?mod=1935
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: ʟink on January 16, 2010, 08:03:04 PM
Quote from: Enders on January 16, 2010, 12:07:15 PM
Quote from: ʟink on January 14, 2010, 10:30:40 PM
Quote from: pointalk on January 11, 2010, 09:57:17 PM
Fustrate or other members, can you help me?

"Add 1 point to member when he give a Reputation"

How to achieve this feature?
If you're talking about adding a point to the reputation giver as well as the person who received it, I don't know how to do that. However, if you want to give only one point to anyone, regardless of power, this edit worked for me:

File:./Sources/Xml.php

Find:   // Finally! Now do an update if there's no error
   if($context['error_txt'] == "")
   {
      $request = $smcFunc['db_query']('', '
         UPDATE {db_prefix}members
         SET {raw:which} = {raw:which} + {int:power}
         WHERE id_member = {int:uid}',
         array(
            'power' => $power,
            'uid' => $uid,
            'which' => $karma_which,
         )
      );


Replace with:   // Finally! Now do an update if there's no error
   if($context['error_txt'] == "")
   {
      $request = $smcFunc['db_query']('', '
         UPDATE {db_prefix}members
         SET {raw:which} = {raw:which} + {int:power}
         WHERE id_member = {int:uid}',
         array(
            'power' => 1,
            'uid' => $uid,
            'which' => $karma_which,
         )
      );


Thanks! However, is there a way to change how much bad rep points are subtracted and good point reps added?
I don't know how to differ from good or bad rep, but if you want to change both to one value, just edit "'power' => 1," to "'power' => 2," or "'power' => 3," to change it to giving two or three rep, respectively.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: hobox on January 16, 2010, 10:06:18 PM
Quote from: adbrad on January 16, 2010, 12:53:40 PM
Quote from: sid2varun on January 16, 2010, 12:11:15 PM
can anyone tell how to make membergroups based on reputation.i mean if a member group has a specific reputation and a member joins that group ...  then the reputation of member automatically changes to the reputation of membergroup.....

hope i wrote the idea properly

you not said what version your on but you could try this
http://custom.simplemachines.org/mods/index.php?mod=1935

I asked the same but I use 1.1.11 and not 2.0

AND

in the stats section only the best reputation members show up. How can I make the worst reputation members show up as well? Or must they fall below zero to show up? BTW what happens when somones reputation falls below zero? I hope they don't get the reversed reputation power from it ;)

AND :)

Is there someway to force users to leave a comment and not only approve or dissapprove? Found out that most users are lazy and just rate an entry without telling why.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Enders on January 16, 2010, 11:23:42 PM
Quote from: ʟink on January 16, 2010, 08:03:04 PM
I don't know how to differ from good or bad rep, but if you want to change both to one value, just edit "'power' => 1," to "'power' => 2," or "'power' => 3," to change it to giving two or three rep, respectively.

I believe what differs between good or bad rep is $karma_which. If you do an if blah blah blah then 'power' = 3 else... yea that stuff. I'm still noob at this but I hope that helps you to get what I want!
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Joker™ on January 17, 2010, 12:13:29 AM
Quote from: adbrad on January 16, 2010, 12:53:40 PM
Quote from: sid2varun on January 16, 2010, 12:11:15 PM
can anyone tell how to make membergroups based on reputation.i mean if a member group has a specific reputation and a member joins that group ...  then the reputation of member automatically changes to the reputation of membergroup.....

hope i wrote the idea properly

you not said what version your on but you could try this
http://custom.simplemachines.org/mods/index.php?mod=1935


ummmm thats just reverse of what i want..... MY SMF version is SMF 2.0 RC2 with default curve theme

i want that i assign a group specific reputation n when someone joins that group or assigned to it

then the user reputation increases automatically to the reputation of group

For e.g

If group  >>> Administrator has reputation 50,000

then if some user joined or assigned administrator group then his reputation automatically becomes 50,000
Title: Re: Advanced Reputation System - Difficulty Uninstalling it , any help pls ?
Post by: tawanda on January 20, 2010, 11:23:52 AM
Table 'xxxxxx.members' doesn't exist
File: /xxxx/xxxx/temp/uninstall.php
Line: 46

Believe me i've tried the last month  to remove this , because i can't do certain things . I fogot to activate INSTALL ON OTHER THEME.

So i want to uninstall  then re-install it .  Also i cant restore the back up because are mods got installed after wards .

Does any body have this of error & solution ? . Would greatly appreciate it 

It was Ok in SMF1.1  but now im on 2.0 RC2 .. & yes im using the version designed for SMF2
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: adbrad on January 20, 2010, 01:05:42 PM
i get the same error when trying to uninstall think its a error in the package will have to wait for the mod author to look into it.
While you are waiting could you not do the edits manually to the other theme
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: LC on January 20, 2010, 07:08:16 PM
Hey there, I am running 2.0 RC2 Curve, and hopefully someone can tell me what I can do to fix this, when myself (which I am the owner) or any member attempt to look at our reputation messages we get a "You are not allowed to access this section."

I've checked all the permissions, nothing is showing up in the error log either.

Any suggestions?
Title: Re: Advanced Reputation System - Difficulty Uninstalling it , any help pls ?
Post by: Shades. on January 24, 2010, 04:05:22 PM
Quote from: OneSwag on January 20, 2010, 11:23:52 AM
Table 'xxxxxx.members' doesn't exist
File: /xxxx/xxxx/temp/uninstall.php
Line: 46

Believe me i've tried the last month  to remove this , because i can't do certain things . I fogot to activate INSTALL ON OTHER THEME.

So i want to uninstall  then re-install it .  Also i cant restore the back up because are mods got installed after wards .

Does any body have this of error & solution ? . Would greatly appreciate it 

It was Ok in SMF1.1  but now im on 2.0 RC2 .. & yes im using the version designed for SMF2

I'm having the same problem! It won't let me uninstall it. Gives me the same error as you are getting. Someone please help! :o
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Nick Whetstone on January 24, 2010, 05:30:30 PM
Looking into this bug; will post an update if I can confirm it.

UPDATE: Bug confirmed. Looking for a fix.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: pointalk on January 24, 2010, 06:14:09 PM
Quote from: Ha² on January 24, 2010, 05:30:30 PM
Looking into this bug; will post an update if I can confirm it.

Can you help me?

How to achieve this feature? "Add 1 point to member when he give a Reputation"

Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Lamarck on January 24, 2010, 10:55:36 PM
QuoteTable 'xxxxxx.members' doesn't exist
File: /xxxx/xxxx/temp/uninstall.php
Line: 46

Believe me i've tried the last month  to remove this , because i can't do certain things . I fogot to activate INSTALL ON OTHER THEME.

So i want to uninstall  then re-install it .  Also i cant restore the back up because are mods got installed after wards .

Does any body have this of error & solution ? . Would greatly appreciate it 

It was Ok in SMF1.1  but now im on 2.0 RC2 .. & yes im using the version designed for SMF2

As I said,I have the same problem,I can't uninstall this mod >_<.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Nick Whetstone on January 24, 2010, 11:19:29 PM
Quote from: Ha² on January 24, 2010, 05:30:30 PM
Looking into this bug; will post an update if I can confirm it.

UPDATE: Bug confirmed. Looking for a fix.

;)

Edit: This bug *should* be fixed in the next 36-48 hours. I've made a lot of progress on it and have been able to cut out around 90% of the uninstall.php file's errors.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: tawanda on January 25, 2010, 02:17:25 AM
Great!

Will look forward to the fixes....  8)
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Spidereon on January 25, 2010, 03:47:22 PM
Everytime i try to apply this mod:
http://custom.simplemachines.org/mods/index.php?mod=1129

It gives me this error:

Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.


I Have SMF 1.1.11
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Nick Whetstone on January 25, 2010, 07:51:59 PM
Quote from: Spidereon on January 25, 2010, 03:47:22 PM
Everytime i try to apply this mod:
http://custom.simplemachines.org/mods/index.php?mod=1129

It gives me this error:

Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.


I Have SMF 1.1.11

Which test does it fail on?

EDIT:
The repairing of the uninstall script is taking longer than expected. I assure, however, that I am working on it.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Spidereon on January 28, 2010, 04:08:43 AM
53.   Execute Modification   ./Themes/default/languages/Errors.spanish_latin.php   File not found
54.   Execute Modification   ./Themes/default/languages/Help.spanish_latin.php   File not found
55.   Execute Modification   ./Themes/default/languages/index.spanish_latin.php   File not found
56.   Execute Modification   ./Themes/default/languages/ManagePermissions.spanish_latin.php   File not found
57.   Execute Modification   ./Themes/default/languages/ModSettings.spanish_latin.php   File not found
58.   Execute Modification   ./Themes/default/languages/Reports.spanish_latin.php   File not found
59.   Execute Modification   ./Themes/default/languages/Stats.spanish_latin.php   File not found
60.   Execute Modification   ./Themes/default/languages/Modifications.spanish_latin.php   File not found
61.   Execute Modification   ./Themes/default/languages/Errors.spanish_latin.php   File not found
62.   Execute Modification   ./Themes/default/languages/Help.spanish_latin.php   File not found
63.   Execute Modification   ./Themes/default/languages/index.spanish_latin.php   File not found
64.   Execute Modification   ./Themes/default/languages/ManagePermissions.spanish_latin.php   File not found
65.   Execute Modification   ./Themes/default/languages/ModSettings.spanish_latin.php   File not found
66.   Execute Modification   ./Themes/default/languages/Reports.spanish_latin.php   File not found
67.   Execute Modification   ./Themes/default/languages/Stats.spanish_latin.php   File not found
68.   Execute Modification   ./Themes/default/languages/Modifications.spanish_latin.php   File not found
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: adbrad on January 28, 2010, 04:13:39 AM
do you use spanish latin as the default language if not that would not cause a problem
any other files fail
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Spidereon on January 28, 2010, 04:15:33 AM
Quote from: adbrad on January 28, 2010, 04:13:39 AM
do you use spanish latin as the default language if not that would not cause a problem
any other files fail

No, Default Is English


So I Proceed And Install?
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: adbrad on January 28, 2010, 04:21:43 AM
check all the files and see if any say test failed
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Spidereon on January 28, 2010, 04:28:34 AM
Quote from: adbrad on January 28, 2010, 04:21:43 AM
check all the files and see if any say test failed

None Said Test Failed
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: adbrad on January 28, 2010, 04:34:07 AM
then should be fine to install
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Spidereon on January 28, 2010, 04:40:50 AM
Quote from: adbrad on January 28, 2010, 04:34:07 AM
then should be fine to install

Sorry If i sound noob, but how do i change the theme directory where the images are being installed?
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: adbrad on January 28, 2010, 04:42:02 AM
install the mod then manually add images to the correct theme file
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Nick Whetstone on January 28, 2010, 09:37:06 AM
Thanks for helping him, adbrad. That conversation happened at 3 AM my time, so I was off, heh.

You can also install it on multiple themes if you want:
QuoteTo install this modification in any theme other than Default, please click the box next to "Install in Other Themes" at the bottom of this page and check the applicable themes.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: sawz on January 28, 2010, 10:13:27 AM
Quote from: LLandL on December 02, 2009, 12:38:03 PM
Installed this and all is working fine apart from when viewing reputation given in a profile the link to the next page (see image) doesn't work, When I click on the 2 it takes me back to my profile.

Any help with fixing this would be very much appreciated.

I'm running 1.1.11 on a custom theme.

i'm finding the same issues myself. to view my reputation i go to:
action=profile;u=1;sa=reputation

this has to do with pagination, the next set of rep comments are here:
profile;u=1;sa=reputation;start=15

but my link says:
action=profile;area=reputation;u=1;start=15

if i could find where to edit this i would but haven't found it yet.

thanks to whomever is aware of this. and sorry if i missed it somewhere.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: adbrad on January 28, 2010, 04:12:47 PM
Quote from: Ha² on January 28, 2010, 09:37:06 AM
Thanks for helping him, adbrad. That conversation happened at 3 AM my time, so I was off, heh.

no problems like to help where i can.

QuoteYou can also install it on multiple themes if you want:
QuoteTo install this modification in any theme other than Default, please click the box next to "Install in Other Themes" at the bottom of this page and check the applicable themes.

the reason i never metioned this was he said he was using 1.1.11 and didn't think this was a option in that version
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Nick Whetstone on January 28, 2010, 04:48:03 PM
I can't re-create this issue. The pagination is working fine for me.

Are you on a custom theme?

(http://i47.tinypic.com/1znvofd.png)

As you can see, the second page shows fine for me.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: sawz on January 28, 2010, 05:29:32 PM
Quote from: Ha² on January 28, 2010, 04:48:03 PM
I can't re-create this issue. The pagination is working fine for me.

Are you on a custom theme?
2nd page works fine for me to if i manually type in the url.
yes there is a custom theme but the links behave the same way using the default theme as well.

wierd its profile;u=1;sa=reputation;start=15 this is correct

but when i click the pagination link it says:
action=profile;area=reputation;u=1;start=15

i need to find that code in the files and edit it.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Nick Whetstone on January 28, 2010, 05:41:38 PM
I believe the function you're referring to is defined here in Profile.php:function reputation($memID)
Look at the bottom of that function. This is what it shows for me: $context['page_index'] = constructPageIndex($scripturl . '?action=profile;sa=reputation;u=' . $memID, $context['start'], $total_actions, $amount);
What does it show for you?
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: sawz on January 28, 2010, 06:50:19 PM
i thought that was it, i'm looking at the order the link is coded,  profile, reputation, member id whereas a correct link is profile, user id, reputation.

you following what i mean?
what your showing is what i also have.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Nick Whetstone on January 28, 2010, 07:14:06 PM
If I understand correctly, you want to re-order the URLs, correct? If so, try changing the above line to this:
$context['page_index'] = constructPageIndex($scripturl . '?action=profile;u=' . $memID . ';sa=reputation', $context['start'], $total_actions, $amount);

That will make it:
Profile action -> User ID -> Reputation

By the way, I wasn't sure what you meant by "correct link." I'm not the original owner of the code (just took it over last week), so I'm not sure what the original's developer's goals were URL-wise, but I do know that he got it to work, and work very well.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: sawz on January 28, 2010, 08:58:23 PM
that worked, by switching it around we can now happily click the pagination and see all our rep comments.  8)
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: LC on January 28, 2010, 10:08:11 PM
Quote from: LC on January 20, 2010, 07:08:16 PM
Hey there, I am running 2.0 RC2 Curve, and hopefully someone can tell me what I can do to fix this, when myself (which I am the owner) or any member attempt to look at our reputation messages we get a "You are not allowed to access this section."

I've checked all the permissions, nothing is showing up in the error log either.

Any suggestions?
Bump.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Nick Whetstone on January 28, 2010, 10:38:17 PM
Quote from: LC on January 28, 2010, 10:08:11 PM
Quote from: LC on January 20, 2010, 07:08:16 PM
Hey there, I am running 2.0 RC2 Curve, and hopefully someone can tell me what I can do to fix this, when myself (which I am the owner) or any member attempt to look at our reputation messages we get a "You are not allowed to access this section."

I've checked all the permissions, nothing is showing up in the error log either.

Any suggestions?
Bump.

Woops, I seem to have missed the post.
Hmm... Have you manually modified the Karma.php, Karma.template.php, and/or ManagePermissions.php files any?
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: LC on January 29, 2010, 12:25:11 AM
Well I am unsure about that, do you think it is a conflict with another mod?

I've used this mod with 1.1.x and had no issues with other mods.

Here is a list of mods I use.

1.   SMF Gallery Lite    2.0.9   
2.   Aeva ~ Auto-Embed Video & Audio    7.0   
3.   Twitter and Facebook Publisher mod    2.1     
4.   SimplePortal    2.3.1   
5.   Moderator and Administrator Comment Tags    1.7   
6.   SMFShop    3.1.5   
7.   Treasury    2.02   
8.   SMF Arcade    2.5 RC1 
9.   Advanced Reputation System    1.8     
10.   Last Users In 24 Hours    1.0     
11.   Favourite (Favorite) Boards    1.1     
12.   Downloads System    1.2.7     
13.   AutoKeywords    1.1 

Let me know if I should attach any files. Thanks Ha2 :)
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Nick Whetstone on January 29, 2010, 12:29:27 AM
Please attach your Karma.template.php, Karma.php, and ManagePermisisons.php files. I'll switch the contents of the first two out with the original files and make sure everything is added in ManagePermissions.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: LC on January 29, 2010, 01:01:52 AM
Here ya go :)
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: LLandL on January 29, 2010, 05:34:26 AM
Quote from: sawz on January 28, 2010, 08:58:23 PM
that worked, by switching it around we can now happily click the pagination and see all our rep comments.  8)

Thanks for the help with this sawz! I appreciate it.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Nick Whetstone on January 29, 2010, 09:26:40 AM
Quote from: LLandL on January 29, 2010, 05:34:26 AM
Quote from: sawz on January 28, 2010, 08:58:23 PM
that worked, by switching it around we can now happily click the pagination and see all our rep comments.  8)
Quote from: sawz on January 28, 2010, 08:58:23 PM
that worked, by switching it around we can now happily click the pagination and see all our rep comments.  8)
Thanks for the help with this sawz! I appreciate it.

Glad the solution worked. :) If you find any other problems, don't hesitate to let me know. I think I'll include the edited line I posted above in any future versions of the Mod for 1.1.x to hopefully prevent any new sightings of this.
Quote from: LC on January 29, 2010, 01:01:52 AM
Here ya go :)

I will swap out the files when I get home, LC. Sorry about the wait-- I just don't have files with me right now.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: LC on February 01, 2010, 08:08:02 PM
Any luck Ha2?
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Nick Whetstone on February 05, 2010, 08:15:37 PM
Quote from: LC on February 01, 2010, 08:08:02 PM
Any luck Ha2?
Sadly, none. All the edits appear to have been made. It seems that it could end up being a conflict with another mod, but I have no idea which Mod it could be.


A real hail-mary attempt that very possibly won't work, here: have you cleared the file cache? Also, did the Mod work at one time? Or has it never worked?

EDIT: did the Mod fail any tests on installation? Or did it install cleanly?
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: LC on February 06, 2010, 01:01:49 PM
Quote from: Ha² on February 05, 2010, 08:15:37 PM
Quote from: LC on February 01, 2010, 08:08:02 PM
Any luck Ha2?
Sadly, none. All the edits appear to have been made. It seems that it could end up being a conflict with another mod, but I have no idea which Mod it could be.


A real hail-mary attempt that very possibly won't work, here: have you cleared the file cache? Also, did the Mod work at one time? Or has it never worked?

EDIT: did the Mod fail any tests on installation? Or did it install cleanly?
The mod did not fail any tests, it was the first mod I installed on a clean install of RC2 curve. It has never allowed anyone to view the reputation given. The other mods that I have that could affect profiles would be Ultimate Profile and SMF Arcade. I've cleared the file cache a few times, with no result. It seems to be a permission problem as far as being able to view it.

Perhaps I should uninstall then reinstall?
Title: Rep Not Saving to DB in 2.0rc2
Post by: nadrojcote on February 08, 2010, 12:01:47 PM
I am trying to install this mod on my 2.0rc2 site and for some reason when you hit the submit button to submit your rep it doesnt appear to be calling this function:


Reputation.prototype.sendRep = function (sSessionId)
{
   var i, x = new Array();
   var form = document.forms.reputation_form.elements;
   x[x.length] = 'reputation_comment=' + escape(form['reputation_comment'].value.replace(/&#/g, "&#38;#").php_to8bit()).replace(/\+/g, "%2B");
   x[x.length] = 'topic=' + parseInt(form['topic'].value);
   x[x.length] = 'uid=' + parseInt(form['uid'].value);
   x[x.length] = 'm=' + parseInt(form['m'].value);
   x[x.length] = 'type=' + (form['type'][0].checked ? form['type'][0].value : form['type'][1].value);
   x[x.length] = document.getElementById('sessionid').name + '=' + document.getElementById('sessionid').value;


Nothing gets saved to the db and that function is in my script.js

Any ideas?
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Nick Whetstone on February 08, 2010, 12:03:53 PM
Quote from: nadrojcote on February 08, 2010, 12:01:47 PM
I am trying to install this mod on my 2.0rc2 site and for some reason when you hit the submit button to submit your rep it doesnt appear to be calling this function:


Reputation.prototype.sendRep = function (sSessionId)
{
   var i, x = new Array();
   var form = document.forms.reputation_form.elements;
   x[x.length] = 'reputation_comment=' + escape(form['reputation_comment'].value.replace(/&#/g, "&#").php_to8bit()).replace(/\+/g, "%2B");
   x[x.length] = 'topic=' + parseInt(form['topic'].value);
   x[x.length] = 'uid=' + parseInt(form['uid'].value);
   x[x.length] = 'm=' + parseInt(form['m'].value);
   x[x.length] = 'type=' + (form['type'][0].checked ? form['type'][0].value : form['type'][1].value);
   x[x.length] = document.getElementById('sessionid').name + '=' + document.getElementById('sessionid').value;


Nothing gets saved to the db and that function is in my script.js

Any ideas?
Any errors in the log?
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: nadrojcote on February 08, 2010, 12:28:58 PM
yup everytime someone loads a page, and when I ran the install.php I get the same error but I cant seem to find a problem, I have checked all the code manually and it seems fine.

http://canadiantacos.com/index.php?action=portal;sa=shoutbox;shoutbox_id=1;time=1265650024;xml
Apply Filter: Only show the errors with the same message
8: Undefined index: reputation
Apply Filter: Only show the errors from this file
File: /home1/tdrggnet/public_html/cdntaco/Sources/Subs.php
Line: 4059
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: nadrojcote on February 08, 2010, 05:32:42 PM
Ok i got the error fixed now for sure, but still cant seem to get the function working properly, is there a way I can debug this?

If it helps any, I exported some rep from my other site into the db of this site and it showed up in my profile. But when I went to delete it, it went to a blank page that said "Hacker!!!"
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: nadrojcote on February 08, 2010, 09:19:47 PM
I have got it to work by modifying this in display.template

<form id="reputation_form" name="reputation_form" action="', $scripturl, '?action=modifykarma" method="post" accept-charset="', $context['character_set'], '" class="reputation_form" onsubmit="aReputation[0].SendRep(); return false;">

<form id="reputation_form" name="reputation_form" action="', $scripturl, '?action=modifykarma" method="post" accept-charset="', $context['character_set'], '" class="reputation_form" onsubmit="aReputation[0].prototype.SendRep(); return false;">
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: oOo--STAR--oOo on February 11, 2010, 10:24:39 PM
Hi, I have freshly installed SimpleMachines v2.0 RC,

I downloaded this mod ( This is the 1st mod i have downloaded )

I am getting an error on ./Themes/default/PersonalMessage.template.php

now seems like this isnt configured propely to install on a fresh simple machines install.

the version i downloaded was  reputation_2-0_1-8

would be nice for some one to look at it and ammend the errors

Thanks.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Nick Whetstone on February 11, 2010, 10:43:58 PM
Quote from: aljo1985 on February 11, 2010, 10:24:39 PM
Hi, I have freshly installed SimpleMachines v2.0 RC,

I downloaded this mod ( This is the 1st mod i have downloaded )

I am getting an error on ./Themes/default/PersonalMessage.template.php

now seems like this isnt configured propely to install on a fresh simple machines install.

the version i downloaded was  reputation_2-0_1-8

would be nice for some one to look at it and ammend the errors

Thanks.

Ahh yes, I realized that bug the other day and forgot to post the updated package. I'll go look for and post it now.

[EDIT]
Try installing the attached package instead of the old one. Let me know if you have any problems with the installation.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: oOo--STAR--oOo on February 11, 2010, 10:52:37 PM
Yeah there is 3 lines i have noticed that have 2 tabs more

example
            echo '
            <li class="karma">', $modSettings['karmaLabel'], ' ', $message['member']['karma']['good'] - $message['member']['karma']['bad'], '</li>';



and yours is like this

echo '
                  <li class="karma">', $modSettings['karmaLabel'], ' ', $message['member']['karma']['good'] - $message['member']['karma']['bad'], '</li>';

there recursive on all 3 of the li's
and the ahref start line is tabbed 2more times than it needs to be..

Also great ill look forward to the update package if u have already created it..

Also any progress on the uninstall of the reputation system..

Love the new reputation system... only 1 thing that could be changed in my oppinion..

Maybe u could include and option to keep applaud + smite .. because the little love heart is seems kinda not very visible to post karma.
so members just never give any.
so an option to choose would be great.

EDIT.. cool ill just try that one now and let u know
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: oOo--STAR--oOo on February 11, 2010, 10:57:00 PM
Ahh cool yeah no errors what so ever...

also is the uninstall fixed in the new one u just posted?
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: oOo--STAR--oOo on February 11, 2010, 11:44:04 PM
kk another problem...

I installed the mods.. selected the option to install for other Themes I am curently using the Raven Theme..

And in posts the reputation bar is showing as error.. so the image doesnt exist here is where its asking for.

Themes/raven/images/karma_good_basic.gif 

Ill just replace the image for now.. but should be an easy fix for u to apply. :)

Thanks for a great mod....

Keep up the good work..

also when you fix the uninstall will you just beable to update so we can then uninstall the one i have installed now?

Thanks..

Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: adbrad on February 12, 2010, 05:39:35 AM
Quote from: aljo1985 on February 11, 2010, 10:52:37 PM
Love the new reputation system... only 1 thing that could be changed in my oppinion..

Maybe u could include and option to keep applaud + smite .. because the little love heart is seems kinda not very visible to post karma.
so members just never give any.
so an option to choose would be great.

you could try changing the image to something more visible, i changed my image
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Plutuss on February 12, 2010, 06:56:31 PM

I have an odd problem - no way for the user to add reputation in the topic-view.

No little heart shows up, just the gems.

Reputation is certainly turned on, and all permissions are set to use it. It can be changed by the admin in their profiles numerically, just no button on the topic view.

I've attached display.template if anyone can help. Thanks!




Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Nick Whetstone on February 12, 2010, 07:15:35 PM
Quote from: Plutuss on February 12, 2010, 06:56:31 PM

I have an odd problem - no way for the user to add reputation in the topic-view.

No little heart shows up, just the gems.

Reputation is certainly turned on, and all permissions are set to use it. It can be changed by the admin in their profiles numerically, just no button on the topic view.

I've attached display.template if anyone can help. Thanks!






Try navigating to http://yourdomain.com/locationofsmf/Themes/default/images/karma.gif .

Do you see the heart on that page?
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Plutuss on February 12, 2010, 10:00:06 PM

Yes, the heart is there.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Nick Whetstone on February 12, 2010, 10:32:22 PM
Hmm... the display template edits seem to have been made, from what I see.

Have you tried uninstalling then reinstalling the mod? I don't believe the un-installation for RC1 has the bug the other one does.

[off-topic]
I would also recommend that you upgrade your forum to 2.0 RC2 for feature/security/future mod compatibility reasons.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: ~DS~ on February 12, 2010, 11:35:35 PM
Interesting mod, so this replace karma but better?
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Nick Whetstone on February 12, 2010, 11:42:12 PM
Quote from: Dismal Shadow on February 12, 2010, 11:35:35 PM
Interesting mod, so this replace karma but better?
It's basically a re-write of the Karma system. It adds several Admin configuration options, permissions, new features like "Reputation Power" which affects how much weight karma that you give out has, comments for the Rep points, Rep "gems" (the green/orange bars) to show how much rep a person has, plus more. It also allows users to see who gave them rep, as well as comments the giver adds.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: ~DS~ on February 13, 2010, 12:04:34 AM
Ok, installed. So all my karma gained had been lost?

BTW...do I need GiveReputation.php, what does it do?
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Matthew K. on February 13, 2010, 12:08:40 AM
Most every file in a mod is needed ;)
Quote from: Dismal Shadow on February 13, 2010, 12:04:34 AM
Ok, installed. So all my karma gained had been lost?

BTW...do I need GiveReputation.php, what does it do?
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Nick Whetstone on February 13, 2010, 12:13:02 AM
GiveReputation.php explained:
Quote from: Mod's front pageHow can I give my members points for their posts and topics made before I installed this mod?
Simple - download GiveReputation.php from the mod's download page, upload it to your forum's root directory, and point your browser to it. Make sure you decide how many points they get per post/topic before starting!

Quote from: Labradoodle-360 on February 13, 2010, 12:08:40 AM
Most every file in a mod is needed ;)

GiveReputation.php is a useful file, but not required to install the mod.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: ~DS~ on February 13, 2010, 12:28:36 AM
You didn't answer my question. Karmas gained had been lost?

As for GiveReputation, point my browser and get this.

Fatal error: Call to undefined function getmobileproperties() in /home/user/public_html/forum/Sources/Load.php on line 1441
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Nick Whetstone on February 13, 2010, 12:39:40 AM
Quote from: Dismal Shadow on February 13, 2010, 12:28:36 AM
You didn't answer my question. Karmas gained had been lost?

As for GiveReputation, point my browser and get this.

Fatal error: Call to undefined function getmobileproperties() in /home/user/public_html/forum/Sources/Load.php on line 1441

Unless you recorded records of the karma prior to installation, there is, of course, no way to retrieve/preserve it as it is a basic re-write of the core functionality, I'm afraid.

As for the error, I've just tested the file on a fresh installation of RC2 with no problems. The script (or even a fresh Load.php) doesn't call a "getmobileproperties" function anywhere, so it seems to be something else causing that error. The only search results I get for that function point back to the SMF4iPhone (http://www.simplemachines.org/community/index.php?topic=298258.0) thread.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: ~DS~ on February 13, 2010, 12:58:08 AM
Wow. I can't even uninstall.
Table 'user_smf2.members' doesn't exist
File: /home/user/public_html/forum/Packages/temp/uninstall.php
Line: 46

Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Nick Whetstone on February 13, 2010, 01:02:46 AM
Quote from: Dismal Shadow on February 13, 2010, 12:58:08 AM
Wow. I can't even uninstall.
Table 'user_smf2.members' doesn't exist
File: /home/user/public_html/forum/Packages/temp/uninstall.php
Line: 46



This is a confirmed bug with the mod; I believe there have been 4-5 reports of it in the last few pages of this thread.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: ~DS~ on February 13, 2010, 01:12:03 AM
Quote from: Ha² on January 24, 2010, 11:19:29 PM
Quote from: Ha² on January 24, 2010, 05:30:30 PM
Looking into this bug; will post an update if I can confirm it.

UPDATE: Bug confirmed. Looking for a fix.

;)

Edit: This bug *should* be fixed in the next 36-48 hours. I've made a lot of progress on it and have been able to cut out around 90% of the uninstall.php file's errors.

So there's still no solution yet?

UPDATE: This sucks, even on fresh install, on my test site. It cannot be uninstall either.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Plutuss on February 13, 2010, 10:10:30 AM
I tried uninstalling and installing - both reported no errors or pink screen - yet the same result.

I also tried a second forum with my database on version RC 2, 2 - same thing - no heart.

On my regular forum, I uninstalled reputation again, and enabled plain Karma. I see that does not appear in topic view either - no button nor does it give karma total.

This happens even in a fresh install of the software, using this same database - what in the database itself could be triggering it?

Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Nick Whetstone on February 13, 2010, 10:12:51 AM
Instructions for uninstalling the previous version of Advanced Rep on 2.0 RC2
1) Download the attached file
2) Extract the files onto your computer
3) Create a sub-directory in the Packages directory of your website called "Advanced Reputation System Fix"
4) FTP the files you extracted earlier into the sub-directory you created
5) Go to Admin> Packages> Browse Packages
6) Click the "Upgrade" link by the Reputation system

If the "upgrade" is successful, you can simply delete all of the "Advanced Reputation System" listings in your Packages list.


________________

Advanced Reputation for 2.0 RC2 v1.8.1 has been released. It simply fixes two bugs; one with installation, the other with un-installation.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Nick Whetstone on February 13, 2010, 10:20:47 AM
Quote from: Plutuss on February 13, 2010, 10:10:30 AM
I tried uninstalling and installing - both reported no errors or pink screen - yet the same result.

I also tried a second forum with my database on version RC 2, 2 - same thing - no heart.


First off, try logging into phpMyAdmin and making sure a table exists called (yourdbprefixhere)log_karma .
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Plutuss on February 13, 2010, 01:12:33 PM

It does. Here is the print screen view:

Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Nick Whetstone on February 13, 2010, 02:35:26 PM
Quote from: Plutuss on February 13, 2010, 01:12:33 PM

It does. Here is the print screen view:



Hmm... that looks to be as it should.

Do you have any errors in your error log?

Also, can I get the link to your forum?
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: ~DS~ on February 13, 2010, 05:48:16 PM
Quote from: Ha² on February 13, 2010, 10:12:51 AM
Instructions for uninstalling the previous version of Advanced Rep on 2.0 RC2
1) Download the attached file
2) Extract the files onto your computer
3) Create a sub-directory in the Packages directory of your website called "Advanced Reputation System Fix"
4) FTP the files you extracted earlier into the sub-directory you created
5) Go to Admin> Packages> Browse Packages
6) Click the "Upgrade" link by the Reputation system

If the "upgrade" is successful, you can simply delete all of the "Advanced Reputation System" listings in your Packages list.


________________

Advanced Reputation for 2.0 RC2 v1.8.1 has been released. It simply fixes two bugs; one with installation, the other with un-installation.
#3 doesn't make sense...
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Nick Whetstone on February 13, 2010, 05:49:57 PM
Quote from: Dismal Shadow on February 13, 2010, 05:48:16 PM
Quote from: Ha² on February 13, 2010, 10:12:51 AM
Instructions for uninstalling the previous version of Advanced Rep on 2.0 RC2
1) Download the attached file
2) Extract the files onto your computer
3) Create a sub-directory in the Packages directory of your website called "Advanced Reputation System Fix"
4) FTP the files you extracted earlier into the sub-directory you created
5) Go to Admin> Packages> Browse Packages
6) Click the "Upgrade" link by the Reputation system

If the "upgrade" is successful, you can simply delete all of the "Advanced Reputation System" listings in your Packages list.


________________

Advanced Reputation for 2.0 RC2 v1.8.1 has been released. It simply fixes two bugs; one with installation, the other with un-installation.
#3 doesn't make sense...

Go to your website control panel (probably cPanel or Plesk), then go to the Packages directory. Within it, create a new directory called "Advanced Reputation System Fix."
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: adbrad on February 13, 2010, 06:04:55 PM
Quote from: Ha² on February 13, 2010, 10:12:51 AM
Instructions for uninstalling the previous version of Advanced Rep on 2.0 RC2
1) Download the attached file
2) Extract the files onto your computer
3) Create a sub-directory in the Packages directory of your website called "Advanced Reputation System Fix"
4) FTP the files you extracted earlier into the sub-directory you created
5) Go to Admin> Packages> Browse Packages
6) Click the "Upgrade" link by the Reputation system

If the "upgrade" is successful, you can simply delete all of the "Advanced Reputation System" listings in your Packages list.


________________

Advanced Reputation for 2.0 RC2 v1.8.1 has been released. It simply fixes two bugs; one with installation, the other with un-installation.

i just downloaded the file and uploaded through package manager as usual worked fine for me
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Nick Whetstone on February 13, 2010, 06:06:38 PM
Quote from: adbrad on February 13, 2010, 06:04:55 PM
Quote from: Ha² on February 13, 2010, 10:12:51 AM
Instructions for uninstalling the previous version of Advanced Rep on 2.0 RC2
1) Download the attached file
2) Extract the files onto your computer
3) Create a sub-directory in the Packages directory of your website called "Advanced Reputation System Fix"
4) FTP the files you extracted earlier into the sub-directory you created
5) Go to Admin> Packages> Browse Packages
6) Click the "Upgrade" link by the Reputation system

If the "upgrade" is successful, you can simply delete all of the "Advanced Reputation System" listings in your Packages list.


________________

Advanced Reputation for 2.0 RC2 v1.8.1 has been released. It simply fixes two bugs; one with installation, the other with un-installation.
i just downloaded the file and uploaded through package manager as usual worked fine for me

Yes, I need to fix those instructions to remove that; I accidentally used the wrong format for compression earlier, which caused a problem with the package manager. An updated package should work through the PM.

Just making sure: it uninstalled everything, didn't it?
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: adbrad on February 13, 2010, 06:10:36 PM
yep removed every thing and reverted back to the karma system
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: ~DS~ on February 14, 2010, 12:31:14 AM
I tried to do a manual install after it failed the test only to find out the;

// Clear out the karma actions.
$smcFunc['db_query']('', '
DELETE FROM {db_prefix}log_karma');

isn't there and other operations is blank.

Update: never mind, skiped and installed. Seem to solved everything. Thank you.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Nick Whetstone on February 14, 2010, 08:09:32 PM
No problem. The other tests likely failed due to another Mod or some custom work. But, I'm glad it worked.

____________________________________________

I will be updating the Rep System for 2.0 RC3 as soon as it is released to the public instead of waiting for 2.0 to go "Gold."
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: pointalk on February 15, 2010, 06:40:09 AM
Hi, Ha2

Now, times a day can a person give reputation is set to all members.

But I want this feature"Person belong to different Membergroups can set different times a day can a person give reputation."
Can you do a custom fix for my forum?(Powered by SMF 1.1.11)
QuoteINSERT INTO `smf_membergroups`
   (`ID_GROUP`, `groupName`, `onlineColor`, `minPosts`, `maxMessages`, `stars`)
VALUES (1, 'Administrator', '#FF0000', -1, 0, '5#staradmin.gif'),
   (2, 'Global Moderator', '#DF9006', -1, 0, '5#stargmod.gif'),
   (3, 'Moderator', '#0061D6', -1, 0, '5#starmod.gif'),
   (4, 'Primary Member', '', 0, 0, ''),
   (5, 'Regular Member', '', 5, 0, ''),
   (6, 'Senior Member', '', 20, 0, ''),
   (9, 'Bronze Member', '#9EDF06', -1, 0, '2#star.gif'),
   (11, 'Silver Member', '#B6B7B6', -1, 0, '3#star.gif'),
   (12, 'Gold Member', '#DDDF06', -1, 0, '4#star.gif'),
   (13, 'Diamond Member', '#0061D6', -1, 0, '5#star.gif'),
   (14, 'Eclass Member', '#000006', -1, 0, '1#star.gif');
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Nick Whetstone on February 15, 2010, 10:53:18 AM
Quote from: pointalk on February 15, 2010, 06:40:09 AM
Hi, Ha2

Now, times a day can a person give reputation is set to all members.

But I want this feature"Person belong to different Membergroups can set different times a day can a person give reputation."
Can you do a custom fix for my forum?
QuoteINSERT INTO `smf_membergroups`
   (`ID_GROUP`, `groupName`, `onlineColor`, `minPosts`, `maxMessages`, `stars`)
VALUES (1, 'Administrator', '#FF0000', -1, 0, '5#staradmin.gif'),
   (2, 'Global Moderator', '#DF9006', -1, 0, '5#stargmod.gif'),
   (3, 'Moderator', '#0061D6', -1, 0, '5#starmod.gif'),
   (4, 'Primary Member', '', 0, 0, ''),
   (5, 'Regular Member', '', 5, 0, ''),
   (6, 'Senior Member', '', 20, 0, ''),
   (9, 'Bronze Member', '#9EDF06', -1, 0, '2#star.gif'),
   (11, 'Silver Member', '#B6B7B6', -1, 0, '3#star.gif'),
   (12, 'Gold Member', '#DDDF06', -1, 0, '4#star.gif'),
   (13, 'Diamond Member', '#0061D6', -1, 0, '5#star.gif'),
   (14, 'Eclass Member', '#000006', -1, 0, '1#star.gif');


That's a nice feature idea. I'll look into adding it to the system for you. :)
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Nick Whetstone on February 15, 2010, 05:16:09 PM
Thank you, Bugo. :) Will include in the next full release (v1.9). v1.8.x releases will now only be for bug fixes.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: waruna on February 20, 2010, 07:39:39 AM
This looks like a great mod!.

I'm using SMF 2.0 RC2. Before installing, I need some advices. Please take a look at my installed mods:

Quote1.   EmailFlash
2.   Activity_Bar
3.   [BBCode] Blink    1.0
4.   Additional Home page Title | S-Ace    2.0
5.   Google Search Your Site    1.0.0
6.   YouTube BBCode    2.6
7.   Spoiler Tag    0.7a
8.   Share This Topic    1.3
9.   Change_All_Subjects    1.1.1
10.   Member Color Link    3.0.8
11.   SimplePortal    2.3.1
12.   Dynamic_Memberlist    2.0.2
13.   Hide SMF Version    1.0.5

Is there's any mod listed above not suitable for this Advanced Reputation System mod? Thanks in advance. :)
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: waruna on February 20, 2010, 10:03:54 AM
Ok smooth installation. Thanks!

But please help. I have two questions:

1. Is it possible if I wanted only those who have reach 200 posts can give reputation?
2. How to disable View Reputation in Profile Info -> View Reputation for regular members? I wanted only Admin who can see them.

Thanks in advance
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Nick Whetstone on February 20, 2010, 10:38:01 AM
Quote from: waruna on February 20, 2010, 10:03:54 AM
Ok smooth installation. Thanks!

But please help. I have two questions:

1. Is it possible if I wanted only those who have reach 200 posts can give reputation?
2. How to disable View Reputation in Profile Info -> View Reputation for regular members? I wanted only Admin who can see them.

Thanks in advance

1. Just be sure to have a posting membergroup with 200 posts set as the requirement. Then, just set the "Change other people's karma", "Can -reputation other users", and "Can +reputation other users" permissions for that group.
2. Look for this in Profile.template.php :
function template_reputation()
{
global $context, $settings, $options, $scripturl, $modSettings, $txt;
Code (Replace the above with this...) Select
function template_reputation()
{
global $context, $settings, $options, $scripturl, $modSettings, $txt;
isAllowedTo('admin_forum');
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: waruna on February 20, 2010, 03:19:48 PM
Ok thanks Mr. Ha. It works. ;).

I can't understand the Add Reputation function. I mean when I give reputation to someone by clicking at the heart icon, seems like nothing's happened.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Matthew K. on February 20, 2010, 03:20:59 PM
When you click the heart icon, it should activate a javascript popup window, then you can submit a reputation item.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: waruna on February 20, 2010, 03:34:41 PM
Quote from: Labradoodle-360 on February 20, 2010, 03:20:59 PM
When you click the heart icon, it should activate a javascript popup window, then you can submit a reputation item.

Yes it does. But when I check their profile, the reputation still same, nothing changed  :-\. I guess I have to read all over the pages to understand how this mod works.

One more thing, I try to set user can get 5 points per thread started. And I just realize that when a topic got deleted, the points doesn't automatically deducted?
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Nick Whetstone on February 20, 2010, 09:41:12 PM
In short: no, the points are not deducted AFAIK.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: waruna on February 21, 2010, 02:46:14 AM
Quote from: Ha² on February 20, 2010, 09:41:12 PM
In short: no, the points are not deducted AFAIK.

Ok thanks Mr. Ha for the explanation.

I just disabled point per post but the other function such as point per thread works perfectly.

Except this one. Everytime I give reputation by clicking at the heart icon, either disagree or agree and click submit, the popup shows reputation has been sent. But the user's reputation doesn't change at all. Have I done something wrong?

Thanks in advance.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: waruna on February 21, 2010, 05:27:15 AM
Just ignore my post above. It works now. The only thing left is I don't want users to give -ve Rep to others. I already untick the "Can give -ve" permission but they still can see and check the -ve Rep button.

And also, how to change users will gain 1 point for every 5 thread started instead of 1 thread = 1 rep?
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Nick Whetstone on February 21, 2010, 11:31:52 AM
Quote from: waruna on February 21, 2010, 05:27:15 AM
Just ignore my post above. It works now. The only thing left is I don't want users to give -ve Rep to others. I already untick the "Can give -ve" permission but they still can see and check the -ve Rep button.

And also, how to change users will gain 1 point for every 5 thread started instead of 1 thread = 1 rep?

For the second thing, set the per-thread point setting to .2 instead of 1.

For the first problem, I will look into it.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: waruna on February 21, 2010, 11:46:25 AM
Ok. Thanks Mr. Ha for your kindness! .. :D
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: waruna on February 22, 2010, 05:36:42 AM
Can anyone help? I already set:

'How many times a day can a person give reputation?' = 10
'How many people does a user have to give reputation to before they can repeat a person?' = 3

Please see the attachment.

But the problem is the function just won't work. All users can give reputation as much as they want, like no limit at all. Have I done something wrong?

Thanks in advance

Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: waruna on February 23, 2010, 04:53:06 AM
Anyone?. :D ..

Additional Question:
How to prevent regular members from viewing index.php?action=reputation? I wanted only Admin who can see the page.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: hobox on February 24, 2010, 02:43:03 AM
Can this mod not be expanded to include Reputatuion based membergroups as well? This would be great. If possible for SMF 1.1.*
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Nick Whetstone on February 24, 2010, 09:15:02 AM
Quote from: waruna on February 23, 2010, 04:53:06 AM
How to prevent regular members from viewing index.php?action=reputation? I wanted only Admin who can see the page.

Did you try this suggestion (http://www.simplemachines.org/community/index.php?topic=230676.msg2508663#msg2508663)?
Quote from: hobox on February 24, 2010, 02:43:03 AM
Can this mod not be expanded to include Reputatuion based membergroups as well? This would be great. If possible for SMF 1.1.*
It may be possible, though it would likely expand the Mod by 30-40% alone, so as for know, this is not planned. Though, I will keep it in mind for future versions of the Mod. Sorry.

There is a Mod that replaces post-count-based groups with karma-based groups for 2.0, but not any for 1.1.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: waruna on February 24, 2010, 09:45:01 AM
Mr. Ha, I already did as per your suggestion, but by doing that, they're unable to view their own reputation stats. I just want to disable regular members from viewing action=reputation, not action=profile;area=reputation :D

Thank you sir for your help.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: rock91 on February 24, 2010, 01:50:39 PM
Hey Ha2 , noticed the two corrupted files in the image? Is this normal? Could this be cause by another mod?




1.     PageRank BBCode      1.5      [ Install Mod ]  [ List Files ]  [ Delete ]
2.    Word Description    1.0    [ Uninstall ] [ List Files ] [ Delete ]
3.    Signature Area BBCode Buttons    1.7    [ Uninstall ] [ List Files ] [ Delete ]
4.    AutoKeywords    1.1    [ Uninstall ] [ List Files ] [ Delete ]
5.    Advanced Reputation System    1.8.1    [ Install Mod ] [ List Files ] [ Delete ]
6.    Spoiler Tag    0.7a    [ Uninstall ] [ List Files ] [ Delete ]
7.    Move Old Topics    1.3.5.2    [ Uninstall ] [ List Files ] [ Delete ]
8.    Auto Merge Double Post    1.2    [ Uninstall ] [ List Files ] [ Delete ]
9.    Twitter and Facebook Publisher mod    2.2    [ Uninstall ] [ List Files ] [ Delete ]
10.    SideSparks Chat Integration    1.2.1    [ Install Mod ] [ List Files ] [ Delete ]
11.    Floating Bar Mod    1.1.4    [ Uninstall ] [ List Files ] [ Delete ]
12.    MessagePreviewOnHover    1.7    [ Uninstall ] [ List Files ] [ Delete ]
13.    AvatarSelect    1.2.1    [ Uninstall ] [ List Files ] [ Delete ]
14.    Google Verification META Tag    1.101    [ Uninstall ] [ List Files ] [ Delete ]
15.    Karma Description Mod    2.6.7    [ Uninstall ] [ List Files ] [ Delete ]
16.    Animated_BBC_expando    1.0.0    [ Uninstall ] [ List Files ] [ Delete ]
17.    Custom Copyright    1.2    [ Uninstall ] [ List Files ] [ Delete ]
18.    Ultimate Profile    0.9.1    [ Uninstall ] [ List Files ] [ Delete ]
19.    Countdown_BBCode    1.2    [ Uninstall ] [ List Files ] [ Delete ]
20.    Global Headers Footers    2.0    [ Uninstall ] [ List Files ] [ Delete ]
21.    Thank-O-Matic    2.0 RC1.3    [ Install Mod ] [ List Files ] [ Delete ]
22.    SMF Trader System    1.3.2    [ Uninstall ] [ List Files ] [ Delete ]
23.    Signature Settings Mod    1.1    [ Install Mod ] [ List Files ] [ Delete ]
24.    Best 3    0.1    [ Uninstall ] [ List Files ] [ Delete ]
25.    Delete Spam Posts    1.3    [ Install Mod ] [ List Files ] [ Delete ]
26.    Spoiler BBCode    1.1.1    [ Uninstall ] [ List Files ] [ Delete ]
27.    Highslide Image Viewer    1.6    [ Uninstall ] [ List Files ] [ Delete ]
28.    Top 10 Posters and Topic Starters Stats (Today, This Week, This Month)    2.4.2    [ Uninstall ] [ List Files ] [ Delete ]
29.    EzPortal    0.3.6    [ Uninstall ] [ List Files ] [ Delete ]
30.    No BBC    1    [ Uninstall ] [ List Files ] [ Delete ]
31.    Active Members In Topic    1.8    [ Uninstall ] [ List Files ] [ Delete ]
32.    More Spiders    1.2    [ Uninstall ] [ List Files ] [ Delete ]
33.    Next Post Level    1.3.2    [ Uninstall ] [ List Files ] [ Delete ]
34.    TopicStarter Mod    1.4    [ Uninstall ] [ List Files ] [ Delete ]
35.    Mark_Reader_Name    1.1.0.2    [ Uninstall ] [ List Files ] [ Delete ]
36.    unboldnews    2.0    [ Install Mod ] [ List Files ] [ Delete ]
37.    Image Quote Removal Package    1.1    [ Uninstall ] [ List Files ] [ Delete ]
38.    Topic_Locked_Message    2.1    [ Uninstall ] [ List Files ] [ Delete ]

(http://i47.tinypic.com/2q3ayc1.jpg)
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Nick Whetstone on February 24, 2010, 03:25:14 PM
Quote from: waruna on February 24, 2010, 09:45:01 AM
Mr. Ha, I already did as per your suggestion, but by doing that, they're unable to view their own reputation stats. I just want to disable regular members from viewing action=reputation, not action=profile;area=reputation :D

Thank you sir for your help.
Try opening up /Sources/Karma.php and finding this:
function SendKarma()
{
global $modSettings, $user_info, $context, $smcFunc, $txt;

Replace that with this:
function SendKarma()
{
global $modSettings, $user_info, $context, $smcFunc, $txt;
   isAllowedTo('admin_forum');







Quote from: rock91 on February 24, 2010, 01:50:39 PM
Hey Ha2 , noticed the two corrupted files in the image? Is this normal? Could this be cause by another mod?




1.     PageRank BBCode      1.5      [ Install Mod ]  [ List Files ]  [ Delete ]
2.    Word Description    1.0    [ Uninstall ] [ List Files ] [ Delete ]
3.    Signature Area BBCode Buttons    1.7    [ Uninstall ] [ List Files ] [ Delete ]
4.    AutoKeywords    1.1    [ Uninstall ] [ List Files ] [ Delete ]
5.    Advanced Reputation System    1.8.1    [ Install Mod ] [ List Files ] [ Delete ]
6.    Spoiler Tag    0.7a    [ Uninstall ] [ List Files ] [ Delete ]
7.    Move Old Topics    1.3.5.2    [ Uninstall ] [ List Files ] [ Delete ]
8.    Auto Merge Double Post    1.2    [ Uninstall ] [ List Files ] [ Delete ]
9.    Twitter and Facebook Publisher mod    2.2    [ Uninstall ] [ List Files ] [ Delete ]
10.    SideSparks Chat Integration    1.2.1    [ Install Mod ] [ List Files ] [ Delete ]
11.    Floating Bar Mod    1.1.4    [ Uninstall ] [ List Files ] [ Delete ]
12.    MessagePreviewOnHover    1.7    [ Uninstall ] [ List Files ] [ Delete ]
13.    AvatarSelect    1.2.1    [ Uninstall ] [ List Files ] [ Delete ]
14.    Google Verification META Tag    1.101    [ Uninstall ] [ List Files ] [ Delete ]
15.    Karma Description Mod    2.6.7    [ Uninstall ] [ List Files ] [ Delete ]
16.    Animated_BBC_expando    1.0.0    [ Uninstall ] [ List Files ] [ Delete ]
17.    Custom Copyright    1.2    [ Uninstall ] [ List Files ] [ Delete ]
18.    Ultimate Profile    0.9.1    [ Uninstall ] [ List Files ] [ Delete ]
19.    Countdown_BBCode    1.2    [ Uninstall ] [ List Files ] [ Delete ]
20.    Global Headers Footers    2.0    [ Uninstall ] [ List Files ] [ Delete ]
21.    Thank-O-Matic    2.0 RC1.3    [ Install Mod ] [ List Files ] [ Delete ]
22.    SMF Trader System    1.3.2    [ Uninstall ] [ List Files ] [ Delete ]
23.    Signature Settings Mod    1.1    [ Install Mod ] [ List Files ] [ Delete ]
24.    Best 3    0.1    [ Uninstall ] [ List Files ] [ Delete ]
25.    Delete Spam Posts    1.3    [ Install Mod ] [ List Files ] [ Delete ]
26.    Spoiler BBCode    1.1.1    [ Uninstall ] [ List Files ] [ Delete ]
27.    Highslide Image Viewer    1.6    [ Uninstall ] [ List Files ] [ Delete ]
28.    Top 10 Posters and Topic Starters Stats (Today, This Week, This Month)    2.4.2    [ Uninstall ] [ List Files ] [ Delete ]
29.    EzPortal    0.3.6    [ Uninstall ] [ List Files ] [ Delete ]
30.    No BBC    1    [ Uninstall ] [ List Files ] [ Delete ]
31.    Active Members In Topic    1.8    [ Uninstall ] [ List Files ] [ Delete ]
32.    More Spiders    1.2    [ Uninstall ] [ List Files ] [ Delete ]
33.    Next Post Level    1.3.2    [ Uninstall ] [ List Files ] [ Delete ]
34.    TopicStarter Mod    1.4    [ Uninstall ] [ List Files ] [ Delete ]
35.    Mark_Reader_Name    1.1.0.2    [ Uninstall ] [ List Files ] [ Delete ]
36.    unboldnews    2.0    [ Install Mod ] [ List Files ] [ Delete ]
37.    Image Quote Removal Package    1.1    [ Uninstall ] [ List Files ] [ Delete ]
38.    Topic_Locked_Message    2.1    [ Uninstall ] [ List Files ] [ Delete ]

(http://i47.tinypic.com/2q3ayc1.jpg)

The "Karma Description Mod" is likely causing it. A quote from the first post:
Quote from: Ha² on March 25, 2008, 12:51:10 PM
  • Can I use any other karma-based modifications with this one?
    NO! This is the #1 cause of major problems with the reputation system! Since this modification changes so much of how Karma works, it really doesn't play nicely with other karma mods, and could cause some big problems with your site.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: pointalk on February 24, 2010, 05:21:01 PM
Quote from: Ha² on February 15, 2010, 10:53:18 AM
Quote from: pointalk on February 15, 2010, 06:40:09 AM
Hi, Ha2

Now, times a day can a person give reputation is set to all members.

But I want this feature"Person belong to different Membergroups can set different times a day can a person give reputation."
Can you do a custom fix for my forum?
QuoteINSERT INTO `smf_membergroups`
   (`ID_GROUP`, `groupName`, `onlineColor`, `minPosts`, `maxMessages`, `stars`)
VALUES (1, 'Administrator', '#FF0000', -1, 0, '5#staradmin.gif'),
   (2, 'Global Moderator', '#DF9006', -1, 0, '5#stargmod.gif'),
   (3, 'Moderator', '#0061D6', -1, 0, '5#starmod.gif'),
   (4, 'Primary Member', '', 0, 0, ''),
   (5, 'Regular Member', '', 5, 0, ''),
   (6, 'Senior Member', '', 20, 0, ''),
   (9, 'Bronze Member', '#9EDF06', -1, 0, '2#star.gif'),
   (11, 'Silver Member', '#B6B7B6', -1, 0, '3#star.gif'),
   (12, 'Gold Member', '#DDDF06', -1, 0, '4#star.gif'),
   (13, 'Diamond Member', '#0061D6', -1, 0, '5#star.gif'),
   (14, 'Eclass Member', '#000006', -1, 0, '1#star.gif');


That's a nice feature idea. I'll look into adding it to the system for you. :)

How about the progress?
What files of my forum should I supply to you?
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: waruna on February 25, 2010, 05:30:08 AM
Quote from: Ha² on February 24, 2010, 03:25:14 PM
Quote from: waruna on February 24, 2010, 09:45:01 AM
Mr. Ha, I already did as per your suggestion, but by doing that, they're unable to view their own reputation stats. I just want to disable regular members from viewing action=reputation, not action=profile;area=reputation :D

Thank you sir for your help.
Try opening up /Sources/Karma.php and finding this:
function SendKarma()
{
global $modSettings, $user_info, $context, $smcFunc, $txt;

Replace that with this:
function SendKarma()
{
global $modSettings, $user_info, $context, $smcFunc, $txt;
   isAllowedTo('admin_forum');


Ok. It works!. Many thanks Mr. Ha.  ;)
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: waruna on February 25, 2010, 01:55:08 PM
Hmm. I don't know whether this is a bug or not,
but seems like in my forum, the receivers will get the reputation depend on their giver's rep?

For example, if member 'A' have 10 points, then he add reputation to member 'B', member 'B' will also gain 10 points?
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Nick Whetstone on February 25, 2010, 02:02:46 PM
That is called "Reputation Power" unless I am misunderstanding you. :) The more reputation you have, the more power you have; the more power you have, the more each rep. you give adds to the other person's points.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: waruna on February 25, 2010, 02:17:51 PM
Ah I see. Maybe I'm wrong. This is my settings:

Quote
Points per post : 0
Points per thread : 0
Users gain 1 power for every __ points? : 1
Users gain 1 bar image for every __ points? : 1
Welcome new member : 1
Birthday member : 0
How many times a day can a person give reputation? : 20
How many people does a user have to give reputation to before they can repeat a person? : 1

If any of above settings is wrong, can you give me the default settings? Forgot already. :D

Thanks in advance.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Membre on February 26, 2010, 08:02:37 PM
Can you add spanish_es ? is the same as spanish_latin :) thanks.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: NielsoN on February 27, 2010, 09:43:07 PM
You can make the files to portuguese_brazilian?

SMF: 1.1.11

thank you :D
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Nick Whetstone on February 27, 2010, 09:49:14 PM
Quote from: NielsoN on February 27, 2010, 09:43:07 PM
You can make the files to portuguese_brazilian?

SMF: 1.1.11

thank you :D

I would, but unfortunately, I don't know the language. :( If a translator is willing to translate, I will add it to the next version and credit them.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: waruna on February 28, 2010, 12:51:28 AM
Hello Mr. Ha², do you mean the receiver will gain the same amount of reputation as their sender?

For example if someone who already have 100 reputation (1 reputation point), then when he's adding a reputation to someone else, the receiver will gain 100 reputation as well? Thanks.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: .Crazy.Face. on February 28, 2010, 02:16:54 AM
I've downloaded this mod to every one of my forums! I love it! Keep up the good work.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: waruna on February 28, 2010, 10:45:09 AM
Guys., really need help..  Basically, if we give a reputation to someone, he/she will gain 1 reputation right?

But in my forum, if I have 10 reputation (not the reputation point) and I add a reputation to one of the forum members, the receiver will also get 10 reputation. Imagine if I have 1000 reputation, then I give a reputation to a new registered member, the newbie will drastically gained 1000 point also.

How to set only 1 reputation will be gained for each 1 reputation given?

Thanks in advance.


This is my reputation setting in admin panel :
Quote
Set the minimum posts needed to modify reputation: 0
Set wait time in hours: 0.5
Restrict administrators to wait time: Checked

Points per post: 0
Poinits per thread: 0
Users gain 1 power for every __ points? : 1
Users gain 1 bar image for every __ points? : 100
New member: 1
Birthday member: 0
How many times a day can a person give reputation?: 20
How many people does a user have to give reputation to before they can repeat a person?: 3
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: waruna on March 04, 2010, 01:47:21 AM
Anyone? :(
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Leemy on March 04, 2010, 10:59:53 PM
Are you able to use this as a Positive reputation-only? In standard 2.0 karma, you can set the smite string to "" and therefore people can only give positive karma.  Is there the same thing here???
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: waruna on March 05, 2010, 07:14:42 AM
I found that's quite unfair when a new registered member with 1 reputation making a informative post suddenly listed as number 1 top reputation, leading his/her giver.

For simple explanation :
- member A have 100 reputation, leading the Top 10 Reputation stats.
- member B, just registered a while ago, gained 1 reputation for registering and making a new informative topic.
- member A interested with member B's topic and give him/her a Heart.
- member B gained 101 reputation and already leading the Top 10 Reputation stats (with single post).

So I opened Sources/Karma.php. Can anyone teach me which code to alter so that whoever give reputation to members, the receiver will only get 1 reputation from each giver instead of based on the giver's reputation.  Please. :(  :(

Thanks in advance.  :)
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Nick Whetstone on March 05, 2010, 08:40:23 AM
Quote from: Leemy on March 04, 2010, 10:59:53 PM
Are you able to use this as a Positive reputation-only? In standard 2.0 karma, you can set the smite string to "" and therefore people can only give positive karma.  Is there the same thing here???
Yes, there is negative karma.
Quote from: waruna on March 05, 2010, 07:14:42 AM
I found that's quite unfair when a new registered member with 1 reputation making a informative post suddenly listed as number 1 top reputation, leading his/her giver.

For simple explanation :
- member A have 100 reputation, leading the Top 10 Reputation stats.
- member B, just registered a while ago, gained 1 reputation for registering and making a new informative topic.
- member A interested with member B's topic and give him/her a Heart.
- member B gained 101 reputation and already leading the Top 10 Reputation stats (with single post).

So I opened Sources/Karma.php. Can anyone teach me which code to alter so that whoever give reputation to members, the receiver will only get 1 reputation from each giver instead of based on the giver's reputation.  Please. :(  :(

Thanks in advance.  :)
Sorry for the delay in response. I will look into it for you.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: waruna on March 05, 2010, 09:40:57 AM
Oh. Thank you Mr. Ha². Really need and appreciates your help!.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: numus on March 05, 2010, 03:15:31 PM
I am getting this error on my site
Line: 319
Char: 8
Error: 'aReputation' is undefined
Code: 0
URL: http://www.sdx-developers.comindex.php?topic=49.0

It does this on all pages that show user profiles.. any ideas?
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: waruna on March 06, 2010, 05:57:09 AM
Quote from: numus on March 05, 2010, 03:15:31 PM
I am getting this error on my site
Line: 319
Char: 8
Error: 'aReputation' is undefined
Code: 0
URL: http://www.sdx-developers.comindex.php?topic=49.0

It does this on all pages that show user profiles.. any ideas?

Hmm, mine works flawlessly except I need assistance to readjust the algorithm. I guest you can try reinstall the mod but anyhow wait for the experts is better.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: waruna on March 06, 2010, 02:11:41 PM
Sorry for disturbing Mr. Ha². How's things going? :D
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Nick Whetstone on March 06, 2010, 02:18:27 PM
I will check once I can get access to my test forums later tonight; right now, on a different computer.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: waruna on March 06, 2010, 02:22:45 PM
Quote from: Ha² on March 06, 2010, 02:18:27 PM
I will check once I can get access to my test forums later tonight; right now, on a different computer.

Okay Mr. Ha², thanks a lot for your help!. (http://www.mysembang.net/v10/Smileys/default/notworthy.gif)
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Leemy on March 06, 2010, 02:25:55 PM
Sorry if i missed it but I cant seem to make this positive reputation only0--- how do i disable negative points/comments
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: waruna on March 06, 2010, 02:59:24 PM
Quote from: Leemy on March 06, 2010, 02:25:55 PM
Sorry if i missed it but I cant seem to make this positive reputation only0--- how do i disable negative points/comments

I just do some editing in Themes/Display.template.php. Just hide the input type for disagree value.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Nick Whetstone on March 07, 2010, 11:37:36 AM
Alright, I attached a screenshot of the default settings. In order to lower one's reputation power, adjust the "Users gain 1 power for every __ points?" setting. The default is 100, meaning that for every 100 reputation points, they gain 1 power. By default, everybody has one power; for every power, when you give rep, you give rep points.

So, let's say I have 500 rep points (with the default 100 setting). If I give a user reputation, they will receive 5 points. But, if someone has only 100 points, when they give someone rep, the receiver gains only one point.

I hope that explains it.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Ryoki on March 07, 2010, 02:04:10 PM
As far as i have seen it isn´t possible to use it with german-urf8 yet right?
If not, is it possible for a newbie to translate the files accordingly and then use them? I belive the plain translation won´t be an problem... But probably the scripting/developing (well whatever... don´t know much about it) would be.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: waruna on March 07, 2010, 02:19:57 PM
Okay Mr. Ha². Thanks for the explanation and I totally understand it. ;) But still the reputation is sent based on the giver's reputation.

This is my settings:

Points per post: 0
Points per thread: 0
Users gain 1 power for every __ points?: 1
Users gain 1 bar image for every __ points?: 20
Welcome new members: 1
Birthday members: 0

Based on the settings, users will gain 1 rep power for every 1 rep point right?. How do I edit the sql statement so that each reputation (heart) given will give the receiver only 1 point instead of based on the giver's reputation.

For example let say I have 20 rep power (also 20 rep points according to the settings above) and Mr. Ha² have only 1 rep point/power for registering. Then I click at the heart to give Mr. Ha² a reputation and Mr. Ha² will receive 2 rep point/power (1 for registering, 1 from me), not 21 rep point/power.

I think some editing in Source/Karma.php will do, but I just don't know where to edit.

Sorry for troubling you and thanks for your kindness.   :)
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Nick Whetstone on March 07, 2010, 04:42:45 PM
Quote from: waruna on March 07, 2010, 02:19:57 PM
Okay Mr. Ha². Thanks for the explanation and I totally understand it. ;) But still the reputation is sent based on the giver's reputation.

This is my settings:

Points per post: 0
Points per thread: 0
Users gain 1 power for every __ points?: 1
Users gain 1 bar image for every __ points?: 20
Welcome new members: 1
Birthday members: 0

Based on the settings, users will gain 1 rep power for every 1 rep point right?. How do I edit the sql statement so that each reputation (heart) given will give the receiver only 1 point instead of based on the giver's reputation.

For example let say I have 20 rep power (also 20 rep points according to the settings above) and Mr. Ha² have only 1 rep point/power for registering. Then I click at the heart to give Mr. Ha² a reputation and Mr. Ha² will receive 2 rep point/power (1 for registering, 1 from me), not 21 rep point/power.

I think some editing in Source/Karma.php will do, but I just don't know where to edit.

Sorry for troubling you and thanks for your kindness.   :)
So, to clarify, you would like to remove reputation power from the system, correct?

Quote from: Ryoki on March 07, 2010, 02:04:10 PM
As far as i have seen it isn´t possible to use it with german-urf8 yet right?
If not, is it possible for a newbie to translate the files accordingly and then use them? I belive the plain translation won´t be an problem... But probably the scripting/developing (well whatever... don´t know much about it) would be.

If you know the German language, and let me know the translations, I would love to look into adding it to the default package for you. It really isn't too much work on my part to add it. :)
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Ryoki on March 07, 2010, 05:39:08 PM
Quote from: Ha² on March 07, 2010, 04:42:45 PM
If you know the German language, and let me know the translations, I would love to look into adding it to the default package for you. It really isn't too much work on my part to add it. :)

That sounds great. Then i only need to know what exactly needs to be translated. I have looked into "lang-english-utf8.xml" and that would not be a problem. But for some reasons i doubt that is all... Then there would already be a translation, wouldn´t there?
But well just tell me what to do.  ;D
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: waruna on March 08, 2010, 12:23:41 AM
Quote from: Ha² on March 07, 2010, 04:42:45 PM
Quote from: waruna on March 07, 2010, 02:19:57 PM
Okay Mr. Ha². Thanks for the explanation and I totally understand it. ;) But still the reputation is sent based on the giver's reputation.

This is my settings:

Points per post: 0
Points per thread: 0
Users gain 1 power for every __ points?: 1
Users gain 1 bar image for every __ points?: 20
Welcome new members: 1
Birthday members: 0

Based on the settings, users will gain 1 rep power for every 1 rep point right?. How do I edit the sql statement so that each reputation (heart) given will give the receiver only 1 point instead of based on the giver's reputation.

For example let say I have 20 rep power (also 20 rep points according to the settings above) and Mr. Ha² have only 1 rep point/power for registering. Then I click at the heart to give Mr. Ha² a reputation and Mr. Ha² will receive 2 rep point/power (1 for registering, 1 from me), not 21 rep point/power.

I think some editing in Source/Karma.php will do, but I just don't know where to edit.

Sorry for troubling you and thanks for your kindness.   :)

So, to clarify, you would like to remove reputation power from the system, correct?

I wish I could continue using this mod, but with some help to change the way the reputation given. But if that is illegal / against your copyright, I don't have a choice but to remove this mod  :-[
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Nick Whetstone on March 08, 2010, 12:33:44 AM
Quote from: waruna on March 08, 2010, 12:23:41 AM
Quote from: Ha² on March 07, 2010, 04:42:45 PM
Quote from: waruna on March 07, 2010, 02:19:57 PM
Okay Mr. Ha². Thanks for the explanation and I totally understand it. ;) But still the reputation is sent based on the giver's reputation.

This is my settings:

Points per post: 0
Points per thread: 0
Users gain 1 power for every __ points?: 1
Users gain 1 bar image for every __ points?: 20
Welcome new members: 1
Birthday members: 0

Based on the settings, users will gain 1 rep power for every 1 rep point right?. How do I edit the sql statement so that each reputation (heart) given will give the receiver only 1 point instead of based on the giver's reputation.

For example let say I have 20 rep power (also 20 rep points according to the settings above) and Mr. Ha² have only 1 rep point/power for registering. Then I click at the heart to give Mr. Ha² a reputation and Mr. Ha² will receive 2 rep point/power (1 for registering, 1 from me), not 21 rep point/power.

I think some editing in Source/Karma.php will do, but I just don't know where to edit.

Sorry for troubling you and thanks for your kindness.   :)

So, to clarify, you would like to remove reputation power from the system, correct?

I wish I could continue using this mod, but with some help to change the way the reputation given. But if that is illegal / against your copyright, I don't have a choice but to remove this mod  :-[
It's not illegal to edit the Mod at all. I'm just wondering if your goal is to remove reputation power altogether and instead make everyone's power set to one.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: waruna on March 08, 2010, 01:02:00 AM
Quote from: Ha² on March 08, 2010, 12:33:44 AM
It's not illegal to edit the Mod at all. I'm just wondering if your goal is to remove reputation power altogether and instead make everyone's power set to one.

Yes Mr. Ha², that's what I need. I just want each reputation sent will give only 1 point to the receiver, not based on the giver's point.
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Fustrate on March 08, 2010, 03:00:28 AM
Psst, Ha², instruct her to edit $power in Karma.php
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: waruna on March 08, 2010, 04:57:09 AM
Quote from: Fustrate on March 08, 2010, 03:00:28 AM
Psst, Ha², instruct her to edit $power in Karma.php

Psst Mr. Fustrate, thanks for the response. So I must edit the $power thing in Karma.php. I'm totally blank to understand the code.  ???
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Fustrate on March 08, 2010, 11:52:12 AM
find this line in /Sources/Karma.php
$power = (int) (($power > 0) ? $power : 0);
and change it to
$power = 1;

that's assuming the line hasn't changed since I first wrote it :P
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Nick Whetstone on March 08, 2010, 11:57:46 AM
It hasn't changed; thanks Fustrate. Really, all that's changed so far is one edit in the XML and the uninstall.php database queries.
Sorry I didn't reply to this earlier, waruna. I've got a migraine, so I don't want to give any bad support. :P
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: waruna on March 08, 2010, 12:39:29 PM
Quote from: Fustrate on March 08, 2010, 11:52:12 AM
find this line in /Sources/Karma.php
$power = (int) (($power > 0) ? $power : 0);
and change it to
$power = 1;

that's assuming the line hasn't changed since I first wrote it :P

Thanks Fustrate. I changed the code but still the point given based on the giver's point. May I attach Karma.php here for your further look?
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: waruna on March 08, 2010, 12:41:37 PM
Quote from: Ha² on March 08, 2010, 11:57:46 AM
It hasn't changed; thanks Fustrate. Really, all that's changed so far is one edit in the XML and the uninstall.php database queries.
Sorry I didn't reply to this earlier, waruna. I've got a migraine, so I don't want to give any bad support. :P

It's ok, Mr. Ha². You just give a great support to me. I'm the one who troubling you guys. Many thanks for your help. :D
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Fustrate on March 08, 2010, 01:47:21 PM
Ah, forgot about Xml.php

Do the same edit in /Sources/Xml.php
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: waruna on March 08, 2010, 02:01:34 PM
Quote from: Fustrate on March 08, 2010, 01:47:21 PM
Ah, forgot about Xml.php

Do the same edit in /Sources/Xml.php

Dear Mr. Fustrate & Mr. Ha², many thanks for your indispensable and greatly appreciated support. At last it works!.

Thank you, thank you, thank you. (http://www.mysembang.net/v10/Smileys/default/notworthy.gif) (http://www.mysembang.net/v10/Smileys/default/notworthy.gif) (http://www.mysembang.net/v10/Smileys/default/notworthy.gif)
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: Nick Whetstone on March 08, 2010, 07:15:48 PM
Thanks for helping while I was sick, Fustrate.




Package updated to install cleanly on 2.0 RC3! :D
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: pointalk on March 08, 2010, 08:29:44 PM
Hi, Ha2. Can you give a great support to me.

Quote from: Ha² on February 15, 2010, 10:53:18 AM
Quote from: pointalk on February 15, 2010, 06:40:09 AM
Hi, Ha2

Now, times a day can a person give reputation is set to all members.

But I want this feature"Person belong to different Membergroups can set different times a day can a person give reputation."
Can you do a custom fix for my forum?
QuoteINSERT INTO `smf_membergroups`
   (`ID_GROUP`, `groupName`, `onlineColor`, `minPosts`, `maxMessages`, `stars`)
VALUES (1, 'Administrator', '#FF0000', -1, 0, '5#staradmin.gif'),
   (2, 'Global Moderator', '#DF9006', -1, 0, '5#stargmod.gif'),
   (3, 'Moderator', '#0061D6', -1, 0, '5#starmod.gif'),
   (4, 'Primary Member', '', 0, 0, ''),
   (5, 'Regular Member', '', 5, 0, ''),
   (6, 'Senior Member', '', 20, 0, ''),
   (9, 'Bronze Member', '#9EDF06', -1, 0, '2#star.gif'),
   (11, 'Silver Member', '#B6B7B6', -1, 0, '3#star.gif'),
   (12, 'Gold Member', '#DDDF06', -1, 0, '4#star.gif'),
   (13, 'Diamond Member', '#0061D6', -1, 0, '5#star.gif'),
   (14, 'Eclass Member', '#000006', -1, 0, '1#star.gif');


That's a nice feature idea. I'll look into adding it to the system for you. :)
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Nick Whetstone on March 08, 2010, 09:20:44 PM
Quote from: pointalk on March 08, 2010, 08:29:44 PM
Hi, Ha2. Can you give a great support to me.

Quote from: Ha² on February 15, 2010, 10:53:18 AM
Quote from: pointalk on February 15, 2010, 06:40:09 AM
Hi, Ha2

Now, times a day can a person give reputation is set to all members.

But I want this feature"Person belong to different Membergroups can set different times a day can a person give reputation."
Can you do a custom fix for my forum?
QuoteINSERT INTO `smf_membergroups`
   (`ID_GROUP`, `groupName`, `onlineColor`, `minPosts`, `maxMessages`, `stars`)
VALUES (1, 'Administrator', '#FF0000', -1, 0, '5#staradmin.gif'),
   (2, 'Global Moderator', '#DF9006', -1, 0, '5#stargmod.gif'),
   (3, 'Moderator', '#0061D6', -1, 0, '5#starmod.gif'),
   (4, 'Primary Member', '', 0, 0, ''),
   (5, 'Regular Member', '', 5, 0, ''),
   (6, 'Senior Member', '', 20, 0, ''),
   (9, 'Bronze Member', '#9EDF06', -1, 0, '2#star.gif'),
   (11, 'Silver Member', '#B6B7B6', -1, 0, '3#star.gif'),
   (12, 'Gold Member', '#DDDF06', -1, 0, '4#star.gif'),
   (13, 'Diamond Member', '#0061D6', -1, 0, '5#star.gif'),
   (14, 'Eclass Member', '#000006', -1, 0, '1#star.gif');


That's a nice feature idea. I'll look into adding it to the system for you. :)


What version of SMF are you using? It is a planned feature of Advanced Reputation 2.0.



With the above, I'd like to note that new Advanced Reputation System 1.x releases are for bug fixes and new SMF version compatibility, now. I'm still thinking up ideas to include for 2.0, but the one above is definitely one of them. So far, these are the only ideas:
1) Per-membergroup reputation limit
2) Toggle Reputation power on/off
3) Admin options for setting how reputation is displayed in topic view

If you have other ideas, please post them.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: pointalk on March 08, 2010, 09:35:14 PM
QuoteWhat version of SMF are you using? It is a planned feature of Advanced Reputation 2.0.

smf1.1.11
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: rahlzel on March 09, 2010, 12:25:56 AM
Howdy! New user here.

1st - LOVE this modification. I've been hunting down something just like this, and you've done an awesome job with it. Because of the customization allowed, I've been able to modify it into a "leveling" system. Instead of the phrases like "is awe-inspiring!", I use "Level 1", "Level 2", etc.

I've done a bit of searching, and I can't seem to find an easy way to manually edit points or power. I noticed the GiveReputation.php, along with the phpMyAdmin execution, but those only seem to add points. Is there a way to manually give "that" person a specific number of points/power? I need to go backwards. A lot.

Using GiveReputation.php, I accidentally gave myself too many points (1,531 to be exact) and I seem to have run into a bug. My profile shows 1,531, but the number below my Avatar in the thread view only shows 153 - it cuts off the last digit. I'd post a link to my profile and thread, but apparently I'm not allowed as a newbie.

Hopefully we can help each other. Let me know how to edit a number manually and maybe I just hooked you up with an accurate bug report. I'll subscribe to this thread so I'll know instantly if you have any questions for me.

Thanks again!

EDIT: Nevermind. I found a way to alter it using the Forum Profile settings, and it seems this also explains the missing digit (divisible by 10).

I don't suppose I could alter this into a feature request to make it a little simpler to access/modify the number? There's a "Reputation" page in the user profile. How about there? New users of SMF (such as myself) might be having similar trouble finding the important stuff.

Also, how about adding a feature that adds rep to a user each time their attachment is downloaded? It will make a forum that's geared around useful attachments even more epic. That'd be pretty awesome, and it's something else I'm looking for.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: arifwicaksono on March 09, 2010, 12:45:30 AM
dear, Mr. Ha2

my name is arifwicaksono, i'm using smf ver. 1.11 and after installing Advanced Reputation System on my site, i found (maybe) that it's not working properly, it showing the reputation level but when adding other reputation, it's not change anything, so i remove this mod and enable the default karma system.

but now i found this error  when clicking adding karma other user

QuoteFatal error: Cannot redeclare modifykarma() (previously declared in /home/b4k4b0n/public_html/satutigapuluh.info/forum/Sources/Karma.php:203) in /home/b4k4b0n/public_html/satutigapuluh.info/forum/Sources/Karma.php on line 687

i need help to fix this, i really want to install Advanced Reputation System, but i'm afraid it will make other error to my site, any suggestion mr. Ha2 ?

thank u very much, i'm sorry for my bad english
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Titanio Verde on March 09, 2010, 02:03:33 PM
Hum! I just installed it in an updated 1.1.11. I had to include myself the Spanish translations, because my forum is in Spanish_es, and not Latin. A tiny trouble.

When I vote for some user at a topic, it adds 3 points, as desired. But when I vote for a post/message, instead of adding 1 point, it adds hundreds of points.
And there was another error related with the position of the Reputation form, but I just fixed it. CSS fault in a custom theme.

So, why hundreds?
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Nick Whetstone on March 09, 2010, 02:08:56 PM
Quote from: arifwicaksono on March 09, 2010, 12:45:30 AM
dear, Mr. Ha2

my name is arifwicaksono, i'm using smf ver. 1.11 and after installing Advanced Reputation System on my site, i found (maybe) that it's not working properly, it showing the reputation level but when adding other reputation, it's not change anything, so i remove this mod and enable the default karma system.

but now i found this error  when clicking adding karma other user

QuoteFatal error: Cannot redeclare modifykarma() (previously declared in /home/b4k4b0n/public_html/satutigapuluh.info/forum/Sources/Karma.php:203) in /home/b4k4b0n/public_html/satutigapuluh.info/forum/Sources/Karma.php on line 687

i need help to fix this, i really want to install Advanced Reputation System, but i'm afraid it will make other error to my site, any suggestion mr. Ha2 ?

thank u very much, i'm sorry for my bad english
Please attach your Karma.php file.
Quote from: Titanio Verde on March 09, 2010, 02:03:33 PM
Hum! I just installed it in an updated 1.1.11. I had to include myself the Spanish translations, because my forum is in Spanish_es, and not Latin. A tiny trouble.

When I vote for some user at a topic, it adds 3 points, as desired. But when I vote for a post/message, instead of adding 1 point, it adds hundreds of points.
And there was another error related with the position of the Reputation form, but I just fixed it. CSS fault in a custom theme.

So, why hundreds?
I apologize for the inconvenience about translations; I speak only English fluently, so I cannot expand the languages myself.


Do you get any errors in your error log? Did the Mod install successfully (without errors)? Has it always happened since you installed the Mod, or did it start just recently? Do you have any other karma-related Mods installed?

Also, I apologize the rep system caused a CSS bug in your custom theme; it does add a good amount of CSS, so it really isn't too surprising.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Titanio Verde on March 09, 2010, 02:48:44 PM
Oh, wait, I went one page before, and learnt about that "Reputation power" formula. At first glance, I though this mod would only modify numbers 1 per 1. I guess you should warn about Reputation Power formula in the description.

I fixed it myself and now it works perfectly. So no more worries. Thank you for the mod!
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: arifwicaksono on March 09, 2010, 09:45:58 PM
attached my karma.php , thank you very much for your help.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Nick Whetstone on March 09, 2010, 10:52:12 PM
Try replacing that with the file I attached.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: arifwicaksono on March 09, 2010, 11:47:56 PM
it work well now mr. Ha2, thank you very much

but another i found another problem, there are two heart symbol for add other reputation, screen shot below

(http://i44.tinypic.com/mh7v3t.jpg)

how do i fix this mr. Ha2 ?
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: arifwicaksono on March 11, 2010, 03:08:56 AM
Dear Mr. Ha2,
i just realize that my site have an error when a user open their profile page, i got this


Fatal error: Cannot redeclare template_reputation() (previously declared in /home/b4k4b0n/public_html/satutigapuluh.info/forum/Sources/Load.php(1794) : eval()'d code:2279) in /home/b4k4b0n/public_html/satutigapuluh.info/forum/Sources/Load.php(1794) : eval()'d code on line 2471


attached my Load.php

very appriciate your help. thank you very much


Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Nick Whetstone on March 11, 2010, 08:41:40 AM
It seems that your reputation system was installed twice for some reason. Will you please attach your Profile.template.php and Display.template.php instead? Thanks.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: arifwicaksono on March 11, 2010, 09:36:26 PM
my bad, i have installed your mod twice. attached my Profile.template.php and Display.template.php like you said.

i'm very appreciate your help, thank you very much
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Nick Whetstone on March 11, 2010, 10:03:38 PM
Try the attached files, instead. :)
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: arifwicaksono on March 12, 2010, 02:05:27 AM
every thing works well now sir, thank you very much for helping me.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: LC on March 12, 2010, 08:25:50 PM
I have to mention once again an issue (I posted something in this thread a while ago about an error popping up in the error log with guests accessing the reputation files and entering in gibberish like "uid" and such.)  and that this was getting on my last nerve. So I kept banning these IP's that would attempt to access the files.

204.124.182.252         Today at 06:45:19 PM   
204.124.182.252         Today at 06:45:19 PM   
78.26.179.125         Today at 05:36:59 PM   
204.124.182.252         Today at 12:34:47 AM   
204.124.182.252         Today at 12:34:47 AM   
78.26.179.125         March 11, 2010, 07:06:21 PM   
204.124.182.252         March 11, 2010, 06:50:28 PM   
204.124.182.252         March 11, 2010, 06:50:28 PM   
78.26.179.5         March 11, 2010, 02:55:56 PM   
78.26.179.5         March 11, 2010, 02:54:35 PM   
188.92.76.135         March 11, 2010, 10:48:41 AM   
78.26.179.125         March 11, 2010, 06:59:06 AM   
78.26.179.125         March 11, 2010, 06:59:05 AM   

These are repeat IP offenders. The log is much longer then that, but these are the IP's that I just wanted to strangle. lol
It stopped of course once I uninstalled this mod. (How ironic, eh?)

Just wanted to give a heads up to those who are experiencing the same issue. Either ban the IP's or if your like me and dislike dealing with errors from idiots who try to get into the rep system, uninstall this mod.

Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: pointalk on March 13, 2010, 07:28:08 PM
Quote
What version of SMF are you using? It is a planned feature of Advanced Reputation 2.0.



With the above, I'd like to note that new Advanced Reputation System 1.x releases are for bug fixes and new SMF version compatibility, now. I'm still thinking up ideas to include for 2.0, but the one above is definitely one of them. So far, these are the only ideas:
1) Per-membergroup reputation limit
2) Toggle Reputation power on/off
3) Admin options for setting how reputation is displayed in topic view

If you have other ideas, please post them.

Please also for SMF1.1.*
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Ryoki on March 13, 2010, 09:25:21 PM
Hi Mr. Ha²

Well since I didnt received an answer to my question what exactly needs to be translated, I relied on my luck and translated everything that made sense to me in the lang-english-utf8.xml to German.
I wonder if it correct and if you need the other version as well.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: danisk on March 13, 2010, 09:34:17 PM
Good evening, excuse my English is very bad xD

Ha² He wanted to know why the Spanish translation of this mod for version 2.0 RC3 does not work, I only appear in English or in Russian (I think it's Russian)


If you have any response because I appreciate that this happens
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Nick Whetstone on March 13, 2010, 10:47:30 PM
Quote from: pointalk on March 13, 2010, 07:28:08 PM
Quote
What version of SMF are you using? It is a planned feature of Advanced Reputation 2.0.



With the above, I'd like to note that new Advanced Reputation System 1.x releases are for bug fixes and new SMF version compatibility, now. I'm still thinking up ideas to include for 2.0, but the one above is definitely one of them. So far, these are the only ideas:
1) Per-membergroup reputation limit
2) Toggle Reputation power on/off
3) Admin options for setting how reputation is displayed in topic view

If you have other ideas, please post them.

Please also for SMF1.1.*
Unless SMF2.0 is golded by then, I plan to add features to the Rep System for 1.1.x, too.
Quote from: Ryoki on March 13, 2010, 09:25:21 PM
Hi Mr. Ha²

Well since I didnt received an answer to my question what exactly needs to be translated, I relied on my luck and translated everything that made sense to me in the lang-english-utf8.xml to German.
I wonder if it correct and if you need the other version as well.
I apologize for not getting back to you; it's been a crazy week, and I've been sick for a lot of it. It looks like the translations were made, and I appreciate it. :)
Quote from: danisk on March 13, 2010, 09:34:17 PM
Good evening, excuse my English is very bad xD

Ha² He wanted to know why the Spanish translation of this mod for version 2.0 RC3 does not work, I only appear in English or in Russian (I think it's Russian)


If you have any response because I appreciate that this happens

Do you mind me asking who "he" is? Did he post on this thread, or is it somebody else? If they haven't, will you please ask them to post here and let me know their exact problem? Thank you. :)
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Ryoki on March 14, 2010, 07:54:10 AM
Quote from: Ha² on March 13, 2010, 10:47:30 PM
I apologize for not getting back to you; it's been a crazy week, and I've been sick for a lot of it. It looks like the translations were made, and I appreciate it. :)

No problem, I just hope you will get better very soon.
Till then I am looking forward to the German version. :-)

But before that i have to bother you once again.
I changed the language of my board to English just to check if the mod will work. Well it does, but instead of showing the Add Repuation Button, the textlink appears. Furthermore the bar image does not show up.
Im using ModernDark64 as my theme... It should work, since it is a curved one. (I think)
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: adbrad on March 14, 2010, 08:44:30 AM
you just need to add the images to the themes images folder.
when you installed did you click to install in other themes
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Ryoki on March 14, 2010, 09:18:01 AM
Quote from: adbrad on March 14, 2010, 08:44:30 AM
you just need to add the images to the themes images folder.
when you installed did you click to install in other themes

Yes i did, but ich checked it and those images do not show up. I will try to install them manually. Thanks for you help :-)

Edit: Really thanks a lot. Now it works fine.  :D
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Robin1989 on March 14, 2010, 10:00:47 PM
hey i was wondering if there is any particular reason why in the install edit where you change this



mem.openid_uri, mem.birthdate, mem.icq, mem.aim, mem.yim, mem.msn, mem.posts, mem.last_login, mem.karma_good,


to this



mem.birthdate, mem.icq, mem.aim, mem.yim, mem.msn, mem.posts, mem.last_login, mem.karma_good, mem.karma_disabled,


you remove this part to do with openid and wondered if it was possible to leave that part in
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Nick Whetstone on March 14, 2010, 10:06:38 PM
That's odd; I will fix that tomorrow morning. Thank you for pointing that out, and you can change that to:


mem.openid_uri, mem.birthdate, mem.icq, mem.aim, mem.yim, mem.msn, mem.posts, mem.last_login, mem.karma_good, mem.karma_disabled,

manually if you want.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: aloysius on March 16, 2010, 08:19:04 AM
Hi Ha2
          Hi I had install Advances Reputation for SMF 1.1.11. After installation, I cant Add or Zap anyone at all. And it does not show any picture that was been mention by default. It only show the previous add or zap in wording and when i press it. It show the following message; An Error Has Occurred! Session verification failed. Please try logging out and back in again, and then try again.
          Pls help me cause i really like this Advance Reputation for my Forum! Pls Help! Thanks a lot
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Nick Whetstone on March 16, 2010, 08:53:02 AM
Quote from: aloysius on March 16, 2010, 08:19:04 AM
Hi Ha2
          Hi I had install Advances Reputation for SMF 1.1.11. After installation, I cant Add or Zap anyone at all. And it does not show any picture that was been mention by default. It only show the previous add or zap in wording and when i press it. It show the following message; An Error Has Occurred! Session verification failed. Please try logging out and back in again, and then try again.
          Pls help me cause i really like this Advance Reputation for my Forum! Pls Help! Thanks a lot

Sounds like some of the edits were not made... did you make sure to click the "Install" link on the Mod on the package manager? Did any tests fail on installation? Are you on a custom theme? Also, when you go here, does the heart icon show:
http://yourdomain.com/locationofsmf/Themes/default/images/karma.gif
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: DavidF on March 16, 2010, 08:22:40 PM
Hello,

I am wanting to install this System on my Forums, how ever I will need to manually install this on a custom theme, since zlib is not supported. I am not sure what to do since the "Parse" for 1.1.11 says its not compatible, but reading up it appears it is? Can anyone assist me, I would prefer a faster way of Assistance, either PM and then MSN or Yahoo, since I will need assistance finding the file, replacing it, and such like that.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: aloysius on March 17, 2010, 02:55:26 PM
Quote from: Ha² on March 16, 2010, 08:53:02 AM
Quote from: aloysius on March 16, 2010, 08:19:04 AM
Hi Ha2
          Hi I had install Advances Reputation for SMF 1.1.11. After installation, I cant Add or Zap anyone at all. And it does not show any picture that was been mention by default. It only show the previous add or zap in wording and when i press it. It show the following message; An Error Has Occurred! Session verification failed. Please try logging out and back in again, and then try again.
          Pls help me cause i really like this Advance Reputation for my Forum! Pls Help! Thanks a lot

Sounds like some of the edits were not made... did you make sure to click the "Install" link on the Mod on the package manager? Did any tests fail on installation? Are you on a custom theme? Also, when you go here, does the heart icon show:
http://yourdomain.com/locationofsmf/Themes/default/images/karma.gif

Hi! I thanks you for the reply! Problem solve by web hosting company who i register with. Thanks for this wonderful application. Makes my forum more standard!
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: kizer on March 17, 2010, 07:04:30 PM
I noticed something kinda odd today. I'm the only one so far that has made the 100 posts threshold and currently has 1 power point.

I looked at the stats on the front page and I had 3 members with the worst rep. I checked their profiles and none of them even had anything submitted via another member. I checked their forum profile and it said [applaud] -1 one said [applaud] -2 and the other said [applaud] -3.

If nobody else has power points then how did they go negative since I'm the only one. Ah, I'm guessing that maybe one or more of their posts where deleted, which resulted in a point loss. We have a habit of deleting old posts in the 4Sale Section and I'm guessing that's what probably made their numbers go down.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Ryoki on March 19, 2010, 02:00:02 PM
Hoi Mr. Ha²

i am very sorry to bother you again, but may i ask when do you intend to add my translation to this mod?
I am looking forward to use this for my forum. If you are too busy to do it can´t you just give me a link to a guide or tutorial how to add the translation to the mod?
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Nick Whetstone on March 19, 2010, 11:26:03 PM
Quote from: Ryoki on March 19, 2010, 02:00:02 PM
Hoi Mr. Ha²

i am very sorry to bother you again, but may i ask when do you intend to add my translation to this mod?
I am looking forward to use this for my forum. If you are too busy to do it can´t you just give me a link to a guide or tutorial how to add the translation to the mod?
It has been added to the package. I was out of state today, so I apologize for the late reply.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Ryoki on March 20, 2010, 05:41:20 AM
Quote from: Ha² on March 19, 2010, 11:26:03 PM
It has been added to the package. I was out of state today, so I apologize for the late reply.

Nevermind. I appreaciate your work.

But it seems like there is a problem with the new package. I can not install it with the package manager. It says it is damaged or not compatible with my my forum (i am using RC3)
Can it be, that i have made a mistake in the translation file?
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: FlyBoyUnder on March 20, 2010, 07:02:52 AM
Does that mod works on this theme?

www.rpgmakerportugal.com/comunidade
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Aoife on March 20, 2010, 09:27:46 AM
Quote from: Ryoki on March 20, 2010, 05:41:20 AM

But it seems like there is a problem with the new package. I can not install it with the package manager. It says it is damaged or not compatible with my my forum (i am using RC3)
Can it be, that i have made a mistake in the translation file?


Same here. Using RC3 and it tells me it's corrupted or incompatible with my current version.

Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Nick Whetstone on March 20, 2010, 10:16:05 AM
meh, I had a typo that didn't let it install for some reason; the update only includes the German language.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Aoife on March 20, 2010, 11:59:24 AM

now i'm getting Test failed on the /languages/*.english-utf8.php files when i try the install.

Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Ryoki on March 20, 2010, 01:40:39 PM
Quote from: aoife on March 20, 2010, 11:59:24 AM

now i'm getting Test failed on the /languages/*.english-utf8.php files when i try the install.



Same here and the German version still don´t work. Well it wont even show up in the list of modification while installing.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: waruna on March 21, 2010, 06:07:14 AM
Sorry for interrupting. I just realize that Administrator also have to wait xx times before can give next reputation? I already checked at the 'Restrict administrators to wait time' option. Is there something I missed?

Thanks in advance guys. :)
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: rahlzel on March 22, 2010, 09:25:27 PM
Absolutely love this mod. Keep adding awesome features!

Only have one issue that might not be fixable - after installing a new theme (SilentWave) the heart icon disappeared. I tried uninstalling, then reinstalling with the theme checked under "Install in Other Themes", but I'm only getting the phrase "Add Reputation". Is there a way I can bring the heart icon back, or even change the icon? I suspect the theme might be interfering with this, which is a pity  :-\
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: adbrad on March 23, 2010, 05:02:16 AM
you may need to manually add the images to your themes images file
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: waruna on March 23, 2010, 10:14:28 AM
Quote from: waruna on March 21, 2010, 06:07:14 AM
Sorry for interrupting. I just realize that Administrator also have to wait xx times before can give next reputation? I already checked at the 'Restrict administrators to wait time' option. Is there something I missed?

Thanks in advance guys. :)

Anyone? Thanks  :).
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: rahlzel on March 23, 2010, 10:52:52 AM
Quote from: adbrad on March 23, 2010, 05:02:16 AM
you may need to manually add the images to your themes images file

This worked! Thanks!
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: KensonPlays on March 23, 2010, 10:58:19 AM
Quote from: aljo1985 on February 11, 2010, 11:44:04 PM
kk another problem...

I installed the mods.. selected the option to install for other Themes I am curently using the Raven Theme..

And in posts the reputation bar is showing as error.. so the image doesnt exist here is where its asking for.<SNIP>
Yes, installs, but broken image image appears! Raven theme, I don't know about other themes...
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Nick Whetstone on March 23, 2010, 11:06:39 AM
Quote from: Kcmartz on March 23, 2010, 10:58:19 AM
Quote from: aljo1985 on February 11, 2010, 11:44:04 PM
kk another problem...

I installed the mods.. selected the option to install for other Themes I am curently using the Raven Theme..

And in posts the reputation bar is showing as error.. so the image doesnt exist here is where its asking for.<SNIP>
Yes, installs, but broken image image appears! Raven theme, I don't know about other themes...

Did you read the rest of his post and do what he did to fix it?

@waruna: That option is for whether or not to restrict the Admins to the wait time, not to make it to where the Admins do not have to "spread it around" before they give to the same person again. Unless I'm misunderstanding you?

@people with trouble installing the Mod: That's weird since the new package installed fine on my test forum, but now it's not working for me either... I'll work on it.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: waruna on March 23, 2010, 02:05:41 PM
Quote from: Ha² on March 23, 2010, 11:06:39 AM
@waruna: That option is for whether or not to restrict the Admins to the wait time, not to make it to where the Admins do not have to "spread it around" before they give to the same person again. Unless I'm misunderstanding you?

No Sir, Admin must 'spread the love' too, I understand that, thanks  ;). But the problem is when I tick the ''Restrict administrators to wait time' checkbox, like no effect at all. They (Administrators) have to wait for xx hours as well, same as regular members.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Ryoki on March 24, 2010, 03:36:27 PM
Hi Ha²

i dont know if it just a coincidence, but i somehow solved the problem with the installer. Well not all of it, but now it works fine, though i got some errors while installing with the language package (german).

I simly changed the package-info.xml. There it says:    <install for="2.0 RC2">
... I just turned the 2 to a three...  <install for="2.0 RC3"> and then it worked.

I hope i could help and safe you some time.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: wedost.com on April 04, 2010, 04:53:32 PM
I am getting this error:

Can't DROP 'karma_disabled'; check that column/key exists
File: /home/xx/public_html/forum/Packages/temp/uninstall.php
Line: 29

Please help me what to do?

I am not able to read any post of my forum website  http://forum.wedost.com/

Thank You.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: wedost.com on April 04, 2010, 05:55:34 PM
I have also installed this mod twice. Please help me.
I am getting this error while opening my users profile:

Fatal error: Cannot redeclare reputation() (previously declared in /home/xx/public_html/forum/Sources/Profile.php:3401) in /home/xx/public_html/forum/Sources/Profile.php on line 3645

Thank You.

Quote from: Ha² on March 11, 2010, 08:41:40 AM
It seems that your reputation system was installed twice for some reason. Will you please attach your Profile.template.php and Display.template.php instead? Thanks.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: wedost.com on April 05, 2010, 08:33:35 AM
Please help me..I need your help .. Thank You.  See my problem in the previous thread..
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Nick Whetstone on April 05, 2010, 10:11:17 AM
Attach your Profile.php...
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: wedost.com on April 05, 2010, 12:47:14 PM
Thank you for your kind response.. I am attaching the php file

Thanks.

Quote from: Ha² on April 05, 2010, 10:11:17 AM
Attach your Profile.php...
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Bugo on April 05, 2010, 11:38:07 PM
Please update russian translation for ARS 2.x
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: pointalk on April 07, 2010, 07:01:15 PM
Hi, Ha2, Can you do a custom fix for my smf1.11 forum? I am eager for this.


Now, times a day can a person give reputation is set to all members.
But I want this feature"Person belong to different Membergroups can set different times a day can a person give reputation."

QuoteINSERT INTO `smf_membergroups`
   (`ID_GROUP`, `groupName`, `onlineColor`, `minPosts`, `maxMessages`, `stars`)
VALUES (1, 'Administrator', '#FF0000', -1, 0, '5#staradmin.gif'),
   (2, 'Global Moderator', '#DF9006', -1, 0, '5#stargmod.gif'),
   (3, 'Moderator', '#0061D6', -1, 0, '5#starmod.gif'),
   (4, 'Primary Member', '', 0, 0, ''),
   (5, 'Regular Member', '', 5, 0, ''),
   (6, 'Senior Member', '', 20, 0, ''),
   (9, 'Bronze Member', '#9EDF06', -1, 0, '2#star.gif'),
   (11, 'Silver Member', '#B6B7B6', -1, 0, '3#star.gif'),
   (12, 'Gold Member', '#DDDF06', -1, 0, '4#star.gif'),
   (13, 'Diamond Member', '#0061D6', -1, 0, '5#star.gif'),
   (14, 'Eclass Member', '#000006', -1, 0, '1#star.gif');
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: piplexi on April 08, 2010, 05:45:04 PM
I really like this mod, just got it working yesterday.

How does the algorithm works?
It seems my Forum Members can give way too many points. Is it supposed to be like that?
A user with lets say 5000 Points usually gives around 5000 Points when He/she rates a Posting.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: adbrad on April 08, 2010, 06:01:25 PM
rep points are given according to rep power so if you have a rep power of 5 you give or takeaway 5 points
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: piplexi on April 08, 2010, 06:15:39 PM
thanks, my rep was set to 1 (1 point = 1 rep), so everyone had like 5 digit reps.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Dark//Virus on April 15, 2010, 05:09:07 PM
Hi Guys, sorry i didnt search for a Mod Topic, so i have made my own in a support thread, its regarding this mod.

Basically the reputation action i agree/i disagree shows up in a users profile, but it doesnt seem to add or remove any points.

Could you please have a look here for all the info.

http://www.simplemachines.org/community/index.php?topic=376400.0
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: adbrad on April 15, 2010, 06:09:27 PM
this seems to be the problem you have
Reputation Power:
it should say
Reputation Power: 0
did you make the edits to your custom theme
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Dark//Virus on April 15, 2010, 06:30:41 PM
Quote from: adbrad on April 15, 2010, 06:09:27 PM
this seems to be the problem you have
Reputation Power:
it should say
Reputation Power: 0
did you make the edits to your custom theme

yes i did, where is that set?
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: adbrad on April 15, 2010, 06:43:11 PM
can you provide a screen shot of your settings
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: mgrmgr on April 17, 2010, 11:38:14 AM
As a first thing let me say thank you for an excellent modification!!!

Alas I have a problem in our forum

Database Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's Tease')' at line 4
File: /xxx/Sources/Karma.php
Line: 373

Some details: Forum version: 1.1.11
Mod version (according to packet manager) 0.1.2

The mod made the updates from 1.1.9 (IIRC) to 1.1.11 and still works fine.

Oups I nearly forgot: when does the error occur? reproducible whenever the topic contains an apostrophe '. Changing the topic to a version without the apostrophe (Where's -> Where is): error is gone :)

It's just a bit annoying to explain the problem again and again.

Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Achilles. on April 19, 2010, 02:02:22 PM
I saw that this mod is not yet "compatible" on other themes such as "Anecdota", I'm just curious when will it be updated? ;) For SMF 2 RC3. Ty.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: adbrad on April 19, 2010, 04:01:06 PM
the mod is already compatible with RC3 and it will install on any custom theme but you may need to do edits manually if you are using RC3 when installing select to in stall in other themes
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Achilles. on April 20, 2010, 01:25:12 AM
Quote from: adbrad on April 19, 2010, 04:01:06 PM
the mod is already compatible with RC3 and it will install on any custom theme but you may need to do edits manually if you are using RC3 when installing select to in stall in other themes
weird, I already installed it. However when I first installed it it appears to be "TEST PASSED" however, when I uninstalled and installed it again, it went "TEST FAILED" on anecdota theme.

and also, when I uninstalled it: THE REPUTATION POWER below the avatar is still there, permanently.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: frenki on April 21, 2010, 12:05:08 PM
Can anyone tell me is it hard to connect this green reputation power line with karma system, i dont need this full mod, just green line under the karma, lets say 10 karma will give 1 line etc...Can i use this mode or is it full coding ?
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: adbrad on April 21, 2010, 12:45:50 PM
this mod just modifies the karma system and in my opinion is a lot better
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: frenki on April 21, 2010, 03:04:19 PM
Yes, i agree but i dont need pop up box. Just  give/take reputation.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Fustrate on April 21, 2010, 03:25:31 PM
It's definitely possible. You'd just revert the edit it made to the Display template, and change the URLs that the old links link to. I'd elaborate, but I haven't looked at the code in a long time now.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Neverhurry on April 22, 2010, 03:26:40 PM
Hi H2,

I got this error when install in SMF 2.0 rc3 default curve theme.

"*     75.     ./Themes/default/languages/Errors.turkish.php     test failed
      1.    ./Themes/default/languages/Errors.turkish.php    test failed"

what should i do? thanks.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: adbrad on April 22, 2010, 03:34:58 PM
do you use turkish as a language on your forum
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: don0803 on April 23, 2010, 02:06:39 PM
Mod works when it's on default theme, but when i change it on another theme it doesen't work, the gaphical part of the mod (heart for giving reputation and reputation scale) is missing.

When somebody tries to give reputation this error pop's up:

(http://i41.tinypic.com/15qbwgh.png)

I tried with curve and core based themes.

I'm using SMF 1.1.11 and advanced reputation is 0.1.5

Please help.



P.s

Quote
To install this modification in any theme other than Default, please click the box next to "Install in Other Themes" at the bottom of this page and check the applicable themes. This release only works for Curve-based themes. A compatibility pack will be released in the near future.

i don't understeand this part of tutorial.

Thank you.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: adbrad on April 23, 2010, 02:52:23 PM
that only works on 2.0 on the 1.11 versions you need to manually edit your themes files
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: don0803 on April 23, 2010, 03:07:14 PM
What files in themes i must edit?
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: adbrad on April 23, 2010, 03:09:01 PM
any that are present in your theme that the mod edits
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: pointalk on April 24, 2010, 01:01:07 AM
Green point is at I disagree as default.

How to change it to I agree?
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Neverhurry on April 26, 2010, 05:34:52 PM
Quote from: adbrad on April 22, 2010, 03:34:58 PM
do you use turkish as a language on your forum

No, adbrad, i don't use turkish on my forum, so what do you think of my problem, can i just pass it by....  am a little bit afraid of....   :-\
thanks!
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: adbrad on April 26, 2010, 06:00:41 PM
Quote from: Neverhurry on April 22, 2010, 03:26:40 PM
Hi H2,

I got this error when install in SMF 2.0 rc3 default curve theme.

"*     75.     ./Themes/default/languages/Errors.turkish.php     test failed
      1.    ./Themes/default/languages/Errors.turkish.php    test failed"

what should i do? thanks.

if you don't use turkish then the file should not be present so just go ahead and install and hopefully you won't have any issues as it is a language file
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Eudemon on April 26, 2010, 07:50:58 PM
im using custom theme impulse2
the button or image doesn't show, see attach
any idea why?
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Arantor on April 26, 2010, 07:53:47 PM
When you installed the mod did you tell it to install on custom themes? If not, the images won't work.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: adbrad on April 27, 2010, 04:13:59 AM
Quote from: Eudemon369 on April 26, 2010, 07:50:58 PM
im using custom theme impulse2
the button or image doesn't show, see attach
any idea why?
All you need to do is copy the images from the mods package to your custom themes images folder
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Eudemon on April 27, 2010, 01:53:38 PM
thx to the 2 people above, my problem is solved now
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Eudemon on April 29, 2010, 06:24:53 PM
features request:
add a log to keep track of every karma that's been changed, and who changed it
n
put a sign on the post where the karma is been changed, for example right under the information area of the post it show karma is been added by who

thx

PS,there is a mod that does that, but it is not compatible with this one..
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: adbrad on April 30, 2010, 02:54:42 AM
Quote from: Eudemon369 on April 29, 2010, 06:24:53 PM
features request:
add a log to keep track of every karma that's been changed, and who changed it

this is already on there in the individual memers profile.
And i think a log is kept in the database.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Nick Whetstone on April 30, 2010, 09:16:59 AM
Sorry for slacking the last week or so with this... I haven't had (and still don't have) access to my main computer, and therefore my editors and files. Thanks to adbrad, Fustrate, and Arantor for helping out support-wise.

Eudemon, would you care to further explain your second request? Do you mean that if you've already given that person Reputation for that post you want an icon to show up saying so? As it is now, the icon simply disappears. Or do you mean something else?
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Eudemon on April 30, 2010, 10:03:25 AM
Quote from: adbrad on April 30, 2010, 02:54:42 AM
Quote from: Eudemon369 on April 29, 2010, 06:24:53 PM
features request:
add a log to keep track of every karma that's been changed, and who changed it

this is already on there in the individual memers profile.
And i think a log is kept in the database.

it's hard to go to everyone's profile and look for it
a log in maintentance showing who changed who will be helpful
cuz this can prevent member spamming reputations...



Quote from: Ha² on April 30, 2010, 09:16:59 AM
Sorry for slacking the last week or so with this... I haven't had (and still don't have) access to my main computer, and therefore my editors and files. Thanks to adbrad, Fustrate, and Arantor for helping out support-wise.

Eudemon, would you care to further explain your second request? Do you mean that if you've already given that person Reputation for that post you want an icon to show up saying so? As it is now, the icon simply disappears. Or do you mean something else?

for example see attachment,those area, show "who added how many points"or something like that, and also show the comment they typed when adding karma if there's any

also i have another problem with using this mod, when i changed the setting to 1 power is increased when 1 point is being added, but then when member add karma, 2 points are added... n i remember when i changed this to some other number it turned into 4 points...how does this work? :o


n thank you for your replies
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: sict on May 07, 2010, 11:38:22 AM
I got an error

12.   Execute Modification   ./Sources/Load.php   Test failed
   1.   Add After   ./Sources/Load.php   Test successful
   2.   Replace   ./Sources/Load.php   Test successful
   3.   Replace   ./Sources/Load.php   Test failed

I attached my load.php
please help me
thx
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Nick Whetstone on May 07, 2010, 11:49:14 AM
Try opening up your Load.php and finding this:
mem.last_login, mem.karma_good
Replace it with this:
mem.last_login, mem.karma_good, mem.karma_disabled,
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: sict on May 07, 2010, 11:41:07 PM
 thx Ha²
It works :)
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: mgrmgr on May 08, 2010, 03:16:00 PM
Quote from: mgrmgr on April 17, 2010, 11:38:14 AM
As a first thing let me say thank you for an excellent modification!!!

Alas I have a problem in our forum

Database Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's Tease')' at line 4
File: /xxx/Sources/Karma.php
Line: 373

Some details: Forum version: 1.1.11
Mod version (according to packet manager) 0.1.2

The mod made the updates from 1.1.9 (IIRC) to 1.1.11 and still works fine.

Oups I nearly forgot: when does the error occur? reproducible whenever the topic contains an apostrophe '. Changing the topic to a version without the apostrophe (Where's -> Where is): error is gone :)

It's just a bit annoying to explain the problem again and again.

May I push my question up so it does not get forgotten? Thanks
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Confused Too on May 14, 2010, 11:02:32 AM
I have loaded Reputation Mod into one of my forums and run the GiveReputation.php.  All installed easily with no errors.
It works but the ability to Add Reputation is missing and I can't revert back because I ran the GiveReputation.php?

Any Ideas?

SMF 2.0 RC3 with SMF Default Theme - Core

Mods Installed:-
1.   Advanced Reputation System   1.8.1
2.   Google Analytics Code   1.1
3.   Board Notices   1.0.1
4.   Annoy User   1.2
5.   Advanced Footer Mod   1.1
6.   Advanced Recent Posts   1.1
7.   Hide SMF Version   1.0.6
8.   Ad Managment   2.3.6.2
9.   Moderator and Administrator Comment Tags   1.8
10.   Users Online Today   1.5.5
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: adbrad on May 14, 2010, 11:25:30 AM
have you set the permissions to can + rep and can - rep
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Confused Too on May 15, 2010, 10:08:33 AM
I have given the authority to the regular users but as Admin I presume I already get that?
I have also tried Firefox, Safari and Google Chrome but nothing?
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Confused Too on May 15, 2010, 10:14:08 AM
I have also logged in as a regular user and the same....  No ability to add reputation.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: adbrad on May 15, 2010, 12:50:29 PM
have you got the little heart icon
have you enabled the reputation via admin>configuration>core features
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Confused Too on May 15, 2010, 01:32:12 PM
Yes,  I have read the documentation and enabled everything.  I have checked the images are correctly uploaded but still no heart to allow anyone to give reputation.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: adbrad on May 15, 2010, 01:35:12 PM
can you provide a screen shot or forum link
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Confused Too on May 15, 2010, 01:54:47 PM
The forum is private and for people invited only so can't give you access.

The screen shot should be enough to see that there is no ability to give or take reputation.

Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: adbrad on May 15, 2010, 02:25:56 PM
you have no profile icons and such which is where the rep icon would be
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Confused Too on May 15, 2010, 03:10:08 PM
Is there a setting somewhere to display these?
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: hitboy on May 15, 2010, 03:23:22 PM
Is this like vbulletin's rep system?
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: adbrad on May 15, 2010, 05:48:37 PM
Quote from: Confused Too on May 15, 2010, 03:10:08 PM
Is there a setting somewhere to display these?
yes go to admin>configuration>current theme and make sure
Show view profile button under post:
is ticked
Quote from: hitboy on May 15, 2010, 03:23:22 PM
Is this like vbulletin's rep system?
yes very similar to vbs rep system
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: pointalk on May 16, 2010, 01:30:26 AM
QuoteNow, times a day can a person give reputation is set to all members.

But I want this feature"Person belong to different Membergroups can set different times a day can a person give reputation."
Can you do a custom fix for my forum?(Powered by SMF 1.1.11)

Hi, Ha2, when will you add this feature?
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: waruna on May 22, 2010, 09:07:14 AM
Hye guys. Somehow I manage to spot an error today. Username or display name that contain ' symbol can't receive any reputation from other members. The page redirect to an error message 'You are not allowed to administrate this forum'.

Anyone can help?
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: droganto on May 27, 2010, 12:22:08 PM
Installing the Mod gives me an error fail in the Display file. Any help will be appreciate it.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Nick Whetstone on May 27, 2010, 12:25:31 PM
Quote from: droganto on May 27, 2010, 12:22:08 PM
Installing the Mod gives me an error fail in the Display file. Any help will be appreciate it.
Attach that file.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: droganto on May 27, 2010, 12:36:53 PM
Quote from: Ha² on May 27, 2010, 12:25:31 PM
Quote from: droganto on May 27, 2010, 12:22:08 PM
Installing the Mod gives me an error fail in the Display file. Any help will be appreciate it.
Attach that file.

Sorry Im new with the short terms. When you say Attach the file what you mean? Screenshot, downloaded file, the dispplay file?
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: pointalk on May 27, 2010, 08:14:26 PM
Display who give reputation to this post within the post.

Please add this feather in next version.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Sakuradreams on May 27, 2010, 09:31:30 PM
I'm also getting a 'test failed' for Display.php, which I've included. My pre-install looks like this:

Installing this package will perform the following actions:
Type Action Description
1. Execute Code install.php
2. Execute Modification ./index.php Test successful
3. Execute Modification ./Themes/default/Display.template.php Test successful
4. Execute Modification ./Themes/default/PersonalMessage.template.php Test successful
5. Execute Modification ./Themes/default/Profile.template.php Test successful
6. Execute Modification ./Themes/default/Stats.template.php Test successful
7. Execute Modification ./Themes/default/script.js Test successful
8. Execute Modification ./Themes/default/style.css Test successful
9. Execute Modification ./Sources/Admin.php Test successful
10. Execute Modification ./Sources/Display.php Test failed
11. Execute Modification ./Sources/Karma.php Test successful
12. Execute Modification ./Sources/Load.php Test successful
13. Execute Modification ./Sources/ManagePermissions.php Test successful
14. Execute Modification ./Sources/ManageServer.php Test successful
15. Execute Modification ./Sources/ModSettings.php Test successful
16. Execute Modification ./Sources/Post.php Test successful
17. Execute Modification ./Sources/Profile.php Test successful
18. Execute Modification ./Sources/RemoveTopic.php Test successful
19. Execute Modification ./Sources/Stats.php Test successful
20. Execute Modification ./Sources/Subs-Members.php Test successful
21. Execute Modification ./Themes/default/languages/Errors.english.php Test successful
22. Execute Modification ./Themes/default/languages/Help.english.php Test successful
23. Execute Modification ./Themes/default/languages/index.english.php Test successful
24. Execute Modification ./Themes/default/languages/ManagePermissions.english.php Test successful
25. Execute Modification ./Themes/default/languages/ModSettings.english.php Test successful
26. Execute Modification ./Themes/default/languages/Reports.english.php Test successful
27. Execute Modification ./Themes/default/languages/Stats.english.php Test successful
28. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
29. Execute Modification ./Themes/default/languages/Errors.english-utf8.php Skipping file
30. Execute Modification ./Themes/default/languages/Help.english-utf8.php Skipping file
31. Execute Modification ./Themes/default/languages/index.english-utf8.php Skipping file
32. Execute Modification ./Themes/default/languages/ManagePermissions.english-utf8.php Skipping file
33. Execute Modification ./Themes/default/languages/ModSettings.english-utf8.php Skipping file
34. Execute Modification ./Themes/default/languages/Reports.english-utf8.php Skipping file
35. Execute Modification ./Themes/default/languages/Stats.english-utf8.php Skipping file
36. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php Skipping file
37. Execute Modification ./Themes/default/languages/Errors.russian.php Skipping file
38. Execute Modification ./Themes/default/languages/Help.russian.php Skipping file
39. Execute Modification ./Themes/default/languages/index.russian.php Skipping file
40. Execute Modification ./Themes/default/languages/ManagePermissions.russian.php Skipping file
41. Execute Modification ./Themes/default/languages/ModSettings.russian.php Skipping file
42. Execute Modification ./Themes/default/languages/Reports.russian.php Skipping file
43. Execute Modification ./Themes/default/languages/Stats.russian.php Skipping file
44. Execute Modification ./Themes/default/languages/Modifications.russian.php Skipping file
45. Execute Modification ./Themes/default/languages/Errors.russian-utf8.php Skipping file
46. Execute Modification ./Themes/default/languages/Help.russian-utf8.php Skipping file
47. Execute Modification ./Themes/default/languages/index.russian-utf8.php Skipping file
48. Execute Modification ./Themes/default/languages/ManagePermissions.russian-utf8.php Skipping file
49. Execute Modification ./Themes/default/languages/ModSettings.russian-utf8.php Skipping file
50. Execute Modification ./Themes/default/languages/Reports.russian-utf8.php Skipping file
51. Execute Modification ./Themes/default/languages/Stats.russian-utf8.php Skipping file
52. Execute Modification ./Themes/default/languages/Modifications.russian-utf8.php Skipping file
53. Execute Modification ./Themes/default/languages/Errors.spanish_latin.php File not found
54. Execute Modification ./Themes/default/languages/Help.spanish_latin.php File not found
55. Execute Modification ./Themes/default/languages/index.spanish_latin.php File not found
56. Execute Modification ./Themes/default/languages/ManagePermissions.spanish_latin.php File not found
57. Execute Modification ./Themes/default/languages/ModSettings.spanish_latin.php File not found
58. Execute Modification ./Themes/default/languages/Reports.spanish_latin.php File not found
59. Execute Modification ./Themes/default/languages/Stats.spanish_latin.php File not found
60. Execute Modification ./Themes/default/languages/Modifications.spanish_latin.php File not found
61. Execute Modification ./Themes/default/languages/Errors.spanish_latin.php File not found
62. Execute Modification ./Themes/default/languages/Help.spanish_latin.php File not found
63. Execute Modification ./Themes/default/languages/index.spanish_latin.php File not found
64. Execute Modification ./Themes/default/languages/ManagePermissions.spanish_latin.php File not found
65. Execute Modification ./Themes/default/languages/ModSettings.spanish_latin.php File not found
66. Execute Modification ./Themes/default/languages/Reports.spanish_latin.php File not found
67. Execute Modification ./Themes/default/languages/Stats.spanish_latin.php File not found
68. Execute Modification ./Themes/default/languages/Modifications.spanish_latin.php File not found
69. Extract File ./Themes/default/Karma.template.php
70. Extract File ./Themes/default/images/karma.gif
71. Extract File ./Themes/default/images/karmaBad_basic.gif
72. Extract File ./Themes/default/images/karmaGood_basic.gif
73. Extract File ./Themes/default/images/karmaBad_super.gif
74. Extract File ./Themes/default/images/karmaGood_super.gif
75. Extract File ./Themes/default/images/karma_disabled_basic.gif


I'm running on 1.1.11.

Any help appreciated.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: droganto on May 27, 2010, 09:46:30 PM
Well Im runnign 2 rc3, but yes Im getting the same error.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Nick Whetstone on May 27, 2010, 11:00:37 PM
Quote from: Sakuradreams on May 27, 2010, 09:31:30 PM
I'm also getting a 'test failed' for Display.php, which I've included. My pre-install looks like this:

Installing this package will perform the following actions:
Type Action Description
1. Execute Code install.php
2. Execute Modification ./index.php Test successful
3. Execute Modification ./Themes/default/Display.template.php Test successful
4. Execute Modification ./Themes/default/PersonalMessage.template.php Test successful
5. Execute Modification ./Themes/default/Profile.template.php Test successful
6. Execute Modification ./Themes/default/Stats.template.php Test successful
7. Execute Modification ./Themes/default/script.js Test successful
8. Execute Modification ./Themes/default/style.css Test successful
9. Execute Modification ./Sources/Admin.php Test successful
10. Execute Modification ./Sources/Display.php Test failed
11. Execute Modification ./Sources/Karma.php Test successful
12. Execute Modification ./Sources/Load.php Test successful
13. Execute Modification ./Sources/ManagePermissions.php Test successful
14. Execute Modification ./Sources/ManageServer.php Test successful
15. Execute Modification ./Sources/ModSettings.php Test successful
16. Execute Modification ./Sources/Post.php Test successful
17. Execute Modification ./Sources/Profile.php Test successful
18. Execute Modification ./Sources/RemoveTopic.php Test successful
19. Execute Modification ./Sources/Stats.php Test successful
20. Execute Modification ./Sources/Subs-Members.php Test successful
21. Execute Modification ./Themes/default/languages/Errors.english.php Test successful
22. Execute Modification ./Themes/default/languages/Help.english.php Test successful
23. Execute Modification ./Themes/default/languages/index.english.php Test successful
24. Execute Modification ./Themes/default/languages/ManagePermissions.english.php Test successful
25. Execute Modification ./Themes/default/languages/ModSettings.english.php Test successful
26. Execute Modification ./Themes/default/languages/Reports.english.php Test successful
27. Execute Modification ./Themes/default/languages/Stats.english.php Test successful
28. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
29. Execute Modification ./Themes/default/languages/Errors.english-utf8.php Skipping file
30. Execute Modification ./Themes/default/languages/Help.english-utf8.php Skipping file
31. Execute Modification ./Themes/default/languages/index.english-utf8.php Skipping file
32. Execute Modification ./Themes/default/languages/ManagePermissions.english-utf8.php Skipping file
33. Execute Modification ./Themes/default/languages/ModSettings.english-utf8.php Skipping file
34. Execute Modification ./Themes/default/languages/Reports.english-utf8.php Skipping file
35. Execute Modification ./Themes/default/languages/Stats.english-utf8.php Skipping file
36. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php Skipping file
37. Execute Modification ./Themes/default/languages/Errors.russian.php Skipping file
38. Execute Modification ./Themes/default/languages/Help.russian.php Skipping file
39. Execute Modification ./Themes/default/languages/index.russian.php Skipping file
40. Execute Modification ./Themes/default/languages/ManagePermissions.russian.php Skipping file
41. Execute Modification ./Themes/default/languages/ModSettings.russian.php Skipping file
42. Execute Modification ./Themes/default/languages/Reports.russian.php Skipping file
43. Execute Modification ./Themes/default/languages/Stats.russian.php Skipping file
44. Execute Modification ./Themes/default/languages/Modifications.russian.php Skipping file
45. Execute Modification ./Themes/default/languages/Errors.russian-utf8.php Skipping file
46. Execute Modification ./Themes/default/languages/Help.russian-utf8.php Skipping file
47. Execute Modification ./Themes/default/languages/index.russian-utf8.php Skipping file
48. Execute Modification ./Themes/default/languages/ManagePermissions.russian-utf8.php Skipping file
49. Execute Modification ./Themes/default/languages/ModSettings.russian-utf8.php Skipping file
50. Execute Modification ./Themes/default/languages/Reports.russian-utf8.php Skipping file
51. Execute Modification ./Themes/default/languages/Stats.russian-utf8.php Skipping file
52. Execute Modification ./Themes/default/languages/Modifications.russian-utf8.php Skipping file
53. Execute Modification ./Themes/default/languages/Errors.spanish_latin.php File not found
54. Execute Modification ./Themes/default/languages/Help.spanish_latin.php File not found
55. Execute Modification ./Themes/default/languages/index.spanish_latin.php File not found
56. Execute Modification ./Themes/default/languages/ManagePermissions.spanish_latin.php File not found
57. Execute Modification ./Themes/default/languages/ModSettings.spanish_latin.php File not found
58. Execute Modification ./Themes/default/languages/Reports.spanish_latin.php File not found
59. Execute Modification ./Themes/default/languages/Stats.spanish_latin.php File not found
60. Execute Modification ./Themes/default/languages/Modifications.spanish_latin.php File not found
61. Execute Modification ./Themes/default/languages/Errors.spanish_latin.php File not found
62. Execute Modification ./Themes/default/languages/Help.spanish_latin.php File not found
63. Execute Modification ./Themes/default/languages/index.spanish_latin.php File not found
64. Execute Modification ./Themes/default/languages/ManagePermissions.spanish_latin.php File not found
65. Execute Modification ./Themes/default/languages/ModSettings.spanish_latin.php File not found
66. Execute Modification ./Themes/default/languages/Reports.spanish_latin.php File not found
67. Execute Modification ./Themes/default/languages/Stats.spanish_latin.php File not found
68. Execute Modification ./Themes/default/languages/Modifications.spanish_latin.php File not found
69. Extract File ./Themes/default/Karma.template.php
70. Extract File ./Themes/default/images/karma.gif
71. Extract File ./Themes/default/images/karmaBad_basic.gif
72. Extract File ./Themes/default/images/karmaGood_basic.gif
73. Extract File ./Themes/default/images/karmaBad_super.gif
74. Extract File ./Themes/default/images/karmaGood_super.gif
75. Extract File ./Themes/default/images/karma_disabled_basic.gif


I'm running on 1.1.11.

Any help appreciated.

Code (Find this) Select
SELECT
ID_MSG, icon, subject, posterTime, posterIP, ID_MEMBER, modifiedTime, modifiedName, body,
smileysEnabled, posterName, posterEmail,
".($board_info['thank_you_post_enable'] && allowedTo('thank_you_post_show') ? "thank_you_post, thank_you_post_counter," : "")."
ID_MSG_MODIFIED < $topicinfo[new_from] AS isRead
FROM {$db_prefix}messages
WHERE ID_MSG IN (" . implode(',', $messages) . ")
ORDER BY ID_MSG" . (empty($options['view_newest_first']) ? '' : ' DESC'), __FILE__, __LINE__);
Code (Replace it with this) Select
SELECT
ID_MSG, icon, subject, posterTime, posterIP, ID_MEMBER, modifiedTime, modifiedName, body,
smileysEnabled, posterName, posterEmail,
m.ID_MSG_MODIFIED < $topicinfo[new_from] AS isRead, k.message AS is_repped
".($board_info['thank_you_post_enable'] && allowedTo('thank_you_post_show') ? "thank_you_post, thank_you_post_counter," : "")."
ID_MSG_MODIFIED < $topicinfo[new_from] AS isRead
FROM {$db_prefix}messages
LEFT JOIN {$db_prefix}log_karma AS k ON (k.message = m.ID_MSG AND k.ID_EXECUTOR = {$ID_MEMBER})
WHERE ID_MSG IN (" . implode(',', $messages) . ")
ORDER BY ID_MSG" . (empty($options['view_newest_first']) ? '' : ' DESC'), __FILE__, __LINE__);


Try that.

droganto: I mean the /Sources/Display.php file.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: droganto on May 27, 2010, 11:25:54 PM
OK I will post that now. Thanks!

Im Sorry Mine is failing in Display Template.

3.   Execute Modification   ./Themes/default/Display.template.php   Test failed
      1.   Replace   ./Themes/default/Display.template.php   Test failed
      2.   Add After   ./Themes/default/Display.template.php   Test successful
      3.   Replace   ./Themes/default/Display.template.php   Test successful
      4.   Add Before   ./Themes/default/Display.template.php   Test successful


Yea is failing in the Display Template on all the themes
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Nick Whetstone on May 28, 2010, 12:56:31 AM
Quote from: droganto on May 27, 2010, 11:25:54 PM
OK I will post that now. Thanks!

Im Sorry Mine is failing in Display Template.

3.   Execute Modification   ./Themes/default/Display.template.php   Test failed
      1.   Replace   ./Themes/default/Display.template.php   Test failed
      2.   Add After   ./Themes/default/Display.template.php   Test successful
      3.   Replace   ./Themes/default/Display.template.php   Test successful
      4.   Add Before   ./Themes/default/Display.template.php   Test successful


Yea is failing in the Display Template on all the themes
Code (Find) Select
global $context, $settings, $options, $txt, $scripturl, $sourcedir, $modSettings;
Code (Replace with) Select
global $context, $settings, $options, $txt, $scripturl, $sourcedir, $modSettings, $user_info;





As a quick note: I'll be out of state for the next couple of days, so won't be able to do anything related to teh intrawebz.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: droganto on May 28, 2010, 12:58:52 AM
But should I install it with the error and then change that code or how do I do it. Dont leave until You help me PLllllleeeeeaaaassseee!
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Nick Whetstone on May 28, 2010, 01:03:18 AM
Quote from: droganto on May 28, 2010, 12:58:52 AM
But should I install it with the error and then change that code or how do I do it.
Yes.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: droganto on May 28, 2010, 01:08:54 AM
Quote from: Ha² on May 28, 2010, 01:03:18 AM
Quote from: droganto on May 28, 2010, 12:58:52 AM
But should I install it with the error and then change that code or how do I do it.
Yes.

Thank you Dark Lord. For the help I will give it a try.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Babalui on May 28, 2010, 08:15:46 PM
If I may bother with a few small problems of mine:
1. Java pop-up window does not pop-up, but its content appears inside of existing window, on top of the thread. - SOLVED (http://www.simplemachines.org/community/index.php?topic=230676.msg2647384#msg2647384)
2. can I assign initial rep to existing members? - SOLVED (http://www.simplemachines.org/community/index.php?topic=230676.msg2647314#msg2647314)
3. it seems that I have not un-installed Karma mod properly (although smf messages confirmed so), and now on stats page I have Best Reputation / Worst Reputation with karma from Karma mod and rep power from this mod (zero) - SOLVED - cahnged manually, not important any more

SMF 1.1.11

Thanks in advance!
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: adbrad on May 29, 2010, 05:50:02 AM
which karma mod ddid you unistall, you do not need to uninstall the smf default karma
i think if you run givereputation.php then you can add points to all exsting members.
are you custom theme as yo will need to mak some manual edits as your using 1.1.11
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Babalui on May 29, 2010, 09:11:20 AM
Pff, honestly, I've tried so many that I do not remember which one is it, and I've managed to crash the forum several time while testing (and especially when removing), that I do not dare to poke around too much.

I have a custom theme for 1.1.11.
I cannot find the file "givereputation.php". Is that an option to have?
OK, I've found it on mod page :)

How can I make a popo-up appear. I use SilentWave theme. - SOLVED, see below
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Babalui on May 29, 2010, 10:40:25 AM
AEH,
I can't beleve it - I've figured it out :)
You have to manually edit $themedir/style.css:

Add the following to the end of the file. If there is a ?> on the last line, add this on the line before it.

.repbars img
{
padding: 0 1px 0 0;
}

#reputation_menu{
position: absolute;
border: 1px solid black;
z-index: 100;
}

Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Babalui on May 29, 2010, 05:59:20 PM
Eh, questions about green bars for visualization of rep power:
1) they are shown in 2 rangs, light and dark green, how they change?
2) if 1 dark green represents like 10 light green, any way to add a third level? I would like to have bronze, silver and gold rep icons.

Thanks in advance!
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: adbrad on May 29, 2010, 06:02:55 PM
no idea how they work but you can change the images
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Sakuradreams on May 29, 2010, 10:27:48 PM
Quote from: Ha² on May 27, 2010, 11:00:37 PM
Quote from: Sakuradreams on May 27, 2010, 09:31:30 PM
I'm also getting a 'test failed' for Display.php, which I've included. My pre-install looks like this:

Installing this package will perform the following actions:
Type Action Description
1. Execute Code install.php
2. Execute Modification ./index.php Test successful
3. Execute Modification ./Themes/default/Display.template.php Test successful
4. Execute Modification ./Themes/default/PersonalMessage.template.php Test successful
5. Execute Modification ./Themes/default/Profile.template.php Test successful
6. Execute Modification ./Themes/default/Stats.template.php Test successful
7. Execute Modification ./Themes/default/script.js Test successful
8. Execute Modification ./Themes/default/style.css Test successful
9. Execute Modification ./Sources/Admin.php Test successful
10. Execute Modification ./Sources/Display.php Test failed
11. Execute Modification ./Sources/Karma.php Test successful
12. Execute Modification ./Sources/Load.php Test successful
13. Execute Modification ./Sources/ManagePermissions.php Test successful
14. Execute Modification ./Sources/ManageServer.php Test successful
15. Execute Modification ./Sources/ModSettings.php Test successful
16. Execute Modification ./Sources/Post.php Test successful
17. Execute Modification ./Sources/Profile.php Test successful
18. Execute Modification ./Sources/RemoveTopic.php Test successful
19. Execute Modification ./Sources/Stats.php Test successful
20. Execute Modification ./Sources/Subs-Members.php Test successful
21. Execute Modification ./Themes/default/languages/Errors.english.php Test successful
22. Execute Modification ./Themes/default/languages/Help.english.php Test successful
23. Execute Modification ./Themes/default/languages/index.english.php Test successful
24. Execute Modification ./Themes/default/languages/ManagePermissions.english.php Test successful
25. Execute Modification ./Themes/default/languages/ModSettings.english.php Test successful
26. Execute Modification ./Themes/default/languages/Reports.english.php Test successful
27. Execute Modification ./Themes/default/languages/Stats.english.php Test successful
28. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
29. Execute Modification ./Themes/default/languages/Errors.english-utf8.php Skipping file
30. Execute Modification ./Themes/default/languages/Help.english-utf8.php Skipping file
31. Execute Modification ./Themes/default/languages/index.english-utf8.php Skipping file
32. Execute Modification ./Themes/default/languages/ManagePermissions.english-utf8.php Skipping file
33. Execute Modification ./Themes/default/languages/ModSettings.english-utf8.php Skipping file
34. Execute Modification ./Themes/default/languages/Reports.english-utf8.php Skipping file
35. Execute Modification ./Themes/default/languages/Stats.english-utf8.php Skipping file
36. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php Skipping file
37. Execute Modification ./Themes/default/languages/Errors.russian.php Skipping file
38. Execute Modification ./Themes/default/languages/Help.russian.php Skipping file
39. Execute Modification ./Themes/default/languages/index.russian.php Skipping file
40. Execute Modification ./Themes/default/languages/ManagePermissions.russian.php Skipping file
41. Execute Modification ./Themes/default/languages/ModSettings.russian.php Skipping file
42. Execute Modification ./Themes/default/languages/Reports.russian.php Skipping file
43. Execute Modification ./Themes/default/languages/Stats.russian.php Skipping file
44. Execute Modification ./Themes/default/languages/Modifications.russian.php Skipping file
45. Execute Modification ./Themes/default/languages/Errors.russian-utf8.php Skipping file
46. Execute Modification ./Themes/default/languages/Help.russian-utf8.php Skipping file
47. Execute Modification ./Themes/default/languages/index.russian-utf8.php Skipping file
48. Execute Modification ./Themes/default/languages/ManagePermissions.russian-utf8.php Skipping file
49. Execute Modification ./Themes/default/languages/ModSettings.russian-utf8.php Skipping file
50. Execute Modification ./Themes/default/languages/Reports.russian-utf8.php Skipping file
51. Execute Modification ./Themes/default/languages/Stats.russian-utf8.php Skipping file
52. Execute Modification ./Themes/default/languages/Modifications.russian-utf8.php Skipping file
53. Execute Modification ./Themes/default/languages/Errors.spanish_latin.php File not found
54. Execute Modification ./Themes/default/languages/Help.spanish_latin.php File not found
55. Execute Modification ./Themes/default/languages/index.spanish_latin.php File not found
56. Execute Modification ./Themes/default/languages/ManagePermissions.spanish_latin.php File not found
57. Execute Modification ./Themes/default/languages/ModSettings.spanish_latin.php File not found
58. Execute Modification ./Themes/default/languages/Reports.spanish_latin.php File not found
59. Execute Modification ./Themes/default/languages/Stats.spanish_latin.php File not found
60. Execute Modification ./Themes/default/languages/Modifications.spanish_latin.php File not found
61. Execute Modification ./Themes/default/languages/Errors.spanish_latin.php File not found
62. Execute Modification ./Themes/default/languages/Help.spanish_latin.php File not found
63. Execute Modification ./Themes/default/languages/index.spanish_latin.php File not found
64. Execute Modification ./Themes/default/languages/ManagePermissions.spanish_latin.php File not found
65. Execute Modification ./Themes/default/languages/ModSettings.spanish_latin.php File not found
66. Execute Modification ./Themes/default/languages/Reports.spanish_latin.php File not found
67. Execute Modification ./Themes/default/languages/Stats.spanish_latin.php File not found
68. Execute Modification ./Themes/default/languages/Modifications.spanish_latin.php File not found
69. Extract File ./Themes/default/Karma.template.php
70. Extract File ./Themes/default/images/karma.gif
71. Extract File ./Themes/default/images/karmaBad_basic.gif
72. Extract File ./Themes/default/images/karmaGood_basic.gif
73. Extract File ./Themes/default/images/karmaBad_super.gif
74. Extract File ./Themes/default/images/karmaGood_super.gif
75. Extract File ./Themes/default/images/karma_disabled_basic.gif


I'm running on 1.1.11.

Any help appreciated.

Code (Find this) Select
SELECT
ID_MSG, icon, subject, posterTime, posterIP, ID_MEMBER, modifiedTime, modifiedName, body,
smileysEnabled, posterName, posterEmail,
".($board_info['thank_you_post_enable'] && allowedTo('thank_you_post_show') ? "thank_you_post, thank_you_post_counter," : "")."
ID_MSG_MODIFIED < $topicinfo[new_from] AS isRead
FROM {$db_prefix}messages
WHERE ID_MSG IN (" . implode(',', $messages) . ")
ORDER BY ID_MSG" . (empty($options['view_newest_first']) ? '' : ' DESC'), __FILE__, __LINE__);
Code (Replace it with this) Select
SELECT
ID_MSG, icon, subject, posterTime, posterIP, ID_MEMBER, modifiedTime, modifiedName, body,
smileysEnabled, posterName, posterEmail,
m.ID_MSG_MODIFIED < $topicinfo[new_from] AS isRead, k.message AS is_repped
".($board_info['thank_you_post_enable'] && allowedTo('thank_you_post_show') ? "thank_you_post, thank_you_post_counter," : "")."
ID_MSG_MODIFIED < $topicinfo[new_from] AS isRead
FROM {$db_prefix}messages
LEFT JOIN {$db_prefix}log_karma AS k ON (k.message = m.ID_MSG AND k.ID_EXECUTOR = {$ID_MEMBER})
WHERE ID_MSG IN (" . implode(',', $messages) . ")
ORDER BY ID_MSG" . (empty($options['view_newest_first']) ? '' : ' DESC'), __FILE__, __LINE__);


Try that.

droganto: I mean the /Sources/Display.php file.


Well, maybe it will be ok without replacing? I get this error when I follow your direction:

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'thank_you_post, thank_you_post_counter,
ID_MSG_MODIFIED < 43 AS isRe' at line 5
File: /xxx/xxx/public_html/forum/Sources/Display.php
Line: 805

Any help appreciated.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: ukhalik2 on May 30, 2010, 05:41:01 AM
test failed in display.php and display.template.php
now the heart shape image is not showing up?
any help??
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Eudemon on May 31, 2010, 10:44:20 AM
just a question, what does the comment thing do when u add reputation
is it suppose to send to the reputation receiver? if so mine doesn't work, nothing gets send, but the reputation works :/
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: adbrad on May 31, 2010, 11:38:37 AM
the comments should show up in the users profile.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Nick Whetstone on June 01, 2010, 05:31:36 PM
Quote from: ukhalik2 on May 30, 2010, 05:41:01 AM
test failed in display.php and display.template.php
now the heart shape image is not showing up?
any help??
Try parsing the package and doing the edits manually.

Also, upload the heart image to your theme's images folder.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Babalui on June 02, 2010, 03:24:52 PM
Quote from: Babalui on May 29, 2010, 05:59:20 PM
Eh, questions about green bars for visualization of rep power:
1) they are shown in 2 rangs, light and dark green, how they change?
2) if 1 dark green represents like 10 light green, any way to add a third level? I would like to have bronze, silver and gold rep icons.

Quote from: adbrad on May 29, 2010, 06:02:55 PM
no idea how they work but you can change the images

Yeah, I've edited the pics, but how are they progressing?
It looks to me like "good basic" is rising up to 6 pics, and then on top of that "good super" is added, for a total of 11 (12?) pics. Did I get this right?

But, ehm, any way to like have "good basic" rising up to 5 pics (or 10), and then when reaching 6th level, all five are changed into one "good super"? Then, basic ones are added later on, again up to 5, and on 6th it is changed into 2nd super pic.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: pointalk on June 06, 2010, 04:54:34 AM
Display Latest Reputation Actions on Recent info Center
How to edit?
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: uninvited13th on June 07, 2010, 11:34:51 PM
can someone teach me how to install mods
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Arantor on June 08, 2010, 03:14:21 AM
Quote from: uninvited13th on June 07, 2010, 11:34:51 PM
can someone teach me how to install mods

It's all covered in: Package Manager (http://docs.simplemachines.org/index.php?board=49.0;sort=subject) and if that doesn't work: Manual Installation of Mods (http://docs.simplemachines.org/index.php?topic=402.0)
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Phoestre on June 09, 2010, 02:47:51 PM
Hello guys,
I've been testing this mod with SimpleSEF and it seems they aren't meant to work together at the moment.
I installed both of them with no errors however when you try to give rep to someone, it seems like working, you get to write in the reason for your action. However when you send the form, the ajax thingy above("Loading...") works fine but you get no "Reputation sent successfully."(or something like that) and nothing happens to reputation stats.
You get reputation when you post new topics/posts and lose when they are deleted, but there is no way for users to give reputation to others at the moment.
I said SimpleSEF may be the reason because when I unthick the "Enable SimpleSEF" option, you can successfully give reputation to people but when I enable SimpleSEF, it doesn't work.
I believe the problem is about one of the last calls by Advanced Reputation System when giving rep, if it refers to a file or uses a relative path, or the reputation giving action is diffrent than the standart one, so it may not recognize Advanced Reputation System and the URL rewrite may be a problem.
I'm using SMF 2.0 RC3.

BTW great mod, I hope to get it working.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: RaXavier69 on June 13, 2010, 03:50:54 AM
gr8 mod,
i dont see any bars? i have inferno installed and all seemed to go well. all i get for rep is the statments that are there to preselect, and for some reason the more rep the more they add, its not just 1 or 2 or 3 i have statment 1,2,3. im guessing it used ur script for the images to add but puts in the statments... where can i fix this?
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: adbrad on June 13, 2010, 05:23:21 AM
if you are using a custom theme you need to copy the images to the images folder of your theme
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Phoestre on June 13, 2010, 07:32:36 AM
Quote from: Phoestre on June 09, 2010, 02:47:51 PM
Hello guys,
I've been testing this mod with SimpleSEF and it seems they aren't meant to work together at the moment.
I installed both of them with no errors however when you try to give rep to someone, it seems like working, you get to write in the reason for your action. However when you send the form, the ajax thingy above("Loading...") works fine but you get no "Reputation sent successfully."(or something like that) and nothing happens to reputation stats.
You get reputation when you post new topics/posts and lose when they are deleted, but there is no way for users to give reputation to others at the moment.
I said SimpleSEF may be the reason because when I unthick the "Enable SimpleSEF" option, you can successfully give reputation to people but when I enable SimpleSEF, it doesn't work.
I believe the problem is about one of the last calls by Advanced Reputation System when giving rep, if it refers to a file or uses a relative path, or the reputation giving action is diffrent than the standart one, so it may not recognize Advanced Reputation System and the URL rewrite may be a problem.
I'm using SMF 2.0 RC3.

BTW great mod, I hope to get it working.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: RaXavier69 on June 13, 2010, 03:50:20 PM
sweet worked gr8 ty
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: moaiamorfo on June 15, 2010, 06:33:10 AM
hi guys, great mod! I'm using it under 1.1.11.
a question: I don't want to give points via posts or threads. I want to give points via the comment system (the heart that opens the popup).
is it possible?

thanks a lot. :)
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: adbrad on June 15, 2010, 10:49:39 AM
just edit the reputation settings in acp find points per post and threads and change both to zero
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: moaiamorfo on June 15, 2010, 11:28:50 AM
Quote from: adbrad on June 15, 2010, 10:49:39 AM
just edit the reputation settings in acp find points per post and threads and change both to zero

thanks: and so, how many points are added/removed with a single comment?

thanks again. :)
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: adbrad on June 15, 2010, 11:39:52 AM
Quote from: moaiamorfo on June 15, 2010, 11:28:50 AM
thanks: and so, how many points are added/removed with a single comment?

depends of the rep power of the user giving/taking reputation.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: moaiamorfo on June 15, 2010, 02:43:05 PM
Quote from: adbrad on June 15, 2010, 11:39:52 AM
Quote from: moaiamorfo on June 15, 2010, 11:28:50 AM
thanks: and so, how many points are added/removed with a single comment?

depends of the rep power of the user giving/taking reputation.

thanks again but... where can I read about this assignment (even in the code)?

cheers.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: omega008 on June 16, 2010, 10:40:02 PM
Hello!,
  How can I give bad reputation [-] and
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: uninvited13th on June 17, 2010, 12:22:41 AM
Hello,
Can we have a reputation based membergroups added? Which means the post count membergroups is still there..
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Phoestre on June 18, 2010, 03:22:44 PM
Quote from: Phoestre on June 09, 2010, 02:47:51 PM
Hello guys,
I've been testing this mod with SimpleSEF and it seems they aren't meant to work together at the moment.
I installed both of them with no errors however when you try to give rep to someone, it seems like working, you get to write in the reason for your action. However when you send the form, the ajax thingy above("Loading...") works fine but you get no "Reputation sent successfully."(or something like that) and nothing happens to reputation stats.
You get reputation when you post new topics/posts and lose when they are deleted, but there is no way for users to give reputation to others at the moment.
I said SimpleSEF may be the reason because when I unthick the "Enable SimpleSEF" option, you can successfully give reputation to people but when I enable SimpleSEF, it doesn't work.
I believe the problem is about one of the last calls by Advanced Reputation System when giving rep, if it refers to a file or uses a relative path, or the reputation giving action is diffrent than the standart one, so it may not recognize Advanced Reputation System and the URL rewrite may be a problem.
I'm using SMF 2.0 RC3.

BTW great mod, I hope to get it working.

I was having the above mentioned problem in getting Advanced Reputation System and SimpleSEF working together, SimpleSEF's maker helped me to solve the problem.
You can find the solve in this post (http://www.simplemachines.org/community/index.php?topic=352351.msg2671719#msg2671719).

Maybe Ha2 or who is currently responsible for the mod can integrate this in the next release?
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: noaccess on June 20, 2010, 06:04:22 AM
I get the following error when going to Admin > Features and Options > Reputation,

QuoteFatal error: Cannot redeclare visualwarningsettings() (previously declared in /home/site/public_html/Sources/ModSettings.php:411) in /home/site/public_html/Sources/ModSettings.php  on line 362

What could be the issue here?
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: tRu3_sKiTz0 on June 22, 2010, 08:32:48 AM
Hey, first I wanna say that this mod is sweet. I like having an advanced rep system. Now for my problem, I looked through about 10- 15 pages here and have not seen anything like it so I'm just gonna post it.

Everything works except for when I click the applaud button, I get this error:

"Session verification failed. Please try logging out and back in again, and then try again."

I'v tried login out then back in. I've tried changing settings. I have no idea what's happening here. I also have the "use images for buttons instead of text ticked and they are still text only. I have the rep scores and what-not, and tbh it really doesn't matter a whole lot that my members can't give rep but it would be nice to have so if you have an idea of how I might fix this then please let me know. I have to disable give rep for now. Oh I am also using TP but no other rep mods.

EDIT: I also want to add that when I go to reputation options, I see this.

Reputation label (unused)

Reputation applaud label (unused)

Reputation smite label (unused)

Not sure what that means. Hopefully there is an easy fix for this.

Okay I guess it's because I'm using the core theme. I find the curve theme to quite frustrating to modify. Is there anyway to make this work for the core theme?
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: tRu3_sKiTz0 on June 22, 2010, 09:09:27 AM
Quote from: Ha² on March 16, 2010, 08:53:02 AM
Quote from: aloysius on March 16, 2010, 08:19:04 AM
Hi Ha2
          Hi I had install Advances Reputation for SMF 1.1.11. After installation, I cant Add or Zap anyone at all. And it does not show any picture that was been mention by default. It only show the previous add or zap in wording and when i press it. It show the following message; An Error Has Occurred! Session verification failed. Please try logging out and back in again, and then try again.
          Pls help me cause i really like this Advance Reputation for my Forum! Pls Help! Thanks a lot

Sounds like some of the edits were not made... did you make sure to click the "Install" link on the Mod on the package manager? Did any tests fail on installation? Are you on a custom theme? Also, when you go here, does the heart icon show:
http://yourdomain.com/locationofsmf/Themes/default/images/karma.gif

I just saw this after some more reading and I wanted to add that I see a heart. I don't know if that is going to make a difference but there you go. Also the quoted member said later that he contacted is service provider or whatever and they fixed it. I'm not sure how that works, just tryin to put all data on this issue in one spot for your convenience. Thanks in advance.

Okay I got tehe heart to show up and I can add rep but rep doesnt shpw on the post just in the profile. Please help.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: sattninja on June 25, 2010, 09:24:17 PM
i have this installed and am trying to get it to work all seems ok except it is not in english

(http://i49.tinypic.com/2euok0h.jpg)

how do i change that
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: sattninja on June 25, 2010, 10:31:26 PM
ok i got the language thing squared that is fine now

but mine does not show the bars for rep it only shows a number next to reputation i have adjusted the settings to show bars at like 10 points and i have members that have like 28 points bu no bars are showing i do have the little heart so i know the images are there just not showing up   
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: sattninja on June 25, 2010, 10:48:44 PM
i fixxed it all got it orking great

nice mod

thanks
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: sattninja on June 25, 2010, 11:20:52 PM
ok 1 more problem in posts it shows a different rep number then is your profile for example

i have a member i look at in a post he made it shows rep 2

but in his profile it shows 23
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: sattninja on June 26, 2010, 11:01:06 AM
ok i have been playing around with the settings and it seems to be working however when i click the heart and giv rep it is giving like 23 points for instance i have a member that had 3 rep power i clicked the heart and clicked agree and it jumped his rep power to 27 so it added 24 on one click

Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: adbrad on June 26, 2010, 01:47:32 PM
what are your settings
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: sattninja on June 26, 2010, 02:46:14 PM
here you go

(http://i47.tinypic.com/8ye5cg.jpg)
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: adbrad on June 30, 2010, 03:24:55 PM
what is your reputation
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: sattninja on June 30, 2010, 03:28:26 PM
in profile it shows 77

in posts it shows reputation power 3

Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: adbrad on June 30, 2010, 03:44:21 PM
then any points you add should give 3 points to the user
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: sattninja on June 30, 2010, 03:49:35 PM
ok i understand it now just had to read a lil bit

thanks
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: rbkrbk on July 04, 2010, 03:15:19 PM
Thank you for this mod!  I love it!

One question:

Is it possible to automatically send members a private message/notify them when they receive reputation?  (I'm using RC3)
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: oyabun23 on July 09, 2010, 04:59:42 AM
Hi everyone, thanks for the great mod.

I just started my own forum and I'm looking for the option to disable the regular members from viewing who rep them. Is it possible? if so, how do I set it? I don;t see it in the permission or settings. thanks again!
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Enders on July 14, 2010, 11:28:03 AM
How do I fix the text syntax error that says reputation:: on the profiles ... there are 2 of those
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Nick Whetstone on July 14, 2010, 12:47:02 PM
Quote from: Enders on July 14, 2010, 11:28:03 AM
How do I fix the text syntax error that says reputation:: on the profiles ... there are 2 of those
What errors are showing?
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Celestita on July 15, 2010, 04:37:05 AM
Hello guys! First of all I apologize for my English, I'm from Argentina!

I've been reading this thread looking for an error I get when trying to upload. When listing the files before installing, all the tests in spanish_latin .php files, fail. I tryied installing anyway, I though "Well, they're just language files, maybe there's no problem at all with the behaviour". The language .php files from spanish_latin are the only files I get an error with. But then when I hit the "Install" button, I get that DROP PRIMARY error that some of you have been getting too, but not quite like you. The only thing I get is this (As you can see it doesn't say anything about my version of SMF or anything like that):

QuoteCan't DROP 'PRIMARY'; check that column/key exists
File: /home/vortex/public_html/Packages/temp/install.php
Line: 126

Do you have any idea on what's going on or what I should do? Our forum's version is 1.1.11 and I had no installed karma mods prior to the upload. If there's anything you think of let me know, I really liked this mod, there's no way I can congratulate you enough for the mod you've acomplished, ha2.
It would be a shame If my forum couldn't use it :/

Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Leto Atreides II on July 27, 2010, 11:05:32 AM
I'm trying to install this on my SMF 1.1.11 forum. So I downloaded the reputation_1-1-x_0-1-5.zip file, as reputation_2-0_1-7-5.zip and reputation_2-0-1-8-1.tar.gz both look like they're intended for SMF 2 forums; do I need to download the GiveReputation.php file as well and, if so, which folder am I supposed to install it in?

When I uploaded the package, I got this message:

QuoteError in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.

In the 'Install Actions' box, I got the following readout:

QuoteInstalling this package will perform the following actions:
   Type    Action    Description
1.    Execute Code    install.php    
2.    Execute Modification    ./index.php    Test successful
3.    Execute Modification    ./Themes/default/Display.template.php    Test successful
4.    Execute Modification    ./Themes/default/PersonalMessage.template.php    Test successful
5.    Execute Modification    ./Themes/default/Profile.template.php    Test successful
6.    Execute Modification    ./Themes/default/Stats.template.php    Test successful
7.    Execute Modification    ./Themes/default/script.js    Test successful
8.    Execute Modification    ./Themes/default/style.css    Test successful
9.    Execute Modification    ./Sources/Admin.php    Test successful
10.    Execute Modification    ./Sources/Display.php    Test successful
11.    Execute Modification    ./Sources/Karma.php    Test successful
12.    Execute Modification    ./Sources/Load.php    Test successful
13.    Execute Modification    ./Sources/ManagePermissions.php    Test successful
14.    Execute Modification    ./Sources/ManageServer.php    Test successful
15.    Execute Modification    ./Sources/ModSettings.php    Test successful
16.    Execute Modification    ./Sources/Post.php    Test successful
17.    Execute Modification    ./Sources/Profile.php    Test successful
18.    Execute Modification    ./Sources/RemoveTopic.php    Test successful
19.    Execute Modification    ./Sources/Stats.php    Test successful
20.    Execute Modification    ./Sources/Subs-Members.php    Test successful
21.    Execute Modification    ./Themes/default/languages/Errors.english.php    Test successful
22.    Execute Modification    ./Themes/default/languages/Help.english.php    Test successful
23.    Execute Modification    ./Themes/default/languages/index.english.php    Test successful
24.    Execute Modification    ./Themes/default/languages/ManagePermissions.english.php    Test successful
25.    Execute Modification    ./Themes/default/languages/ModSettings.english.php    Test successful
26.    Execute Modification    ./Themes/default/languages/Reports.english.php    Test successful
27.    Execute Modification    ./Themes/default/languages/Stats.english.php    Test successful
28.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful
29.    Execute Modification    ./Themes/default/languages/Errors.english-utf8.php    Skipping file
30.    Execute Modification    ./Themes/default/languages/Help.english-utf8.php    Skipping file
31.    Execute Modification    ./Themes/default/languages/index.english-utf8.php    Skipping file
32.    Execute Modification    ./Themes/default/languages/ManagePermissions.english-utf8.php    Skipping file
33.    Execute Modification    ./Themes/default/languages/ModSettings.english-utf8.php    Skipping file
34.    Execute Modification    ./Themes/default/languages/Reports.english-utf8.php    Skipping file
35.    Execute Modification    ./Themes/default/languages/Stats.english-utf8.php    Skipping file
36.    Execute Modification    ./Themes/default/languages/Modifications.english-utf8.php    Skipping file
37.    Execute Modification    ./Themes/default/languages/Errors.russian.php    Skipping file
38.    Execute Modification    ./Themes/default/languages/Help.russian.php    Skipping file
39.    Execute Modification    ./Themes/default/languages/index.russian.php    Skipping file
40.    Execute Modification    ./Themes/default/languages/ManagePermissions.russian.php    Skipping file
41.    Execute Modification    ./Themes/default/languages/ModSettings.russian.php    Skipping file
42.    Execute Modification    ./Themes/default/languages/Reports.russian.php    Skipping file
43.    Execute Modification    ./Themes/default/languages/Stats.russian.php    Skipping file
44.    Execute Modification    ./Themes/default/languages/Modifications.russian.php    Skipping file
45.    Execute Modification    ./Themes/default/languages/Errors.russian-utf8.php    Skipping file
46.    Execute Modification    ./Themes/default/languages/Help.russian-utf8.php    Skipping file
47.    Execute Modification    ./Themes/default/languages/index.russian-utf8.php    Skipping file
48.    Execute Modification    ./Themes/default/languages/ManagePermissions.russian-utf8.php    Skipping file
49.    Execute Modification    ./Themes/default/languages/ModSettings.russian-utf8.php    Skipping file
50.    Execute Modification    ./Themes/default/languages/Reports.russian-utf8.php    Skipping file
51.    Execute Modification    ./Themes/default/languages/Stats.russian-utf8.php    Skipping file
52.    Execute Modification    ./Themes/default/languages/Modifications.russian-utf8.php    Skipping file
53.    Execute Modification    ./Themes/default/languages/Errors.spanish_latin.php    File not found
54.    Execute Modification    ./Themes/default/languages/Help.spanish_latin.php    File not found
55.    Execute Modification    ./Themes/default/languages/index.spanish_latin.php    File not found
56.    Execute Modification    ./Themes/default/languages/ManagePermissions.spanish_latin.php    File not found
57.    Execute Modification    ./Themes/default/languages/ModSettings.spanish_latin.php    File not found
58.    Execute Modification    ./Themes/default/languages/Reports.spanish_latin.php    File not found
59.    Execute Modification    ./Themes/default/languages/Stats.spanish_latin.php    File not found
60.    Execute Modification    ./Themes/default/languages/Modifications.spanish_latin.php    File not found
61.    Execute Modification    ./Themes/default/languages/Errors.spanish_latin.php    File not found
62.    Execute Modification    ./Themes/default/languages/Help.spanish_latin.php    File not found
63.    Execute Modification    ./Themes/default/languages/index.spanish_latin.php    File not found
64.    Execute Modification    ./Themes/default/languages/ManagePermissions.spanish_latin.php    File not found
65.    Execute Modification    ./Themes/default/languages/ModSettings.spanish_latin.php    File not found
66.    Execute Modification    ./Themes/default/languages/Reports.spanish_latin.php    File not found
67.    Execute Modification    ./Themes/default/languages/Stats.spanish_latin.php    File not found
68.    Execute Modification    ./Themes/default/languages/Modifications.spanish_latin.php    File not found
69.    Extract File    ./Themes/default/Karma.template.php    
70.    Extract File    ./Themes/default/images/karma.gif    
71.    Extract File    ./Themes/default/images/karmaBad_basic.gif    
72.    Extract File    ./Themes/default/images/karmaGood_basic.gif    
73.    Extract File    ./Themes/default/images/karmaBad_super.gif    
74.    Extract File    ./Themes/default/images/karmaGood_super.gif    
75.    Extract File    ./Themes/default/images/karma_disabled_basic.gif
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: punjablovers on July 31, 2010, 06:13:15 AM
add reputation and reputation bar images are not showing. using inferno theme with RC3, how can i fix this.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: ɔɔɔɔɔɔuɥoɾ on July 31, 2010, 11:00:22 AM
Quote from: punjablovers on July 31, 2010, 06:13:15 AM
add reputation and reputation bar images are not showing. using inferno theme with RC3, how can i fix this.

Check to make sure the images for those badges are in your images directory for the theme your currently using.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: mgrmgr on July 31, 2010, 06:31:40 PM
Quote from: mgrmgr on May 08, 2010, 03:16:00 PM
Quote from: mgrmgr on April 17, 2010, 11:38:14 AM
As a first thing let me say thank you for an excellent modification!!!

Alas I have a problem in our forum

Database Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's Tease')' at line 4
File: /xxx/Sources/Karma.php
Line: 373

Some details: Forum version: 1.1.11
Mod version (according to packet manager) 0.1.2

The mod made the updates from 1.1.9 (IIRC) to 1.1.11 and still works fine.

Oups I nearly forgot: when does the error occur? reproducible whenever the topic contains an apostrophe '. Changing the topic to a version without the apostrophe (Where's -> Where is): error is gone :)

It's just a bit annoying to explain the problem again and again.

May I push my question up so it does not get forgotten? Thanks

2nd push after I could not solve the problem myself and still need help :)
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Mystery? on August 02, 2010, 01:28:05 AM
help, reputation images don't show! It just shows that loading icon.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Sabre™ on August 02, 2010, 01:41:17 AM
@ Leto Atreides II

It is ok to install with those errors, UNLESS your forum needs one of those languages to work.
They are merely telling you that those files are not there, they should have been skipped like the others.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: fable1 on August 05, 2010, 05:51:13 PM
Unknown column 'k.message' in 'field list'
File: /mnt/glusterfs/apache/hosting-dir/126832/user_dir/runefable.com/forum/Sources/Display.php
Line: 741


I get this error when I try to view posts on my forum after installing this mod. Please help me

this has caused the problems:
1. new users cannot register to my forum
2. posts cannot be viewed by anybody

maybe more I haven't spotted.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Nick Whetstone on August 05, 2010, 10:56:27 PM
Quote from: fable1 on August 05, 2010, 05:51:13 PM
Unknown column 'k.message' in 'field list'
File: /mnt/glusterfs/apache/hosting-dir/126832/user_dir/runefable.com/forum/Sources/Display.php
Line: 741


I get this error when I try to view posts on my forum after installing this mod. Please help me

this has caused the problems:
1. new users cannot register to my forum
2. posts cannot be viewed by anybody

maybe more I haven't spotted.
Could you please tell me:
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: fable1 on August 06, 2010, 11:17:44 AM
Quote from: Ha² on August 05, 2010, 10:56:27 PM
Quote from: fable1 on August 05, 2010, 05:51:13 PM
Unknown column 'k.message' in 'field list'
File: /mnt/glusterfs/apache/hosting-dir/126832/user_dir/runefable.com/forum/Sources/Display.php
Line: 741


I get this error when I try to view posts on my forum after installing this mod. Please help me

this has caused the problems:
1. new users cannot register to my forum
2. posts cannot be viewed by anybody

maybe more I haven't spotted.
Could you please tell me:
  • Your SMF Version?
  • The name of the package you installed (eg. reputation_2-0-1-8-1.tar.gz)?
  • The URL of your site?
  • Whether this has happened ever since you installed the Mod or just recently?
  • Your ./Sources/Display.php file?

smf 1.1.11
reputation_1-1-x_0-1-5.zip
http://www.runefable.com/forum
since i installed mod
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: fable1 on August 09, 2010, 01:15:02 PM
still need help...
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Nick Whetstone on August 09, 2010, 03:45:42 PM
Try running this query in phpMyAdmin:
ALTER TABLE {your_database_prefix_goes_here}log_karma
ADD message INT(12) NOT NULL


Obviously, replace {your_database_prefix_goes_here} with your database prefix.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: fable1 on August 09, 2010, 07:05:44 PM
No it doesn't work:


Error

SQL query:

ALTER TABLE {board}log_karma ADD message INT( 12 ) NOT NULL

MySQL said: Documentation
#1064 -


I'm thinking to just give up and delete my forum then re-install it, got my site all ready now and I want forum available for registrations. Unfortunately I will have to give this mod a miss, although I like the idea...
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: ɔɔɔɔɔɔuɥoɾ on August 09, 2010, 07:10:04 PM
You put {board} as your prefix???

That's not likely...
Assuming that your prefix is "smf_" as set per default, try the below

      ALTER TABLE smf_log_karma
      ADD message INT(12) NOT NULL
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: fable1 on August 09, 2010, 07:12:57 PM
My prefix is board, not smf_, I could not use the default value because it wouldn't allow it since I downgraded from smf 2.0 to 1.1.11 (this didn't cause the current problems because everything was working 100% fine until I added this mod)
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Nick Whetstone on August 09, 2010, 07:15:41 PM
Try:
ALTER TABLE board_log_karma ADD message INT( 12 ) NOT NULL
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: fable1 on August 09, 2010, 07:19:59 PM
Error again, this time different number:


MySQL said: Documentation
#1146 -
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Stigmartyr on August 12, 2010, 06:55:29 PM

Awesome mod!  I'm loving it
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Stigmartyr on August 12, 2010, 09:21:42 PM
Quote from: oyabun23 on July 09, 2010, 04:59:42 AM
One question:

Is it possible to automatically send members a private message/notify them when they receive reputation?

I too was looking for this option.  Does it exist?
Title: Getting error on trying to install this mod for SMF 1.1.11
Post by: kirank on August 14, 2010, 03:42:48 AM
Guys..

I am trying to install this mod for SMF 1.1.11.
I am getting the following error message
I had karma enabled the first time i tried installing. But have it disabled now. But no luck till now.
I have 2 other mods installed. 1) Anti spam 2) Guest notification. Please help me!Please find below the error message


Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF
nstalling this package will perform the following actions:
   Type    Action    Description
1.    Execute Code    install.php    
2.    Execute Modification    ./index.php    Test successful
3.    Execute Modification    ./Themes/default/Display.template.php    Test successful
4.    Execute Modification    ./Themes/default/PersonalMessage.template.php    Test successful
5.    Execute Modification    ./Themes/default/Profile.template.php    Test successful
6.    Execute Modification    ./Themes/default/Stats.template.php    Test successful
7.    Execute Modification    ./Themes/default/script.js    Test successful
8.    Execute Modification    ./Themes/default/style.css    Test successful
9.    Execute Modification    ./Sources/Admin.php    Test successful
10.    Execute Modification    ./Sources/Display.php    Test successful
11.    Execute Modification    ./Sources/Karma.php    Test successful
12.    Execute Modification    ./Sources/Load.php    Test successful
13.    Execute Modification    ./Sources/ManagePermissions.php    Test successful
14.    Execute Modification    ./Sources/ManageServer.php    Test successful
15.    Execute Modification    ./Sources/ModSettings.php    Test successful
16.    Execute Modification    ./Sources/Post.php    Test successful
17.    Execute Modification    ./Sources/Profile.php    Test successful
18.    Execute Modification    ./Sources/RemoveTopic.php    Test successful
19.    Execute Modification    ./Sources/Stats.php    Test successful
20.    Execute Modification    ./Sources/Subs-Members.php    Test successful
21.    Execute Modification    ./Themes/default/languages/Errors.english.php    Test successful
22.    Execute Modification    ./Themes/default/languages/Help.english.php    Test successful
23.    Execute Modification    ./Themes/default/languages/index.english.php    Test successful
24.    Execute Modification    ./Themes/default/languages/ManagePermissions.english.php    Test successful
25.    Execute Modification    ./Themes/default/languages/ModSettings.english.php    Test successful
26.    Execute Modification    ./Themes/default/languages/Reports.english.php    Test successful
27.    Execute Modification    ./Themes/default/languages/Stats.english.php    Test successful
28.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful
29.    Execute Modification    ./Themes/default/languages/Errors.english-utf8.php    Skipping file
30.    Execute Modification    ./Themes/default/languages/Help.english-utf8.php    Skipping file
31.    Execute Modification    ./Themes/default/languages/index.english-utf8.php    Skipping file
32.    Execute Modification    ./Themes/default/languages/ManagePermissions.english-utf8.php    Skipping file
33.    Execute Modification    ./Themes/default/languages/ModSettings.english-utf8.php    Skipping file
34.    Execute Modification    ./Themes/default/languages/Reports.english-utf8.php    Skipping file
35.    Execute Modification    ./Themes/default/languages/Stats.english-utf8.php    Skipping file
36.    Execute Modification    ./Themes/default/languages/Modifications.english-utf8.php    Skipping file
37.    Execute Modification    ./Themes/default/languages/Errors.russian.php    Skipping file
38.    Execute Modification    ./Themes/default/languages/Help.russian.php    Skipping file
39.    Execute Modification    ./Themes/default/languages/index.russian.php    Skipping file
40.    Execute Modification    ./Themes/default/languages/ManagePermissions.russian.php    Skipping file
41.    Execute Modification    ./Themes/default/languages/ModSettings.russian.php    Skipping file
42.    Execute Modification    ./Themes/default/languages/Reports.russian.php    Skipping file
43.    Execute Modification    ./Themes/default/languages/Stats.russian.php    Skipping file
44.    Execute Modification    ./Themes/default/languages/Modifications.russian.php    Skipping file
45.    Execute Modification    ./Themes/default/languages/Errors.russian-utf8.php    Skipping file
46.    Execute Modification    ./Themes/default/languages/Help.russian-utf8.php    Skipping file
47.    Execute Modification    ./Themes/default/languages/index.russian-utf8.php    Skipping file
48.    Execute Modification    ./Themes/default/languages/ManagePermissions.russian-utf8.php    Skipping file
49.    Execute Modification    ./Themes/default/languages/ModSettings.russian-utf8.php    Skipping file
50.    Execute Modification    ./Themes/default/languages/Reports.russian-utf8.php    Skipping file
51.    Execute Modification    ./Themes/default/languages/Stats.russian-utf8.php    Skipping file
52.    Execute Modification    ./Themes/default/languages/Modifications.russian-utf8.php    Skipping file
53.    Execute Modification    ./Themes/default/languages/Errors.spanish_latin.php    File not found
54.    Execute Modification    ./Themes/default/languages/Help.spanish_latin.php    File not found
55.    Execute Modification    ./Themes/default/languages/index.spanish_latin.php    File not found
56.    Execute Modification    ./Themes/default/languages/ManagePermissions.spanish_latin.php    File not found
57.    Execute Modification    ./Themes/default/languages/ModSettings.spanish_latin.php    File not found
58.    Execute Modification    ./Themes/default/languages/Reports.spanish_latin.php    File not found
59.    Execute Modification    ./Themes/default/languages/Stats.spanish_latin.php    File not found
60.    Execute Modification    ./Themes/default/languages/Modifications.spanish_latin.php    File not found
61.    Execute Modification    ./Themes/default/languages/Errors.spanish_latin.php    File not found
62.    Execute Modification    ./Themes/default/languages/Help.spanish_latin.php    File not found
63.    Execute Modification    ./Themes/default/languages/index.spanish_latin.php    File not found
64.    Execute Modification    ./Themes/default/languages/ManagePermissions.spanish_latin.php    File not found
65.    Execute Modification    ./Themes/default/languages/ModSettings.spanish_latin.php    File not found
66.    Execute Modification    ./Themes/default/languages/Reports.spanish_latin.php    File not found
67.    Execute Modification    ./Themes/default/languages/Stats.spanish_latin.php    File not found
68.    Execute Modification    ./Themes/default/languages/Modifications.spanish_latin.php    File not found
69.    Extract File    ./Themes/default/Karma.template.php    
70.    Extract File    ./Themes/default/images/karma.gif    
71.    Extract File    ./Themes/default/images/karmaBad_basic.gif    
72.    Extract File    ./Themes/default/images/karmaGood_basic.gif    
73.    Extract File    ./Themes/default/images/karmaBad_super.gif    
74.    Extract File    ./Themes/default/images/karmaGood_super.gif    
75.    Extract File    ./Themes/default/images/karma_disabled_basic.gif
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Babalui on August 15, 2010, 08:47:42 PM
I've been using this great mod without any problems, thanks for creating and support!

Just one quick question:
I've decided that new members should receive more points when they register and make new post. Under my previous settings their rep power is zero until they make 20 posts. New setting give new member 0.95 rep power after registering so they have 1 rep after first topic they start. But it works for new member only.

Any way to upgrade points for members that have registered before this latets change?

Thanks in advance!
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Nick Whetstone on August 15, 2010, 10:23:16 PM
Quote from: Stigmartyr on August 12, 2010, 09:21:42 PM
Quote from: oyabun23 on July 09, 2010, 04:59:42 AM
One question:

Is it possible to automatically send members a private message/notify them when they receive reputation?

I too was looking for this option.  Does it exist?
Not currently, but I can look into adding it in the future. Thanks for the idea. :)
Quote from: Babalui on August 15, 2010, 08:47:42 PM
I've been using this great mod without any problems, thanks for creating and support!

Just one quick question:
I've decided that new members should receive more points when they register and make new post. Under my previous settings their rep power is zero until they make 20 posts. New setting give new member 0.95 rep power after registering so they have 1 rep after first topic they start. But it works for new member only.

Any way to upgrade points for members that have registered before this latets change?

Thanks in advance!
If I understand your question, I'm afraid that I can't think of one.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Babalui on August 15, 2010, 11:01:26 PM
Quote from: Ha² on August 15, 2010, 10:23:16 PM
Quote from: Stigmartyr on August 12, 2010, 09:21:42 PM
Quote from: oyabun23 on July 09, 2010, 04:59:42 AM
One question:

Is it possible to automatically send members a private message/notify them when they receive reputation?

I too was looking for this option.  Does it exist?
Not currently, but I can look into adding it in the future. Thanks for the idea. :)

Any chance to add it for 1.xx ?

Quote
Quote from: Babalui on August 15, 2010, 08:47:42 PM
I've been using this great mod without any problems, thanks for creating and support!

Just one quick question:
I've decided that new members should receive more points when they register and make new post. Under my previous settings their rep power is zero until they make 20 posts. New setting give new member 0.95 rep power after registering so they have 1 rep after first topic they start. But it works for new member only.

Any way to upgrade points for members that have registered before this latets change?

Thanks in advance!
If I understand your question, I'm afraid that I can't think of one.

I mean, something like when I installed rep, and run that script to assign initial rep, but this time I would like to "bump" them a bit.
Maybe something very simple, like adding certain points to older members?
Or, if I run that script again, what will happen to previous points and rep added/deducted?

Thansk again
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: mgrmgr on August 17, 2010, 05:21:43 AM
I hate being a nuisance - but does really nobody has a hint for my question in http://www.simplemachines.org/community/index.php?topic=230676.msg2725890#msg2725890 ???

I didn't find a hint about having addressed the problem in the latest version's changelog :(
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Nick Whetstone on August 17, 2010, 10:48:15 AM
Quote from: mgrmgr on August 17, 2010, 05:21:43 AM
I hate being a nuisance - but does really nobody has a hint for my question in http://www.simplemachines.org/community/index.php?topic=230676.msg2725890#msg2725890 ???

I didn't find a hint about having addressed the problem in the latest version's changelog :(
I'm sorry I've missed your question.
Will you please attach your Karma.php file?
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: mgrmgr on August 19, 2010, 12:06:29 PM
Thanks for responding at last, I see sometimes persistency can be useful :) (Don't worry - I DO know how easy it is to overlook a question :) )

Find my karma.php attached and TIA for your help :)
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: tRu3_sKiTz0 on August 25, 2010, 08:00:34 PM
Is there a way I can switch to using the [applaud] and [smite] buttons as apposed to using the heart? I don't see the option to change it anywhere.

Thanks in advance.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: ɔɔɔɔɔɔuɥoɾ on August 25, 2010, 08:28:55 PM
Quote from: tRu3_sKiTz0 on August 25, 2010, 08:00:34 PM
Is there a way I can switch to using the [applaud] and [smite] buttons as apposed to using the heart? I don't see the option to change it anywhere.

Thanks in advance.

Their is a mod for Karma buttons (up arrow and down arrow), however, since this mod basically changes everything in karma coding, it may be a little difficult to install
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: tRu3_sKiTz0 on August 25, 2010, 09:14:09 PM
Quote from: JohnCcCcCc on August 25, 2010, 08:28:55 PM
Their is a mod for Karma buttons (up arrow and down arrow), however, since this mod basically changes everything in karma coding, it may be a little difficult to install

I am looking at the mods now and they all seem to change the [applaud] and [smite] buttons, but what I want is to replace the heart with the two text buttons. I see in the options that the text buttons say (not used). How do I (use) them? Is there a line of code that I could change? Or would you still suggest using the mod you suggested previously? I just don't like the heart button.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: ɔɔɔɔɔɔuɥoɾ on August 25, 2010, 09:25:18 PM
If you have this installed, any other mods that change karma will be difficult installations, once upon a time I used this and the karma buttons mod together, I'm pretty sure they worked well, it was a long time ago though..
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: tRu3_sKiTz0 on August 25, 2010, 10:46:38 PM
Yeah I think I will just leave it alone. Only myself and global moderators can see it anyway.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Afro on August 26, 2010, 09:46:23 AM
I cant seem to see the applaud and smite links. what am missing ?
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Spoogs on August 26, 2010, 10:04:17 AM
There should be a red heart (or is it blue... i change the image so i dont remember) applaud/smite isnt used.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Afro on August 26, 2010, 10:16:29 AM
Well, i dont see it on my post display page. Could it be conflicting with the shop mod ?

There is also no " in-post rate/comment popup box"
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Spoogs on August 26, 2010, 10:29:23 AM
not sure, I've never used the shop mod before,
check 'themes/default/images' folder for karma.gif
if its not there i attached the image for you
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Afro on August 26, 2010, 10:34:10 AM
Thanks, but the image is there with other kama_based images.
It could be a custom edit on the display.template.php.
I will compare mine with a clean one.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Afro on August 26, 2010, 10:43:17 AM
The clean display.template  with the advanced reputation codes added, did not produce the heart as well.
So it boils down to either configuration issues or -i dont know what-
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Spoogs on August 26, 2010, 10:53:20 AM
hmm its there for me on a clean install as well as a mildly modded board (i use my own image here)
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Afro on August 26, 2010, 11:00:02 AM
Can i see the link ? i wanna know where it is located exactly, that could help narrow the problematic file down.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Spoogs on August 26, 2010, 11:12:45 AM
http://mafiawars-tia.com/Themes/Whisper_Gray/images/karma.gif
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Afro on August 26, 2010, 11:27:53 AM
Thanks spoogs. I initially disabled "Show view profile button under post:" from current theme settings.
I got the idea when i visited your forum.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Spoogs on August 26, 2010, 11:30:13 AM
 8) glad ya got it working
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Dustin on August 26, 2010, 11:45:19 AM
Hello -

I'm running SMF 1.1.11 with ARS and was wondering if there was a way to have the Rep Box open within the post it was clicked on instead of at the very top of the thread. thank you
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Gepard on August 26, 2010, 01:00:19 PM
I'm using this mod with 2.0 RC3 and karmaMaxPerDay setting doesn't seem to work.

Description is
QuoteHow many times a day can a person give reputation?

Code processing this setting is as follows:
// Used up all of their $modSettings['karmaMaxPerDay'] ?
if (!empty($modSettings['karmaMaxPerDay']) && ($modSettings['karmaMaxPerDay'] > 0))
{
// Find out if this user has done this in the past 24 hours.
$request = $smcFunc['db_query']('', '
SELECT log_time
FROM {db_prefix}log_karma
WHERE id_executor = {int:current_member}
AND log_time >= {int:yesterday}',
array(
'current_member' => $user_info['id'],
'yesterday' => $hoursAgo,
)
);

if ($smcFunc['db_num_rows']($request) >= $modSettings['karmaMaxPerDay']){ // but why would they be over?
$smcFunc['db_free_result']($request);
fatal_lang_error('karma_maxed_out', false, array($modSettings['karmaMaxPerDay']));
}

$smcFunc['db_free_result']($request);
}


I'm not familiar enough with SMF internals, like DB functions, so I can't see anything wrong here. Strangely enough it works if I set karmaMaxPerDay to 1. But if I put any number greater than 1, it just doesn't work (I can change reputation as if there was no daily limit).

I suppose it has smth to do wrong number of rows returned, but that's just a guess.

Karma log works fine, so it's not log's fault.

BTW. What are 'Description' and 'link' columns in '{prefix}_log_karma' table? (Nvm, these are leftovers after Karma Description Mod)

EDIT:
Some insights:
- karmaMaxPerDay gets ignored only with JS/AJAX enabled; if I disable JS (for example with NoScript FF plugin), I get the karma_maxed_out error message.
- the 1.8.1 package for 2.0 (http://custom.simplemachines.org/mods/index.php?action=download;mod=1129;id=138373) has a bug: german template mod file affects english template files (due to incorrect names, copypasted probably)
- with karmaWaitTime enabled (hours between reputation actions), you get a karma_please_wait error message if you try to make another karma action within the time limit; ARS gives user approximate minutes until they can make another action, but it's wrong, because ARS queries for the first (oldest) action, but it should query for the last (most recent) action
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: TurdS on August 29, 2010, 09:46:28 PM
I'm also having a problem with Reputation Power showing anything other than 0, nor is it showing anything other than 1 bar (icon), on a user's post even though they have rep. I'm using SMF 2.0 RC3 and v1.8.1 of the mod. Some one said they had the same problem, and that they solved it but didn't state how.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Spoogs on August 29, 2010, 10:00:11 PM
read post #1
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: TurdS on August 29, 2010, 10:23:45 PM
Quote from: Spoogs on August 29, 2010, 10:00:11 PM
read post #1

Yeah, re-reading it again. Thanks again. Sorry for the stupid post.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: THE BRA1N on September 04, 2010, 08:22:29 PM
I updated the mod as well as the board from RC2 to RC3 and after that everyone's logs got wiped out to "You haven't sent or received any reputation!"

Is there a way to restore the logs short of downgrading back to RC2? 
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Fustrate on September 05, 2010, 12:51:29 AM
Do you have a backup of your database?
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: THE BRA1N on September 05, 2010, 07:09:13 AM
Quote from: Fustrate on September 05, 2010, 12:51:29 AM
Do you have a backup of your database?

Yes.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Babalui on September 07, 2010, 01:29:38 AM
Regarding rep power bar (dark green / light green)...

Any way to change how it is displayed?
Say, dark green goes up to 10 bars, then changes to 1 dark and light greens are added up to 10, then changes to 2 dark and so on, 10 in total in each case.
Or, dark green goes up to 5-10, then changes to light green that go up to 5-10, then to gold that go up to 5-10, and so on...

thanks in advance
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: rdawg on September 08, 2010, 02:17:45 PM
Hello, im curious about something, please excuse me if it is posted, i did a search on this topic and didnt find it.

I would like to know if the reputation that the users give to each other should affect the reputation counter ?

I see that when they post the counter increments as it is defined on the setting, if they create a topic it also increments.

But when i give good reputation it shows on their profile reputation section but the counter does not increment, is this correct?

I thought that this mod was about users giving points to each other not only by posts/topics.

Thank you :=)
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Neo_TE on September 16, 2010, 05:48:04 AM

I use "SMF 2.0 RC3" and I see the following errors in the error log even though the guests cannot see the HEART ICON which is used to modify the karma and as per the permissions set in the forums, guests cannot modify the karma.


/forum/index.php?action=modifykarma
8: Undefined index: m
File: /home/zzzz/public_html/forums/Sources/Karma.php
Line: 234

/forum/index.php?action=modifykarma
8: Undefined index: uid
File: /home/zzzz/public_html/forums/Sources/Karma.php
Line: 233

The following are the codes in lines 233,234 & 235 respectively.
    // These _must_ be numbers, no matter what.
    $uid = (int) $_POST['uid'];
    $message_id = (int) $_POST['m'];
    $topic_id = (int) $_POST['topic'];


Any help/clarification would be appreciated. Thanks. (http://www.simplemachines.org/community/Smileys/default/smiley.gif)
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Neo_TE on September 16, 2010, 05:50:02 AM
Quote from: rdawg on September 08, 2010, 02:17:45 PM
Hello, im curious about something, please excuse me if it is posted, i did a search on this topic and didnt find it.

I would like to know if the reputation that the users give to each other should affect the reputation counter ?

I see that when they post the counter increments as it is defined on the setting, if they create a topic it also increments.

But when i give good reputation it shows on their profile reputation section but the counter does not increment, is this correct?

I thought that this mod was about users giving points to each other not only by posts/topics.

Thank you :=)

when you give good reputation the counter will increase. check properly. :)
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Neo_TE on September 16, 2010, 05:51:43 AM
Quote from: Babalui on September 07, 2010, 01:29:38 AM
Regarding rep power bar (dark green / light green)...

Any way to change how it is displayed?
Say, dark green goes up to 10 bars, then changes to 1 dark and light greens are added up to 10, then changes to 2 dark and so on, 10 in total in each case.
Or, dark green goes up to 5-10, then changes to light green that go up to 5-10, then to gold that go up to 5-10, and so on...

thanks in advance
you can do that but you need to upload images of what you need and also change the coding (bit hard but possible) to achieve that.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Babalui on September 16, 2010, 06:52:43 AM
Quote from: Neo_TE on September 16, 2010, 05:51:43 AM
Quote from: Babalui on September 07, 2010, 01:29:38 AM
Regarding rep power bar (dark green / light green)...

Any way to change how it is displayed?
Say, dark green goes up to 10 bars, then changes to 1 dark and light greens are added up to 10, then changes to 2 dark and so on, 10 in total in each case.
Or, dark green goes up to 5-10, then changes to light green that go up to 5-10, then to gold that go up to 5-10, and so on...

thanks in advance
you can do that but you need to upload images of what you need and also change the coding (bit hard but possible) to achieve that.

I see, thanks.
Well, that a bit over my head, but it would be nice to introduce that coding, cos I have rather small community, where best rep is +3784, 10th rep is +949, and 20th rep is +384.
With current options at hand, I cannot set up rep bars to represent over that range. Those with small rep are having too small bars, and those with higher rep are running out of space to display bars.
If I set up highest ranking to show all bars, then those with lower ranking will look like they are degraded. If I set more then one bars for those under +500, members with large rep are having same number of bars (max).
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Babalui on September 16, 2010, 06:54:10 AM
Ehm,
Another kind request :)

I would like to show reputation on memberlist. Anyone done that?
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Neo_TE on September 21, 2010, 04:56:21 AM
Quote from: Neo_TE on September 16, 2010, 05:48:04 AM

I use "SMF 2.0 RC3" and I see the following errors in the error log even though the guests cannot see the HEART ICON which is used to modify the karma and as per the permissions set in the forums, guests cannot modify the karma.


/forum/index.php?action=modifykarma
8: Undefined index: m
File: /home/zzzz/public_html/forums/Sources/Karma.php
Line: 234

/forum/index.php?action=modifykarma
8: Undefined index: uid
File: /home/zzzz/public_html/forums/Sources/Karma.php
Line: 233

The following are the codes in lines 233,234 & 235 respectively.
    // These _must_ be numbers, no matter what.
    $uid = (int) $_POST['uid'];
    $message_id = (int) $_POST['m'];
    $topic_id = (int) $_POST['topic'];


Any help/clarification would be appreciated. Thanks. (http://www.simplemachines.org/community/Smileys/default/smiley.gif)

bump. now more similar error shows up in the log. :( please help. :(
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Neo_TE on September 21, 2010, 05:08:46 AM
Quote from: Babalui on September 16, 2010, 06:52:43 AM
I see, thanks.
Well, that a bit over my head, but it would be nice to introduce that coding, cos I have rather small community, where best rep is +3784, 10th rep is +949, and 20th rep is +384.
With current options at hand, I cannot set up rep bars to represent over that range. Those with small rep are having too small bars, and those with higher rep are running out of space to display bars.
If I set up highest ranking to show all bars, then those with lower ranking will look like they are degraded. If I set more then one bars for those under +500, members with large rep are having same number of bars (max).
check pm. :)
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: lhz on September 21, 2010, 05:53:24 PM
When I enter in "View Reputation", it's not well organized. For example, Page 3 shows actions from two days ago and page 2 shows actions from today and yesterday. There is a way to make it more organized (Or sort it in any way I want)?
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Babalui on September 29, 2010, 11:40:00 AM
Quote from: Neo_TE on September 21, 2010, 05:08:46 AM
check pm. :)

darn, I tried as you told me, but I'm too... erm.. not enough... youknow... I don't know how exactly :(

I just cannot figure out what piece of code (and how) displays image bars, keep crashing the forum with each try.

I found this piece, but if it is relevant, what to do with it? How to select rep points in a certain range, so I could display a certain pic?

$points = $profile['karmaGood'] - $profile['karmaBad'];
$power = ($points - ($points % $modSettings['karmaBarPower'])) / $modSettings['karmaBarPower'];
$bars = ($points - ($points % $modSettings['karmaBarPoints'])) / $modSettings['karmaBarPoints'];
$bars = $bars == 0 ? 1 : $bars;
$bars = ($bars > $modSettings['karmaMaxBars']) ? $modSettings['karmaMaxBars'] : $bars;
$descriptions = preg_split("/(\r)?\n/", $modSettings['karmaDescriptions']);
$description = $descriptions[$bars - 1];

for($i = 0; $i < $bars; $i++)
$profile['karma_bars'][] = array(
'type' => 'Good_basic',
'desc' => $description
);
if($bars >= $modSettings['karmaSuperBar'])
for($i = ($modSettings['karmaSuperBar'] - 1); $i < $bars; $i++)
$profile['karma_bars'][$i]['type'] = 'Good_super';

Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Babalui on September 30, 2010, 08:27:09 AM
Whatever I do, it ain't working.
Current scheme of 12 rep bars is not good enough for correct visual representation.

Is there any way to increase maximum number of bars?
How exactly are they split into 6+6? Any way to change into 10+10, if if cannot be done for 5+5+5+5 or similar?
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: j_jindal1 on October 03, 2010, 02:28:25 AM
Quote from: Neo_TE on September 16, 2010, 05:48:04 AM

I use "SMF 2.0 RC3" and I see the following errors in the error log even though the guests cannot see the HEART ICON which is used to modify the karma and as per the permissions set in the forums, guests cannot modify the karma.


/forum/index.php?action=modifykarma
8: Undefined index: m
File: /home/zzzz/public_html/forums/Sources/Karma.php
Line: 234

/forum/index.php?action=modifykarma
8: Undefined index: uid
File: /home/zzzz/public_html/forums/Sources/Karma.php
Line: 233

The following are the codes in lines 233,234 & 235 respectively.
    // These _must_ be numbers, no matter what.
    $uid = (int) $_POST['uid'];
    $message_id = (int) $_POST['m'];
    $topic_id = (int) $_POST['topic'];


Any help/clarification would be appreciated. Thanks. (http://www.simplemachines.org/community/Smileys/default/smiley.gif)
Even my error log is full of these errors.... Any help is appreciated.

For making it work with my current theme, do I need to modify the specific files of current theme wrt themes/default/* updates.. ??
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: KensonPlays on October 12, 2010, 02:29:28 PM
I get this for some reason:
(http://img1.uploadscreenshot.com/images/thumb/10/28414264571.png) (http://www.uploadscreenshot.com/image/146236/6939046)
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Spoogs on October 12, 2010, 02:36:46 PM
as opposed to?

from the looks of that you need to upload the rep icons to your themes image folder.

Otherwise be more specific than just posting an image.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: OnlineFunCorner on October 18, 2010, 03:53:52 PM
Thanks For Nice MOD
...
I Want To Reset Reputation
I Run Query As
UPDATE smf_members
SET karmaGood = 0, karmaBad = 0
WHERE 1=1


That's Error Occurred
#1054 - Unknown column 'karmaGood' in 'field list'
UPDATE smf_members SET karmaGood =0,
karmaBad =0 WHERE 1 =1


May Be karmaBad & karmaGood Are Not Fount In Table  smf_members

Thanks In Advance
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Ryan2320 on November 01, 2010, 11:13:04 PM
Will this Mod Support 2.0RC4?
I am throwing a guess and saying yes as this already supports 2.0RC3

Thanks for the mod and your support,
Ryan
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: madman71 on November 04, 2010, 12:55:43 PM
Im trying to run the GiveReputation.php in my forum root and it gives me this error.

Any ideas anyone?

Fatal error: Call to undefined function ratioColor() in /blah/blah/domains/morningpeaches.us/blah/forum/Sources/Load.php on line 515

this is line 515 in my LOAD.php
'ratio' => !isset($user_settings['downloaded']) || !isset($user_settings['uploaded'])  ? '' : ratioColor($user_settings['uploaded'], $user_settings['downloaded']),
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Fustrate on November 04, 2010, 01:46:47 PM
ratioColor isn't part of the reputation mod. Have you installed any download or upload mods? It looks like that's where the problem's coming from, so you'll have to ask the author of that mod.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: madman71 on November 04, 2010, 01:51:50 PM
Quote from: Fustrate on November 04, 2010, 01:46:47 PM
ratioColor isn't part of the reputation mod. Have you installed any download or upload mods? It looks like that's where the problem's coming from, so you'll have to ask the author of that mod.

ahh! thank you so much. i'll look into it
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Nick Whetstone on November 04, 2010, 11:51:11 PM
Quote from: Dr.IT on October 18, 2010, 03:53:52 PM
Thanks For Nice MOD
...
I Want To Reset Reputation
I Run Query As
UPDATE smf_members
SET karmaGood = 0, karmaBad = 0
WHERE 1=1


That's Error Occurred
#1054 - Unknown column 'karmaGood' in 'field list'
UPDATE smf_members SET karmaGood =0,
karmaBad =0 WHERE 1 =1


May Be karmaBad & karmaGood Are Not Fount In Table  smf_members

Thanks In Advance
Try this query instead:
UPDATE smf_members
SET karma_good = 0, karma_bad = 0
WHERE 1=1
Quote from: Ryan2320 on November 01, 2010, 11:13:04 PM
Will this Mod Support 2.0RC4?
I am throwing a guess and saying yes as this already supports 2.0RC3

Thanks for the mod and your support,
Ryan
I will update it when I can. Unfortunately, school and football are pretty much taking up all of my time through the week, and I've been busy the past few weekends; but, I will get an RC4 version out as soon as I can.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Ryan2320 on November 05, 2010, 12:33:47 AM
Quote from: Ha² on November 04, 2010, 11:51:11 PM
I will update it when I can. Unfortunately, school and football are pretty much taking up all of my time through the week, and I've been busy the past few weekends; but, I will get an RC4 version out as soon as I can.

Whenever you have the time no rush, and thanks for the reply..  :)

Ryan
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: D.Dimov on November 08, 2010, 08:47:51 AM
Hello all,

Please for your support. I just can't activate Advanced Reputation System on my forum and I would really love to!!! I can't find after installation the tab Configuration > Figures & Options > Reputation and then in Members > Permissions can't select which membergroups I want to be able to give positive reputation.

Here is information about the forum version and the theme I use:
-> SMF 1.1.11
-> Theme: Babylon

I am very sorry if my question is already answered. :) I will also attach pictures form the forum:

Thnks in advance for the help,
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: kurosaki00 on November 10, 2010, 02:51:19 PM
Hi can anyone help me

The + / - doesnt show
The bar shows, the powe too but I cant give/smite other users.
Please some help with this
thank you
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: kizko on November 10, 2010, 04:35:40 PM
Why when i give I agree, it add 760 to reputation?

How can i reset the reputation all to 0?
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: MH-MINI on November 15, 2010, 10:41:38 PM
How would I install this for RC4?

Thanks
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Neo_TE on November 16, 2010, 07:00:11 AM
Quote from: kurosaki00 on November 10, 2010, 02:51:19 PM
Hi can anyone help me

The + / - doesnt show
The bar shows, the powe too but I cant give/smite other users.
Please some help with this
thank you
If you are using smf 2.0 rc4 then the problem is coz this mod does not support rc4, it supports upto rc3 only. so wait for the author to update it.

Quote from: kizko on November 10, 2010, 04:35:40 PM
Why when i give I agree, it add 760 to reputation?

How can i reset the reputation all to 0?
no idea. wait for some experienced member to help you.

Quote from: MH-MINI on November 15, 2010, 10:41:38 PM
How would I install this for RC4?

Thanks
It supports upto rc3 only. so wait for the author to update it. i am also waiting for the update.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: DarkFX on November 23, 2010, 08:56:14 PM
I used SMF 1.1.11 when i apply installation I've got this error.. :(  what can i do this error?

Type Action Description
1. Execute Code install.php
2. Execute Modification ./index.php Test successful
3. Execute Modification ./Themes/default/Display.template.php Test successful
4. Execute Modification ./Themes/default/PersonalMessage.template.php Test successful
5. Execute Modification ./Themes/default/Profile.template.php Test successful
6. Execute Modification ./Themes/default/Stats.template.php Test successful
7. Execute Modification ./Themes/default/script.js Test successful
8. Execute Modification ./Themes/default/style.css Test successful
9. Execute Modification ./Sources/Admin.php Test successful
10. Execute Modification ./Sources/Display.php Test successful
11. Execute Modification ./Sources/Karma.php Test successful
12. Execute Modification ./Sources/Load.php Test failed
13. Execute Modification ./Sources/ManagePermissions.php Test successful
14. Execute Modification ./Sources/ManageServer.php Test successful
15. Execute Modification ./Sources/ModSettings.php Test successful
16. Execute Modification ./Sources/Post.php Test successful
17. Execute Modification ./Sources/Profile.php Test successful
18. Execute Modification ./Sources/RemoveTopic.php Test successful
19. Execute Modification ./Sources/Stats.php Test successful
20. Execute Modification ./Sources/Subs-Members.php Test successful
21. Execute Modification ./Themes/default/languages/Errors.english.php Test successful
22. Execute Modification ./Themes/default/languages/Help.english.php Test successful
23. Execute Modification ./Themes/default/languages/index.english.php Test successful
24. Execute Modification ./Themes/default/languages/ManagePermissions.english.php Test successful
25. Execute Modification ./Themes/default/languages/ModSettings.english.php Test successful
26. Execute Modification ./Themes/default/languages/Reports.english.php Test successful
27. Execute Modification ./Themes/default/languages/Stats.english.php Test successful
28. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
29. Execute Modification ./Themes/default/languages/Errors.english-utf8.php Test successful
30. Execute Modification ./Themes/default/languages/Help.english-utf8.php Test successful
31. Execute Modification ./Themes/default/languages/index.english-utf8.php Test failed
32. Execute Modification ./Themes/default/languages/ManagePermissions.english-utf8.php Test successful
33. Execute Modification ./Themes/default/languages/ModSettings.english-utf8.php Test successful
34. Execute Modification ./Themes/default/languages/Reports.english-utf8.php Test successful
35. Execute Modification ./Themes/default/languages/Stats.english-utf8.php Test successful
36. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php Test successful
37. Execute Modification ./Themes/default/languages/Errors.russian.php Skipping file
38. Execute Modification ./Themes/default/languages/Help.russian.php Skipping file
39. Execute Modification ./Themes/default/languages/index.russian.php Skipping file
40. Execute Modification ./Themes/default/languages/ManagePermissions.russian.php Skipping file
41. Execute Modification ./Themes/default/languages/ModSettings.russian.php Skipping file
42. Execute Modification ./Themes/default/languages/Reports.russian.php Skipping file
43. Execute Modification ./Themes/default/languages/Stats.russian.php Skipping file
44. Execute Modification ./Themes/default/languages/Modifications.russian.php Skipping file
45. Execute Modification ./Themes/default/languages/Errors.russian-utf8.php Test successful
46. Execute Modification ./Themes/default/languages/Help.russian-utf8.php Test successful
47. Execute Modification ./Themes/default/languages/index.russian-utf8.php Test successful
48. Execute Modification ./Themes/default/languages/ManagePermissions.russian-utf8.php Test successful
49. Execute Modification ./Themes/default/languages/ModSettings.russian-utf8.php Test successful
50. Execute Modification ./Themes/default/languages/Reports.russian-utf8.php Test successful
51. Execute Modification ./Themes/default/languages/Stats.russian-utf8.php Test successful
52. Execute Modification ./Themes/default/languages/Modifications.russian-utf8.php Test successful
53. Execute Modification ./Themes/default/languages/Errors.spanish_latin.php File not found
54. Execute Modification ./Themes/default/languages/Help.spanish_latin.php File not found
55. Execute Modification ./Themes/default/languages/index.spanish_latin.php File not found
56. Execute Modification ./Themes/default/languages/ManagePermissions.spanish_latin.php File not found
57. Execute Modification ./Themes/default/languages/ModSettings.spanish_latin.php File not found
58. Execute Modification ./Themes/default/languages/Reports.spanish_latin.php File not found
59. Execute Modification ./Themes/default/languages/Stats.spanish_latin.php File not found
60. Execute Modification ./Themes/default/languages/Modifications.spanish_latin.php File not found
61. Execute Modification ./Themes/default/languages/Errors.spanish_latin.php File not found
62. Execute Modification ./Themes/default/languages/Help.spanish_latin.php File not found
63. Execute Modification ./Themes/default/languages/index.spanish_latin.php File not found
64. Execute Modification ./Themes/default/languages/ManagePermissions.spanish_latin.php File not found
65. Execute Modification ./Themes/default/languages/ModSettings.spanish_latin.php File not found
66. Execute Modification ./Themes/default/languages/Reports.spanish_latin.php File not found
67. Execute Modification ./Themes/default/languages/Stats.spanish_latin.php File not found
68. Execute Modification ./Themes/default/languages/Modifications.spanish_latin.php File not found
69. Extract File ./Themes/default/Karma.template.php
70. Extract File ./Themes/default/images/karma.gif
71. Extract File ./Themes/default/images/karmaBad_basic.gif
72. Extract File ./Themes/default/images/karmaGood_basic.gif
73. Extract File ./Themes/default/images/karmaBad_super.gif
74. Extract File ./Themes/default/images/karmaGood_super.gif
75. Extract File ./Themes/default/images/karma_disabled_basic.gif
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: moviespot on December 03, 2010, 01:39:03 AM
please update for 2.0 RC4,

I Hope you can make it support this version.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Witchboard on December 03, 2010, 09:14:51 PM
Hello.  I've installed the mod, but ran into a little problem.  I'm currently running SMF 1.1.12.  When reputation is enabled, I don't get any images, but still get what looks to be the original applaud and smite texts.  I've copied the image files and Karma template to my Babylon themes directory.  When I try and change the reputation, I get a message that states:

QuoteSession verification failed. Please try logging out and back in again, and then try again.

The forum logs report the following error:

Quote8: Undefined index:
File: /home/xxx/public_html/forum/Sources/Karma.php
Line: 207

I've attached my Karma.php for review.  I noticed one other person had the same error, but no resolution was provided as is host assisted him with the resolution.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: sdkid on December 12, 2010, 03:37:17 PM
Quote from: Ha² on November 04, 2010, 11:51:11 PM
...I will update it when I can. Unfortunately, school and football are pretty much taking up all of my time through the week, and I've been busy the past few weekends; but, I will get an RC4 version out as soon as I can.

Perhaps we will all get a nice "Advanced Rep for 2.0 RC4" Christmas present?  :)

Happy Holidays dude.   8)
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Babalui on December 19, 2010, 09:43:48 AM
I've made some changes in way points are added, and now I would like to boost some members rep.
Example:
How can I add 100 points to all members that currently have less then 110 pints?

Thanks in advance

SMF 1.1.12

Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: steve in houston on January 01, 2011, 04:46:37 PM
On the Reputation Log, how can I make it where it hides the topic names and descriptions
on boards that users dont have access to?

I don't want some people to see topic titles in other peoples logs if they dont have permission to that certain board.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Witchboard on January 01, 2011, 10:21:40 PM
Is this mod is being supported anymore?  It's been a month since some of the questions were posted and the developers have been online, but no responses have been posted.  Just wondering before I uninstall it.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Bigguy on January 01, 2011, 10:28:21 PM
The author was just online today, maybe he'll be back to answer some questions soon. It is the holidays after all. :) Be patient and things should happen soon. :)
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: IlyZor on January 02, 2011, 02:40:12 PM
Any chance this will support 1.1.12? I tried to install it anyway but SMF doesn't recognize the format.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Bigguy on January 02, 2011, 02:41:27 PM
Is there a version for SMF 1.1.12 ??? There may be two versions on the authors mod page.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: IlyZor on January 02, 2011, 03:08:57 PM
Compatible With:
    1.1.10, 1.1.11, 2.0 RC2, 2.0 RC3

No 1.1.12 there.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Bigguy on January 02, 2011, 03:13:12 PM
It should still install on 1.1.12 What would be required would be to open up the package-info.xml file and change the line that tells it what version to install for, repackage the mod and try that.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: IlyZor on January 02, 2011, 03:25:38 PM
I get this:

10.    Execute Modification    ./Sources/Display.php    Test failed
11.    Execute Modification    ./Sources/Karma.php    Test successful
12.    Execute Modification    ./Sources/Load.php    Test successful
13.    Execute Modification    ./Sources/ManagePermissions.php    Test failed

I don't have any karma mods apart from the built-in karma-functionality (which is used).
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Bigguy on January 02, 2011, 03:29:13 PM
OK, if that did not work then you will have to try to use the parser on the mod page and install it manually.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Nick Whetstone on January 02, 2011, 05:41:46 PM
Quote from: steve in houston on January 01, 2011, 04:46:37 PM
On the Reputation Log, how can I make it where it hides the topic names and descriptions
on boards that users dont have access to?

I don't want some people to see topic titles in other peoples logs if they dont have permission to that certain board.
Thank you for reporting that bug. I apologize there is currently no way to do this, but I will definitely look into a fix for this in the future.
Quote from: IlyZor on January 02, 2011, 03:25:38 PM
I get this:

10.    Execute Modification    ./Sources/Display.php    Test failed
11.    Execute Modification    ./Sources/Karma.php    Test successful
12.    Execute Modification    ./Sources/Load.php    Test successful
13.    Execute Modification    ./Sources/ManagePermissions.php    Test failed

I don't have any karma mods apart from the built-in karma-functionality (which is used).
Please attach the files which failed tests; also, please let me know the Mods that you currently have installed.
Quote from: Witchboard on January 01, 2011, 10:21:40 PM
Is this mod is being supported anymore?  It's been a month since some of the questions were posted and the developers have been online, but no responses have been posted.  Just wondering before I uninstall it.
I apologize for the slow responses in the support topic. With school, the holidays, and just everyday life, it sometimes doesn't allow me to respond as soon as I would like. It is my fault though, and again, I apologize for it.
Quote from: Witchboard on December 03, 2010, 09:14:51 PM
Hello.  I've installed the mod, but ran into a little problem.  I'm currently running SMF 1.1.12.  When reputation is enabled, I don't get any images, but still get what looks to be the original applaud and smite texts.  I've copied the image files and Karma template to my Babylon themes directory.  When I try and change the reputation, I get a message that states:

QuoteSession verification failed. Please try logging out and back in again, and then try again.

The forum logs report the following error:

Quote8: Undefined index:
File: /home/xxx/public_html/forum/Sources/Karma.php
Line: 207

I've attached my Karma.php for review.  I noticed one other person had the same error, but no resolution was provided as is host assisted him with the resolution.
This problem doesn't seem to show for me on my local installation. What other Mods do you have installed, and has this problem always occurred since you installed the ARS?
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Witchboard on January 02, 2011, 06:09:25 PM
Quote from: Ha² on January 02, 2011, 05:41:46 PM
Quote from: Witchboard on January 01, 2011, 10:21:40 PM
Is this mod is being supported anymore?  It's been a month since some of the questions were posted and the developers have been online, but no responses have been posted.  Just wondering before I uninstall it.
I apologize for the slow responses in the support topic. With school, the holidays, and just everyday life, it sometimes doesn't allow me to respond as soon as I would like. It is my fault though, and again, I apologize for it.

It's no worries.  Just thought I would check.

Quote
Quote from: Witchboard on December 03, 2010, 09:14:51 PM
Hello.  I've installed the mod, but ran into a little problem.  I'm currently running SMF 1.1.12.  When reputation is enabled, I don't get any images, but still get what looks to be the original applaud and smite texts.  I've copied the image files and Karma template to my Babylon themes directory.  When I try and change the reputation, I get a message that states:

QuoteSession verification failed. Please try logging out and back in again, and then try again.

The forum logs report the following error:

Quote8: Undefined index:
File: /home/xxx/public_html/forum/Sources/Karma.php
Line: 207

I've attached my Karma.php for review.  I noticed one other person had the same error, but no resolution was provided as is host assisted him with the resolution.
This problem doesn't seem to show for me on my local installation. What other Mods do you have installed, and has this problem always occurred since you installed the ARS?

I've since disabled ARS as it does not function due to the above error.  The regular Karma system worked fine prior to the installation.  Below is a list of my installed packages:

Mod Name Version 
1. SMF Trader System 1.1 
2. Auto Embed Video Clips 1.3 
3. Fix Message Empty Error For Embed Video Mods 1.0 
4. SMF 1.1.4 Search "brd" Bug Fix (1.0.1) 1.0.1 
5. SMF 1.0.13 / 1.1.5 / 2.0 b3.1 Update 1.0
6. SMF 1.0.14 / 1.1.6 Update 1.0
7. SMF 1.0.15 / 1.1.7 Update 1.0 
8. SMF 1.0.16 / 1.1.8 Update 1.0 
9. SMF 1.0.17 / 1.1.9 / 2.0 RC1 Update 1.0
10. SMF 1.0.18 / 1.1.10 / 2.0 RC1-2 Update 1.1 
11. SMF 1.0.19 / 1.1.11 Update 1.0
12. Ignore Another User 1.1
13. Bot Buster 1.1
14. SMF 1.0.20 / 1.1.12 Update 1.0
15. Move Topic Notification 1.2
16. Advanced Reputation System 0.1.5

Thanks for the assist.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: kidtienk on January 08, 2011, 12:26:36 AM
Can this mod installed on 2.0 rc4 ? or we must wait next release?
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: gisfreak on January 10, 2011, 11:44:56 AM
still confuse bout this warning

(you can see at the first post)

QuoteOne More Thing!

To install this modification in any theme other than Default, please click the box next to "Install in Other Themes" at the bottom of this page and check the applicable themes.

so where is the ""box next to "install in other themes" at the bottom of this page"", i can't find it ?

thanx
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Spoogs on January 10, 2011, 11:52:25 AM
Quote from: gisfreak on January 10, 2011, 11:44:56 AM
still confuse bout this warning

(you can see at the first post)

QuoteOne More Thing!

To install this modification in any theme other than Default, please click the box next to "Install in Other Themes" at the bottom of this page and check the applicable themes.

so where is the ""box next to "install in other themes" at the bottom of this page"", i can't find it ?

thanx
What version of SMF are you using... the option to install in other themes are a 2.0 feature, if using RC4 the additional themes are expanded by default so you see the other themes... (note the only other theme you will see is Core unless you have installed other themes).
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: IlyZor on January 14, 2011, 06:11:47 AM
QuotePlease attach the files which failed tests; also, please let me know the Mods that you currently have installed.

Here's what I got:

1.    Downloads System    1.3.5    
2.    Anonym.to All External Links    1.2    
3.    Hide Post    1.1    
4.    Cavecost Captcha    1.0    
5.    SMF 1.0.19 / 1.1.11 Update    1.0    
6.    SMF 1.0.20 / 1.1.12 Update    1.0    
7.    SMF Staff Page    1.7    
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Senkusha on January 15, 2011, 12:41:04 PM
Hi, I must be incompetent or something.  I've installed the mod (2.0RC4), I did get one error about Personal Messages, but everything else passed.  I see the green / red lights for reputation, but nowhere do I see any way to add reputation to anybody, even as the administrator.  I've gone into the permissions and enabled the + and - reputation for the Regular Members too.  I've refreshed my forum cache and my browser cache.  No difference.  Oh, and I've also enabled the Reputation mod too.

Help?
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: 4LP3RUZ1 on January 26, 2011, 07:41:59 AM
there are tiny differences in the RC4 templates (a bunch of border="0" additions) which results in this mod failing to apply. Because the changes to these template files are set to skip it looks like the mod is installed even though it actually hasnt.

I've corrected these template changes, you can try uninstalling and installing the version I attached below.

There were a few errors in the Turkish translations too so I changed those. Havent tested the UTF8 conversion though.

Please post the edits for the changes made instead of packing it as a modification. (F.L.A.M.E.R) (http://www.simplemachines.org/community/index.php?action=profile;u=148579) was here.

edit:

Ok here it is, didn't have the package saved so had to do a diff from scratch :D :P

To a clean display.template.php of 2.0 RC4 do these to get the reputation divider to display:

note: 1 or maybe 2 of these operations should have been applied already when you installed the mod, so make sure you are not applying the modification twice!

after <a id="top"></a>add <span id="reputation_menu" style="visibility: hidden; display: none;">
<div class="windowbg2">
<strong>', $txt['karma_add_to'], ': <span id="reputation_name">&nbsp;</span></strong>
<fieldset>
<legend>', $txt['karma_your_opinion'], '</legend>
<form id="reputation_form" name="reputation_form" action="', $scripturl, '?action=modifykarma" method="post" accept-charset="', $context['character_set'], '" class="reputation_form" onsubmit="aReputation[0].sendRep(); return false;">
<input type="radio" name="type" value="agree"', !$context['can_pos_rep'] ? ' disabled="disabled"' : ' checked="checked"', ' /> ', $txt['karma_agree'], '
<input type="radio" name="type" value="disagree"', !$context['can_neg_rep'] ? ' disabled="disabled"' : !$context['can_pos_rep'] ? ' checked="checked"' : '', ' /> ', $txt['karma_disagree'], '
<span id="reputation_fields">&nbsp;</span>
<br />
', $txt['comment'], ': <input type="text" name="reputation_comment" /><br />
<br />
<input type="submit" value="', $txt['submit'], '" />
<input type="hidden" name="topic" value="', $context['current_topic'], '.', $context['start'], '" />
<input type="hidden" id="sessionid" name="', $context['session_var'], '" value="', $context['session_id'], '" />
</form>
</fieldset>
<script language="JavaScript" type="text/javascript"><!-- // -->
// Ajaxify that reputation box!
if (typeof(window.XMLHttpRequest) != "undefined")
{
aReputation[0] = new Reputation({
sBackReference: "aReputation[0]",
sScriptUrl: "', $scripturl, '"
});
}
</script>
</div>
</span>


change thisif ($modSettings['karmaMode'] == '1')
echo '
<li class="karma">', $modSettings['karmaLabel'], ' ', $message['member']['karma']['good'] - $message['member']['karma']['bad'], '</li>';
elseif ($modSettings['karmaMode'] == '2')
echo '
<li class="karma">', $modSettings['karmaLabel'], ' +', $message['member']['karma']['good'], '/-', $message['member']['karma']['bad'], '</li>';

// Is this user allowed to modify this member's karma?
if ($message['member']['karma']['allow'])
echo '
<li class="karma_allow">
<a href="', $scripturl, '?action=modifykarma;sa=applaud;uid=', $message['member']['id'], ';topic=', $context['current_topic'], '.' . $context['start'], ';m=', $message['id'], ';', $context['session_var'], '=', $context['session_id'], '">', $modSettings['karmaApplaudLabel'], '</a>
<a href="', $scripturl, '?action=modifykarma;sa=smite;uid=', $message['member']['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';m=', $message['id'], ';', $context['session_var'], '=', $context['session_id'], '">', $modSettings['karmaSmiteLabel'], '</a>
</li>';
to thisif ($modSettings['karmaMode'] != '0')
{
echo '
<li class="karma">', $txt['karma_power'], ': ', $message['member']['karma']['power'], '</li>
<li class="karma_allow repbars">
';
foreach($message['member']['karma']['bars'] as $karma_bar)
echo '<img src="', $settings['images_url'], '/karma_', $karma_bar['type'], '.gif" title="', $message['member']['name'], ' ', $karma_bar['desc'], '" alt="', $message['member']['name'], ' ', $karma_bar['desc'], '" />';

echo '
</li>';
}


add before// Since we know this person isn't a guest, you *can* message them.this
// 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 id="repicon" 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'], ';', $context['session_var'], '=', $context['session_id'], '"><img src="', $settings['images_url'], '/karma.gif" alt="', $txt['add_karma'], '" title="', $txt['add_karma'], '" /></a></li>';
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Quexinos on January 28, 2011, 01:07:37 AM
Quote from: Senkusha on January 15, 2011, 12:41:04 PM
Hi, I must be incompetent or something.  I've installed the mod (2.0RC4), I did get one error about Personal Messages, but everything else passed.  I see the green / red lights for reputation, but nowhere do I see any way to add reputation to anybody, even as the administrator.  I've gone into the permissions and enabled the + and - reputation for the Regular Members too.  I've refreshed my forum cache and my browser cache.  No difference.  Oh, and I've also enabled the Reputation mod too.

Help?

Yeah I had the same problem XD

For some reason it skips a step.  You have to do this one:

Find:


// 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']['is_online'] ? $txt['pm_online'] : $txt['pm_offline'], '">', $settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/im_' . ($message['member']['online']['is_online'] ? 'on' : 'off') . '.gif" alt="' . ($message['member']['online']['is_online'] ? $txt['pm_online'] : $txt['pm_offline']) . '" border="0" />' : ($message['member']['online']['is_online'] ? $txt['pm_online'] : $txt['pm_offline']), '</a></li>';


Add Before:



// 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 id="repicon" 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'], ';', $context['session_var'], '=', $context['session_id'], '"><img src="', $settings['images_url'], '/karma.gif" alt="', $txt['add_karma'], '" title="', $txt['add_karma'], '" /></a></li>';



and you should be good to go ^_^

I can't get it to work properly on any of my square skins though... anyone had any luck with that?  When I click on the heart to rep the user, the options appear at the top of the topic and you have to scroll up.. it's weird XD

EDIT
HEY I fixed it... for anyone else with the same problem all you have to do is change

<span id="reputation_menu" style="visibility: hidden; display: none;">

to
<span id="reputation_menu" style="visibility: hidden; display: none; position: absolute">

and it should work just fine.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: XiFiCt69 on January 31, 2011, 04:28:27 AM
Hi all people of SMF,

First of all sorry about my English, but I'm from Spain, so I will do my best.

I didn't find any spanish topic about that. What you did for install this mod on SMF 2.0 RC4? I need to install this mod on my website inmediately cause the people gets Karma positive/negative without any reason.

Thank you in advance. :)
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Quexinos on February 01, 2011, 04:08:30 AM
I just... tried to install it and it installed, what error are you getting?
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Fustrate on February 01, 2011, 03:51:19 PM
Quote from: (Ha)² on January 02, 2011, 05:41:46 PM
Quote from: steve in houston on January 01, 2011, 04:46:37 PM
On the Reputation Log, how can I make it where it hides the topic names and descriptions
on boards that users dont have access to?

I don't want some people to see topic titles in other peoples logs if they dont have permission to that certain board.
Thank you for reporting that bug. I apologize there is currently no way to do this, but I will definitely look into a fix for this in the future.

Not having looked at SMF code in a year, I can't really remember what the variable is called, but there's something like $modSettings['query_boards_can_see'] that you can use when querying the boards/topics tables.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: XiFiCt69 on February 02, 2011, 04:57:17 AM
Quote from: Quexinos on February 01, 2011, 04:08:30 AM
I just... tried to install it and it installed, what error are you getting?

If I try to install, it says that to me...

QuoteEl paquete que estas intentando descargar o instalar está dañado o no es compatible con esta versión de SMF.

In English, translated by me...

QuoteThis package that you are trying to download or install it's damaged or it's not compatible with this versión of SMF.

I have SMF 2.0 RC4. Greetings and thank you for your support.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Arantor on February 02, 2011, 07:04:59 AM
Quote from: Fustrate on February 01, 2011, 03:51:19 PM
Quote from: (Ha)² on January 02, 2011, 05:41:46 PM
Quote from: steve in houston on January 01, 2011, 04:46:37 PM
On the Reputation Log, how can I make it where it hides the topic names and descriptions
on boards that users dont have access to?

I don't want some people to see topic titles in other peoples logs if they dont have permission to that certain board.
Thank you for reporting that bug. I apologize there is currently no way to do this, but I will definitely look into a fix for this in the future.

Not having looked at SMF code in a year, I can't really remember what the variable is called, but there's something like $modSettings['query_boards_can_see'] that you can use when querying the boards/topics tables.

It's $user_info['query_see_board'], in 2.0 there's a proper {query_see_board} replacement. But when making the query the boards table needs to be joined somewhere, and aliased as 'b' since {query_see_board} is basically "WHERE b.id_board IN (1,2,3,4)"
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: 4LP3RUZ1 on February 02, 2011, 07:43:16 AM
This mod very rarely spits out error messages concerning variables "m" "topic" and "uid" on Karma.php lines 233-235.

This is due to the execution of modifyKarma in some inproper manner I'm guessing.

I think the fix is to move the lines

// These _must_ be numbers, no matter what.
$uid = (int) $_POST['uid'];
$message_id = (int) $_POST['m'];
$topic_id = (int) $_POST['topic'];


after these: // If you're a guest or can't do this, blow you off...
is_not_guest();
isAllowedTo('karma_edit');

checkSession('request');


I did that, and the errors seem to have disappeared and karma changes seem to work fine.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Arantor on February 02, 2011, 08:02:24 AM
The reason is, something's calling the modify action without the proper parameters (e.g. expecting the old parameters?) and it's kicked at the door with the above.

It would also be helpful if the code where to check that $_POST['uid'] existed before trying to use it...
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: reefforum on February 08, 2011, 06:35:13 PM
Quote from: fable1 on August 05, 2010, 05:51:13 PM
Unknown column 'k.message' in 'field list'
File: /mnt/glusterfs/apache/hosting-dir/126832/user_dir/runefable.com/forum/Sources/Display.php
Line: 741


I get this error when I try to view posts on my forum after installing this mod. Please help me

this has caused the problems:
1. new users cannot register to my forum
2. posts cannot be viewed by anybody

maybe more I haven't spotted.

exact same issue here. This mod disabled the forum(default theme) at busiest time of the day.  Was is not for my host coming to rescue, I would have been in deep trouble.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: nick03 on February 11, 2011, 12:22:17 PM
I have smf 1.1.12 and i have a small problem ...
if i increase the reputation by the post, with pop-up window, the vote is not given ...
when I see the user profile, in the reputation window, I see my vote, but the gif to the left is gray, even if I gave positive vote or negative vote ...

can you tell me what's the problem?
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: 4LP3RUZ1 on February 14, 2011, 08:38:10 AM
Some of my members (admins nonetheless) report that when they give out positive reputation, their own reputation is reduced. Is this possible? Anyone noticed anything like this? I didn't have time to examine the algorithms but found this to be very strange. I tried reproducing the case with my own account but did not succeed.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: IlyZor on February 15, 2011, 06:16:20 PM
Ok, how do I make manual changes to the files that failed? Where do I find this parser? When I select manual installation instructions it says the versions are unsupported (even though the compat. list says different).
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: 4LP3RUZ1 on February 16, 2011, 02:27:00 AM
try version RC3

about the decreasing reputation problem I mentioned above... I'm still trying to nail it down, i think it is because of the reputation points the system gives when opening a new topic...

edit: I'm now 99% sure now that deleted topic and messages were the cause. It doesn't make sense to me for karma to be taken away for deleted messages so I removed that bit.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: XiFiCt69 on February 16, 2011, 10:02:11 AM
Will (Ha)² do an update for the RC5 of the SMF 2.0?
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: IlyZor on February 16, 2011, 10:55:25 AM
But I'm using SMF 1.1.13?
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: 4LP3RUZ1 on February 16, 2011, 12:47:05 PM
then try 1.1.11 or 12 there isn't really anything different between the minor versions
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: devoetbalkantine on February 16, 2011, 07:58:25 PM
Is there any chance this iwll be available for 2.0 RC5 soon?
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: XiFiCt69 on February 17, 2011, 03:13:20 AM
I'm waiting too for the update but the author don't say nothing about that.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: 4LP3RUZ1 on February 17, 2011, 03:14:56 AM
well it hasn't been updated to rc4 either, but you can install and use it with slight modifications to the code discussed above. rc5 will probably be the same.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: knightamigo on February 17, 2011, 06:45:51 AM
Using SMF 1.1.13...
Installed this nice mod disregarding the error on missing language packs (russian, spanish), since we don't use them.
We get this error after clicking the link to add reputation:

Quote
Session verification failed.

I noticed the session id variable does not reach the next step even if it's showing on the karma button.

Anything wrong about line 207 in karma.php?

redirectexit('action=reputation;uid=' . $_GET['uid'] . ';m=' . $_GET['m'] . ';topic=' . $_GET['topic'] . ';sesc=' . $_GET[$context['session_id']]);


The link on the karma button shows:
http://www.site.net/index.php?action=modifykarma;sa=applaud;uid=14;topic=420.0;m=1016;sesc=78c34543f252985408cab49f93c60230

But the next screen, browser receives:
http://www.site.net/index.php?action=reputation;uid=84;m=1028;topic=534;sesc=

Appreciate any help on this.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: 4LP3RUZ1 on February 22, 2011, 07:22:09 AM
Some tips on this mod,

If you prefer your reputation log in your profile to be sorted by date (which kinda makes sense ;))

open Profile-View.php and replace:
SELECT *
FROM {db_prefix}log_karma
WHERE id_target = {int:target}
OR id_executor = {int:target}
LIMIT {int:start}, {int:amount}

withSELECT *
FROM {db_prefix}log_karma
WHERE id_target = {int:target}
OR id_executor = {int:target}
ORDER BY log_time DESC
LIMIT {int:start}, {int:amount}


If you want new topic and message reputations to only come from boards which where post count is on
in Post.php replace if(!$user_info['is_guest'] && $modSettings['karmaValuePost'] > 0) with if(!$user_info['is_guest'] && ($modSettings['karmaValuePost'] > 0) && $board_info['posts_count'])

and

if(!$user_info['is_guest'] && $modSettings['karmaValueThread'] > 0)withif(!$user_info['is_guest'] && ($modSettings['karmaValueThread'] > 0) && $board_info['posts_count'])
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Vasya Pupkin on February 25, 2011, 07:23:39 AM
Thanks, it works with 2.0 RC5, but conflicts with SimpleSEF mod :(
I have to use Pretty URLs instead of SimpleSEF...

UPD:
I found a bug: HTML codes are allowed to use in comments of reputation
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Vasya Pupkin on February 25, 2011, 04:00:57 PM
I've fixed the mod with all patches that I found on this forum, now it works fine:
- Installs correctly on SMF 2.0 RC5
- works with SimpleSEF
- HTML codes are stripped from comments
- Added russian-utf8 language
- Included fixes provided by 4LP3RUZ1

I've attached the fixed package. Check and test it before installing on production sites.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Nick Whetstone on February 25, 2011, 04:34:11 PM
Quote from: zxs on February 25, 2011, 04:00:57 PM
I've fixed the mod with all patches that I found on this forum, now it works fine:
- Installs correctly on SMF 2.0 RC5
- works with SimpleSEF
- HTML codes are stripped from comments
- Added russian-utf8 language
- Included fixes provided by 4LP3RUZ1

I've attached the fixed package. Check and test it before installing on production sites.
I plan to update the ARS with fixes for several of the current issues *soon.*

However, with that said, I ask that the package be removed from your post. I have not tested it, and I would prefer to only have one "official" package instead of 1 official package with a bunch of unofficial ones.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: kat on February 25, 2011, 05:07:59 PM
Attachment removed.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Angelina Belle on February 25, 2011, 05:10:13 PM
(Ha)²

I have removed the attachment at your request, and asked zxs to communicate directly with you.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Angelina Belle on February 25, 2011, 05:10:27 PM
You beat me to it!
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Nick Whetstone on February 25, 2011, 05:19:14 PM
Quote from: K@ on February 25, 2011, 05:07:59 PM
Attachment removed.
Thanks, K@. :)
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: Vasya Pupkin on February 25, 2011, 05:56:38 PM
Sorry for attachment... I hope a new version with fixes and maybe some new features will be soon..

To strip HTML from comments:
Modify Karma.php and Xml.php
Find:
$comment = (strlen($_POST['reputation_comment']) > 300) ? substr($_POST['reputation_comment'], 0, 300) : $_POST['reputation_comment'];
Replace with:
$comment = strip_tags($_POST['reputation_comment']);
$comment = (strlen($comment) > 300) ? substr($comment, 0, 300) : $comment;
Title: Re: Advanced Reputation System - Now updated for 2.0 RC3!
Post by: timned88 on February 25, 2011, 09:31:22 PM
looking forward to the rc5 version.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: Nick Whetstone on February 25, 2011, 09:58:03 PM
Quote from: timned88 on February 25, 2011, 09:31:22 PM
looking forward to the rc5 version.
And here it is. ;)



Advanced Reputation System v1.8.2 has been released! It is mainly a compatibility/security release, but here is a list of changes:

To download, take a look at the Mod's page and download reputation_2-0-1-8-2.tar.gz.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: Matthew K. on February 25, 2011, 11:45:24 PM
Sheesh Nick, you sure caused a lot of bugs :P
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: !RFAN on February 26, 2011, 04:17:20 AM
can i use this mod when i have already installed Karma Description Mod ?
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: Aoife on February 26, 2011, 05:28:16 AM
Quote from: (Ha)² on February 25, 2011, 09:58:03 PM
Quote from: timned88 on February 25, 2011, 09:31:22 PM
looking forward to the rc5 version.
And here it is. ;)



Advanced Reputation System v1.8.2 has been released! It is mainly a compatibility/security release, but here is a list of changes:

  • 2.0 RC5 compatibility
  • Fixes a security hole that allowed members to post HTML in reputation comments
  • Fixes installation issue that prevented a karma image from showing in the display template
  • A minor enhancement (suggested by 4LP3RUZ1) that sorts the reputation log by date

To download, take a look at the Mod's page and download reputation_2-0-1-8-2.tar.gz.

For what it's worth, I installed the fix without a problem, except I didn't have the ability to increase or decrease reputation - kind of a minor issue at this point. Then uninstalled and deleted the 'fix' version and tried to install Ha's version 1.8.2 - failed tests in several of the language files and I didn't have time to go through each to see if I could fix by hand.

Files 'failing' the installation:



Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: 4LP3RUZ1 on February 26, 2011, 07:03:37 AM
Quote from: !RFAN on February 26, 2011, 04:17:20 AM
can i use this mod when i have already installed Karma Description Mod ?
No you cant.

And why would you? This mod has most, if not all, of KDM's functionality.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: Vasya Pupkin on February 26, 2011, 08:18:27 AM
How about  this fix (http://www.simplemachines.org/community/index.php?topic=352351.msg2671719;topicseen#msg2671719)?
It helped me to get ARS and SimpleSEF working together.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: Nick Whetstone on February 26, 2011, 10:44:07 AM
Quote from: aoife on February 26, 2011, 05:28:16 AM
Quote from: (Ha)² on February 25, 2011, 09:58:03 PM
Quote from: timned88 on February 25, 2011, 09:31:22 PM
looking forward to the rc5 version.
And here it is. ;)



Advanced Reputation System v1.8.2 has been released! It is mainly a compatibility/security release, but here is a list of changes:

  • 2.0 RC5 compatibility
  • Fixes a security hole that allowed members to post HTML in reputation comments
  • Fixes installation issue that prevented a karma image from showing in the display template
  • A minor enhancement (suggested by 4LP3RUZ1) that sorts the reputation log by date

To download, take a look at the Mod's page and download reputation_2-0-1-8-2.tar.gz.

For what it's worth, I installed the fix without a problem, except I didn't have the ability to increase or decrease reputation - kind of a minor issue at this point. Then uninstalled and deleted the 'fix' version and tried to install Ha's version 1.8.2 - failed tests in several of the language files and I didn't have time to go through each to see if I could fix by hand.

Files 'failing' the installation:


  • Admin.english
  • Errors.english
  • Help.english
  • Install.english
  • ManagePermissions.english
  • MangageSetting.english
  • Reports.english
  • Stats.english



That's odd... it installed/uninstalled fine for me.

Have you made sure that all of those files are writable?
Quote from: !RFAN on February 26, 2011, 04:17:20 AM
can i use this mod when i have already installed Karma Description Mod ?
As 4LP3RUZ1, this Mod will probably not work with any other Karma-related Mods; especially large ones like the Karma Description Mod. This Mod is basically a rewrite of the built-in Karma system.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: Aoife on February 26, 2011, 11:12:36 AM
I checked and all the files are writable. So maybe it's another addon that's causing the issue. Again, the fixed version of 1.8.1 from zxs installed fine and worked except the ability to add or substract rep wasn't there.


sigh.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: Nick Whetstone on February 26, 2011, 11:17:31 AM
Do you mind attaching your Admin.english.php file?
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: Aoife on February 26, 2011, 11:22:07 AM
Quote from: (Ha)² on February 26, 2011, 11:17:31 AM
Do you mind attaching your Admin.english.php file?

I'm looking at the files right now to see what's causing the issue - there are different find/replace errors and i'll compile them and let you know for each file - brb....

ok, here we go: 

both Admin.english-utf8 and Install.english-utf8:

Find $txt ['Karma']='Karma'
Replace $txt ['Karma']='Reputation'

Errors.english-utf8, Help.english-utf8, ManagePermissions.english-utf8, ManageSettings.english-utf8:

Find (and there's nothing there to find)
Replace (nothing here either)

Reports.english-utf8:

Find $txt['group_perms_name_karma_edit'] = 'Editiere Karma des Benutzers';
Replace $txt['group_perms_name_karma_edit'] = 'Editiere Beliebtheit des Benutzers';

Stats.english-utf8:

Find $txt['best_karma'] = 'Beste Karma';
$txt['worst_karma'] = 'Schlechteste Karma';


Replace (nothing there)






Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: Vasya Pupkin on February 26, 2011, 02:18:22 PM
2 aoife:
I think this errors are caused by wrong lang-german-utf8.xml that contains modifications of english-utf8 language instead of german.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: timned88 on February 26, 2011, 04:12:30 PM
can someone please make a change to the stats page to show highest reputation 1-10 on the left side and 11-20 on the right side, similar to all of the other stat blocks?  i don't want to show the negative rep and i know how to remove the negative block and i know how to make the positive show 20, but don't know how to code in the 11-20 part on sources/stats.php

if someone could post a block of code then i would most likely be able to figure it out from there.  thanks!
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: Sheree on February 26, 2011, 05:24:16 PM
Hi there thanks for this great mod, I've installed it successfully.

After installation and I hit "add reputation" I get the error

QuoteSession verification failed. Please try logging out and back in again, and then try again.

I have SMF 1.1.13 (fresh installed)

with the following Mods installed

Quote1.    SimplePortal    2.3.3    
2.    Anti Bot: Captcha Clock    2.2
3.    Stars And Badges    2.1    
4.    Aeva Media    1.4c
5.    Custom Action Mod    2.04    
6.    Member Color Link    3.0.8    
7.    Ad Managment    2.3.6.1    
8.    Cbox Integration    1.0    
9.    SMF 1.0.21 / 1.1.13 Update    1.0    
10.    Attachments Positioning    1.1    
11.    Popup PM Message - Uses The Same Window    
12.    Advanced Reputation System    0.1.5    
13.    AvatarSelect    1.2.1    
14.    Profile Comments    2.0.1    
15.    Referrals System    3.0.1    
16.    Add IP2Location to Track IP    1.3    
17.    Welcome Topic Mod    2.1

any help will be much appreciated.  :)
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: timned88 on February 26, 2011, 05:26:59 PM
i have figured out how to get values #11-20 to be returned and re-coded stats.php to return the proper values. 

could someone please send me a piece of code to work into stats.template.php so i can have #1-10 on the left side and #11-20 on the right side?  sort of like the way top 10 topics (repies) and top 10 topics (views) is displayed?  thanks!
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: timned88 on February 26, 2011, 06:09:13 PM
here is an example of what i want to do...  i don't want to lose the top 10 blocks as depicted, but want to create a new left/right block with the information as the arrows indicate.  thanks to whomever can help with this.

the way i coded this in, reputation_worst is what returns values 11-20. 

to do this, i want to remove the existing reputation blocks that take up the full width of the screen and create one new split block with 1-10 on the left and 11-20 on the right.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: Nick Whetstone on February 26, 2011, 06:26:34 PM
If I'm understanding you correctly, try adding style="width: 49.5%; float: left;" on the one you want to be the left div, and style="width: 49.5%; float: left;" on the one you want to be on the right.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: Aoife on February 26, 2011, 07:12:49 PM
Quote from: Vasya Pupkin on February 26, 2011, 02:18:22 PM
2 aoife:
I think this errors are caused by wrong lang-german-utf8.xml that contains modifications of english-utf8 language instead of german.

I would agree and that's from version 1.8.2.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: timned88 on February 26, 2011, 10:58:36 PM
Quote from: (Ha)² on February 26, 2011, 06:26:34 PM
If I'm understanding you correctly, try adding style="width: 49.5%; float: left;" on the one you want to be the left div, and style="width: 49.5%; float: left;" on the one you want to be on the right.

thanks for the tip but i was able to work out what i wanted it to look like by copying and modifying some existing code.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: Dumpy on February 27, 2011, 04:41:55 AM
Weird one this.  The mod installs perfectly.  Reputation text and bars appear under members Avatars.  All permissions have been set as instructed.  The system is armed and active.  But no one can give Rep.  There are no links/buttons anywhere on anyone's profile info or posts to add or remove rep.  I've installed/uninstalled a couple of times (all without any errors) but it doesn't want to play.  Any suggestions?  BTW: I'm using RC5

Here's a list of other mods installed.

1. Aeva Media 2.10 
2. Enhanced PM Popup 1.0.1 
3. PM to New Members 1.2     
4. New Topic Button 1.0   
5. Contact Page 2.1.1   
6. Topic Note 0.9.1     
7. Downloads System 1.3.6   
8. SimplePortal 2.3.3     
9. Country Flags 1.1.2     
10. [BBCode] Dotted Underline 1.0     
11. Tabbed smileys 0.3.1     
12. Downloads System 1.3.7    (upgrade)
13. AvatarSelect 1.2.1     
14. Countdown BBCode 1.3     
15. Default Avatar 2.0   
16. SmileyLimit 1.1   
17. Uncensored Boards 1.5   
18. BBCode with style 1.3   
19. Relative Dates 1.1   
20. VB Style Board Index 1.1   
21. Separate Replies and Views Column 1.8     
22. Activity Reminder 1.0     
23. Page Management 1.4     
24. E-Arcade (this was installed AFTER trying the Rep mod)

With thanks  :)
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: Aoife on February 27, 2011, 06:36:51 AM
Quote from: Vasya Pupkin on February 26, 2011, 02:18:22 PM
2 aoife:
I think this errors are caused by wrong lang-german-utf8.xml that contains modifications of english-utf8 language instead of german.

I would agree and that's from version 1.8.2.

I'm at a loss. I went ahead and installed the package on my a test site just to see what would happen and when I went to the Reputation settings, everything was in German.  I don't need German on my site, I'm wondering if I can just do a manual install to get around this somehow....

UPDATE: I extracted the files in v1.8.2 and then uploaded only the files I needed (i.e., left out the non-english language .xml files) into a folder I made under Packages. I then went to the Package browser in my forums and installed. I got error messages for the missing language files but those languages aren't available in our forums anyway, so I went ahead with the install - and it worked!  We can even give rep again, for the first time in a long time!



Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: Nick Whetstone on February 27, 2011, 02:04:46 PM
@Dumpy: On my phone right now, but are you using Curve? Any errors in the error log?

Also, for those that want to know, I believe that the German language file is fixed on my local installation. It should be included in the next version.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: Nick Whetstone on February 28, 2011, 10:52:26 PM
Advanced Reputation System v1.8.3 for SMF 2.0 RC5 has been released! :D

It makes some fairly small adjustments, and here is a quick changelog:

A quick note: I will not be around here for a while. With that in mind, I have, as mentioned in the changelog, updated the package so that, if 2.0 RC6/2.0 Final is released during my absence, it will at least *attempt* to install on all 2.0 versions until a proper update is made. So, with that being said, even though the compatibility list says RC5, feel free to try it on the next 2.0 version, since there is, I would say, at least a 99.9999999999999999764% chance it will work without having to use Version Emulate. :P

Jusque-là, au revoir, et j'espére vous aimez on. :)

(Ha)²
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: Spoogs on February 28, 2011, 11:50:49 PM
(Ha)² thanks for the update  8)

The images never get added to custom themes (I know that pretty easily fixed) but how about in package-info.xml
change
<require-file name="karma.gif" destination="$themedir/images" /> ...etc
to
<require-file name="karma.gif" destination="$imagesdir" /> ...etc
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: Nick Whetstone on March 01, 2011, 12:02:52 AM
Quote from: Spoogs on February 28, 2011, 11:50:49 PM
(Ha)² thanks for the update  8)

The images never get added to custom themes (I know that pretty easily fixed) but how about in package-info.xml
change
<require-file name="karma.gif" destination="$themedir/images" /> ...etc
to
<require-file name="karma.gif" destination="$imagesdir" /> ...etc
Good point. Done. :)
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: Spoogs on March 01, 2011, 12:04:28 AM
very cool (http://www.skype-emoticons.com/images/emoticon-00148-yes.gif)

Edit
Thats the same package ;)
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: Arantor on March 01, 2011, 07:54:50 AM
Alternatively push it to $themes_dir/default/images and then forcibly use the default theme in the templates? :P
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: Dumpy on March 01, 2011, 01:46:49 PM
Quote from: (Ha)² on February 27, 2011, 02:04:46 PM
@Dumpy: On my phone right now, but are you using Curve? Any errors in the error log?

Also, for those that want to know, I believe that the German language file is fixed on my local installation. It should be included in the next version.

I've managed to get it work and it's running just fine now.  Can't say that I did anything different, just uninstalled it and reinstalled it and there it was - magic.

Just one very quick question - I would like to give bonus rep to members for doing something extraordinary - is there a way to do this?  For e.g. give 500 rep for recommending a new member, 1000 rep for posting something incredible, etc.

Many thanks for a great mod.  ;D
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: 4LP3RUZ1 on March 01, 2011, 01:49:16 PM
well, you can set their karma from their profile. Can't really do it simply with a button click unless you want to go coding yourself :)
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: devoetbalkantine on March 01, 2011, 03:55:58 PM
Is there any way I can move the heart (the icon to give reputation) to the bottom of the profile-part in messages? Now it's between all the messenger icons
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: knightamigo on March 01, 2011, 04:30:15 PM
Quote from: Dumpy on March 01, 2011, 01:46:49 PM
I've managed to get it work and it's running just fine now.  Can't say that I did anything different, just uninstalled it and reinstalled it and there it was - magic.

Just one very quick question - I would like to give bonus rep to members for doing something extraordinary - is there a way to do this?  For e.g. give 500 rep for recommending a new member, 1000 rep for posting something incredible, etc.

Many thanks for a great mod.  ;D

If you have admin controls, you can give bulk rep or karma points on the member's profile page

Modify Profile > Forum Profile Information
See bottom of the page for Reputation text boxes.
Then just click on "Change Profile" when done.




I wonder who can help this certified hottie as we have the same problem/error with this mod on our sites....
Quote from: Sheree
Session verification failed. Please try logging out and back in again, and then try again.

The Mod works properly if I manually paste/add the session id on the url.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: Dumpy on March 02, 2011, 05:07:39 AM
Quote from: devoetbalkantine on March 01, 2011, 03:55:58 PM
Is there any way I can move the heart (the icon to give reputation) to the bottom of the profile-part in messages? Now it's between all the messenger icons

Yes!  I did this and also changed the image file too.

You need to open the display.template.php in your Themes folder for editing.

I wanted to place mine under the Gender Icon, so I looked for this:

// Show the member's gender icon?
if (!empty($settings['show_gender']) && $message['member']['gender']['image'] != '' && !isset($context['disabled_fields']['gender']))
echo '
<li class="gender">', $txt['gender'], ': ', $message['member']['gender']['image'], '</li>';


I then looked for the code that was displaying the icon, which is this:

// 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 id="repicon" 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'], ';', $context['session_var'], '=', $context['session_id'], '"><img src="', $settings['images_url'], '/karma.gif" alt="', $txt['add_karma'], '" title="', $txt['add_karma'], '" /></a></li>';


I just moved the above part to sit below the Gender code so it all looked like this:

// Show the member's gender icon?
if (!empty($settings['show_gender']) && $message['member']['gender']['image'] != '' && !isset($context['disabled_fields']['gender']))
echo '
<li class="gender">', $txt['gender'], ': ', $message['member']['gender']['image'], '</li>';

// 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 id="repicon" 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'], ';', $context['session_var'], '=', $context['session_id'], '"><img src="', $settings['images_url'], '/karma.gif" alt="', $txt['add_karma'], '" title="', $txt['add_karma'], '" /></a></li>';


I changed the karma.gif to the look that I wanted and uploaded to the Themes image folder and the end result is what's shown below:

Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: Dumpy on March 02, 2011, 05:12:38 AM
Quote from: 4LP3RUZ1 on March 01, 2011, 01:49:16 PM
well, you can set their karma from their profile. Can't really do it simply with a button click unless you want to go coding yourself :)

Yes I saw that and it's great to be able to add rep this way.  I saw this code on the very first post:

UPDATE smf_members
SET karma_good = 1000, karma_bad = 0


What I'd like to know is that if I run this SQL query will it just put my members all to the same value and leave it at that, or will adding rep in future clicks still add rep to whatever figure I choose to use in the query?  If it does allow more to be added then I'll just run the query to give everyone some rep so they don't feel left out lol.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: 4LP3RUZ1 on March 02, 2011, 03:28:13 PM
Quote from: Dumpy on March 02, 2011, 05:12:38 AM
UPDATE smf_members
SET karma_good = 1000, karma_bad = 0


What I'd like to know is that if I run this SQL query will it just put my members all to the same value and leave it at that, or will adding rep in future clicks still add rep to whatever figure I choose to use in the query?  If it does allow more to be added then I'll just run the query to give everyone some rep so they don't feel left out lol.
it will set every member's reputation to exactly 1000, completely wiping out any previous info about how many reps they had.

after that karma actions will carry on as normal, adding or subtracting from the 1000
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: Vasya Pupkin on March 02, 2011, 04:27:23 PM
Is it easy to make reputation-based groups in addition to post-based groups? I want to try to make this, but I am new to modifying SMF 2...
And my second idea is to bind SMF 2's warning system to reputation. For example, substract 1% of user's reputation for every 1% of his warning level.
For yet another suggestion of theme's improvement see the pictire in attachment :)
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: Arantor on March 02, 2011, 04:32:33 PM
There was a mod that replaced post groups with karma groups, but post and karma groups together is reasonably complex to implement.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: lookingtok on March 07, 2011, 10:11:48 PM
hello all
i have a little trouble with my smf with this MOD :(

this is my error :
Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.

==============================

1.    Adapt Database    install.php    
*    2.    Execute Modification    ./index.php    Test successful
      1.    Add Before    ./index.php    Test successful
*    3.    Execute Modification    ./Themes/default/Display.template.php    Test successful
      1.    Replace    ./Themes/default/Display.template.php    Test successful
      2.    Add After    ./Themes/default/Display.template.php    Test successful
      3.    Replace    ./Themes/default/Display.template.php    Test successful
      4.    Add Before    ./Themes/default/Display.template.php    Test successful
*    4.    Execute Modification    ./Themes/default/PersonalMessage.template.php    Test failed
      1.    Replace    ./Themes/default/PersonalMessage.template.php    Test failed
*    5.    Execute Modification    ./Themes/default/Profile.template.php    Test successful
      1.    Add Before    ./Themes/default/Profile.template.php    Test successful
*    6.    Execute Modification    ./Themes/default/Stats.template.php    Test successful
      1.    Replace    ./Themes/default/Stats.template.php    Test successful
*    7.    Execute Modification    ./Themes/default/Xml.template.php    Test successful
------------------------------------------
   Core Theme
      Execute Modification    ./Themes/core/Display.template.php    Test failed
      1.    Replace    ./Themes/core/Display.template.php    Test successful
      2.    Add After    ./Themes/core/Display.template.php    Test failed
      3.    Replace    ./Themes/core/Display.template.php    Test failed (Ignore Errors)
      4.    Add Before    ./Themes/core/Display.template.php    Test successful
      Execute Modification    ./Themes/core/PersonalMessage.template.php    Test failed
      1.    Replace    ./Themes/core/PersonalMessage.template.php    Test failed
      Execute Modification    ./Themes/core/Stats.template.php    Test failed
      1.    Replace    ./Themes/core/Stats.template.php    Test failed
      Execute Modification    ./Themes/core/css/index.css    Test successful
      1.    Add Before    ./Themes/core/css/index.css    Test successful
      Dino Light v.2
      Execute Modification    ./Themes/DinolightV/css/index.css    Test successful


and this is my mod :
1.    WYSIWYG Quick Reply    2.1    [ Uninstall ] [ List Files ] [ Delete ]
2.    Default Avatar    2.0    [ Uninstall ] [ List Files ] [ Delete ]
3.    Join date and Location in Posts    1.1    [ Uninstall ] [ List Files ] [ Delete ]
4.    More Spiders    1.2    [ Uninstall ] [ List Files ] [ Delete ]
5.    Pretty URLs    1.0RC5    [ Uninstall ] [ List Files ] [ Delete ]
6.    Spoiler BBCode    1.1.3    [ Uninstall ] [ List Files ] [ Delete ]
7.    Remove Help From Menu    1.0    [ Uninstall ] [ List Files ] [ Delete ]
8.    SimpleAds    1.0.1    [ Uninstall ] [ List Files ] [ Delete ]
9.    Aeva ~ Auto-Embed Video & Audio    7.1    [ Uninstall ] [ List Files ] [ Delete ]
10.    Watermark.light    1.5    [ List Files ] [ Delete ]
11.    Tidy Child Boards    1.3    [ Uninstall ] [ List Files ] [ Delete ]
12.    Advanced Reputation System    1.8.3  <<<<<<<<<<<<<<<<<<<<< new MOD

for information
smf : 2 RC5
Advanced Reputation System v1.8.3

please help me :(
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: Makar on March 09, 2011, 04:20:54 PM
when viewing a user profile and log karma

error


http://.../index.php?action=profile;area=reputation;u=12

8: Undefined variable: num_given

Файл: ........./www/Sources/Profile-View.php
line: 2119


2115:      list ($total_actions) = $smcFunc['db_fetch_row']($request);
2116:      $smcFunc['db_free_result']($request);
2117:   
2118:      // Construct the page index
==>2119:      $context['page_index'] = constructPageIndex($scripturl . '?action=reputation', $_REQUEST['start'], $num_given, 50);



how to fix?
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: Bigguy on March 09, 2011, 04:45:26 PM
Search this topic for num_given and you should find the answer. I ran into this awhile ago and forget how to fix it.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: Makar on March 09, 2011, 04:53:04 PM
Thanks Bigguy, now look for  :D



another question

how to restore an old map of karma?
keep the other functional

or at least bring the value of positive and negative reputation
  fixed
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: Sheree on March 11, 2011, 12:55:26 AM
Quote from: Sheree on February 26, 2011, 05:24:16 PM
Hi there thanks for this great mod, I've installed it successfully.

After installation and I hit "add reputation" I get the error

QuoteSession verification failed. Please try logging out and back in again, and then try again.

I have SMF 1.1.13 (fresh installed)

with the following Mods installed

Quote1.    SimplePortal    2.3.3    
2.    Anti Bot: Captcha Clock    2.2
3.    Stars And Badges    2.1    
4.    Aeva Media    1.4c
5.    Custom Action Mod    2.04    
6.    Member Color Link    3.0.8    
7.    Ad Managment    2.3.6.1    
8.    Cbox Integration    1.0    
9.    SMF 1.0.21 / 1.1.13 Update    1.0    
10.    Attachments Positioning    1.1    
11.    Popup PM Message - Uses The Same Window    
12.    Advanced Reputation System    0.1.5    
13.    AvatarSelect    1.2.1    
14.    Profile Comments    2.0.1    
15.    Referrals System    3.0.1    
16.    Add IP2Location to Track IP    1.3    
17.    Welcome Topic Mod    2.1

any help will be much appreciated.  :)

Help with this please 
:'(
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: swan on March 11, 2011, 09:24:37 AM
Looking at the mod itself it looks like you can view all reputation given but I cant seem to find where.  Can anyone point me in the right direction please?
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: Klinky on March 11, 2011, 06:31:53 PM
Hello.
Awesome mod. :D

I'm running 2.0 RC5.
With the Theme: The Killing.
It's curve based.

Everything works great.
Except where images are concerned.
At the beginning of this thread you mentioned a manual install.

Is that still the case since 2.0 was supposed to do it automatically? Or could something else be wrong that prevented auto-editing.
If not, and I should manual install, any suggestions on which .php's to focus in on for the images. I'm having trouble finding a lot of the phps in the in the theme... : /

I think it's only finding a couple of the php's in the themes root. It wants to edited a dozen CORE phps but only one or two for my other themes. It might explain why I'm having trouble finding the phps?

Thanks for any help. :3
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: lookingtok on March 12, 2011, 05:44:36 AM
Quote from: lookingtok on March 07, 2011, 10:11:48 PM
hello all
i have a little trouble with my smf with this MOD :(

this is my error :
Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.

==============================

1.    Adapt Database    install.php    
*    2.    Execute Modification    ./index.php    Test successful
      1.    Add Before    ./index.php    Test successful
*    3.    Execute Modification    ./Themes/default/Display.template.php    Test successful
      1.    Replace    ./Themes/default/Display.template.php    Test successful
      2.    Add After    ./Themes/default/Display.template.php    Test successful
      3.    Replace    ./Themes/default/Display.template.php    Test successful
      4.    Add Before    ./Themes/default/Display.template.php    Test successful
*    4.    Execute Modification    ./Themes/default/PersonalMessage.template.php    Test failed
      1.    Replace    ./Themes/default/PersonalMessage.template.php    Test failed
*    5.    Execute Modification    ./Themes/default/Profile.template.php    Test successful
      1.    Add Before    ./Themes/default/Profile.template.php    Test successful
*    6.    Execute Modification    ./Themes/default/Stats.template.php    Test successful
      1.    Replace    ./Themes/default/Stats.template.php    Test successful
*    7.    Execute Modification    ./Themes/default/Xml.template.php    Test successful
------------------------------------------
   Core Theme
      Execute Modification    ./Themes/core/Display.template.php    Test failed
      1.    Replace    ./Themes/core/Display.template.php    Test successful
      2.    Add After    ./Themes/core/Display.template.php    Test failed
      3.    Replace    ./Themes/core/Display.template.php    Test failed (Ignore Errors)
      4.    Add Before    ./Themes/core/Display.template.php    Test successful
      Execute Modification    ./Themes/core/PersonalMessage.template.php    Test failed
      1.    Replace    ./Themes/core/PersonalMessage.template.php    Test failed
      Execute Modification    ./Themes/core/Stats.template.php    Test failed
      1.    Replace    ./Themes/core/Stats.template.php    Test failed
      Execute Modification    ./Themes/core/css/index.css    Test successful
      1.    Add Before    ./Themes/core/css/index.css    Test successful
      Dino Light v.2
      Execute Modification    ./Themes/DinolightV/css/index.css    Test successful


and this is my mod :
1.    WYSIWYG Quick Reply    2.1    [ Uninstall ] [ List Files ] [ Delete ]
2.    Default Avatar    2.0    [ Uninstall ] [ List Files ] [ Delete ]
3.    Join date and Location in Posts    1.1    [ Uninstall ] [ List Files ] [ Delete ]
4.    More Spiders    1.2    [ Uninstall ] [ List Files ] [ Delete ]
5.    Pretty URLs    1.0RC5    [ Uninstall ] [ List Files ] [ Delete ]
6.    Spoiler BBCode    1.1.3    [ Uninstall ] [ List Files ] [ Delete ]
7.    Remove Help From Menu    1.0    [ Uninstall ] [ List Files ] [ Delete ]
8.    SimpleAds    1.0.1    [ Uninstall ] [ List Files ] [ Delete ]
9.    Aeva ~ Auto-Embed Video & Audio    7.1    [ Uninstall ] [ List Files ] [ Delete ]
10.    Watermark.light    1.5    [ List Files ] [ Delete ]
11.    Tidy Child Boards    1.3    [ Uninstall ] [ List Files ] [ Delete ]
12.    Advanced Reputation System    1.8.3  <<<<<<<<<<<<<<<<<<<<< new MOD

for information
smf : 2 RC5
Advanced Reputation System v1.8.3

please help me :(

bump, somebodyplease help me :(
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: sdkid on March 15, 2011, 04:10:11 AM
How and where can I change the message you get in the popup after you submit reputation?

"Your reputation action has been sent."  is really bland. 

I want to change it to "Give me Liberty, or give me Rep!" or something like that.....
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: swan on March 15, 2011, 05:14:49 AM
Hey I was wondering if you could help.  I have installed this mod and I love it.  One thing though is when members are giving rep for some reason its giving a random amount instead of just giving the one.  I would like to change this to the members only getting one rep for a liked post.  Can someone help please x
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: neteater on March 15, 2011, 07:36:18 AM
my forum is studentlife.co.in/forum and i am not using default theme, reputation bar are not shown up lease help
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: Leniek on March 17, 2011, 06:45:58 AM
How can i mod this to show + and - like in the basic Karma, not the heart
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: Shades. on March 17, 2011, 01:33:41 PM
Quote from: neteater on March 15, 2011, 07:36:18 AM
my forum is studentlife.co.in/forum and i am not using default theme, reputation bar are not shown up lease help
You need to unzip the reputation mod and upload the karma.gif and the other gif images to whatever theme your using. Upload them to that themes image directory! ;)
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: sdkid on March 19, 2011, 01:29:13 PM
As it stands (and please tell me if I have it wrong), posting and starting topics add to your Rep Points.  I will likely change my install to not allow that (both will be set to zero), because if someone gets negative rep, they can probably post a few times or start a new topic and erase the negative.  Almost not worth the time to give negative... :/

At the same time, regular contributors should be rewarded somehow.  In VBulletin (from which this mod is modeled), you receive rep points purely from the + or - rep given to you, and then it goes through some kind of multiplier based on how your post count.  Rep points X Post Count multiplier = Rep Power.  I think the ideas I've been reading here are worth considering-- link Rep Power level to Post-based groups, and remove posts/topics from adding rep points to someone.

Enough commentary... on to my question...

How would I show total Rep Points in the user info section by each post (Right above Rep Power)?  I suppose people could adjust colors to match their theme, but default it with green and red for + and - rep.  Any assistance or code suggestions appreciated.

Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: sdkid on March 19, 2011, 02:02:02 PM
and a seperate question...

I used the SQL query to re-write rep levels for all of my users.  As a starting point, can somebody help me write a new query that will do some basic math in assigning those points?

I want the result to be something like everyone gets 50 points to start.  In addition, I want them to have more points based on 10% of their post count.

so + Rep points = 50 + (member_post_count X .10)

Doing this will recognize my most productive members with a little more rep to start things off--but I don't want them to have a direct "1 post"="1 Rep Point".  After the initial setting, post count will not be factored in.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: Makar on March 19, 2011, 06:04:21 PM
still a problem
by rc5 works fine
but when put to rc4 is no
Quote
'Can +reputation other users' and click 'Set Permission'.
'Can -reputation other users'
'Disable display of own reputation'.

What happened Permission?




Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: sdkid on March 20, 2011, 12:28:51 AM
And one more item...  there should be a minimum rep power of 1 UNLESS the person has negative rep.  If you set the rep power at +1 for every 50 rep points, if nobody has any rep points yet, then nobody can give any rep.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: waruna on March 23, 2011, 11:10:02 AM
Hi people.

I have a question. I can't give reputation using Blackberry mobile, but no problem with iPhone. It says 'user are not allowed to bla bla bla...'

Anybody can help me? Thanks in advance guys.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: waruna on March 23, 2011, 09:46:41 PM
Quote from: (Ha)² on March 25, 2008, 12:51:10 PM
To install this modification in any theme other than Default, please click the box next to "Install in Other Themes" at the bottom of this page and check the applicable themes.

I don't understand this part. Which page does have the option 'Install in Other Themes'?

Thanks
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: Arantor on March 23, 2011, 09:47:57 PM
In 2.0, once you hit Install Mod, you get the list of operations it's trying to do. Lower down the page is a list of other themes you have installed, and whether it would be possible to attempt to install the mod on those themes for you.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: waruna on March 23, 2011, 09:54:29 PM
Quote from: Arantor on March 23, 2011, 09:47:57 PM
In 2.0, once you hit Install Mod, you get the list of operations it's trying to do. Lower down the page is a list of other themes you have installed, and whether it would be possible to attempt to install the mod on those themes for you.

I see. Thanks Arantor. But I already install this mod long time ago and I want to use new theme for my forum. Do I have to reinstall this mod or is there any other way?

Thanks
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: uninvited13th on March 24, 2011, 03:46:50 AM
Quote from: waruna on March 23, 2011, 09:54:29 PM

I see. Thanks Arantor. But I already install this mod long time ago and I want to use new theme for my forum. Do I have to reinstall this mod or is there any other way?

Thanks

depends on your theme.. What are the files on the folder of that theme?
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: Sheree on March 30, 2011, 02:43:21 AM
Quote from: Sheree on March 11, 2011, 12:55:26 AM
Quote from: Sheree on February 26, 2011, 05:24:16 PM
Hi there thanks for this great mod, I've installed it successfully.

After installation and I hit "add reputation" I get the error

QuoteSession verification failed. Please try logging out and back in again, and then try again.

I have SMF 1.1.13 (fresh installed)

with the following Mods installed

Quote1.    SimplePortal    2.3.3    
2.    Anti Bot: Captcha Clock    2.2
3.    Stars And Badges    2.1    
4.    Aeva Media    1.4c
5.    Custom Action Mod    2.04    
6.    Member Color Link    3.0.8    
7.    Ad Managment    2.3.6.1    
8.    Cbox Integration    1.0    
9.    SMF 1.0.21 / 1.1.13 Update    1.0    
10.    Attachments Positioning    1.1    
11.    Popup PM Message - Uses The Same Window    
12.    Advanced Reputation System    0.1.5    
13.    AvatarSelect    1.2.1    
14.    Profile Comments    2.0.1    
15.    Referrals System    3.0.1    
16.    Add IP2Location to Track IP    1.3    
17.    Welcome Topic Mod    2.1

any help will be much appreciated.  :)



Help with this please 
:'(
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: mnmlt on March 31, 2011, 11:43:52 AM
Installing this package will perform the following actions:   Type Action Description
1. Adapt Database install.php 
2. Execute Modification ./index.php Test successful
  1. Add Before ./index.php Test successful

3. Execute Modification ./Themes/default/Display.template.php Test successful
  1. Replace ./Themes/default/Display.template.php Test successful
  2. Add After ./Themes/default/Display.template.php Test successful
  3. Replace ./Themes/default/Display.template.php Test successful
  4. Add Before ./Themes/default/Display.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/Profile.template.php Test successful
  1. Add Before ./Themes/default/Profile.template.php Test successful

6. Execute Modification ./Themes/default/Stats.template.php Test successful
  1. Replace ./Themes/default/Stats.template.php Test successful

7. Execute Modification ./Themes/default/Xml.template.php Test successful
  1. Add Before ./Themes/default/Xml.template.php Test successful

8. Execute Modification ./Themes/default/scripts/script.js Test successful
  1. Add Before ./Themes/default/scripts/script.js Test successful

9. Execute Modification ./Themes/default/css/index.css Test successful
  1. Add Before ./Themes/default/css/index.css Test successful

10. Execute Modification ./Sources/Display.php Test successful
  1. Add After ./Sources/Display.php Test successful
  2. Replace ./Sources/Display.php Test successful
  3. Add After ./Sources/Display.php Test successful

11. Execute Modification ./Sources/Karma.php Test successful
  1. Add Before ./Sources/Karma.php Test successful
  2. Replace ./Sources/Karma.php Test successful
  3. Replace ./Sources/Karma.php Test successful

12. Execute Modification ./Sources/Load.php Test successful
  1. Add After ./Sources/Load.php Test successful
  2. Replace ./Sources/Load.php Test successful
  3. Replace ./Sources/Load.php Test successful
  4. Add After ./Sources/Load.php Test successful
  5. Add Before ./Sources/Load.php Test successful

13. Execute Modification ./Sources/ManageMaintenance.php Test successful
  1. Replace ./Sources/ManageMaintenance.php Test successful

14. Execute Modification ./Sources/ManagePermissions.php Test successful
  1. Add After ./Sources/ManagePermissions.php Test successful
  2. Add After ./Sources/ManagePermissions.php Test successful
  3. Add Before ./Sources/ManagePermissions.php Test successful

15. Execute Modification ./Sources/ManageServer.php Test successful
  1. Add Before ./Sources/ManageServer.php Test successful

16. Execute Modification ./Sources/ManageSettings.php Test successful
  1. Replace ./Sources/ManageSettings.php Test successful
  2. Add After ./Sources/ManageSettings.php Test successful
  3. Replace ./Sources/ManageSettings.php Test successful

17. Execute Modification ./Sources/Post.php Test successful
  1. Replace ./Sources/Post.php Test successful
  2. Replace ./Sources/Post.php Test successful

18. Execute Modification ./Sources/Profile.php Test successful
  1. Add Before ./Sources/Profile.php Test successful

19. Execute Modification ./Sources/Profile-Modify.php Test successful
  1. Add After ./Sources/Profile-Modify.php Test successful
  2. Replace ./Sources/Profile-Modify.php Test successful

20. Execute Modification ./Sources/Profile-View.php Test successful
  1. Add Before ./Sources/Profile-View.php Test successful

21. Execute Modification ./Sources/RemoveTopic.php Test successful
  1. Replace ./Sources/RemoveTopic.php Test successful
  2. Replace ./Sources/RemoveTopic.php Test successful

22. Execute Modification ./Sources/ScheduledTasks.php Test successful
  1. Add Before ./Sources/ScheduledTasks.php Test successful

23. Execute Modification ./Sources/Stats.php Test successful
  1. Replace ./Sources/Stats.php Test successful
  2. Add Before ./Sources/Stats.php Test successful

24. Execute Modification ./Sources/Subs-Members.php Test successful
  1. Add After ./Sources/Subs-Members.php Test successful

25. Execute Modification ./Sources/Xml.php Test successful
  1. Add After ./Sources/Xml.php Test successful
  2. Add Before ./Sources/Xml.php Test successful

26. Execute Modification ./Themes/default/languages/Admin.english.php Test successful
  1. Replace ./Themes/default/languages/Admin.english.php Test successful

27. Execute Modification ./Themes/default/languages/Errors.english.php Test successful
  1. Replace ./Themes/default/languages/Errors.english.php Test successful
  2. Add Before ./Themes/default/languages/Errors.english.php Test successful

28. Execute Modification ./Themes/default/languages/Help.english.php Test successful
  1. Replace ./Themes/default/languages/Help.english.php Test successful
  2. Add Before ./Themes/default/languages/Help.english.php Test successful

29. Execute Modification ./Themes/default/languages/index.english.php Test successful
  1. Add Before ./Themes/default/languages/index.english.php Test successful

30. Execute Modification ./Themes/default/languages/Install.english.php Test successful
  1. Replace ./Themes/default/languages/Install.english.php Test successful

31. Execute Modification ./Themes/default/languages/ManageScheduledTasks.english.php Test successful
  1. Add After ./Themes/default/languages/ManageScheduledTasks.english.php Test successful

32. Execute Modification ./Themes/default/languages/ManagePermissions.english.php Test successful
  1. Replace ./Themes/default/languages/ManagePermissions.english.php Test successful
  2. Add Before ./Themes/default/languages/ManagePermissions.english.php Test successful

33. Execute Modification ./Themes/default/languages/ManageSettings.english.php Test successful
  1. Replace ./Themes/default/languages/ManageSettings.english.php Test successful
  2. Replace ./Themes/default/languages/ManageSettings.english.php Test successful
  3. Add Before ./Themes/default/languages/ManageSettings.english.php Test successful

34. Execute Modification ./Themes/default/languages/Profile.english.php Test successful
  1. Add Before ./Themes/default/languages/Profile.english.php Test successful

35. Execute Modification ./Themes/default/languages/Reports.english.php Test successful
  1. Replace ./Themes/default/languages/Reports.english.php Test successful

36. Execute Modification ./Themes/default/languages/Stats.english.php Test successful
  1. Replace ./Themes/default/languages/Stats.english.php Test successful

37. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
  1. Add Before ./Themes/default/languages/Modifications.english.php Test successful

38. Execute Modification ./Themes/default/languages/Admin.english-utf8.php Skipping file
39. Execute Modification ./Themes/default/languages/Errors.english-utf8.php Skipping file
40. Execute Modification ./Themes/default/languages/Help.english-utf8.php Skipping file
41. Execute Modification ./Themes/default/languages/index.english-utf8.php Skipping file
42. Execute Modification ./Themes/default/languages/Install.english-utf8.php Skipping file
43. Execute Modification ./Themes/default/languages/ManageScheduledTasks.english-utf8.php Skipping file
44. Execute Modification ./Themes/default/languages/ManagePermissions.english-utf8.php Skipping file
45. Execute Modification ./Themes/default/languages/ManageSettings.english-utf8.php Skipping file
46. Execute Modification ./Themes/default/languages/Profile.english-utf8.php Skipping file
47. Execute Modification ./Themes/default/languages/Reports.english-utf8.php Skipping file
48. Execute Modification ./Themes/default/languages/Stats.english-utf8.php Skipping file
49. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php Skipping file
50. Execute Modification ./Themes/default/languages/Admin.russian.php Skipping file
51. Execute Modification ./Themes/default/languages/Errors.russian.php Skipping file
52. Execute Modification ./Themes/default/languages/Help.russian.php Skipping file
53. Execute Modification ./Themes/default/languages/index.russian.php Skipping file
54. Execute Modification ./Themes/default/languages/Install.russian.php Skipping file
55. Execute Modification ./Themes/default/languages/ManageScheduledTasks.russian.php Skipping file
56. Execute Modification ./Themes/default/languages/ManagePermissions.russian.php Skipping file
57. Execute Modification ./Themes/default/languages/ManageSettings.russian.php Skipping file
58. Execute Modification ./Themes/default/languages/Profile.russian.php Skipping file
59. Execute Modification ./Themes/default/languages/Reports.russian.php Skipping file
60. Execute Modification ./Themes/default/languages/Stats.russian.php Skipping file
61. Execute Modification ./Themes/default/languages/Modifications.russian.php Skipping file
62. Execute Modification ./Themes/default/languages/Admin.spanish-utf8.php Skipping file
63. Execute Modification ./Themes/default/languages/Errors.spanish-utf8.php Skipping file
64. Execute Modification ./Themes/default/languages/Help.spanish-utf8.php Skipping file
65. Execute Modification ./Themes/default/languages/index.spanish-utf8.php Skipping file
66. Execute Modification ./Themes/default/languages/Install.spanish-utf8.php Skipping file
67. Execute Modification ./Themes/default/languages/ManageScheduledTasks.spanish-utf8.php Skipping file
68. Execute Modification ./Themes/default/languages/ManagePermissions.spanish-utf8.php Skipping file
69. Execute Modification ./Themes/default/languages/ManageSettings.spanish-utf8.php Skipping file
70. Execute Modification ./Themes/default/languages/Profile.spanish-utf8.php Skipping file
71. Execute Modification ./Themes/default/languages/Reports.spanish-utf8.php Skipping file
72. Execute Modification ./Themes/default/languages/Stats.spanish-utf8.php Skipping file
73. Execute Modification ./Themes/default/languages/Modifications.spanish-utf8.php Skipping file
74. Execute Modification ./Themes/default/languages/Admin.turkish.php Skipping file
75. Execute Modification ./Themes/default/languages/Errors.turkish.php Skipping file
76. Execute Modification ./Themes/default/languages/Help.turkish.php Skipping file
77. Execute Modification ./Themes/default/languages/index.turkish.php Skipping file
78. Execute Modification ./Themes/default/languages/Install.turkish.php Skipping file
79. Execute Modification ./Themes/default/languages/ManageScheduledTasks.turkish.php Skipping file
80. Execute Modification ./Themes/default/languages/ManagePermissions.turkish.php Skipping file
81. Execute Modification ./Themes/default/languages/ManageSettings.turkish.php Skipping file
82. Execute Modification ./Themes/default/languages/Profile.turkish.php Skipping file
83. Execute Modification ./Themes/default/languages/Reports.turkish.php Skipping file
84. Execute Modification ./Themes/default/languages/Stats.turkish.php Skipping file
85. Execute Modification ./Themes/default/languages/Modifications.turkish.php Skipping file
86. Execute Modification ./Themes/default/languages/Admin.german-utf8.php Skipping file
87. Execute Modification ./Themes/default/languages/Errors.german-utf8.php Skipping file
88. Execute Modification ./Themes/default/languages/Help.german-utf8.php Skipping file
89. Execute Modification ./Themes/default/languages/index.german-utf8.php Skipping file
90. Execute Modification ./Themes/default/languages/Install.german-utf8.php Skipping file
91. Execute Modification ./Themes/default/languages/ManageScheduledTasks.german-utf8.php Skipping file
92. Execute Modification ./Themes/default/languages/ManagePermissions.german-utf8.php Skipping file
93. Execute Modification ./Themes/default/languages/ManageSettings.german-utf8.php Skipping file
94. Execute Modification ./Themes/default/languages/Profile.german-utf8.php Skipping file
95. Execute Modification ./Themes/default/languages/Reports.german-utf8.php Skipping file
96. Execute Modification ./Themes/default/languages/Stats.german-utf8.php Skipping file
97. Execute Modification ./Themes/default/languages/Modifications.german-utf8.php Skipping file
98. Extract File ./Themes/default/Karma.template.php 
99. Extract File ./Themes/default/images/karma.gif 
100. Extract File ./Themes/default/images/karma_bad_basic.gif 
101. Extract File ./Themes/default/images/karma_good_basic.gif 
102. Extract File ./Themes/default/images/karma_bad_super.gif 
103. Extract File ./Themes/default/images/karma_good_super.gif 


Install in Other Themes To use this modification in themes other than the default, the package manager needs to make additional changes to the other themes. If you'd like to install this modification in the other themes, please select these themes below.    Core Theme 
   Execute Modification ./Themes/core/Display.template.php Test failed
  1. Replace ./Themes/core/Display.template.php Test successful
  2. Add After ./Themes/core/Display.template.php Test failed
  3. Replace ./Themes/core/Display.template.php Test failed (Ignore Errors)
  4. Add Before ./Themes/core/Display.template.php Test successful

   Execute Modification ./Themes/core/PersonalMessage.template.php Test failed
  1. Replace ./Themes/core/PersonalMessage.template.php Test failed

   Execute Modification ./Themes/core/Stats.template.php Test failed
  1. Replace ./Themes/core/Stats.template.php Test failed

   Execute Modification ./Themes/core/css/index.css Test successful
  1. Add Before ./Themes/core/css/index.css Test successful

   Actualism 
   Execute Modification ./Themes/actualism205/css/index.css Test successful


Hi everyone, When i'm installing the Actualism theme for my SMF 2.0 RC 5, I get this error! I tried installing on my dummy forum and it can't work as the pictures doesn't show out! Anyone will be able to help me?
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: sdkid on April 01, 2011, 11:09:47 PM
Where can I adjust how many comments are displayed under "View Reputation" in the profile?  My install (SMF2.0 RC5) is only showing 15 Rep comments--and is not generating a link to more "pages" of rep comments
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: waruna on April 01, 2011, 11:56:26 PM
This mod is not compatible with Thank-O-Matic mod right?
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: PLAYBOY on April 03, 2011, 02:59:19 PM
1- It gives error for spanish files on the installation. Because i dont have spanish language on my forum. Would that make any problem if i continue the isntallation?
2- There is no version for 1.1.13. But seems like i can install it to 1.1.13. Would it be any problem?
3- If somebody gives me the words, i can translate the 1.1.x version to turkish so it can be added to new version.
4- Can people add rep on the post or topic? So te posts and topics will have rep also?

Thank you. Nice mod.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: Cerise on April 06, 2011, 02:47:05 PM
Hello.

I added this mod today and can't get the link to show so we can add rep for anyone. I uninstalled and reinstalled as mentioned earlier in this thread by someone who had the same problem. But it still isn't working.

I checked all permissions for my groups according to the install instructions.

These are the mods I have installed:

Ad Managment 3.0.1

RSS Feed Icon 1.1

Global Headers Footers 2.0

Contact Page 2.1.1

Simple Audio Video Embedder 1.1.3

Advanced Reputation System 1.8.3


Can someone direct me to solve this?

Forgot to say I'm running SMF version: SMF 2.0 RC5

Thanks
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: aidyUK on April 08, 2011, 07:14:30 AM
How would i get this theme to work with epic RC5 by crip The images dont show up thats all it is
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: mnmlt on April 09, 2011, 09:00:43 AM

8: Undefined variable: num_give

File: /home/indigoro/public_html/Sources/Profile-View.php
Line: 2119

can anyone help me with this problem?
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: booch_21 on April 09, 2011, 02:02:00 PM
I had been using Karma Description Mod, but it finally quit working properly in RC5.  I had to manually remove all remnants of that mod.  Anyway, I installed this mod, ran the GiveReputation file and have new numbers for everyone.  For the life of me, I cannot get the bar to display for anyone.  I've uninstalled and reinstalled the mod.  I've searched high and lo on this thread and nothing that will help.  This is what users and myself get:

(http://i113.photobucket.com/albums/n211/booch_21/Forum%20Pics/UserCapture.jpg)

Any help would be appreciated!
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: mgrmgr on April 10, 2011, 01:09:47 PM
Did you try to click on the read heart beside  richy61's posting (between the mail and the PM icon) ?

It seems that something else have gone awry though - look at the attached picture from my forum with the row of green icons for reputation power. IIRC that is the version supposed to show. Do you use another theme than the standard one?
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: booch_21 on April 10, 2011, 09:29:58 PM
Quote from: mgrmgr on April 10, 2011, 01:09:47 PM
Did you try to click on the read heart beside  richy61's posting (between the mail and the PM icon) ?

It seems that something else have gone awry though - look at the attached picture from my forum with the row of green icons for reputation power. IIRC that is the version supposed to show. Do you use another theme than the standard one?

I use multiple themes, but still have Curve as the primary, default theme.  None of the themes show the green bars, which is what troubles me.  I have the images in the folders on all themes as well.  Clicking the heart only allows for one to leave reputation for that user.  I even installed the mod while I was in the Curve theme, which is not the one that I normally use for myself. 

I agree, something isn't right, but there were no installation errors, and nothing shows up in the error logs.  Thanks for asking!
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: mgrmgr on April 11, 2011, 05:20:10 PM
Well - at least it was worth a try :)

One other reason I can think about out of my head is the cache question - I fear you thought of that one too - then I'm out of possible answers :(

I'd like to dig into that problem - but I'm currently upgrading my test forum to Version RC5 - where lots of modifications are not (hopefully yet) upgraded to RC5 - and the version emulation leads to tons of errors while installing in my former version RC3 (I admit I skipped RC4 :) ) - so my leisure time is rather limited at this time :(
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: booch_21 on April 11, 2011, 07:21:19 PM
Maybe someone else will see the question and issue then.  Good luck to you!
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: mnmlt on April 12, 2011, 03:49:21 AM
Hi everyone, After installing advance reputation, everything works for the mod however I keep get an undefined error.


Today at 10:16:40 AMType of error: Undefined

http://www.indigoroots.com/index.php?action=profile;area=reputation;u=7
e
8: Undefined variable: num_given

File: /home/indigoro/public_html/Sources/Profile-View.php
Line: 2119


My guess is that the error is something limiting my pages to 1 whenever user is viewing their reputation via profile info, anyone can help me on this?

Something similar is :

when viewing a user profile and log karma

error
http://.../index.php?action=profile;area=reputation;u=12

8: Undefined variable: num_given

Файл: ........./www/Sources/Profile-View.php
line: 2119
2115:      list ($total_actions) = $smcFunc['db_fetch_row']($request);
2116:      $smcFunc['db_free_result']($request);
2117:   
2118:      // Construct the page index
==>2119:      $context['page_index'] = constructPageIndex($scripturl . '?action=reputation', $_REQUEST['start'], $num_given, 50);


Can anyone help me on this? Or can I know if this is fatal or harmful to the forum?

I'm using SMF 2.0 RC 5 and Theme is Actualism by Crip.

Thanks in advance!
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: sdkid on April 16, 2011, 08:36:53 PM
mnmlt:

I am using DarkModern by crip in a 2.0RC5 install--- works great.  I had to manually install some of the icons/graphics, but that's about it.

I am still trying to figure out how to get more rep comments to display in the profile.  I can not find where to adjust it from the default 15 comments.  I think 50 would be good.  Anybody have any ideas on this?
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: xpubstargamingx on April 18, 2011, 11:28:00 AM
About 8 months ago I installed the Advanced Reputation System v0.1.5 for SMF 1.1.x Mod, but it was not really what I was looking for and my community said they would rather have to reputation system in place. I uninstalled it and have disabled karma.

(http://img30.imageshack.us/img30/922/capturesv.png) (http://img30.imageshack.us/i/capturesv.png/)

The highlighted area above that show the Add Reputation.

Is there any solution to that being removed? Do I need to reinstall then uninstall again? Or look for something in my display template?

Running 1.1.13 and any help would be greatly appreciated....
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: sweetbabycakes on April 26, 2011, 10:15:14 AM
hello,

I just installed this yesterday, i think everything is working. But when is the reputation Count supposed to increase? I have given reps, but there doesnt seem to be any increase from 0 on anybodys account even if you give them reps. If you go to the stats page, you can see the reps. Should that number match the number in each post where it shows the reputation power?

thank you

tried to post the link for you to see, but doesnt work

Posts were reputation power should be greater then 0 - everythingdiapercakes.com/forums/index.php?topic=95.msg402#msg402

stats showing rep is greater then 0 -  everythingdiapercakes.com/forums/index.php?action=stats

Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: Spoogs on April 29, 2011, 07:54:57 AM
copy the icon from the default theme into Anecdota
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: samurai-lupin on May 01, 2011, 12:41:33 PM
Hello,

I wanted to install this fine mod but have a problem that a code block in my display.php is moded. It reads

$messages_request = db_query("
SELECT
m.ID_MSG, m.icon, m.subject, m.posterTime, m.posterIP, m.ID_MEMBER, m.modifiedTime, m.modifiedName, m.body, m.edit_reason,
m.smileysEnabled, m.posterName, m.posterEmail,
post_hidden, hidden_reason, hidden_by, hmd.realName,
m.ID_MSG_MODIFIED < $topicinfo[new_from] AS isRead,
IFNULL(lr.ID_TOPIC, 0) as reporttopic, IFNULL(lr.solved, -1) as reportsolved
FROM {$db_prefix}messages as m
LEFT JOIN {$db_prefix}members AS hmd ON (hmd.ID_MEMBER = hidden_by)
LEFT JOIN {$db_prefix}log_reports as lr ON (lr.ID_MSG = m.ID_MSG)
            WHERE m.ID_MSG IN (" . implode(',', $messages) . ")
ORDER BY m.ID_MSG" . (empty($options['view_newest_first']) ? '' : ' DESC'), __FILE__, __LINE__);


This mod requires to perform the following task:

<operation>
<search position="replace"><![CDATA[
$messages_request = db_query("
SELECT
ID_MSG, icon, subject, posterTime, posterIP, ID_MEMBER, modifiedTime, modifiedName, body,
smileysEnabled, posterName, posterEmail,
ID_MSG_MODIFIED < $topicinfo[new_from] AS isRead
FROM {$db_prefix}messages
WHERE ID_MSG IN (" . implode(',', $messages) . ")
ORDER BY ID_MSG" . (empty($options['view_newest_first']) ? '' : ' DESC'), __FILE__, __LINE__);]]></search>
<add><![CDATA[
$messages_request = db_query("
SELECT
m.ID_MSG, m.icon, m.subject, m.posterTime, m.posterIP, m.ID_MEMBER, m.modifiedTime, m.modifiedName, m.body,
m.smileysEnabled, m.posterName, m.posterEmail,
m.ID_MSG_MODIFIED < $topicinfo[new_from] AS isRead, k.message AS is_repped
FROM {$db_prefix}messages AS m
LEFT JOIN {$db_prefix}log_karma AS k ON (k.message = m.ID_MSG AND k.ID_EXECUTOR = {$ID_MEMBER})
WHERE m.ID_MSG IN (" . implode(',', $messages) . ")
ORDER BY m.ID_MSG" . (empty($options['view_newest_first']) ? '' : ' DESC'), __FILE__, __LINE__);]]></add>
</operation>


Can someone please let me know what my moded code block should look like then?

I am not sure what I need to do about this part of my code:

            LEFT JOIN {$db_prefix}members AS hmd ON (hmd.ID_MEMBER = hidden_by)
            LEFT JOIN {$db_prefix}log_reports as lr ON (lr.ID_MSG = m.ID_MSG)


Thank you very much!
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: Sheree on May 03, 2011, 06:58:25 PM
Been waiting for any help on this for months now ... anyone kind enough to answer me? Please?

Quote from: Sheree on March 30, 2011, 02:43:21 AM
Quote from: Sheree on March 11, 2011, 12:55:26 AM
Quote from: Sheree on February 26, 2011, 05:24:16 PM
Hi there thanks for this great mod, I've installed it successfully.

After installation and I hit "add reputation" I get the error

QuoteSession verification failed. Please try logging out and back in again, and then try again.

I have SMF 1.1.13 (fresh installed)

with the following Mods installed

Quote1.    SimplePortal    2.3.3    
2.    Anti Bot: Captcha Clock    2.2
3.    Stars And Badges    2.1    
4.    Aeva Media    1.4c
5.    Custom Action Mod    2.04    
6.    Member Color Link    3.0.8    
7.    Ad Managment    2.3.6.1    
8.    Cbox Integration    1.0    
9.    SMF 1.0.21 / 1.1.13 Update    1.0    
10.    Attachments Positioning    1.1    
11.    Popup PM Message - Uses The Same Window    
12.    Advanced Reputation System    0.1.5    
13.    AvatarSelect    1.2.1    
14.    Profile Comments    2.0.1    
15.    Referrals System    3.0.1    
16.    Add IP2Location to Track IP    1.3    
17.    Welcome Topic Mod    2.1

any help will be much appreciated.  :)



Help with this please 
:'(
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: Switch-Renn on May 05, 2011, 06:03:29 PM
Hey there,

I installed this mod on my SMF 2.0 RC5 a while back, and it appeared to be working. Though anytime a non-Admin/non-Mod tries to spread reputation, it doesn't count towards a members reputation. I have my current log screencapped here (http://i.imgur.com/4Ktu7.png) so you can see what I mean.
Additionally, I have it set so that you get a new Bar Image for every 25 points. However, even members with 30+ points still have only one bar.
I already checked the permissions and it isn't that, so I'm not really sure what could be causing this. :'I If anybody has any suggestions they'd be greatly appreciated.

Thanks!
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: Old Marcus on May 07, 2011, 08:29:59 AM
Hey, got this installed on SMF 1.1.13, but I have no idea how to make the bars show up. I'm just getting their placeholder text, which isn't going to be great once we have more than one bar in people's info.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: Witchboard on May 12, 2011, 10:14:51 AM
Finally hunkered down and got mine working.  Works well, thanks.

Quote from: Sheree on May 03, 2011, 06:58:25 PM
Been waiting for any help on this for months now ... anyone kind enough to answer me? Please?

Did you enable the option to leave reputation in your member group permissions?

Quote from: Old Marcus on May 07, 2011, 08:29:59 AM
Hey, got this installed on SMF 1.1.13, but I have no idea how to make the bars show up. I'm just getting their placeholder text, which isn't going to be great once we have more than one bar in people's info.

Are you using a theme other than default?  On 1.1.13 it will only modify the default theme.  You'll have to parse the installation and manually change other themes.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: XiFiCt69 on May 17, 2011, 11:17:53 PM
Mister (Ha)²,

I'm using the Package for SMF 2.0 RC5, and there is a problem with the Spanish translation, cause the language modification means "spanish-utf8.php" and the Spanish language PHP files are "spanish_es-utf8.php" and "spanish_latin-utf8.php", so I still having the Advanced Reputation System on English language. I've tried to modify the "package-info.xml" and the "spanish-utf8.xml", but gives me a lot of errors on the installation, so I have to install it on English...

Can do you reupload the Package with a fix for this? I need this Package in Spanish...

Thanks in advance!
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: wii123 on May 18, 2011, 04:48:34 PM
After uploading package and when i press "install Mod" it gives me this message "The package you are trying to download or install is either corrupt or not compatible with this version of SMF." when my current version is 2.0 RC5
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: XiFiCt69 on May 19, 2011, 08:23:20 AM
When you are listing your Packages, press Advanced button, and emulate SMF 2.0 RC4 or RC3. Then try to install it again. ;)
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: wii123 on May 19, 2011, 08:31:35 PM
Would you possibly be able to do so I can change the text so i can make it be feedback as i want to make it so when someone buys somthing from someone they can give who ever they traded with feedback so i want it to say just like Feedback: Posetive or Negative

Any way i can edit the files to change it to that? if so please PM me with some instructions (keep in mind im a noob at this) would really be appreciated.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: Nick Whetstone on May 19, 2011, 08:49:09 PM
Quote from: wii123 on May 19, 2011, 08:31:35 PM
Would you possibly be able to do so I can change the text so i can make it be feedback as i want to make it so when someone buys somthing from someone they can give who ever they traded with feedback so i want it to say just like Feedback: Posetive or Negative

Any way i can edit the files to change it to that? if so please PM me with some instructions (keep in mind im a noob at this) would really be appreciated.
If I understand what you're asking, go to /index.php?action=admin;area=featuresettings;sa=karma and change the "Karma label" value.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: wii123 on May 19, 2011, 11:16:16 PM
Quote from: (Ha)² on May 19, 2011, 08:49:09 PM
Quote from: wii123 on May 19, 2011, 08:31:35 PM
Would you possibly be able to do so I can change the text so i can make it be feedback as i want to make it so when someone buys somthing from someone they can give who ever they traded with feedback so i want it to say just like Feedback: Posetive or Negative

Any way i can edit the files to change it to that? if so please PM me with some instructions (keep in mind im a noob at this) would really be appreciated.
If I understand what you're asking, go to /index.php?action=admin;area=featuresettings;sa=karma and change the "Karma label" value.
Like i mean can u add a field to where you can type in what it asks when you press ex smite a pop up box comes up and it will say post a comment on his thread/post and i want it to say "Add feedback to {name} profile."
And yes i know u can change name to feedback and change it to posetive and negative its what i said above i need.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: Sheree on May 22, 2011, 07:57:48 PM
Quote from: Sheree on May 03, 2011, 06:58:25 PM
Been waiting for any help on this for months now ... anyone kind enough to answer me? Please?

Quote from: Sheree on March 30, 2011, 02:43:21 AM
Quote from: Sheree on March 11, 2011, 12:55:26 AM
Quote from: Sheree on February 26, 2011, 05:24:16 PM
Hi there thanks for this great mod, I've installed it successfully.

After installation and I hit "add reputation" I get the error

QuoteSession verification failed. Please try logging out and back in again, and then try again.

I have SMF 1.1.13 (fresh installed)

with the following Mods installed

Quote1.    SimplePortal    2.3.3    
2.    Anti Bot: Captcha Clock    2.2
3.    Stars And Badges    2.1    
4.    Aeva Media    1.4c
5.    Custom Action Mod    2.04    
6.    Member Color Link    3.0.8    
7.    Ad Managment    2.3.6.1    
8.    Cbox Integration    1.0    
9.    SMF 1.0.21 / 1.1.13 Update    1.0    
10.    Attachments Positioning    1.1    
11.    Popup PM Message - Uses The Same Window    
12.    Advanced Reputation System    0.1.5    
13.    AvatarSelect    1.2.1    
14.    Profile Comments    2.0.1    
15.    Referrals System    3.0.1    
16.    Add IP2Location to Track IP    1.3    
17.    Welcome Topic Mod    2.1

any help will be much appreciated.  :)



Help with this please 
:'(

I checked the permission and everything is in place ... I really can't figure out a way to fix the error Please help
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: 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?
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: bambiemurphy on May 23, 2011, 04:30:13 PM
I have not installed it because when I do I get a error with the load.php file.

(http://img8.imageshack.us/img8/6686/smfx.jpg)
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: live627 on May 23, 2011, 04:32:38 PM
(http://www.katzy.dsl.pipex.com/SMF/mods.gif)
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: bambiemurphy on May 23, 2011, 04:36:12 PM
Quote from: live627 on May 23, 2011, 04:32:38 PM
(http://www.katzy.dsl.pipex.com/SMF/mods.gif)

6 Custom buttons / tabs with Sub Menus
SA FBConnect
PayPal Donate
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: bambiemurphy on May 25, 2011, 06:56:28 AM
Any one?
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: Spoogs on May 25, 2011, 09:40:32 AM
Quote from: bambiemurphy on May 25, 2011, 06:56:28 AM
Any one?
Manual Installation of Mods (http://docs.simplemachines.org/index.php?topic=402.0)
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: Nomadic on May 27, 2011, 04:35:26 PM
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.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: kahscrap on May 27, 2011, 11:19:51 PM
any word on a non curve version? thanks, kah
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: live627 on May 27, 2011, 11:21:42 PM
Quote from: kahscrap on May 27, 2011, 11:19:51 PM
any word on a non curve version? thanks, kah
why?
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: kahscrap on May 27, 2011, 11:24:08 PM
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.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: 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?
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: kahscrap on May 28, 2011, 10:11:32 AM
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.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: 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.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: sdkid on June 05, 2011, 01:27:33 PM
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?
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: sdkid on June 08, 2011, 02:12:53 PM
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 />';
}
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: Fustrate on June 08, 2011, 02:20:13 PM
Open Profile-View.php, find
$amount = 15;
and change 15 to whatever number.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: sdkid on June 08, 2011, 02:48:43 PM
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)
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: Old Marcus on June 09, 2011, 01:26:32 PM
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?
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: Fustrate on June 09, 2011, 01:43:46 PM
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 (http://custom.simplemachines.org/mods/index.php?action=parse;smf_version=2.0_RC5;attach=170914;mod=1129)
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: sdkid on June 10, 2011, 04:07:39 AM
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.)
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: Fustrate on June 10, 2011, 11:47:27 AM
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 =\
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: 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,
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: Nick Whetstone on June 13, 2011, 11:35:16 PM
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.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: Fustrate on June 14, 2011, 11:24:43 AM
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.
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: TurtleKicker on June 14, 2011, 04:29:23 PM
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. :)
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: ormuz on June 14, 2011, 04:37:17 PM
Quote from: (Ha)² on June 13, 2011, 11:35:16 PM
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?"

I've that field with 20 points (and all the users get the 20 points on registration, so that's ok), but the bot, with no posts and no topics, get 1980 points (isn't a normal situation). I'm afraid that somehow the db can be compromised...  What do u think?
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: Aoife on June 14, 2011, 04:38:28 PM
Quote from: sremick on June 14, 2011, 04:29:23 PM
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. :)

I tried the install using RC5 emulation and it did not work. BUT it DID work when I installed it without using emulation.    
Title: Re: Advanced Reputation System - Now updated for 2.0 RC5!
Post by: Nick Whetstone on June 14, 2011, 07:33:03 PM
The current package installs without emulation for me on a local installation of 2.0.

Quote from: ormuz on June 14, 2011, 04:37:17 PM
Quote from: (Ha)² on June 13, 2011, 11:35:16 PM
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?"

I've that field with 20 points (and all the users get the 20 points on registration, so that's ok), but the bot, with no posts and no topics, get 1980 points (isn't a normal situation). I'm afraid that somehow the db can be compromised...  What do u think?
To be honest, I am not sure how this is happening, assuming you have double-checked all of the permissions. Who is giving the reputation to the bots? Other bots?

I do not think the DB has been compromised because of this Mod, however; at least, no one else has reported similar issues AFAIK.
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: IDunc on June 15, 2011, 03:15:15 PM
The images didn't upload to my cPanel, and I don't know where to find them. Would you be so kind as to posting each image for the repuation?

This is what I get in the post profiles: (http://mwheadquarters.co.cc/Themes/inferno_20rc5/images/karma_good_basic.gif)
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: Nick Whetstone on June 15, 2011, 05:41:11 PM
Quote from: IDunc on June 15, 2011, 03:15:15 PM
Would you be so kind as to posting each image for the repuation?
Sure.
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: IDunc on June 15, 2011, 05:45:13 PM
Thank you very much! Just as clarification, why was it that none of the images got uploaded?
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: actgym on June 20, 2011, 11:31:12 PM
Hi I have installed this mod on my theme and didnt have an error - but it did have errors reported against core. Will this have a flow on impact my custom theme?

The Add karma button shows up but the rep power does not.

Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: actgym on June 20, 2011, 11:59:16 PM
hah dont worry i am stupid
I forgot to turn it on in the core features. working fine now lol
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: xnerox on June 21, 2011, 03:01:07 PM
Hi i really want to install this mod however i get the error

Database Error
No database selected
File: /hosted/subs/ulmb.com/c/f/cfcia/public_html/forum/install.php
Line: 13

Not sure if it matters but i use a prefix other than smf_ and the database server name is not localhost.
My forum was hosted elsewhere untill i backed up the databse and moved it to a new host. Maybe i missed something when reconfiguring after the move?

Any help would be greatly apreciated as this looks like a very good mod

Thanks in advance
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: cyberspeed on June 22, 2011, 05:09:30 PM
Where can i find the panel that says who voted me and whom i voted?
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: Nick Whetstone on June 22, 2011, 05:35:58 PM
Quote from: xnerox on June 21, 2011, 03:01:07 PM
Hi i really want to install this mod however i get the error

Database Error
No database selected
File: /hosted/subs/ulmb.com/c/f/cfcia/public_html/forum/install.php
Line: 13

Not sure if it matters but i use a prefix other than smf_ and the database server name is not localhost.
My forum was hosted elsewhere untill i backed up the databse and moved it to a new host. Maybe i missed something when reconfiguring after the move?

Any help would be greatly apreciated as this looks like a very good mod

Thanks in advance
If your Settings.php file is configured correctly, and install.php is being run in the forum's root directory, I don't see why it wouldn't work... any errors in the Error Log?
Quote from: cyberspeed on June 22, 2011, 05:09:30 PM
Where can i find the panel that says who voted me and whom i voted?
?action=profile;area=reputation if I understand you correctly.
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: cyberspeed on June 22, 2011, 06:06:16 PM
Ok, that did the trick, but only shows rep ive given, not received, also, shouldnt be a link to this in profile, to see others rep and comments?

EDIT: NVM just found it
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: xnerox on June 22, 2011, 06:30:45 PM
nothing at all. i think it may have been an error thrown up from the host rather than from CMF. Not to worry for now as i have bigger problems to sort out so ill have to come back to this. But thanks for your time
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: IDunc on June 26, 2011, 01:09:57 AM
Test Failed during installation in Sources/Load.php, Sources/RemoveTopic.php, and in my custom theme, Display.template.php
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: IDunc on June 26, 2011, 02:32:16 AM
I'm parsing the files that get errors, where do I place this code in my Load.php:

mem.birthdate, mem.icq, mem.aim, mem.yim, mem.msn, mem.posts, mem.last_login, mem.karma_good, mem.karma_disabled,

That's where Load.php is failing.

In my RemoveTopic.php, I have to replace:

while ($rowMembers = $smcFunc['db_fetch_assoc']($requestMembers))
updateMemberData($rowMembers['id_member'], array('posts' => 'posts - ' . $rowMembers['posts']));


with this:

while ($rowMembers = $smcFunc['db_fetch_assoc']($requestMembers))
{
updateMemberData($rowMembers['id_member'], array('posts' => 'posts - ' . $rowMembers['posts']));

if($modSettings['karmaValueThread'] > 0)
$request = $smcFunc['db_query']('', '
UPDATE {db_prefix}members
SET karma_good = karma_good - {int:newkarma}
WHERE id_member = {int:memberid}',
array(
'newkarma' => $modSettings['karmaValueThread'],
'memberid' => $rowMembers['id_member']
)
);
}


But this is the code that I found:

// while ($rowMembers = $smcFunc['db_fetch_assoc']($requestMembers))
// updateMemberData($rowMembers['id_member'], array('posts' => 'posts - ' . $rowMembers['posts']));

// Begin SMFShop code
while ($rowMembers = $smcFunc['db_fetch_assoc']($requestMembers))
{
updateMemberData($rowMembers['id_member'], array('posts' => 'posts - ' . $rowMembers['posts']));

global $smcFunc, $modSettings;
$smcFunc['db_query']('', '
UPDATE {db_prefix}members
SET money = IF(money >= {int:amount}, money - {int:amount}, 0)
WHERE id_member = {int:member}
LIMIT 1',
array(
'amount' => $modSettings['shopPointsPerPost'],
'member' => $rowMembers['id_member'],
));
}
// End SMFShop code


What do I do here?

My DisplayTemplate is fine.
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: IDunc on June 26, 2011, 10:21:31 PM
Quote from: IDunc on June 26, 2011, 02:32:16 AM
I'm parsing the files that get errors, where do I place this code in my Load.php:

mem.birthdate, mem.icq, mem.aim, mem.yim, mem.msn, mem.posts, mem.last_login, mem.karma_good, mem.karma_disabled,

That's where Load.php is failing.

In my RemoveTopic.php, I have to replace:

while ($rowMembers = $smcFunc['db_fetch_assoc']($requestMembers))
updateMemberData($rowMembers['id_member'], array('posts' => 'posts - ' . $rowMembers['posts']));


with this:

while ($rowMembers = $smcFunc['db_fetch_assoc']($requestMembers))
{
updateMemberData($rowMembers['id_member'], array('posts' => 'posts - ' . $rowMembers['posts']));

if($modSettings['karmaValueThread'] > 0)
$request = $smcFunc['db_query']('', '
UPDATE {db_prefix}members
SET karma_good = karma_good - {int:newkarma}
WHERE id_member = {int:memberid}',
array(
'newkarma' => $modSettings['karmaValueThread'],
'memberid' => $rowMembers['id_member']
)
);
}


But this is the code that I found:

// while ($rowMembers = $smcFunc['db_fetch_assoc']($requestMembers))
// updateMemberData($rowMembers['id_member'], array('posts' => 'posts - ' . $rowMembers['posts']));

// Begin SMFShop code
while ($rowMembers = $smcFunc['db_fetch_assoc']($requestMembers))
{
updateMemberData($rowMembers['id_member'], array('posts' => 'posts - ' . $rowMembers['posts']));

global $smcFunc, $modSettings;
$smcFunc['db_query']('', '
UPDATE {db_prefix}members
SET money = IF(money >= {int:amount}, money - {int:amount}, 0)
WHERE id_member = {int:member}
LIMIT 1',
array(
'amount' => $modSettings['shopPointsPerPost'],
'member' => $rowMembers['id_member'],
));
}
// End SMFShop code


What do I do here?

My DisplayTemplate is fine.
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: live627 on June 26, 2011, 11:13:42 PM
(http://www.katzy.dsl.pipex.com/SMF/mods.gif)
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: IDunc on June 26, 2011, 11:19:48 PM
Blank image.
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: live627 on June 26, 2011, 11:44:55 PM
What mods do you have instaleldd?
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: IDunc on June 26, 2011, 11:50:52 PM
I've decided to restart my website. I had too many files with too many duplicated codes, and just a bunch of other messed up stuff. If I have any problems installing on a fresh SMF, I'll report back.
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: live627 on June 26, 2011, 11:56:25 PM
Gotta keep those tubes cleared of overgrown pussy cats :P
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: maskena on June 27, 2011, 10:50:20 AM
i take this mod on themes headline by crip, but why this image (http://mwheadquarters.co.cc/Themes/inferno_20rc5/images/karma_good_basic.gif) dont wanne show sir? may you help me

thank you
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: Jessica. on June 27, 2011, 04:52:11 PM
installed, no rep blocks whatsoever. no idea why because it works fine in my other SMF forum
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: IDunc on June 27, 2011, 05:44:25 PM
http://www.simplemachines.org/community/index.php?topic=230676.msg3076827#msg3076827

There's all the rep blocks.
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: Donovan` on June 27, 2011, 06:31:58 PM
Where do you go to change the images? I have mine installed on MysticJade, and the images didn't install correctly.
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: Calaquendi on June 30, 2011, 04:08:38 AM
Hi, I've installed this mod to 2.0 forum. I think I had to change RemoveTopic.php manually. Everything is fine but when I tried to remove topic I got error Parse error: syntax error, unexpected '}' in ...RemoveTopic.php ... line.... I've commented that line and error disappeared. But then I got another error: The database value you're trying to insert does not exist: memberid How can I fix it?
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: tawanda on June 30, 2011, 11:59:26 AM
Hi everyone,

I have just started a new forum based on SMF 2.0 (Final). I have installed this mod without a errors it works as intended.   

I have a few questions to ask/prodblems to solve:

1. When i go to # Features and Options »# Reputation , how come i see these below which say "unused" ?.

Reputation label (unused)
Reputation applaud label (unused)
Reputation smite label (unused)

My theme is a premium one from DzinerStudio.com ( I am not sure if its a mod issue or the developer of the theme  ? :o )

2. Is there a way to also change the text "Reputation Power" under the user's avatar. I would like to change it into something like "Rep Level" or something . I don't mind tinkering with php codes.

That's all, i hope you can help me solve those two above  hehe.  ;D
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: GraphicJunki on June 30, 2011, 04:41:33 PM
Hi

will there be an update to this for latest version of SMF?
I would really like to have this mod running on my site
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: ɔɔɔɔɔɔuɥoɾ on June 30, 2011, 07:13:51 PM
Check the new topic title "Advanced Reputation System - Confirmed to work with SMF 2.0!"
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: GraphicJunki on June 30, 2011, 11:24:57 PM
I noticed after posting  :o  So i downloaded it and went to install and packet manager advised not to install as it  failed tests
The attached files show what failed.  I don't have any other karma mods running and includes the built in one with SMF

Installed on my site

Simple Portal 2.3.3
SMF 2.0 Latest version

Mod list

   SimplePortal    2.3.3    
   BBC [you]    1.3    
   Aeva Media    1.4w
   Buddies List    1.0    
   More Spiders    1.2    
   SoLoSMiLeYS    1.0    
   Welcome Topic Mod    2.1    


Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: hcfwesker on July 03, 2011, 07:37:37 PM
I'm on SMF 2.0

I think the LIKEs Pro mod added an edit to the Display.php file

Mine looks like this.

$messages_request = $smcFunc['db_query']('', '
SELECT
msg.id_msg, msg.icon, msg.subject, msg.poster_time, msg.poster_ip, msg.id_member, msg.modified_time, msg.modified_name, msg.body, msg.edit_reason,
smileys_enabled, msg.poster_name, msg.poster_email, msg.approved, msg.likes, IFNULL(l.id_member,"") AS liked_member,
id_msg_modified < {int:new_from} AS is_read
FROM {db_prefix}messages AS msg
LEFT JOIN {db_prefix}likes AS l ON (l.id_member = {int:mem} AND msg.id_msg = l.id_message)
WHERE id_msg IN ({array_int:message_list})
GROUP BY msg.id_msg
ORDER BY ' .$sticky_sort. ' id_msg' . (empty($options['view_newest_first']) ? '' : ' DESC'),
array(
'message_list' => $messages,
'new_from' => $topicinfo['new_from'],
'mem' => $user_info['id']
)
);


When I try to edit the one line in that i see changes

m.id_msg_modified < {int:new_from} AS is_read, k.message AS is_repped

I keep getting database errors, and have to remove it.

Can anyone help?
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: Fustrate on July 05, 2011, 12:05:54 PM
There should be another edit to that query, starting with "LEFT JOIN".
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: PLAYBOY on July 05, 2011, 05:00:12 PM
It doesnt install on 2.0
When will it be updated for 2.0?
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: maskena on July 05, 2011, 05:44:24 PM
Sir, why my member can't give reputation?
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: Nick Whetstone on July 05, 2011, 06:29:05 PM
Quote from: PLAYBOY on July 05, 2011, 05:00:12 PM
It doesnt install on 2.0
When will it be updated for 2.0?
It should work with 2.0 as-is? What error(s) are you getting?

Quote from: maskena on July 05, 2011, 05:44:24 PM
Sir, why my member can't give reputation?
Have you enabled Reputation? Have you checked the permissions? If you're using a custom theme, did you make sure to install the Reputation System in the custom theme? Any errors in the error log?
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: PLAYBOY on July 07, 2011, 12:10:48 AM
QuoteIt should work with 2.0 as-is? What error(s) are you getting?

Tests Failed with all of the files below
./Themes/default/languages/Errors.turkish.php
./Themes/default/languages/Help.turkish.php
./Themes/default/languages/ManageScheduledTasks.turkish.php
./Themes/default/languages/ManagePermissions.turkish.php
./Themes/default/languages/ManageSettings.turkish.php
./Themes/default/languages/Reports.turkish.php
./Themes/default/languages/Stats.turkish.php
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: propaganda on July 21, 2011, 07:16:28 PM
Is there any way for an admin to see who's giving and taking karma from members? I have a real troll on our forum and he's +23 and no one can stand him, I want to see if he's giving Karma to himself.
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: GraphicJunki on July 23, 2011, 05:42:11 AM
Finally got this mod install but doesn't work with custom themes there was no popup.
noway to give Rep to others.

I give up
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: Mindless on July 28, 2011, 10:44:26 PM
Cool mod i used it in 2.0 RC1 right up now im using it in 2.0 stable release - Throws some Xhtml errors that are mainly on default/Display.Template.php

Find :

id="repicon"

Change to :

id="repicon',$message['id'],'"

I'll post the other 9 soon once i have it valid, thats what im seeing on one post with one reply -= 10 errors.

Noticed and undefined variable on Profile.View.php, i presume an empty value needs the variable set as '' outside the while loop ?

// Construct the page index
$context['page_index'] = constructPageIndex($scripturl . '?action=reputation', $_REQUEST['start'], $num_given, 50);


So i defined the variable outside the while can you confirm thats ok ?

$num_given = '';
while ($row = $smcFunc['db_fetch_assoc']($request))
{
// There are two types of rows - ones you sent, and ones you received.
if($row['id_target'] == $memID)
{
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: hoots on July 31, 2011, 03:04:12 PM
start a new topic, enter nothing! press post, reputation gained, press post, reputation gained, etc.........
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: saosangmo on August 03, 2011, 08:03:55 AM
Hi (Ha)²,
Can I setting to minus point per post?
thank you for great work.
-saosangmo
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: geezmo on September 19, 2011, 09:59:14 PM
Tried to search the thread but can't find the answer to my question.

How do I show the actual negative reputation score of a person with negative reputation?

I noticed that if you have a negative reputation, the score just shows 0. I want to display the actual negative score so that people can differentiate between a person with 1 negative reputation and another one with, say, 15 negative reputation. 

Thanks.
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: Integer_ on September 23, 2011, 07:25:21 PM
How would i get this to work with the original core theme. Not the default theme. It gives errors (test failures, etc.) so i cant actually install it and have it work without the old fashioned Session cant be verified error. Please help
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: gisfreak on October 03, 2011, 10:55:13 AM
any news bout update to this mod? this is really good mod
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: lostprodigy on October 05, 2011, 09:31:33 PM
Quote from: (Ha)² on March 25, 2008, 12:51:10 PM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=1129)



FAQ - Please Read!



  • Why is my reputation at zero? It was higher before I installed this mod!
    Reputation is split into two counts - your points and your power. In a fresh install of the Reputation System, it takes 100 points to get 1 power, which shows in your posts.

  • So what happened to my points?
    They're still there - check your profile. You just had less than 100 points before installing this mod, and the Reputation System rounds power down.

  • How can I give my members points for their posts and topics made before I installed this mod?
    Simple - download GiveReputation.php from the mod's download page (http://custom.simplemachines.org/mods/index.php?mod=1129), upload it to your forum's root directory, and point your browser to it. Make sure you decide how many points they get per post/topic before starting!

  • What if I just want to give everyone the same amount, not based on posts and topics?
    Using phpMyAdmin (http://www.simplemachines.org/community/index.php?topic=21919.0) or another database management software, execute the following query:
Code (SMF1) Select
UPDATE smf_members
SET karmaGood = 1000, karmaBad = 0
Code (SMF2) Select
UPDATE smf_members
SET karma_good = 1000, karma_bad = 0

  • smf_ is the default SMF db_prefix, yours could be different. Replace 1000 with however many points you want to give people.

  • The box doesn't pop up in a post, or the images don't show!
    First try a hard refresh - press control-shift-r (command-shift-r on a Mac) to clear the old version of the page your computer was keeping. If that doesn't help, make sure the changes were made to the files in your custom theme. SMF 2.0 does this by default, but SMF 1.1 does not. To see the install instructions for your version, go to the mod's download page (http://custom.simplemachines.org/mods/index.php?mod=1129) and click the button next to the version you installed. Choose your SMF version, and press Submit. It will then give you manual install instructions, and you can follow along for each of the files that are in your theme's directory.

  • Can I change the algorithm used to give reputation?
    Although it is technically possible to totally change the way reputation is given, there is no built-in way to change it. Points given are directly related to the power of whoever is giving it to them.

  • Can I use any other karma-based modifications with this one?
    NO! This is the #1 cause of major problems with the reputation system! Since this modification changes so much of how Karma works, it really doesn't play nicely with other karma mods, and could cause some big problems with your site.

More will be added as I see them.



Advanced Reputation System v1.8.2 for SMF 2.0 RC5


Important Instructions!



Before using this mod, uninstall all other Karma-changing mods. This mod changes so much that most other Karma mods will be incompatible.

After installing, go into Configuration > Features & Options > Core Features and make sure Reputation is turned on. Then, go to Members > Permissions > General Permissions and select which membergroups you want to be able to give positive reputation. Click 'Advanced Options' and make sure Add Permission is selected in the bottom left dropdown box. In the bottom right, select 'Can +reputation other users' and click 'Set Permission'. Repeat for 'Can -reputation other users' and 'Disable display of own reputation'. Then select your Moderator groups and give them the permission to 'Delete reputuation actions'.

That's about it! There are a dozen or so settings under Configuration > Figures & Options > Reputation that you can mess around with, and six images that you can change if you feel like it.



One More Thing!



To install this modification in any theme other than Default, please click the box next to "Install in Other Themes" at the bottom of this page and check the applicable themes.


Advanced Reputation System v0.1.5 for SMF 1.1.10


Important Instructions!



Before using this mod, uninstall all other Karma-changing mods. This mod changes so much that most other Karma mods will be incompatible.

After installing, make sure "Enable reputation" is selected in Configuration > Figures & Options > Reputation. Then, go to Members > Permissions and select which membergroups you want to be able to give positive reputation. Make sure "Add Permission" is selected in the bottom left dropdown box. In the bottom right, select "Can +reputation other users" and click "Set Permission". Repeat for "Can -reputation other users" and "Disable display of own reputation". Then select your Moderator groups and give them the permission to "Delete reputuation actions".

That's about it! There are a dozen or so settings under Configuration > Figures & Options > Reputation that you can mess around with, and six images that you can change if you feel like it.

Anyway I could get this to work on SMF RC3? Please get back to me on this :D
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: lostprodigy on October 06, 2011, 09:53:45 PM
bump
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: Matthew K. on October 06, 2011, 09:59:17 PM
As far as I know, the author is no longer supporting this modification.
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: Fustrate on October 12, 2011, 03:37:13 PM
He sent me a PM asking if he could release it as BSD - don't know if he ever did that.

By the way, I was looking through the code and I noticed that this operation is removing mem.openid_uri:
Code (Find) Select
mem.openid_uri, mem.birthdate, mem.icq, mem.aim, mem.yim, mem.msn, mem.posts, mem.last_login, mem.karma_good,
Code (Replace With) Select
mem.birthdate, mem.icq, mem.aim, mem.yim, mem.msn, mem.posts, mem.last_login, mem.karma_good, mem.karma_disabled,
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: Matthew K. on October 12, 2011, 03:41:45 PM
I know he wanted to, but as far as I know, he's not been around much.

I can ask him next time I talk to him, saw him briefly last night.
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: Nick Whetstone on October 19, 2011, 06:29:25 PM
Sorry to everybody. I just have had less than no time to develop this in the last couple of months. I can't modify the package right now, but do w/e you want with it in the meantime (as far as redistributing/modifying it goes).
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: adInfoRC.net on October 20, 2011, 08:00:18 PM
Hello.

Can I change relation 100->1 ¿? (raputation -> power)

To something smaller?? Like 10 -> 1 or so.

Thanks :D
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: adInfoRC.net on October 22, 2011, 07:18:23 AM
Somebody??
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: adInfoRC.net on October 26, 2011, 05:32:43 AM
I found install.php with some code I think could be related to my question:

$smcFunc['db_insert']('ignore',
   '{db_prefix}settings',
   array('variable' => 'string', 'value' => 'string'),
   array(
      array('karmaBarPower', '100'),
      array('karmaBarPoints', '1000'),

Could it be if I change 100 to 1 that 1 karma point will equal 1 power point?

Thanks!
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: sdkid on October 27, 2011, 10:30:08 AM
Quote from: adInfoRC.net on October 20, 2011, 08:00:18 PM
Hello.

Can I change relation 100->1 ¿? (raputation -> power)

To something smaller?? Like 10 -> 1 or so.

Thanks :D

All of those settings are in the admin settings panel for the mod.  I started with settings VERY low -- at 10 rep points = 1 power point, and 50 rep points = 1 green bar.  Now it is more like 500 rep points = 1 green bar.  Go to your Admin panel.
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: KensonPlays on November 02, 2011, 10:37:47 AM
Doesn't work with 2.0.1, I get these errors: (too many for me to do manual edits at the moment)


1. Execute Code install.php
    2. Execute Modification ./index.php Test successful    3. Execute Modification ./Themes/default/Display.template.php Test failed     
  1. Replace ./Themes/default/Display.template.php Test successful   
  2. Add After ./Themes/default/Display.template.php Test failed       4. Execute Modification ./Themes/default/Profile.template.php Test successful    5. Execute Modification ./Themes/default/PersonalMessage.template.php Test failed     
  1. Replace ./Themes/default/PersonalMessage.template.php Test failed       6. Execute Modification ./Themes/default/Stats.template.php Test failed     
  1. Add Before ./Themes/default/Stats.template.php Test failed       7. Execute Modification ./Themes/default/Xml.template.php Test successful    8. Execute Modification ./Themes/default/scripts/script.js Test successful   
9. Execute Modification ./Themes/default/style.css File not found    10. Execute Modification ./Sources/Display.php Test successful    11. Execute Modification ./Sources/Karma.php Test successful    12. Execute Modification ./Sources/Load.php Test successful    13. Execute Modification ./Sources/ManageMaintenance.php Test successful    14. Execute Modification ./Sources/ManagePermissions.php Test successful    15. Execute Modification ./Sources/ManageServer.php Test successful    16. Execute Modification ./Sources/ManageSettings.php Test successful    17. Execute Modification ./Sources/Post.php Test failed     
  1. Replace ./Sources/Post.php Test failed   
  2. Replace ./Sources/Post.php Test failed       18. Execute Modification ./Sources/Profile.php Test successful    19. Execute Modification ./Sources/Profile-Modify.php Test successful    20. Execute Modification ./Sources/Profile-View.php Test successful    21. Execute Modification ./Sources/RemoveTopic.php Test successful    22. Execute Modification ./Sources/ScheduledTasks.php Test successful    23. Execute Modification ./Sources/Stats.php Test successful    24. Execute Modification ./Sources/Subs-Members.php Test successful    25. Execute Modification ./Sources/Xml.php Test successful    26. Execute Modification ./Themes/default/Display.template.php Test successful    27. Execute Modification ./Themes/default/languages/Admin.english.php Test successful    28. Execute Modification ./Themes/default/languages/Errors.english.php Test successful    29. Execute Modification ./Themes/default/languages/Help.english.php Test successful    30. Execute Modification ./Themes/default/languages/index.english.php Test successful    31. Execute Modification ./Themes/default/languages/Install.english.php Test successful    32. Execute Modification ./Themes/default/languages/ManageScheduledTasks.english.php Test successful    33. Execute Modification ./Themes/default/languages/ManagePermissions.english.php Test successful    34. Execute Modification ./Themes/default/languages/ManageSettings.english.php Test successful    35. Execute Modification ./Themes/default/languages/Profile.english.php Test successful    36. Execute Modification ./Themes/default/languages/Reports.english.php Test successful    37. Execute Modification ./Themes/default/languages/Stats.english.php Test successful    38. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful    39. Execute Modification ./Themes/default/languages/Admin.english-utf8.php Test successful    40. Execute Modification ./Themes/default/languages/Errors.english-utf8.php Test successful    41. Execute Modification ./Themes/default/languages/Help.english-utf8.php Test successful    42. Execute Modification ./Themes/default/languages/index.english-utf8.php Test successful    43. Execute Modification ./Themes/default/languages/Install.english-utf8.php Test successful    44. Execute Modification ./Themes/default/languages/ManageScheduledTasks.english-utf8.php Test successful    45. Execute Modification ./Themes/default/languages/ManagePermissions.english-utf8.php Test successful    46. Execute Modification ./Themes/default/languages/ManageSettings.english-utf8.php Test successful    47. Execute Modification ./Themes/default/languages/Profile.english-utf8.php Test successful    48. Execute Modification ./Themes/default/languages/Reports.english-utf8.php Test successful    49. Execute Modification ./Themes/default/languages/Stats.english-utf8.php Test successful    50. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php Test successful   
51. Execute Modification ./Themes/default/languages/Admin.turkish.php Skipping file   
52. Execute Modification ./Themes/default/languages/Errors.turkish.php Skipping file   
53. Execute Modification ./Themes/default/languages/Help.turkish.php Skipping file   
54. Execute Modification ./Themes/default/languages/index.turkish.php Skipping file   
55. Execute Modification ./Themes/default/languages/Install.turkish.php Skipping file   
56. Execute Modification ./Themes/default/languages/ManageScheduledTasks.turkish.php Skipping file   
57. Execute Modification ./Themes/default/languages/ManagePermissions.turkish.php Skipping file   
58. Execute Modification ./Themes/default/languages/ManageSettings.turkish.php Skipping file   
59. Execute Modification ./Themes/default/languages/Profile.turkish.php Skipping file   
60. Execute Modification ./Themes/default/languages/Reports.turkish.php Skipping file   
61. Execute Modification ./Themes/default/languages/Stats.turkish.php Skipping file    62. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful    63. Execute Modification ./Themes/default/languages/Admin.turkish-utf8.php Test successful    64. Execute Modification ./Themes/default/languages/Errors.turkish-utf8.php Test failed     
  1. Replace ./Themes/default/languages/Errors.turkish-utf8.php Test failed   
  2. Add Before ./Themes/default/languages/Errors.turkish-utf8.php Test successful       65. Execute Modification ./Themes/default/languages/Help.turkish-utf8.php Test failed     
  1. Replace ./Themes/default/languages/Help.turkish-utf8.php Test failed       66. Execute Modification ./Themes/default/languages/index.turkish-utf8.php Test successful    67. Execute Modification ./Themes/default/languages/Install.turkish-utf8.php Test successful    68. Execute Modification ./Themes/default/languages/ManageScheduledTasks.turkish-utf8.php Test successful    69. Execute Modification ./Themes/default/languages/ManagePermissions.turkish-utf8.php Test failed     
  1. Replace ./Themes/default/languages/ManagePermissions.turkish-utf8.php Test failed   
  2. Add Before ./Themes/default/languages/ManagePermissions.turkish-utf8.php Test successful       70. Execute Modification ./Themes/default/languages/ManageSettings.turkish-utf8.php Test failed     
  1. Replace ./Themes/default/languages/ManageSettings.turkish-utf8.php Test failed   
  2. Replace ./Themes/default/languages/ManageSettings.turkish-utf8.php Test failed   
  3. Add Before ./Themes/default/languages/ManageSettings.turkish-utf8.php Test successful       71. Execute Modification ./Themes/default/languages/Profile.turkish-utf8.php Test successful    72. Execute Modification ./Themes/default/languages/Reports.turkish-utf8.php Test successful    73. Execute Modification ./Themes/default/languages/Stats.turkish-utf8.php Test failed     
  1. Replace ./Themes/default/languages/Stats.turkish-utf8.php Test failed       74. Execute Modification ./Themes/default/languages/Modifications.turkish-utf8.php Test successful   
75. Extract File ./Themes/default/Karma.template.php
   
76. Extract File ./Themes/default/images/karma.gif
   
77. Extract File ./Themes/default/images/karma_bad_basic.gif
   
78. Extract File ./Themes/default/images/karma_good_basic.gif
   
79. Extract File ./Themes/default/images/karma_bad_super.gif
   
80. Extract File ./Themes/default/images/karma_good_super.gif
   
81. Extract File ./Themes/default/images/karma_disabled_basic.gif

As well as all 3 other themes, they have errors too. I have no other mods which shouldn't conflict. Here is my list anyway:
Quote
1.    LGF Mod    1.1    (disabled)
2.    Simple Audio Video Embedder    2.0.3    (installed)
3.    Spoiler Tag    0.7.2a    (installed)
4.    Ad Managment    3.0.1    (not installed)
5.    PM to New Members    1.2    (installed)
6.    Dream Portal    1.0.5    (installed)
7.    Hide Avatars from Guests    2.0    (installed)
8.    Attention Locked Topic    1.0    (installed)
9.    Advanced Reputation System    1.7.5    (not installed, ERROR!!!!)
10.    Downloads System    1.4.1    (installed)
11.    Auto Respond    1.0.2    (not installed)
12.    Tapatalk SMF 2.0 RC4/RC5/Final Plugin    3.0.0    (installed)
13.    Drafts    1.1.2    (installed)
14.    httpBL    2.5.1    (installed)
15.    reCAPTCHA for SMF    0.9.8a    (installed)
16.    Login Security    1.0.2.2    (installed)
17.    Censored Word Packs    1.0    (installed)
18.    EzPortal    0.5.2    (not installed)
19.    ENotify    2.0.1    (installed)
20.    SMF Gallery Lite    3.1.1    (installed)
21.    Welcome Topic Mod    2.1    (installed)
22.    Bad Behavior mod    1.5.6    (installed)
23.    Hide Signatures from Guests    2.0    (installed)
24.    SMF Advanced Topic Prefix Mod    2.1.10    (installed)
25.    SMF Articles    1.4    (installed)
26.    Ultimate Profile    0.9.1    (installed)
27.    Stop Spammer    2.3.9    (installed)
28.    Contact Page    3.0    (installed)
29.    Hide User Names from Guests    1.1    (installed)
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: sdkid on November 06, 2011, 01:05:00 AM
Quote from: Kcmartz on November 02, 2011, 10:37:47 AM
Doesn't work with 2.0.1, I get these errors: (too many for me to do manual edits at the moment)


1. Execute Code install.php
    2. Execute Modification ./index.php Test successful    3. Execute Modification ./Themes/default/Display.template.php Test failed     
  1. Replace ./Themes/default/Display.template.php Test successful   
  2. Add After ./Themes/default/Display.template.php Test failed       4. Execute Modification ./Themes/default/Profile.template.php Test successful    5. Execute Modification ./Themes/default/PersonalMessage.template.php Test failed     
  1. Replace ./Themes/default/PersonalMessage.template.php Test failed       6. Execute Modification ./Themes/default/Stats.template.php Test failed     
  1. Add Before ./Themes/default/Stats.template.php Test failed       7. Execute Modification ./Themes/default/Xml.template.php Test successful    8. Execute Modification ./Themes/default/scripts/script.js Test successful   
9. Execute Modification ./Themes/default/style.css File not found    10. Execute Modification ./Sources/Display.php Test successful    11. Execute Modification ./Sources/Karma.php Test successful    12. Execute Modification ./Sources/Load.php Test successful    13. Execute Modification ./Sources/ManageMaintenance.php Test successful    14. Execute Modification ./Sources/ManagePermissions.php Test successful    15. Execute Modification ./Sources/ManageServer.php Test successful    16. Execute Modification ./Sources/ManageSettings.php Test successful    17. Execute Modification ./Sources/Post.php Test failed     
  1. Replace ./Sources/Post.php Test failed   
  2. Replace ./Sources/Post.php Test failed       18. Execute Modification ./Sources/Profile.php Test successful    19. Execute Modification ./Sources/Profile-Modify.php Test successful    20. Execute Modification ./Sources/Profile-View.php Test successful    21. Execute Modification ./Sources/RemoveTopic.php Test successful    22. Execute Modification ./Sources/ScheduledTasks.php Test successful    23. Execute Modification ./Sources/Stats.php Test successful    24. Execute Modification ./Sources/Subs-Members.php Test successful    25. Execute Modification ./Sources/Xml.php Test successful    26. Execute Modification ./Themes/default/Display.template.php Test successful    27. Execute Modification ./Themes/default/languages/Admin.english.php Test successful    28. Execute Modification ./Themes/default/languages/Errors.english.php Test successful    29. Execute Modification ./Themes/default/languages/Help.english.php Test successful    30. Execute Modification ./Themes/default/languages/index.english.php Test successful    31. Execute Modification ./Themes/default/languages/Install.english.php Test successful    32. Execute Modification ./Themes/default/languages/ManageScheduledTasks.english.php Test successful    33. Execute Modification ./Themes/default/languages/ManagePermissions.english.php Test successful    34. Execute Modification ./Themes/default/languages/ManageSettings.english.php Test successful    35. Execute Modification ./Themes/default/languages/Profile.english.php Test successful    36. Execute Modification ./Themes/default/languages/Reports.english.php Test successful    37. Execute Modification ./Themes/default/languages/Stats.english.php Test successful    38. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful    39. Execute Modification ./Themes/default/languages/Admin.english-utf8.php Test successful    40. Execute Modification ./Themes/default/languages/Errors.english-utf8.php Test successful    41. Execute Modification ./Themes/default/languages/Help.english-utf8.php Test successful    42. Execute Modification ./Themes/default/languages/index.english-utf8.php Test successful    43. Execute Modification ./Themes/default/languages/Install.english-utf8.php Test successful    44. Execute Modification ./Themes/default/languages/ManageScheduledTasks.english-utf8.php Test successful    45. Execute Modification ./Themes/default/languages/ManagePermissions.english-utf8.php Test successful    46. Execute Modification ./Themes/default/languages/ManageSettings.english-utf8.php Test successful    47. Execute Modification ./Themes/default/languages/Profile.english-utf8.php Test successful    48. Execute Modification ./Themes/default/languages/Reports.english-utf8.php Test successful    49. Execute Modification ./Themes/default/languages/Stats.english-utf8.php Test successful    50. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php Test successful   
51. Execute Modification ./Themes/default/languages/Admin.turkish.php Skipping file   
52. Execute Modification ./Themes/default/languages/Errors.turkish.php Skipping file   
53. Execute Modification ./Themes/default/languages/Help.turkish.php Skipping file   
54. Execute Modification ./Themes/default/languages/index.turkish.php Skipping file   
55. Execute Modification ./Themes/default/languages/Install.turkish.php Skipping file   
56. Execute Modification ./Themes/default/languages/ManageScheduledTasks.turkish.php Skipping file   
57. Execute Modification ./Themes/default/languages/ManagePermissions.turkish.php Skipping file   
58. Execute Modification ./Themes/default/languages/ManageSettings.turkish.php Skipping file   
59. Execute Modification ./Themes/default/languages/Profile.turkish.php Skipping file   
60. Execute Modification ./Themes/default/languages/Reports.turkish.php Skipping file   
61. Execute Modification ./Themes/default/languages/Stats.turkish.php Skipping file    62. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful    63. Execute Modification ./Themes/default/languages/Admin.turkish-utf8.php Test successful    64. Execute Modification ./Themes/default/languages/Errors.turkish-utf8.php Test failed     
  1. Replace ./Themes/default/languages/Errors.turkish-utf8.php Test failed   
  2. Add Before ./Themes/default/languages/Errors.turkish-utf8.php Test successful       65. Execute Modification ./Themes/default/languages/Help.turkish-utf8.php Test failed     
  1. Replace ./Themes/default/languages/Help.turkish-utf8.php Test failed       66. Execute Modification ./Themes/default/languages/index.turkish-utf8.php Test successful    67. Execute Modification ./Themes/default/languages/Install.turkish-utf8.php Test successful    68. Execute Modification ./Themes/default/languages/ManageScheduledTasks.turkish-utf8.php Test successful    69. Execute Modification ./Themes/default/languages/ManagePermissions.turkish-utf8.php Test failed     
  1. Replace ./Themes/default/languages/ManagePermissions.turkish-utf8.php Test failed   
  2. Add Before ./Themes/default/languages/ManagePermissions.turkish-utf8.php Test successful       70. Execute Modification ./Themes/default/languages/ManageSettings.turkish-utf8.php Test failed     
  1. Replace ./Themes/default/languages/ManageSettings.turkish-utf8.php Test failed   
  2. Replace ./Themes/default/languages/ManageSettings.turkish-utf8.php Test failed   
  3. Add Before ./Themes/default/languages/ManageSettings.turkish-utf8.php Test successful       71. Execute Modification ./Themes/default/languages/Profile.turkish-utf8.php Test successful    72. Execute Modification ./Themes/default/languages/Reports.turkish-utf8.php Test successful    73. Execute Modification ./Themes/default/languages/Stats.turkish-utf8.php Test failed     
  1. Replace ./Themes/default/languages/Stats.turkish-utf8.php Test failed       74. Execute Modification ./Themes/default/languages/Modifications.turkish-utf8.php Test successful   
75. Extract File ./Themes/default/Karma.template.php
   
76. Extract File ./Themes/default/images/karma.gif
   
77. Extract File ./Themes/default/images/karma_bad_basic.gif
   
78. Extract File ./Themes/default/images/karma_good_basic.gif
   
79. Extract File ./Themes/default/images/karma_bad_super.gif
   
80. Extract File ./Themes/default/images/karma_good_super.gif
   
81. Extract File ./Themes/default/images/karma_disabled_basic.gif

As well as all 3 other themes, they have errors too. I have no other mods which shouldn't conflict. Here is my list anyway:
Quote
1.    LGF Mod    1.1    (disabled)
2.    Simple Audio Video Embedder    2.0.3    (installed)
3.    Spoiler Tag    0.7.2a    (installed)
4.    Ad Managment    3.0.1    (not installed)
5.    PM to New Members    1.2    (installed)
6.    Dream Portal    1.0.5    (installed)
7.    Hide Avatars from Guests    2.0    (installed)
8.    Attention Locked Topic    1.0    (installed)
9.    Advanced Reputation System    1.7.5    (not installed, ERROR!!!!)
10.    Downloads System    1.4.1    (installed)
11.    Auto Respond    1.0.2    (not installed)
12.    Tapatalk SMF 2.0 RC4/RC5/Final Plugin    3.0.0    (installed)
13.    Drafts    1.1.2    (installed)
14.    httpBL    2.5.1    (installed)
15.    reCAPTCHA for SMF    0.9.8a    (installed)
16.    Login Security    1.0.2.2    (installed)
17.    Censored Word Packs    1.0    (installed)
18.    EzPortal    0.5.2    (not installed)
19.    ENotify    2.0.1    (installed)
20.    SMF Gallery Lite    3.1.1    (installed)
21.    Welcome Topic Mod    2.1    (installed)
22.    Bad Behavior mod    1.5.6    (installed)
23.    Hide Signatures from Guests    2.0    (installed)
24.    SMF Advanced Topic Prefix Mod    2.1.10    (installed)
25.    SMF Articles    1.4    (installed)
26.    Ultimate Profile    0.9.1    (installed)
27.    Stop Spammer    2.3.9    (installed)
28.    Contact Page    3.0    (installed)
29.    Hide User Names from Guests    1.1    (installed)

Advanced Rep is a pretty complex mod.  I wouldn't be surprised at all if it didn't work on a forum that has 29 different mods installed...

I guess you could do a fresh install and install Advanced Rep first-- then all of your other mods.  ???  It has been working flawlessly for me, and it installed with NO problems for me using a curve-based theme.  Good Luck.
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: valpo04 on November 07, 2011, 03:11:50 PM
I installed this mod today and everything seems to be working, except it seems that no matter how much reputation a user has, they only have one bar.  I've tried changing the settings in the admin area, but nothing seems to change it.

Any ideas?
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: valpo04 on November 07, 2011, 11:37:31 PM
Quote from: valpo04 on November 07, 2011, 03:11:50 PM
I installed this mod today and everything seems to be working, except it seems that no matter how much reputation a user has, they only have one bar.  I've tried changing the settings in the admin area, but nothing seems to change it.

Any ideas?

In an attempt to fix this issue, I tried uninstalling and reinstalling the mod.  The uninstall did not complete correctly and when I reinstalled, it created duplicate modifications to the files and caused Internal Server Errors.

I have been going through manually searching and removing the duplicate entries, but can't find them all.  Is there an easy way to find all the modifications that were made so that I can edit the files?  Right now I still get Server Errors when trying to view profiles. 

Here is the error in the error log:

Quote[07-Nov-2011 21:09:42] PHP Fatal error:  Cannot redeclare template_reputation() (previously declared in /forum/Sources/Load.php(1812) : eval()'d code:2345) in /forum/Sources/Load.php(1812) : eval()'d code on line 2537

Any help would be deeply appreciated!
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: Armen on November 08, 2011, 02:31:18 PM
Hi, I want only to set karma power to 10(my community used to have 10 per "thank you' to all users without installing the mod, can you help me?
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: valpo04 on November 09, 2011, 05:49:03 AM
Quote from: valpo04 on November 07, 2011, 11:37:31 PM
Quote from: valpo04 on November 07, 2011, 03:11:50 PM
I installed this mod today and everything seems to be working, except it seems that no matter how much reputation a user has, they only have one bar.  I've tried changing the settings in the admin area, but nothing seems to change it.

Any ideas?

In an attempt to fix this issue, I tried uninstalling and reinstalling the mod.  The uninstall did not complete correctly and when I reinstalled, it created duplicate modifications to the files and caused Internal Server Errors.

I have been going through manually searching and removing the duplicate entries, but can't find them all.  Is there an easy way to find all the modifications that were made so that I can edit the files?  Right now I still get Server Errors when trying to view profiles. 

Here is the error in the error log:

Quote[07-Nov-2011 21:09:42] PHP Fatal error:  Cannot redeclare template_reputation() (previously declared in /forum/Sources/Load.php(1812) : eval()'d code:2345) in /forum/Sources/Load.php(1812) : eval()'d code on line 2537

Any help would be deeply appreciated!

I've fixed all the errors caused by the second install, but I still have the original issue of only one power bar showing, no matter how much reputation a user has.
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: valpo04 on November 20, 2011, 11:14:54 AM
Quote from: valpo04 on November 09, 2011, 05:49:03 AM
Quote from: valpo04 on November 07, 2011, 11:37:31 PM
Quote from: valpo04 on November 07, 2011, 03:11:50 PM
I installed this mod today and everything seems to be working, except it seems that no matter how much reputation a user has, they only have one bar.  I've tried changing the settings in the admin area, but nothing seems to change it.

Any ideas?

In an attempt to fix this issue, I tried uninstalling and reinstalling the mod.  The uninstall did not complete correctly and when I reinstalled, it created duplicate modifications to the files and caused Internal Server Errors.

I have been going through manually searching and removing the duplicate entries, but can't find them all.  Is there an easy way to find all the modifications that were made so that I can edit the files?  Right now I still get Server Errors when trying to view profiles. 

Here is the error in the error log:

Quote[07-Nov-2011 21:09:42] PHP Fatal error:  Cannot redeclare template_reputation() (previously declared in /forum/Sources/Load.php(1812) : eval()'d code:2345) in /forum/Sources/Load.php(1812) : eval()'d code on line 2537

Any help would be deeply appreciated!

I've fixed all the errors caused by the second install, but I still have the original issue of only one power bar showing, no matter how much reputation a user has.

Upgraded my forum to 2.0.1 but still have the problem of only one power bar showing up no matter what the user's reputation power level is.

Anyone else seeing this issue?
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: performer189 on December 18, 2011, 02:27:46 PM
Hi, is there any change to have advanced reputation system on SMF 2.0 RC3? thanks
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: performer189 on December 19, 2011, 11:18:57 AM
Hi all, i'm new here.
i have only a question
is there any possibility to install reputation points on smf2.0 rc3 ? please let me know, I don't want karma, I want reputations points.
I'm sure I will have good answer.
Thanks all.
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: kent[ka] on December 20, 2011, 06:04:15 AM
Doesn't work with 2.0.1 and theme "CoalBlack" by Crip. Also, is there any way to add ur own custom icons/bars to display?
Title: Re: Advanced Reputation System - Now RC2+Curve Compatible!
Post by: AMWebby on December 22, 2011, 05:23:30 AM
Quote from: hobox on February 24, 2010, 02:43:03 AM
Can this mod not be expanded to include Reputatuion based membergroups as well? This would be great. If possible for SMF 1.1.*
It may be possible, though it would likely expand the Mod by 30-40% alone, so as for know, this is not planned. Though, I will keep it in mind for future versions of the Mod. Sorry.
Quote
There is a Mod that replaces post-count-based groups with karma-based groups for 2.0, but not any for 1.1.
I use karma-based groups, which I have rewritten for 1.1.15. Does this mod maintain karma? I.e, does reputation feed into karma so I could continue to use the karma-based groups and reputation would actively feed into that?
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: sdkid on December 31, 2011, 01:19:29 PM
Quote from: kent[ka] on December 20, 2011, 06:04:15 AM
Doesn't work with 2.0.1 and theme "CoalBlack" by Crip. Also, is there any way to add ur own custom icons/bars to display?

I am using it with BlackJack by Crip.  SMF 2.02.  One of the first installed mods (since it is the most complex) on my forum when I changed over to the RC versions of 2.  It is working flawlessly, :)
http://greatplainsvoices.com
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: fullmoonya on February 14, 2012, 06:14:47 AM
there is an error in the parser of this mod. please update the parser to be able to put the code of this mod in our forum.

EDIT:

sorry for the wrong mistake about the parser. i installed it now. but there is still a problem. after i installed this mod in my forum i get this message


Fatal error: Cannot redeclare reputation_action() (previously declared in /home/a8256150/public_html/index.php:372) in /home/a8256150/public_html/index.php on line 380


does someone know how to fix this thing?

please help.

EDIT2:

no help needed here now. i found now my problem. i have put some code of this mod twice in the index.php file. now it works fine now.
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: Matthew K. on February 14, 2012, 11:06:19 AM
Yep, glad you figured it out :)
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: fullmoonya on February 20, 2012, 04:33:07 AM
what kind of mod is this? i can edit the reputation of a member? i already give permission to a member to edit a reputation but nothing happens. is there a problem with this mod?

EDIT:
nevermind the problem. i found now where.

Quote from: Labradoodle-360 on February 14, 2012, 11:06:19 AM
Yep, glad you figured it out :)
yes. too lucky for me i found the root of the problem.
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: FrizzleFried on February 20, 2012, 04:54:02 PM
Is there a simple way to change the way the karma is listed on in a users PROFILE from OLDEST FIRST to NEWEST FIRST?

Also,  where do I find out at what point total each "level" is achieved?

THANKS!

Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: Josh101 on March 10, 2012, 12:25:58 AM
I installed this but the pictures being used  by the mod are breaking but when I list the files in manager they show up fine. Im using smf 2.02 and Advanced Reputation System v1.8.3 please help.
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: Josh101 on March 16, 2012, 06:53:47 PM
can anyone help?
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: valmount on March 22, 2012, 10:59:19 PM
QuoteInstallations actions for "Advanced Reputation System"
Installing this package will perform the following actions:
Type   Action   Description
1.   Adapt Database   install.php   
   2.   Execute Modification   ./index.php   Test successful
   3.   Execute Modification   ./Themes/default/Display.template.php   Test successful
   4.   Execute Modification   ./Themes/default/PersonalMessage.template.php   Test successful
   5.   Execute Modification   ./Themes/default/Profile.template.php   Test successful
   6.   Execute Modification   ./Themes/default/Stats.template.php   Test successful
   7.   Execute Modification   ./Themes/default/Xml.template.php   Test successful
   8.   Execute Modification   ./Themes/default/scripts/script.js   Test successful
   9.   Execute Modification   ./Themes/default/css/index.css   Test successful
   10.   Execute Modification   ./Sources/Display.php   Test successful
11.   Execute Modification   ./Sources/Karma.php   File not found
   12.   Execute Modification   ./Sources/Load.php   Test successful
   13.   Execute Modification   ./Sources/ManageMaintenance.php   Test successful
   14.   Execute Modification   ./Sources/ManagePermissions.php   Test successful
   15.   Execute Modification   ./Sources/ManageServer.php   Test successful
   16.   Execute Modification   ./Sources/ManageSettings.php   Test successful
   17.   Execute Modification   ./Sources/Post.php   Test successful
   18.   Execute Modification   ./Sources/Profile.php   Test successful
   19.   Execute Modification   ./Sources/Profile-Modify.php   Test successful
   20.   Execute Modification   ./Sources/Profile-View.php   Test successful
   21.   Execute Modification   ./Sources/RemoveTopic.php   Test successful
   22.   Execute Modification   ./Sources/ScheduledTasks.php   Test successful
   23.   Execute Modification   ./Sources/Stats.php   Test successful
   24.   Execute Modification   ./Sources/Subs-Members.php   Test successful
   25.   Execute Modification   ./Sources/Xml.php   Test successful
   26.   Execute Modification   ./Themes/default/languages/Admin.english.php   Test successful
   27.   Execute Modification   ./Themes/default/languages/Errors.english.php   Test successful
   28.   Execute Modification   ./Themes/default/languages/Help.english.php   Test successful
   29.   Execute Modification   ./Themes/default/languages/index.english.php   Test successful
   30.   Execute Modification   ./Themes/default/languages/Install.english.php   Test successful
   31.   Execute Modification   ./Themes/default/languages/ManageScheduledTasks.english.php   Test successful
   32.   Execute Modification   ./Themes/default/languages/ManagePermissions.english.php   Test successful
   33.   Execute Modification   ./Themes/default/languages/ManageSettings.english.php   Test successful
   34.   Execute Modification   ./Themes/default/languages/Profile.english.php   Test successful
   35.   Execute Modification   ./Themes/default/languages/Reports.english.php   Test successful
   36.   Execute Modification   ./Themes/default/languages/Stats.english.php   Test successful
   37.   Execute Modification   ./Themes/default/languages/Modifications.english.php   Test successful
38.   Execute Modification   ./Themes/default/languages/Admin.english-utf8.php   Skipping file
39.   Execute Modification   ./Themes/default/languages/Errors.english-utf8.php   Skipping file
40.   Execute Modification   ./Themes/default/languages/Help.english-utf8.php   Skipping file
41.   Execute Modification   ./Themes/default/languages/index.english-utf8.php   Skipping file
42.   Execute Modification   ./Themes/default/languages/Install.english-utf8.php   Skipping file
43.   Execute Modification   ./Themes/default/languages/ManageScheduledTasks.english-utf8.php   Skipping file
44.   Execute Modification   ./Themes/default/languages/ManagePermissions.english-utf8.php   Skipping file
45.   Execute Modification   ./Themes/default/languages/ManageSettings.english-utf8.php   Skipping file
46.   Execute Modification   ./Themes/default/languages/Profile.english-utf8.php   Skipping file
47.   Execute Modification   ./Themes/default/languages/Reports.english-utf8.php   Skipping file
48.   Execute Modification   ./Themes/default/languages/Stats.english-utf8.php   Skipping file
49.   Execute Modification   ./Themes/default/languages/Modifications.english-utf8.php   Skipping file
50.   Execute Modification   ./Themes/default/languages/Admin.russian.php   Skipping file
51.   Execute Modification   ./Themes/default/languages/Errors.russian.php   Skipping file
52.   Execute Modification   ./Themes/default/languages/Help.russian.php   Skipping file
53.   Execute Modification   ./Themes/default/languages/index.russian.php   Skipping file
54.   Execute Modification   ./Themes/default/languages/Install.russian.php   Skipping file
55.   Execute Modification   ./Themes/default/languages/ManageScheduledTasks.russian.php   Skipping file
56.   Execute Modification   ./Themes/default/languages/ManagePermissions.russian.php   Skipping file
57.   Execute Modification   ./Themes/default/languages/ManageSettings.russian.php   Skipping file
58.   Execute Modification   ./Themes/default/languages/Profile.russian.php   Skipping file
59.   Execute Modification   ./Themes/default/languages/Reports.russian.php   Skipping file
60.   Execute Modification   ./Themes/default/languages/Stats.russian.php   Skipping file
61.   Execute Modification   ./Themes/default/languages/Modifications.russian.php   Skipping file
62.   Execute Modification   ./Themes/default/languages/Admin.spanish-utf8.php   Skipping file
63.   Execute Modification   ./Themes/default/languages/Errors.spanish-utf8.php   Skipping file
64.   Execute Modification   ./Themes/default/languages/Help.spanish-utf8.php   Skipping file
65.   Execute Modification   ./Themes/default/languages/index.spanish-utf8.php   Skipping file
66.   Execute Modification   ./Themes/default/languages/Install.spanish-utf8.php   Skipping file
67.   Execute Modification   ./Themes/default/languages/ManageScheduledTasks.spanish-utf8.php   Skipping file
68.   Execute Modification   ./Themes/default/languages/ManagePermissions.spanish-utf8.php   Skipping file
69.   Execute Modification   ./Themes/default/languages/ManageSettings.spanish-utf8.php   Skipping file
70.   Execute Modification   ./Themes/default/languages/Profile.spanish-utf8.php   Skipping file
71.   Execute Modification   ./Themes/default/languages/Reports.spanish-utf8.php   Skipping file
72.   Execute Modification   ./Themes/default/languages/Stats.spanish-utf8.php   Skipping file
73.   Execute Modification   ./Themes/default/languages/Modifications.spanish-utf8.php   Skipping file
74.   Execute Modification   ./Themes/default/languages/Admin.turkish.php   Skipping file
75.   Execute Modification   ./Themes/default/languages/Errors.turkish.php   Skipping file
76.   Execute Modification   ./Themes/default/languages/Help.turkish.php   Skipping file
77.   Execute Modification   ./Themes/default/languages/index.turkish.php   Skipping file
78.   Execute Modification   ./Themes/default/languages/Install.turkish.php   Skipping file
79.   Execute Modification   ./Themes/default/languages/ManageScheduledTasks.turkish.php   Skipping file
80.   Execute Modification   ./Themes/default/languages/ManagePermissions.turkish.php   Skipping file
81.   Execute Modification   ./Themes/default/languages/ManageSettings.turkish.php   Skipping file
82.   Execute Modification   ./Themes/default/languages/Profile.turkish.php   Skipping file
83.   Execute Modification   ./Themes/default/languages/Reports.turkish.php   Skipping file
84.   Execute Modification   ./Themes/default/languages/Stats.turkish.php   Skipping file
85.   Execute Modification   ./Themes/default/languages/Modifications.turkish.php   Skipping file
86.   Execute Modification   ./Themes/default/languages/Admin.german-utf8.php   Skipping file
87.   Execute Modification   ./Themes/default/languages/Errors.german-utf8.php   Skipping file
88.   Execute Modification   ./Themes/default/languages/Help.german-utf8.php   Skipping file
89.   Execute Modification   ./Themes/default/languages/index.german-utf8.php   Skipping file
90.   Execute Modification   ./Themes/default/languages/Install.german-utf8.php   Skipping file
91.   Execute Modification   ./Themes/default/languages/ManageScheduledTasks.german-utf8.php   Skipping file
92.   Execute Modification   ./Themes/default/languages/ManagePermissions.german-utf8.php   Skipping file
93.   Execute Modification   ./Themes/default/languages/ManageSettings.german-utf8.php   Skipping file
94.   Execute Modification   ./Themes/default/languages/Profile.german-utf8.php   Skipping file
95.   Execute Modification   ./Themes/default/languages/Reports.german-utf8.php   Skipping file
96.   Execute Modification   ./Themes/default/languages/Stats.german-utf8.php   Skipping file
97.   Execute Modification   ./Themes/default/languages/Modifications.german-utf8.php   Skipping file
98.   Extract File   ./Themes/default/Karma.template.php   
99.   Extract File   ./Themes/default/images/karma.gif   
100.   Extract File   ./Themes/default/images/karma_bad_basic.gif   
101.   Extract File   ./Themes/default/images/karma_good_basic.gif   
102.   Extract File   ./Themes/default/images/karma_bad_super.gif   
103.   Extract File   ./Themes/default/images/karma_good_super.gif

11.   Execute Modification   ./Sources/Karma.php   File not found << anyone know where the file karma.php?
in the file reputation_2-0-1-8-3.tar.gz karma.php no? anyone can provide the solution?
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: FLEXjs on March 23, 2012, 11:44:32 AM
Just installed this.  So all exisitng forum members have zero reputation.  Does this mean that no ones reputation will ever increase?

If someone with zero rep power reps someone, their reputation won't increase, right?
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: ccondrup on March 24, 2012, 01:22:31 PM
Quote from: cyberspeed on June 22, 2011, 06:06:16 PM?action=profile;area=reputation only shows rep ive given, not received
1. Same thing, is it supposed to be like this? Is there a permission/setting to turn allow viewing received rep?

2. When I view others' reputation, I can only see what I've given them, not what they got from others nor what they've given out. As a moderator I would like to be able to see it all, is there a permission/setting for this? (I have checked several users from the best/worst reputation as seen in ?action=stats so I know there should be visible rep-actions)
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: katb on June 01, 2012, 08:12:27 AM
For me everything is working however after certain threshold(which i set) bar images are not changing

Users gain 1 bar image for every __ points?
Default 1000

i have set above value as 1500 however some of the users already crossed 1500 pts still displaying only 1 bar image.Please advice.Thanks in advance
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: FrizzleFried on June 01, 2012, 10:33:38 AM
Quote from: katb on June 01, 2012, 08:12:27 AM
For me everything is working however after certain threshold(which i set) bar images are not changing

Users gain 1 bar image for every __ points?
Default 1000

i have set above value as 1500 however some of the users already crossed 1500 pts still displaying only 1 bar image.Please advice.Thanks in advance

It will change at 3000 (or 2500)... I have mine set at 1000 and nothing happened at 1000... but at 2000 the next "dot" came up... and at 3000 the following,  and so on.

I REALLY wish this mod would be updated... so much can be done with it... rep could be applied to plenty of functions... if only someone would explain the code needed to do such things (rep for upping gallery images... rep for winning games in the arcade... rep for top quiz... rep for chess... rep rep rep...

:)

Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: katb on June 01, 2012, 02:35:02 PM
Quote from: FrizzleFried on June 01, 2012, 10:33:38 AM
Quote from: katb on June 01, 2012, 08:12:27 AM
For me everything is working however after certain threshold(which i set) bar images are not changing

Users gain 1 bar image for every __ points?
Default 1000

i have set above value as 1500 however some of the users already crossed 1500 pts still displaying only 1 bar image.Please advice.Thanks in advance

It will change at 3000 (or 2500)... I have mine set at 1000 and nothing happened at 1000... but at 2000 the next "dot" came up... and at 3000 the following,  and so on.

I REALLY wish this mod would be updated... so much can be done with it... rep could be applied to plenty of functions... if only someone would explain the code needed to do such things (rep for upping gallery images... rep for winning games in the arcade... rep for top quiz... rep for chess... rep rep rep...

:)



Thanks let me try ....
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: Walkerneo on June 23, 2012, 07:24:16 PM
The images aren't showing up with Dziner Studio's Inferno theme.

I'm on 2.02 emulating 2.0 for the install.
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: sdkid on June 25, 2012, 03:54:53 PM
Quote from: Walkerneo on June 23, 2012, 07:24:16 PM
The images aren't showing up with Dziner Studio's Inferno theme.

I'm on 2.02 emulating 2.0 for the install.
Figure out where it is trying to pull the images from--- what path?
Get the images from the package and manually copy the images into that directory path.
Done
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: thechamp on June 27, 2012, 04:26:06 PM
Hi,

Where can you set how many points to give when a users gives another reputation?

Thanks
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: FrizzleFried on June 27, 2012, 04:30:01 PM
Quote from: thechamp on June 27, 2012, 04:26:06 PM
Hi,

Where can you set how many points to give when a users gives another reputation?

Thanks

You don't.   That is determined by his REP POWER.  The more REP POWER a user has the more his points are worth.  REP POWER is gained by posting/replying, etc...

Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: gjtoth on July 11, 2012, 12:31:14 PM
As much as I would LOVE to use this mod, I can't seem to get it going.  I'm running SMF 2.02, I''ve removed anything remotely to do with karma mods, I've run the install.php, followed the directions in the readme as far as I can, I've uninstalled and reinstalled.  Nada.

Can someone please tell me what I need to do to get this mod working?   :o
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: sdkid on July 12, 2012, 03:15:41 PM
Just double-checking...  Did you go in and edit the group permissions to ALLOW rep to be given?  You can allow Positive Rep, Negative Rep, and you should turn on Editing Rep for mods
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: gjtoth on July 12, 2012, 03:17:54 PM
Quote from: sdkid on July 12, 2012, 03:15:41 PM
Just double-checking...  Did you go in and edit the group permissions to ALLOW rep to be given?  You can allow Positive Rep, Negative Rep, and you should turn on Editing Rep for mods

Nothing of that nature exists anywhere in permissions.  The only mention that is made of anything is "Karma", not "rep" or "reputation".
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: FrizzleFried on July 12, 2012, 03:28:20 PM
If you don't have the following permissions under MODERATE THE ENTIRE FORUM the mod isn't installed...
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: gjtoth on July 12, 2012, 03:29:17 PM
Quote from: FrizzleFried on July 12, 2012, 03:28:20 PM
If you don't have the following permissions under MODERATE THE ENTIRE FORUM the mod isn't installed...

I'm the admin.
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: FrizzleFried on July 12, 2012, 03:40:30 PM
Quote from: gjtoth on July 12, 2012, 03:29:17 PM
Quote from: FrizzleFried on July 12, 2012, 03:28:20 PM
If you don't have the following permissions under MODERATE THE ENTIRE FORUM the mod isn't installed...

I'm the admin.

...I thought we were trying to determine if the mod was installed correctly?
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: gjtoth on July 12, 2012, 03:41:49 PM
Quote from: FrizzleFried on July 12, 2012, 03:40:30 PM
Quote from: gjtoth on July 12, 2012, 03:29:17 PM
Quote from: FrizzleFried on July 12, 2012, 03:28:20 PM
If you don't have the following permissions under MODERATE THE ENTIRE FORUM the mod isn't installed...

I'm the admin.

...I thought we were trying to determine if the mod was installed correctly?

Doesn't the admin have all permissions?
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: gjtoth on July 12, 2012, 04:30:47 PM
Quote from: FrizzleFried on July 12, 2012, 03:28:20 PM
If you don't have the following permissions under MODERATE THE ENTIRE FORUM the mod isn't installed...

Where, exactly, is this setting found?  I've looked all through permissions and don't see it anywhere.
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: FrizzleFried on July 12, 2012, 06:40:10 PM
Quote from: gjtoth on July 12, 2012, 04:30:47 PM
Quote from: FrizzleFried on July 12, 2012, 03:28:20 PM
If you don't have the following permissions under MODERATE THE ENTIRE FORUM the mod isn't installed...

Where, exactly, is this setting found?  I've looked all through permissions and don't see it anywhere.

It's supposed to be in the permissions area... under MODERATE THE ENTIRE FORUM... if it's not... something didn't get installed right.
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: gjtoth on July 12, 2012, 06:54:59 PM
Quote from: FrizzleFried on July 12, 2012, 06:40:10 PM
Quote from: gjtoth on July 12, 2012, 04:30:47 PM
Quote from: FrizzleFried on July 12, 2012, 03:28:20 PM
If you don't have the following permissions under MODERATE THE ENTIRE FORUM the mod isn't installed...

Where, exactly, is this setting found?  I've looked all through permissions and don't see it anywhere.

It's supposed to be in the permissions area... under MODERATE THE ENTIRE FORUM... if it's not... something didn't get installed right.

Nope... not anywhere to be found.  I do not see "Moderate the Entire Forum" anywhere.
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: gjtoth on July 12, 2012, 07:02:53 PM
Just to ensure I'm doing this right, let me tell you the procedure I used for installation.

1. Disabled Karma and uninstalled any other mods/enhancements to the karma feature.
2. Placed the contents of the zip file in the directory of my forum.
3. Ran the install.php

Anything else I should be doing?
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: FrizzleFried on August 12, 2012, 11:46:31 AM
This mod is now supported by the ALERTS PRO mod by SMFPACKS.  When someone gives reputation you will be alerted. 

:)

Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: Zarquad on August 12, 2012, 10:07:15 PM
I installed this mod, and enabled reputation. But when I tried to give somebody a reputation, I got this:
An Error Has Occurred!
Session verification failed. Please try logging out and back in again, and then try again.

Can anyone help?
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: Matthew K. on August 12, 2012, 11:19:16 PM
What version of SMF are you running? What modifications do you have installed?
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: Zarquad on August 13, 2012, 12:25:58 AM
2.0.2

Activity in Profile1.1 [ Uninstall ]
 [ List Files ]
 [ Delete ]

2.Custom Profile Field Mod3.20[ Install Mod ]
 [ List Files ]
 [ Delete ]

3.Profile Comments2.0.2[ Install Mod ]
 [ List Files ]
 [ Delete ]

4.Enhanced Dropdown1.3[ Install Mod ]
 [ List Files ]
 [ Delete ]

5.Profile Fields & Icons Mod1.0[ Install Mod ]
 [ List Files ]
 [ Delete ]

6.AdSense Section Targeting Mod1.0[ Install Mod ]
 [ List Files ]
 [ Delete ]

7.Custom Fields On Memberlist1.0[ Install Mod ]
 [ List Files ]
 [ Delete ]

8.Enhanced PM Warning Message1.0 [ Uninstall ]
 [ List Files ]
 [ Delete ]

9.Minimun Characters or Words Mod1.1.2 [ Uninstall ]
 [ List Files ]
 [ Delete ]

10.Ajax Profile CommentsBeta[ Install Mod ]
 [ List Files ]
 [ Delete ]

11.Animation Blue Smiley2.1 [ Uninstall ]
 [ List Files ]
 [ Delete ]

12.Avatar on Member List2.0 [ Uninstall ]
 [ List Files ]
 [ Delete ]

13.Ultimate Profile0.9.1
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: Matthew K. on August 13, 2012, 12:27:44 AM
Does the session verification failed message show on every single post when you try to give reputation?
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: Zarquad on August 13, 2012, 10:30:02 AM
Yeah.
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: Matthew K. on August 13, 2012, 10:36:44 AM
I'd try uninstalling it and then re-installing it. To be honest, I don't know the code of this modification yet, so I couldn't determine specifically what would be triggering it.
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: Zarquad on August 13, 2012, 11:05:15 AM
Didn't work :/
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: chan372 on September 17, 2012, 08:00:52 AM
Quote from: FrizzleFried on June 27, 2012, 04:30:01 PM
Quote from: thechamp on June 27, 2012, 04:26:06 PM
Hi,

Where can you set how many points to give when a users gives another reputation?

Thanks

You don't.   That is determined by his REP POWER.  The more REP POWER a user has the more his points are worth.  REP POWER is gained by posting/replying, etc...

So how is the give point calculated?

Let's say, I have 10 rep power, and I give "I agree" to a user's post.
How many point will that user receive?
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: FrizzleFried on September 17, 2012, 10:35:21 AM
Quote from: chan372 on September 17, 2012, 08:00:52 AM
Quote from: FrizzleFried on June 27, 2012, 04:30:01 PM
Quote from: thechamp on June 27, 2012, 04:26:06 PM
Hi,

Where can you set how many points to give when a users gives another reputation?

Thanks

You don't.   That is determined by his REP POWER.  The more REP POWER a user has the more his points are worth.  REP POWER is gained by posting/replying, etc...

So how is the give point calculated?

Let's say, I have 10 rep power, and I give "I agree" to a user's post.
How many point will that user receive?

I do believe your rep power represents the number of points given.  I think it's a 1:1 ratio but I am not 100% sure...
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: nart646 on September 25, 2012, 06:51:21 PM
I'm using 2.0.2. When it uploads and runs the tests, everything says "Test Successful" besides the things under Install In Other Themes. This is the section that's giving me the failed tests.
(http://i.imgur.com/7cjVQ.png)
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: Matthew K. on September 25, 2012, 07:05:29 PM
Mod authors are not obligated to provide support for other themes, sorry.
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: nart646 on September 25, 2012, 11:51:30 PM
Quote from: Labradoodle-360 on September 25, 2012, 07:05:29 PM
Mod authors are not obligated to provide support for other themes, sorry.

But isn't the "Core" theme one of the automatic themes you get when you download SMF?
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: Matthew K. on September 25, 2012, 11:58:04 PM
No...it's a theme that's packaged with the core of SMF, but it's not inside of the responsibility for mod authors.
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: nart646 on September 26, 2012, 11:09:47 PM
Quote from: Labradoodle-360 on September 25, 2012, 11:58:04 PM
No...it's a theme that's packaged with the core of SMF, but it's not inside of the responsibility for mod authors.
So the only theme that the Mod will work with is the original? There's no other way around that?
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: Matthew K. on September 26, 2012, 11:50:27 PM
It'll work with Curve out of the box, and should work with Core, but if you have other modifications it's not guaranteed on Core, and right now I don't have time to support a theme outside of Curve.
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: nart646 on October 02, 2012, 08:00:51 PM
Aw, darn. I was looking forward to using it. :(
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: Matthew K. on October 02, 2012, 09:00:19 PM
Have you looked at Manual Installation of Mods (http://wiki.simplemachines.org/smf/Manual_installation_of_mods)?
Title: can't turn karma on!
Post by: poda19 on October 19, 2012, 05:26:42 AM
hi
i have just installed Advanced Reputation System, but i can't turn on Karma in core features. when i click on the power button i am redirected to Features and Options area but when i go to core features again, the karma is not turned on.
and no new options is added to my Features and options menu.
there were no errors during installation
i use the default theme
i have SimplePortal installed
SMF 2.02
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: Shambles on October 19, 2012, 05:39:01 AM
Did you click the "save" button at the bottom of the Core Features screen?
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: poda19 on October 19, 2012, 08:45:36 AM
for some reason i was being immediately redirected to Features and options area after i clicked the enable button. so i didn't even see the "save" button.
so i stopped the browser and clicked the save and now everything works.
thank you Shambles
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: N i g h t m a r e on October 28, 2012, 04:46:21 PM
so i installed the "Advanced Reputation System" mod and now i have this code at the bottom of my forum:

function reputation_action(&$actionArray) { $actionArray['reputation'] = array('Karma.php', 'SendKarma'); }

it won't even let me uninstall the mod and if someone could help me with both of these problems that would be great thanks

Its at the bottom: http://psxexclusive.net63.net/index.php
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: Matthew K. on October 28, 2012, 04:54:13 PM
That simply means that there was an issue with white-space and a mod installation...a really good reason to ditch PHP closing tags.
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: novill on October 28, 2012, 05:44:36 PM
This mod create errors in the error log when a member views the  Latest Reputation Actions in the profile.
I have tried in my test site, but i have become the same result. Only smf 2.0.2 was installed and this mod.
The error log is the following.

Quotehttp://localhost/reputation/index.php?action=profile;area=reputation;u=18: Undefined variable: num_givenFájl: C:/wamp/www/reputation/Sources/Profile-View.php
Sor: 2108

Attached the mentioned file.
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: Matthew K. on October 28, 2012, 07:50:51 PM
Not from this mod...afaik...
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: novill on October 29, 2012, 11:13:48 AM
But i have just this mod installed to my test forum, and i become this error when i checked in my profile the reputation section.
As i mentioned the test site was a new install, no other mod was installed, just this mod. (http://custom.simplemachines.org/mods/index.php?mod=1129)

Except this thing this mod working well, and i love it.  :)
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: Matthew K. on October 29, 2012, 12:06:45 PM
Well, the error is definitely right. $num_given is not being defined, period. Don't have the time right now to look into a fix though.
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: N i g h t m a r e on November 02, 2012, 06:53:12 PM
Labradoodle-360 ,can you come to my forum and help me fix everything?
i need help getting this code away: function reputation_action(&$actionArray) { $actionArray['reputation'] = array('Karma.php', 'SendKarma'); }

and all the images and stuff fixed back to normal
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: hcfwesker on November 04, 2012, 01:11:31 AM
Quote from: -♦-Zeum-♦- on October 28, 2012, 04:46:21 PM
so i installed the "Advanced Reputation System" mod and now i have this code at the bottom of my forum:

function reputation_action(&$actionArray) { $actionArray['reputation'] = array('Karma.php', 'SendKarma'); }

From my guess you have accidentally pasted the code to a file at the very bottom.  that's why it's appearing.

Since it appears on every page of your forum , Check these files. 

index.php in the root folder
Sources/Load.php

Sources/Subs.php
Themes/(Theme name)/index.template.php
Themes/(Theme name)/languages/modifications.english.php (english or whatever language you use)

scroll to the very bottom of these files and see if that code appears after the ?> at the bottom.

EDIT::

Clicking View source on your forum I see this towards the bottom.

</body></html>function reputation_action(&$actionArray)
{
$actionArray['reputation'] = array('Karma.php', 'SendKarma');
}


check index.template.php or index.php  If you manually did these edits then you either did it wrong, did it on the wrong file, or both.

Also

QuoteMost Online Today: 1. Most Online Ever: 988,945,275,323 (November 02, 2012, 10:55:45 AM)
LOL!  You really expect people to believe that almost a trillion people viewed your website at the same exact time.


Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: N i g h t m a r e on November 04, 2012, 01:01:06 AM
i didnt do anything to put that code there,it just appeared when i installed the mod :l

&& that was on accident,now i can't change it back to 1 lol
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: SirSacrifyx on November 04, 2012, 11:59:54 AM
Does anyone know of a way to get rep comments to show up at the bottom of the posts they're attributed to? Basically putting some of the same info you would get when viewing from your profile into the post itself: the user who gave the rep, the pos or neg icon, and the comment.
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: rizkirprod on November 07, 2012, 11:56:47 PM
working fine on SMF 2.0.2 with manual installation
great mod, thanks
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: LP on November 15, 2012, 12:26:01 PM
Quote from: mnmlt on April 12, 2011, 03:49:21 AM
Hi everyone, After installing advance reputation, everything works for the mod however I keep get an undefined error.


Today at 10:16:40 AMType of error: Undefined

http://www.indigoroots.com/index.php?action=profile;area=reputation;u=7
e
8: Undefined variable: num_given

File: /home/indigoro/public_html/Sources/Profile-View.php
Line: 2119


My guess is that the error is something limiting my pages to 1 whenever user is viewing their reputation via profile info, anyone can help me on this?

Something similar is :

when viewing a user profile and log karma

error
http://.../index.php?action=profile;area=reputation;u=12

8: Undefined variable: num_given

Файл: ........./www/Sources/Profile-View.php
line: 2119
2115:      list ($total_actions) = $smcFunc['db_fetch_row']($request);
2116:      $smcFunc['db_free_result']($request);
2117:   
2118:      // Construct the page index
==>2119:      $context['page_index'] = constructPageIndex($scripturl . '?action=reputation', $_REQUEST['start'], $num_given, 50);


Can anyone help me on this? Or can I know if this is fatal or harmful to the forum?

I'm using SMF 2.0 RC 5 and Theme is Actualism by Crip.

Thanks in advance!

I've had this same error.  It occurs when you "View Reputation" in the profile of any member.

For anyone else that comes across this problem and wants to do something about it, it is an easy fix.  Replace "$num_given" with "$total_actions" in this line of Profile-View.php:
$context['page_index'] = constructPageIndex($scripturl . '?action=reputation', $_REQUEST['start'], $num_given, 50);
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: novill on November 16, 2012, 04:10:05 AM
Quote from: LP on November 15, 2012, 12:26:01 PM
I've had this same error.  It occurs when you "View Reputation" in the profile of any member.

For anyone else that comes across this problem and wants to do something about it, it is an easy fix.  Replace "$num_given" with "$total_actions" in this line of Profile-View.php:
$context['page_index'] = constructPageIndex($scripturl . '?action=reputation', $_REQUEST['start'], $num_given, 50);

With this solution is just one problem. When i modify the Profile-View.php with this solution.
In the error log in no more error when a member looks the profile reputation, but when a member has lot of reputation points than is showing up the scroll bar. When i look the second page, than i get a new error.


http://*******.forum.hu/index.php?action=reputation;start=502: Division by zeroFájl: /*******.forum.hu/Sources/Subs.php
Line: 716


Example pictures attached.
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: LP on November 19, 2012, 04:36:51 PM
Quote from: novill on November 16, 2012, 04:10:05 AM
Quote from: LP on November 15, 2012, 12:26:01 PM
I've had this same error.  It occurs when you "View Reputation" in the profile of any member.

For anyone else that comes across this problem and wants to do something about it, it is an easy fix.  Replace "$num_given" with "$total_actions" in this line of Profile-View.php:
$context['page_index'] = constructPageIndex($scripturl . '?action=reputation', $_REQUEST['start'], $num_given, 50);

With this solution is just one problem. When i modify the Profile-View.php with this solution.
In the error log in no more error when a member looks the profile reputation, but when a member has lot of reputation points than is showing up the scroll bar. When i look the second page, than i get a new error.


http://*******.forum.hu/index.php?action=reputation;start=502: Division by zeroFájl: /*******.forum.hu/Sources/Subs.php
Line: 716


Example pictures attached.


Yes, you are right.  My edits above completely screwed things up, wish I could delete that post now. 

I can't figure out exactly what was originally intended to happen in that line of code by the programmer, but I changed my last line of Profile-View.php to this and it works for my forum now with no errors at all:
$context['page_index'] = constructPageIndex($scripturl . '?action=profile;area=reputation;u='.$memID, $_REQUEST['start'], $total_actions, $amount);

Warning: I am an amateur and you make this change at your own risk.  Making this or any other changes to this modification's code will result in a failure of the package to uninstall (except by manual means) if you should wish to do so.
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: Robertjones6 on November 20, 2012, 02:01:33 PM
i uploaded the mod and it didnt have the images, so i manually installed the images and tested it and it takes you to the agree/disagree & comment screen but then it doesnt work when confirming it

here is my forums

www.assentedorder.com/forums
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: twinklewitch on November 26, 2012, 01:11:34 PM
Love this mod, but was wondering if I could remove the line "reputation power: " on the post/topics pages. I only want the bar to show, I have no need for this line. Thanks!
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: enen92 on February 07, 2013, 08:50:04 PM
I've just installed this mod and it's not working. In the admin section I get this error in the top of the forum (I am using the default curve theme):

Quote/* What's this? LOLz I DonT NO wUT UR tAlkING 'bout. $helptxt['karmaSendPMContents'] = 'In addition to BBC and smileys being allowed in the PM, there are a built-in few variables that can be used in the PM which will automatically be substituted with the appropriate information. These are:
Variable ->   Value
{sender}   The sender\'s display name
{posneg}   Depending on which it is, "positive" or "negative"
{receiever}   The receiver\'s display name
{comment}   The reputation comment left by {sender}
';*/// Advanced Reputation System $txt['karmaBarPower'] = 'Users gain 1 power for every __ points?
Default 100'; $txt['karmaBarPoints'] = 'Users gain 1 bar image for every __ points?
Default 1000'; $txt['karmaDescriptions'] = 'Reputation descriptions - one per line!
These are the text that appears when you hover over a bar image.'; $txt['karmaDisabledDescription'] = 'Description for members who disable their reputation display.'; $txt['karmaNegativeDescription'] = 'Description for members who have negative reputation.'; $txt['karmaValuePost'] = 'How many points per post?'; $txt['karmaValueThread'] = 'How many points per thread?'; $txt['karmaRegistration'] = 'Welcome new members with how many points?'; $txt['karmaBirthday'] = 'Surprise a member with how many points on their birthday?'; $txt['karmaSpreadAround'] = 'How many people does a user have to give reputation to before they can repeat a person?'; $txt['karmaMaxPerDay'] = 'How many times a day can a person give reputation?'; /* To be used later... :P $txt['karmaSendPM'] = 'Send a PM when a user receives reputation?'; $txt['karmaSendPMContents'] = 'What should the reputation PM say?'; */ $txt['karma_settings_desc'] = 'Reputation Points: The individual points that are received when a user makes a post, creates a thread, or is given reputation by another user.

Reputation Power: The strength with which a person can give another member reputation. A member with a reputation power of 0 will not affect another user\'s reputation at all.';/* What's this? LOLz I DonT NO wUT UR tAlkING 'bout. $helptxt['karmaSendPMContents'] = 'In addition to BBC and smileys being allowed in the PM, there are a built-in few variables that can be used in the PM which will automatically be substituted with the appropriate information. These are:
Variable ->   Value
{sender}   The sender\'s display name
{posneg}   Depending on which it is, "positive" or "negative"
{receiever}   The receiver\'s display name
{comment}   The reputation comment left by {sender}
';*/

Does anyone have a hint of what can be causing it?
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: Matthew K. on February 07, 2013, 08:58:07 PM
There was a problem in your language file from the looks of it. Check ./Themes/default/languages/Modifications.english.php and make sure that ?> is on the very last line, and not before Advanced Reputation System's language strings.
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: enen92 on February 07, 2013, 09:02:38 PM
Quote from: Labradoodle-360 on February 07, 2013, 08:58:07 PM
There was a problem in your language file from the looks of it. Check ./Themes/default/languages/Modifications.english.php and make sure that ?> is on the very last line, and not before Advanced Reputation System's language strings.

Thanks. Very noob question: Can I modify it from the admin panel (without accessing the file from the server)?
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: Matthew K. on February 07, 2013, 09:11:22 PM
You are not able to modify the language files via the SMF Admin Panel, no, sorry.
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: faran100 on March 06, 2013, 05:35:04 AM
How to increase Rep power with every reputaion?
i didn't find this setting
thanks
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: 4LP3RUZ1 on March 07, 2013, 12:52:47 AM
you really dont wanna do that unless you want like people with 1 billion rep after about a month :)
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: d_ace_shines on March 11, 2013, 05:56:28 AM
hello
I use this mod, and I dont know why but the "How many times a day can a person give reputation?" setting didn't do a thing. Even if i set it to 3 or other numbers, members still able to add reputations without  limit.
The "How many people does a user have to give reputation to before they can repeat a person?" is still working though.
How to fix this?
thanks for your help

edit: the only value that work is if I set  "How many times a day can a person give reputation?" to 1
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: chq on April 17, 2013, 09:33:28 PM
Quote from: Zarquad on August 12, 2012, 10:07:15 PM
I installed this mod, and enabled reputation. But when I tried to give somebody a reputation, I got this:
An Error Has Occurred!
Session verification failed. Please try logging out and back in again, and then try again.

Can anyone help?

I, too, am getting this error when attempting my first rep. I'm running 2.0.4 and have these packages installed:

1.     SMF 2.0.3 Update    1.0    
2.    Ohara YouTube Embed    1.0    
3.    SMF 2.0.4 Update    1.0    
4.    Advanced Reputation System    1.8.3

Any suggestions how to make this work?

I'd REALLY appreciate it!!


In my error logs it says the two errors I'm getting are:

8: Undefined variable: context
Apply Filter: Only show the errors from this file
File: /home/mysite/public_html/forum/Sources/Karma.php
Line: 215

8: Undefined variable: num_given
Apply Filter: Only show the errors from this file
File: /home/mysite/public_html/forum/Sources/Profile-View.php
Line: 2108
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: Matthew K. on April 22, 2013, 03:31:15 PM
I'd have to look into the second error - but it should be as easy as: global $num_given; and global $context; (for the first one) at the top of both of those functions.
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: Scareface on June 08, 2013, 11:28:04 AM
Does this mod work on 2.0.4 version ?
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: Matthew K. on June 09, 2013, 07:13:33 PM
It should using Version Emulate - Go ahead and try it, assuming you don't get any errors - proceed. But make sure to backup your files and database prior to doing so.
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: fahadtariq73 on July 24, 2013, 07:38:57 AM
How to install this on envision2013 theme ??
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: omgitsbob12 on August 10, 2013, 11:00:01 PM
I made another rep block to add onto the green how would I go about extended the limit and using this orange one?
(http://i.imgur.com/WTcbjP7.gif)
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: melanie1986 on August 19, 2013, 09:49:40 PM
Awesome work Labradoodle. We are having trouble installing it apparently. My tech guy wants to know this

QuoteFind out if/when there'll be an update for 2.0.5, and if there is a compatibility pack for non-Curve themes in the works.
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: Matthew K. on September 06, 2013, 12:17:32 PM
There will not be an update to Advanced Reputation System until SMF 2.1. As of now, the last released version of Advanced Reputation System is the last version until SMF 2.1.
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: melanie1986 on September 08, 2013, 03:50:17 PM
Does that mean it will work with our system? :)
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: kat on September 08, 2013, 03:54:36 PM
This applies, Mel. :)

Quote from: Labradoodle-360 on June 09, 2013, 07:13:33 PM
It should using Version Emulate - Go ahead and try it, assuming you don't get any errors - proceed. But make sure to backup your files and database prior to doing so.

To do the emulation thing, click "Advanced", during the installation.

Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: melanie1986 on September 08, 2013, 04:03:42 PM
thank K@ I'll get onto it and let you know how it goes :D
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: kat on September 08, 2013, 04:13:11 PM
Ta! :)

Do backup, first, though. Click my sig, for the "How?", if you aren't sure. :)
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: melanie1986 on September 08, 2013, 04:18:10 PM
Oh I've learned that lesson well Lol... back up now twice a week and also every time we add something :D
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: kat on September 08, 2013, 04:26:06 PM
Good girl! :)
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: Ventic on September 21, 2013, 01:36:26 PM
itdoesnt work properly.
it shows in profile summary the karma's name and in topic doesnt add reputation points i give.
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: Ventic on September 23, 2013, 07:25:46 AM
I am giving someone one reputation point,and in profile ->summary at reputation:0 from 0 it doesnt goes +1,and at view reputation it shwos that i dissagred why?
ps:that happen only to my forum,not in test forum
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: tatack on November 13, 2013, 10:25:56 AM
Hello, anyone test it on 2.0 RC3?

Fail on:

./Themes/default/PersonalMessage.template.php
./Sources/Display.php
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: Arantor on November 13, 2013, 12:19:52 PM
2.0 RC3 is now some years old, and has a number of security holes. You should upgrade to 2.0.6 (which includes every fix from 2.0 RC4, 2.0 RC5, 2.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4 and 2.0.5)
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: tatack on November 13, 2013, 04:03:46 PM
Quote from: Arantor on November 13, 2013, 12:19:52 PM
2.0 RC3 is now some years old, and has a number of security holes. You should upgrade to 2.0.6 (which includes every fix from 2.0 RC4, 2.0 RC5, 2.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4 and 2.0.5)

I know, but I have Simple Portal installed and some other modifications. I'm not very able in upgrade so I have fear to wrong something and let the forum unusable.
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: Matthew K. on December 08, 2013, 09:02:10 PM
If you are worried about upgrading...you can create a separate topic and people can walk you through the process and help you ensure nothing goes wrong. Really, nothing should. But you should backup and have someone help you if you are not comfortable still.
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: KungFuJoe on December 26, 2013, 06:46:15 PM
Sorry if this has already been asked but is there a way to make it so that posts made in boards set to NOT bump your post count (I have an off topic thread that gets a ton of activity, but it's used almost like a chat system) also don't bump up your rep?

I like the idea of adding rep for posts to encourage activity, but I'd like to make it so it only affects rep when posts/threads are made in boards that "count".
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: sdkid on January 08, 2014, 02:44:47 PM
Quote from: kungfujoe on December 26, 2013, 06:46:15 PM
Sorry if this has already been asked but is there a way to make it so that posts made in boards set to NOT bump your post count (I have an off topic thread that gets a ton of activity, but it's used almost like a chat system) also don't bump up your rep?

I like the idea of adding rep for posts to encourage activity, but I'd like to make it so it only affects rep when posts/threads are made in boards that "count".
Yes.  That can be done through permissions on the board.
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: KungFuJoe on January 08, 2014, 04:17:32 PM
Quote from: sdkid on January 08, 2014, 02:44:47 PM
Quote from: kungfujoe on December 26, 2013, 06:46:15 PM
Sorry if this has already been asked but is there a way to make it so that posts made in boards set to NOT bump your post count (I have an off topic thread that gets a ton of activity, but it's used almost like a chat system) also don't bump up your rep?

I like the idea of adding rep for posts to encourage activity, but I'd like to make it so it only affects rep when posts/threads are made in boards that "count".
Yes.  That can be done through permissions on the board.

Can you show me how to set that?  I looked in Board permissions but couldn't find anything regarding rep.

I know you can set a board to NOT bump up post count (check box when you modify a board) but even though it doesn't count towards your post count, it still bumps up your rep whenever you post in said board.
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: hwsteele on January 22, 2014, 11:40:13 PM
Hello,
   I love this rep system and it seems that everything is working ok but I have one question...

Why doesn't it show who has given reputation to a post in that post?

Every other forum I have been on that has reputation or karma says in the post its self who likes it or repped it.

I hope this makes some sense.

I was wondering if this is the way that it was coded or if something is wrong with my install.

Thanks again,

Henry
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: NPimenta on January 24, 2014, 01:04:27 PM
Hello there,

i installed this Advanced Reputation System in my SMF forum, everything works fine, but i have one little problem.

in the user profile, when show the reputation the "image" is allways gray "karma_disabled_basic" insted of green or red...

can anyone help me ?
Title: Re: Advanced Reputation System
Post by: 51n7 on February 05, 2014, 10:27:08 AM
Quote from: Fustrate on April 17, 2008, 02:27:56 AM
For the "Add Reputation" under the post - make sure  all of the images got uploaded into your theme's image folder.

The huge white space and no popup seems to be a javascript problem. Is there a url I go to to look at this?

Hello everyone! I was having a very similar problems as well, and this advice helped me out, I will post a before and after photo. All I did was copy all the .gif files into the main image directory for my theme and it works like a charm now!

These are the before photos first one is from Safari and  second from Mozillia:

(http://i1368.photobucket.com/albums/ag176/pony_slayer/Advanced_rep/ScreenShot2014-02-05at95505AM_zpscd31c8f5.png)

(http://i1368.photobucket.com/albums/ag176/pony_slayer/Advanced_rep/ScreenShot2014-02-05at95416AM_zpsf86ec7f0.png)

After photo, I am only posting one because it now works and looks the same in all browsers.

(http://i1368.photobucket.com/albums/ag176/pony_slayer/Advanced_rep/ScreenShot2014-02-05at102247AM_zps7801b50f.png)
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: GamePersia on February 06, 2014, 09:28:51 PM
I am using advanced reputaton mod (http://custom.simplemachines.org/mods/index.php?mod=1129)
But i want increase and decrease reputation logo on posts,...like below !!
by which a user can add or less rep. by themselves,..No post counts or points !!
(http://i.imgur.com/8cuRYgw.jpg)
Help needed !! :(
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: [OG]Anirudh on February 09, 2014, 11:56:06 AM
I uninstalled it but still :-/

(http://imagefall.hol.es/Jg.png)
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: Matthew K. on February 12, 2014, 10:29:57 AM
Parse the modification and do reverse of Manual Installation of Mods (http://wiki.simplemachines.org/smf/Manual_installation_of_mods). Note: you'll also need to modify the same template files listed on other themes that it's installed on. For instance (./Themes/default/Display.template.php -> ./Themes/custom/Display.template.php).
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: [OG]Anirudh on February 12, 2014, 11:43:36 AM
Thnx, :) btw i fixed my problem some days ago :)
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: [OG]Anirudh on February 16, 2014, 02:15:09 AM
:-/
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: TRR on April 20, 2014, 04:46:38 PM
Hello,

I just installed this mod and everything is working but my icons are not showing. The files are in the main theme directory, but it just has words where the images should be under their avatar. Any help is appreciated.

-Erik
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: Pudders on May 13, 2014, 04:43:47 PM
Hi,
I recently had this mod installed but have noticed although you can click on the 'Add reputation' link and add reputation(or smite) along with your comment, it no longer increases the members reputation count.  I recently moved the forum to a new web server could it be something in the permissions causing this issue?  I only ask as there have been loads of other SMF permission errors since the move.  If it's not that, can anyone point me in the right direction to sort this as I paid to have it installed and it's frustrating that it no longer works - thanks.
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: Pudders on June 23, 2014, 03:45:07 PM
Can anyone help with this?
I paid the creator to install it a couple of months ago but it no longer works.

If I cannot get this working does anyone know of a similar mod they have tried/installed?

Thanks
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: m62power on August 19, 2014, 03:10:59 PM
Hi all,

I'm running SMF 2.0.8
I have download the package reputation_2-0-1-8-3.tar.gz

But when i try to install it i get this error.

(http://i60.tinypic.com/2cda5vt.jpg)

What can be the problem?

Thanks in advance!
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: Matthew K. on August 19, 2014, 03:36:09 PM
I don't know? There's nothing on that screenshot that would indicate what the issue would be. Scroll down and it'll show you what the errors actually are.
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: m62power on August 19, 2014, 04:24:37 PM
Hi, Im sorry for that. Thanks for fast reply.

Here are a couple more screenshots from the errors.


(http://i57.tinypic.com/mt2vz8.jpg)

(http://i62.tinypic.com/mb333a.jpg)

(http://i58.tinypic.com/29vlyrl.jpg)

(http://i61.tinypic.com/210aseh.jpg)

(http://i58.tinypic.com/350nj8j.jpg)
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: Matthew K. on August 19, 2014, 04:33:50 PM
Go ahead and install it despite the errors, and also attach ./Sources/Load.php here and I'll help you.
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: m62power on August 19, 2014, 05:09:47 PM
Thank you very much for helping me out! I have not yet installed. But i have attached the ./Sources/Load.php in this post.
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: Matthew K. on August 20, 2014, 09:38:00 AM
Install it...and then tell me.
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: m62power on August 20, 2014, 03:07:48 PM
Hi, i'm back. I have installed the package and it says all was installed succesfull. But i have attached the ./Sources/Load.php.

Thanks again!

I have checked in my topics and see this picture error.

(http://i59.tinypic.com/sc6g5i.jpg)

(http://i60.tinypic.com/a4sosy.jpg)
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: Matthew K. on August 20, 2014, 03:58:22 PM
Manual Installation of Mods (http://wiki.simplemachines.org/smf/Manual_installation_of_mods) you'll need to make sure the Load.php operations were completed.
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: m62power on August 20, 2014, 04:59:43 PM
Okay, I'm stucked now, i dont see what i need to do next.  :-[

Edit:

Is it correct that i need to add this to my theme that i'm using.

./Themes/default/Xml.template.php

Find (at the end of the file):

?>


Add Before:

function template_reputation()
{
global $context, $settings, $options, $txt;

echo '<', '?xml version="1.0" encoding="', $context['character_set'], '"?', '>
<smf>';

if($context['error_txt'] == "")
echo '
<result>', cleanXml($txt['reputation_sent']), '</result>';
else
echo '
<error>', cleanXml($context['error_txt']), '</error>';

echo '
</smf>';
}


I was able to fix the picture errors.

(http://i61.tinypic.com/aea05z.jpg)

(http://i60.tinypic.com/2zycsgg.jpg)
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: Duke64 on February 15, 2015, 01:33:30 PM
So it works just fine for me but I just want to know if it is possible to rename the title you see in the forums which is "reputation power" I want to change it to something else. Please help if you can and thanks
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: Black.Ghost on March 28, 2015, 08:01:41 AM
I tried to install this mod on SMF 2.0.9, but i get following errors. Any help?
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: odysseus11 on April 08, 2015, 10:20:30 AM
is the update to this mod to be compatible with SMF 2.1 beta ready? Willing to pay to prep mod to be usable on 2.1 beta site
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: ahmed salah on July 04, 2015, 07:57:43 AM
Reputation dont appear in my theme anyone can help
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: aegersz on September 07, 2015, 11:42:57 AM
i get this one and only error but damned if i can see why it can't find that line of code when i can see it in nano :
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: aegersz on September 07, 2015, 11:49:34 AM
Fixed: the search target was one tab space back.
Title: missing icon issue for the Advanced Reputation System mod
Post by: aegersz on September 09, 2015, 05:26:15 AM
hi, the ARS display looks like it's missing an icon but the install worked properly.

i know that you don't support mods but perhaps you can point me in the right direction ...

when i turn the option to hide my rep, i get this:

Title: Re: missing icon issue for the Advanced Reputation System mod
Post by: aegersz on September 09, 2015, 06:54:14 AM
i do but do you think i have a legitimate concern or is it working as it should ?

i was hoping you would say "yeah that happens to SMF if an icon is missing" or not.

sorry to waste your time but i was also hoping that you might know the mod well.
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: margarett on September 09, 2015, 07:01:59 AM
I merged your question with the MOD's support topic ;)

Use your browser's developer tools and find the path to the missing image. Then you need to check if it was copied to the wrong place (or if it just doesn't exist...)
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: aegersz on September 18, 2015, 02:39:18 AM
i found Themes/default/images/karma_disabled_basic.gif in an earlier version of the mod and it's all fine now.
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: Voku on October 01, 2015, 04:57:28 PM
Is there a way to change the reputation descriptions to be based on how many reputation points you have? (rather than by the amount of bar images)
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: Voku on October 04, 2015, 01:14:30 AM
Quote from: Voku on October 01, 2015, 04:57:28 PM
Is there a way to change the reputation descriptions to be based on how many reputation points you have? (rather than by the amount of bar images)


Something like this is what I was thinking of:

(http://i.imgur.com/N4DMnNn.png)

(how it is on vBulletin)
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: aegersz on October 04, 2015, 07:28:34 PM
but bar image counts are under your control and are worth as much as you want them to be.

I find ARS to work flawlessly after a little tweaking and I'm coming from a vB system.
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: Voku on October 04, 2015, 10:50:30 PM
Quote from: aegersz on October 04, 2015, 07:28:34 PM
but bar image counts are under your control and are worth as much as you want them to be.

I find ARS to work flawlessly after a little tweaking and I'm coming from a vB system.

There's a way to limit how many bar images show up?

I want to add more descriptions, but I don't want it looking like this:

(http://i.imgur.com/BVYXZDx.png)
Title: Re: Advanced Reputation System - Confirmed to work with SMF 2.0!
Post by: aegersz on October 05, 2015, 02:54:12 AM
Users gain 1 power for every __ points? (Default 100) --- 50
Users gain 1 bar image for every __ points? (Default 1000) -- 500

each bar level says: (and could well max. out at 12)

is an unknown entity.
is now becoming familiar.
is working their way up.
might someday be someone...
is on the verge of being accepted.
is a rising star!
has a powerful will.
is a force to reckon with.
has great potential!
has an aura about them.
is leading the good life!
is awe-inspiring!

you won't be unhappy, although i cannot answer your questions, i am comfortable with my configuration so i'm posting it here ... may it help, even a little.