Advanced Reputation System

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

Previous topic - Next topic

waruna

Hye guys. Somehow I manage to spot an error today. Username or display name that contain ' symbol can't receive any reputation from other members. The page redirect to an error message 'You are not allowed to administrate this forum'.

Anyone can help?
Trust of Lust

droganto

Installing the Mod gives me an error fail in the Display file. Any help will be appreciate it.

Nick Whetstone

Quote from: droganto on May 27, 2010, 12:22:08 PM
Installing the Mod gives me an error fail in the Display file. Any help will be appreciate it.
Attach that file.
The artist formerly known as (Ha)²

Former Support Specialist

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

droganto

Quote from: Ha² on May 27, 2010, 12:25:31 PM
Quote from: droganto on May 27, 2010, 12:22:08 PM
Installing the Mod gives me an error fail in the Display file. Any help will be appreciate it.
Attach that file.

Sorry Im new with the short terms. When you say Attach the file what you mean? Screenshot, downloaded file, the dispplay file?

pointalk

Display who give reputation to this post within the post.

Please add this feather in next version.

Sakuradreams

I'm also getting a 'test failed' for Display.php, which I've included. My pre-install looks like this:

Installing this package will perform the following actions:
Type Action Description
1. Execute Code install.php
2. Execute Modification ./index.php Test successful
3. Execute Modification ./Themes/default/Display.template.php Test successful
4. Execute Modification ./Themes/default/PersonalMessage.template.php Test successful
5. Execute Modification ./Themes/default/Profile.template.php Test successful
6. Execute Modification ./Themes/default/Stats.template.php Test successful
7. Execute Modification ./Themes/default/script.js Test successful
8. Execute Modification ./Themes/default/style.css Test successful
9. Execute Modification ./Sources/Admin.php Test successful
10. Execute Modification ./Sources/Display.php Test failed
11. Execute Modification ./Sources/Karma.php Test successful
12. Execute Modification ./Sources/Load.php Test successful
13. Execute Modification ./Sources/ManagePermissions.php Test successful
14. Execute Modification ./Sources/ManageServer.php Test successful
15. Execute Modification ./Sources/ModSettings.php Test successful
16. Execute Modification ./Sources/Post.php Test successful
17. Execute Modification ./Sources/Profile.php Test successful
18. Execute Modification ./Sources/RemoveTopic.php Test successful
19. Execute Modification ./Sources/Stats.php Test successful
20. Execute Modification ./Sources/Subs-Members.php Test successful
21. Execute Modification ./Themes/default/languages/Errors.english.php Test successful
22. Execute Modification ./Themes/default/languages/Help.english.php Test successful
23. Execute Modification ./Themes/default/languages/index.english.php Test successful
24. Execute Modification ./Themes/default/languages/ManagePermissions.english.php Test successful
25. Execute Modification ./Themes/default/languages/ModSettings.english.php Test successful
26. Execute Modification ./Themes/default/languages/Reports.english.php Test successful
27. Execute Modification ./Themes/default/languages/Stats.english.php Test successful
28. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
29. Execute Modification ./Themes/default/languages/Errors.english-utf8.php Skipping file
30. Execute Modification ./Themes/default/languages/Help.english-utf8.php Skipping file
31. Execute Modification ./Themes/default/languages/index.english-utf8.php Skipping file
32. Execute Modification ./Themes/default/languages/ManagePermissions.english-utf8.php Skipping file
33. Execute Modification ./Themes/default/languages/ModSettings.english-utf8.php Skipping file
34. Execute Modification ./Themes/default/languages/Reports.english-utf8.php Skipping file
35. Execute Modification ./Themes/default/languages/Stats.english-utf8.php Skipping file
36. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php Skipping file
37. Execute Modification ./Themes/default/languages/Errors.russian.php Skipping file
38. Execute Modification ./Themes/default/languages/Help.russian.php Skipping file
39. Execute Modification ./Themes/default/languages/index.russian.php Skipping file
40. Execute Modification ./Themes/default/languages/ManagePermissions.russian.php Skipping file
41. Execute Modification ./Themes/default/languages/ModSettings.russian.php Skipping file
42. Execute Modification ./Themes/default/languages/Reports.russian.php Skipping file
43. Execute Modification ./Themes/default/languages/Stats.russian.php Skipping file
44. Execute Modification ./Themes/default/languages/Modifications.russian.php Skipping file
45. Execute Modification ./Themes/default/languages/Errors.russian-utf8.php Skipping file
46. Execute Modification ./Themes/default/languages/Help.russian-utf8.php Skipping file
47. Execute Modification ./Themes/default/languages/index.russian-utf8.php Skipping file
48. Execute Modification ./Themes/default/languages/ManagePermissions.russian-utf8.php Skipping file
49. Execute Modification ./Themes/default/languages/ModSettings.russian-utf8.php Skipping file
50. Execute Modification ./Themes/default/languages/Reports.russian-utf8.php Skipping file
51. Execute Modification ./Themes/default/languages/Stats.russian-utf8.php Skipping file
52. Execute Modification ./Themes/default/languages/Modifications.russian-utf8.php Skipping file
53. Execute Modification ./Themes/default/languages/Errors.spanish_latin.php File not found
54. Execute Modification ./Themes/default/languages/Help.spanish_latin.php File not found
55. Execute Modification ./Themes/default/languages/index.spanish_latin.php File not found
56. Execute Modification ./Themes/default/languages/ManagePermissions.spanish_latin.php File not found
57. Execute Modification ./Themes/default/languages/ModSettings.spanish_latin.php File not found
58. Execute Modification ./Themes/default/languages/Reports.spanish_latin.php File not found
59. Execute Modification ./Themes/default/languages/Stats.spanish_latin.php File not found
60. Execute Modification ./Themes/default/languages/Modifications.spanish_latin.php File not found
61. Execute Modification ./Themes/default/languages/Errors.spanish_latin.php File not found
62. Execute Modification ./Themes/default/languages/Help.spanish_latin.php File not found
63. Execute Modification ./Themes/default/languages/index.spanish_latin.php File not found
64. Execute Modification ./Themes/default/languages/ManagePermissions.spanish_latin.php File not found
65. Execute Modification ./Themes/default/languages/ModSettings.spanish_latin.php File not found
66. Execute Modification ./Themes/default/languages/Reports.spanish_latin.php File not found
67. Execute Modification ./Themes/default/languages/Stats.spanish_latin.php File not found
68. Execute Modification ./Themes/default/languages/Modifications.spanish_latin.php File not found
69. Extract File ./Themes/default/Karma.template.php
70. Extract File ./Themes/default/images/karma.gif
71. Extract File ./Themes/default/images/karmaBad_basic.gif
72. Extract File ./Themes/default/images/karmaGood_basic.gif
73. Extract File ./Themes/default/images/karmaBad_super.gif
74. Extract File ./Themes/default/images/karmaGood_super.gif
75. Extract File ./Themes/default/images/karma_disabled_basic.gif


