Customizing SMF > Modifications and Packages

Thank-O-Matic (Updated for SMF 2.0.4)

<< < (411/435) > >>

ChalkCat:
Ok, I'm going for a different angle.  In order to identify whether the problem is within this mod or to do with my own setup, please can other users confirm that you either do or don't have the same problem as me for my two issues:

1) Thank you received stats resetting themselves to 0.

2) From the "Thank you posts" within a member's profile, clicking on page 2 of Messages (became) redirects to Messages (received), except within an Administrator's profile where it throws up an error.

Thank you  ;)

supersasho:
1) yup it did for me too, i'm very sad about it :( i just wanted to reinstall it for another theme, but ended by 0 all over my forum :( and broken theme

Is there a way to reverse the problem with the counting? I have backed up my database, just to be sure, but didnt expect this kind of problems.

As for the other than default themes, this is the error users get if they pick another theme:
Fatal error: Cannot redeclare template_thank_you_post() in /data/web/virtuals/3360/virtual/www/forum/Themes/new_dark/index.template.php on line 527

EDIT: i searched for solution, but found only this unanswered problems
http://www.simplemachines.org/community/index.php?topic=176565.msg3323844#msg3323844
http://www.simplemachines.org/community/index.php?topic=176565.msg3325099#msg3325099

EDIT2: I dont know if the reseting of the stats was just a one time incident or is repetitive. But I have "For this post, 0 members gave a thank you!" on all the thanked posts.
Any help would be appreciated.

Kindred:
The cannot redeclare message means that you have nstalled the code twice. You will have to manually remove the code that got duplicated...and look brought the rest of your files for other duplicate code which may not be throwing an error, but which was also duplicated.

To install a mod on a new theme, added after you already had the mod installed, you have to manually apply the code changes. Reinstalling the mod will cause the duplicate problem that you already encountered...

supersasho:
Ok thanks, i'll look to it.

As for the other problem "For this post, 0 members gave a thank you!", do you have any idea how to resolve this?

EDIT: So I managed to fix it. I took from the sql backup the "thank_you_post" table and put it in the actual sql. The 20+ items that were allready in the new one, I just changed their id_number to get along with the old one. I'm glad that i allways backup before installing some updates/mods. It saved my a**. :) Still wonder why in earth would someone put drop table when you upgrade this mod??

loplo:
Hey guys,
I have some errors wile installing. I've tried installing the script manually and the only thing I can't solve is that I can't find

--- Code: ---<hr class="post_separator" />';
--- End code ---
in: ./Themes/core/Display.template.php

Any help is appreciated.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version