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. |
Quote from: Eliana Tamerin on March 25, 2008, 05:14:55 PMi reccomend you put A.R.S instead of the way you put it :o
There was never any ARS for 1.1.4. This is a 2.0 mod only.
<span id="karma_menu" style="visibility: hidden;"></span>
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 ;)
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
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
Quote from: [●ριмρєя12●] on March 27, 2008, 07:33:54 AMSome mods works for this parser.
can you tell me how to install this in another theme?
Quote from: JoshieDaMan on March 27, 2008, 08:18:14 AMSMF Package Parser BetaQuote from: [●ριмρєя12●] on March 27, 2008, 07:33:54 AMSome mods works for this parser.
can you tell me how to install this in another theme?
http://sleepycode.com/PackageParser/index.php that's what I have been using.
Quote from: frony on April 13, 2008, 06:03:37 PM
thanks for the mod i wit for smf 1.1.4 to test
Quote from: OblivionMage on April 14, 2008, 04:40:00 PMme too
Nice one, I could also help with your testing if you wanted.
Quote from: Kirschnik on April 15, 2008, 01:20:31 PMThat happens with EVERY mod...
Same Problem as so many People got.
Only works right on the Standard Theme...
'topic_href' => $row['topic'] . $row['message'],
'topic_href' => $row['topic'] .'.msg'. $row['message'],
// 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,
)
);
// 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,
)
);
'can_send_karma' => empty($message['is_repped']) && ($user_info['id'] != $message['member']['id']),
'can_send_karma' => empty($message['is_repped']) && ($user_info['id'] != $message['id_member']),
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']
)
);
}
}
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']
)
);
}
}
if(!$user_info['is_guest'] && $modSettings['karmaValueThread'] > 0){
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?
Quote from: ^_^ on April 15, 2008, 07:47:39 PMJust 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 ;)Code Select
// 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 thisCode Select
// 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,
)
);
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)
Quote from: NIBOGO on April 19, 2008, 08:27:52 PMwaiting 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.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 :)
Quote from: waremock on March 25, 2008, 08:47:48 PM
Also can people get credit for their current posts?
Quote from: [●ριмρєя12●] on April 22, 2008, 12:27:00 PMjust getting it done will be enough
I need to make it up to you guys for the delay (still getting fixed O0 >:( >:D :( :'( )
what do you suggest? :P
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.
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:".
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?
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']
)
);
}
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
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 ;)
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
Quote from: Pleek on April 28, 2008, 07:15:36 PMApparently its done but the files are all on a laptop's harddrive that is currently being repaired.
so, how is the coding for 1.1.4 coming? I am waiting in anticipation for it!!!!!!!!!
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!!!!!!!!!
Quote from: Kirschnik on April 27, 2008, 07:03:44 AMQuote 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?
Quote from: YodaOfDarkness on May 02, 2008, 08:44:53 PM
You need to press 'Save' after you turn the button green.
8: Undefined offset: 9
Apply Filter: Only show the errors from this file
File: /home/jade/public_html/forums/Sources/Load.php
Line: 1095
// 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];
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???
Quote from: Alundra on May 05, 2008, 07:13:58 AMQuote 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 AMsorry 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 :)
is there any version of this mod which work with smf 1.1.4???
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.
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.
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?
Name | Rep bar here | Rep power |
Quote from: Alundra on May 04, 2008, 09:01:49 PM
I'm getting a lot of undefined offsets...Code Select8: 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:Code Select// 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?
$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);
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?
.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 {
}
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...Code Select$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.
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.
Quote from: YodaOfDarkness on May 08, 2008, 10:05:58 PM
Put this in .bordercolor {
Code Select.bordercolor {
background-color: #252525;
}
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?
Quote from: YodaOfDarkness on May 11, 2008, 12:41:44 PMMe too.
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...)
Quote from: YodaOfDarkness on May 17, 2008, 02:27:20 AM
bra1n: try putting that line into .windowbg2
Quote from: MrMoney on May 24, 2008, 03:08:57 AM
Can't you just flip the box?
rep_box.style.left = rep_box.x + "px"
rep_box.style.left = rep_box.x - 300 + "px"
Quote from: MrMoney on May 28, 2008, 12:33:28 AM
Not unless you downgrade it sin
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
Quote from: Chad on May 28, 2008, 09:33:11 PMReally? 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.
Advanced Rep only seems to work in Internet Explorer due to the pop-up box. :(
display: none;
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"
}
}
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.
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
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?
<a name="top"></a>
<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"> </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"> </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>
Quote from: YodaOfDarkness on August 01, 2008, 05:54:27 PMQuote 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:Code Select<a name="top"></a>
and add this after:Code Select<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"> </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"> </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>
Quote from: YodaOfDarkness on August 01, 2008, 05:54:27 PMQuote 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.
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?
QuoteModerators (or anyone with permission) can delete reputation actions on this screen
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.
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);
// Find their (super)power! Can't go into negatives...
$points = 6 - 0;
$power = (6 - (6 % 10)) / 10; // = 0!
$power = (int) ((0 > 0) ? $power : 0);
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!
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.
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.
QuoteUsers get +1 "reputation power" per how many points? Default 100.
<span id="reputation_menu" style="visibility: hidden;">
<span id="reputation_menu" style="visibility: hidden; display: none;">
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"
}
}
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";
}
}
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.
An Error Has Occurred!
The database value you're trying to insert does not exist: message
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.
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.
include_once('./SSI.php');
fatal_lang_error('cant_change_own_karma', false);
die('UID is ' . $uid . ' and $user_info[\'id\'] is ' . $user_info['id'] . ' and $_POST[\'uid\'] is ' . $_POST['uid']);
.repbars img
{
padding: 0 1px 0 0;
}
#reputation_menu{
position: absolute;
border: 1px solid black;
z-index: 100;
}
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 :(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 ;)
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'),
Quote from: YodaOfDarkness on September 12, 2008, 03:41:45 AMWhere can i find it?
Beta 4 version posted. Have fun, tell me about any errors that may pop up.
SELECT id_target
FROM {db_prefix}log_karma
WHERE id_executor = 2
LIMIT 2
ORDER BY log_time DESC
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
QuoteI think this'll work:, it's a working one.
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
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="
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.
QuoteThe database value you're trying to insert does not exist: message
Function: SendKarma
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.
Table '****_***.members' doesn't exist
File: /home/****/public_html/smfhelper/forum/Packages/temp/install.php
Line: 58
Quote
Database Error
Table '***_xmb1.members' doesn't exist
File: /var/www/vhosts/***.###/httpdocs/forum/Packages/temp/install.php
Line: 58
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.
$message_request = $smcFunc['db_query']('', '
SELECT *
FROM {db_prefix}messages
WHERE id_msg = {int:message}
LIMIT 1',
array(
'message' => $message_id,
)
);
$message_request = $smcFunc['db_query']('', '
SELECT *
FROM {db_prefix}messages
WHERE id_msg = {int:message}
LIMIT 1',
array(
'message' => $message,
)
);
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?
QuoteThe database value you're trying to insert does not exist: message
Quote from: YodaOfDarkness on October 04, 2008, 07:18:16 PM
do the code change above, and flush your cache. Problem solved :D
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:Code Select$message_request = $smcFunc['db_query']('', '
SELECT *
FROM {db_prefix}messages
WHERE id_msg = {int:message}
LIMIT 1',
array(
'message' => $message_id,
)
);
and replace with:Code Select$message_request = $smcFunc['db_query']('', '
SELECT *
FROM {db_prefix}messages
WHERE id_msg = {int:message}
LIMIT 1',
array(
'message' => $message,
)
);
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
'comment' => $row['comment'],
'comment' => parsesmileys($row['comment']),
<input type="hidden" name="sc" value="
Quote from: YodaOfDarkness on October 08, 2008, 02:18:39 AM
Look at the page source for any thread - can you find this line:Code Select<input type="hidden" name="sc" value="
? It should have a little alphanumeric string after it.
<span id="reputation_menu" style="visibility: hidden; display: none;">
?Quote from: YodaOfDarkness on October 08, 2008, 02:40:02 AM
And there's also a line that saysCode Select<span id="reputation_menu" style="visibility: hidden; display: none;">
?
Quote from: YodaOfDarkness on October 08, 2008, 02:40:02 AM
Aaaaand I'm assuming there were no install errors?
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:Code Select'comment' => $row['comment'],
and replace it withCode Select'comment' => parsesmileys($row['comment']),
both times it appears
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:Code Select'comment' => $row['comment'],
and replace it withCode Select'comment' => parsesmileys($row['comment']),
both times it appears
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 '<'
$karma_received['executor']
$user_info['is_admin'] ? $karma_received['executor'] : '-'
function template_viewKarma()
{
global $context, $settings, $options, $scripturl, $modSettings, $txt;
, $user_info
// The user ID _must_ be a number, no matter what.
$uid = (int) $_POST['uid'];
// 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'];
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.
Quote from: psynx on October 16, 2008, 10:32:44 AM
is this compatible with smf 1.1.5 too?
.repbars img
{
padding: 0 1px 0 0;
}
#reputation_menu{
position: absolute;
border: 1px solid black;
z-index: 100;
}
Quote from: YodaOfSpookness on October 19, 2008, 01:12:45 PMOf 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
Well first off, did you clear your cache after modifying the live files?
// 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,
)
);
// 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,
)
);
// 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
)
);
Quote from: glennk on October 19, 2008, 03:56:11 PMI'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.
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
if($_GET['sa'] == 'applaud' || $_GET['sa'] == 'smite')
if(isset($_GET['sa']) && ($_GET['sa'] == 'applaud' || $_GET['sa'] == 'smite'))
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?
var disappeardelay = 30000; // karma box hide display time, in milliseconds
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 findCode Selectvar disappeardelay = 30000; // karma box hide display time, in milliseconds
and change it to however many seconds you want it to use, followed by 000
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?
Quote from: YodaOfDarkness on November 03, 2008, 02:28:46 PM
Okay, did the theme edits get made?
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>«</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. And it became to be in those days <em>something</em>. Something not yet <em id="unknown" name="[Unknown]">unknown</em> to mankind. And thus what was to be known the <em>secret project</em> began into its existence. 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. 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>«</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');
}
?>
/boards/index.php?action=modifykarma
8: Undefined index: sa
/boards/Sources/Karma.php
Line: 225
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.
Quote from: darkacex on November 15, 2008, 02:22:16 PM
He won't do that =[
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
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'],
);
}
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'],
);
}
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'],
);
}
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'],
);
}
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 ;)
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'],
)
Quote from: digger on November 24, 2008, 05:44:51 PMQuote 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
findCode Select
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 withCode Select
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'],
);
}
findCode Select
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 withCode Select
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'],
);
}
http://www."http.com//www.simplemachines.org/community/index.php?topic=230676.msg1813817#msg1813817"
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'],
);
}
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'],
);
}
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'],
);
}
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'],
);
}
Quote from: YodaOfDarkness on December 15, 2008, 03:10:09 PM
Can you post a link to your forum?
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?
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.
Quote from: moonlightkisu on December 15, 2008, 06:38:20 PM/Themes/default/Display.template.php
sure .. what directory would that file be in? I can't seem to find it ..
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.
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.
Quote from: YodaOfDarkness on December 21, 2008, 03:51:17 PMhow do i make 3 image.. :D
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?
Quote from: YodaOfDarkness on December 22, 2008, 04:15:39 AMok..i wish u will post a tutorial :D
I'm not going to be able to do that right now
Quote from: YodaOfDarkness on December 09, 2008, 11:54:43 PM
Open /Sources/Profile-View.php
findCode Select
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 withCode Select
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'],
);
}
findCode Select
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 withCode Select
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'],
);
}
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.
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)
QuoteAn Error Has Occurred!
Session verification failed. Please try logging out and back in again, and then try again.
// Is karma display enabled?
in them.
'action_type' => $row['action_type'],
'action_type' => !empty($row['action_type']) ? $row['action_type'] : ($row['action'] > 0) ? 'karma_good' : 'karma_bad',
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 haveCode Select// Is karma display enabled?
in them.
Quote from: YodaOfDarkness on December 22, 2008, 04:15:37 PMQuote from: YodaOfDarkness on December 09, 2008, 11:54:43 PM
Open /Sources/Profile-View.php
findCode Select
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 withCode Select
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'],
);
}
findCode Select
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 withCode Select
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'],
);
}
UPDATE smf_members
SET karma_good = 100, karma_bad = 0;
Quote from: YodaOfDarkness on January 12, 2009, 03:22:38 AM
?action=profile;sa=viewKarma
that?
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,
)
);
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,
)
);
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,
)
);
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,
)
);
QuoteReputation: 0and the approve and disapprove don't work right obviously.
[approve] [disapprove]
Posts: 8
Quote from: Quexinos on January 20, 2009, 06:37:58 AMany 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
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, justQuoteReputation: 0and the approve and disapprove don't work right obviously.
[approve] [disapprove]
Posts: 8
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.
Quote from: Hot Rides on January 20, 2009, 11:09:58 AMOkay 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. ;)
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
Quote from: YodaOfDarkness on January 23, 2009, 06:27:15 PM
did the images get uploaded to the Midnight Sun theme /images/ folder?
QuoteAn Error Has Occurred!
Session verification failed. Please try logging out and back in again, and then try again.
Quote from: Mythers on January 24, 2009, 06:58:10 AMI have the same problem with this mod too.. Tried deleting cookies, clearing browser/forum caches.. Nothing helps...
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.
Quote from: Fustrate on January 28, 2009, 11:41:05 AM1. No, it opens page "/index.php?action=reputation;uid=" and shows Session verification failed message..
(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.
// 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'] . ' <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>';
Quote from: Fustrate on January 31, 2009, 06:07:23 PM
It's because you can't rep yourself ;)
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.
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.
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?
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.
QuoteJenny -> Markand do all of the calculations from there, I believe?
Mark -> Sally
Greg -> Mark
Sally -> Greg
Joe -> Alan
Alan -> Jenny
UPDATE smf_members
SET karma_good = 0, karma_bad = 0
WHERE 1=1
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);
$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);
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.
Quote from: Mai Pen Rai on February 11, 2009, 12:11:02 PMHeh, 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.
fustrate,
Have you implemented the list to view recent reputation given by any member?
If you have, I cannot get it to work... ;)
Quote from: Fustrate on February 11, 2009, 02:00:08 PMQuote from: Mai Pen Rai on February 11, 2009, 12:11:02 PMHeh, 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.
fustrate,
Have you implemented the list to view recent reputation given by any member?
If you have, I cannot get it to work... ;)
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.
'executor' => array(
'name' => $row['sender_name'],
'id' => $row['id_excutor'],
),
'target' => array(
'name' => $row['receiver_name'],
'id' => $row['id_excutor'],
),
'executor' => array(
'name' => $row['sender_name'],
'id' => $row['id_executor'],
),
'target' => array(
'name' => $row['receiver_name'],
'id' => $row['id_target'],
),
<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>
<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>
<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>
'action_type' => !empty($row['action_type']) ? $row['action_type'] : ($row['action'] > 0) ? 'karma_good' : 'karma_bad',
'action_type' => !empty($row['action_type']) ? $row['action_type'] : (($row['action'] > 0) ? 'karma_good' : 'karma_bad'),
'action_type' => !empty($row['action_type']) ? $row['action_type'] : ($row['action'] > 0) ? 'karma_good' : 'karma_bad',
'action_type' => !empty($row['action_type']) ? $row['action_type'] : (($row['action'] > 0) ? 'karma_good' : 'karma_bad'),
if($karma_which == 'karma_good')
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.
echo '
<br />
<div width="75%" align="center">
<b>', $txt['pages'], ':</b> ', $context['page_index'], '
</div>';
}
$txt['karma_title']
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?
Quote
http://www.-----------.com/index.php?action=profile;u=1702;sa=viewKarma;start=45
foreach ($context['reputation_worst'] as $member)
<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">
...
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.
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.
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.
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.
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)
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
QuoteQuote
// 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
QuoteQuote
'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)
QuoteQuote
// 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)
QuoteQuote
// 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)
QuoteQuote
// 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)
QuoteQuote
// 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>';
QuoteImportant 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.
onclick="reputationForm
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.
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
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.
UPDATE smf_members
SET karmaGood = 10000
WHERE 1=1
Quote from: Fustrate on March 16, 2009, 11:21:27 AMI 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.
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?
Quote from: Fustrate on March 17, 2009, 02:59:56 AM
did you give them permission to give positive or negative rep?
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
DELETE FROM {$db_prefix}log_karma WHERE 1=1
Quote from: Fustrate on March 17, 2009, 03:13:32 PMCode SelectDELETE FROM {$db_prefix}log_karma WHERE 1=1
replace {$db_prefix} with your database prefix.
Quote from: Fustrate on March 16, 2009, 01:02:37 AMthanks, a year a go i hope this mod
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 :)
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
Quote from: frony on March 17, 2009, 04:16:33 PMYa, I decided to squeeze it out in time for the 1 year anniversary which is today :DQuote from: Fustrate on March 16, 2009, 01:02:37 AMthanks, a year a go i hope this mod
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 :)
.repbars img
{
padding: 0 1px 0 0;
}
#reputation_menu{
position: absolute;
border: 1px solid black;
z-index: 100;
}
?>
.repbars img
{
padding: 0 1px 0 0;
}
#reputation_menu{
position: absolute;
border: 1px solid black;
z-index: 100;
}
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
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.
.english.php
Quote from: hotchildxox on March 17, 2009, 09:00:07 PM
Thanks fustrate, see robbie I knew it could be done :)
O:)
hotchildxox
Quote3. Execute Modification ./Themes/default/Display.template.php Test failed
25. Execute Modification ./Themes/default/languages/ModSettings.english.php Test failed
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.
.repbars img
{
padding: 0 1px 0 0;
}
#reputation_menu{
position: absolute;
border: 1px solid black;
z-index: 100;
}
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.
Quote from: Eliana Tamerin on March 18, 2009, 01:30:08 AMThank you, miss first-reply :) it was an impulse downgrade... I swear!
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
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
.english.php
QuoteFatal error: Function name must be a string in /public_html/limbang/forum/GiveReputation.php on line 76
Quote from: Fustrate on March 18, 2009, 08:01:30 PMWas that post to me?
100 points per 1 power, gotta remember that.
Quote from: Fustrate on March 19, 2009, 03:55:54 PMI 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.
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.
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 errorQuoteFatal error: Function name must be a string in /public_html/limbang/forum/GiveReputation.php on line 76
Please help.
Quote from: robbie93 on March 19, 2009, 05:32:34 PMBecause you shouldn't be able to rep yourself!
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
Quote from: TheDisturbedOne on March 19, 2009, 06:13:35 PMQuote from: robbie93 on March 19, 2009, 05:32:34 PMBecause you shouldn't be able to rep yourself!
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
Quote from: robbie93 on March 19, 2009, 06:17:38 PMOh, I see now. what browser is she using. Also have her do a hard refresh.Quote from: TheDisturbedOne on March 19, 2009, 06:13:35 PMQuote from: robbie93 on March 19, 2009, 05:32:34 PMBecause you shouldn't be able to rep yourself!
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
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.
Quote from: Fustrate on March 17, 2009, 10:07:39 PMCould not edit Display.template.php myself :-[. I am attaching it here:
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.
Parse error: syntax error, unexpected T_INCLUDE_ONCE in /public_html/limbang/forum/GiveReputation.php on line 1
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
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.
QuoteAn Error Has Occurred!
Unable to load the 'main' template.
Quote from: Fustrate on March 23, 2009, 06:26:56 PMThat worked better somewhat.
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.
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.
Quote from: Fustrate on March 23, 2009, 11:08:36 PMI attempted to give rep to a poster.
what was the message you were trying to send? I think I know why it did that... but I want to make sure.
UPDATE smf_members
SET karma_good = 500
WHERE 1=1
UPDATE smf_members
SET karma_good = karma_good + 500
WHERE 1=1
UPDATE smf_members
SET karmaGood = 500
WHERE 1=1
UPDATE smf_members
SET karmaGood = karmaGood + 500
WHERE 1=1
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)Code SelectUPDATE smf_members
SET karma_good = 500
WHERE 1=1
SMF 2.0 (Add 500 to current total)Code SelectUPDATE smf_members
SET karma_good = karma_good + 500
WHERE 1=1
SMF 1.1.x (Set all to 500)Code SelectUPDATE smf_members
SET karmaGood = 500
WHERE 1=1
SMF 1.1.x (Add 500 to current total)Code SelectUPDATE smf_members
SET karmaGood = karmaGood + 500
WHERE 1=1
and replace smf_members with your members table name if you're not using smf_
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?
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.
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?
x[x.length] = 'type=' + (form['type'][0].value != 'undefined' ? form['type'][0].value : form['type'][1].value);
x[x.length] = 'type=' + (form['type'][0].checked ? form['type'][0].value : form['type'][1].value);
25. Execute Modification ./Themes/default/languages/ModSettings.english.php Test failed
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
Quote from: Fustrate on March 28, 2009, 12:38:59 AM
what version of this mod are you using?
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.
Quote from: Fustrate on March 30, 2009, 02:34:04 PM
hard refresh - ctrl-shirt-r or cmd-shift-r
.repbars img
{
padding: 0 1px 0 0;
}
#reputation_menu{
position: absolute;
border: 1px solid black;
z-index: 100;
}
?>
Quote from: Fustrate on March 17, 2009, 04:54:43 PM
...add the code to your theme's style.css, right before the ?>
Quote from: robbie93 on March 31, 2009, 03:58:10 PMItsNatalie and I are from the same board, that worked =) Thanks so much!
Hi ItsNatalie you need to edit you're themes style.css ;D
With thisCode Select.repbars img
{
padding: 0 1px 0 0;
}
#reputation_menu{
position: absolute;
border: 1px solid black;
z-index: 100;
}
right before thisCode Select?>
Then the pop up will work in the proper way :D
Quote from: Fustrate on April 04, 2009, 07:34:55 PM
I take it nobody has negative rep?
Quote from: A.SK on April 04, 2009, 08:19:24 PMQuote 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.
Quote from: Fustrate on April 04, 2009, 09:55:23 PM
Nobody has reputation points lower than 0, I mean.
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)
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
Quote from: A.SK on April 06, 2009, 02:11:55 AMWhat version of the mod were you on before?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
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)
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)
Quote from: Fustrate on April 06, 2009, 02:12:22 PM
So is everything working as it should?
Quote from: Fustrate on April 06, 2009, 02:12:22 PM
So is everything working as it should?
Quote from: Plus on April 11, 2009, 05:20:55 AM1.1.x or 2.0?
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 :(
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
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 '
', $context['start'], ';m=', $message['id'], ';sesc=', $context['session_id'], '">', $modSettings['karmaSmiteLabel'], '</a><br />';
Quote from: Fustrate on April 18, 2009, 01:37:16 PMOk, I got rid of the error messages but when I go and add a reputation and then try to view them, it still "0".
BoZilla - take this out of your file, so it's just a closing bracket } with nothing after itCode Select', $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?
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.
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 :)
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.
Quote from: Fustrate on April 21, 2009, 04:00:04 AM
have you tried action=reputation ?
'reputation' => array(
'any' => array('moderate_forum'),
'any' => array('profile_view_any'),
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.
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.
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
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.
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.
<input type="radio" name="type" value="agree"
Quote// Format the numbers nicely.but my stats.php doesn't have that phrase/line in there.
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.
QuoteAn Error Has Occurred!in other themes ? in permisiion i already Can -reputation other users
Please spread the love before giving it to this user again.
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?
Quote from: The_Wii_Nes_Boy on April 30, 2009, 03:13:25 AMIf 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.
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?
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');
}
?>
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 :)
Quoteand how to user can't see the people give the agree and disagree repurtation in other member?
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
Quote from: The_Wii_Nes_Boy on May 01, 2009, 12:21:40 PMQuote 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.
Unknown column 'k.message' in 'field list'
File: /mounted-storage/home119a/sub005/sc66957-EQTO/forum/Sources/Display.php
Line: 740
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.
Duplicate column name 'karma_disabled'
File: /mounted-storage/home119a/sub005/sc66957-EQTO/forum/install.php
Line: 72
db_query("
ALTER TABLE {$db_prefix}members
ADD karma_disabled TINYINT(3) NOT NULL default '0'", __FILE__, __LINE__);
Too big column length for column 'comment' (max = 255). Use BLOB instead
File: /mounted-storage/home119a/sub005/sc66957-EQTO/forum/install.php
Line: 84
Session verification failed. Please try logging out and back in again, and then try again.
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.
Quote from: Fustrate on May 04, 2009, 05:43:43 PM
Did any edits fail when you installed?
UPDATE smf_members
SET karmaGood = karmaGood + 777
WHERE 1=1
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:Code SelectUPDATE 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.
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.
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.
Quote from: Fustrate on May 07, 2009, 02:49:08 PM
What were the specific errors? Were they just in your theme's files?
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?
<span id="reputation_menu" style="visibility: hidden; display: none;">
<span id="reputation_menu" style="visibility: hidden; display: none;"></span>
Quote from: Tyrsson on May 08, 2009, 04:14:29 AMDisregard this one :)
Hey Fustrate,
I think I found a bug.
In the first edit in the display template for 2.0Rc1 its adding this:Code Select<span id="reputation_menu" style="visibility: hidden; display: none;">
But should be:Code Select<span id="reputation_menu" style="visibility: hidden; display: none;"></span>
Quote from: Tacheon on May 08, 2009, 02:38:49 AMQuote 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.
$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.';
Quote from: robbie93 on March 31, 2009, 03:58:10 PM
Hi ItsNatalie you need to edit you're themes style.css ;D
With thisCode Select.repbars img
{
padding: 0 1px 0 0;
}
#reputation_menu{
position: absolute;
border: 1px solid black;
z-index: 100;
}
right before thisCode Select?>
Then the pop up will work in the proper way :D
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.
Quote from: ItsNatalie on May 12, 2009, 04:39:04 PMQuote from: robbie93 on March 31, 2009, 03:58:10 PM
Hi ItsNatalie you need to edit you're themes style.css ;D
With thisCode Select.repbars img
{
padding: 0 1px 0 0;
}
#reputation_menu{
position: absolute;
border: 1px solid black;
z-index: 100;
}
right before thisCode Select?>
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.
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.
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.
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.
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.
<?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"> </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"> </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'] . ' <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'], ' (', $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']) == 1 ? $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'] == 1 ? $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'] == 0 ? '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'] > 1 || $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">&#171; <strong>', !empty($message['counter']) ? $txt['reply_noun'] . ' #' . $message['counter'] : '', ' ', $txt['on'], ':</strong> ', $message['time'], ' &#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'] == 1 && $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'] != 0 && $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'], ' [<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" /> ' . $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>] | [<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 '
&#171; <em>', $txt['last_edit'], ': ', $message['modified']['time'], ' ', $txt['by'], ' ', $message['modified']['name'], '</em> &#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> ';
// 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'] . ' <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"> </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'] == 2 ? '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'] == 2 ? '' : ' 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
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.
Quote from: Lex-BY on May 11, 2009, 01:19:57 PMRussian has now been added to the 1.1.x package, and those two strings are taken out of it now.
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:Code Select
$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.
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.
QuoteOkay, I'll try to figure that out.
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.
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.Attached.
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.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
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.
.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. 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.
Quote from: Fustrate on May 17, 2009, 07:04:53 PM
so the view page is sa= but the links go to area=?
Quote from: ItsNatalie on May 18, 2009, 12:33:11 PMI found the problem and will release an upgrade in a few hours when I get home from work.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. :-[
Quote from: Mythcomeback | Burak on May 19, 2009, 07:45:57 AMThat would be awesome :)
I would like permission to translate this mod into Turkish.
Quote from: maxtor on May 19, 2009, 08:53:30 AMDo you have any other karma mods installed? This doesn't play nicely with anything else that touches the karma system.
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
Quote from: Fustrate on May 17, 2009, 07:04:53 PMQuote from: maxtor on May 19, 2009, 08:53:30 AMDo you have any other karma mods installed? This doesn't play nicely with anything else that touches the karma system.
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
Quote from: lazanya on May 21, 2009, 05:28:06 AMThe mod site was broken by the upgrade to 2.0 RC1-1.
where is the mod? there isn't a file here, http://custom.simplemachines.org/mods/index.php?mod=1129
<?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. "Karma" 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. "Rep" 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>
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
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".
Quote from: madglee on May 17, 2009, 05:34:43 PMQuoteOkay, I'll try to figure that out.
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.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.Attached.
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.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
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.Code Selectinto my stylesheet and that fixed that issue.
.repbars img
{
padding: 0 1px 0 0;
}
#reputation_menu{
position: absolute;
border: 1px solid black;
z-index: 100;
}
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.
// 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);
}
// 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);
}
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?
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.
Quote from: The_Wii_Nes_Boy on May 06, 2009, 08:05:10 PMHow diid you get it fixed?
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!
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.
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
Quotephilcross - are you sure the language strings were added to your language?
Quote from: Fustrate on June 06, 2009, 02:26:43 AM
S-Ace - guests shouldn't be trying to access karma/reputation...
QuoteParse error: syntax error, unexpected '*' in /home/insomni1/public_html/forums/Sources/Admin.php on line 405Does 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.
QuoteParse error: syntax error, unexpected ',' in /home/insomni1/public_html/forums/Sources/Admin.php on line 497And when I try to go to any posts on my website I get the error
QuoteUnknown column 'mem.karma_disabled' in 'field list'. Can anyone help please? Thanks.
File: public_html/forums/Sources/Load.php
Line: 936
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'];
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.
Quotephilcross - you need to make the language edits from the mod to the files in /languages/ that are {filename}.english_british.php
Quote from: FustrateIs 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.
Twis7ed - You need to manually uninstall the reputation mod from Load.php
Quote from: traveler1 on June 09, 2009, 11:52:07 AMI had the same problem. Just manually modify the files. ;)
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
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
UPDATE smf_members SET karma_good = 100
Quote from: Kyzer on June 15, 2009, 04:13:54 PMI 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.
does anyone besides yoda know how to make the < ## rep = ______ membergroup?>
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 :)
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.
Quote from: Kyzer on June 21, 2009, 09:39:19 PMWhat exactly do you want to be able to give rep with 0 rep for?
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?
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
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.
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.
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?
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.
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.
AngelikaQuote 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?
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.
Quote from: AngelikaCourtois on June 26, 2009, 04:40:56 PM
alan,
There you go, its attached.
AngelikaQuote 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.
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.
Quote from: Thenewguy2009 on June 29, 2009, 01:36:25 AM
well that is all controled in the admin control panel.
Quote from: Aryon on June 29, 2009, 01:54:11 AMQuote 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
Quote from: Thenewguy2009 on June 29, 2009, 02:15:59 AMQuote from: Aryon on June 29, 2009, 01:54:11 AMQuote 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?
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?
Quote from: neteater on June 28, 2009, 04:29:50 AMany update for me
i am getting this error reputation is printed many times attached thubnails
Quote from: Thenewguy2009 on June 27, 2009, 11:48:05 AMI've just installed and get the same error... :(
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
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
Quote from: Fustrate on June 29, 2009, 11:44:04 AMThanks for your reply...
CyprusGrump - are you using the most recent version of the rep system for 1.1.x? That problem was fixed, iirc.
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.
Quote from: Fustrate on June 29, 2009, 11:44:04 AMsorry i cant understand which five images
neteater - you need to upload the 5 images from the package to your theme's /images/ folder.
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
Quote from: netoya on June 30, 2009, 03:52:09 AMCan you not see the little heart - I have that...
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.
Quote from: netoya on June 30, 2009, 04:32:40 AMSorry, different problem then - I have the heart...
I don't see a heart
Quote from: netoya on June 30, 2009, 09:53:49 AMIt is for me...
Is it normal, when on a log page of a reputation, the image is always grey, whatever action is + or -?
Quote from: the epic winner on June 30, 2009, 02:36:46 PMSomebody asked this on May 4th...
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!
Quote from: the epic winner on June 30, 2009, 07:07:15 PMI think so... on May 4th Tacheon posted this...
Are you sure it's that post? I'm not seeing my problem posted there.
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:Code SelectSession verification failed. Please try logging out and back in again, and then try 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 '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.
QuoteWHERE mem." . ($is_name ? 'memberName' : 'ID_MEMBER') . (count($users) == 1 ? " = '" . current($users) . "'" : " IN ('" . implode("', '", $users) . "')"), __FILE__, __LINE__);
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
Quote from: Fustrate on July 01, 2009, 02:50:22 AMMine is attached...
Cyprus or theglobe - can you attach your Karma.php to a post here?
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
QuoteUnknown column 'comment' in 'field list'
File: /home/theglobe/public_html/smf/Sources/Karma.php
Line: 370
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
// 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 />';
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.
QuoteParse error: parse error in /vhost/vhost6/v/i/r/virtual-pub.com/www/SMF/GiveReputation.php on line 51
Quote from: Fustrate on July 02, 2009, 04:03:32 AMExcellent! Thanks, I'll try it now...
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.
Quote from: Fustrate on July 02, 2009, 09:19:54 PMExcellent!
GiveReputation.php has been uploaded to the mod download page, if anyone wants to try it.
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.
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 />';
Quote from: Fustrate on July 03, 2009, 11:39:31 AMyes
Can you upload your Karma.php file as an attachment here so I can look at it?
Quotenetoya - the avatar thing most likely has nothing to do with this mod, so I don't know why that error ever popped up.
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
Quote from: X-TERMINATOR™ on July 03, 2009, 11:36:14 PMI think that is because you need 100 points for 1 power...
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
Quote from: Kyzer on July 05, 2009, 07:00:56 PM
how?
SMF 2.0 RC1-1
UPDATE smf_members
SET karma_good = 100, karma_bad = 0
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.
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."?
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.
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.
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.
Quote from: Fustrate on July 07, 2009, 05:59:51 PM
punktravis182 - do you have any other karma-type mods installed?
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
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)?
ALTER TABLE smf_log_karma
ADD PRIMARY KEY (`id_executor`, `id_target`)
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:Code SelectALTER 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 :)
Quote from: Fustrate on July 10, 2009, 09:30:04 PM
ALTER TABLE smf_log_karma
ADD PRIMARY KEY (`id_target`, `id_executor`)
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.
Quote from: Fustrate on July 10, 2009, 11:34:48 PM
Clear the karma log - DELETE FROM smf_log_karma WHERE 1=1
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.
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
Quote from: Fustrate on July 11, 2009, 04:50:26 AM
did you do the ctrl-shift-r again?
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.
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?
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
?>
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);
}
?>
.repbars img
{
padding: 0 1px 0 0;
}
#reputation_menu{
position: absolute;
border: 1px solid black;
z-index: 100;
}
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.
Quote from: Fustrate on July 20, 2009, 04:41:38 PM
Did you make the changes to your theme's style.css file?
Quote from: Fustrate on July 20, 2009, 02:19:55 PMThanks, it works! :D
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?
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 :(
$txt['karma'] = 'Karma';
$txt['karma'] = 'Reputação';
$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.';
$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.';
?>
// 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!';
$helptxt['karmaMode'] = 'O Karma é uma função que mostra a popularidade de um membro. Membros, se permitidos, podem "Aplaudir" ou "Denegrir" outros membros, que é como suas popularidades são calculadas. Você pode mudar o número de posts necessário para se ter um "Karma", 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.';
$helptxt['karmaMode'] = 'A reputação é uma função que mostra a popularidade de um membro. Membros, se permitidos, podem "Aplaudir" ou "Denegrir" outros membros, que é como suas popularidades são calculadas. Você pode mudar o número de posts necessário para se ter uma "Reputação", 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.';
?>
// 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';
$txt['default_karmaLabel'] = 'Karma:';
$txt['default_karmaLabel'] = 'Reputação:';
$txt['scheduled_task_desc_paid_subscriptions'] = 'Envia qualquer lembrete necessário de qualquer subscrição paga e remove subscrição expiradas.';
$txt['scheduled_task_karma_birthdays'] = 'Reputação de Aniversário'; $txt['scheduled_task_desc_karma_birthdays'] = 'Envia reputação no aniversário dos membros.';
$txt['permissionname_karma_edit'] = 'Alterar o Karma de outro Membro';
$txt['permissionhelp_karma_edit'] = 'O Karma é uma característica que mostra a popularidade de um Membro. Para poder usar esta funcionalidade, precisa de a ativar em 'Recursos e Opções'. Esta permissão permitirá que um Grupo de Membros vote no Karma. A permissão não tem efeito nos Visitantes.';
$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 "Recursos e Opções". Esta permissão permitirá este grupo fazer ações de reputação. Esta permissão não tem efeito em visitantes.';
?>
$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 "neutra".';
$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?';
$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';
$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)';
$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 "Aplaudir" ou "Denegrir" outros membros, que é como suas popularidades são calculadas.';
$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 "Aplaudir" ou "Denegrir" outros membros, que é como suas popularidades são calculadas.';
?>
$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.';
?>
// 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!';
$txt['group_perms_name_karma_edit'] = 'Editar o karma dos usuários';
$txt['group_perms_name_karma_edit'] = 'Editar a reputação dos usuários';
$txt['best_karma'] = 'Melhor Karma';
$txt['worst_karma'] = 'Pior Karma';
$txt['best_karma'] = 'Melhor Reputação';
$txt['worst_karma'] = 'Pior Reputação';
// 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';
Quote from: juanpons14 on July 27, 2009, 10:36:48 AMU have to send reputation to another users before giving to this user again.
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
UPDATE smf_members
SET karmaGood = 0, karmaBad = 0
WHERE 1=1
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)):Code SelectUPDATE 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
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?
Quote from: CesarManara on July 28, 2009, 02:37:56 PMQuote 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.
Quote from: evolution25 on July 28, 2009, 08:05:30 PM
file
QuoteAn Error Has Occurred!
Session verification failed. Please try logging out and back in again, and then try again.
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
Error: result.childNodes[0] is undefined
Source File: http://www.e-metals.com/Themes/default/scripts/script.js?rc1
Line: 1477
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
QuoteBen K russian translate was allready made by Lex-BY for this modHe made one for Advanced Reputation System v0.1.5.
Quote from: Fustrate on August 11, 2009, 03:59:59 PMThanks mate for the input.. well i am not sure what to do.. can you please explain me..
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)
<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"> </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>
Quote
.repbars img
{
padding: 0 1px 0 0;
}
#reputation_menu{
position: absolute;
border: 1px solid black;
z-index: 100;
}
<input type="text" name="reputation_comment" />
<input type="text" name="reputation_comment" size="40" />
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
Quote from: sangwe11 on August 12, 2009, 06:17:16 PMThe same, using 1.1.10
For some reason, every now and then the reputation list resets.
It says no sent or recieved reputation, when there obviously has been.
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?
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?
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?
Quote from: slowforthecones on August 14, 2009, 04:52:34 AMWhat you should do is manually add the changes to the following two files:
I'm using 1.1.10 and I get the following errors..any ideas?
nstalling this package will perform the following actions:
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?
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ý';
Quote from: The other user's profile
Quote from: My profile
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.
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.
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.
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
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 ?
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
Quote from: Shark-Time on August 29, 2009, 07:35:29 AMhey thanx a ton buddy you really solved my problem :)
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..
Quote from: Rohan_ on August 31, 2009, 06:38:40 AM
try to give rep to another user
Quote from: Fustrate on September 01, 2009, 01:59:05 PMFile is attached. Thank you. Very much. :)
You'll either have to do that one edit manually, or attach that file here and I'll male the edit for you.
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)
?>
.repbars img
{
padding: 0 1px 0 0;
}
#reputation_menu{
position: absolute;
border: 1px solid black;
z-index: 100;
}
Quote from: Fustrate on September 02, 2009, 02:36:07 PMhey what does givereputation.php do ?
look in their profile, you can edit the # of positive or negative. You can also use GiveReputation.php
Quote from: Rohan_ on September 03, 2009, 03:01:20 PM"How can I give my members points for their posts and topics made before I installed this mod?Quote from: Fustrate on September 02, 2009, 02:36:07 PMhey what does givereputation.php do ?
look in their profile, you can edit the # of positive or negative. You can also use GiveReputation.php
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.
Quote from: Rohan_ on September 01, 2009, 05:09:39 PMWell 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.
Here it is .. enjoy
(http://i32.tinypic.com/2rdw18g.gif)(http://i32.tinypic.com/2rdw18g.gif)(http://i32.tinypic.com/2rdw18g.gif)
Quote from: Rohan_ on September 04, 2009, 12:32:39 AMOh. 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.
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
Quote from: Danpotter on September 03, 2009, 09:04:56 PMQuote 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"
Quote from: Ben K on September 08, 2009, 01:39:25 AMThere'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 :)
When is new version is coming out ? =\
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
Quote from: Rohan_ on September 23, 2009, 03:40:31 PM
if u use english then go on
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 :)
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
Quote from: Rohan_ on September 28, 2009, 04:39:26 AM
do u want to use spanish language ?
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.
Quote from: gisfreak on September 24, 2009, 09:47:15 AMQuote 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
error="skip"
if that language is not installed.
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
Quote from: Rohan_ on September 29, 2009, 02:04:13 AMQuote from: gisfreak on September 24, 2009, 09:47:15 AMQuote 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 ?
Quote from: Rohan_ on September 30, 2009, 03:58:02 AM
go in packaged > settings > all files are writable
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
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
Quote from: Rohan_ on October 03, 2009, 02:32:02 AM
attach it here
Quote from: Rohan_ on October 03, 2009, 02:47:08 AM
try this :(
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 noCode Selecterror="skip"
if that language is not installed.
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
Quote from: Rohan_ on October 03, 2009, 03:28:29 AM
try this >:(
Quote from: slowmotion_99 on October 03, 2009, 01:58:03 PMin
Hello...
how to rename "reputation power" ?cause i want to using another name...
Thanks
$txt['karma_power'] = 'Reputation Power';
Quote from: Rohan_ on October 03, 2009, 01:41:52 PM
i just removed the <li> tags and used <span>
Quote from: gisfreak on October 03, 2009, 11:20:22 AMdid you add this line for utf-8 also?
yes, its skipping the language, but in the next , it said not found
Quote from: netoya on October 04, 2009, 11:28:00 AMQuote from: gisfreak on October 03, 2009, 11:20:22 AMdid you add this line for utf-8 also?
yes, its skipping the language, but in the next , it said not found
Division by zero
File: /public_html/Sources/Load.php
Line: 1124
$power = ($points - ($points % $modSettings['karmaBarPower'])) / $modSettings['karmaBarPower'];
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.Code SelectDivision by zero
File: /public_html/Sources/Load.php
Line: 1124
Which pertains to:Code Select$power = ($points - ($points % $modSettings['karmaBarPower'])) / $modSettings['karmaBarPower'];
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?
10. Execute Modification ./Sources/Display.php Test failed
Sorry, but this modification does not appear to be compatible with the selected version.
Quote from: Sebis on September 23, 2009, 06:45:00 PMI have the same problem, I would apriciate some help.
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
Quote
I tried to manually modify using the manual install instructions for 1.1.10 but get this error for everything:Code SelectSorry, but this modification does not appear to be compatible with the selected version.
Quote from: vortodox on October 15, 2009, 04:36:28 PMQuote from: Sebis on September 23, 2009, 06:45:00 PMI have the same problem, I would apriciate some help.
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
Quote from: kapitaliser on October 13, 2009, 11:54:00 PMBUMP, BUMP
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
Quote from: Sebis on October 16, 2009, 07:39:18 AMQuote from: vortodox on October 15, 2009, 04:36:28 PMQuote from: Sebis on September 23, 2009, 06:45:00 PMI have the same problem, I would apriciate some help.
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
no help from developer yet :(
Quote from: kapitaliser on October 16, 2009, 11:21:44 AM
have you uninstall it manually?
ALTER TABLE smf_members
ADD karma_disabled TINYINT(3) NOT NULL default '0'
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?
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 :)
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:Code SelectALTER TABLE smf_members
ADD karma_disabled TINYINT(3) NOT NULL default '0'
with your db_prefix in place of smf_ if needed.
ALTER TABLE smf_members
ADD karma_disabled TINYINT(3) NOT NULL default '0'
Quote from: Fustrate on October 17, 2009, 10:15:01 PMpmed fustrate
NewbiezKid, just make sure you use v1.7.5
v1.8 is for RC2
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?
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.
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
Quote from: Fustrate on October 17, 2009, 07:57:29 PM
shellniger - attached
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
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.
Quote from: Sebis on October 19, 2009, 04:26:37 AMQuote 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
:'(
Quote from: Sebis on October 19, 2009, 04:38:12 AMQuote from: Sebis on October 19, 2009, 04:26:37 AMQuote 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!
global $context, $settings, $options
$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'],
)
);
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 =\
QuoteTable 'a111443_SMFWVv.members' doesn't exist
File: /home/111443/forum/Packages/temp/uninstall.php
Line: 46
Quote from: xtinaonefan on November 12, 2009, 10:08:39 AM
*bump* anyone???
Quote from: ♪ JohnCcCcCc ♫ on November 12, 2009, 01:47:55 PMQuote 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. :)
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 :)
Quote from: 4b11l on October 18, 2009, 11:42:06 PMQuote 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.
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......
Quote from: ishy on November 24, 2009, 03:22:55 PMI've never done an edit before but can u share what u did and i'll see if it works for me
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.
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.
Quote from: adbrad on December 02, 2009, 08:41:50 AMYes, it just stopped appearing.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.
Quote from: adbrad on December 03, 2009, 11:27:23 AM1. it's there
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.
Quote from: SEABOY on December 10, 2009, 01:06:22 PMIf 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.
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?
Quote from: PalmBeachPreps on December 09, 2009, 03:39:24 AMJust 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.Quote from: adbrad on December 03, 2009, 11:27:23 AM1. it's there
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.
2. the add rep link does not appear - i get nothing at all. i can't even rep new replies by new members
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.
Quote from: PalmBeachPreps on December 09, 2009, 03:39:24 AMQuote from: adbrad on December 03, 2009, 11:27:23 AM1. it's there
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.
2. the add rep link does not appear - i get nothing at all. i can't even rep new replies by new members
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.
// 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>';
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
Quote
Users gain 1 power for every __ points? 1
Default 100
Users gain 1 bar image for every __ points? 200
Default 1000
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
Quote from: juanpons14 on December 20, 2009, 06:11:13 AMQuote 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?
Quote from: Bass Junkie on December 22, 2009, 01:05:24 AMFirst place to find out what happened would be your error log. See what's posted there and then copy/paste the error here.
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...
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.
Quote from: blokey on January 04, 2010, 01:35:23 PM
Do I have to switch off karma in core features before installing this?
Quote from: Giiyom on January 05, 2010, 04:13:05 PM
Is this mod any compatible with 1.1.11?
Quote from: Giiyom on January 05, 2010, 08:37:44 PMYou need to carry over those images from the default theme file and add them into your current theme's images folder.
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?
Quote from: Giiyom on January 05, 2010, 10:54:04 PMCorrect. :)
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?
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
Quote from: SEEN on January 06, 2010, 09:46:52 AMi think the answer to both is yes as in only modifies the karma system
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
Quote from: AshleyL on January 06, 2010, 06:31:16 AM
I am using a customized theme.
QuoteTable 'smf.members' doesn't exist
File: C:\webserver\xampp\htdocs\forum\Packages\temp\uninstall.php
Line: 46
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?
Quote from: Giiyom on January 07, 2010, 02:09:25 AMHave 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
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
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.
QuoteYou haven't sent or received any reputation!
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
Quote from: Giiyom on January 07, 2010, 04:24:25 PMQuote 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?
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?
QuoteAnd another question, where can I disable my own rep?
Quote from: adbrad on January 07, 2010, 05:00:09 PMTo disable the rep completely you just go to features and options->reputation and the first selection is about enabling or disabling.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 workQuoteAnd 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
Quote from: SEEN on January 07, 2010, 05:06:20 AMFrom the mod info:
is there a feature that give some amount of rep to all members?
Quote from: LC on January 07, 2010, 05:55:31 PMi think he wanted to just disable for him self not all membersQuote from: adbrad on January 07, 2010, 05:00:09 PMTo disable the rep completely you just go to features and options->reputation and the first selection is about enabling or disabling.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 workQuoteAnd 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
Quote from: adbrad on January 07, 2010, 06:17:21 PMI know. But you mentioned not being sure about how to completely disable it.Quote from: LC on January 07, 2010, 05:55:31 PMi think he wanted to just disable for him self not all membersQuote from: adbrad on January 07, 2010, 05:00:09 PMTo disable the rep completely you just go to features and options->reputation and the first selection is about enabling or disabling.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 workQuoteAnd 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
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 showsQuoteYou haven't sent or received any reputation!
even tho I have
Any suggestions?
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?
Quote from: cz99 on January 08, 2010, 12:32:39 PMQuote 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.
Quote from: cz99 on January 08, 2010, 12:32:39 PMWhat 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.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.
?>
.repbars img
{
padding: 0 1px 0 0;
}
#reputation_menu{
position: absolute;
border: 1px solid black;
z-index: 100;
}
?>
.repbars img
{
padding: 0 1px 0 0;
}
#reputation_menu{
position: absolute;
border: 1px solid black;
z-index: 100;
}
Quote from: Lamarck on January 08, 2010, 09:01:53 PMcould you not just do manual edits to the language files
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?.
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
Quote from: nadrojcote on January 11, 2010, 03:28:00 PMhave you reinstalled mod at all as this will clear the rep actions
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
Quote from: pointalk on January 11, 2010, 09:57:17 PMIf 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:
Fustrate or other members, can you help me?
"Add 1 point to member when he give a Reputation"
How to achieve this feature?
// 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,
)
);
// 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,
)
);
Quote from: ʟink on January 14, 2010, 10:30:40 PMQuote from: pointalk on January 11, 2010, 09:57:17 PMIf 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:
Fustrate or other members, can you help me?
"Add 1 point to member when he give a Reputation"
How to achieve this feature?
File:./Sources/Xml.php
Find:Code Select// 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:Code Select// 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,
)
);
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
Quote from: Enders on January 16, 2010, 12:07:15 PMI 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.Quote from: ʟink on January 14, 2010, 10:30:40 PMQuote from: pointalk on January 11, 2010, 09:57:17 PMIf 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:
Fustrate or other members, can you help me?
"Add 1 point to member when he give a Reputation"
How to achieve this feature?
File:./Sources/Xml.php
Find:Code Select// 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:Code Select// 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?
Quote from: adbrad on January 16, 2010, 12:53:40 PMQuote 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
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.
Quote from: adbrad on January 16, 2010, 12:53:40 PMQuote 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
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
Quote from: Ha² on January 24, 2010, 05:30:30 PM
Looking into this bug; will post an update if I can confirm it.
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
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.
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
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
Quote from: adbrad on January 28, 2010, 04:21:43 AM
check all the files and see if any say test failed
Quote from: adbrad on January 28, 2010, 04:34:07 AM
then should be fine to install
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.
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.
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.
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.
Quote from: Ha² on January 28, 2010, 04:48:03 PM2nd page works fine for me to if i manually type in the url.
I can't re-create this issue. The pagination is working fine for me.
Are you on a custom theme?
function reputation($memID)
$context['page_index'] = constructPageIndex($scripturl . '?action=profile;sa=reputation;u=' . $memID, $context['start'], $total_actions, $amount);
$context['page_index'] = constructPageIndex($scripturl . '?action=profile;u=' . $memID . ';sa=reputation', $context['start'], $total_actions, $amount);
Quote from: LC on January 20, 2010, 07:08:16 PMBump.
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?
Quote from: LC on January 28, 2010, 10:08:11 PMQuote from: LC on January 20, 2010, 07:08:16 PMBump.
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?
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: LLandL on January 29, 2010, 05:34:26 AMQuote 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 PMThanks for the help with this sawz! I appreciate it.
that worked, by switching it around we can now happily click the pagination and see all our rep comments. 8)
Quote from: LC on January 29, 2010, 01:01:52 AM
Here ya go :)
Quote from: LC on February 01, 2010, 08:08:02 PMSadly, 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.
Any luck Ha2?
Quote from: Ha² on February 05, 2010, 08:15:37 PMThe 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.Quote from: LC on February 01, 2010, 08:08:02 PMSadly, 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.
Any luck Ha2?
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?
Quote from: nadrojcote on February 08, 2010, 12:01:47 PMAny errors in the log?
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?
<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;">
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.
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.
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!
Quote from: Dismal Shadow on February 12, 2010, 11:35:35 PMIt'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.
Interesting mod, so this replace karma but better?
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?
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 ;)
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
Table 'user_smf2.members' doesn't exist
File: /home/user/public_html/forum/Packages/temp/uninstall.php
Line: 46
Quote from: Dismal Shadow on February 13, 2010, 12:58:08 AM
Wow. I can't even uninstall.Code SelectTable 'user_smf2.members' doesn't exist
File: /home/user/public_html/forum/Packages/temp/uninstall.php
Line: 46
Quote from: Ha² on January 24, 2010, 11:19:29 PMQuote 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.
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.
Quote from: Plutuss on February 13, 2010, 01:12:33 PM
It does. Here is the print screen view:
Quote from: Ha² on February 13, 2010, 10:12:51 AM#3 doesn't make sense...
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.
Quote from: Dismal Shadow on February 13, 2010, 05:48:16 PMQuote from: Ha² on February 13, 2010, 10:12:51 AM#3 doesn't make sense...
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.
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.
Quote from: adbrad on February 13, 2010, 06:04:55 PMQuote from: Ha² on February 13, 2010, 10:12:51 AMi just downloaded the file and uploaded through package manager as usual worked fine for me
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.
// Clear out the karma actions.
$smcFunc['db_query']('', '
DELETE FROM {db_prefix}log_karma');
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');
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');
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
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
function template_reputation()
{
global $context, $settings, $options, $scripturl, $modSettings, $txt;
function template_reputation()
{
global $context, $settings, $options, $scripturl, $modSettings, $txt;
isAllowedTo('admin_forum');
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.
Quote from: Ha² on February 20, 2010, 09:41:12 PM
In short: no, the points are not deducted AFAIK.
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?
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.
Quote from: hobox on February 24, 2010, 02:43:03 AMIt 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.
Can this mod not be expanded to include Reputatuion based membergroups as well? This would be great. If possible for SMF 1.1.*
Quote from: waruna on February 24, 2010, 09:45:01 AMTry opening up /Sources/Karma.php and finding this:
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.
function SendKarma()
{
global $modSettings, $user_info, $context, $smcFunc, $txt;
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)
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.
Quote from: Ha² on February 15, 2010, 10:53:18 AMQuote 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. :)
Quote from: Ha² on February 24, 2010, 03:25:14 PMQuote from: waruna on February 24, 2010, 09:45:01 AMTry opening up /Sources/Karma.php and finding this:
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.Code Selectfunction SendKarma()
{
global $modSettings, $user_info, $context, $smcFunc, $txt;
Replace that with this:Code Selectfunction SendKarma()
{
global $modSettings, $user_info, $context, $smcFunc, $txt;
isAllowedTo('admin_forum');
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
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
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
Quote from: Leemy on March 04, 2010, 10:59:53 PMYes, there is negative karma.
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???
Quote from: waruna on March 05, 2010, 07:14:42 AMSorry for the delay in response. I will look into it for you.
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. :)
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?
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.
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
Quote from: waruna on March 07, 2010, 02:19:57 PMSo, to clarify, you would like to remove reputation power from the system, correct?
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. :)
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.
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. :)
Quote from: Ha² on March 07, 2010, 04:42:45 PMQuote 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: waruna on March 08, 2010, 12:23:41 AMIt'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.Quote from: Ha² on March 07, 2010, 04:42:45 PMQuote 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 :-[
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.
Quote from: Fustrate on March 08, 2010, 03:00:28 AM
Psst, Ha², instruct her to edit $power in Karma.php
$power = (int) (($power > 0) ? $power : 0);
$power = 1;
Quote from: Fustrate on March 08, 2010, 11:52:12 AM
find this line in /Sources/Karma.phpCode Select$power = (int) (($power > 0) ? $power : 0);
and change it toCode Select$power = 1;
that's assuming the line hasn't changed since I first wrote it :P
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
Quote from: Fustrate on March 08, 2010, 01:47:21 PM
Ah, forgot about Xml.php
Do the same edit in /Sources/Xml.php
Quote from: Ha² on February 15, 2010, 10:53:18 AMQuote 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. :)
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 AMQuote 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. :)
QuoteWhat version of SMF are you using? It is a planned feature of Advanced Reputation 2.0.
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
Quote from: arifwicaksono on March 09, 2010, 12:45:30 AMPlease attach your Karma.php file.
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 userQuoteFatal 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
Quote from: Titanio Verde on March 09, 2010, 02:03:33 PMI apologize for the inconvenience about translations; I speak only English fluently, so I cannot expand the languages myself.
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?
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.
Quote from: pointalk on March 13, 2010, 07:28:08 PMUnless SMF2.0 is golded by then, I plan to add features to the Rep System for 1.1.x, too.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.*
Quote from: Ryoki on March 13, 2010, 09:25:21 PMI 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. :)
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.
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
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. :)
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
mem.openid_uri, mem.birthdate, mem.icq, mem.aim, mem.yim, mem.msn, mem.posts, mem.last_login, mem.karma_good,
mem.birthdate, mem.icq, mem.aim, mem.yim, mem.msn, mem.posts, mem.last_login, mem.karma_good, mem.karma_disabled,
mem.openid_uri, mem.birthdate, mem.icq, mem.aim, mem.yim, mem.msn, mem.posts, mem.last_login, mem.karma_good, mem.karma_disabled,
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
Quote from: Ha² on March 16, 2010, 08:53:02 AMQuote 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
Quote from: Ryoki on March 19, 2010, 02:00:02 PMIt has been added to the package. I was out of state today, so I apologize for the late reply.
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?
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.
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?
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.
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. :)
Quote from: adbrad on March 23, 2010, 05:02:16 AM
you may need to manually add the images to your themes images file
Quote from: aljo1985 on February 11, 2010, 11:44:04 PMYes, installs, but broken image image appears! Raven theme, I don't know about other themes...
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>
Quote from: Kcmartz on March 23, 2010, 10:58:19 AMQuote from: aljo1985 on February 11, 2010, 11:44:04 PMYes, installs, but broken image image appears! Raven theme, I don't know about other themes...
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>
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?
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.
Quote from: Ha² on April 05, 2010, 10:11:17 AM
Attach your Profile.php...
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');
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
Quote from: adbrad on April 19, 2010, 04:01:06 PMweird, 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.
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
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.
Quote from: adbrad on April 22, 2010, 03:34:58 PM
do you use turkish as a language on your forum
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.
Quote from: Eudemon369 on April 26, 2010, 07:50:58 PMAll you need to do is copy the images from the mods package to your custom themes images folder
im using custom theme impulse2
the button or image doesn't show, see attach
any idea why?
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
Quote from: adbrad on April 30, 2010, 02:54:42 AMQuote 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.
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?
mem.last_login, mem.karma_good
mem.last_login, mem.karma_good, mem.karma_disabled,
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.
Quote from: Confused Too on May 15, 2010, 03:10:08 PMyes go to admin>configuration>current theme and make sure
Is there a setting somewhere to display these?
Quote from: hitboy on May 15, 2010, 03:23:22 PMyes very similar to vbs rep system
Is this like vbulletin's rep system?
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)
Quote from: droganto on May 27, 2010, 12:22:08 PMAttach that file.
Installing the Mod gives me an error fail in the Display file. Any help will be appreciate it.
Quote from: Ha² on May 27, 2010, 12:25:31 PMQuote from: droganto on May 27, 2010, 12:22:08 PMAttach that file.
Installing the Mod gives me an error fail in the Display file. Any help will be appreciate it.
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
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:Code SelectInstalling 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.
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__);
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__);
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
global $context, $settings, $options, $txt, $scripturl, $sourcedir, $modSettings;
global $context, $settings, $options, $txt, $scripturl, $sourcedir, $modSettings, $user_info;
Quote from: droganto on May 28, 2010, 12:58:52 AMYes.
But should I install it with the error and then change that code or how do I do it.
Quote from: Ha² on May 28, 2010, 01:03:18 AMQuote from: droganto on May 28, 2010, 12:58:52 AMYes.
But should I install it with the error and then change that code or how do I do it.
.repbars img
{
padding: 0 1px 0 0;
}
#reputation_menu{
position: absolute;
border: 1px solid black;
z-index: 100;
}
Quote from: Ha² on May 27, 2010, 11:00:37 PMQuote 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:Code SelectInstalling 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) SelectSELECT
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) SelectSELECT
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.
Quote from: ukhalik2 on May 30, 2010, 05:41:01 AMTry parsing the package and doing the edits manually.
test failed in display.php and display.template.php
now the heart shape image is not showing up?
any help??
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
Quote from: uninvited13th on June 07, 2010, 11:34:51 PM
can someone teach me how to install mods
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.
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
Quote from: moaiamorfo on June 15, 2010, 11:28:50 AM
thanks: and so, how many points are added/removed with a single comment?
Quote from: adbrad on June 15, 2010, 11:39:52 AMQuote 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.
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.
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
Quote from: Ha² on March 16, 2010, 08:53:02 AMQuote 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
Quote from: Enders on July 14, 2010, 11:28:03 AMWhat errors are showing?
How do I fix the text syntax error that says reputation:: on the profiles ... there are 2 of those
QuoteCan't DROP 'PRIMARY'; check that column/key exists
File: /home/vortex/public_html/Packages/temp/install.php
Line: 126
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.
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
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.
Quote from: mgrmgr on May 08, 2010, 03:16:00 PMQuote 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
Unknown column 'k.message' in 'field list'
File: /mnt/glusterfs/apache/hosting-dir/126832/user_dir/runefable.com/forum/Sources/Display.php
Line: 741
Quote from: fable1 on August 05, 2010, 05:51:13 PMCould you please tell me:Code SelectUnknown 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.
Quote from: Ha² on August 05, 2010, 10:56:27 PMQuote from: fable1 on August 05, 2010, 05:51:13 PMCould you please tell me:Code SelectUnknown 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.
- 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?
ALTER TABLE {your_database_prefix_goes_here}log_karma
ADD message INT(12) NOT NULL
Error
SQL query:
ALTER TABLE {board}log_karma ADD message INT( 12 ) NOT NULL
MySQL said: Documentation
#1064 -
ALTER TABLE smf_log_karma
ADD message INT(12) NOT NULL
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?
Quote from: Stigmartyr on August 12, 2010, 09:21:42 PMNot currently, but I can look into adding it in the future. Thanks for the idea. :)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?
Quote from: Babalui on August 15, 2010, 08:47:42 PMIf I understand your question, I'm afraid that I can't think of one.
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!
Quote from: Ha² on August 15, 2010, 10:23:16 PMQuote from: Stigmartyr on August 12, 2010, 09:21:42 PMNot currently, but I can look into adding it in the future. Thanks for the idea. :)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?
QuoteQuote from: Babalui on August 15, 2010, 08:47:42 PMIf I understand your question, I'm afraid that I can't think of one.
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!
Quote from: mgrmgr on August 17, 2010, 05:21:43 AMI'm sorry I've missed your question.
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 :(
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.
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
QuoteHow many times a day can a person give reputation?
// 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);
}
Quote from: Spoogs on August 29, 2010, 10:00:11 PM
read post #1
Quote from: Fustrate on September 05, 2010, 12:51:29 AM
Do you have a backup of your database?
// These _must_ be numbers, no matter what.
$uid = (int) $_POST['uid'];
$message_id = (int) $_POST['m'];
$topic_id = (int) $_POST['topic'];
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 :=)
Quote from: Babalui on September 07, 2010, 01:29:38 AMyou 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.
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
Quote from: Neo_TE on September 16, 2010, 05:51:43 AMQuote from: Babalui on September 07, 2010, 01:29:38 AMyou 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.
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
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.Code Select// 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)
Quote from: Babalui on September 16, 2010, 06:52:43 AMcheck pm. :)
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).
Quote from: Neo_TE on September 21, 2010, 05:08:46 AM
check pm. :)
$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';
Quote from: Neo_TE on September 16, 2010, 05:48:04 AMEven my error log is full of these errors.... Any help is appreciated.
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.Code Select// 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)
UPDATE smf_members
SET karmaGood = 0, karmaBad = 0
WHERE 1=1
#1054 - Unknown column 'karmaGood' in 'field list'
UPDATE smf_members SET karmaGood =0,
karmaBad =0 WHERE 1 =1
'ratio' => !isset($user_settings['downloaded']) || !isset($user_settings['uploaded']) ? '' : ratioColor($user_settings['uploaded'], $user_settings['downloaded']),
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.
Quote from: Dr.IT on October 18, 2010, 03:53:52 PMTry this query instead:
Thanks For Nice MOD
...
I Want To Reset Reputation
I Run Query AsCode SelectUPDATE smf_members
SET karmaGood = 0, karmaBad = 0
WHERE 1=1
That's Error OccurredCode Select#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
UPDATE smf_members
SET karma_good = 0, karma_bad = 0
WHERE 1=1
Quote from: Ryan2320 on November 01, 2010, 11:13:04 PMI 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.
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
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.
Quote from: kurosaki00 on November 10, 2010, 02:51:19 PMIf 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.
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
Quote from: kizko on November 10, 2010, 04:35:40 PMno idea. wait for some experienced member to help you.
Why when i give I agree, it add 760 to reputation?
How can i reset the reputation all to 0?
Quote from: MH-MINI on November 15, 2010, 10:41:38 PMIt supports upto rc3 only. so wait for the author to update it. i am also waiting for the update.
How would I install this for RC4?
Thanks
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
QuoteSession verification failed. Please try logging out and back in again, and then try again.
Quote8: Undefined index:
File: /home/xxx/public_html/forum/Sources/Karma.php
Line: 207
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.
Quote from: steve in houston on January 01, 2011, 04:46:37 PMThank 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.
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.
Quote from: IlyZor on January 02, 2011, 03:25:38 PMPlease attach the files which failed tests; also, please let me know the Mods that you currently have installed.
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).
Quote from: Witchboard on January 01, 2011, 10:21:40 PMI 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.
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.
Quote from: Witchboard on December 03, 2010, 09:14:51 PMThis 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?
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.
Quote from: Ha² on January 02, 2011, 05:41:46 PMQuote from: Witchboard on January 01, 2011, 10:21:40 PMI 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.
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.
QuoteQuote from: Witchboard on December 03, 2010, 09:14:51 PMThis 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?
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.
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.
Quote from: gisfreak on January 10, 2011, 11:44:56 AMWhat 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).
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
QuotePlease attach the files which failed tests; also, please let me know the Mods that you currently have installed.
<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"> </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"> </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>
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>';
// 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>';
}
// 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>';
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?
// 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>';
// 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>';
<span id="reputation_menu" style="visibility: hidden; display: none;">
<span id="reputation_menu" style="visibility: hidden; display: none; position: absolute">
Quote from: (Ha)² on January 02, 2011, 05:41:46 PMQuote from: steve in houston on January 01, 2011, 04:46:37 PMThank 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.
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.
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?
QuoteEl paquete que estas intentando descargar o instalar está dañado o no es compatible con esta versión de SMF.
QuoteThis package that you are trying to download or install it's damaged or it's not compatible with this versión of SMF.
Quote from: Fustrate on February 01, 2011, 03:51:19 PMQuote from: (Ha)² on January 02, 2011, 05:41:46 PMQuote from: steve in houston on January 01, 2011, 04:46:37 PMThank 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.
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.
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.
// These _must_ be numbers, no matter what.
$uid = (int) $_POST['uid'];
$message_id = (int) $_POST['m'];
$topic_id = (int) $_POST['topic'];
// If you're a guest or can't do this, blow you off...
is_not_guest();
isAllowedTo('karma_edit');
checkSession('request');
Quote from: fable1 on August 05, 2010, 05:51:13 PMCode SelectUnknown 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.
Quote
Session verification failed.
redirectexit('action=reputation;uid=' . $_GET['uid'] . ';m=' . $_GET['m'] . ';topic=' . $_GET['topic'] . ';sesc=' . $_GET[$context['session_id']]);
http://www.site.net/index.php?action=modifykarma;sa=applaud;uid=14;topic=420.0;m=1016;sesc=78c34543f252985408cab49f93c60230
http://www.site.net/index.php?action=reputation;uid=84;m=1028;topic=534;sesc=
SELECT *
FROM {db_prefix}log_karma
WHERE id_target = {int:target}
OR id_executor = {int:target}
LIMIT {int:start}, {int:amount}
SELECT *
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(!$user_info['is_guest'] && $modSettings['karmaValuePost'] > 0)
with if(!$user_info['is_guest'] && ($modSettings['karmaValuePost'] > 0) && $board_info['posts_count'])
if(!$user_info['is_guest'] && $modSettings['karmaValueThread'] > 0)
withif(!$user_info['is_guest'] && ($modSettings['karmaValueThread'] > 0) && $board_info['posts_count'])
Quote from: zxs on February 25, 2011, 04:00:57 PMI plan to update the ARS with fixes for several of the current issues *soon.*
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.
Quote from: K@ on February 25, 2011, 05:07:59 PMThanks, K@. :)
Attachment removed.
$comment = (strlen($_POST['reputation_comment']) > 300) ? substr($_POST['reputation_comment'], 0, 300) : $_POST['reputation_comment'];
$comment = strip_tags($_POST['reputation_comment']);
$comment = (strlen($comment) > 300) ? substr($comment, 0, 300) : $comment;
Quote from: timned88 on February 25, 2011, 09:31:22 PMAnd here it is. ;)
looking forward to the rc5 version.
Quote from: (Ha)² on February 25, 2011, 09:58:03 PMQuote from: timned88 on February 25, 2011, 09:31:22 PMAnd here it is. ;)
looking forward to the rc5 version.
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.
Quote from: !RFAN on February 26, 2011, 04:17:20 AMNo you cant.
can i use this mod when i have already installed Karma Description Mod ?
Quote from: aoife on February 26, 2011, 05:28:16 AMThat's odd... it installed/uninstalled fine for me.Quote from: (Ha)² on February 25, 2011, 09:58:03 PMQuote from: timned88 on February 25, 2011, 09:31:22 PMAnd here it is. ;)
looking forward to the rc5 version.
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
Quote from: !RFAN on February 26, 2011, 04:17:20 AMAs 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.
can i use this mod when i have already installed Karma Description Mod ?
Quote from: (Ha)² on February 26, 2011, 11:17:31 AM
Do you mind attaching your Admin.english.php file?
$txt ['Karma']='Karma'
$txt ['Karma']='Reputation'
$txt['group_perms_name_karma_edit'] = 'Editiere Karma des Benutzers';
$txt['group_perms_name_karma_edit'] = 'Editiere Beliebtheit des Benutzers';
$txt['best_karma'] = 'Beste Karma';
$txt['worst_karma'] = 'Schlechteste Karma';
QuoteSession verification failed. Please try logging out and back in again, and then try again.
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
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.
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.
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.
Quote from: Spoogs on February 28, 2011, 11:50:49 PMGood point. Done. :)
(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
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.
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
Quote from: Sheree
Session verification failed. Please try logging out and back in again, and then try again.
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
// 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>';
// 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>';
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 :)
UPDATE smf_members
SET karma_good = 1000, karma_bad = 0
Quote from: Dumpy on March 02, 2011, 05:12:38 AMit will set every member's reputation to exactly 1000, completely wiping out any previous info about how many reps they had.Code SelectUPDATE 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.
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 errorQuoteSession 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 installedQuote1. 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. :)
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 :(
Quote from: neteater on March 15, 2011, 07:36:18 AMYou 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! ;)
my forum is studentlife.co.in/forum and i am not using default theme, reputation bar are not shown up lease help
Quote
'Can +reputation other users' and click 'Set Permission'.
'Can -reputation other users'
'Disable display of own reputation'.
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.
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.
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
Quote from: Sheree on March 11, 2011, 12:55:26 AMQuote 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 errorQuoteSession 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 installedQuote1. 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 :'(
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?
$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__);
<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>
Quote from: Sheree on March 30, 2011, 02:43:21 AMQuote from: Sheree on March 11, 2011, 12:55:26 AMQuote 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 errorQuoteSession 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 installedQuote1. 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 :'(
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: 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.
Quote from: wii123 on May 19, 2011, 08:31:35 PMIf I understand what you're asking, go to /index.php?action=admin;area=featuresettings;sa=karma and change the "Karma label" value.
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.
Quote from: (Ha)² on May 19, 2011, 08:49:09 PMLike 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."Quote from: wii123 on May 19, 2011, 08:31:35 PMIf I understand what you're asking, go to /index.php?action=admin;area=featuresettings;sa=karma and change the "Karma label" value.
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.
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 AMQuote from: Sheree on March 11, 2011, 12:55:26 AMQuote 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 errorQuoteSession 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 installedQuote1. 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
Quote from: live627 on May 23, 2011, 04:32:38 PM
(http://www.katzy.dsl.pipex.com/SMF/mods.gif)
Quote from: bambiemurphy on May 25, 2011, 06:56:28 AMManual Installation of Mods (http://docs.simplemachines.org/index.php?topic=402.0)
Any one?
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?
Quote from: kahscrap on May 27, 2011, 11:19:51 PMwhy?
any word on a non curve version? thanks, kah
Quote from: kahscrap on May 27, 2011, 11:19:51 PM
any word on a non curve version? thanks, kah
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?
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.
// 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%"> </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 />';
}
Quote from: Fustrate on June 08, 2011, 02:20:13 PM
Open Profile-View.php, findCode Select$amount = 15;
and change 15 to whatever number.
$power = (int) (($power > 0) ? $power : 0);
$power = 1; // (int) (($power > 0) ? $power : 0);
Quote from: ormuz on June 13, 2011, 03:50:49 PMThere are no security issues with the ARS to my knowledge.
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,
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.
Quote from: (Ha)² on June 13, 2011, 11:35:16 PMQuote from: ormuz on June 13, 2011, 03:50:49 PMThere are no security issues with the ARS to my knowledge.
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,
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?"
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. :)
Quote from: ormuz on June 14, 2011, 04:37:17 PMTo 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?Quote from: (Ha)² on June 13, 2011, 11:35:16 PMQuote from: ormuz on June 13, 2011, 03:50:49 PMThere are no security issues with the ARS to my knowledge.
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,
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?
Quote from: IDunc on June 15, 2011, 03:15:15 PMSure.
Would you be so kind as to posting each image for the repuation?
Quote from: xnerox on June 21, 2011, 03:01:07 PMIf 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?
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
Quote from: cyberspeed on June 22, 2011, 05:09:30 PM?action=profile;area=reputation if I understand you correctly.
Where can i find the panel that says who voted me and whom i voted?
mem.birthdate, mem.icq, mem.aim, mem.yim, mem.msn, mem.posts, mem.last_login, mem.karma_good, mem.karma_disabled,
while ($rowMembers = $smcFunc['db_fetch_assoc']($requestMembers))
updateMemberData($rowMembers['id_member'], array('posts' => 'posts - ' . $rowMembers['posts']));
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']
)
);
}
// 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
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:Code Selectmem.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:Code Selectwhile ($rowMembers = $smcFunc['db_fetch_assoc']($requestMembers))
updateMemberData($rowMembers['id_member'], array('posts' => 'posts - ' . $rowMembers['posts']));
with this:Code Selectwhile ($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:Code Select// 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.
$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']
)
);
m.id_msg_modified < {int:new_from} AS is_read, k.message AS is_repped
Quote from: PLAYBOY on July 05, 2011, 05:00:12 PMIt should work with 2.0 as-is? What error(s) are you getting?
It doesnt install on 2.0
When will it be updated for 2.0?
Quote from: maskena on July 05, 2011, 05:44:24 PMHave 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?
Sir, why my member can't give reputation?
QuoteIt should work with 2.0 as-is? What error(s) are you getting?
id="repicon"
id="repicon',$message['id'],'"
// Construct the page index
$context['page_index'] = constructPageIndex($scripturl . '?action=reputation', $_REQUEST['start'], $num_given, 50);
$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)
{
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) SelectUPDATE smf_members
SET karmaGood = 1000, karmaBad = 0Code (SMF2) SelectUPDATE 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 RC5Important 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.10Important 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.
mem.openid_uri, mem.birthdate, mem.icq, mem.aim, mem.yim, mem.msn, mem.posts, mem.last_login, mem.karma_good,
mem.birthdate, mem.icq, mem.aim, mem.yim, mem.msn, mem.posts, mem.last_login, mem.karma_good, mem.karma_disabled,
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
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
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)
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)Code Select
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)
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?
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
Quote from: valpo04 on November 07, 2011, 11:37:31 PMQuote 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!
Quote from: valpo04 on November 09, 2011, 05:49:03 AMQuote from: valpo04 on November 07, 2011, 11:37:31 PMQuote 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.
Quote from: hobox on February 24, 2010, 02:43:03 AMIt 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.
Can this mod not be expanded to include Reputatuion based membergroups as well? This would be great. If possible for SMF 1.1.*
QuoteI 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?
There is a Mod that replaces post-count-based groups with karma-based groups for 2.0, but not any for 1.1.
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?
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
Quote from: Labradoodle-360 on February 14, 2012, 11:06:19 AMyes. too lucky for me i found the root of the problem.
Yep, glad you figured it out :)
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
Quote from: cyberspeed on June 22, 2011, 06:06:16 PM?action=profile;area=reputation only shows rep ive given, not received1. Same thing, is it supposed to be like this? Is there a permission/setting to turn allow viewing received rep?
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
Quote from: FrizzleFried on June 01, 2012, 10:33:38 AMQuote 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...
:)
Quote from: Walkerneo on June 23, 2012, 07:24:16 PMFigure out where it is trying to pull the images from--- what path?
The images aren't showing up with Dziner Studio's Inferno theme.
I'm on 2.02 emulating 2.0 for the install.
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
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
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...
Quote from: gjtoth on July 12, 2012, 03:29:17 PMQuote 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.
Quote from: FrizzleFried on July 12, 2012, 03:40:30 PMQuote from: gjtoth on July 12, 2012, 03:29:17 PMQuote 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?
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...
Quote from: gjtoth on July 12, 2012, 04:30:47 PMQuote 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.
Quote from: FrizzleFried on July 12, 2012, 06:40:10 PMQuote from: gjtoth on July 12, 2012, 04:30:47 PMQuote 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.
Quote from: FrizzleFried on June 27, 2012, 04:30:01 PMQuote 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...
Quote from: chan372 on September 17, 2012, 08:00:52 AMQuote from: FrizzleFried on June 27, 2012, 04:30:01 PMQuote 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?
Quote from: Labradoodle-360 on September 25, 2012, 07:05:29 PM
Mod authors are not obligated to provide support for other themes, sorry.
Quote from: Labradoodle-360 on September 25, 2012, 11:58:04 PMSo the only theme that the Mod will work with is the original? There's no other way around that?
No...it's a theme that's packaged with the core of SMF, but it's not inside of the responsibility for mod authors.
function reputation_action(&$actionArray) { $actionArray['reputation'] = array('Karma.php', 'SendKarma'); }
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
function reputation_action(&$actionArray) { $actionArray['reputation'] = array('Karma.php', 'SendKarma'); }
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:Code Selectfunction reputation_action(&$actionArray) { $actionArray['reputation'] = array('Karma.php', 'SendKarma'); }
</body></html>function reputation_action(&$actionArray)
{
$actionArray['reputation'] = array('Karma.php', 'SendKarma');
}
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.
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!
$context['page_index'] = constructPageIndex($scripturl . '?action=reputation', $_REQUEST['start'], $num_given, 50);
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:Code Select$context['page_index'] = constructPageIndex($scripturl . '?action=reputation', $_REQUEST['start'], $num_given, 50);
http://*******.forum.hu/index.php?action=reputation;start=502: Division by zeroFájl: /*******.forum.hu/Sources/Subs.php
Line: 716
Quote from: novill on November 16, 2012, 04:10:05 AMQuote 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:Code Select$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.Code Select
http://*******.forum.hu/index.php?action=reputation;start=502: Division by zeroFájl: /*******.forum.hu/Sources/Subs.php
Line: 716
Example pictures attached.
$context['page_index'] = constructPageIndex($scripturl . '?action=profile;area=reputation;u='.$memID, $_REQUEST['start'], $total_actions, $amount);
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}
';*/
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.
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?
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.
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.
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)
Quote from: kungfujoe on December 26, 2013, 06:46:15 PMYes. That can be done through permissions on the board.
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".
Quote from: sdkid on January 08, 2014, 02:44:47 PMQuote from: kungfujoe on December 26, 2013, 06:46:15 PMYes. That can be done through permissions on the board.
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".
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?
?>
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>';
}
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)
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.