I'm running on 1.1.11.

Any help appreciated.

droganto

Well Im runnign 2 rc3, but yes Im getting the same error.

Nick Whetstone

Quote from: Sakuradreams on May 27, 2010, 09:31:30 PM
I'm also getting a 'test failed' for Display.php, which I've included. My pre-install looks like this:

Installing this package will perform the following actions:
Type Action Description
1. Execute Code install.php
2. Execute Modification ./index.php Test successful
3. Execute Modification ./Themes/default/Display.template.php Test successful
4. Execute Modification ./Themes/default/PersonalMessage.template.php Test successful
5. Execute Modification ./Themes/default/Profile.template.php Test successful
6. Execute Modification ./Themes/default/Stats.template.php Test successful
7. Execute Modification ./Themes/default/script.js Test successful
8. Execute Modification ./Themes/default/style.css Test successful
9. Execute Modification ./Sources/Admin.php Test successful
10. Execute Modification ./Sources/Display.php Test failed
11. Execute Modification ./Sources/Karma.php Test successful
12. Execute Modification ./Sources/Load.php Test successful
13. Execute Modification ./Sources/ManagePermissions.php Test successful
14. Execute Modification ./Sources/ManageServer.php Test successful
15. Execute Modification ./Sources/ModSettings.php Test successful
16. Execute Modification ./Sources/Post.php Test successful
17. Execute Modification ./Sources/Profile.php Test successful
18. Execute Modification ./Sources/RemoveTopic.php Test successful
19. Execute Modification ./Sources/Stats.php Test successful
20. Execute Modification ./Sources/Subs-Members.php Test successful
21. Execute Modification ./Themes/default/languages/Errors.english.php Test successful
22. Execute Modification ./Themes/default/languages/Help.english.php Test successful
23. Execute Modification ./Themes/default/languages/index.english.php Test successful
24. Execute Modification ./Themes/default/languages/ManagePermissions.english.php Test successful
25. Execute Modification ./Themes/default/languages/ModSettings.english.php Test successful
26. Execute Modification ./Themes/default/languages/Reports.english.php Test successful
27. Execute Modification ./Themes/default/languages/Stats.english.php Test successful
28. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
29. Execute Modification ./Themes/default/languages/Errors.english-utf8.php Skipping file
30. Execute Modification ./Themes/default/languages/Help.english-utf8.php Skipping file
31. Execute Modification ./Themes/default/languages/index.english-utf8.php Skipping file
32. Execute Modification ./Themes/default/languages/ManagePermissions.english-utf8.php Skipping file
33. Execute Modification ./Themes/default/languages/ModSettings.english-utf8.php Skipping file
34. Execute Modification ./Themes/default/languages/Reports.english-utf8.php Skipping file
35. Execute Modification ./Themes/default/languages/Stats.english-utf8.php Skipping file
36. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php Skipping file
37. Execute Modification ./Themes/default/languages/Errors.russian.php Skipping file
38. Execute Modification ./Themes/default/languages/Help.russian.php Skipping file
39. Execute Modification ./Themes/default/languages/index.russian.php Skipping file
40. Execute Modification ./Themes/default/languages/ManagePermissions.russian.php Skipping file
41. Execute Modification ./Themes/default/languages/ModSettings.russian.php Skipping file
42. Execute Modification ./Themes/default/languages/Reports.russian.php Skipping file
43. Execute Modification ./Themes/default/languages/Stats.russian.php Skipping file
44. Execute Modification ./Themes/default/languages/Modifications.russian.php Skipping file
45. Execute Modification ./Themes/default/languages/Errors.russian-utf8.php Skipping file
46. Execute Modification ./Themes/default/languages/Help.russian-utf8.php Skipping file
47. Execute Modification ./Themes/default/languages/index.russian-utf8.php Skipping file
48. Execute Modification ./Themes/default/languages/ManagePermissions.russian-utf8.php Skipping file
49. Execute Modification ./Themes/default/languages/ModSettings.russian-utf8.php Skipping file
50. Execute Modification ./Themes/default/languages/Reports.russian-utf8.php Skipping file
51. Execute Modification ./Themes/default/languages/Stats.russian-utf8.php Skipping file
52. Execute Modification ./Themes/default/languages/Modifications.russian-utf8.php Skipping file
53. Execute Modification ./Themes/default/languages/Errors.spanish_latin.php File not found
54. Execute Modification ./Themes/default/languages/Help.spanish_latin.php File not found
55. Execute Modification ./Themes/default/languages/index.spanish_latin.php File not found
56. Execute Modification ./Themes/default/languages/ManagePermissions.spanish_latin.php File not found
57. Execute Modification ./Themes/default/languages/ModSettings.spanish_latin.php File not found
58. Execute Modification ./Themes/default/languages/Reports.spanish_latin.php File not found
59. Execute Modification ./Themes/default/languages/Stats.spanish_latin.php File not found
60. Execute Modification ./Themes/default/languages/Modifications.spanish_latin.php File not found
61. Execute Modification ./Themes/default/languages/Errors.spanish_latin.php File not found
62. Execute Modification ./Themes/default/languages/Help.spanish_latin.php File not found
63. Execute Modification ./Themes/default/languages/index.spanish_latin.php File not found
64. Execute Modification ./Themes/default/languages/ManagePermissions.spanish_latin.php File not found
65. Execute Modification ./Themes/default/languages/ModSettings.spanish_latin.php File not found
66. Execute Modification ./Themes/default/languages/Reports.spanish_latin.php File not found
67. Execute Modification ./Themes/default/languages/Stats.spanish_latin.php File not found
68. Execute Modification ./Themes/default/languages/Modifications.spanish_latin.php File not found
69. Extract File ./Themes/default/Karma.template.php
70. Extract File ./Themes/default/images/karma.gif
71. Extract File ./Themes/default/images/karmaBad_basic.gif
72. Extract File ./Themes/default/images/karmaGood_basic.gif
73. Extract File ./Themes/default/images/karmaBad_super.gif
74. Extract File ./Themes/default/images/karmaGood_super.gif
75. Extract File ./Themes/default/images/karma_disabled_basic.gif


I'm running on 1.1.11.

Any help appreciated.

Code (Find this) Select
SELECT
ID_MSG, icon, subject, posterTime, posterIP, ID_MEMBER, modifiedTime, modifiedName, body,
smileysEnabled, posterName, posterEmail,
".($board_info['thank_you_post_enable'] && allowedTo('thank_you_post_show') ? "thank_you_post, thank_you_post_counter," : "")."
ID_MSG_MODIFIED < $topicinfo[new_from] AS isRead
FROM {$db_prefix}messages
WHERE ID_MSG IN (" . implode(',', $messages) . ")
ORDER BY ID_MSG" . (empty($options['view_newest_first']) ? '' : ' DESC'), __FILE__, __LINE__);
Code (Replace it with this) Select
SELECT
ID_MSG, icon, subject, posterTime, posterIP, ID_MEMBER, modifiedTime, modifiedName, body,
smileysEnabled, posterName, posterEmail,
m.ID_MSG_MODIFIED < $topicinfo[new_from] AS isRead, k.message AS is_repped
".($board_info['thank_you_post_enable'] && allowedTo('thank_you_post_show') ? "thank_you_post, thank_you_post_counter," : "")."
ID_MSG_MODIFIED < $topicinfo[new_from] AS isRead
FROM {$db_prefix}messages
LEFT JOIN {$db_prefix}log_karma AS k ON (k.message = m.ID_MSG AND k.ID_EXECUTOR = {$ID_MEMBER})
WHERE ID_MSG IN (" . implode(',', $messages) . ")
ORDER BY ID_MSG" . (empty($options['view_newest_first']) ? '' : ' DESC'), __FILE__, __LINE__);


Try that.

droganto: I mean the /Sources/Display.php file.
The artist formerly known as (Ha)²

Former Support Specialist

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

droganto

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

Nick Whetstone

Quote from: droganto on May 27, 2010, 11:25:54 PM
OK I will post that now. Thanks!

Im Sorry Mine is failing in Display Template.

3.   Execute Modification   ./Themes/default/Display.template.php   Test failed
      1.   Replace   ./Themes/default/Display.template.php   Test failed
      2.   Add After   ./Themes/default/Display.template.php   Test successful
      3.   Replace   ./Themes/default/Display.template.php   Test successful
      4.   Add Before   ./Themes/default/Display.template.php   Test successful


Yea is failing in the Display Template on all the themes
Code (Find) Select
global $context, $settings, $options, $txt, $scripturl, $sourcedir, $modSettings;
Code (Replace with) Select
global $context, $settings, $options, $txt, $scripturl, $sourcedir, $modSettings, $user_info;





As a quick note: I'll be out of state for the next couple of days, so won't be able to do anything related to teh intrawebz.
The artist formerly known as (Ha)²

Former Support Specialist

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

droganto

But should I install it with the error and then change that code or how do I do it. Dont leave until You help me PLllllleeeeeaaaassseee!

Nick Whetstone

Quote from: droganto on May 28, 2010, 12:58:52 AM
But should I install it with the error and then change that code or how do I do it.
Yes.
The artist formerly known as (Ha)²

Former Support Specialist

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

droganto

Quote from: Ha² on May 28, 2010, 01:03:18 AM
Quote from: droganto on May 28, 2010, 12:58:52 AM
But should I install it with the error and then change that code or how do I do it.
Yes.

Thank you Dark Lord. For the help I will give it a try.

Babalui

#2013
If I may bother with a few small problems of mine:
1. Java pop-up window does not pop-up, but its content appears inside of existing window, on top of the thread. - SOLVED
2. can I assign initial rep to existing members? - SOLVED
3. it seems that I have not un-installed Karma mod properly (although smf messages confirmed so), and now on stats page I have Best Reputation / Worst Reputation with karma from Karma mod and rep power from this mod (zero) - SOLVED - cahnged manually, not important any more

SMF 1.1.11

Thanks in advance!

adbrad

which karma mod ddid you unistall, you do not need to uninstall the smf default karma
i think if you run givereputation.php then you can add points to all exsting members.
are you custom theme as yo will need to mak some manual edits as your using 1.1.11

Babalui

#2015
Pff, honestly, I've tried so many that I do not remember which one is it, and I've managed to crash the forum several time while testing (and especially when removing), that I do not dare to poke around too much.

I have a custom theme for 1.1.11.
I cannot find the file "givereputation.php". Is that an option to have?
OK, I've found it on mod page :)

How can I make a popo-up appear. I use SilentWave theme. - SOLVED, see below

Babalui

AEH,
I can't beleve it - I've figured it out :)
You have to manually edit $themedir/style.css:

Add the following to the end of the file. If there is a ?> on the last line, add this on the line before it.

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

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


Babalui

Eh, questions about green bars for visualization of rep power:
1) they are shown in 2 rangs, light and dark green, how they change?
2) if 1 dark green represents like 10 light green, any way to add a third level? I would like to have bronze, silver and gold rep icons.

Thanks in advance!

adbrad

no idea how they work but you can change the images

Sakuradreams

Quote from: Ha² on May 27, 2010, 11:00:37 PM
Quote from: Sakuradreams on May 27, 2010, 09:31:30 PM
I'm also getting a 'test failed' for Display.php, which I've included. My pre-install looks like this:

Installing this package will perform the following actions:
Type Action Description
1. Execute Code install.php
2. Execute Modification ./index.php Test successful
3. Execute Modification ./Themes/default/Display.template.php Test successful
4. Execute Modification ./Themes/default/PersonalMessage.template.php Test successful
5. Execute Modification ./Themes/default/Profile.template.php Test successful
6. Execute Modification ./Themes/default/Stats.template.php Test successful
7. Execute Modification ./Themes/default/script.js Test successful
8. Execute Modification ./Themes/default/style.css Test successful
9. Execute Modification ./Sources/Admin.php Test successful
10. Execute Modification ./Sources/Display.php Test failed
11. Execute Modification ./Sources/Karma.php Test successful
12. Execute Modification ./Sources/Load.php Test successful
13. Execute Modification ./Sources/ManagePermissions.php Test successful
14. Execute Modification ./Sources/ManageServer.php Test successful
15. Execute Modification ./Sources/ModSettings.php Test successful
16. Execute Modification ./Sources/Post.php Test successful
17. Execute Modification ./Sources/Profile.php Test successful
18. Execute Modification ./Sources/RemoveTopic.php Test successful
19. Execute Modification ./Sources/Stats.php Test successful
20. Execute Modification ./Sources/Subs-Members.php Test successful
21. Execute Modification ./Themes/default/languages/Errors.english.php Test successful
22. Execute Modification ./Themes/default/languages/Help.english.php Test successful
23. Execute Modification ./Themes/default/languages/index.english.php Test successful
24. Execute Modification ./Themes/default/languages/ManagePermissions.english.php Test successful
25. Execute Modification ./Themes/default/languages/ModSettings.english.php Test successful
26. Execute Modification ./Themes/default/languages/Reports.english.php Test successful
27. Execute Modification ./Themes/default/languages/Stats.english.php Test successful
28. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
29. Execute Modification ./Themes/default/languages/Errors.english-utf8.php Skipping file
30. Execute Modification ./Themes/default/languages/Help.english-utf8.php Skipping file
31. Execute Modification ./Themes/default/languages/index.english-utf8.php Skipping file
32. Execute Modification ./Themes/default/languages/ManagePermissions.english-utf8.php Skipping file
33. Execute Modification ./Themes/default/languages/ModSettings.english-utf8.php Skipping file
34. Execute Modification ./Themes/default/languages/Reports.english-utf8.php Skipping file
35. Execute Modification ./Themes/default/languages/Stats.english-utf8.php Skipping file
36. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php Skipping file
37. Execute Modification ./Themes/default/languages/Errors.russian.php Skipping file
38. Execute Modification ./Themes/default/languages/Help.russian.php Skipping file
39. Execute Modification ./Themes/default/languages/index.russian.php Skipping file
40. Execute Modification ./Themes/default/languages/ManagePermissions.russian.php Skipping file
41. Execute Modification ./Themes/default/languages/ModSettings.russian.php Skipping file
42. Execute Modification ./Themes/default/languages/Reports.russian.php Skipping file
43. Execute Modification ./Themes/default/languages/Stats.russian.php Skipping file
44. Execute Modification ./Themes/default/languages/Modifications.russian.php Skipping file
45. Execute Modification ./Themes/default/languages/Errors.russian-utf8.php Skipping file
46. Execute Modification ./Themes/default/languages/Help.russian-utf8.php Skipping file
47. Execute Modification ./Themes/default/languages/index.russian-utf8.php Skipping file
48. Execute Modification ./Themes/default/languages/ManagePermissions.russian-utf8.php Skipping file
49. Execute Modification ./Themes/default/languages/ModSettings.russian-utf8.php Skipping file
50. Execute Modification ./Themes/default/languages/Reports.russian-utf8.php Skipping file
51. Execute Modification ./Themes/default/languages/Stats.russian-utf8.php Skipping file
52. Execute Modification ./Themes/default/languages/Modifications.russian-utf8.php Skipping file
53. Execute Modification ./Themes/default/languages/Errors.spanish_latin.php File not found
54. Execute Modification ./Themes/default/languages/Help.spanish_latin.php File not found
55. Execute Modification ./Themes/default/languages/index.spanish_latin.php File not found
56. Execute Modification ./Themes/default/languages/ManagePermissions.spanish_latin.php File not found
57. Execute Modification ./Themes/default/languages/ModSettings.spanish_latin.php File not found
58. Execute Modification ./Themes/default/languages/Reports.spanish_latin.php File not found
59. Execute Modification ./Themes/default/languages/Stats.spanish_latin.php File not found
60. Execute Modification ./Themes/default/languages/Modifications.spanish_latin.php File not found
61. Execute Modification ./Themes/default/languages/Errors.spanish_latin.php File not found
62. Execute Modification ./Themes/default/languages/Help.spanish_latin.php File not found
63. Execute Modification ./Themes/default/languages/index.spanish_latin.php File not found
64. Execute Modification ./Themes/default/languages/ManagePermissions.spanish_latin.php File not found
65. Execute Modification ./Themes/default/languages/ModSettings.spanish_latin.php File not found
66. Execute Modification ./Themes/default/languages/Reports.spanish_latin.php File not found
67. Execute Modification ./Themes/default/languages/Stats.spanish_latin.php File not found
68. Execute Modification ./Themes/default/languages/Modifications.spanish_latin.php File not found
69. Extract File ./Themes/default/Karma.template.php
70. Extract File ./Themes/default/images/karma.gif
71. Extract File ./Themes/default/images/karmaBad_basic.gif
72. Extract File ./Themes/default/images/karmaGood_basic.gif
73. Extract File ./Themes/default/images/karmaBad_super.gif
74. Extract File ./Themes/default/images/karmaGood_super.gif
75. Extract File ./Themes/default/images/karma_disabled_basic.gif


I'm running on 1.1.11.

Any help appreciated.

Code (Find this) Select
SELECT
ID_MSG, icon, subject, posterTime, posterIP, ID_MEMBER, modifiedTime, modifiedName, body,
smileysEnabled, posterName, posterEmail,
".($board_info['thank_you_post_enable'] && allowedTo('thank_you_post_show') ? "thank_you_post, thank_you_post_counter," : "")."
ID_MSG_MODIFIED < $topicinfo[new_from] AS isRead
FROM {$db_prefix}messages
WHERE ID_MSG IN (" . implode(',', $messages) . ")
ORDER BY ID_MSG" . (empty($options['view_newest_first']) ? '' : ' DESC'), __FILE__, __LINE__);
Code (Replace it with this) Select
SELECT
ID_MSG, icon, subject, posterTime, posterIP, ID_MEMBER, modifiedTime, modifiedName, body,
smileysEnabled, posterName, posterEmail,
m.ID_MSG_MODIFIED < $topicinfo[new_from] AS isRead, k.message AS is_repped
".($board_info['thank_you_post_enable'] && allowedTo('thank_you_post_show') ? "thank_you_post, thank_you_post_counter," : "")."
ID_MSG_MODIFIED < $topicinfo[new_from] AS isRead
FROM {$db_prefix}messages
LEFT JOIN {$db_prefix}log_karma AS k ON (k.message = m.ID_MSG AND k.ID_EXECUTOR = {$ID_MEMBER})
WHERE ID_MSG IN (" . implode(',', $messages) . ")
ORDER BY ID_MSG" . (empty($options['view_newest_first']) ? '' : ' DESC'), __FILE__, __LINE__);


Try that.

droganto: I mean the /Sources/Display.php file.


Well, maybe it will be ok without replacing? I get this error when I follow your direction:

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'thank_you_post, thank_you_post_counter,
ID_MSG_MODIFIED < 43 AS isRe' at line 5
File: /xxx/xxx/public_html/forum/Sources/Display.php
Line: 805

Any help appreciated.

Advertisement: