Link to the mod (https://custom.simplemachines.org/index.php?mod=710)
Thank-o-Matic 2.0 by
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.smfpersonal.net%2FAdkmods%2Flogo.png&hash=b7e60a41a3ada5e2ace731e912eef5f3dd40e770) (http://http//:www.smfpersonal.net/)
Thank_2.0.zip -> SMF 2.0.*
ThankOMatic125_v2 -> SMF 1.1.15(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.allmxcars.com%2Fenik%2Fadk-team.png&hash=a2deb8f7c81a541c274b6a296da8cc3033840380) (http://www.smfpersonal.net/)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.smfpersonal.net%2Ffamfamfam%2Fuser.png&hash=997d251819d42b9aa15fd08d1b64be6544cd071a)
Autores/Authors: enik (http://www.smfpersonal.net/profiles/enik-u417.html)
^HeRaCLeS^ (http://www.smfpersonal.net/profiles/heracles-u259.html)
lucas-ruroken (http://www.smfpersonal.net/profiles/lucasruroken-u1.html)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.smfpersonal.net%2Ffamfamfam%2Fpage_white_flash.png&hash=ed86fd5e13fc727a61ef6b0bdbb304d2f610017e)
Características:Con este mod tendras todo un sistema completo de agradecimientos.
Las opciones de este mod se encuentran en:
Admin -> Configuraciones -> Thank-o-MaticCopyright 2011 por Adk Team @ visita www.smfpersonal.net/ (http://www.smfpersonal.net/) para soporte oficial.
Si tu quieres ayudarnos,por favor visita nuestra seccion de contribuciones:
http://www.smfpersonal.net/about.html;sa=contritube-spanish (http://www.smfpersonal.net/about.html;sa=contritube-spanish)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.smfpersonal.net%2Ffamfamfam%2Fpage_white_flash.png&hash=ed86fd5e13fc727a61ef6b0bdbb304d2f610017e)
Features:With this mod you will have a complete system of thanks.
The options of this mod are in:
Admin -> Configuration -> Thank-o-MaticCopyright 2011 by Adk Team @ visit www.smfpersonal.net/ (http://www.smfpersonal.net/) for official support.
If you want help, please visit our contributions section:
http://www.smfpersonal.net/about.html;sa=contribute (http://www.smfpersonal.net/about.html;sa=contribute)
Nueva versión: ° Imagenes nuevas y pasadas a la extencion .png
° 100% de compatibilidad con el Hide Tag Special de Adk Team
° Insetados los lenguajes Spanish es and Latin.
New version: ° Images refurbished and passed on to extension .png
° 100% compatibility with the Mod Hide Tag Special of Adk Team.
° Added language Spanish es and Latin.
Importante esta version no soporta upgrades.
Ya que es completamente nueva.
Note this version does not support upgrades.
It is completely new.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.smfpersonal.net%2FThemes%2Fdefault%2Fimages%2Fpost%2Ftopicsolved.gif&hash=0a84317c3660ec2368b578377e809aed837f467b)
Compatibilidad/Compatibility: SMF 2.0.1 !!!
SMF 2.0.2 !!!
SMF 2.0.3 !!!
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.smfpersonal.net%2FThemes%2Fdefault%2Fimages%2Fpost%2Ftopicsolved.gif&hash=0a84317c3660ec2368b578377e809aed837f467b)
Desarrollador/Developer: Adk-Team (http://www.smfpersonal.net)
Feature Request: in the Profile I am missing a link list to the Postings I gave or received a Thank you. That would be quite handy. Also maybe a Top Ranking of users with the most received Thank You.
Thanks
Stonki
SSI.php have the Top Ranking for Thank You's.
Hmmmm okay i think about the second thing, hmmm possible that i use the "Show Posts" for it. I think about it.
Bye
DIN1031
Hey dude, nice mod. Installed and working on 1.1.2.
One question: How do I add ssi_thankYouPostTopResived(); function in Members list page?
sorry , I cant install the MOD !
ERROR :
This package cannot be installed, because there is no installer!
so what can I do? I should install the mod manually?
regards.
Download it again, upload it again and try it again... the installer work 100% ;P
Bye
DIN1031
I use ThankOMatic101.zip
but nothing to install !!! I really confused...
I translate the MOD to persian but I cant install .
I asked my friends but they have the same problem! but here nobody have the same problem!!!
Okay i will try it again... give me five minutes :)
Hmmm work... what now? I can try it after my work at a lokal server and some other servers... but i'm sure it's the same :x... i will look over the package file if there some mistakes in it but i'm sure it should not... because if that so than there must be much much much much much much more mistakes xD.
Can you give me the file you use?
Hmm did you talk about the mod itself or only of the Language Pack?
Bye
DIN1031
thanks for answers....
I use the MOD file in this link :
http://custom.simplemachines.org/mods/index.php?mod=710
maybe the perisan SMF has some problems ! let me test it in the basic english SMF and then I will tell you the results.
regards.
Okay.
Bye
DIN1031
Here are the German Files ,the other Files Up are incomplete !
http://www.partyunited.de/index.php/board,23.0.html
Greetz Sven
Where is the translation incomplete.... i'm sure that i've translated all things into german :x
Bye
DIN1031
HI
I whant to install this mod in the costum theme but I have a big problem.
I cant create th Display.template.php file
it works but it doesnt show any button . I copy them but nothing to show !
where shuld I add to my theme manually?
Regards.
Can somebody help me, I need to install this on SoftMC_Blue for Tiny Portal 0.9.8!
Quote from: amirali.b on June 30, 2007, 07:07:03 AM
HI
I whant to install this mod in the costum theme but I have a big problem.
I cant create th Display.template.php file
it works but it doesnt show any button . I copy them but nothing to show !
where shuld I add to my theme manually?
Regards.
Did you copy the images in the the theme folder?
Bye
DIN1031
yes !
I think in Display.template.php I have a problem. maybe some incorrect code in my theme....
can I attach this file here and you test the codes?
(I translate this wonderful MOD to persian. I will publish that if some one need .)
please can you add an spanish translation?
OK I do this ! :D
I install this useful mod but only one problem
thankyou button is not in the correct place ! (attached pic)
what can I do?
I have an either problem:
I've instaled it without problems but in the Admin Panel is not Thank-O-Matic Option..no where
Edit: And I can't install the german translation Oo the Paket Manager Says there is no package info and the parser says tah info is corrupt
Quote from: IrealiTY on July 01, 2007, 03:46:07 PM
I have an either problem:
I've instaled it without problems but in the Admin Panel is not Thank-O-Matic Option..no where
Edit: And I can't install the german translation Oo the Paket Manager Says there is no package info and the parser says tah info is corrupt
Hmm normal you should dl it new and try it again ;) (I removed the Version Check for the Langauge Packs...).
Bye
DIN1031
any solution for the Thankyou button? :(
where can I change the button plase?
Hmm~ I tried to uninstall it but I get "Test failed" on some files
Quote from: amirali.b on July 02, 2007, 04:08:41 AM
any solution for the Thankyou button? :(
where can I change the button plase?
Sorry i don't know why this happen :x. It depend how the buttons are build in you theme you must look how the others are made i think something is diffrent to the default way.
@IrealiTY
Many Possibles why this happen, in the most time it's because you installed other mods.
Bye
DIN1031
ok i did it ^^'' (evrything chmoded x_X)
but Din...u attached the greek language twice and no german now^^''
Ups, sorry ;).
Bye
DIN1031
This Mod doesn't work on SoftMC_Blue, please help me.
you should install manually in the costum theme
Please to teton ¿?(I don't have the japanese characters sorry) I need your help, your mod need that I modify the file atributtes of some files (my packages) but my host don't allow me to do that, please I need to install it, help me to resolve this problem :(
Hello, I can't find the feature to enable Thank You only on the first post intead of every post on the topic.
No way, this is a mod for post thank to post not to a thread ;).
For this the Thank You Mod (http://custom.simplemachines.org/mods/index.php?mod=257) exist.
bye
DIN1031
Hi
I have installed Thank-O-Matic without errors.
I have set the permissions for the membergroups and the boards to allow Thank-O-Matic
As administrator I see Lock Thank You Threads
I do not see the thank you buttons nor do my regular members.
I also appear not to have the admin panel for this either
I am using the default theme and have copied the image files to the default theme folder still no thank you buttons visible. Any ideas ? I'm a newbie to simplemachines forum.
Your help would be most appreciated.
tried to nstall it to smf 1.1.3/tp 0.9.8 and i got a "test failed" in Sources/Subs-Boards.php ! any ideas what went wrong ?
thnx a lot !
Quote from: scotweather on July 13, 2007, 10:36:52 AM
Hi
I have installed Thank-O-Matic without errors.
I have set the permissions for the membergroups and the boards to allow Thank-O-Matic
As administrator I see Lock Thank You Threads
I do not see the thank you buttons nor do my regular members.
I also appear not to have the admin panel for this either
I am using the default theme and have copied the image files to the default theme folder still no thank you buttons visible. Any ideas ? I'm a newbie to simplemachines forum.
Your help would be most appreciated.
If you can enable it in the boards, than you should normal see the in Freature and Settings the Thank-O-Matic Options :x.
Did you use a costum theme? If yes you need to made the change in the templates for this, too.
Quote from: MinasC on July 13, 2007, 11:39:33 AM
tried to nstall it to smf 1.1.3/tp 0.9.8 and i got a "test failed" in Sources/Subs-Boards.php ! any ideas what went wrong ?
thnx a lot !
No
Bye
DIN1031
Thank You. This has worked.... sorry such a newbie at this !
Thank you for such a prompt response.
Thx great mod but is there any way to increase karma when adding thank you to post?
Quote from: Badboy on July 25, 2007, 11:17:44 AM
Thx great mod but is there any way to increase karma when adding thank you to post?
Uff i don't know how the karma system work in smf, i think it's possible to do this i will look how difficult it is.
Bye
DIN1031
Quote from: ディン1031 on July 25, 2007, 11:55:03 AM
Quote from: Badboy on July 25, 2007, 11:17:44 AM
Thx great mod but is there any way to increase karma when adding thank you to post?
Uff i don't know how the karma system work in smf, i think it's possible to do this i will look how difficult it is.
Bye
DIN1031
Thx I am waiting your good news ;)
New Version Out:
Version 1.1.0 (26.07.07)
+ Show Thank You Posts in Profile
- Don't forget to change the Profile.template.php in custom themes.
! Some Small fixes in the ThankYouPost.php (needed for the Karma Add On)
- Upgrade Included
Quote from: Badboy on July 26, 2007, 02:51:32 AM
Thx I am waiting your good news ;)
Add OnsAdd Ons are Attached to this Post (http://www.simplemachines.org/community/index.php?topic=176565.0)
Name: Thank-O-Matic Addon: Karma
File: ThankOMaticAddOnKarmaXXX.zip
Description: This Addon increase the Karma for the Post User on Thank You.
For Thank-O-Matic Version: 1.1.0+
Version 1.0.0 (26.07.07)!*+- First Release
@Badboy you must first upgrade to 1.1.0 that the AddOn work correct.
Bye
DIN1031
Thx. Works great. ;)
Great mod, many thanks!
There is need a fix in "showThankYouPosts" function (profile.php)
The line below
$context['page_index'] = constructPageIndex($scripturl . '?action=profile;u=' . $memID . ';sa=showPosts', $context['start'], $msgCount, $maxIndex);
Thx.
Oh *drop* i overseen it :).
I will release a fix for it :).
Hope you did not change it already ;D.
Bye
DIN1031
Version 1.1.1 (03.08.07)
! Fix the wrong built page construct in the show thank you post function (Thx to Badoy)
- Upgrade Included
Please don't do the replace from Badboy's post it is possible that you replace the wrong things (and also later it is possible that you can't upgrade anymore the mod ;D).
Bye
DIN1031
I must have messed it up somehow - there are no thank you buttons showing up in my topics although I'm using the default theme, and tried hard to get everything right... the admin part seems to work though, the profile information also shows thankyou references... grateful for your help...
Edit: Log on to my SMF (http://www.heilmile.de) with username: test and password: testedies
Edit2: changed password for test logon
You must set the permissions and also enable it in the board you like to have this =).
Bye
DIN1031
Thx. ;)
This mod uses "Default" as theme. Is there any changes for "classic" theme?
Ty.
Quote from: elwizard on August 04, 2007, 11:56:35 AM
This mod uses "Default" as theme. Is there any changes for "classic" theme?
Ty.
uff i don't know...
Look here there are all theme changes of the current version -> http://jmusic.ddo.jp/DIN1031/modparser/index.php?action=installMod&smfVersion=1.1.3&name=ThankOMatic111&theme
Bye
DIN1031
Hey ディン1031 - you really rock. Thanks ever so much, it works like a charm!
Ufff. Thanks ディン1031, but I don't believe SMF File Changes you linked works in "classic" Theme. They're the same instructions as in download package. I checked and doesn't work. For i.e.:
When you search :
unset($normal_buttons['custom']);
on first search, doesn't appear. I'm coding one for "classic" theme, taken from "default" theme and it is at this time working at 45%. I hope to be it ready soon.
Thanks anyway. If you read something more ...
Guys I have a weird problem, it seems the admin is the only one who has privilages to see the Thank You buttons, how can I fix this?
admin >> permissions >> membergroup >> enable the groups to view it.
thanks shadow.
I have another issue:
The feature called On Thank You unhide all, hidden contents!
doesn't work at all, and thats the option that I need because I work with merged topics with hidden content.
Can anybody help me?
Quote from: lonrot on August 05, 2007, 01:58:56 PM
thanks shadow.
I have another issue:
The feature called On Thank You unhide all, hidden contents!
doesn't work at all, and thats the option that I need because I work with merged topics with hidden content.
Can anybody help me?
What mod did you use to hide content?
Bye
DIN1031
Oh yes, I used HideTagSpecial161Fix
Quote from: lonrot on August 06, 2007, 10:45:29 AM
Oh yes, I used HideTagSpecial161Fix
Hmmm it work i tested it.
All ways that possible. If you enable that option the hidden content of the complete thread will be shown. But i think i found a other bug, possible that could make this.
Can you give me a screenshot of your options in the thank-o-matic?
Bye
DIN1031
Sure:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg239.imageshack.us%2Fimg239%2F3316%2Fthankomaticbc2.png&hash=bb58862ef9b4d6e56e5386beca821948303d37bf)
I'm currently using the first option because the second one doesn't work for me, as I previously stated.
@lonrot
Okay than there is the bug in my script sorry...
Upgrade to the new version and it should work correct.
New Version:
Version 1.1.2 (06.08.07)
* The Disable unhide option work only on thank you board and if a option is selected.
! Own Posts on enabled "Single Thank You to Unhide Post" content will now be unhidden to the creator
! The Single Thank You per Thread work now correct. With some option it would not work.
- Upgrade Included
Bye
DIN1031
Thank you, I updated to your current version and in fact something changed, now guests can't see hidden content which is good, but normal users can still see the hidden content without giving Thanks, which is bad.
:(
Quote from: lonrot on August 06, 2007, 04:26:32 PM
Thank you, I updated to your current version and in fact something changed, now guests can't see hidden content which is good, but normal users can still see the hidden content without giving Thanks, which is bad.
:(
I tested it yesterday and it work like it should.
I make exact you option select. If you select the first option it will only unhide the posts who the user say thank you, but if some user normal post in the thread all hidden content is viewable. If you don't like this you must also enable option three.
If this not so i must see it with my own eys, because i'm 100% sure it work.
Bye
DIN1031
Thank's to lonrot that i could search the bug :), this was a tough one...
Version 1.1.3 (07.08.07)
! Fix a bug in the Display Source to make Hide Options and one Thank You Post detection work correct!
- Upgrade Included
This is a importend Bug fix for user who use the on thank you per thread version of the mod, or the hide tag combined with the on thank you unhidden options.
Bye
DIN1031
Yes, thanks DIN, now my forums is working perfectly fine, and the Thanks per Thread is highly customizable, I would suggest this mod for both Thanks per Post and Thanks per Thread users, this is a very complete mod by now.
I should uninstall this mod and re install after some days , then all the tankyou posts will delete ?! Is it true ?!!!!
please help me
Nope it will not deleted.
Bye
DIN1031
Hey, I installed ThankOMatic113 and when I installed the mod with the load.php as test failed. Everything seemed to work except the lock thank you and delete thank you buttons do not appear on any posts.
12. Execute Modification ./ssi_examples.php Test successful
13. Execute Modification ./Sources/Display.php Test successful
14. Execute Modification ./Sources/Load.php Test failed
15. Execute Modification ./Sources/ManageBoards.php Test successful
16. Execute Modification ./Sources/ManagePermissions.php Test successful
I am using a custom theme, anything I can do to make this mod work, I really want it.
Execute Modification ./Sources/Load.php Test failed <- if this is not there ;P a lot of thing will not work. :P
You must make at least the missing changes manual in the Load.php.
If you not allready did this ;D.
For the Theme changes -> http://jmusic.ddo.jp/DIN1031/modparser/index.php?action=installMod&smfVersion=1.1.3&name=ThankOMatic113&theme
Bye
DIN1031
Hello. After several attempts without success in others themes (that works the MOD). By curiosity I put myself to install it in the Theme Default. With the exact configuration of 1.1.3 package SMF English and even so I follow without seeing the bellboys Give to Thanks or Anyone of the bellboys. This is everything what I see.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg373.imageshack.us%2Fimg373%2F2056%2Fainssjj3.gif&hash=350c90e4fe91c9a9c1b03e77ef395936d10f0808)
In the installation everything was correctly... you have some idea?
Terrible pardon by my English. Thanks
Thank-O-Matic Spanish Translation Released
The translation was made by me, it's translated 100% so enjoy everyone.
Thank-O-Matic Traduccion en Español
Ha sido traducida en un 100%, la he hecho yo, si tienes algun problema por favor reportamelo.
Informacion:
Con este mod puedes agregar Agradecimientos dentro de un post como en el caso de vB Style.
Este mod realiza muchos Cambios, así que asegúrate de no haber tenido ningún error durante la instalación.
Traducción al Español realizada por Lonrot.
Package attached on post.
Paquete adjuntando en el post.
EDIT: ManagePermissions bug fixed by leonandres0 O:)
Package updated
Thank You lonrot :), i add it to the First Post.
Bye
DIN1031
lonrot Hay problemas en el ManagePermissions.spanish.php al parecer por apostrofes.. revisalo :P
ディン 1031 you can help me with my problem?
Here this corrected spanish of Lonrot, tapeworm some failures by you apostrophize in ManagePermissions.
Bye
I'm using the Helios Multi TP theme and cannot get a button to show for this. I've copied all the graphic files to the perspective directroy... Any ideas? Thanks..
Hello,
I am using the Babylon Theme
I installed the mod via the Packages, I gave permissions, I choose the mod to work on all my Boards but I cant see any buttons!!!
The buttons wont show even in the default theme
I changed the display.template.php in Babylon Theme but i cant seem to make the buttons appear.
Everything in the Admin Panel works fine!
Please help me, I really need this mod
EDIT:
This is how the buttons appear in my display.template file from mytheme (I show you the split button as example
// What about splitting it off the rest of the topic?
if ($context['can_split'])
echo '
<a href="', $scripturl, '?action=splittopics;topic=', $context['current_topic'], '.0;at=', $message['id'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/split.gif" alt="' . $txt['smf251'] . '" border="0" />' : $txt['smf251']), '</a>';
What should i add in order for the thank you buttons to show?
Quote from: leonandres0 on August 27, 2007, 06:53:05 PM
In the installation everything was correctly… you have some idea?
Terrible pardon by my English. Thanks
First is you can only post Thank You to someone else not to yourself :). (Hope you enabled it for some Boards and set the correct Premissions.)
Quote from: epsilon753 on August 29, 2007, 07:27:15 PM
Hello,
I am using the Babylon Theme
....
Quote from: WXWP on August 28, 2007, 09:11:38 AM
I'm using the Helios Multi TP theme and cannot get a button to show for this. I've copied all the graphic files to the perspective directroy... Any ideas? Thanks..
Please attach a Display.template.php, i will look at it if i can make working version.
Bye
DIN1031
ディン1031, i attach my file, so please if you can help me!
thank you very much
Feature Request:Top Ranking of users with the most received Thank You in stat page.
Quote from: epsilon753 on August 30, 2007, 11:45:33 AM
ディン1031, i attach my file, so please if you can help me!
thank you very much
So to make it workable: (I hope i made no mistakes XD)
Search in the
Display.template.php for
// What about splitting it off the rest of the topic?
if ($context['can_split'])
echo '
<a href="', $scripturl, '?action=splittopics;topic=', $context['current_topic'], '.0;at=', $message['id'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/split.gif" alt="' . $txt['smf251'] . '" border="0" />' : $txt['smf251']), '</a>';
Add after
// Can do some Thank You Post things :)
if ($message['thank_you_post']['post'] && !$message['thank_you_post']['locked'])
echo '
<a href="', $scripturl, '?action=thankyou;topic=', $context['current_topic'], '.0;msg=', $message['id'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/thank_you.gif" alt="' . $txt['thank_you_post_post_b'] . '" border="0" />' : $txt['thank_you_post_post_b']), '</a>';
if ($message['thank_you_post']['lock'] && $message['thank_you_post']['isThankYouPost'])
echo '
<a href="', $scripturl, '?action=thankyoupostlock;topic=', $context['current_topic'], '.0;msg=', $message['id'], '">', $message['thank_you_post']['locked'] ? ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/thank_you_lock1.gif" alt="' . $txt['thank_you_post_lock_b'] . '" border="0" />' : $txt['thank_you_post_lock_b']) : ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/thank_you_lock2.gif" alt="' . $txt['thank_you_post_open_b'] . '" border="0" />' : $txt['thank_you_post_open_b']), '</a>';
if ($message['thank_you_post']['delete'] && $message['thank_you_post']['isThankYouPost'])
echo '
<a href="', $scripturl, '?action=thankyoupostdelete;topic=', $context['current_topic'], '.0;msg=', $message['id'], ';sesc=', $context['session_id'], '" onclick="return confirm(\'', $txt['remove_thank_you_post'], '?\');">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/thank_you_delete.gif" alt="' . $txt['thank_you_post_delete_b'] . '" border="0" />' : $txt['thank_you_post_delete_b']), '</a>';
Than Search for
if ($context['calendar_post'])
$moderationButtons[] = '<a href="' . $scripturl . '?action=post;calendar;msg=' . $context['topic_first_message'] . ';topic=' . $context['current_topic'] . '.0;sesc=' . $context['session_id'] . '">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/linktocal.gif" alt="' . $txt['calendar37'] . '" border="0" />' : $txt['calendar37']) . '</a>';
Add after
//Special Lock for the Thank You :)
if($context['thank_you_lock_allowed'])
if(empty($context['is_thank_you_post_locked']))
$moderationButtons[] = '<a href="' . $scripturl . '?action=thankyoupostcloseall;topic=' . $context['current_topic'] . '">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/thank_you_lock1.gif" alt="' . $txt['thank_you_post_lock_all_b'] . '" border="0" />' : $txt['thank_you_post_lock_all_b']) . '</a>';
else
$moderationButtons[] = '<a href="' . $scripturl . '?action=thankyoupostcloseall;topic=' . $context['current_topic'] . '">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/thank_you_lock2.gif" alt="' . $txt['thank_you_post_open_all_b'] . '" border="0" />' : $txt['thank_you_post_open_all_b']) . '</a>';
Than i hope it will work in your theme :).
Bye
DIN1031
Quote from: aloche65 on August 30, 2007, 04:11:53 PM
Feature Request:Top Ranking of users with the most received Thank You in stat page.
Hmmm i think about it to add it for the standard, or i made a add on for it, i will look at it after some days.
Bye
DIN1031
Quote from: ディン1031 on August 31, 2007, 02:16:37 AM
Quote from: aloche65 on August 30, 2007, 04:11:53 PM
Feature Request:Top Ranking of users with the most received Thank You in stat page.
Hmmm i think about it to add it for the standard, or i made a add on for it, i will look at it after some days.
Bye
DIN1031
thanks a lot.
Hello, It´s posible change the button thanks an other place?, this appears in the part above of message and i want to change to the inferior part, type vB style XD
Example:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi160.photobucket.com%2Falbums%2Ft182%2Fvitalian%2FDibujo-2.jpg&hash=3add891ebbe9a5e949b2a4279914beb6a63079b5)
ByE
DIN1031, thank you very much for your prompt reply, but i cant seem to make it work.
I made all the changes but the buttons wont show even though everything in the administration works.
Thank you very much.
It's a pity because your mod is truly great
@vitalian, yes this i possible you need only to change the possition of the buttons in the
$themedir/Display.template.php.
This is the code for all the Thank-O-Matic buttons ;).
// Can do some Thank You Post things :)
if ($message['thank_you_post']['post'] && !$message['thank_you_post']['locked'])
echo '
<a href="', $scripturl, '?action=thankyou;topic=', $context['current_topic'], '.0;msg=', $message['id'], '">', $thankyoupostpost_button, '</a>';
if ($message['thank_you_post']['lock'] && $message['thank_you_post']['isThankYouPost'])
echo '
<a href="', $scripturl, '?action=thankyoupostlock;topic=', $context['current_topic'], '.0;msg=', $message['id'], '">', $message['thank_you_post']['locked'] ? $thankyoupostopen_button : $thankyoupostlock_button, '</a>';
if ($message['thank_you_post']['delete'] && $message['thank_you_post']['isThankYouPost'])
echo '
<a href="', $scripturl, '?action=thankyoupostdelete;topic=', $context['current_topic'], '.0;msg=', $message['id'], ';sesc=', $context['session_id'], '" onclick="return confirm(\'', $txt['remove_thank_you_post'], '?\');">', $thankyoupostdelete_button, '</a>';
Quote from: aloche65 on August 31, 2007, 10:40:55 AM
Quote from: ディン1031 on August 31, 2007, 02:16:37 AM
Quote from: aloche65 on August 30, 2007, 04:11:53 PM
Feature Request:Top Ranking of users with the most received Thank You in stat page.
Hmmm i think about it to add it for the standard, or i made a add on for it, i will look at it after some days.
Bye
DIN1031
thanks a lot.
New Add OnAdd Ons are Attached to this Post (http://www.simplemachines.org/community/index.php?topic=176565.0)
Name: Thank-O-Matic Addon: Stats
File: ThankOMaticOnStatsPageXXX.zip
Description: This Addon add to the Stat page the Top 10 Thank You Given and Top 10 Thank You Resived.
Language: English and Deutsch (German).
For Thank-O-Matic Version: 1.0.0+
Version 1.0.0 (02.09.07)!*+- First Release
A new Version, with some small bug fixes.Version 1.1.5 (02.09.07)
! Fix a small HTML mistake in coloring the list
* Move the edit for Thank-O-Matic Stat from Account Related Settings to Forum Profile Information. This prevent loosing the Thank You data on wrong Password! (Importend Theme Change!)
- Upgrade Included
Bye
DIN1031
Does language pack work for non-english utf-8 ?
I have try to translate langiage pack , and install in UTF-8. but it become to small square ������.
Thanks in advance for your kind support.
Feature Request:Top Post with the most received Thank You in stat page.
Quote from: DooDoo on September 02, 2007, 03:03:47 PM
Does language pack work for non-english utf-8 ?
I have try to translate langiage pack , and install in UTF-8. but it become to small square ������.
Thanks in advance for your kind support.
Normal i've not one package with UTF-8 Support ;).
@aloche65
I will look if it possible in a nice and fast way, but at the moment it's not so easy and i think i need a way to cache it.
Bye
DIN1031
i just took a look at your german translation......
....and decided to finish my own version.
Quote from: DQuest on September 05, 2007, 04:42:59 AM
i just took a look at your german translation......
....and decided to finish my own version.
What is so wrong about it? XD
Name: Thank-O-Matic Addon: Stats
AddOn Version 1.0.1
File: ThankOMaticOnStatsPageXXX.zip
Description: This Addon add to the Stat page the Top 10 Thank You Given and Top 10 Thank You Resived.
Language: English and Deutsch (German).
For Thank-O-Matic Version: 1.0.0+
Version 1.0.0 (02.09.07)!*+- First Release
Version 1.0.1 (05.09.07)! Insert that what i removed... because of a wrong used replace :X
- Upgrade Included
Please upgrade this addon ;) because i removed the cache function for the stat page xD. *runs*
Bye
DIN1031
the style doesn't match the german board translation.
i belive the user should not notice an addon because it fits so well into the board by using the same word pool and gramatical forms.
example:
"Follgende Mitglieder haben sich bei dir bedankt für diesen Post:"
"Folgende" is spelled with only one "l" and "dir" is not polite form, "Post" is not translated at all, it should be "Beitrag".
a better translation could be like this:
"Folgende Mitglieder haben sich bei ihnen für diesen Beitrag bedankt:"
Quote from: DQuest on September 06, 2007, 02:47:52 AM
the style doesn't match the german board translation.
i belive the user should not notice an addon because it fits so well into the board by using the same word pool and gramatical forms.
example:
"Follgende Mitglieder haben sich bei dir bedankt für diesen Post:"
"Folgende" is spelled with only one "l" and "dir" is not polite form, "Post" is not translated at all, it should be "Beitrag".
a better translation could be like this:
"Folgende Mitglieder haben sich bei ihnen für diesen Beitrag bedankt:"
Okay i overworked the complete german Tanslation ;), so that it have a polite correct form ;). I also removed some more wrong spelled word, if you have some more thing please tell me that than i will fix it ;).
For the German People:
Die Deutsche übresetzung ist korregiert und angepasst so das sie in der board üblichen sie form ist, sollte jemand ein du form wünschen kann ich dies noch extra machen. Zum update einfach die alte deinstallieren und die neue installieren ;).
Bye
DIN1031
i'll look at it in the next days, compare it with my work, and maybe send you possible improvents via pm if this is ok for you.
after all, we both want an excellent translation for this very good addon. :)
regards
Quest
Version 1.1.7 (09.09.07)
! Remove a possible to make a thank you even if not allowed...
! Removed a Bug on Thank You Table Repairs...
- Upgrade Included
Bye
DIN1031
In 1.1.7 unlocking the locked thank you post is not working?
Quote from: nitins60 on September 30, 2007, 05:23:31 PM
In 1.1.7 unlocking the locked thank you post is not working?
Hmmm i tested it and it work well, can you give me the option that you have?
Bye
DIN1031
Hi 1031 (still don`t know how to speak your first name, lol)
I can't install this mod in my SMF 1.1.4 - It conflicts with Display.php, Load.php, ManageBoards.php and ModSettings.php.
I know that all files are in Sources folder, that was changed in my upgrade from 1.1.3 to 1.1.4..
Hmmm normal it should be installable without problems. What kind of mods did you install?
Bye
DIN1031
Hi
I have found this mod and it is great.
Is that possible to count how many thank a member get for their post? And place the total in their post profile.
I think that will be nice.
Quote from: viet on October 07, 2007, 11:41:18 PM
Hi
I have found this mod and it is great.
Is that possible to count how many thank a member get for their post? And place the total in their post profile.
I think that will be nice.
Hmmm normal it stand at the bottom of the post. Or do you mean something else?
Bye
DIN1031
hi, i find the mod cool. But in my forum can only admins bedanken (sorry but my english is not the best ::))
I need help, thanks
Did you set the premissions for the membergroups?
Bye
DIN1031
where and how?
Thanks
PS. no, but now yes. THANKS
Great looking mod I hope to use it one day...
I get these errors and I can not see in the xml file what code changes are to be made. there is no reference to any of this files mentioned in error.
12. Execute Modification ./ssi_examples.php Test failed
14. Execute Modification ./Sources/Load.php Test failed
15. Execute Modification ./Sources/ManageBoards.php Test failed
16. Execute Modification ./Sources/ManagePermissions.php Test failed
Please advise
Richard Wing
Quote from: RichardWing on October 12, 2007, 02:50:52 AM
Great looking mod I hope to use it one day...
I get these errors and I can not see in the xml file what code changes are to be made. there is no reference to any of this files mentioned in error.
12. Execute Modification ./ssi_examples.php Test failed
14. Execute Modification ./Sources/Load.php Test failed
15. Execute Modification ./Sources/ManageBoards.php Test failed
16. Execute Modification ./Sources/ManagePermissions.php Test failed
Please advise
Richard Wing
http://jmusic.ddo.jp/DIN1031/modparser/index.php?action=installMod&smfVersion=1.1.4&name=ThankOMatic117
Bye
DIN1031
Thank you for the link to that.
I was able to find everything except this line that is supposed to be in
ManageBoards.php
'permission_mode' => 'normal',
I am not sure where I am supposed to place this line?
'thank_you_post_enable' => 0,
I placed it here but I am not sure if thats correct.
$context['board'] = array(
'is_new' => true,
'id' => 0,
'name' => $txt['mboards_new_board_name'],
'description' => '',
'topblock' => '',
'count_posts' => 1,
'theme' => 0,
'override_theme' => 0,
'passwd' => '','countMoney' => 1,
'category' => (int) $_REQUEST['cat'],
'no_children' => true,
'is_redirect' => 0,
'count_clicks' => 0,
'thank_you_post_enable' => 0,
'target' => '',
'url' => '',
);
}
I turned the feature on I set the permissions for members and I see the counts on the left but I can't find where the member can give the thank you to the poster.
Must be that one line I couldnt tell where to place?
Thanks for any assistance.
Richard Wing
You must set also the premissions for the member so that they allowed to use it ;).
Bye
DIN1031
Did I place the line in the correct place? I have the first two options set in the members permissions. Isn't that enough?
I have attached a screenshot.
I see no option to give thanks in the post.
Thanks
Richard Wing
Quote from: RichardWing on October 12, 2007, 05:35:52 PM
Did I place the line in the correct place? I have the first two options set in the members permissions. Isn't that enough?
I have attached a screenshot.
I see no option to give thanks in the post.
Thanks
Richard Wing
Hmm yes this should work :x.
And yes the $context['board'] = array( is also correct ;).
Bye
DIN1031
When I try to Repair and optimize Thank-O-Matic tables from Forum Maintenance in ACP i get this errors:
/index.php?action=thankyoupostrepairtable;substep=0;pos=2
8: Undefined variable: step_count
/Sources/ThankYouPost.php
Line: 1508
/index.php?action=thankyoupostrepairtable;substep=0;pos=2
8: Undefined variable: rows
/Sources/ThankYouPost.php
Line: 1503
/index.php?action=thankyoupostrepairtable;substep=0;pos=2
8: Undefined variable: step_count
/Sources/ThankYouPost.php
Line: 1503
/index.php?action=thankyoupostrepairtable;substep=0;pos=2
8: Undefined variable: step_count
/Sources/ThankYouPost.php
Line: 1508
/index.php?action=thankyoupostrepairtable;substep=0;pos=2
8: Undefined variable: rows
File: /Sources/ThankYouPost.php
Line: 1503
So i fixed it with version 1.1.8 ;).
Thx for the info.
If you upgrade to this version it should not happen any more.
Bye
DIN1031
I have 2 errors in my log:
8: Undefined index: start
/htdocs/Themes/default/ThankYouPost.template.php (eval?)
Line: 89
8: Undefined index: start
/htdocs/Themes/default/ThankYouPost.template.php (eval?)
Line: 90
I attach ThankYouPost.template.php
Quote from: shumar on October 23, 2007, 09:07:45 AM
I have 2 errors in my log:
8: Undefined index: start
/htdocs/Themes/default/ThankYouPost.template.php (eval?)
Line: 89
8: Undefined index: start
/htdocs/Themes/default/ThankYouPost.template.php (eval?)
Line: 90
I attach ThankYouPost.template.php
Upgrade to the new version.
Version 1.1.9 (23.10.07)
! Removed a eval Bug when karma is enabled
- Upgrade Included
Bye
DIN1031
thank you, work like charm. :)
In the user's profile I get
Unable to load the 'showThankYouPosts' template.
Any clue?
Quote from: Proleter on October 23, 2007, 07:03:46 PM
In the user's profile I get
Unable to load the 'showThankYouPosts' template.
Any clue?
A Missing theme change? ;)
Look here -> http://jmusic.ddo.jp/DIN1031/modparser/index.php?action=installMod&smfVersion=1.1.4&name=ThankOMatic118&theme&l=en
And search there for:
$themedir/Profile.template.php and make this changes in your theme.
Bye
DIN1031
Thank you my. Btw. Very usefull mod.
I have this php-error:
PHP Fatal error: Call to undefined function thank_you_loadPremission() in /Sources/Display.php on line 712
Please, help.
oO look if the ThankYouPost.php ist correct stored in the Source dir.
Bye
DIN1031
can not fix to another template.
I try a lot of ways.
help me thanks.
http://jmusic.ddo.jp/DIN1031/modparser/index.php?action=installMod&smfVersion=1.1.4&name=ThankOMatic119&theme
There all theme changes who made by my mod.
Bye
DIN1031
I have installed the mode thru SMF Mod Parser. i dont see any errors.
Now the problems are :
1. I cant see any tab under Features & Options
2. Cant see any tab under boards for Thankyou
pls help me
Did you make insert the Language things into you language that you use. Or changed to the language english.
Bye
DIN1031
Quote from: ディン1031 on November 12, 2007, 06:46:54 AM
Did you make insert the Language things into you language that you use. Or changed to the language english.
Bye
DIN1031
Hi DIN1031,
I didn't edit/convert any thing in language. that particular issue was not shown in Mod parser.
can u explain me in detail pls!!
I did a successful installation but members can't see Thank you Bouton on post?
only admin can see the bouton, all the premissions for the membergroups are set.
how can i fixe this?
Quote from: ivamsi on November 12, 2007, 07:30:44 AM
Quote from: ディン1031 on November 12, 2007, 06:46:54 AM
Did you make insert the Language things into you language that you use. Or changed to the language english.
Bye
DIN1031
Hi DIN1031,
I didn't edit/convert any thing in language. that particular issue was not shown in Mod parser.
can u explain me in detail pls!!
All lanugage Changes: http://jmusic.ddo.jp/DIN1031/modparser/index.php?action=installMod&smfVersion=1.1.4&name=ThankYouMod112&language
Quote from: Saku on November 12, 2007, 11:01:43 AM
I did a successful installation but members can't see Thank you Bouton on post?
only admin can see the bouton, all the premissions for the membergroups are set.
how can i fixe this?
You are sure, that you set the correct premissions for the groups?
If yes, than i need to know which premissions did you set, than i will test it if there something not ok.
Bye
DIN1031
Permissions given for Regular Members + Newbie and the others groups => Give thank you to a post & Show Thank You Members of the Post
And you make the theme changes, for your theme, too?
Bye
DIN1031
It would be great if you someone could include top thanked posts via SSI, showing random posts with more than x thank u's
Hmmm very good idea, i think i will programm a small add on for it :).
Tha values for this are avaible so it should be possible.
Hmm the radom thing i think it's possible, should it show only the subjekt of the post, or everything in the post, to?.
The top thank you posts, will only show the subject of the post or should it also have a way to show everything of the post?
Bye
DIN1031
Quote from: ディン1031 on November 19, 2007, 03:02:38 AM
Hmmm very good idea, i think i will programm a small add on for it :).
Tha values for this are avaible so it should be possible.
Hmm the radom thing i think it's possible, should it show only the subjekt of the post, or everything in the post, to?.
The top thank you posts, will only show the subject of the post or should it also have a way to show everything of the post?
Bye
DIN1031
I was thinking about showing the whole post... maybe an option to limti the shown characters would be useful :).
Update: To make myslef more clear... a lot later :) I intend to use the SSI quotes on my site as an advertisment of the forum - for example "See the best quotes form our forum, come join us, get quoted"
Something like this. Cheers :)
Sorry, at the moment i have a lot of things to do, so it will take some more days until i can make this addon for this mod.
Bye
DIN1031
Heh, take your time :) I only got the idea but not the know-how. You are the man :)
ok, it would add thank you message just after insert new post??
wouldn't it be better just do add new tnak you button , and users can click on it, and then in member's profile to show how many 'thank you' certain member get from other members??
Quote from: Farmacija on December 20, 2007, 10:48:53 AM
ok, it would add thank you message just after insert new post??
wouldn't it be better just do add new tnak you button , and users can click on it, and then in member's profile to show how many 'thank you' certain member get from other members??
oO what do you mean... this is a mod this add a thank you button to the post so that a user can give a user for this post a thank you... .oO(i think i understand it complete wrong). And it show in the profile the count of thank you's given to this user and how many he/she/it give to other.
This Add Thank You Button is not needed because it create and show thank you button only on boards where it allowed to see or use it ;).
Bye
DIN1031
very nice mod.
Ok...I have installed this and checked all permissions on all boards...and even as administrator I see no buttons.
help?
Did you make the theme changes for you theme?
Did you change to the default an are the buttons there?
Bye
DIN1031
I am using this mod. I have default theme and I see no option to thankyou. wot to do.
Check to see that all changes the mod was supposed to make were made working via the process of a manual install...rectify as needed.
I didnot install manually.
I didn't in any way at all say that you did install manually! You need to follow the advice I gave so as to check that your installation of the mod is as it should be.
I wonder if this mod could be (re)wroted in Ajax?
Thank you.
Quote from: softcore on December 31, 2007, 08:33:42 PM
I wonder if this mod could be (re)wroted in Ajax?
Thank you.
I programmed a first beta for this in the next Version, but this Version are currently only avaible for the SMF 2.0. Beta. In this version i will not insert it.
Bye
DIN1031
Quote from: ディン1031 on December 31, 2007, 03:00:40 AM
Did you make the theme changes for you theme?
Did you change to the default an are the buttons there?
Bye
DIN1031
I am using the default theme. And there are no buttons.
It seems this is the problem. I go into the board settings, and check "Enable ThankOMatic"....but it doesn't save the change for some reason. I hit save, and when I got back the box is "UNchecked". I just don't know.
Quote from: miss kitty on January 02, 2008, 01:23:40 PM
Quote from: ディン1031 on December 31, 2007, 03:00:40 AM
Did you make the theme changes for you theme?
Did you change to the default an are the buttons there?
Bye
DIN1031
I am using the default theme. And there are no buttons.
It seems this is the problem. I go into the board settings, and check "Enable ThankOMatic"....but it doesn't save the change for some reason. I hit save, and when I got back the box is "UNchecked". I just don't know.
Hmmm Than look if this changes are made.
Change in Filename:
$sourcedir/ManageBoards.php Quote
Search for this
'permission_mode' => 'normal',
Add after this
'thank_you_post_enable' => 0,
Search for this
$boardOptions['posts_count'] = isset($_POST['count']);
Add after this
$boardOptions['thank_you_post_enable'] = isset($_POST['thank_you_post_enable']);
If yes... than hmmmm... i don't know why it not work i tested it an installed it lokal and it work fine :X.
Are there any errors in error log after you click modify board?
Bye
DIN1031
ディン1031
now I can see the thankyou option.
I tried using this one in TP XD obtuse but seems that i can't see the thank button.
Any help? :(
Quote from: tr0y on January 03, 2008, 12:48:47 AM
I tried using this one in TP XD obtuse but seems that i can't see the thank button.
Any help? :(
How die you mean this ?_?.
TP = Tiny Portal? I don't know what you exactly mean and where you want to use it ?_?.
Bye
DIN1031
Quote from: ディン1031 on November 29, 2007, 04:02:35 AM
Sorry, at the moment i have a lot of things to do, so it will take some more days until i can make this addon for this mod.
Bye
DIN1031
Just don't forget me pls :)
Quote from: ByeVas on January 04, 2008, 03:27:55 AM
Quote from: ディン1031 on November 29, 2007, 04:02:35 AM
Sorry, at the moment i have a lot of things to do, so it will take some more days until i can make this addon for this mod.
Bye
DIN1031
Just don't forget me pls :)
Allready done, i thought i wrote you a pm ;).
http://www.simplemachines.org/community/index.php?topic=176565.0 search for Attachment
ThankOMaticSSITopThanksPosts100.zipBye
DIN1031
Quote from: ディン1031 on January 04, 2008, 05:45:35 AM
Allready done, i thought i wrote you a pm ;).
http://www.simplemachines.org/community/index.php?topic=176565.0 search for Attachment ThankOMaticSSITopThanksPosts100.zip
Bye
DIN1031
Hi, the mod works, however I think there are a few bugs...
1) [board] [topic...] by [user] the topic link does not lead to the right topic, but somewhere else
<td valign="top">
<a href="', $post['href'], '">', $post['subject'], '</a>
', $txt[525], ' ', $post['poster']['link'], '
', $post['new'] ? '' : '<a href="' . $scripturl . '?topic=' . $post['topic'] . '.msg' . $post['new_from'] . ';topicseen#new"><img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/new.gif" alt="' . $txt[302] . '" border="0" /></a>';
- this links leads to a different topic
2) I could not find a way to display the post body or the partial post via SSI, though when looking at the SSI.php it looked like you included this func.
3) when installing the add on it requires SSI_examples.php , while the mod requires ssi_examples.php (capital letters in the first one)
4) I could not find any random func. to display different posts
5) The SSI shows only one post in this way [board] [topic...] by [user] I couldn't find how to display only this: //A full Output... with a limited (or not) chars of the post...
If i tweaked it a little it shows one post but the link doesn't work and it couldn't be changed on refresh
My tweak(not much of a tweak but still... :) ) :
//Subject only and the counted thank you value.
if ($subject_only) {
echo '
<table border="0" class="ssi_table">';
foreach ($posts as $post) {
echo '
<div>
<a href="', $post['href'], '">', $post['icon'], '</a> <b>', $post['subject'], '</b>
<div class="smaller">', $post['time'], ' ', $txt[525], ' ', $post['poster']['link'], '</div>
<div class="post" style="padding: 2ex 0;">', $post['body'], '</div>
';
echo '
</td>
<td align="right" nowrap="nowrap">
', $post['time'], '
</td>
</tr>';
}
echo '
</table>';
Finally here is how I imagined it
SSI func that shows [post](max chars restriction) by [user]. On page refresh it shows another post with the same or lower rating.
And again thank u for the great effort :)
I will look later and fix them.
Bye
DIN1031
Thanx
Ok I use XD Obtuse theme in Tiny Portal
I install this Thank mod but seems I cant see the thank button.
Do I need to add the thank button?
The installation is ok...but is just that I cannot see the thank button.
Quote1) [board] [topic...] by [user] the topic link does not lead to the right topic, but somewhere else
Hmmm i looked into the code and it should work correct, but i will look into it deeper
Quote2) I could not find a way to display the post body or the partial post via SSI, though when looking at the SSI.php it looked like you included this func.
and
5) The SSI shows only one post in this way [board] [topic...] by [user] I couldn't find how to display only this: //A full Output... with a limited (or not) chars of the post...
ssi_thankYouPostTopPosts(5, 0, false);
Show 5 full top post ;).
ssi_thankYouPostTopPosts(5, 128, false);
Show 5 Posts with a char limit of 128 chars ;).
ssi_thankYouPostTopPosts(5, 128, false,'array');
Output a array ;).
Quote3) when installing the add on it requires SSI_examples.php , while the mod requires ssi_examples.php (capital letters in the first one)
Will be fixed XD.
Quote4) I could not find any random func. to display different posts
oO it's a top post function... never thought of a random thank you post ?_?, this could be a heavy load if i use RAND() on this large table...
Bye
DIN1031
You know I love you for what you do! This mod is great. However all of these:
Quote
ssi_thankYouPostTopPosts(5, 0, false);
Show 5 full top post .
ssi_thankYouPostTopPosts(5, 128, false);
Show 5 Posts with a char limit of 128 chars .
ssi_thankYouPostTopPosts(5, 128, false,'array');
output only one quote, not five and of course for the purpose of the test I have given 9 thank-us to 6 members. So I have 3 posts with the score of 2 thank-us
As far as I could see modifying the 5 value does not change anything except the case when set to 0 and does not dispaly anything at all. However changing the 128 to 256 works nice...
Quote from: ByeVas on January 05, 2008, 08:29:14 AM
You know I love you for what you do! This mod is great. However all of these:
Quote
ssi_thankYouPostTopPosts(5, 0, false);
Show 5 full top post .
ssi_thankYouPostTopPosts(5, 128, false);
Show 5 Posts with a char limit of 128 chars .
ssi_thankYouPostTopPosts(5, 128, false,'array');
output only one quote, not five and of course for the purpose of the test I have given 9 thank-us to 6 members. So I have 3 posts with the score of 2 thank-us
As far as I could see modifying the 5 value does not change anything except the case when set to 0 and does not dispaly anything at all. However changing the 128 to 256 works nice...
So i fixed it ;D.
Version 1.0.1 (05.01.08)! I never thought that a order by can make problems ;).
- Upgrade included
Bye
DIN1031
Quote from: ディン1031 on January 05, 2008, 09:49:57 AM
Version 1.0.1 (05.01.08)
! I never thought that a order by can make problems ;).
- Upgrade included
Bye
DIN1031
Works like a charm, however the links are still messed up. The only link that works is the one leading directly to the post. I will try fixing it on my own but I am not quite sure...
-For some reason all the thank-u posts are shown in one topic
Forum name > Board> Sub-board > Topic... > Thank You Post List (Complete)
The topic link is all the same everywhere
I think the problem this time is in the mod itself not the add-on
the reason is that when a post is marked as thanked it's location is not saved properly....
Hope you are not fed up with me... :P
I would like a feature that says how many time he have been thanked, well dunno if exists, but i didnt saw it in screenshots
Quote from: assasinkilla on January 07, 2008, 11:49:40 AM
I would like a feature that says how many time he have been thanked, well dunno if exists, but i didnt saw it in screenshots
You could've tried it you know... It has
Quote from: assasinkilla on January 07, 2008, 11:49:40 AM
I would like a feature that says how many time he have been thanked, well dunno if exists, but i didnt saw it in screenshots
Look at the mod page... there you will see it...
for example http://custom.simplemachines.org/mods/index.php?action-download;mod=710;id=34139;image (http://custom.simplemachines.org/mods/index.php?action-download;mod=710;id=34139;image)
Bye
DIN1031
how can i install this mod in phobos114????
I was looking here:
http://jmusic.ddo.jp/DIN1031/modparser/index.php?action=installMod&smfVersion=1.1.4&name=ThankOMatic117&theme
but i only have Display.template.php... so i cant modify the others files like Admin.template.php and so one...
If you only have Display.template.php in your theme dir, so your theme uses Admin.template.php (and other template files) from the default theme...
...I guess... lol... My theme is ApolloBB and does that.
well...I modify the file ,,now it realy works, but now I have a new problem.
The "thanks" star does not appear in the first message from post
how can i fix that?
Add:
The other admin can see the stars in the messages of each post, (except the first )
But I with my admin account can not see any star.
Quote from: Minosh on January 08, 2008, 08:52:16 PM
how can i install this mod in phobos114????
I was looking here:
http://jmusic.ddo.jp/DIN1031/modparser/index.php?action=installMod&smfVersion=1.1.4&name=ThankOMatic117&theme
but i only have Display.template.php... so i cant modify the others files like Admin.template.php and so one...
Than you need only the theme changes in the Display.template.php all other theme changes should be allready in it. Because smf use the default one if they not exists ;).
Bye
DIN1031
Quote from: ディン1031 on January 09, 2008, 02:35:57 AM
Quote from: Minosh on January 08, 2008, 08:52:16 PM
how can i install this mod in phobos114????
I was looking here:
http://jmusic.ddo.jp/DIN1031/modparser/index.php?action=installMod&smfVersion=1.1.4&name=ThankOMatic117&theme
but i only have Display.template.php... so i cant modify the others files like Admin.template.php and so one...
Than you need only the theme changes in the Display.template.php all other theme changes should be allready in it. Because smf use the default one if they not exists ;).
Bye
DIN1031
Thanks, but my problem now is another.
I need to know how to add the star of the first message from the post.
Quote from: Minosh on January 09, 2008, 11:57:29 AM
Thanks, but my problem now is another.
I need to know how to add the star of the first message from the post.
What did you mean? :x
Do you want only a star on the first post and no other post or did you miss the button ?_?.
Bye
DIN1031
Quote from: ディン1031 on January 10, 2008, 02:12:35 AM
Quote from: Minosh on January 09, 2008, 11:57:29 AM
Thanks, but my problem now is another.
I need to know how to add the star of the first message from the post.
What did you mean? :x
Do you want only a star on the first post and no other post or did you miss the button ?_?.
Bye
DIN1031
Well i am with Minosh in this project, and this is what he means;
U cant give the thanks to the first post, but u can do it in the post that comes after ...
I leave u a screenshot;
http://i267.photobucket.com/albums/ii308/ivlabs/ss.jpg
Cya and thanks for the help =)
This is logical... you can not give a thank you to yourself...
Bye
DIN1031
Quote from: ディン1031 on January 10, 2008, 11:51:00 AM
This is logical... you can not give a thank you to yourself...
Bye
DIN1031
Sure it is, but i am not admin, i am Maltray, try to see again the ss ;p
ok, I put the code on the wrong side..
sorry, now is working fine.
thanks for help us :D
Quote from: Minosh on January 11, 2008, 12:25:01 AM
ok, I put the code on the wrong side..
sorry, now is working fine.
thanks for help us :D
Good to hear :).
Bye
DIN1031
Quote from: Minosh on January 11, 2008, 12:25:01 AM
ok, I put the code on the wrong side..
sorry, now is working fine.
thanks for help us :D
That same; Done.
Thanks for ur help ディン1031 and Congratulations for this mod.
Cya.-
Hi,
Thank you for great mod!
My problem is that the "Thank you" appear before the signature of the member.
How can i change so it will appear after?
see attach pic,
Quote from: efil59 on January 12, 2008, 01:21:26 AM
Hi,
Thank you for great mod!
My problem is that the "Thank you" appear before the signature of the member.
How can i change so it will appear after?
see attach pic,
This can be done when you change the Display.template.php, and move the thank you list after the signature.
Bye
DIN1031
Hi,
Can you give me the exact change?
I get an error message.
Hi Partners.
I have a problem with this MOD.
I have installed this Mod and some options work well, as:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg7.imagevenue.com%2Floc608%2Fth_82669_problemsmf_122_608lo.JPG&hash=530c41de6977bd59ba199f3817a8809b95dee980) (http://img7.imagevenue.com/img.php?image=82669_problemsmf_122_608lo.JPG)
But I have a problem in this option: When I press the button "Thank You".
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg188.imagevenue.com%2Floc413%2Fth_82674_problemsmferror1_122_413lo.JPG&hash=9f21d07c10ea0ab98963f74dea294ff088049733) (http://img188.imagevenue.com/img.php?image=82674_problemsmferror1_122_413lo.JPG)
I get the next error:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg207.imagevenue.com%2Floc159%2Fth_82679_problemsmferror2_122_159lo.JPG&hash=925e778228bbb05874d484b2f3f23870dea021fc) (http://img207.imagevenue.com/img.php?image=82679_problemsmferror2_122_159lo.JPG)
It is asking for a template but not to which it refers.
I have analysed the next files:
- Load.php (loadTemplate($template_name, $fatal = true); Line 1497; "// Cause an error otherwise".)
- ThankYouPost.php (Function: ThankYou(); Line 174; "//Okay new one?")
Besides I have used the Package Manager and the next manual as reference:
http://jmusic.ddo.jp/DIN1031/modparser/index.php?action=installMod&smfVersion=1.1.4&name=ThankOMatic119
And always arrived at the same mistake.
I use the following:
- SMF; Versión 1.1.4
- ThankOMatic; Versión 1.1.9
- Apache 2.2.4 (WIN32)
- PHP 5.
- MySQL 5.
Thank you for your answers
Greetings.
Did you do this ->
QuoteFollow files must be uploaded to the given destination.
List of Source Files:
File: ThankYouPost.php copy to Destination: $sourcedir
List of Theme Files:
File: thank_you_b.gif copy to Destination: $themedir/images/buttons
File: thank_you.gif copy to Destination: $themedir/images/english
File: thank_you_delete.gif copy to Destination: $themedir/images/english
File: thank_you_lock1.gif copy to Destination: $themedir/images/english
File: thank_you_lock2.gif copy to Destination: $themedir/images/english
File: ThankYouPost.template.php copy to Destination: $themedir
List of Language Files:
File: ThankYouPost.english.php copy to Destination: $languagedir
Bye
DIN1031
this mod work with you HIDE tag MOD as other Thank you mod?
Quote from: edi67 on January 15, 2008, 07:12:30 AM
this mod work with you HIDE tag MOD as other Thank you mod?
Yes ;). And with some more option (because there are more ways, to do this).
But think if you like to replace it with this one, i did not programm a converter for it at the moment.
But i will do this on the Public SMF 2 release because than i merge the two mods into one mod. ;).
Bye
DIN1031
Quote from: ディン1031 on January 15, 2008, 07:09:06 AM
Did you do this ->
QuoteFollow files must be uploaded to the given destination.
List of Source Files:
File: ThankYouPost.php copy to Destination: $sourcedir
List of Theme Files:
File: thank_you_b.gif copy to Destination: $themedir/images/buttons
File: thank_you.gif copy to Destination: $themedir/images/english
File: thank_you_delete.gif copy to Destination: $themedir/images/english
File: thank_you_lock1.gif copy to Destination: $themedir/images/english
File: thank_you_lock2.gif copy to Destination: $themedir/images/english
File: ThankYouPost.template.php copy to Destination: $themedir
List of Language Files:
File: ThankYouPost.english.php copy to Destination: $languagedir
Bye
DIN1031
Hi Partner.
Yes, I did it:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg231.imagevenue.com%2Floc534%2Fth_34266_Archivos_122_534lo.JPG&hash=e7f617eb96cdbd944d8517a7a86ee91e90f79fb8) (http://img231.imagevenue.com/img.php?image=34266_Archivos_122_534lo.JPG)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg7.imagevenue.com%2Floc608%2Fth_82669_problemsmf_122_608lo.JPG&hash=530c41de6977bd59ba199f3817a8809b95dee980) (http://img7.imagevenue.com/img.php?image=82669_problemsmf_122_608lo.JPG)
I Still have a problem in this option: When I press the button "Thank You".(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg188.imagevenue.com%2Floc413%2Fth_82674_problemsmferror1_122_413lo.JPG&hash=9f21d07c10ea0ab98963f74dea294ff088049733) (http://img188.imagevenue.com/img.php?image=82674_problemsmferror1_122_413lo.JPG)
I get the next error:(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg207.imagevenue.com%2Floc159%2Fth_82679_problemsmferror2_122_159lo.JPG&hash=925e778228bbb05874d484b2f3f23870dea021fc) (http://img207.imagevenue.com/img.php?image=82679_problemsmferror2_122_159lo.JPG)
The error could stay here:
- ThankYouPost.php (Function: ThankYou(); Line 174; "//Okay new one?")
- Load.php (loadTemplate($template_name, $fatal = true); Line 1497; "// Cause an error otherwise".)
// The function (loadTemplate) does not find the template
"ThankYouPost.template.php"
Then the address is incorrect ¿¿??
The Mod ThankOMatic; 1.1.9 is not compatible with SMF 1.1.4 ¿?¿?
I have used the Package Manager and the next manual as reference:http://jmusic.ddo.jp/DIN1031/modparser/index.php?action=installMod&smfVersion=1.1.4&name=ThankOMatic119
Thank you hope your answer
Greetings.
The mod is 100% compatible to 1.1.4 it work fine on my test forums ;).
It could be possible that something went wrong on the upload try to upload the files again.
The error must be somewhere there, because loadTemplate do nothing than load the Themplate and also what looks strange is the text above the missing Template, it show the complete text from the language file, and this should not happen, too.
Bye
DIN1031
I think I found a bug in the ThankYouPost.template the custom message icons are not displayed so when you have something like this index.php?action=thankyoupostlist;topic=xxx.0;msg=xxxx there is an error in log.
By the way... the spanish translation is horrible!!! if I change it, would you change it in the package? I'll add support for utf-8 as well...
I got it...
The ThankYouPost.php needs to have this
// Message Icon Management... check the images exist.
if (empty($modSettings['messageIconChecks_disable']))
{
// If the current icon isn't known, then we need to do something...
if (!isset($context['icon_sources'][$message['icon']]))
$context['icon_sources'][$message['icon']] = file_exists($settings['theme_dir'] . '/images/post/' . $message['icon'] . '.gif') ? 'images_url' : 'default_images_url';
}
elseif (!isset($context['icon_sources'][$message['icon']]))
$context['icon_sources'][$message['icon']] = 'images_url';
after this...
// $context['icon_sources'] says where each icon should come from - here we set up the ones which will always exist!
if (empty($context['icon_sources']))
{
$stable_icons = array('xx', 'thumbup', 'thumbdown', 'exclamation', 'question', 'lamp', 'smiley', 'angry', 'cheesy', 'grin', 'sad', 'wink', 'moved', 'recycled', 'wireless');
$context['icon_sources'] = array();
foreach ($stable_icons as $icon)
$context['icon_sources'][$icon] = 'images_url';
}
I did not make the spanish Translation, but if you make a better one and a utf8 version than i will insert it ;).
I will fix this mistake in the template, i thought i did copy everything that needed.
Thank You.
Version 1.2.0 (19.01.08)
! Remove the error on costomized Icons... Thx to dannbass for the info
- Upgrade Included
Bye
DIN1031
Hey!
What do I need to change on this mod to install it on a SMF that already has Thank-o-matic mod installed?
Yes, I want to install 2 (two) thank-o-matic's, with different databases (and differente icons, also a lot of details that I already know how to change) in my SMF. Like one would be "Thank You" and the second one would be "No thanks" (or whatever)..
I was reading the code of install_1.x.x.php and saw a variable called $prefix_db. So I wonder: if I change this variable, everything would work fine, as a second thank-o-matic mod installed?
Hope you understand me.
Best regards
Quote from: softcore on January 24, 2008, 04:55:59 PM
Hey!
What do I need to change on this mod to install it on a SMF that already has Thank-o-matic mod installed?
Yes, I want to install 2 (two) thank-o-matic's, with different databases (and differente icons, also a lot of details that I already know how to change) in my SMF. Like one would be "Thank You" and the second one would be "No thanks" (or whatever)..
I was reading the code of install_1.x.x.php and saw a variable called $prefix_db. So I wonder: if I change this variable, everything would work fine, as a second thank-o-matic mod installed?
Hope you understand me.
Best regards
The {$db_prefix} is a smf standard thing ;).
It's not so easy, i think it's near impossible, because i store data for it in the message table, too. So that it a little bit faster...
Bye
DIN1031
help me please
i try to install this mod in my forum , i do all the modifications and run the install and say:
DB Changes should be made now...
but i entry in my forum and i dont see anything about the thanks o matic mod , in the administrator panel i cant found the option
Quote from: NIBOGO on January 31, 2008, 08:48:04 PM
help me please
i try to install this mod in my forum , i do all the modifications and run the install and say:
DB Changes should be made now...
but i entry in my forum and i dont see anything about the thanks o matic mod , in the administrator panel i cant found the option
4 Standard Checks:
Did you switch to english language, and it's not there?
Did you really install the Mod via Package Manager?
Did you set Premission?
Did you enable it in Boards?
Bye
DIN!031
hi DIN thanks for the Mod
I m installing it on the default theme its working very good
but I use too an other theme Aa New Damage
I can copy the installation from default to the other theme without installing it for the new ?
thank you man
NB: sorry for my english its not good :(
Most Time it work:
Here all the Theme Changes for my mod ;).
http://jmusic.ddo.jp/DIN1031/modparser/index.php?action=installMod&smfVersion=1.1.4&name=ThankOMatic120&theme
Bye
DIN1031
Hi DIN1031..
thanks for the mod..I upload the mod..tests were success..I install mod to SMF 1.1.4.I tried it for default theme and other theme..but when I tried to enter Admin>Boards there is an error :
"Unknown column 'thank_you_post_enable' in 'field list'
File: C:\wamp\www\smf\Sources\Subs-Boards.php
Line: 1478"
also when I want to read post there is an error like that :
"Unknown column 'thank_you_post_enable' in 'field list'"
I think it is a database problem..How can I fix it??
Thanks.. :)
Did you install it correct, with no errors, no timeout or anything? Or did you install it manual?
Okay to fix upload the install1.1.x.php (it's in the package) file into the boarddir call it with the browser and than normal it should made the changes in the database that needed...
Bye
DIN1031
Hi DIN1031..
I think install is correct..I install it automatic like other Mods with no errors or timeout..I found the file which you said (install_1.x.x.php) and upload it to my forum root..
Then I call it by the browser and nothing happened..
Then I try to use the MOD and there is same errors again:(
Also I tried to download the mod again and installed it..But same errors appear again..
I can't fix it this way..
thanks..
Strange it should work... oO i can't understand why it not work...
Did stand there that all database changes are made?
Bye
DIN1031
the spanish translate is corrupt :( can u upload agains pls ?
Quote from: $ilver on February 04, 2008, 06:04:47 PM
the spanish translate is corrupt :( can u upload agains pls ?
Sorry i don't have this translation any more... or better i do not find it any more...
If someone have the spain translation, please sent it to me i add it again...
Bye
DIN1031
Thank you for a great mod!!!
But I've encountered a horrible problem:
the variable $context['thank_you_post']['post'] is undefined in Display.template.php yet everything works perfectly with ThankYouPost.template.php.
As a consequence the "thank you" button is invisible just as "For this post, 0 members gave a thank you!" always states that there is 0 "thank-you" given for the post, thou there are two of them...
I've reinstalled this mod one or two times but the problem persisted.
(my SMS is 1.1.4)
And I use the latest version of the MOD: Thank-O-Matic 1.2.0.
(I have 8 more mods installed)
And it'd be very great to have a separate language file for the mod (not building-in existing language files) - I translate it into Russian and I've experienced some problems in finding the files involved.
Thank you very much in advance!
Quote from: EugeneLoza on February 08, 2008, 06:40:20 AM
Thank you for a great mod!!!
But I've encountered a horrible problem:
the variable $context['thank_you_post']['post'] is undefined in Display.template.php yet everything works perfectly with ThankYouPost.template.php.
As a consequence the "thank you" button is invisible just as "For this post, 0 members gave a thank you!" always states that there is 0 "thank-you" given for the post, thou there are two of them...
I've reinstalled this mod one or two times but the problem persisted.
(my SMS is 1.1.4)
And I use the latest version of the MOD: Thank-O-Matic 1.2.0.
(I have 8 more mods installed)
And it'd be very great to have a separate language file for the mod (not building-in existing language files) - I translate it into Russian and I've experienced some problems in finding the files involved.
Thank you very much in advance!
Hmmm can you give me your settings for the mod... because i try every time a mod on a vanilla smf ;). And there the bug did not ocoure, but i will go look if there is a mistake made by me :).
Bye
DIN1031
The mod's settings are:
User can post to each post a Thank You - YES
Enable Coloring the members of the list - YES
Show Thank You Post given and receive on Topic Display - YES
Enable Preview List under the post in topic index. - YES
How many items should be shown in the previewlist? - 'empty'
The order of the previewlist - earliest THX first
The order of the Fulllist - earliest THX first
Unhide Content of the Post after posting "Thank You" to this post - NO
On Thank You unhide all, hidden contents! - NO
Disable the Option unhide content, after real posting, only thank you can unhide it! - NO
Actually I tried several different settings but it didn't work either. However, I thought it'd be a good idea to try to reinstall the forum and to see whether it was some other kind of problem (e.g. only one shoutbox out of all of the variants worked in my installation thou they are all said to work well with my SMF version).
i downloaded ThankOMatic120.xip but my forum tells me
"An Error Has Occurred!
The package you tried to upload either is not a valid package or has become corrupted."
Am i doing something wrong?
It should be "zip" not "xip"... simply try to change the extension.
There may be another cause - try to download it once again. It worked allright for me.
Hi there
I have tryed to install this mod but never finished installing it.
When I install it using the package mannager in the administration panel
I apply it on boards, I check the box and when I get back it's unchecked.
Then I have installed it manually, and it was almost succesfull
I can see the thank you button and all settings are ok but when I pressed the button
this error came up:
Fatal error: require_once() [function.require]: Failed opening required '/home/paun/public_html/forum/Sources/ThankYouPost.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/paun/public_html/forum/index.php on line 355
I am not very experienced with php and stuff and I don't know were is the mistake.
What file should be fixed index.php or ThankYouPost.php?
Please help me, because my forum really needs this mod.
Thanks in advance
P.S. Appologies for my poor English
EDIT: Solved, me, the idiot, forgot to put ThankYouPost.php into source directory
Guys I'm sick of getting this error on my log:
Quote8: Undefined index:
File: /home/consolem/public_html/Sources/ThankYouPost.php
Line: 772
How can I fix it?
Quote from: lonrot on February 21, 2008, 12:28:36 PM
Guys I'm sick of getting this error on my log:
Quote8: Undefined index:
File: /home/consolem/public_html/Sources/ThankYouPost.php
Line: 772
How can I fix it?
I must look what's there but i see this error the first time :X.
Which Version? ;)
Bye
DIN1031
WOW!!! My problem was so simple...
I just didn't know I should tick "This option enable the "Thank You" for posts on this board" in every board of my forum (by default it's disabled)!
Now it works!!!
Quote from: lonrot on February 21, 2008, 12:28:36 PM
Guys I'm sick of getting this error on my log:
Quote8: Undefined index:
File: /home/consolem/public_html/Sources/ThankYouPost.php
Line: 772
How can I fix it?
oO this is not from my mod because if there is a error this would be a huge error, like hacking attemp or so.
Line 669-772
if(empty($context['user_post_avaible']) && empty($modSettings['thankYouPostDisableUnhide'])) {
$request = db_query("
SELECT ID_MSG, ID_MEMBER
FROM {$db_prefix}messages
Because if {$db_prefix} is missing, than there would be a huge SQL error ;).
So i need to know which Version did you have? (But it's atrange error, because there stand nothing in it :x, i think it's a PHP Version problem...).
Bye
DIN1031
I installed this mod with no real problems. The only issue I am having so far is it wont show the actual names of the people that have given thank you's. All it shows is"
I have the order set to "Member Names" but they dont show up.
Nevermind I just figured out that you have to click on the link that says" For this post, 1 member gave a thank you! " before the names will actually show up.
Great job on the mod. :)
Quote from: Kimmie on February 22, 2008, 05:08:25 AM
I installed this mod with no real problems. The only issue I am having so far is it wont show the actual names of the people that have given thank you's. All it shows is"
I have the order set to "Member Names" but they dont show up.
Nevermind I just figured out that you have to click on the link that says" For this post, 1 member gave a thank you! " before the names will actually show up.
Great job on the mod. :)
You can enable a preview, too. To see the list direct at end of the post.
Bye
DIN1031
Thank you for the great mod!!!
It's just SUPER!!!
Quote from: ディン1031 on February 22, 2008, 05:20:03 AM
You can enable a preview, too. To see the list direct at end of the post.
Bye
DIN1031
ok thanks.. I wasnt sure what that feature was actually for so I didnt check it. Thanks :)
Quote from: ディン1031 on February 22, 2008, 12:14:35 AM
Quote from: lonrot on February 21, 2008, 12:28:36 PM
Guys I'm sick of getting this error on my log:
Quote8: Undefined index:
File: /home/consolem/public_html/Sources/ThankYouPost.php
Line: 772
How can I fix it?
I must look what's there but i see this error the first time :X.
Which Version? ;)
Bye
DIN1031
I'm using the 1.0.1 version.
Quote from: lonrot on February 22, 2008, 04:43:38 PM
Quote from: ディン1031 on February 22, 2008, 12:14:35 AM
Quote from: lonrot on February 21, 2008, 12:28:36 PM
Guys I'm sick of getting this error on my log:
Quote8: Undefined index:
File: /home/consolem/public_html/Sources/ThankYouPost.php
Line: 772
How can I fix it?
I must look what's there but i see this error the first time :X.
Which Version? ;)
Bye
DIN1031
I'm using the 1.0.1 version.
Ufff.... this a very old version XD.
I will look into my csv to if there are changes that you need to remove the bug...
Bye
DIN1031
Do you think that If I update my current version to my newest might brake the custom theme modification?
I paid somebody to do the job for me.
By the way my current version is ThankOMatic113.
And why did you remove the Spanish translation?
Edit: I uploaded the newest package, and didn't uninstall the older one.
It seems to be working fine, I will have to wait to see if more errors show up.
in the post where it says this:
QuoteFollow members gave a thank to your post:
Is there a way I can change that text?
Quote from: Kimmie on March 02, 2008, 11:03:20 PM
in the post where it says this:
QuoteFollow members gave a thank to your post:
Is there a way I can change that text?
Yes in the language files.
I think in the "index.english.php" is the text you search for.
Bye
DIN1031
Quote from: ディン1031 on March 03, 2008, 01:02:59 AM
Quote from: Kimmie on March 02, 2008, 11:03:20 PM
in the post where it says this:
QuoteFollow members gave a thank to your post:
Is there a way I can change that text?
Yes in the language files.
I think in the "index.english.php" is the text you search for.
Bye
DIN1031
Thanks I found it. :)
Now I´m getting this:
QuoteDatabase Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND thank_you_post != 0
LIMIT 0' at line 3
File: /home/consolem/public_html/Sources/ThankYouPost.php
Line: 465
Quote from: lonrot on March 03, 2008, 07:25:40 PM
Now I´m getting this:
QuoteDatabase Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND thank_you_post != 0
LIMIT 0' at line 3
File: /home/consolem/public_html/Sources/ThankYouPost.php
Line: 465
You told me that you use Version 1.0.1, did you update to the lates Verison?
I update a lot in the ThankYouPost.php to prevent errors.
The next is how could it happen that there are no messages given oO there are normal no threads without messages... And normal the script should return nothing if no messages are given see line 428 in the file.
This happen only if you (or someone else) do something that not allowed.
But i will test something, but i think my script should detect this...
Can you give me the link he/she/it use that create the error? Because you give me only the error, but i can not tell where it come from because there is no action link... and i can not tell where it came from (and i use some more possible position where i use this function).
If you like you can sent me a the link in the private message, if you don't like that someone else should see it.
Bye
DIN1031
Greeting 1st i want to say thank you very much for the Great Mod
I m installing it on not default theme its working very good
but i have some error on my theme ( see picture ) and page error after
use ThankOMaticAddOnKarma 1.00 addon ?
Pls. tell me about how to check this error
thank you for advance
my board
smf 1.1.4
hide tag special v. 1.6 upgrade to 1.70
ThankOMatic v. 1.20
ThankOMaticAddOnKarma 1.00
sorry for my poor english :)
Quote from: watt on March 04, 2008, 03:16:52 PM
Greeting 1st i want to say thank you very much for the Great Mod
I m installing it on not default theme its working very good
but i have some error on my theme ( see picture ) and page error after
use ThankOMaticAddOnKarma 1.00 addon ?
Pls. tell me about how to check this error
thank you for advance
my board
smf 1.1.4
hide tag special v. 1.6 upgrade to 1.70
ThankOMatic v. 1.20
ThankOMaticAddOnKarma 1.00
sorry for my poor english :)
This happen after you install the Thank-O-Matic AddOn Karma?
If yes please attach your ThankYouPost.php here.
The only other thing that could happen, did you make a translation for the mod, and make a mistake there?
Bye
DIN1031
On the preview part - where it has a box that says
How many items should be shown in the previewlist?
(0 = all)
I have tried putting a 0 in there and it wont update. When I click save it wont keep the 0 - it goes back to being empty. It will let me put any number in there other than 0 and it updates right.
Any ideas?
Quote from: Kimmie on March 05, 2008, 04:53:56 AM
On the preview part - where it has a box that says
How many items should be shown in the previewlist?
(0 = all)
I have tried putting a 0 in there and it wont update. When I click save it wont keep the 0 - it goes back to being empty. It will let me put any number in there other than 0 and it updates right.
Any ideas?
... should i answer this...
0 = empty = nothing so if you put 0 in there smf insert nothing in the table because its the same as 0. Why is that a problem... if it empty it show all, as long the preview is enabled.
To enable it there should be a extra checkbox... "Enable Preview List under the post in the Topic".
Bye
DIN1031
YES you should answer this...its your mod
I am trying to put 0 in there because it says "0 = All", not "empty = All".
Sorry! not everyone KNOWS that 0 and empty mean the SAME thing. No need to be rude by asking if you should even answer it. It was a legitimate question.
Make your mods more clear to folks from now on and you wont have people asking what you obciously think are dumb questions.
A wise person once told me that the ONLY dumb question is an UN-ASKED question.
FYI:
QuoteTo enable it there should be a extra checkbox... "Enable Preview List under the post in the Topic".
Thats not what I asked you about.
Thank you very much for your fast reply :)
after i install ThankOMatic v. 1.20 (with out add on) found error on theme ( see picture ) , can't quote , can't preview before post
my board
smf 1.1.4
hide tag special v. 1.6 upgrade to 1.70
ThankOMatic v. 1.20
my modify theme
thank you for advance :)
Quote from: Kimmie on March 06, 2008, 12:56:03 AM
YES you should answer this...its your mod
I am trying to put 0 in there because it says "0 = All", not "empty = All".
Sorry! not everyone KNOWS that 0 and empty mean the SAME thing. No need to be rude by asking if you should even answer it. It was a legitimate question.
Make your mods more clear to folks from now on and you wont have people asking what you obciously think are dumb questions.
A wise person once told me that the ONLY dumb question is an UN-ASKED question.
FYI:
QuoteTo enable it there should be a extra checkbox... "Enable Preview List under the post in the Topic".
Thats not what I asked you about.
And i did not understand it what you exactly ask for... i tried to answer it as good as possible... sorry i understand it wrong... but even i've a bad day, and i answer each question even if i don't like it, and try to answer it as good as possible. If you have a problem with that i can live with it. I could also not answer it, because its my choice if i answer and how i answer.
And again you need to enter 0 that SMF know that it empty, and it store the empty 0 value in the database, but put it not in the text field and i can not do something against it. And what is problem if i write 0 = all, i think that is enough and i will not change it, even if you say that it not correct, but it is. If you think this should be perfect than thats your choose to change the language file for this, like you wish for... i will not do it, for me this is not needed because, 0 = empty and empty = 0...
Quote from: watt on March 06, 2008, 12:05:06 PM<br />Thank you very much for your fast reply <img src="http://www.simplemachines.org/community/Smileys/alienine/smiley.gif" border="0" alt="" title="" onresizestart="return false;" id="smiley_1_smiley.gif" style="padding-left: 6px;" /><br /><br /><br />after i install ThankOMatic v. 1.20 (with out add on) found error on theme ( see picture ) , can't quote , can't preview before post <br /><br /><br /><br />my board<br /><br /> smf 1.1.4<br /> hide tag special v. 1.6 upgrade to 1.70<br /> ThankOMatic v. 1.20<br /> my modify theme<br /><br /> thank you for advance <img src="http://www.simplemachines.org/community/Smileys/alienine/smiley.gif" border="0" alt="" title="" onresizestart="return false;" id="smiley_2_smiley.gif" style="padding-left: 6px;" /><br />
Did you make the theme changes by yourself?
What did you exactly change?
It's very difficult to say what went wrong.
Can i've link to you page?
Bye
DIN1031
DIn1031
Hi DIN1031
1. yes i modify my theme (base on alienation11RC3 )manual from your mod info.
2. i modify only display.template.php after install ThankOMatic v. 1.20 .
3. my page http://www.playfc.com/forum/
4. i very happy to show all php file from my theme if you want .
thank you for advance :)
Quote from: watt on March 06, 2008, 02:19:04 PM
Hi DIN1031
1. yes i modify my theme (base on alienation11RC3 )manual from your mod info.
2. i modify only display.template.php after install ThankOMatic v. 1.20 .
3. my page http://www.playfc.com/forum/
4. i very happy to show all php file from my theme if you want .
thank you for advance :)
Hmmm if you give me the Display.template.php i can look into the file, if there is a mistake =).
Bye
DIN1031
QuoteAnd again you need to enter 0 that SMF know that it empty, and it store the empty 0 value in the database, but put it not in the text field
The point I was trying to make is that by it simply stating "0=All" in admin cp, one automatically "assumes" that if you type a 0 in there, it wiill not ONLY store that in the DB, but store the number in the box as well. That "is" what it says. When I didnt "see" the number I typed in appear as having saved in the box, THAT is when the questions about it came up. As much as I would like to, I cannot read minds. I had NO idea that with your mod, it wouldnt keep the 0 in the box, but it was actually telling the db to show all the names. In the SMF software, MOST settings that have an "all" option usually are left "empty" - the "0" is used when you need to disable the feature - you do not have to type in a number in the box for it.
Do you see now, my confusion with your setting? I have never seen a setting to where it asks you to type in a number for a certain result, and that number not remain in the box.
My only problem with what you posted was they way you posted it. It came of rather rude when you said "Should I even answer this...". The answer to that is simple. Someone has downloaded a mod you created. Its common courtesy to respond to someone that may need help with it. I have asked you other questions in this topic about other things and you did not reply to me in that fashion. It was just uncalled for. I understand people can misunderstand what someone is asking, however, any response still needs to be respectful.
Its not really a problem anymore. I inserted the number 1000 in the box so there shouldnt be any issues with all the names not appearing.
With all that being said, thank you for a good mod. My members are enjoying. it.
what happened to this? :
QuoteName: Thank-O-Matic Add On: SSI Top Posts
AddOn Version 1.0.0
File: ThankOMaticSSITopThanksPostsXXX.zip
Description: This Addon add new function to the SSI.php where you can load the top thank you posts.
For Thank-O-Matic Version: 1.0.0+
Quote from: ByeVas on March 12, 2008, 03:16:29 PM
what happened to this? :
QuoteName: Thank-O-Matic Add On: SSI Top Posts
AddOn Version 1.0.0
File: ThankOMaticSSITopThanksPostsXXX.zip
Description: This Addon add new function to the SSI.php where you can load the top thank you posts.
For Thank-O-Matic Version: 1.0.0+
Oh... wehre is this xD.
I must search for it and upload it again.
Bye
DIN1031
Hope you find it :) It was VERY useful
I am getting random errors in my log that look like this:
8: Undefined index: 0
File: /home/patriotg/public_html/Sources/ThankYouPost.php
Line: 569
They happen on random posts. It seems like if I delete that post, and repst the same exact thing, that post is fine.
The only other mods I have since installed is the Profile Comments mod, and the Member Color Link mods. The thankyou mod worked fine before those were installed.
Any ideas?
I have attached a copy of the thankyoupost.php file for your viewing pleasure :)
Quote from: Kimmie on March 23, 2008, 05:37:40 PM
I am getting random errors in my log that look like this:
8: Undefined index: 0
File: /home/patriotg/public_html/Sources/ThankYouPost.php
Line: 569
They happen on random posts. It seems like if I delete that post, and repst the same exact thing, that post is fine.
The only other mods I have since installed is the Profile Comments mod, and the Member Color Link mods. The thankyou mod worked fine before those were installed.
Any ideas?
I have attached a copy of the thankyoupost.php file for your viewing pleasure :)
Hope the Version 1.2.1 will fix the bug ;).
Bye
DIN1031
Quote from: ディン1031 on March 24, 2008, 02:22:53 PM
Quote from: Kimmie on March 23, 2008, 05:37:40 PM
I am getting random errors in my log that look like this:
8: Undefined index: 0
File: /home/patriotg/public_html/Sources/ThankYouPost.php
Line: 569
They happen on random posts. It seems like if I delete that post, and repst the same exact thing, that post is fine.
The only other mods I have since installed is the Profile Comments mod, and the Member Color Link mods. The thankyou mod worked fine before those were installed.
Any ideas?
I have attached a copy of the thankyoupost.php file for your viewing pleasure :)
Hope the Version 1.2.1 will fix the bug ;).
Bye
DIN1031
Thanks :)
do I need to uninstall the one I have now - or can I upgrade it to the newer version? If I have to uninstall the one I have now, will the new one remember all the thank you's that have already been given and remember everyones totals or will members have to "re-thank" in those posts and start their stats all over again?
Quote from: Kimmie on March 25, 2008, 01:30:53 PM
Thanks :)
do I need to uninstall the one I have now - or can I upgrade it to the newer version? If I have to uninstall the one I have now, will the new one remember all the thank you's that have already been given and remember everyones totals or will members have to "re-thank" in those posts and start their stats all over again?
My mod never delete anything :x. (Because to many people upgrade with a deinstall and newinstall). (Only in Version 1.1.2, there where are a reset but this reset was needed <<.)
But there is a upgrade in the Package, if you upload the new Version and and go to the Package Manager than there will be a upgrade instead of a Install. With that upgrade it will only insert the changes into the file, so that all data and settings are left like before. (And yes you don't ask for it, but i want say it for the other people, too.)
Bye
DIN1031
Awesome! I will try it as soon as my backup is finished and let you know if it resolves the issue. :)
EDIT: That fixed the problem THANKS!!!! :D
hi,
I installed this mod, all worked good during the installation, but when I go into my forum, I have a white page with written: "Unknown column 'thank_you_post_enable' in 'field list'"
All the file are modified but Not the DB, there isn't the new table "thank_you_post"
I dont know why.
I am using SMF 1.1.4 virgin, just installed
Help plz
EDIT: I found the problem: at the begin of "install1.x.x.php" there is <?
and should be <?php
with this all works fine.
Installation done, but I have a fatal error on my board:
I am the administrator, but I tryed also with Gmod with permissions, when I go to "give" thaks, I have this fatal error, and at the bottom is written: Unable to load the main template
1) fatal_error($txt['thxislocked'], false); //Okay new one? if(empty($status)) db_query(" UPDATE {$db_prefix}messages SET thank_you_post = 1 WHERE ID_MSG = $_GET[msg] LIMIT 1", __FILE__, __LINE__); //So mow add the now thx :) db_query(" INSERT INTO {$db_prefix}thank_you_post (ID_MSG, ID_TOPIC, ID_BOARD, ID_MEMBER, memberName, thx_time) VALUES ($ID_MSG, $topic, $board, $ID_MEMBER, '".$user_info['name']."', ".time().")", __FILE__, __LINE__); //Update Stats :) updateMemberData($ID_MEMBER, array('thank_you_post_made' => '+')); if(!empty($ID_MEMBER_POST)) updateMemberData($ID_MEMBER_POST, array('thank_you_post_became' => '+')); //Okay Update the
Quote from: cellax on April 05, 2008, 07:39:45 PM
Installation done, but I have a fatal error on my board:
I am the administrator, but I tryed also with Gmod with permissions, when I go to "give" thaks, I have this fatal error, and at the bottom is written: Unable to load the main template
1) fatal_error($txt['thxislocked'], false); //Okay new one? if(empty($status)) db_query(" UPDATE {$db_prefix}messages SET thank_you_post = 1 WHERE ID_MSG = $_GET[msg] LIMIT 1", __FILE__, __LINE__); //So mow add the now thx :) db_query(" INSERT INTO {$db_prefix}thank_you_post (ID_MSG, ID_TOPIC, ID_BOARD, ID_MEMBER, memberName, thx_time) VALUES ($ID_MSG, $topic, $board, $ID_MEMBER, '".$user_info['name']."', ".time().")", __FILE__, __LINE__); //Update Stats :) updateMemberData($ID_MEMBER, array('thank_you_post_made' => '+')); if(!empty($ID_MEMBER_POST)) updateMemberData($ID_MEMBER_POST, array('thank_you_post_became' => '+')); //Okay Update the
You give the GMod the Premission to post a Thank You?
You enabled it in the Board the Thank-O-Matic?
Which Version did you install? ;)
.oO(i don't know how in this position the template is not loading oO, there is no template load).
And how did the error message look like complete? Because i've no idea where it could come from...
Bye
DIN1031
I am installing it on a new SMF 1.1.4
Thank-O-matic 1.2.1 but the readme says it:
QuoteThank-O-Matic Version 1.1.0
The Mod install a vbulltin Thank You Style, with this there is a way to say thank you to posts, not only topics.
Permissions are all checked:
Permissions (http://i31.tinypic.com/2ld98c6.jpg)
Board actived (http://i27.tinypic.com/veudg6.jpg)
error first part (http://i25.tinypic.com/ifykcz.jpg)
error last part (http://i27.tinypic.com/29mlh5x.jpg)
this is my DB table
CREATE TABLE `smf_thank_you_post` (
`ID_THX_POST` int(10) unsigned NOT NULL auto_increment,
`ID_MSG` int(10) unsigned NOT NULL,
`ID_TOPIC` mediumint(8) unsigned NOT NULL,
`ID_BOARD` smallint(5) unsigned NOT NULL,
`ID_MEMBER` mediumint(8) unsigned NOT NULL,
`memberName` varchar(80) NOT NULL,
`thx_time` int(10) unsigned NOT NULL,
PRIMARY KEY (`ID_THX_POST`),
KEY `ID_BOARD` (`ID_BOARD`),
KEY `ID_MSG` (`ID_MSG`),
KEY `ID_TOPIC` (`ID_TOPIC`),
KEY `ID_MEMBER` (`ID_MEMBER`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
thx
EDIT: the problem was still on PHP tag, at the begin of sources/ThankYouPost.php
there was
<?
but should be
<?php
now all it's working, I am testing
Hello,
I've recently migrate my form from version 1.4.4 to 2.0 beta 3 in order to test this new version (and hopefully to migrate faster when final version will be released ;-) ).
For information : I've got "Thank You Mod" installed on my 1.4.4 version so that the tables for TY mod are present in SMF2 database. Indeed I've upgraded my 1.4.4 tables to 2.0 beta 3 but I'm using a fresh installation of SMF2.0 for the files ;-)
So I've isntalled "Thank-O-Matic" mod in my SMF2 forum but after mod installation, I've got this message at the bottom of each pages of the forum :
QuoteFatal error: Cannot redeclare template_thank_you_post() (previously declared in /home/www/.../web/forum/Sources/Load.php(1872) : eval()'d code:607) in /home/www/.../web/forum/Sources/Load.php(1872) : eval()'d code on line 470
Just in case, I've got zero message errors before in the installation.
I'm struggling since some hours for finding why this message but I just don't understand ... any idea ?
Thank you for any help :P
Bye
found mistakes into the ENGLISH translation:
<file name="$languagedir/Errors.english.php">
<operation>
<search position="after"><![CDATA[?>]]></search>
<add><![CDATA[
//Thank-O-Matic Premmisions Errors ;)
$txt['cannot_thank_you_post_show'] = "You're not allowed to see this Thank You List!";
$txt['cannot_thank_you_post_post'] = "You're are not allowed to use Thank You Options!";
$txt['cannot_thank_you_post_lock_own'] = "You're are not allowed to use Thank You Options!";
$txt['cannot_thank_you_post_lock_any'] = "You're are not allowed to use Thank You Options!";
$txt['cannot_thank_you_post_delete_own'] = "You're are not allowed to use Thank You Options!";
$txt['cannot_thank_you_post_delete_any'] = "You're are not allowed to use Thank You Options!";
$txt['cannot_thank_you_post_delete_mem_own'] = "You're are not allowed to use Thank You Options!";
$txt['cannot_thank_you_post_delete_mem_any'] = "You're are not allowed to use Thank You Options!";
$txt['cannot_thank_you_post_lock_all_own'] = "You're are not allowed to use Thank You Options!";
$txt['cannot_thank_you_post_lock_all_any'] = "You're are not allowed to use Thank You Options!";
$txt['cannot_thank_you_post_unlock_all'] = "You're are not allowed to use Thank You Options!";
]]></add>
</operation>
</file>
To Be written twice
Translate Portuguese pt_PT And Pt_BR
IN Attach
Any erro where our in my forum joomlamz
Hello, i have a question about the Thank-o-matic
first i wanna say it works great on my forum and im have no troubles with it at all
but i was wondering 1 thing
on my forum, i allow guests to view all posts without registering, but i only allow registered people to post to avoid spam attacks,
I was curious, is it possible to allow Guests to be able to see and click the "Thank You" allowing the Thank you count to rise, but when clicked to see who said thanks, would say 34 guests , frank, joe, bob, etc?)
Id love to know if this is possible and if so where i can find the settings, or was wondering how difficult this would be to add to the mod and reinstall without to much troubles
Thanks in advance for any information and thanks again for this mod, very helpful
Quote from: ByeVas on March 12, 2008, 03:16:29 PM
what happened to this? :
QuoteName: Thank-O-Matic Add On: SSI Top Posts
AddOn Version 1.0.0
File: ThankOMaticSSITopThanksPostsXXX.zip
Description: This Addon add new function to the SSI.php where you can load the top thank you posts.
For Thank-O-Matic Version: 1.0.0+
is this add-on abandoned?
I changed a part of code becouse in my language there is difference on verbs talking about 1 or 10 users
looking on Display.template.php for:
//Counter and Link to the direkt or complete list :)
echo '
<a href="'.$message['thank_you_post']['href'].'">
'.$txt['thank_you_link_beforecounter'].' '.$message['thank_you_post']['counter'].' '.($message['thank_you_post']['counter'] == 1 ? $txt['thank_you_link_member'] : $txt['thank_you_link_members']).' '.$txt['thank_you_link_aftercounter'].'
</a>';
replace with:
//Counter and Link to the direkt or complete list :)
echo '
<a href="'.$message['thank_you_post']['href'].'">
'.$txt['thank_you_link_beforecounter'].' '.$message['thank_you_post']['counter'].' '.($message['thank_you_post']['counter'] == 1 ? $txt['thank_you_link_member'] : $txt['thank_you_link_members']).' '.($message['thank_you_post']['counter'] == 1 ? $txt['thank_you_link_aftercounter'] : $txt['thank_you_link_aftercounters']).'
</a>';
as you can see I defined singular and plural at the end of code task with AFTERCOUTER and AFTERCOUNTERS
and I defined the language command on index.italian.php too:
$txt['thank_you_link_aftercounter'] = 'ringrazia/concorda!'; //singular
$txt['thank_you_link_aftercounters'] = 'ringraziano/concordano!'; //plural
for english I defined too but with the same translation:
$txt['thank_you_link_aftercounter'] = 'gave a thank you!'; //singular
$txt['thank_you_link_aftercounters'] = 'gave a thank you!'; //plural
Uhh a lot changes in the English Translation :)
Thx i will at it as soon as possible.
Also the change with <? to <?php will be done there... i thought i use it standard... but okay =).
Uff and i never saw this double insert, I read it so offen but never see this "'re are" :x
(Normal in german it's the same, but i use a trick for it *g*)
@ByeVas
No it's not... i had a crash of my datas some weeks ago, and somehow this is not on the backup...
@slinouille
I will look why this happen, normal it should check if this is recleared but it's possible that i made a mistake there.
Okay i made no mistake there... (on the first look over), i think the parse insert the script somehow two times in the index.template.php file... (Thats the only solution that i've).
Bye
DIN1031
When I click on the "Thank You Posts" link in certain peoples profiles, I get this message even though they have clicked on the thank you buttons in several posts/topics:
"Sorry, no matches were found "
It works fine on some.
Any ideas why this might be happening?
Quote from: Kimmie on April 14, 2008, 03:49:42 PM
When I click on the "Thank You Posts" link in certain peoples profiles, I get this message even though they have clicked on the thank you buttons in several posts/topics:
"Sorry, no matches were found "
It works fine on some.
Any ideas why this might be happening?
Hmmm i don't know, normal i use the same function as smf for this, with only the diffrent that i add a compare with the thank you post, but i think it should work evertime. But i will look, but i think it's very difficult to find out why it happen...
Ah i know i've idea why this happen, could it be possible that the user who look for it, is not allowed to see the board, where the user made his thank you's? Because the script check for this, too.
@W33hls
No i will no integrate this. It's to much work for me.
Bye
DIN1031
Quote from: ディン1031 on April 15, 2008, 12:42:18 AM
Quote from: Kimmie on April 14, 2008, 03:49:42 PM
When I click on the "Thank You Posts" link in certain peoples profiles, I get this message even though they have clicked on the thank you buttons in several posts/topics:
"Sorry, no matches were found "
It works fine on some.
Any ideas why this might be happening?
Hmmm i don't know, normal i use the same function as smf for this, with only the diffrent that i add a compare with the thank you post, but i think it should work evertime. But i will look, but i think it's very difficult to find out why it happen...
Ah i know i've idea why this happen, could it be possible that the user who look for it, is not allowed to see the board, where the user made his thank you's? Because the script check for this, too.
Bye
DIN1031
I just figured out what the problem is.. the "Thank You Posts" link that is in a persons profile shows the thank yous that that member has "received" not the thank yous they have "given".
Is there a way to add a feature for admins (or for both members and admins) so that they/I can actually see a listing of the thank yous that a member has "given"? Maybe add an additional link on their profile page - and change the names to "Thank You's Given" and "Thank You's Received"?
Quote from: Kimmie on April 16, 2008, 03:12:49 AM
Quote from: ディン1031 on April 15, 2008, 12:42:18 AM
Quote from: Kimmie on April 14, 2008, 03:49:42 PM
When I click on the "Thank You Posts" link in certain peoples profiles, I get this message even though they have clicked on the thank you buttons in several posts/topics:
"Sorry, no matches were found "
It works fine on some.
Any ideas why this might be happening?
Hmmm i don't know, normal i use the same function as smf for this, with only the diffrent that i add a compare with the thank you post, but i think it should work evertime. But i will look, but i think it's very difficult to find out why it happen...
Ah i know i've idea why this happen, could it be possible that the user who look for it, is not allowed to see the board, where the user made his thank you's? Because the script check for this, too.
Bye
DIN1031
I just figured out what the problem is.. the "Thank You Posts" link that is in a persons profile shows the thank yous that that member has "received" not the thank yous they have "given".
Is there a way to add a feature for admins (or for both members and admins) so that they/I can actually see a listing of the thank yous that a member has "given"? Maybe add an additional link on their profile page - and change the names to "Thank You's Given" and "Thank You's Received"?
Ah okay, you're right ;).
Hmmmm Yes i think it's possible to extract a list of Thank You's that the user given to other users. I will see if i can programm a Add On for it. At the moment i will first make the other fixes before create the addon ;).
Update the mod, and insert all the Changes that cellax mentions.
Bye
DIN1031
Fatal error: Call to undefined function: showposts() in /home/sites/thebillfansite.co.uk/public_html/Sources/Profile.php on line 352
I am getting this error message after installing 1.2.1 on SMF 1.1.4. I did have it installed before but have a non default theme so the install showed on some themes and not on others!
This error occurs when i look at "Show Posts" in my profile. The other errors were mainly duplicate entries which have been to the best of my ability resolved.
Any suggestions?
Incuded the Profile.php . LINE 352 = $_REQUEST['sa']($memID);
'website' => array(
'title' => !isset($user_profile[$memID]['websiteTitle']) ? '' : $user_profile[$memID]['websiteTitle'],
'url' => !isset($user_profile[$memID]['websiteUrl']) ? '' : $user_profile[$memID]['websiteUrl'],
),
'thank_you_post' => array(
'made' => !isset($user_profile[$memID]['thank_you_post_made']) ? '0' : $user_profile[$memID]['thank_you_post_made'],
'became' => !isset($user_profile[$memID]['thank_you_post_became']) ? '0' : $user_profile[$memID]['thank_you_post_became'],
),
);
// Call the appropriate subaction function.
$_REQUEST['sa']($memID);
if (!empty($post_errors))
{
// Set all the errors so the template knows what went wrong.
foreach ($post_errors as $error_type)
$context['modify_error'][$error_type] = true;
rememberPostData();
First i don't think tha my mod have done this oO. (I don't know how the mod could do that *g*).
You need to insert the Standard SMF Function again, i think you delete to much (i don't know what you exactly deleted).
// Show all posts by the current user
function showPosts($memID)
{
global $txt, $user_info, $scripturl, $modSettings, $db_prefix;
global $context, $user_profile, $ID_MEMBER, $sourcedir;
// If just deleting a message, do it and then redirect back.
if (isset($_GET['delete']))
{
checkSession('get');
// We can be lazy, since removeMessage() will check the permissions for us.
require_once($sourcedir . '/RemoveTopic.php');
removeMessage((int) $_GET['delete']);
// Back to... where we are now ;).
redirectexit('action=profile;u=' . $memID . ';sa=showPosts;start=' . $_GET['start']);
}
// Is the load average too high to allow searching just now?
if (!empty($context['load_average']) && !empty($modSettings['loadavg_show_posts']) && $context['load_average'] >= $modSettings['loadavg_show_posts'])
fatal_lang_error('loadavg_show_posts_disabled', false);
// Default to 10.
if (empty($_REQUEST['viewscount']) || !is_numeric($_REQUEST['viewscount']))
$_REQUEST['viewscount'] = '10';
$request = db_query("
SELECT COUNT(*)
FROM ({$db_prefix}messages AS m, {$db_prefix}boards AS b)
WHERE m.ID_MEMBER = $memID
AND b.ID_BOARD = m.ID_BOARD
AND $user_info[query_see_board]", __FILE__, __LINE__);
list ($msgCount) = mysql_fetch_row($request);
mysql_free_result($request);
$request = db_query("
SELECT MIN(ID_MSG), MAX(ID_MSG)
FROM {$db_prefix}messages AS m
WHERE m.ID_MEMBER = $memID", __FILE__, __LINE__);
list ($min_msg_member, $max_msg_member) = mysql_fetch_row($request);
mysql_free_result($request);
$reverse = false;
$range_limit = '';
$maxIndex = (int) $modSettings['defaultMaxMessages'];
// Make sure the starting place makes sense and construct our friend the page index.
$context['start'] = (int) $_REQUEST['start'];
$context['page_index'] = constructPageIndex($scripturl . '?action=profile;u=' . $memID . ';sa=showPosts', $context['start'], $msgCount, $maxIndex);
$context['current_page'] = $context['start'] / $maxIndex;
$context['current_member'] = $memID;
// Reverse the query if we're past 50% of the pages for better performance.
$start = $context['start'];
$reverse = $_REQUEST['start'] > $msgCount / 2;
if ($reverse)
{
$maxIndex = $msgCount < $context['start'] + $modSettings['defaultMaxMessages'] + 1 && $msgCount > $context['start'] ? $msgCount - $context['start'] : (int) $modSettings['defaultMaxMessages'];
$start = $msgCount < $context['start'] + $modSettings['defaultMaxMessages'] + 1 || $msgCount < $context['start'] + $modSettings['defaultMaxMessages'] ? 0 : $msgCount - $context['start'] - $modSettings['defaultMaxMessages'];
}
// Guess the range of messages to be shown.
if ($msgCount > 1000)
{
$margin = floor(($max_msg_member - $min_msg_member) * (($start + $modSettings['defaultMaxMessages']) / $msgCount) + .1 * ($max_msg_member - $min_msg_member));
$range_limit = $reverse ? 'ID_MSG < ' . ($min_msg_member + $margin) : 'ID_MSG > ' . ($max_msg_member - $margin);
}
$context['page_title'] = $txt[458] . ' ' . $user_profile[$memID]['realName'];
// Find this user's posts. The left join on categories somehow makes this faster, weird as it looks.
$looped = false;
while (true)
{
$request = db_query("
SELECT
b.ID_BOARD, b.name AS bname, c.ID_CAT, c.name AS cname, m.ID_TOPIC, m.ID_MSG,
t.ID_MEMBER_STARTED, t.ID_FIRST_MSG, t.ID_LAST_MSG, m.body, m.smileysEnabled,
m.subject, m.posterTime
FROM ({$db_prefix}messages AS m, {$db_prefix}topics AS t, {$db_prefix}boards AS b)
LEFT JOIN {$db_prefix}categories AS c ON (c.ID_CAT = b.ID_CAT)
WHERE m.ID_MEMBER = $memID
AND m.ID_TOPIC = t.ID_TOPIC
AND t.ID_BOARD = b.ID_BOARD" . (empty($range_limit) ? '' : "
AND $range_limit") . "
AND $user_info[query_see_board]
ORDER BY m.ID_MSG " . ($reverse ? 'ASC' : 'DESC') . "
LIMIT $start, $maxIndex", __FILE__, __LINE__);
// Make sure we quit this loop.
if (mysql_num_rows($request) === $maxIndex || $looped)
break;
$looped = true;
$range_limit = '';
}
// Start counting at the number of the first message displayed.
$counter = $reverse ? $context['start'] + $maxIndex + 1 : $context['start'];
$context['posts'] = array();
$board_ids = array('own' => array(), 'any' => array());
while ($row = mysql_fetch_assoc($request))
{
// Censor....
censorText($row['body']);
censorText($row['subject']);
// Do the code.
$row['body'] = parse_bbc($row['body'], $row['smileysEnabled'], $row['ID_MSG']);
// And the array...
$context['posts'][$counter += $reverse ? -1 : 1] = array(
'body' => $row['body'],
'counter' => $counter,
'category' => array(
'name' => $row['cname'],
'id' => $row['ID_CAT']
),
'board' => array(
'name' => $row['bname'],
'id' => $row['ID_BOARD']
),
'topic' => $row['ID_TOPIC'],
'subject' => $row['subject'],
'start' => 'msg' . $row['ID_MSG'],
'time' => timeformat($row['posterTime']),
'timestamp' => forum_time(true, $row['posterTime']),
'id' => $row['ID_MSG'],
'can_reply' => false,
'can_mark_notify' => false,
'can_delete' => false,
'delete_possible' => ($row['ID_FIRST_MSG'] != $row['ID_MSG'] || $row['ID_LAST_MSG'] == $row['ID_MSG']) && (empty($modSettings['edit_disable_time']) || $row['posterTime'] + $modSettings['edit_disable_time'] * 60 >= time()),
);
if ($ID_MEMBER == $row['ID_MEMBER_STARTED'])
$board_ids['own'][$row['ID_BOARD']][] = $counter;
$board_ids['any'][$row['ID_BOARD']][] = $counter;
}
mysql_free_result($request);
// All posts were retrieved in reverse order, get them right again.
if ($reverse)
$context['posts'] = array_reverse($context['posts'], true);
// These are all the permissions that are different from board to board..
$permissions = array(
'own' => array(
'post_reply_own' => 'can_reply',
'delete_own' => 'can_delete',
),
'any' => array(
'post_reply_any' => 'can_reply',
'mark_any_notify' => 'can_mark_notify',
'delete_any' => 'can_delete',
)
);
// For every permission in the own/any lists...
foreach ($permissions as $type => $list)
{
foreach ($list as $permission => $allowed)
{
// Get the boards they can do this on...
$boards = boardsAllowedTo($permission);
// Hmm, they can do it on all boards, can they?
if (!empty($boards) && $boards[0] == 0)
$boards = array_keys($board_ids[$type]);
// Now go through each board they can do the permission on.
foreach ($boards as $board_id)
{
// There aren't any posts displayed from this board.
if (!isset($board_ids[$type][$board_id]))
continue;
// Set the permission to true ;).
foreach ($board_ids[$type][$board_id] as $counter)
$context['posts'][$counter][$allowed] = true;
}
}
}
// Clean up after posts that cannot be deleted.
foreach ($context['posts'] as $counter => $dummy)
$context['posts'][$counter]['can_delete'] &= $context['posts'][$counter]['delete_possible'];
}
This is the Standard Function, what is normaly in the SMF installation. Insert it into the File again, and it should work like before.
Bye
DIN1031
Fatal error: Call to undefined function: showposts() in /home/sites/thebillfansite.co.uk/public_html/Sources/Profile.php on line 352Quote from: ディン1031 on April 18, 2008, 01:12:16 AM
First i don't think tha my mod have done this oO. (I don't know how the mod could do that *g*).
You need to insert the Standard SMF Function again, i think you delete to much (i don't know what you exactly deleted).
I'm so sorry if I gave the wrong Impression. It was not the code but my manual install as I have a non default theme.
Quote from: ディン1031 on April 18, 2008, 01:12:16 AM
I think you delete to much (i don't know what you exactly deleted).
I think so too :). It was my editing of the the code that caused the error. As I said, I have had the previous version working very well!
Thank you for your assistance and very prompt response regarding this for which I am grateful.
Mickey
UPDATE: RESOLVED O:)
Quote from: ディン1031 on April 16, 2008, 05:31:35 AM
Quote from: Kimmie on April 16, 2008, 03:12:49 AM
Quote from: ディン1031 on April 15, 2008, 12:42:18 AM
Quote from: Kimmie on April 14, 2008, 03:49:42 PM
When I click on the "Thank You Posts" link in certain peoples profiles, I get this message even though they have clicked on the thank you buttons in several posts/topics:
"Sorry, no matches were found "
It works fine on some.
Any ideas why this might be happening?
Hmmm i don't know, normal i use the same function as smf for this, with only the diffrent that i add a compare with the thank you post, but i think it should work evertime. But i will look, but i think it's very difficult to find out why it happen...
Ah i know i've idea why this happen, could it be possible that the user who look for it, is not allowed to see the board, where the user made his thank you's? Because the script check for this, too.
Bye
DIN1031
I just figured out what the problem is.. the "Thank You Posts" link that is in a persons profile shows the thank yous that that member has "received" not the thank yous they have "given".
Is there a way to add a feature for admins (or for both members and admins) so that they/I can actually see a listing of the thank yous that a member has "given"? Maybe add an additional link on their profile page - and change the names to "Thank You's Given" and "Thank You's Received"?
Ah okay, you're right ;).
Hmmmm Yes i think it's possible to extract a list of Thank You's that the user given to other users. I will see if i can programm a Add On for it. At the moment i will first make the other fixes before create the addon ;).
Update the mod, and insert all the Changes that cellax mentions.
Bye
DIN1031
Do I install 1.2.2 just like I did 1.2.1 (leave everything on thats already there- upload this one and then click "upgrade"?
Where do I find the change instructions you mentioned fom cellax (or do "I" even need to make any other changes)?
Hey,
i installed Thank-O-Matic 1.2.2 today and now i have some problems.
Here the Messages:
If i want so setup my Board (http://thebra1nless.th.funpic.de/images/Board.JPG)
If i click on Profil (http://thebra1nless.th.funpic.de/images/Profil.JPG)
If i want to read a thread (http://thebra1nless.th.funpic.de/images/Topic.JPG)
I don't know what the problem is.
THX for help!
Quote from: The_Bra1nless on April 19, 2008, 08:44:18 AM
Hey,
i installed Thank-O-Matic 1.2.2 today and now i have some problems.
Here the Messages:
If i want so setup my Board (http://thebra1nless.th.funpic.de/images/Board.JPG)
If i click on Profil (http://thebra1nless.th.funpic.de/images/Profil.JPG)
If i want to read a thread (http://thebra1nless.th.funpic.de/images/Topic.JPG)
I don't know what the problem is.
THX for help!
All the Database Changes are not done oO.
Upload the install1.x.x.php to the board dir and open it direct with the browser, normal the changes for the database should be done then.
Bye
DIN1031
Quote from: ディン1031 on April 19, 2008, 09:00:16 AM
All the Database Changes are not done oO.
Upload the install1.x.x.php to the board dir and open it direct with the browser, normal the changes for the database should be done then.
Bye
DIN1031
I tryed it but nothing happen.
Is it possible, that i configured something wrong?
I use another language and another theme has that some effect?
Greetz!
Quote from: The_Bra1nless on April 20, 2008, 08:09:15 AM
Quote from: ディン1031 on April 19, 2008, 09:00:16 AM
All the Database Changes are not done oO.
Upload the install1.x.x.php to the board dir and open it direct with the browser, normal the changes for the database should be done then.
Bye
DIN1031
I tryed it but nothing happen.
Is it possible, that i configured something wrong?
I use another language and another theme has that some effect?
Greetz!
If i see the errors i'm 100% sure that the Database changes are missing...
Not evene a "Database Changes Made" or something like that stand there?
Bye
DIN1031
Quote from: Kimmie on April 19, 2008, 04:59:23 AM
Do I install 1.2.2 just like I did 1.2.1 (leave everything on thats already there- upload this one and then click "upgrade"?
Where do I find the change instructions you mentioned fom cellax (or do "I" even need to make any other changes)?
Is it safe to assume that the answer to my 1st question is yes? If so, what changes do I need to make to get the additional profile add-on to work? (there is nothing in the zip file with any type of instructions - that I could find).
Quote from: Kimmie on April 21, 2008, 08:32:26 AM
Quote from: Kimmie on April 19, 2008, 04:59:23 AM
Do I install 1.2.2 just like I did 1.2.1 (leave everything on thats already there- upload this one and then click "upgrade"?
Where do I find the change instructions you mentioned fom cellax (or do "I" even need to make any other changes)?
Is it safe to assume that the answer to my 1st question is yes? If so, what changes do I need to make to get the additional profile add-on to work? (there is nothing in the zip file with any type of instructions - that I could find).
Oh i did it not see xD.
The Upgrade work like before ;).
Normal this Function is integrated into the Mod, so it should normal work.
If this not so, than you need to do the Theme Changes of the Profile.template.php in your current theme.
Bye
DIN1031
Quote from: ディン1031 on April 21, 2008, 12:43:03 AM
If i see the errors i'm 100% sure that the Database changes are missing...
Not evene a "Database Changes Made" or something like that stand there?
Bye
DIN1031
No, there is a blank page!
Or is it possible to create these database entry manually?
Quote from: The_Bra1nless on April 21, 2008, 05:27:44 PM
Quote from: ディン1031 on April 21, 2008, 12:43:03 AM
If i see the errors i'm 100% sure that the Database changes are missing...
Not evene a "Database Changes Made" or something like that stand there?
Bye
DIN1031
No, there is a blank page!
Or is it possible to create these database entry manually?
Hmmm strange :x, that it not create it...
Yes with PhpMyAdmin.
Follow Changes are made:
CREATE TABLE IF NOT EXISTS {$db_prefix}thank_you_post (
ID_THX_POST int(10) unsigned NOT NULL auto_increment,
ID_MSG int(10) unsigned NOT NULL ,
ID_TOPIC mediumint(8) unsigned NOT NULL ,
ID_BOARD smallint(5) unsigned NOT NULL ,
ID_MEMBER mediumint(8) unsigned NOT NULL ,
memberName varchar(80) NOT NULL ,
thx_time int(10) unsigned NOT NULL ,
PRIMARY KEY (ID_THX_POST),
INDEX (ID_BOARD),
INDEX (ID_MSG),
INDEX (ID_TOPIC),
INDEX (ID_MEMBER)
) TYPE=MyISAM
ALTER TABLE {$db_prefix}topics ADD thank_you_post_locked TINYINT(4) unsigned DEFAULT '0' NOT NULL
ALTER TABLE {$db_prefix}boards ADD thank_you_post_enable TINYINT(4) unsigned DEFAULT '1' NOT NULL
UPDATE {$db_prefix}boards
SET thank_you_post_enable = 1
ALTER TABLE {$db_prefix}topics ADD thank_you_post TINYINT(4) unsigned DEFAULT '0' NOT NULL
ALTER TABLE {$db_prefix}messages ADD thank_you_post_counter SMALLINT(5) unsigned DEFAULT '0' NOT NULL
ALTER TABLE {$db_prefix}members ADD thank_you_post_made mediumint(8) unsigned DEFAULT '0' NOT NULL
ALTER TABLE {$db_prefix}members ADD thank_you_post_became mediumint(8) unsigned DEFAULT '0' NOT NULL
And don't forget to replace the {$db_prefix} with you prefix for the tables!Bye
DIN1031
Or can it be possible that the probleme is the SQL Server Version?
But first i want to try it manually.
# Server Version: 5.0.32-Debian_7etch5-log
# Protokoll-Version: 10
Greetz!
Quote from: The_Bra1nless on April 22, 2008, 03:31:02 AM
Or can it be possible that the probleme is the SQL Server Version?
But first i want to try it manually.
# Server Version: 5.0.32-Debian_7etch5-log
# Protokoll-Version: 10
Greetz!
Normal if this a sql problem it should output a error that it could not installed, instead of a blank page. I think there is something wrong the php settings, but i'm not sure about that.
Bye
DIN1031
This not working for all themas ?
Quote from: holly.celeb.fan on April 26, 2008, 07:39:05 AM
This not working for all themas ?
Normal not :X, it make some theme changes, it depend on the theme if they needed or not.
Bye
DIN1031
Quote from: ディン1031 on April 21, 2008, 01:29:40 PM
Quote from: Kimmie on April 21, 2008, 08:32:26 AM
Quote from: Kimmie on April 19, 2008, 04:59:23 AM
Do I install 1.2.2 just like I did 1.2.1 (leave everything on thats already there- upload this one and then click "upgrade"?
Where do I find the change instructions you mentioned fom cellax (or do "I" even need to make any other changes)?
Is it safe to assume that the answer to my 1st question is yes? If so, what changes do I need to make to get the additional profile add-on to work? (there is nothing in the zip file with any type of instructions - that I could find).
Oh i did it not see xD.
The Upgrade work like before ;).
Normal this Function is integrated into the Mod, so it should normal work.
If this not so, than you need to do the Theme Changes of the Profile.template.php in your current theme.
Bye
DIN1031
ok I uploaded it and it didnt give me the "upgrade" option like 1.2.1 did. It gave me the "Apply Mod". I applied it with no errors. However, the options did not update on the profile page so I went through the profile.php file. There was one section that the mod did not add - which was the part where I had to find this section of code:
// Show all the users buddies, as well as a add/delete interface.
function editBuddies($memID)
{
And told me to replace it with that large block of code - so I replaced it. Now, when I click on someones profile I get this:
Fatal error: Cannot redeclare showthankyouposts() (previously declared in /home/patriotg/public_html/Sources/Profile.php:1697) in /home/patriotg/public_html/Sources/Profile.php on line 2110
So first you need remove this blog, now you have it two times in it ;).
Look into the Profil there should be a option called "Show Thank You Posts".
Bye
DIN1031
Quote from: ディン1031 on April 27, 2008, 06:33:46 AM
So first you need remove this blog, now you have it two times in it ;).
Look into the Profil there should be a option called "Show Thank You Posts".
Bye
DIN1031
not sure what "blog" you are referring to. If you mean "block" as in block of code, if anything was duplicated it would have happend when I "applied". There was no option to simply "upgrade" from 1.2.1 to 1.2.2 (as you previously stated would be). I have checked all the files and nothing has been duplicated.
As I stated in my previous post, that option does not appear on any profile. I added an image so you can see that it doesnt not add the additional link to that area.
I see it on you picture.
Thank You Post under Show Posts.
Bye
DIN1031
the ThankButtom appear here
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi28.tinypic.com%2F15p1ppi.png&hash=9e1b95db6694f831b1f1a842afc570dbfc7a4f48)
i want move to the post
http://i32.tinypic.com/51ehz8.png (http://i32.tinypic.com/51ehz8.png)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi32.tinypic.com%2F51ehz8.png&hash=da96781402c008bc38b301366f932e2143c9847d)
for example
If i click over any CLICKHERE...TOSEELINK unhide links
how can i make this???
Thanks for the excellent mod and sorry for my english
[/b][/b][/b][/b]
Hmm yes it is possible, but i'm not sure if i integrate this into the mod ;).
I must look through my mods ;).
Bye
DIN1031
Quote from: Arpegio-Is on April 29, 2008, 04:18:21 AM
the ThankButtom appear here
i want move to the post
[/b]for example
If i click over any CLICKHERE...TOSEELINK unhide links
how can i make this???
Thanks for the excellent mod and sorry for my english
[/b][/b][/b][/b]
So i released a small Add On for a think like that.
Name: Thank-O-Matic Add On: Hide Tag Link
AddOn Version 1.0.0
File: ThankOMaticLinkHideTagXXX.zip
Description: This Addon add new function to the Hide Tag Special, with that you can add a Link or the Thank You Button to the Hidden Text information. It will work on the Thread Display Page. The new Variables for this are $thankYouPostLink or $thankYouPostButton they a case sensetive so please use it correct ;)
For Thank-O-Matic Version: 1.2.0+ and Hide Tag Special 1.7.0+
You find this Add On attached to the first Post of this Thread.
Bye
DIN1031
I have a problem when install one line on display.php here is what it searchs
FIND
id_msg_modified < {int:new_from} AS is_read
FROM {db_prefix}messages
ADD BEFORE
'.($board_info['thank_you_post_enable'] && allowedTo('thank_you_post_show') ? 'thank_you_post, thank_you_post_counter,' : '').'
id_msg_modified < {int:new_from} AS is_read
FROM {db_prefix}messages
And here what is on my display.php
if (!empty($posters))
loadMemberData($posters);
$messages_request = $smcFunc['db_query']('', '
SELECT
m.id_msg, m.icon, m.subject, m.poster_time, m.poster_ip, m.id_member, m.modified_time, m.modified_name, m.body,
m.smileys_enabled, m.poster_name, m.poster_email, m.approved,
m.id_msg_modified < {int:new_from} AS is_read, k.message AS is_repped
FROM {db_prefix}messages AS m
LEFT JOIN {db_prefix}log_karma AS k ON (k.message = m.id_msg AND k.id_executor = {int:current_member})
WHERE m.id_msg IN ({array_int:message_list})
ORDER BY m.id_msg' . (empty($options['view_newest_first']) ? '' : ' DESC'),
any help? plz!
Question:
Which mod have you installed?
Because this query is changed, or is this a install on fresh smf?
For you Problem add after the
m.smileys_enabled, m.poster_name, m.poster_email, m.approved,
this line
'.($board_info['thank_you_post_enable'] && allowedTo('thank_you_post_show') ? 'thank_you_post, thank_you_post_counter,' : '').'
than it should work.
Bye
DIN1031
Quote from: ディン1031 on April 30, 2008, 12:48:40 AM
Question:
Which mod have you installed?
Because this query is changed, or is this a install on fresh smf?
For you Problem add after the
m.smileys_enabled, m.poster_name, m.poster_email, m.approved,
this line
'.($board_info['thank_you_post_enable'] && allowedTo('thank_you_post_show') ? 'thank_you_post, thank_you_post_counter,' : '').'
than it should work.
Bye
DIN1031
i have some mods, but i think that is the one the "advanced reputation" that is making some trouble there :P
thx for the help
Version 1.2.3 (03.05.08)
- SMF 1.1.5 Compatible
* Change a Query to the new way of SMF adding it, i think they know what they do (Look faster and securer to me)
- Upgrade Included
It's only a small change, because smf make it in 1.1.5 in the same way, and i thought why not should work for my mod, too ;).
Bye
DIN1031
hey buddy i m getting this error in installation
Execute Modification ./ssi_examples.php Test failed
Execute Modification ./Sources/ManageBoards.php Test failed
what should i do??
Install it and try to make the Changes Manual ;).
Bye
DIN1031
I can't install this mod in spanish... I copy all .gif to folder spanish, and eanglish buttons in default and my theme tp mistic jade... I select activate thankomatick option in forum. But not function!!! :'(
Please help me, i dont understand make manually...
Sorry, my eanglish is very bad.
healp me please!!!!!
Make the needed theme changes of the mod on you theme.
http://jmusic.ddo.jp/DIN1031/modparser/index.php?action=installMod&smfVersion=1.1.5&name=ThankOMatic123&theme there are all the theme changes that the mod make.
Bye
DIN1031
Quote from: ディン1031 on April 29, 2008, 12:39:29 AM
I see it on you picture.
Thank You Post under Show Posts.
Bye
DIN1031
Yes, however, that is the link that your original mod puts in there and only shows the posts that "that member has been thanked on". We talked about you adding it to where there would also be a link showing what posts "the member has clicked thank you in" as well, and that is the part I am having trouble with.
There should be two links
1. Showing thank yous "given"
2. Showing thank yous "received"
The thank yous "given" is the one you added to your newest update but its not showing up.
Quote from: Kimmie on May 13, 2008, 02:24:20 PM
Quote from: ディン1031 on April 29, 2008, 12:39:29 AM
I see it on you picture.
Thank You Post under Show Posts.
Bye
DIN1031
Yes, however, that is the link that your original mod puts in there and only shows the posts that "that member has been thanked on". We talked about you adding it to where there would also be a link showing what posts "the member has clicked thank you in" as well, and that is the part I am having trouble with.
There should be two links
1. Showing thank yous "given"
2. Showing thank yous "received"
The thank yous "given" is the one you added to your newest update but its not showing up.
Did i insert that... or did i say i will insert it oO.
If i read my Version Log, than i've not insert it ;). So it work like it should.
I thought about to make it that could be possible, but i know that this could be a slow query because i need to make a join of the message table. Possible that i can make a addon for it ;). (Or i search for faster load :x, but this could be take some time.)
Bye
DIN1031
My problem is Everything looks ok, but No icon on the board to click on for "Thanks"
Fresh install 1.14 then updated to...
Using SMF 1.15
I have run the package and using Default CORE Theme & directory.
I have followed the Manual install and still no luck.
What sections should i be looking at I can see the
Thank You
-Given: 0
-Receive: 0
and on right
Reply with quoteQuote Modify messageModify Remove messageRemove Split TopicSplit Topic
But NO STAR??
any ideas please.
Its all under Admin area correctly also.
Davo
You enabled it in the boards?
Set the Premission?
Bye
DIN1031
I just realized something terrifying.
My CPU overloads, and the server goes away thanks to Thank-O-Matic.
I have uninstalled and reinstalled Thank-O-Matic several time and confirmed this.
I think my site must have too much Thank-O-Matic stats (Given thanks, received thanks) So I wonder if I can reset everything, well at least that´s my idea.
If I continue using Thank-O-Matic for now, my server will only end-up toasted.
Quote from: lonrot on May 18, 2008, 10:56:39 PM
I just realized something terrifying.
My CPU overloads, and the server goes away thanks to Thank-O-Matic.
I have uninstalled and reinstalled Thank-O-Matic several time and confirmed this.
I think my site must have too much Thank-O-Matic stats (Given thanks, received thanks) So I wonder if I can reset everything, well at least that´s my idea.
If I continue using Thank-O-Matic for now, my server will only end-up toasted.
Normal the Given Thanks and Received is a stored number in the member list, so it will not built each time, also the Count of the Members in the list is not calculated, it's a number that is stored in the messagtes table. So i don't know if this really the problem.
Can you tell me, where exactly this overload happen?
Is it only on the Stat page? If yes than i think i should reprogramm it and make a chached Version for it.
Did you try to disable the Previewlist on Display Page?
This is a heavy load, that's why i make it enable and disable.
Can you tell me how large the "{Prefix}Thank_You_Post table is?
Could you also give me the Addons that you installed for the Thank-O-Matic, and the Version that you installed?
Hmmm i will help you to solve the problem, to make my mod better.
Bye
DIN1031
I don't know where exactly it overloads, this is my server report:
Top Process %CPU 9.1 httpd [consolemaniak.com] [/index.php?actionsearch2]
Top Process %CPU 6.8 httpd [consolemaniak.com] [/index.php?actionsearch2]
Top Process %CPU 5.1 httpd [consolemaniak.com] [/index.php?board56.50]
nobody 0.00 0.00 0.0
Top Process %CPU 9.1 /usr/local/apache/bin/httpd -k start -DSSL
Top Process %CPU 6.8 /usr/local/apache/bin/httpd -k start -DSSL
Top Process %CPU 5.1 /usr/local/apache/bin/httpd -k start -DSSL
mysql 0.39 0.70 0.0
Top Process %CPU 0.5 /usr/sbin/mysqld --basedir/ --datadir/var/lib/mysql --usermysql --pid-file/var/lib/mysql/vps1184.server.consolemaniak.com.pid --skip-external-locking
Top Process %CPU 0.4 /usr/sbin/mysqld --basedir/ --datadir/var/lib/mysql --usermysql --pid-file/var/lib/mysql/vps1184.server.consolemaniak.com.pid --skip-external-locking
root 0.08 0.80 2.0
Top Process %CPU 10.0 /usr/local/cpanel/bin/mysqladmin
Top Process %CPU 1.0 /usr/sbin/exim -Mc 1Jy2El-000436-Oz
m 0.00 0.00 0.0
n 0.00 0.00 0.0
r 0.00 0.00 0.0
sshd 0.00 0.00 0.0
s 0.00 0.00 0.0
mailnull 0.00 0.00 0.0
mailman 0.00 0.00 0.0
named 0.00 0.00 0.0
I have Thank-O-Matic with Hide Tag Special, I just disabled their relationship, also removed the preview list, and the CPU keeps being at 100%.
My installed mods are, Spanish, French, Greek, German translations, and Hide.
Hmmm i don't see the 100% server load process... :x
How many inserts are in the thank_you_post table?
Hmmm it's difficult to say where the problem is... if i don't know where the heavy load happen.
Normal the preview list is the slowest query thats possible, the other things normal loading in a fast way...
Bye
DIN1031
Does this help?
User Domain %CPU %MEM MySQL Processes
consolem consolemaniak.com 5.33 3.57 1.1
Top Process %CPU 7.2 httpd [consolemaniak.com] [/Themes/SoftMC_Blue/images/post/rapidshare.gif]
Top Process %CPU 6.9 httpd [consolemaniak.com] [/index.php?structon&dataon&compressgzip&actiondumpdb&se]
Top Process %CPU 6.7 httpd [consolemaniak.com] [/index.php?structon&dataon&compressgzip&actiondumpdb&se]
mysql 0.70 0.70 0.0
Top Process %CPU 0.7 /usr/sbin/mysqld --basedir/ --datadir/var/lib/mysql --usermysql --pid-file/var/lib/mysql/vps1184.server.consolemaniak.com.pid --skip-external-locking
root 0.05 0.82 2.0
Top Process %CPU 1.0 whostmgrd - serving 201.195.185.38
nobody 0.02 0.00 0.0
Top Process %CPU 7.2 /usr/local/apache/bin/httpd -k start -DSSL
Top Process %CPU 6.9 /usr/local/apache/bin/httpd -k start -DSSL
Top Process %CPU 6.7 /usr/local/apache/bin/httpd -k start -DSSL
n 0.00 0.00 0.0
r 0.00 0.00 0.0
sshd 0.00 0.00 0.0
s 0.00 0.00 0.0
mailnull 0.00 0.00 0.0
m 0.00 0.00 0.0
named 0.00 0.00 0.0
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg263.imageshack.us%2Fimg263%2F116%2Fscreenshot151ms9.png&hash=090e7c56563378d031a0e5019b4c85ade933fad1)
I sent you a message, i will try find it, and make it better =).
But i need a little bit help from you.
Bye
DIN1031
Quote from: ディン1031 on May 18, 2008, 01:28:48 AM
You enabled it in the boards?
Set the Premission?
Bye
DIN1031
Yep
enabled under Membership Permissions.
It is a FRESH install of 1.14 then updated to 1.15 maybe somehing missing that i should install first?
But still no go...
EDIT: Thanks I found it now, each board has the option Thanks Mate it should work now. :)
Hi I installed the thank-o-matic on my site http://www.openforum.uni.cc and have noticed that the thank-o-matic does not apera on peoples posts when a guest or an admin.
I have enabled the than-o-matic for regular members but I have no members yet to ask if the mod appears.
Do you know whats up, feel free to join so you can get a better look at whats wrong.
Quote from: wheener on May 21, 2008, 08:23:44 PM
Hi I installed the thank-o-matic on my site http://www.openforum.uni.cc and have noticed that the thank-o-matic does not apera on peoples posts when a guest or an admin.
I have enabled the than-o-matic for regular members but I have no members yet to ask if the mod appears.
Do you know whats up, feel free to join so you can get a better look at whats wrong.
I will not join ;)
Create a other account and access with that account to see if it work like it should.
Bye
DIN1031
how i can add comments in thanks o matic??
Hi DIN1031
Very nice mod!
I have a russian translation for it, if you interesting, i can post it (just tell me where/when)...
I have also one small(?) problem:
I installed the mod (via the Manager), and during the installation there was an error in one file (Load.php), as i understand, it's related to one of the updates.
But almoust all works fine, except the displaying of numbers for Given:/Receive:.
Please look at this screenshot:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fipicture.ru%2Fuploads%2F080525%2Fthumbs%2F5j7J27vl5Y.png&hash=1e0f7b3d0d972d6e33d8f626da5ef310f4e14374) (http://ipicture.ru/Gallery/Viewfull/2052566.html)
As you can see, the Test_User has Received one "Thank You" from me :), but it's not displaying in the user's profile, and also the same in mine profile.
Please advice, how can i fix it?
Thanks.
Quote from: MrCreatoR on May 25, 2008, 12:47:43 AM
Hi DIN1031
Very nice mod!
I have a russian translation for it, if you interesting, i can post it (just tell me where/when)...
I have also one small(?) problem:
I installed the mod (via the Manager), and during the installation there was an error in one file (Load.php), as i understand, it's related to one of the updates.
But almoust all works fine, except the displaying of numbers for Given:/Receive:.
Please look at this screenshot:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fipicture.ru%2Fuploads%2F080525%2Fthumbs%2F5j7J27vl5Y.png&hash=1e0f7b3d0d972d6e33d8f626da5ef310f4e14374) (http://ipicture.ru/Gallery/Viewfull/2052566.html)
As you can see, the Test_User has Received one "Thank You" from me :), but it's not displaying in the user's profile, and also the same in mine profile.
Please advice, how can i fix it?
Thanks.
Attach the Translation here or sent a link via pm where i can download the Translation.
Change in Filename:
$sourcedir/Load.php Quote
Search for this
b.ID_THEME, b.override_theme, b.permission_mode, b.countPosts
Replace All with
b.ID_THEME, b.override_theme, b.permission_mode, b.countPosts
, thank_you_post_enable
Search for this
'posts_count' => empty($row['countPosts']),
Replace All with
'posts_count' => empty($row['countPosts']),
'thank_you_post_enable' => empty($row['thank_you_post_enable']),
Search for this
mem.birthdate, mem.memberIP, mem.memberIP2, mem.ICQ, mem.AIM, mem.YIM, mem.MSN, mem.posts, mem.lastLogin,
mem.karmaGood, mem.ID_POST_GROUP, mem.karmaBad, mem.lngfile, mem.ID_GROUP, mem.timeOffset, mem.showOnline,
Add after this
mem.thank_you_post_made, mem.thank_you_post_became,
Search for this
mem.timeFormat, mem.secretQuestion, mem.is_activated, mem.additionalGroups, mem.smileySet, mem.showOnline,
mem.totalTimeLoggedIn, mem.ID_POST_GROUP, mem.notifyAnnouncements, mem.notifyOnce, mem.notifySendBody,
Add after this
mem.thank_you_post_made, mem.thank_you_post_became,
Search for this
mem.ID_MEMBER, mem.memberName, mem.realName, mem.emailAddress, mem.hideEmail, mem.dateRegistered,
Add after this
mem.thank_you_post_made, mem.thank_you_post_became,
Search for this
'local_time' => timeformat(time() + ($profile['timeOffset'] - $user_info['time_offset']) * 3600, false),
Add after this
'thank_you_post' => array(
'made' => &$profile['thank_you_post_made'],
'became' => &$profile['thank_you_post_became'],
),
This are all Changes, you will see there is also the Value for this Information that you miss in it.
Bye
DIN1031
Quote from: ディン1031 on May 25, 2008, 01:29:51 AM
This are all Changes, you will see there is also the Value for this Information that you miss in it.
Thanks a lot for the quick repply, there was missing this line:
mem.thank_you_post_made, mem.thank_you_post_became,
Now all works fine!
P.SI will post the translations, i only would like to check again if everything is related to a context...
Quote from: MrCreatoR on May 25, 2008, 01:57:14 AMNow all works fine!
Well, not exactly :( - When i say "Thank You", the font size of the topic inlarged:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fipicture.ru%2Fuploads%2F080526%2Fthumbs%2FiCNZ1cmlrw.png&hash=8a35c2c163192be256fd11dec7b4acb2bea34d2d) (http://ipicture.ru/Gallery/Viewfull/2077349.html)
And this is with russian language only, if i swith the language (in my profile) to english, then it displayed correctly. But when i cancel the "Thank You" (for all posts in topic), then all ok in bouth languages.
Any ideas why this is happening, and how can i fix it?
is impossible to have comments???
Quote from: MrCreatoR on May 25, 2008, 05:38:18 PM
Quote from: MrCreatoR on May 25, 2008, 01:57:14 AMNow all works fine!
Well, not exactly :( - When i say "Thank You", the font size of the topic inlarged:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fipicture.ru%2Fuploads%2F080526%2Fthumbs%2FiCNZ1cmlrw.png&hash=8a35c2c163192be256fd11dec7b4acb2bea34d2d) (http://ipicture.ru/Gallery/Viewfull/2077349.html)
And this is with russian language only, if i swith the language (in my profile) to english, then it displayed correctly. But when i cancel the "Thank You" (for all posts in topic), then all ok in bouth languages.
Any ideas why this is happening, and how can i fix it?
Strange, it work in english but not in russian?
Can you give me you russian translation? It's possible you make a small mistake? (I need the changed files, so that it orginal format that you use)
Quote from: NIBOGO on May 25, 2008, 07:30:54 PM
is impossible to have comments???
Possible yes, but not integrated ;).
Bye
DIN1031
Quote from: ディン1031 on May 27, 2008, 07:54:56 AMStrange, it work in english but not in russian?
Can you give me you russian translation? It's possible you make a small mistake? (I need the changed files, so that it orginal format that you use)
I attached the whole archive that i used to install, if you need the files that on the server i can pool them out too.
mmm
is possible of you make a tutorial for have comments???
Thanks for your help ;)
Quote from: MrCreatoR on May 27, 2008, 10:29:03 AM
Quote from: ディン1031 on May 27, 2008, 07:54:56 AMStrange, it work in english but not in russian?
Can you give me you russian translation? It's possible you make a small mistake? (I need the changed files, so that it orginal format that you use)
I attached the whole archive that i used to install, if you need the files that on the server i can pool them out too.
I tried it with your package and it work fine oO. This is really stange...
Quote from: NIBOGO on May 27, 2008, 06:06:34 PM
mmm
is possible of you make a tutorial for have comments???
Thanks for your help ;)
I will see if i've time (that i currently not have). Than i will make a add on for it.
Bye
DIN1031
Quote from: ディン1031 on June 03, 2008, 12:45:32 PM
Quote from: MaxiPes on June 03, 2008, 09:48:43 AM
Hi,
ich bin wieder da.
Ich versuchte Thank-O-Matic und ich habe ein anderes Problem.
THX funktioniert perfekt, aber in diesem Panel:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fmegaupload.cz%2Fmini%2F200%2FF3Fbez-nazvu.jpg&hash=e71a144c54e8d0377852af41c9dadfd5362ce0b4) (http://megaupload.cz/nahled/F3Fbez-nazvu.jpg)
ist es nicht möglich, die ausgewälhlten Varianten zu speichern.
Die ausgewählten Felder sind nach SAVE immer leer :(
Im welchen Datei ist Felher?
PLS... danke
Bei der installation kamm es zu keine fehler?
Welche Version, Welches SMF?
(Achja normal ist das ein andere thread für dies... und normalerweise sollte wir vielleicht nicht umbeingt deutsch im englischen berreich reden...).
Gruß
DIN1031
Sorry aber ich kann viel besser deutsch als englisch.
Mein English ist wirklich sehr schlecht... 8)
Es handelt sich um SMF 1.1.4.
Bei der Instalation und danach keine Probleme :(
Warum wird es nicht gespeichert?
Wo kann der Fehler gesteckt sein ::)
Änderung in Datei:
$sourcedir/ModSettings.php Quote
Suche nach folgenden
'layout' => 'ModifyLayoutSettings',
Füge danach folgendes ein
'thankyoupost' => 'ModifyThankYouPostSettings',
Suche nach folgenden
'layout' => array(
'title' => $txt['mods_cat_layout'],
'href' => $scripturl . '?action=featuresettings;sa=layout;sesc=' . $context['session_id'],
),
Füge danach folgendes ein
'thankyoupost' => array(
'title' => $txt['thankyouposttitle'],
'href' => $scripturl . '?action=featuresettings;sa=thankyoupost;sesc=' . $context['session_id'],
),
Aus irgendeinen Grund wird eine dieser beiden Änderung nur einmal anstelle von zweimal gemacht worden sein. Ich wieß nicht warum das bei manchen SMF Installationen passiert. Schau einfach nach in der datei ob es zweimal ersetzt worden ist, es gibt zei mögliche Positionen.
Hmmm ansonsten ist es seltsam, da ich einen Standard SMF function nehmen zum Speichern :X.
Gruß
DIN1031
Quote from: ディン1031 on May 30, 2008, 07:32:37 AM
Quote from: MrCreatoR on May 27, 2008, 10:29:03 AM
Quote from: ディン1031 on May 27, 2008, 07:54:56 AMStrange, it work in english but not in russian?
Can you give me you russian translation? It's possible you make a small mistake? (I need the changed files, so that it orginal format that you use)
I attached the whole archive that i used to install, if you need the files that on the server i can pool them out too.
I tried it with your package and it work fine oO. This is really stange...
Quote from: NIBOGO on May 27, 2008, 06:06:34 PM
mmm
is possible of you make a tutorial for have comments???
Thanks for your help ;)
I will see if i've time (that i currently not have). Than i will make a add on for it.
Bye
DIN1031
thanks i will be expecting your tutorial
DIN1031, du bist ein unglaublicher Zauberer!
Tja, die Änderung war 2x zu machen...
Fertig, es funktioniert schon!!!!!
Daanke tausendmal.. ;D :)
Hi, ich bin wieder da.
Alles funktioniert aber ich habe ein grosses Problem.
Während 1 Stunde dankten 299 Leute, aber nur 56 von ihnen wurden gespeichert.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fmegaupload.cz%2Fimages%2FpkFbez-nazvu.jpg&hash=cf7f514b76da9321554db3dd7cf3bd570bd0e56d)
Was konnte das verursachen?
Hilfe bitte :(
I love ya, this is the mod I was looking for and you posted it..yay!
Hello, sorry for my English, I have a theme-style vBulletin and not have options tabs on the display template, instead I have a drop down menu (type vBulletin).
Example:
Tabs:(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg401.imageshack.us%2Fimg401%2F9479%2Ftabszq1.png&hash=c875937ef86c7d749207f07ad583930fbbf9061e)
Image: http://img401.imageshack.us/img401/9479/tabszq1.png
Menu Drop Down:(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg206.imageshack.us%2Fimg206%2F3881%2Fmenudropdowngx2.png&hash=dbc6b7bcf0cb5dd9f8ab27a7eaae19ce6c522a04)
Image: http://img206.imageshack.us/img206/3881/menudropdowngx2.png
And ask me to help put options as Special Thank You for the Lock on the menu correctly please.
Code Special Lock for the Thank You://Special Lock for the Thank You :)
if($context['thank_you_lock_allowed'])
if(empty($context['is_thank_you_post_locked']))
$normal_buttons['thankyoupostlock'] = array('text' => 'thank_you_post_lock_all_b', 'image' => 'thank_you_lock1.gif', 'lang' => true, 'url' => $scripturl . '?action=thankyoupostcloseall;topic=' . $context['current_topic']);
else
$normal_buttons['thankyoupostlock'] = array('text' => 'thank_you_post_open_all_b', 'image' => 'thank_you_lock2.gif', 'lang' => true, 'url' => $scripturl . '?action=thankyoupostcloseall;topic=' . $context['current_topic']);
//A Fix for later, if some Translations are not Updated
if(empty($txt['thank_you_link_aftercounters']))
$txt['thank_you_link_aftercounters'] = $txt['thank_you_link_aftercounter'];
Code Menu Drop Down:echo'
<div class="tborder" id="threadtools_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td style="border-top:1px solid #ffffff;" class="thead">Opciones de Tema<a name="turklord"></a></td></tr>';
echo'
<tr vAlign=bottom><td style="border-top:1px solid #ffffff;" valign="middle" class="vbmenu_option"><img src="' . $settings['images_url'] . '/printer.gif"> <a href="' . $scripturl . '?action=printpage;topic=' . $context['current_topic'] . '.0" target="_blank" alt="' . $txt[465] . '">Mostrar Versión Imprimible</a></td></tr>';
if ($context['user']['is_guest'])
echo'
<tr vAlign=bottom><td style="border-top:1px solid #ffffff;" valign="middle" class="vbmenu_option"><img src="' . $settings['images_url'] . '/subscribe.gif"> <a href="', $scripturl, '?action=register">Registrarse Para Enviar Temas</a></td></tr>';
if ($context['can_send_topic'])
{
echo' <tr><td style="border-top:1px solid #ffffff;" valign="middle" class="vbmenu_option"><img src="' . $settings['images_url'] . '/sendtofriend.gif"> <a href="' . $scripturl . '?action=sendtopic;topic=' . $context['current_topic'] . '.0" alt="' . $txt[707] . '">Enviar Tema</a></td></tr>';
}
if ($context['can_add_poll'])
{
echo'<tr vAlign=bottom><td style="border-top:1px solid #ffffff;" valign="middle" class="vbmenu_option"><img src="' . $settings['images_url'] . '/addpoll.gif"> <a href="' . $scripturl . '?action=editpoll;add;topic=' . $context['current_topic'] . '.' . $context['start'] . ';sesc=' . $context['session_id'] . '">Agregar/Editar Encuesta</a></td></tr>';
}
if ($context['can_mark_notify'])
{
echo'<tr><td style="border-top:1px solid #ffffff;" valign="middle" class="vbmenu_option"><img src="' . $settings['images_url'] . '/subscribe.gif"> <a href="' . $scripturl . '?action=notify;sa=' . ($context['is_marked_notify'] ? 'off' : 'on') . ';topic=' . $context['current_topic'] . '.' . $context['start'] . ';sesc=' . $context['session_id'] . '" onclick="return confirm(\'' . ($context['is_marked_notify'] ? $txt['notification_disable_topic'] : $txt['notification_enable_topic']) . '\');" alt="' . $txt[131] . '">' . $txt[131] . '</a></td></tr>';
}
echo'
</table>
</div>';
Code Menu Drop Down Modified for my (not correctly):echo'
<div class="tborder" id="threadtools_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td style="border-top:1px solid #ffffff;" class="thead">Opciones de Tema<a name="turklord"></a></td></tr>';
echo'
<tr vAlign=bottom><td style="border-top:1px solid #ffffff;" valign="middle" class="vbmenu_option"><img src="' . $settings['images_url'] . '/printer.gif"> <a href="' . $scripturl . '?action=printpage;topic=' . $context['current_topic'] . '.0" target="_blank" alt="' . $txt[465] . '">Mostrar Versión Imprimible</a></td></tr>';
if ($context['user']['is_guest'])
echo'
<tr vAlign=bottom><td style="border-top:1px solid #ffffff;" valign="middle" class="vbmenu_option"><img src="' . $settings['images_url'] . '/subscribe.gif"> <a href="', $scripturl, '?action=register">Registrarse Para Enviar Temas</a></td></tr>';
if ($context['can_send_topic'])
{
echo' <tr><td style="border-top:1px solid #ffffff;" valign="middle" class="vbmenu_option"><img src="' . $settings['images_url'] . '/sendtofriend.gif"> <a href="' . $scripturl . '?action=sendtopic;topic=' . $context['current_topic'] . '.0" alt="' . $txt[707] . '">Enviar Tema</a></td></tr>';
}
if ($context['can_add_poll'])
{
echo'<tr vAlign=bottom><td style="border-top:1px solid #ffffff;" valign="middle" class="vbmenu_option"><img src="' . $settings['images_url'] . '/addpoll.gif"> <a href="' . $scripturl . '?action=editpoll;add;topic=' . $context['current_topic'] . '.' . $context['start'] . ';sesc=' . $context['session_id'] . '">Agregar/Editar Encuesta</a></td></tr>';
}
if ($context['thank_you_lock_allowed'])
echo'
<tr vAlign=bottom><td style="border-top:1px solid #ffffff;" valign="middle" class="vbmenu_option"><img src="' . $settings['images_url'] . '/thank_you_b.gif"> <a href="', $scripturl, '?action=thankyoupostcloseall;topic=' . $context['current_topic'] . '.0" alt="' . $txt[707] . '">' . $txt['thank_you_post_lock_all_b'] . '</a></td></tr>';
if ($context['thank_you_lock_allowed'])
{
echo' <tr><td style="border-top:1px solid #ffffff;" valign="middle" class="vbmenu_option"><img src="' . $settings['images_url'] . '/thank_you_b.gif"> <a href="' . $scripturl . '?action=thankyoupostcloseall;topic=' . $context['current_topic'] . '.0" alt="' . $txt[707] . '">' .$txt['thank_you_post_open_all_b'] . '</a></td></tr>';
}
if ($context['can_mark_notify'])
{
echo'<tr><td style="border-top:1px solid #ffffff;" valign="middle" class="vbmenu_option"><img src="' . $settings['images_url'] . '/subscribe.gif"> <a href="' . $scripturl . '?action=notify;sa=' . ($context['is_marked_notify'] ? 'off' : 'on') . ';topic=' . $context['current_topic'] . '.' . $context['start'] . ';sesc=' . $context['session_id'] . '" onclick="return confirm(\'' . ($context['is_marked_notify'] ? $txt['notification_disable_topic'] : $txt['notification_enable_topic']) . '\');" alt="' . $txt[131] . '">' . $txt[131] . '</a></td></tr>';
}
echo'
</table>
</div>';
Thanks to all.
Greetings
I hope i understand it correct ;)
echo'
<div class="tborder" id="threadtools_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td style="border-top:1px solid #ffffff;" class="thead">Opciones de Tema<a name="turklord"></a></td></tr>';
echo'
<tr vAlign=bottom><td style="border-top:1px solid #ffffff;" valign="middle" class="vbmenu_option"><img src="' . $settings['images_url'] . '/printer.gif"> <a href="' . $scripturl . '?action=printpage;topic=' . $context['current_topic'] . '.0" target="_blank" alt="' . $txt[465] . '">Mostrar Versión Imprimible</a></td></tr>';
if ($context['user']['is_guest'])
echo'
<tr vAlign=bottom><td style="border-top:1px solid #ffffff;" valign="middle" class="vbmenu_option"><img src="' . $settings['images_url'] . '/subscribe.gif"> <a href="', $scripturl, '?action=register">Registrarse Para Enviar Temas</a></td></tr>';
if ($context['can_send_topic'])
{
echo' <tr><td style="border-top:1px solid #ffffff;" valign="middle" class="vbmenu_option"><img src="' . $settings['images_url'] . '/sendtofriend.gif"> <a href="' . $scripturl . '?action=sendtopic;topic=' . $context['current_topic'] . '.0" alt="' . $txt[707] . '">Enviar Tema</a></td></tr>';
}
if ($context['can_add_poll'])
{
echo'<tr vAlign=bottom><td style="border-top:1px solid #ffffff;" valign="middle" class="vbmenu_option"><img src="' . $settings['images_url'] . '/addpoll.gif"> <a href="' . $scripturl . '?action=editpoll;add;topic=' . $context['current_topic'] . '.' . $context['start'] . ';sesc=' . $context['session_id'] . '">Agregar/Editar Encuesta</a></td></tr>';
}
if ($context['thank_you_lock_allowed']) {
echo'
<tr vAlign=bottom><td style="border-top:1px solid #ffffff;" valign="middle" class="vbmenu_option"><img src="' . $settings['images_url'] . '/thank_you_b.gif"> <a href="', $scripturl, '?action=thankyoupostcloseall;topic=' . $context['current_topic'] . '.0" alt="' . $txt[707] . '">' . (empty($context['is_thank_you_post_locked']) ? $txt['thank_you_post_lock_all_b'] : $txt['thank_you_post_open_all_b']). '</a></td></tr>';
}
if ($context['can_mark_notify'])
{
echo'<tr><td style="border-top:1px solid #ffffff;" valign="middle" class="vbmenu_option"><img src="' . $settings['images_url'] . '/subscribe.gif"> <a href="' . $scripturl . '?action=notify;sa=' . ($context['is_marked_notify'] ? 'off' : 'on') . ';topic=' . $context['current_topic'] . '.' . $context['start'] . ';sesc=' . $context['session_id'] . '" onclick="return confirm(\'' . ($context['is_marked_notify'] ? $txt['notification_disable_topic'] : $txt['notification_enable_topic']) . '\');" alt="' . $txt[131] . '">' . $txt[131] . '</a></td></tr>';
}
echo'
</table>
</div>';
This should be the correct Version.
Bye
DIN1031
Thank you very much it seems works perfectly :o :o :o
Greetings and thanks again :D
Hello again, we could say that repeats the league Thank You Post List (Complete)? :-[ :-[
Example:
League Thank You Post List(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi160.photobucket.com%2Falbums%2Ft182%2Fvitalian%2Fliga.png&hash=02641e184ddd3eb79db322c7c11d5ac8231908e9)
Image: http://i160.photobucket.com/albums/t182/vitalian/liga.png
How can I solve this problem?
Thanks to all
Grattings :) :)
Quote from: vitalian on June 22, 2008, 03:25:55 AM
Hello again, we could say that repeats the league Thank You Post List (Complete)? :-[ :-[
Example:
League Thank You Post List
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi160.photobucket.com%2Falbums%2Ft182%2Fvitalian%2Fliga.png&hash=02641e184ddd3eb79db322c7c11d5ac8231908e9)
Image: http://i160.photobucket.com/albums/t182/vitalian/liga.png
How can I solve this problem?
Thanks to all
Grattings :) :)
Sorry i did not understand the problem oO can you try to describe it in different way...
Bye
DIN1031
Leagues in action Thank You Post List (?action=thankyoupostlist;topic=) are repeated.
Example:(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi160.photobucket.com%2Falbums%2Ft182%2Fvitalian%2Fliga-2.png&hash=384bf0945c5e820fdc1eb98b74201187623006f2)
Image: http://i160.photobucket.com/albums/t182/vitalian/liga-2.png
Sorry but did not explain how
Greetings and apologies
Quote from: vitalian on June 22, 2008, 12:44:55 PM
Leagues in action Thank You Post List (?action=thankyoupostlist;topic=) are repeated.
Example:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi160.photobucket.com%2Falbums%2Ft182%2Fvitalian%2Fliga-2.png&hash=384bf0945c5e820fdc1eb98b74201187623006f2)
Image: http://i160.photobucket.com/albums/t182/vitalian/liga-2.png (http://i160.photobucket.com/albums/t182/vitalian/liga-2.png)
Sorry but did not explain how
Greetings and apologies
Simple in the Thankyoupost.template.php
-Search and delete:
Quote// Show the linktree
echo '
<div>', theme_linktree(), '</div>';
;D
Thanks NIBOGO solved.
Grettings
Ah you want to remove it XD *g*
Thx NIBOGO to solve this =).
Thank you for mod.
It´s a perfekt :)
Czech translation:
./Themes/default/languages/index.czech.php
//Thank You text for the Thread
$txt['thank_you_link_beforecounter'] = 'Za tento příspěvek poděkovalo celkem,';
$txt['thank_you_link_members'] = 'uživatelé';
$txt['thank_you_link_member'] = 'uživatel';
$txt['thank_you_link_aftercounter'] = 'poděkovat';
$txt['thank_you_link_aftercounters'] = 'poděkovat';
$txt['thank_you_is_locked'] = 'Děkování je uzamčeno';
$txt['thank_you_post_post_b'] = 'DĚKUJI';
$txt['thank_you_post_delete_b'] = 'Smazat THX';
$txt['thank_you_post_lock_b'] = 'Zamknout THX';
$txt['thank_you_post_open_b'] = 'Odemknout THX';
$txt['thank_you_post_lock_all_b'] = 'Zamknout všechna THX';
$txt['thank_you_post_open_all_b'] = 'Odemknout všechna THX';
$txt['remove_thank_you_post'] = 'Odstranit toto THX';
$txt['followgiveathank'] = 'Tito uživatelé poděkovali za Váš post:';
$txt['thank_you_post_unlock_all'] = 'Odemknout všechny Vaše děkovné posty';
$txt['thankyoupostlist'] = 'List poděkování';
$txt['thankyouposterrorinscript'] = 'Chyba skriptu... ';
$txt['thank_you_post_thx_display'] = 'DĚKUJI';
$txt['thank_you_post_made_display'] = 'Given';
$txt['thank_you_post_became_display'] = 'Receive';
//Thank You text for the Thread
./Themes/default/languages/ManageBoards.czech.php
//Thank You text for the Thread
$txt['mboards_thank_you_post_enable'] = 'Povolit Thank-O-Matic';
$txt['mboards_thank_you_post_enable_desc'] = 'Tato operace povolí "Thank You" pro posty ve Vašem fóru';
//Thank You text for the Thread
./Themes/default/languages/ManagePermissions.czech.php
is not necessary...
Unknown column 'thank_you_post_enable' in 'field list'
File: C:\abyss\htdocs\smf\Sources\Subs-Boards.php
Line: 1479
how to fix this please help :(
Quote from: frenz on June 28, 2008, 12:18:16 AM
Unknown column 'thank_you_post_enable' in 'field list'
File: C:\abyss\htdocs\smf\Sources\Subs-Boards.php
Line: 1479
how to fix this please help :(
First which version and which mod version?
Than normal it will be installed by the mod oO.
I don't know why the sql changes are not made.
Upload the install.?.?.?.php in the package and call it on direct an the webspace if all work correct than there should be stand "Database changes successful".
Bye
DIN1031
DIN1031, I must say this. "Once upon a time", I installed Thank-o-Matic to SMF 2.0, but it didn't worked.
But what I want to know is: does the SMF 2.0 mod version use AJAX, as you 'promised' (a long time ago)?
I'm really into moving to SMF 2.0 JUST TO USE THIS MOD, because I think it's the best mod of all SMF database. :)
Quote from: softcore on June 28, 2008, 10:31:16 PM
DIN1031, I must say this. "Once upon a time", I installed Thank-o-Matic to SMF 2.0, but it didn't worked.
But what I want to know is: does the SMF 2.0 mod version use AJAX, as you 'promised' (a long time ago)?
I'm really into moving to SMF 2.0 JUST TO USE THIS MOD, because I think it's the best mod of all SMF database. :)
The Ajax is still beta because i had no time to test it in each possible way and at the moment only the post is ajax style, i would say try it before moving to smf 2.0 with this mod. ;)
Bye
DIN1031
Thanks ディン1031 for this great work! Brilliant!!!
Mod-Karma doesn't work with version >1.22, imho. I updated the relevant sources (inofficially). Now it works fine with 1.23
What did you change? :X
Bye
DIN1031
I have installed verision of 1.0.1 on the custom theme so how can I upgrade to the new verision ?
can you please help me
Quote from: amiralib on July 01, 2008, 01:59:25 PM
I have installed verision of 1.0.1 on the custom theme so how can I upgrade to the new verision ?
can you please help me
Best way to upgrade is step by step :x.
Backup making, and so on ;).
Bye
DIN1031
Quote from: ディン1031 on July 01, 2008, 04:34:18 PM
Quote from: amiralib on July 01, 2008, 01:59:25 PM
I have installed verision of 1.0.1 on the custom theme so how can I upgrade to the new verision ?
can you please help me
Best way to upgrade is step by step :x.
Backup making, and so on ;).
Bye
DIN1031
you mean to upgrade it manually ?
from 1.0.0 to 1.1.0
from 1.1.0 to 1.1.1
....
is it your meaning ?
Quote from: amiralib on July 01, 2008, 11:58:27 PM
Quote from: ディン1031 on July 01, 2008, 04:34:18 PM
Quote from: amiralib on July 01, 2008, 01:59:25 PM
I have installed verision of 1.0.1 on the custom theme so how can I upgrade to the new verision ?
can you please help me
Best way to upgrade is step by step :x.
Backup making, and so on ;).
Bye
DIN1031
you mean to upgrade it manually ?
from 1.0.0 to 1.1.0
from 1.1.0 to 1.1.1
....
is it your meaning ?
No my package have included Upgrades you can try to upgrade in one step, upload the latest Version and click on upgrade ;). It will try to upgrade from Version 1.0.1 to Version 1.2.3.
Bye
DIN1031
I've made up Russian-UTF8 partial translation for the mod. Only one button, only non-administrative purposes text.
Feel free to use and modify :)
hello
when i click the thanks, this appears
Illegal mix of collations (latin1_general_ci,IMPLICIT) and (latin1_swedish_ci,IMPLICIT) for operation 'ifnull'
File: /home/gilaforu/public_html/Sources/ThankYouPost.php
Line: 520
i install it in smf 1.1.4, use ThankOMatic123
i use dark dirge theme...
when i install it,i use manual installation...
how to fix it?
thanks
Quote from: ディン1031 on June 12, 2007, 12:18:59 PM
Included Languages: English
Language Packs are attached to this post (http://www.simplemachines.org/community/index.php?topic=176565.0): Deutsch (German), Español (Spanish), Türkçe (Turkish) and Ελληνικά (Greek).
mmm... why it say that include spanish language when not?
Quote from: Mrs_Robota on July 05, 2008, 11:53:33 PM
Quote from: ディン1031 on June 12, 2007, 12:18:59 PM
Included Languages: English
Language Packs are attached to this post (http://www.simplemachines.org/community/index.php?topic=176565.0): Deutsch (German), Español (Spanish), Türkçe (Turkish) and Ελληνικά (Greek).
mmm... why it say that include spanish language when not?
Oh i forgot to remove this because this language pack is lost... sorry i will remove it from the text <<
Quote from: byone on July 05, 2008, 02:06:23 PM
hello
when i click the thanks, this appears
Illegal mix of collations (latin1_general_ci,IMPLICIT) and (latin1_swedish_ci,IMPLICIT) for operation 'ifnull'
File: /home/gilaforu/public_html/Sources/ThankYouPost.php
Line: 520
i install it in smf 1.1.4, use ThankOMatic123
i use dark dirge theme...
when i install it,i use manual installation...
how to fix it?
thanks
I don't know how to fix it, i can only say read about collations in hte mysql documentation to see how to fix it.
Bye
DIN1031
when one guest browse my forum i have a lot of these errors din:
Guest
8: Undefined index: thank_you_post_became_display
Apply Filter: Only show the errors from this file
File: /membri/ediboard/Themes/default/Display.template.php (eval?)
Line: 497
Line 497Quote
//Show some Thank-O-Matic Stats ;D
if(!empty($modSettings['thankYouPostDisplayPage'])) {
echo '
', $txt['thank_you_post_thx_display'], '<br />
-', $txt['thank_you_post_made_display'], ': ', $message['member']['thank_you_post']['made'], '<br />
-', $txt['thank_you_post_became_display'], ': ', $message['member']['thank_you_post']['became'], '<br />
<br />';
}
Quote from: edi67 on July 07, 2008, 10:44:25 AM
when one guest browse my forum i have a lot of these errors din:
Guest
8: Undefined index: thank_you_post_became_display
Apply Filter: Only show the errors from this file
File: /membri/ediboard/Themes/default/Display.template.php (eval?)
Line: 497
Line 497
Quote
//Show some Thank-O-Matic Stats ;D
if(!empty($modSettings['thankYouPostDisplayPage'])) {
echo '
', $txt['thank_you_post_thx_display'], '<br />
-', $txt['thank_you_post_made_display'], ': ', $message['member']['thank_you_post']['made'], '<br />
-', $txt['thank_you_post_became_display'], ': ', $message['member']['thank_you_post']['became'], '<br />
<br />';
}
Quote$txt['thank_you_post_became_display'] = 'Receive';
This is the text for it, i think you missed it somewhere in the translations... normal it's included in the mod. It's normal in the index.yourlanguage.php.
Bye
DIN1031
Quote from: ディン1031 on July 07, 2008, 12:36:23 PM
Quote from: edi67 on July 07, 2008, 10:44:25 AM
when one guest browse my forum i have a lot of these errors din:
Guest
8: Undefined index: thank_you_post_became_display
Apply Filter: Only show the errors from this file
File: /membri/ediboard/Themes/default/Display.template.php (eval?)
Line: 497
Line 497
Quote
//Show some Thank-O-Matic Stats ;D
if(!empty($modSettings['thankYouPostDisplayPage'])) {
echo '
', $txt['thank_you_post_thx_display'], '<br />
-', $txt['thank_you_post_made_display'], ': ', $message['member']['thank_you_post']['made'], '<br />
-', $txt['thank_you_post_became_display'], ': ', $message['member']['thank_you_post']['became'], '<br />
<br />';
}
Quote$txt['thank_you_post_became_display'] = 'Receive';
This is the text for it, i think you missed it somewhere in the translations... normal it's included in the mod. It's normal in the index.yourlanguage.php.
Bye
DIN1031
Strange din i have this in my language file but these errors appear only when one GUEST browse forum
Strange because the index file is loaded each time and it should not create this error...
I tested it and can not reproduce it... strange very stange...
you can if you've no problems not to show this infos to the guests...
to change
if(!empty($modSettings['thankYouPostDisplayPage'])) {
to
if(!$context['user']['is_guest'] && !empty($modSettings['thankYouPostDisplayPage'])) {
it will not parsed than to the guest ;)
But it's really strange... normal it should also appear to the normal members...
Bye
DIN1031
thanks DIN1031 I can upgrade this mode very easy :)
one suggestion : why you dont do it Ajax form ? reloading the page for one THX is hard for some lazy members :p
Quote from: amiralib on July 13, 2008, 02:37:37 PM
thanks DIN1031 I can upgrade this mode very easy :)
one suggestion : why you dont do it Ajax form ? reloading the page for one THX is hard for some lazy members :p
The 2.0. Beta version have a Ajax post style version in it :P but it will only work in SMF 2.0 Beta 3+, and i will not insert it in the old version ;). (to much work, i need to change a lot things that it work correct with all the possible changes that the user can do with the theme).
Bye
DIN1031
What exactly are the changes in version 1.2.3? The only thing the mod page says is:
- SMF 1.1.5 Compatible
* Change a Query to the new way of SMF adding it, i think they know what they do (Look faster and securer to me)
- Upgrade Included
The 1st one isnt a big deal because 1.2.2 is already compatible with 1.1.5 as that is what I use now. The change a query part makes no sense to someone who has no idea what you are talking about. Can you be a bit more specific in the details as to what this actually is for? It will help me decide of I need to upgrade or not.
Quote from: Kimmie on July 16, 2008, 04:45:55 AM
What exactly are the changes in version 1.2.3? The only thing the mod page says is:
- SMF 1.1.5 Compatible
* Change a Query to the new way of SMF adding it, i think they know what they do (Look faster and securer to me)
- Upgrade Included
The 1st one isnt a big deal because 1.2.2 is already compatible with 1.1.5 as that is what I use now. The change a query part makes no sense to someone who has no idea what you are talking about. Can you be a bit more specific in the details as to what this actually is for? It will help me decide of I need to upgrade or not.
Like i said it's only a speed up thing and make the query more secure ;).
And i don't know if 1.2.2 is compatible to 1.1.5 because i never tested it, i realease the version after the 1.1.5 release, and i use query like smf, and they changed it in 1.1.5 and i thought i need to do this also, to make it the same way as smf. (The change to version 1.2.3 was 03.05.08 :P three days after smf 1.1.5 release).
Bye
DIN1031
umm ..
When i click "For this post, 1 member gave a thank you!"
i got this
Login as admin :
Illegal mix of collations (utf8_general_ci,IMPLICIT) and (latin1_swedish_ci,IMPLICIT) for operation 'ifnull'
File: c:\program files\easyphp1-8\www\smf\Sources\ThankYouPost.php
Line: 520
Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.5, 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.
login as member :
Please try again. If you come back to this error screen, report the error to an administrator.
i'm using :
-SMF 1.1.5 fresh install
-default theme
-ThankOMatic123
no other mods
what's the problem?
SQL Problem, look if the collation is correct set of the thank you table... because this is a typical sql problem.
I think you need to fix it in the sql table and set all to the one you use.
There is also a way to make a hardcorefix but first you should look if you can fix it in the sql.
Bye
DIN1031
Quote from: ディン1031 on July 06, 2008, 03:39:46 AM
Quote from: Mrs_Robota on July 05, 2008, 11:53:33 PM
Quote from: ディン1031 on June 12, 2007, 12:18:59 PM
Included Languages: English
Language Packs are attached to this post (http://www.simplemachines.org/community/index.php?topic=176565.0): Deutsch (German), Español (Spanish), Türkçe (Turkish) and Ελληνικά (Greek).
mmm... why it say that include spanish language when not?
Oh i forgot to remove this because this language pack is lost... sorry i will remove it from the text
If you want I can help you with the spanish translation.... I updated my forum from 1.1.4 to 1.1.5 and my spanish version become english.... don't know why...
This is strange, sorry but i don't have a spanish translation any more it's lost somehow...
And why it show in english instead of spanish is strange, too because normal it should shown in the Language that you select (Only if you installe the Load Standard Language that this could happen, because of a not existing Spain Translation).
Bye
DIN1031
Quote from: ディン1031 on July 16, 2008, 07:57:40 AM
Quote from: Kimmie on July 16, 2008, 04:45:55 AM
What exactly are the changes in version 1.2.3? The only thing the mod page says is:
- SMF 1.1.5 Compatible
* Change a Query to the new way of SMF adding it, i think they know what they do (Look faster and securer to me)
- Upgrade Included
The 1st one isnt a big deal because 1.2.2 is already compatible with 1.1.5 as that is what I use now. The change a query part makes no sense to someone who has no idea what you are talking about. Can you be a bit more specific in the details as to what this actually is for? It will help me decide of I need to upgrade or not.
Like i said it's only a speed up thing and make the query more secure ;).
And i don't know if 1.2.2 is compatible to 1.1.5 because i never tested it, i realease the version after the 1.1.5 release, and i use query like smf, and they changed it in 1.1.5 and i thought i need to do this also, to make it the same way as smf. (The change to version 1.2.3 was 03.05.08 :P three days after smf 1.1.5 release).
Bye
DIN1031
Well I can tell you that it "is" compatibile with 1.1.5 because thats what I use. I upgraded to 1.1.5 after having upgraded this mod to 1.2.2 and it works fine. :)
Do I need to upgrade to 1.2.3 is my next question? I dont know anything about queries and all that. What exactly gets "sped up"?
Quote from: Kimmie on July 18, 2008, 12:41:26 AM
Quote from: ディン1031 on July 16, 2008, 07:57:40 AM
Quote from: Kimmie on July 16, 2008, 04:45:55 AM
What exactly are the changes in version 1.2.3? The only thing the mod page says is:
- SMF 1.1.5 Compatible
* Change a Query to the new way of SMF adding it, i think they know what they do (Look faster and securer to me)
- Upgrade Included
The 1st one isnt a big deal because 1.2.2 is already compatible with 1.1.5 as that is what I use now. The change a query part makes no sense to someone who has no idea what you are talking about. Can you be a bit more specific in the details as to what this actually is for? It will help me decide of I need to upgrade or not.
Like i said it's only a speed up thing and make the query more secure ;).
And i don't know if 1.2.2 is compatible to 1.1.5 because i never tested it, i realease the version after the 1.1.5 release, and i use query like smf, and they changed it in 1.1.5 and i thought i need to do this also, to make it the same way as smf. (The change to version 1.2.3 was 03.05.08 :P three days after smf 1.1.5 release).
Bye
DIN1031
Well I can tell you that it "is" compatibile with 1.1.5 because thats what I use. I upgraded to 1.1.5 after having upgraded this mod to 1.2.2 and it works fine. :)
Do I need to upgrade to 1.2.3 is my next question? I dont know anything about queries and all that. What exactly gets "sped up"?
So i give you now the exact thing i done ;P
First my mod are upgradeable if you like to change to 1.2.3 you can do it in a easy way. Ther Version 1.2.2 will work in 1.1.4 but will not install on 1.1.5 because in 1.1.5 some parts are change that my mod use.
So the change is that it is not possible any more to come unter 0 with the thank you became and thank you given i use a standard smf function for this, and this function have a change in it, and i like that my mods use the same system as smf do ;). I know exactly what the change do, but why should i descripe this in each detail. Your mod will work in the same way as before even without the change... and if you like not to upgrade that it is your choice.
Bye
DIN1031
Unknown column 'm.thank_you_post' in 'where clause'
Dosya: /var/www/vhosts/chatfrm.com/httpdocs/form/Sources/Profile.php
Satır: 1782
problems?
Quote from: blackstar on July 18, 2008, 03:18:16 PM
Unknown column 'm.thank_you_post' in 'where clause'
Dosya: /var/www/vhosts/chatfrm.com/httpdocs/form/Sources/Profile.php
Satır: 1782
problems?
Is this a question or a statement...
First which version, did the install work correct, normal this field should exist, if this not so that there are much more errors if i look into it... Any Thank You Mod Addons installed? :X
Bye
DIN1031
I changed "Thank-O-Matic Addon: Stats" and its showing bars as the rest of stats page.
Red for given and green for received.
Its not difficult to done.
http://img391.imageshack.us/img391/3798/ss01lr1.jpg
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg391.imageshack.us%2Fimg391%2F3798%2Fss01lr1.jpg&hash=16512ac9baa93d4ea19c1e61a53013f89a13a9ac)
hi . can i import the table of Thank-O-matik 1.2.0 in table of thank-O-matik 1.2.3 for use on smf 1.1.5 ? its pssible?
( i installed Thank-O-matik 1.2.0 on smf 1.1.4 from near one years ago , and next i upgraded smf to 1.1.5 , and your mod worked good . but now for some reason i want to erase the files install new smf 1.1.5 ; and next install new ver of your mod ; and next import the last database in new database . it's corect? no problem? plz GUIDANCE me
Quote from: Vahid on July 31, 2008, 03:38:07 PM
hi . can i import the table of Thank-O-matik 1.2.0 in table of thank-O-matik 1.2.3 for use on smf 1.1.5 ? its pssible?
( i installed Thank-O-matik 1.2.0 on smf 1.1.4 from near one years ago , and next i upgraded smf to 1.1.5 , and your mod worked good . but now for some reason i want to erase the files install new smf 1.1.5 ; and next install new ver of your mod ; and next import the last database in new database . it's corect? no problem? plz GUIDANCE me
I think you need to upgrade your thank-o-matic version also, because if there are any changes in database it will make it.
If you ask my opinion, I would try test of fresh 1.1.5 installing and than importing old database to new database and take a look is it works?
Guys, I'm very needing help here :(
I've tried to install this mod on my sample forum www.stikesmb.ac.id/for2/, the installation process looks fine, but I can't see the effect?
Are this mod add thank button on the post so the viewer can hit it to say thank to the writer?
Quote from: pandusetiawan on August 01, 2008, 04:27:42 AM
Guys, I'm very needing help here :(
I've tried to install this mod on my sample forum www.stikesmb.ac.id/for2/, the installation process looks fine, but I can't see the effect?
Are this mod add thank button on the post so the viewer can hit it to say thank to the writer?
You need to enable it in the board you like to use it?
Did you set up the permission so that user can use it?
Did you make the theme changes for the theme that you use?
Bye
DIN1031
Why I get this error when I try to install this mod?
Seems that there are no line :
'showPosts' => array(array('profile_view_any', 'profile_view_own'), array('profile_view_any')),
'showThankYouPosts' => array(array('profile_view_any', 'profile_view_own'), array('profile_view_any')),
In : ./Sources/Display.php
I'm using SMF 2.0 Beta 3.1 Public
Thx.
Quote from: pandusetiawan on August 04, 2008, 12:40:15 PM
Why I get this error when I try to install this mod?
Seems that there are no line :
'showPosts' => array(array('profile_view_any', 'profile_view_own'), array('profile_view_any')),
'showThankYouPosts' => array(array('profile_view_any', 'profile_view_own'), array('profile_view_any')),
In : ./Sources/Display.php
I'm using SMF 2.0 Beta 3.1 Public
Thx.
Are you sure that you installed it correct, because this is for the SMF 1.1.5 Version... and i don't find this in the "2.0 Beta 3" Version of the mod.
Please use the Beta Version for an install on SMF 2.0 Beta 3.1, older Versions will not work!
Bye
DIN1031
i set this mode in famouspadexx theme .its work very well but the thank buttons do not show..
i put the ....gif pic in image folder in famouspadexx theme but it not showing..
ok....
i find they way to set that
just finded it :
$thankyoupostpost_button = create_button('thank_you_b.gif', 'thank_you_post_post_b', 'thank_you_post_post_b', 'align="middle"');
$thankyoupostlock_button = create_button('thank_you_b.gif', 'thank_you_post_lock_b', 'thank_you_post_lock_b', 'align="middle"');
$thankyoupostopen_button = create_button('thank_you_b.gif', 'thank_you_post_open_b', 'thank_you_post_open_b', 'align="middle"');
$thankyoupostdelete_button = create_button('thank_you_b.gif', 'thank_you_post_delete_b', 'thank_you_post_delete_b', 'align="middle"');
and relapsed to:
$thankyoupostpost_button = create_button('thank_you.gif', 'thank_you_post_post_b', 'thank_you_post_post_b', 'align="middle"');
$thankyoupostlock_button = create_button('thank_you_lock2.gif', 'thank_you_post_lock_b', 'thank_you_post_lock_b', 'align="middle"');
$thankyoupostopen_button = create_button('thank_you_lock1.gif', 'thank_you_post_open_b', 'thank_you_post_open_b', 'align="middle"');
$thankyoupostdelete_button = create_button('thank_you_delete.gif', 'thank_you_post_delete_b', 'thank_you_post_delete_b', 'align="middle"');
Hello,
I've installed the version 2 beta 3 for SMF 2.0 Beta 3.1 successfully without errors, and I can't find anywhere to thank the post even after enabling it and giving users permission to give thank you.
Is there a problem?
[edit]
Woah sorry. I looked through the codes and realised that you had to enable "Thank You" for every single board manually besides allowing user permissions O_O.
A bit unfriendly there for sites with many boards...
QuoteA bit unfriendly there for sites with many boards...
Not when you only have certain boards that you want them to have that option :)
So I've finished now the converter for Thank You Mod -> Thank-O-Matic (For SMF 1.x and 2.x) and now i search for people who have local test forums or a SMF 2.x test forum and like to convert old thank you mod data.
Write a pm to me and i give you the first version of the converter :) (It's totally beta ;P)
Bye
DIN1031
Hello, i have installed it, and after, i have this error when i click Features And Options through adminpage:
Fatal error: Cannot redeclare modifythankyoupostsettings() (previously declared in /home/mysamura/public_html/forum/Sources/ModSettings.php:398) in /home/mysamura/public_html/forum/Sources/ModSettings.php on line 491
What can i do? (i tried to search the forum, and found a solution in foreign language :( )
Quote from: cerberos on August 16, 2008, 06:24:18 AM
Hello, i have installed it, and after, i have this error when i click Features And Options through adminpage:
Fatal error: Cannot redeclare modifythankyoupostsettings() (previously declared in /home/mysamura/public_html/forum/Sources/ModSettings.php:398) in /home/mysamura/public_html/forum/Sources/ModSettings.php on line 491
What can i do? (i tried to search the forum, and found a solution in foreign language :( )
Double insert of the function modifythankyoupostsettings() ?_? did you installed it two times?
Bye
DIN1031
Damn, what i have to remove, can u tell me?:)
Search for:
function ModifyThankYouPostSettings()
{
global $txt, $scripturl, $context, $settings, $sc;
$config_vars = array(
// Thank You Post, some Stanadard settings :)
array('check', 'thankYouPostOnePerPost'),
array('check', 'thankYouPostColors'),
array('check', 'thankYouPostDisplayPage'),
'',
// Okay only the preview settings :)
array('check', 'thankYouPostPreview'),
array('int', 'thankYouPostPreviewHM'),
array('select', 'thankYouPostPreviewOrder', explode('|', $txt['thankYouPostPreviewOrderSelect'])),
'',
// Okay only the Full List settings :)
array('select', 'thankYouPostFullOrder', explode('|', $txt['thankYouPostFullOrderSelect'])),
'',
//Hmm it'S compatible to my Hide Mod... and have two options xD
array('check', 'thankYouPostUnhidePost'),
array('check', 'thankYouPostThxUnhideAll'),
array('check', 'thankYouPostDisableUnhide'),
);
// Saving?
if (isset($_GET['save']))
{
saveDBSettings($config_vars);
redirectexit('action=featuresettings;sa=thankyoupost');
}
$context['post_url'] = $scripturl . '?action=featuresettings2;save;sa=thankyoupost';
$context['settings_title'] = $txt['thankyouposttitle'];
prepareDBSettingContext($config_vars);
}
And delete it one time :)
Bye
DIN1031
Thank you my friend :)
Mm, new problem. It seems i tried to install it in the past but i dont remember it :(
http://mysamurai.eu/forum/index.php?action=profile;u=357 -> Fatal error: Cannot redeclare template_showthankyouposts() (previously declared in /home/mysamura/public_html/forum/Sources/Load.php(1737) : eval()'d code:554) in /home/mysamura/public_html/forum/Sources/Load.php(1737) : eval()'d code on line 811
I searched the load.php and the code it must have as the manual installation says, is not 2 times. So what is the problem now?:(
Sorry for the mess.
Quote from: cerberos on August 18, 2008, 10:02:01 AM
Mm, new problem. It seems i tried to install it in the past but i dont remember it :(
http://mysamurai.eu/forum/index.php?action=profile;u=357 -> Fatal error: Cannot redeclare template_showthankyouposts() (previously declared in /home/mysamura/public_html/forum/Sources/Load.php(1737) : eval()'d code:554) in /home/mysamura/public_html/forum/Sources/Load.php(1737) : eval()'d code on line 811
I searched the load.php and the code it must have as the manual installation says, is not 2 times. So what is the problem now?:(
Sorry for the mess.
The problem is int you Profile.template.php ;).
Look into the file there must be to functions with template_showThankYouPosts delete one of them ;).
Bye
DIN1031
My English is very bad, sorry.
The module works perfectly, but bears no changes made in administration
Do not mistake me back to the home page. In the log I see these errors.
8: Undefined index: pm_posts_per_hour
Archivo: /home/aldiaorg/domains/ustealdia.org/public_html/foro/Sources/ModSettings.php
Línea: 251
8: Undefined index: pm_posts_verification
Archivo: /home/aldiaorg/domains/ustealdia.org/public_html/foro/Sources/ModSettings.php
Línea: 251
8: Undefined index: max_pm_recipients
Archivo: /home/aldiaorg/domains/ustealdia.org/public_html/foro/Sources/ModSettings.php
Línea: 251
thank you for everything
If you change the configuration directly into the database, everything works properly.
The problem is that bears no changes in the database.
Any idea?
Quote from: javi_24 on August 23, 2008, 03:18:27 PM
My English is very bad, sorry.
The module works perfectly, but bears no changes made in administration
Do not mistake me back to the home page. In the log I see these errors.
8: Undefined index: pm_posts_per_hour
Archivo: /home/aldiaorg/domains/ustealdia.org/public_html/foro/Sources/ModSettings.php
Línea: 251
8: Undefined index: pm_posts_verification
Archivo: /home/aldiaorg/domains/ustealdia.org/public_html/foro/Sources/ModSettings.php
Línea: 251
8: Undefined index: max_pm_recipients
Archivo: /home/aldiaorg/domains/ustealdia.org/public_html/foro/Sources/ModSettings.php
Línea: 251
thank you for everything
I can tell you than come not from my mod! Because my variables start with thank_you_....
Are you sure this come from the Thank-O-Matic?
The Database Changes work fine ;). There are not problems with the Mod.
Admin -> Features and Settings -> Thank-O-Matic.
Did you make the language changes for you language?
Bye
DIN1031
Yes, I made changes in language to make --- spanish_es.
http://www.simplemachines.org/community/index.php?topic=249235.0
Install first English. And then I put the texts translated into spanish_es
Hi, what failure is it pls?
Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8_czech_ci,IMPLICIT) for operation 'ifnull'
It display in Thank You user :(
oh man, ich merke gerade, dass ich den falschen thank you mod genommen habe - sorry -.-
I Love this mode.....BUT ITS DRIVING ME CRAZY
ive made so many custom pages. and when i upload them it seems to go fine, then just goes to a blank white page (which is done loading). After that i get to admin and try click custom actions and all i get is a white page. ITS KILLING ME!!! ive spent months making my site, had this happen, redid it all and its happened again and i cant get back into custom actions to add new pages or edit the old ones
If anyone has the answer to fix this PLEASE, PLEASE, PLEEAAASSEEEE HELP ME!!!!
i dont wanna spend 3 weeks full time trying to make this again
Thanks guys,
Steph
Quote from: MaxiPes on August 24, 2008, 11:20:32 AM
Hi, what failure is it pls?
Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8_czech_ci,IMPLICIT) for operation 'ifnull'
It display in Thank You user :(
This is a collation problem in the database, change in the Collations to the correct one in the Database, my script normal use the standard given database collatione, if there is not the correct one than this will happen ;). (Normal you can change this with phpmyadmin.
Quote from: j0ki on August 24, 2008, 06:53:56 PM
oh man, ich merke gerade, dass ich den falschen thank you mod genommen habe - sorry -.-
Warum das? ;)
Quote from: steph1987 on August 24, 2008, 07:16:48 PM
I Love this mode.....BUT ITS DRIVING ME CRAZY
ive made so many custom pages. and when i upload them it seems to go fine, then just goes to a blank white page (which is done loading). After that i get to admin and try click custom actions and all i get is a white page. ITS KILLING ME!!! ive spent months making my site, had this happen, redid it all and its happened again and i cant get back into custom actions to add new pages or edit the old ones
If anyone has the answer to fix this PLEASE, PLEASE, PLEEAAASSEEEE HELP ME!!!!
i dont wanna spend 3 weeks full time trying to make this again
Thanks guys,
Steph
I don't understand how this realated to this mod?
It could be also a server problem, look at you apache http log and see what kind of error apear when the white page came up. Or look into the error loog to see what kind of error happen.
Quote from: javi_24 on August 24, 2008, 08:05:55 AM
Yes, I made changes in language to make --- spanish_es.
http://www.simplemachines.org/community/index.php?topic=249235.0
Install first English. And then I put the texts translated into spanish_es
Which version of the mod did you install?
Bye
DIN1031
Hi i am using outline template !
and i had install this mod
can you help me
how can i set this mod for this template !
thanks
Hi
This are the Theme Changes: http://jmusic.ddo.jp/DIN1031/modparser/index.php?action=installMod&smfVersion=1.1.5&name=ThankOMatic123&theme done by this mod. It's possible that you not need to change every file in it.
Bye
DIN1031
My Template does not have this files !
you say this is work in my template
by i do not see any button under the replays !
i install it successfuly !
but it does not show!
Did you enable it in the boards and set up premissions?
Bye
DIN1031
Quote from: ディン1031 on August 25, 2008, 12:50:05 AM
Quote from: MaxiPes on August 24, 2008, 11:20:32 AM
Hi, what failure is it pls?
Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8_czech_ci,IMPLICIT) for operation 'ifnull'
It display in Thank You user :(
This is a collation problem in the database, change in the Collations to the correct one in the Database, my script normal use the standard given database collatione, if there is not the correct one than this will happen ;). (Normal you can change this with phpmyadmin.
Bye
DIN1031
THX DIN1031
It works!!! :) ;)
Quote from: Bancherd on September 09, 2008, 01:27:17 AM
umm..I got this error when trying to access a post in a board. Possibly due to incompatible versions?
Version: smf4beta4 public
ThankOMatic20Beta4 (2.0 Beta 4).zip
I've something forgot to insert... the three people who use the beta 4 version please replace
//Show some Thank-O-Matic Stats ;D
if(!empty($modSettings['thankYouPostDisplayPage'])) {
echo '
<li>', $txt['thank_you_post_thx_display'], '</li>
<li>-', $txt['thank_you_post_made_display'], ': ', $message['member']['thank_you_post']['made'], '</li>
<li>-', $txt['thank_you_post_became_display'], ': ', $message['member']['thank_you_post']['became'], '</li>
}
with
//Show some Thank-O-Matic Stats ;D
if(!empty($modSettings['thankYouPostDisplayPage'])) {
echo '
<li>', $txt['thank_you_post_thx_display'], '</li>
<li>-', $txt['thank_you_post_made_display'], ': ', $message['member']['thank_you_post']['made'], '</li>
<li>-', $txt['thank_you_post_became_display'], ': ', $message['member']['thank_you_post']['became'], '</li>';
}
Sorry for the problems... somehow i did not seen it...
Bye
DIN1031
i installed this mod on 2-0 beta 4 ....got error
Fatal error: Cannot redeclare template_thank_you_post() (previously declared in /www/110mb.com/p/h/j/a/d/m/i/n/phjadmin/htdocs/forum/Sources/Load.php(1961) : eval()'d code:487) in /www/110mb.com/p/h/j/a/d/m/i/n/phjadmin/htdocs/forum/Sources/Load.php(1961) : eval()'d code on line 535
Quote from: Faevilangel on September 10, 2008, 04:39:30 PM
i installed this mod on 2-0 beta 4 ....got error
Fatal error: Cannot redeclare template_thank_you_post() (previously declared in /www/110mb.com/p/h/j/a/d/m/i/n/phjadmin/htdocs/forum/Sources/Load.php(1961) : eval()'d code:487) in /www/110mb.com/p/h/j/a/d/m/i/n/phjadmin/htdocs/forum/Sources/Load.php(1961) : eval()'d code on line 535
What I get from your error is you double installed it. I dont know this mod, I never installed it but this is my opinion.
oohhhh i only pressed it once....... how would i remove the one ? i cant access any pages :|
look into the $themedir/index.template.php. Are there two function template_thank_you_post() than remove one of the function blocks.
Bye
DIN1031
that solved it, thanks DIN :-D
Hi!
I had install smf v 1.1.5 and I updated it on 1.1.6.I like this nice mod.
I try to install O-Matic 1.2.3 and all instalation process is succesful.
But I have not "thank you" settings in admin panel(Features and Options) and i have not anything in posts(dont work anything)....
Please @DIN1031 help me to resolve this problem....(I check,all script have a good fill lines...)
Quote from: Perob on September 13, 2008, 09:44:09 PM
Hi!
I had install smf v 1.1.5 and I updated it on 1.1.6.I like this nice mod.
I try to install O-Matic 1.2.3 and all instalation process is succesful.
But I have not "thank you" settings in admin panel(Features and Options) and i have not anything in posts(dont work anything)....
Please @DIN1031 help me to resolve this problem....(I check,all script have a good fill lines...)
Did you've set the permissions, did you enable it on the boards?
Bye
DIN1031
Nice mod.. :D Is it possible to combine some of the text into graphics, since we are already using some graphics in front of the text? ???
I am using SMF2beta4public.
Quote from: Bancherd on September 14, 2008, 11:36:04 PM
Nice mod.. :D Is it possible to combine some of the text into graphics, since we are already using some graphics in front of the text? ???
I am using SMF2beta4public.
??? can you give me a example what you mean? A picture or anything?
Bye
DIN1031
Quotecan you give me a example what you mean? A picture or anything?
Attached is what I meant...perhaps we could combine the graphic
red star with the words
Lock and
Delete? I believe that they would be more compact and their sizes would be closer to others(such as Split Topics, Remove, etc.)
Thanks for looking into this :D
Quote from: Bancherd on September 16, 2008, 04:26:52 AM
Quotecan you give me a example what you mean? A picture or anything?
Attached is what I meant...perhaps we could combine the graphic red star with the words Lock and Delete? I believe that they would be more compact and their sizes would be closer to others(such as Split Topics, Remove, etc.)
Thanks for looking into this :D
I use a standard function of SMF for this, and this is the output :X.
And i must they this is not logical for me, because you need to see that this are two different functions. And so they have two buttons... you can remove the image if you change the code but it can confuse the user ;). Or you go to the index.english.php and remove the "Thank You" of this two buttons, than it will be shorter and not so long ;).
That are the only ideas that i can give.
Bye
DIN1031
Hi, I'm using smf 1.1.6 with Helios Multicolor theme. I installed this mod with no problems, turned it on in the features section, and on the board & in permissions. It shows up fine in the profile & admin section... but there is nothing in the posts. Oh, and I added the images to that themes folder.
I'm guessing I need to modify the themes Display.template.php but I'm not sure where... I'm a real newbie at all this and could use some guidance.
If it helps any, I've attached my themes Display.template.php file.
Thanks in advance!
This are the old classic style button changes, i thought i postet this allready ;)
Replace in
Display.template.php follow thing.
<search for>
if ($context['can_send_topic'])
$buttonArray[] = '<a href="' . $scripturl . '?action=sendtopic;topic=' . $context['current_topic'] . '.0">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/sendtopic.gif" alt="' . $txt[707] . '" border="0" />' : $txt[707]) . '</a>';
$buttonArray[] = '<a href="' . $scripturl . '?action=printpage;topic=' . $context['current_topic'] . '.0" target="_blank">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/print.gif" alt="' . $txt[465] . '" border="0" />' : $txt[465]) . '</a>';
<search for>
<add after>
//Special Lock for the Thank You :) (Old Style ;D)
if($context['thank_you_lock_allowed'])
if(empty($context['is_thank_you_post_locked']))
$buttonArray = '<a href="' . $scripturl . '?action=thankyoupost;topic=' . $context['current_topic'] . '.0">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/thank_you_lock1.gif" alt="' . $txt['thank_you_post_lock_all_b'] . '" title="' . $txt['thank_you_post_lock_all_b'] . '" border="0" />' : $txt['thank_you_post_lock_all_b']) . '</a>';
else
$buttonArray = '<a href="' . $scripturl . '?action=thankyoupost;topic=' . $context['current_topic'] . '.0">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/thank_you_lock2.gif" alt="' . $txt['thank_you_post_open_all_b'] . '" title="' . $txt['thank_you_post_open_all_b'] . '" border="0" />' : $txt['thank_you_post_open_all_b']) . '</a>';
//A Fix for later, if some Translations are not Updated
if(empty($txt['thank_you_link_aftercounters']))
$txt['thank_you_link_aftercounters'] = $txt['thank_you_link_aftercounter'];
</add after>
<search for>
// What about splitting it off the rest of the topic?
if ($context['can_split'])
echo '
</search for>
<a href="', $scripturl, '?action=splittopics;topic=', $context['current_topic'], '.0;at=', $message['id'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/split.gif" alt="' . $txt['smf251'] . '" border="0" />' : $txt['smf251']), '</a>';
<add after>
// Can do some Thank You Post things :)
if ($message['thank_you_post']['post'] && !$message['thank_you_post']['locked'])
echo '
<a href="', $scripturl, '?action=thankyou;topic=', $context['current_topic'], '.0;msg=', $message['id'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/thank_you.gif" alt="' . $txt['thank_you_post_post_b'] . '" border="0" />' : $txt['thank_you_post_post_b']), '</a>';
if ($message['thank_you_post']['lock'] && $message['thank_you_post']['isThankYouPost'])
echo '
<a href="', $scripturl, '?action=thankyoupostlock;topic=', $context['current_topic'], '.0;msg=', $message['id'], '">', ($message['thank_you_post']['locked'] ? ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/thank_you_lock2.gif" alt="' . $txt['thank_you_post_open_b'] . '" border="0" />' : $txt['thank_you_post_open_b']) : ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/thank_you_lock1.gif" alt="' . $txt['thank_you_post_lock_b'] . '" border="0" />' : $txt['thank_you_post_lock_b']), )'</a>';
if ($message['thank_you_post']['delete'] && $message['thank_you_post']['isThankYouPost'])
echo '
<a href="', $scripturl, '?action=thankyoupostdelete;topic=', $context['current_topic'], '.0;msg=', $message['id'], ';sesc=', $context['session_id'], '" onclick="return confirm(\'', $txt['remove_thank_you_post'], '?\');">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/thank_you_delete.gif" alt="' . $txt['thank_you_post_delete_b'] . '" border="0" />' : $txt['thank_you_post_delete_b']), '</a>';
</add after>
<search for>
$buttonArray[] = '<a href="' . $scripturl . '?action=printpage;topic=' . $context['current_topic'] . '.0" target="_blank">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/print.gif" alt="' . $txt[465] . '" border="0" />' : $txt[465]) . '</a>';
</search for>
<add after>
//Special Lock for the Thank You :) (Old Style ;D)
if($context['thank_you_lock_allowed'])
if(empty($context['is_thank_you_post_locked']))
$buttonArray = '<a href="' . $scripturl . '?action=thankyoupost;topic=' . $context['current_topic'] . '.0">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/thank_you_lock1.gif" alt="' . $txt['thank_you_post_lock_all_b'] . '" title="' . $txt['thank_you_post_lock_all_b'] . '" border="0" />' : $txt['thank_you_post_lock_all_b']) . '</a>';
else
$buttonArray = '<a href="' . $scripturl . '?action=thankyoupost;topic=' . $context['current_topic'] . '.0">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/thank_you_lock2.gif" alt="' . $txt['thank_you_post_open_all_b'] . '" title="' . $txt['thank_you_post_open_all_b'] . '" border="0" />' : $txt['thank_you_post_open_all_b']) . '</a>';
</add after>
It's untestet :x, i hope i can do this later ;).
Quote from: CanadianIce on September 17, 2008, 03:05:23 PM
Hi, I'm using smf 1.1.6 with Helios Multicolor theme. I installed this mod with no problems, turned it on in the features section, and on the board & in permissions. It shows up fine in the profile & admin section... but there is nothing in the posts. Oh, and I added the images to that themes folder.
I'm guessing I need to modify the themes Display.template.php but I'm not sure where... I'm a real newbie at all this and could use some guidance.
If it helps any, I've attached my themes Display.template.php file.
Thanks in advance!
So i attached a fixed Version, but i could not test it :x.
Bye
DIN1031
******.,,....i open my mangeboards.php to make manual modifications and i see i havent that line
$sourcedir/ManageBoards.php
</edit file>
<search for>
'permission_mode' => 'normal',
</search for>
<add after>
'thank_you_post_enable' => 0,
</add after>
??
Quote from: matasanos on September 18, 2008, 06:47:01 AM
******.,,....i open my mangeboards.php to make manual modifications and i see i havent that line
$sourcedir/ManageBoards.php
</edit file>
<search for>
'permission_mode' => 'normal',
</search for>
<add after>
'thank_you_post_enable' => 0,
</add after>
??
Which SMF Version?
Bye
DIN1031
Quote from: ディン1031 on September 19, 2008, 01:09:24 AM
Quote from: matasanos on September 18, 2008, 06:47:01 AM
******.,,....i open my mangeboards.php to make manual modifications and i see i havent that line
$sourcedir/ManageBoards.php
</edit file>
<search for>
'permission_mode' => 'normal',
</search for>
<add after>
'thank_you_post_enable' => 0,
</add after>
??
Which SMF Version?
Bye
DIN1031
1.1.6...but i suspect that file is version 1.1.2
Quote from: matasanos on September 19, 2008, 03:50:00 AM
Quote from: ディン1031 on September 19, 2008, 01:09:24 AM
Quote from: matasanos on September 18, 2008, 06:47:01 AM
******.,,....i open my mangeboards.php to make manual modifications and i see i havent that line
$sourcedir/ManageBoards.php
</edit file>
<search for>
'permission_mode' => 'normal',
</search for>
<add after>
'thank_you_post_enable' => 0,
</add after>
??
Which SMF Version?
Bye
DIN1031
1.1.6...but i suspect that file is version 1.1.2
I open the files seach for it and found it :x.
Okay i think you need to attach your file, than i hope that i can tell you why it is not found...
Bye
DIN1031
Ok no problem
attached
Quote from: matasanos on September 19, 2008, 08:05:52 AM
Ok no problem
attached
Okay never saw the file in that way oO.
Which Mods did you have installed?
Bye
DIN1031
Hi
installed version 123
tried to add thankomatic karma mod
get error in thankyou...php
also tried the ssi mod...give error that ssi example php is missing...where to get?
i still have the older thankyoumod installed (ver 1.04) tried to upgrade but it shows an error, so i didnt upgraded
i got the same error and found that is beacuse of Redirection Boards mod. Here is what it changes in the ManageBoards.php:
<file name="$sourcedir/ManageBoards.php">
<operation>
<search position="replace"><![CDATA[
'category' => (int) $_REQUEST['ID_CAT']
]]></search>
<add><![CDATA[
'category' => (int) $_REQUEST['ID_CAT'],
'is_redirect' => 0,
'count_clicks' => 1,
'url' => '',
'target' => ''
]]></add>
</operation>
i think that is deleting
'permission_mode' => 'normal',
and matasanos, in your ManageBoards.php file i see that you ve got the same mod too
i added this code manually and installed without errors
'permission_mode' => 'normal',
after
'no_children' => true,
by the way how can i enable it once for all boards?
or come enabled default by the installation?
thanks
Quote from: definitive on September 21, 2008, 05:24:03 PM
by the way how can i enable it once for all boards?
or come enabled default by the installation?
thanks
You need to enable it on each board.
Thanks for the information about the "Redirection Boards mod" i will see if i can make it compatible.
Bye
DIN1031
Hello,
i don' know sql but modifying phpmyadmin sql query, i did it:
UPDATE `database_name`.`smf_boards` SET `thank_you_post_enable` = '0' ;
this enables thank for all boards
Quote from: definitive on September 21, 2008, 05:10:30 PM
i got the same error and found that is beacuse of Redirection Boards mod. Here is what it changes in the ManageBoards.php:
<file name="$sourcedir/ManageBoards.php">
<operation>
<search position="replace"><![CDATA[
'category' => (int) $_REQUEST['ID_CAT']
]]></search>
<add><![CDATA[
'category' => (int) $_REQUEST['ID_CAT'],
'is_redirect' => 0,
'count_clicks' => 1,
'url' => '',
'target' => ''
]]></add>
</operation>
i think that is deleting
'permission_mode' => 'normal',
and matasanos, in your ManageBoards.php file i see that you ve got the same mod too
i added this code manually and installed without errors
'permission_mode' => 'normal',
after
'no_children' => true,
thank you!!!
QuoteLanguage Packs are attached to this post: Deutsch (German), Español (Spanish), Türkçe (Turkish) and Ελληνικά (Greek).
Hello,
i'm still searching for the german Language Pack.
Can anyone give me a link to this Language Pack?
Thx,
daba78
Quote from: daba78 on September 23, 2008, 04:57:31 AM
QuoteLanguage Packs are attached to this post: Deutsch (German), Español (Spanish), Türkçe (Turkish) and Ελληνικά (Greek).
Hello,
i'm still searching for the german Language Pack.
Can anyone give me a link to this Language Pack?
Thx,
daba78
Attached to this post -> http://www.simplemachines.org/community/index.php?topic=176565.0 (ThankOMaticGermanLanguagePack122.zip).
Bye
DIN1031
Quote from: Perob on September 13, 2008, 09:44:09 PM
Hi!
I had install smf v 1.1.5 and I updated it on 1.1.6.I like this nice mod.
I try to install O-Matic 1.2.3 and all instalation process is succesful.
But I have not "thank you" settings in admin panel(Features and Options) and i have not anything in posts(dont work anything)....
Please @DIN1031 help me to resolve this problem....(I check,all script have a good fill lines...)
I had done this exact same thing (upgrading from 1.1.5 to 1.1.6 and then installing Thank-O-Matic) and I have this exact same problem.
I can't set permissions because there's not a single Thank-O-Matic option in ACP.
Oh, now I know why, I have my board in Spanish, and settings are only visible on English board.
Ok, I got it working for Royale theme, but somehow I can't make it work for Pn-Pn (http://www.simplemachines.org/community/index.php?topic=76711), any advise?
Besides that, I could not find the Spanish package in the attachments, so I downloaded the English Example and started my own translation (hopefully they're very few strings), I'll make two packages, one for Spanish_es-utf8 and another for Spanish_es.
Finally I made only 1 package, covering Spanish, Spanish-utf8, Spanish_es, Spanish_es-utf8.
Buttons are modified in way that don't look too bad on Pn-Pn or Ig-Oh theme (although Thank-O-Matic requires some modifications on the Display.Template of these themes to work properly).
Maybe you can review the attachment and approve it, thanks :)
This is a great mod. I'm using it right now without issue. However, I have a question. My ideal thanks mod would thank the user and then bump the thread to the top (if it's not locked). Can you add this in (surely, via an option in the admin panel)? If you can't/won't add this functionality in, do you know off hand how I could go about doing that?
Hmmm i don't know how to do this, but i can take a look if it is possible (even if a other mod is needed for this) :)
Should this only work if the first post become a thank you, or everywhere? :X
Bye
DIN1031
Hi,
where's the spanish Language Pack?
Thx 4 the mod ;)
Quote from: adacas on October 04, 2008, 08:37:23 PM
Hi,
where's the spanish Language Pack?
Thx 4 the mod ;)
In the spanish board:
http://www.simplemachines.org/community/index.php?topic=252307.0
Quote from: ディン1031 on October 03, 2008, 02:06:03 AM
Hmmm i don't know how to do this, but i can take a look if it is possible (even if a other mod is needed for this) :)
Should this only work if the first post become a thank you, or everywhere? :X
Bye
DIN1031
Ideally, it'd work anytime anybody thanked anyone in any post in any thread. :P
Does that make sense? On the forums I've used that had a thanks feature, they all bumped the thread to the top whenever any post in that thread was thanked by anyone. It's a really handy feature because it basically is saying the following: whenever someone hits thanks, it means they appreciated the post, so the post should be bumped to the top so that other people can see the post as well.
Thanks for looking into this. :)
Oh God, I did not know Spanish translation already existed :)
Anyway, thanks for the mod.
hi there
i tried to install the the 1.2.3 version but got error on ./Sources/Subs-Boards.php
my smf is version 1.1.5
i proceeded and found that after the installation i cant access the manage boards function in the Admin section
i attached the Subs-Boards before the installation is done
hope u can help
thanx!
Hum the blog system make the problem...
Which Blog System did you've installed? (i can never make it compatible to that Mod, but i must write some comments about this on my first post) ;)
Attached the fixed Version.
Bye
DIN1031
i use this one:
http://custom.simplemachines.org/mods/index.php?mod=1209
btw, thanx for the fix! it works now! ^^
This is what I get>
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.
12. Execute Modification ./ssi_examples.php Test failed
I'm using version 1.16 of smf........any help? In other words, is it ok to go ahead and install it because this 'examples' file is just not necessary or what?
Quote from: scsmilin on October 10, 2008, 08:21:39 PM
This is what I get>
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.
12. Execute Modification ./ssi_examples.php Test failed
I'm using version 1.16 of smf........any help? In other words, is it ok to go ahead and install it because this 'examples' file is just not necessary or what?
If that the only error you've than i think you can live with the error ;). Because it show only how to use some informations about Thank-O-Matic on SSI Page.
Bye
DIN1031
Does this MOD work with the pn-pn 1.1.1 theme ???
Thanks!!!!!
Quote from: barcelona on October 13, 2008, 03:38:10 PM
Does this MOD work with the pn-pn 1.1.1 theme ???
Thanks!!!!!
I don't know ;).
Bye
DIN1031
there is a problem with turkish language files.
we download english files instead of turkish files!
there are not turkish files for SMF 2.0 Beta 4... only english files!
please help me :)
thanks
Quote from: ディン1031 on October 13, 2008, 02:07:07 AM
Quote from: scsmilin on October 10, 2008, 08:21:39 PM
This is what I get>
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.
12. Execute Modification ./ssi_examples.php Test failed
I'm using version 1.16 of smf........any help? In other words, is it ok to go ahead and install it because this 'examples' file is just not necessary or what?
If that the only error you've than i think you can live with the error ;). Because it show only how to use some informations about Thank-O-Matic on SSI Page.
Bye
DIN1031
Unfortunately that did not work at all. I am now in the process of reinstalling my forum just because of all the errors this produced.
Warning: file_get_contents(chats/home.txt) [function.file-get-contents]: failed to open stream: No such file or directory in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/yshout/yshout.php on line 717
is but ONE of the many errors and that was just in chat. Errors also occur trying to remove posts on a 'thank you' board- even trying to remove the board itself created errors. So may try another version later, may not but thanks for your help!
DIN1031 you can add ajax for the smf 1.1.X version??
Thanks for the answer
Quote from: NIBOGO on October 15, 2008, 09:07:16 PM
DIN1031 you can add ajax for the smf 1.1.X version??
Thanks for the answer
For this i need to rewrite the code, like i did for the smf 2.0 version...
It's possible but i need some time for this ;).
QuoteWarning: file_get_contents(chats/home.txt) [function.file-get-contents]: failed to open stream: No such file or directory in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/yshout/yshout.php on line 717
This is not coming from my mod oO.
Normal my mod try to remove all thank you post information if you remove a board.
Bye
DIN1031
QuoteWarning: file_get_contents(chats/home.txt) [function.file-get-contents]: failed to open stream: No such file or directory in /hermes/web06/b987/pow.unigirl1972/htdocs/forum/yshout/yshout.php on line 717
This is not coming from my mod oO.
Normal my mod try to remove all thank you post information if you remove a board.
[/quote]
No that's not your mod...that's what your mod ended up doing. Throwing errors here and there. I attempted to remove the ONLY thank you board I made, that ended in errors. So I then went to uninstall the mod and that ended up destroying my database of more than 100 members and 3000 posts. At this point I have no forum what so ever so I have to start it all again.....only I know what mod not to use this time. And for the future, warn people not to go ahead with an install when they get the error
12. Execute Modification ./ssi_examples.php Test failed
from attempting to install from the get go because apparently it DOES matter.
Anyway, thanks.
Quote12. Execute Modification ./ssi_examples.php Test failed
This will not produce an error that you mentioned... because that file show only examples... and if you not use ssi you will never look at the file to see what is possible with smf ssi...
"I attempted to remove the ONLY thank you board I made"
So removed the board with the SMF Board function? Or how did you remove that? :X
I'm sure that my mod will not cause an error like that... but i will test it, if there is a bug in it...
But normal if smf remove an board, than my thank-o-matic will be automatic remove the information out of his table. Only the count will be not changed for the users. So i don't understand how it can be destroy your forum, if there was no error message or anything like that. Normal there must be a huge error or anything like that, only than this could be happen. For example a timeout or a sever crash by doing that... How large was the board with the thank you in it?
And what is the error now that you can not fix it?
Bye
DIN1031
well i'm just not sure what to tell you... that was the only 'error' i got installing the mod. I made a thank you board with no problem. I posted ONE post to the board with the hide tags- it did not hide the content. I didn't have time to fool with why that didn't work so I first...
attempted to delete the post - that created an error, so then
I went back to admin to delete the board completely - that ended in an error stating my database had problems, so then
i went in to uninstall the mod YES I KNOW THE PROPER WAY IN ADMIN to install and uninstall mods- that seemed to work but in reality it did not. You could still see like the tab in the admin area for managing the layout or what have you- I still could not delete the original post nor the original board, so then
I reinstalled the mod and attempted to uninstall once again and that was the end of the forum.
So as to what happened, I have no clue. I had even made backups, but those wouldn't work again either sooo I"m now reinstalling fresh and the first mod I'm going to try is yours. If the problems occur this time, I will leave you a link so you can see them for yourself. If I don't come back, the mod worked and if needed in the future, I'll remember to install your thank you mod first. So thanks again!
Quote from: ディン1031 on October 17, 2008, 12:56:57 AM
Quote12. Execute Modification ./ssi_examples.php Test failed
This will not produce an error that you mentioned... because that file show only examples... and if you not use ssi you will never look at the file to see what is possible with smf ssi...
"I attempted to remove the ONLY thank you board I made"
So removed the board with the SMF Board function? Or how did you remove that? :X
I'm sure that my mod will not cause an error like that... but i will test it, if there is a bug in it...
But normal if smf remove an board, than my thank-o-matic will be automatic remove the information out of his table. Only the count will be not changed for the users. So i don't understand how it can be destroy your forum, if there was no error message or anything like that. Normal there must be a huge error or anything like that, only than this could be happen. For example a timeout or a sever crash by doing that... How large was the board with the thank you in it?
And what is the error now that you can not fix it?
Bye
DIN1031
Thanks for the answer DIN1031 ;)
EDIT:
How can I use a template/style on the Thank You area?
Like an example, I want to put it into a "quote" type box to better distinguish it from the rest of the post.
I don't know how to do it in css or php. Can anyone help me?
It says I can do it by adding ThankOMatic in the css by creating a class, but I don't know how.
Hello ディン1031,
one simple? problem with your mod...
I'm using smf 1.1.6 with Aa_New_Damage theme.
I installed this mod with no problems, turned it on in the features section,
and on the board & in permissions. It shows up fine in the profile & admin
section... but the board switch "Enable Thank-O-Matic
This option enable the "Thank You" for posts on this board" will not remembered, if i set this switch and reload the page, the checkbox is unchecked again....
All the other switches are remembered ok...
Maybe i have done a misstake by editing the custom theme ???
I have edited "ManageBoards.php" and "Subs-Boards.php" and the Theme "DisplayTemplate.php" by hand, because the installer fail (reason 30 mods installed, so some of the expected lines are altered and could not find by the installer)
Please explain how the checkboxes remembered, wich table is the value stored and from which file the table will be altered ???
I have included my edited files...
Thanks
ok, have done some test in the sql database and i noticed that the "thank_you_post_enable" row in the smf_boards table all set to 1, if i modifie to 0 then the option is marked in the checkbox after refresh, so the fact is that the this table section will not be updated...
I have solved this problem...
now i have to check if the mod works...
l8er
Quote from: darkshadow_xx on October 20, 2008, 11:34:09 AM
ok, have done some test in the sql database and i noticed that the "thank_you_post_enable" row in the smf_boards table all set to 1, if i modifie to 0 then the option is marked in the checkbox after refresh, so the fact is that the this table section will not be updated...
Because my mod is standard disabled, not enabled. (And because of a mistake i made... 1 is disabled <<.)
Bye
DIN1031
Quote from: 4b11l on October 19, 2008, 01:24:42 AM
EDIT:
How can I use a template/style on the Thank You area?
Like an example, I want to put it into a "quote" type box to better distinguish it from the rest of the post.
I don't know how to do it in css or php. Can anyone help me?
It says I can do it by adding ThankOMatic in the css by creating a class, but I don't know how.
Bump. I really want to use this feature.
Quote from: 4b11l on October 21, 2008, 01:30:23 AM
Quote from: 4b11l on October 19, 2008, 01:24:42 AM
EDIT:
How can I use a template/style on the Thank You area?
Like an example, I want to put it into a "quote" type box to better distinguish it from the rest of the post.
I don't know how to do it in css or php. Can anyone help me?
It says I can do it by adding ThankOMatic in the css by creating a class, but I don't know how.
Bump. I really want to use this feature.
Sorry i did oversee that :X
insert in the style.css something like
.ThankOMatic {
insert your css for the table here
}
Example:
.ThankOMatic
{
color: #000000;
background-color: #D7DAEC;
border: 1px solid #000000;
margin: 1px;
padding: 1px;
font-size: x-small;
line-height: 1.4em;
}
Bye
DIN1031
^
Thank you for you time. Does it matter where I put it in the css file? I put it at the very end and it doesn't seem to be working. I went to check it in the post and it still looks the same.
I found a little bug
When I make a thank you using ajax on the smf 2.0 , I cant see the buttoms for "Lock Thank You" and "Delete Thank You" I need to re-load the page to see this buttons ;)
Quote from: NIBOGO on October 21, 2008, 09:43:03 PM
I found a little bug
When I make a thank you using ajax on the smf 2.0 , I cant see the buttoms for "Lock Thank You" and "Delete Thank You" I need to re-load the page to see this buttons ;)
Oh normal this should not happen, it should normal remove only the default button. But i look into it. Possible that a change i made on beta 4 produce that error =). (I currently reprogramm that Version to the new Database function so i can look into this, too).
Quote from: 4b11l on October 21, 2008, 02:03:08 PM
^
Thank you for you time. Does it matter where I put it in the css file? I put it at the very end and it doesn't seem to be working. I went to check it in the post and it still looks the same.
You can do that, i will look at it ;).
Bye
DIN1031
hi, i've installed and disinstalled 2 times your nice mod!
if i use english language, all is ok.
if i use italian language, i cannot access to the panel in function and option menu. there isn' a tab.
and in the users box i can't read: "thanks" "given:" and "received"; and after "quote", "modify", "remove", "split discussion", there is only a red star...
can you help me?
thx
Quote from: leonardus on October 22, 2008, 04:32:32 AM
hi, i've installed and disinstalled 2 times your nice mod!
if i use english language, all is ok.
if i use italian language, i cannot access to the panel in function and option menu. there isn' a tab.
and in the users box i can't read: "thanks" "given:" and "received"; and after "quote", "modify", "remove", "split discussion", there is only a red star...
can you help me?
thx
I've no italian Translation for the mod :x. Without the Italian Translation you will not see this things. A way to solve this easy is to install the "Load Standard Language". Than the English Language will be loaded each time.
Bye
DIN1031
thank you very much! all run very well.
only in all post i can see "given:" and "taken", but only "-:10" and "-:1".
another error: there isn' t "lock thanks" and delete thank you.
do you now how cai i resolve this??
if you write me were is the english language file, i can translate for you!
EDIT: nvm
Thank you for this Super mod
Thanks buttons, thankers list at the bottom of posts...shows only to the admin !!!
is this normal ? is there any missed settings ?
Thank you
I am using SMF2Beta4
Quote from: katib on October 23, 2008, 08:46:30 PM
Thank you for this Super mod
Thanks buttons, thankers list at the bottom of posts...shows only to the admin !!!
is this normal ? is there any missed settings ?
Thank you
I am using SMF2Beta4
Yes permissions setting, that allow groups to see the list. ;).
Bye
DN1031
I gave the membergroup all the required permissions
The problem was that boards not using default permission profile
Now It works perfect :)
Thank you very much for help
Quote from: leonardus on October 22, 2008, 11:17:02 AM
thank you very much! all run very well.
only in all post i can see "given:" and "taken", but only "-:10" and "-:1".
another error: there isn' t "lock thanks" and delete thank you.
do you now how cai i resolve this??
if you write me were is the english language file, i can translate for you!
anybody can help me? thanks.
This mod is beautiful, but does not work in Italian and nobody helps you. thanks anyway.
I see only two or three stars without written equal and I can not even change the image. how do I use it, in this situation?
i have install the "Load Standard Language", but nothing works.
EDIT:: This addition to tell you that I managed to solve without your help. thanks anyway.
The thanker's nam doesnot show undr thanked
there is only a link saying: "1 number gives..."
When I click on this links, I get:
Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8_unicode_ci,IMPLICIT) for operation 'ifnull'
الملف: /home/0/h/www.hijaj.net/www/smf/Sources/ThankYouPost.php
line: 567
Any idea please ?
Karma addon doesn't seem to work
I have SMF 1.1.6, Thank-O-Matic 1.2.3 and Karma Addon 1.0.0 and I get this when trying to install the Karma addon after I've installed Thank-o-matic:
1. Execute Modification ./Sources/ThankYouPost.php Test failed
Has something changed in the new Thank-O-Matic version that it breaks compatibility with the Karma addon? Thanks for any help in advance! :)
Quote from: leonardus on October 24, 2008, 12:29:19 PM
This mod is beautiful, but does not work in Italian and nobody helps you. thanks anyway.
I see only two or three stars without written equal and I can not even change the image. how do I use it, in this situation?
i have install the "Load Standard Language", but nothing works.
EDIT:: This addition to tell you that I managed to solve without your help. thanks anyway.
Sorry i'm ill, and i could not look into your problem... i think it's a language problem, and if it not work the load standard language than the problems is somewhere else...
Quote from: ディン1031 on October 26, 2008, 02:15:16 AM
Quote from: katib on October 25, 2008, 10:41:09 AM
The thanker's nam doesnot show undr thanked
there is only a link saying: "1 number gives..."
When I click on this links, I get:
Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8_unicode_ci,IMPLICIT) for operation 'ifnull'
الملف: /home/0/h/www.hijaj.net/www/smf/Sources/ThankYouPost.php
line: 567
Any idea please ?
Okay that is a utf8 thing, i've a fix for this... i will search for it <<. It's a not correct converted table to utf8 :). (Some fields have not the correct collation, but it's fixable).
Quote from: watbe on October 25, 2008, 03:44:46 PM
Karma addon doesn't seem to work
I have SMF 1.1.6, Thank-O-Matic 1.2.3 and Karma Addon 1.0.0 and I get this when trying to install the Karma addon after I've installed Thank-o-matic:
1. Execute Modification ./Sources/ThankYouPost.php Test failed
Has something changed in the new Thank-O-Matic version that it breaks compatibility with the Karma addon? Thanks for any help in advance! :)
Which version did you use? :)
I will look into this.
Bye
DIN1031
Its listed in the previous post but here they are again:
SMF: 1.1.6
T-O-M: 1.2.3
T-O-M Karma Add-on: 1.0.0
Quote from: ディン1031 on October 26, 2008, 02:17:04 AM
Okay that is a utf8 thing, i've a fix for this... i will search for it <<. It's a not correct converted table to utf8 :) . (Some fields have not the correct collation, but it's fixable).
Thanks again
I fixed it by editing the collation in the
smf_thank_you_post table using phpmyadmin
I changed utf8_unicode_ci to utf8_general_ci
that is all :)
I am having some issues. Since i did this mod i am having problems splitting topics, When you thank someone it shows up on their profile, but not in the thread. Also when you go to statistics for the thank you part it is just all zero's. I am using SMF Beta 4. I went to try and uninstall it and it is getting a bunch of errors. the site is www.southshorestangs.com
Thank-O-Matic Version 2.0 Beta 4
SMF Version 2.0 Beta 4
In Admin panel, under forum maintenance, I click these and it just goes to the main forum page.
Recalculate Thank-O-Matic stats
Repair and optimize Thank-O-Matic tables
Is that normal? All other tasks bring back to the forum maintenance in Admin panel.
Hello!
I have Smf 1.1.6 and Yeni Bir Theme.
I have these mods installed:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi34.tinypic.com%2F1fwhf8.jpg&hash=e030ee6ec86ea9ef29eaf706a49dde6e2bf2a882)
At the installation i am getting an error at only one file.
This is what i see:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi36.tinypic.com%2F2vik2mh.jpg&hash=3632e9bbbf24b9ac24e52abcbf416adacbc8fbd0)
What can i do?
Thank you for your time.
Quote from: Mikeric on October 29, 2008, 12:08:57 PM
I am having some issues. Since i did this mod i am having problems splitting topics, When you thank someone it shows up on their profile, but not in the thread. Also when you go to statistics for the thank you part it is just all zero's. I am using SMF Beta 4. I went to try and uninstall it and it is getting a bunch of errors. the site is www.southshorestangs.com
?_? i don't understand anything... which beta version did you install for the SMF Beta 4? Did you made the theme changes? Did this only happen after a topic split?
Quote from: BurkeKnight on October 29, 2008, 02:05:19 PM
Thank-O-Matic Version 2.0 Beta 4
SMF Version 2.0 Beta 4
In Admin panel, under forum maintenance, I click these and it just goes to the main forum page.
Recalculate Thank-O-Matic stats
Repair and optimize Thank-O-Matic tables
Is that normal? All other tasks bring back to the forum maintenance in Admin panel.
Nope that should be not normal, i will test it.
@Pspuser007
You can try to make the Load.php changes manuall.
Bye
DIN1031
What should i do then?
Install the mod with the error and then add the code to the load.php?
Or do it all by my self?
Quote from: Pspuser007 on October 30, 2008, 08:45:56 AM
What should i do then?
Install the mod with the error and then add the code to the load.php?
Or do it all by my self?
Yes
Install the mod with the error and then add the code to the load.php?
Should be the easiest way ;), but don't forget to make a backup before :).
Bye
DIN1031
Ok i have added this mod..What i want is to have a Thank you mod at all the topics so that the users click on it..how this can be done??
What settings?
I got mine working, I'm using backnblack theme. Everything is fine other than the picture that is supposed to be on the thread to click to thank someone isn't there and it just says thank you 2 times. Any help with this?
Ok i have installed it but only administrators can see it...
Members cannot see the thank you button..
Why is that?
Quote from: Mikeric on November 01, 2008, 12:19:13 PM
I got mine working, I'm using backnblack theme. Everything is fine other than the picture that is supposed to be on the thread to click to thank someone isn't there and it just says thank you 2 times. Any help with this?
You have to copy the images in the Thank-O-Matic archive to the respective place in your theme's images directory.
Quote from: Pspuser007 on November 01, 2008, 02:29:41 PM
Ok i have installed it but only administrators can see it...
Members cannot see the thank you button..
Why is that?
Go set the permissions for the other member groups to view and to give Thanks.
Quote from: Pspuser007 on November 01, 2008, 02:29:41 PM
Ok i have installed it but only administrators can see it...
Members cannot see the thank you button..
Why is that?
I have the same problem.Where can I modify premisions.
when I get into the Admin center I can only see this:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi35.tinypic.com%2F2jd1fb.gif&hash=ce5c9ec1941dcff7740e9bb38191da0cb6b00816)
Thanks!
Permissions are done through the regular SMF permissions settings.
Admin > Permissions
Quote from: BurkeKnight on November 01, 2008, 03:36:04 PM
Permissions are done through the regular SMF permissions settings.
Admin > Permissions
Thank you.It works fine now :)
HI
Great job with this mod ;)
I made a possible translation of your mod to portuguese (of portugal).
I don't know how to make the xml file, so i put the translation on a txt for manual insertion.
Tested in ver. 1.2.3
Hi Din, i have an issue, i already install succesfull this mod and i have it whit add on karma and hide tag special, everything goes good but the only thing that i dont see is the list of users that make a thanks at the bottom of the post, i already enable in the admin panel the option "Show Thank You Post given and receive on Topic Display "
but i dont see the list of users in it, i just see them when i go to my profile and then "thank you posts" there the list of users appear, this happen in default and my custom themes , i dont know whats wrong any ideas?
thanks in advance for your time and support.
Quote from: M@nNiak on November 04, 2008, 01:02:23 AM
Hi Din, i have an issue, i already install succesfull this mod and i have it whit add on karma and hide tag special, everything goes good but the only thing that i dont see is the list of users that make a thanks at the bottom of the post, i already enable in the admin panel the option "Show Thank You Post given and receive on Topic Display "
but i dont see the list of users in it, i just see them when i go to my profile and then "thank you posts" there the list of users appear, this happen in default and my custom themes , i dont know whats wrong any ideas?
thanks in advance for your time and support.
First which Thank-O-Matic Version did you install?
And did the link appear to see the list?
It could be possible that you miss some changes on the Display.template.php?
Bye
DIN1031
tnx for your attention, look i use
SMF 1.1.5
Thank-O-Matic 1.2.3
Thank-O-Matic Add On: Karma 1.0.0
Thank-O-Matic Add On: Hide Tag Link 1.0.0
my theme is dark fantasy i make all the modifications and in fact install this mod from the package manager and install succesfull and in the default theme is the same issue, here i attach my display template can you please check that everything is correct?
thanks again for your time and support. :)
Okay the files looks good to, me...
I must see it on your forum... i think something is not correct, because normal you should see it on the default theme.
Bye
DIN1031
Quote from: ディン1031 on November 04, 2008, 05:33:17 AM
Okay the files looks good to, me...
I must see it on your forum... i think something is not correct, because normal you should see it on the default theme.
Bye
DIN1031
Thanks a lot for your time DIN, i already pm you whit the information. :)
Hi Din... Fantastic Mod. I have it working in default and Halloween, but can't find why it doesn't work on Christmas_07. However Stats works very well, can you give any idea to fix it?? Thanks a lot. 4T
Quote from: BurkeKnight on October 29, 2008, 02:05:19 PM
SMF Version 2.0 Beta 4
In Admin panel, under forum maintenance, I click these and it just goes to the main forum page.
Recalculate Thank-O-Matic stats
Repair and optimize Thank-O-Matic tables
Is that normal? All other tasks bring back to the forum maintenance in Admin panel.
Just checked, and in SMF 1.1.6 this is not an issue. Just for 2.0 Beta 4.
Any luck on finding the problem?
Quote from: 4T3IG0 on November 05, 2008, 11:06:21 AM
Hi Din... Fantastic Mod. I have it working in default and Halloween, but can't find why it doesn't work on Christmas_07. However Stats works very well, can you give any idea to fix it?? Thanks a lot. 4T
This are the theme changes for the mod:
http://jmusic.ddo.jp/DIN1031/modparser/index.php?action=installMod&smfVersion=1.1.6&name=ThankOMatic123&theme
I think some of them need to be done on the theme that you use.
@BurkeKnight
I think it's only a small bug, and i tested it and youre right this is not working. I will bring it to work again, because the function is avaible but somehow not loaded ;). (I think i made somewhere a spelling mistake or anything like that.)
Bye
DIN1031
So the fix for the maintain options, or install the latest beta ;).
The Fix is only for Thank-O-Matic 2.0 Beta 5!
Search in the $themedir/ManageMaintenance.template.php
<li>
<a href="', $scripturl, '?action=thankyoupostrecountall">', $txt['maintain_thxpostrecount'], '</a><br />
</li>
<li>
<a href="', $scripturl, '?action=thankyoupostrepairtable">', $txt['maintain_thxpostrepair'], '</a><br />
</li>
Replace with
<li>
<a href="', $scripturl, '?action=admin;area=thankyoupostrecountall">', $txt['maintain_thxpostrecount'], '</a><br />
</li>
<li>
<a href="', $scripturl, '?action=admin;area=thankyoupostrepairtable">', $txt['maintain_thxpostrepair'], '</a><br />
</li>
Bye
DIN1031
Hi DIN I have an idea how to improve this mod :)
I need to limit THX.
I have to set up a daily limit of THX for my users (because of HIDE).
Is it possible?
It would help me a lot :)
THX DIN
Quote from: MaxiPes on November 06, 2008, 03:42:44 PM
Hi DIN I have an idea how to improve this mod :)
I need to limit THX.
I have to set up a daily limit of THX for my users (because of HIDE).
Is it possible?
It would help me a lot :)
THX DIN
Yes it is possible the timestamps are stored ;).
It's more like an AddOn for me, because i think it's not a real feature that needed for the mod.
If I've a time at the weekend i can program it (should not very difficult) ;).
Bye
DIN1031
The Maint fix works like a charm. :)
Thanks, DIN.
Big mod perfect for what I need i've just installed thank o matic and the hide reply mod as well as ThankOMaticLinkHideTagXXX.zip Everything appears to work but I thought the whole idea of this mod was to be able to hide content in posts and when the users click thanks or reply to the post they can see the content, such as a link or something? Is there anyway to do this? because when i go to post a new topic on my boards when thank o matic is enabled there are no options to hide reply or thanks reply as there is on vbulletin version of this.
Could this be anything to do with the fact that im using a custom theme?
-www.vyb3.co.uk
Alright i've found a fix for the button now in the post topic page it all appears to be working, can i just ask though how can I use the thank you mod in conjunction with the hide reply mod? Like so somebody has to click thankyou aswell as reply to the post to see hidden content
Quote from: ディン1031 on November 06, 2008, 04:02:30 PM
Yes it is possible the timestamps are stored ;).
It's more like an AddOn for me, because i think it's not a real feature that needed for the mod.
If I've a time at the weekend i can program it (should not very difficult) ;).
Bye
DIN1031
THX a lot
I look forward DIN1031 :) ;)
hi Din
first i should give a thank to you because of this great mod
i have a little problem in profile page
when users clicking on "Thank You Posts" they see their post that have thanks but in bottom of every post there is just "For this post, X member gave a thank you! " but not the users thanks full list
but me as admin can see the full list
i checked the users permission but nothing
i checked the file profile.template.php file and find out there is a code
if(!empty($context['thank_you_post'][$post['id']])) {
echo '
<p>'.$txt['followgiveathank'].'</p><p>';
foreach($context['thank_you_post'][$post['id']]['fulllist'] as $thx)
echo 'salam' . $thx['link'].(!empty($thx['deletelink']) ? $thx['deletelink'] : '').($thx['last'] ? '' : ', ');
echo '
</p>';
}
that print the full list but when a regular user come to this section $context['thank_you_post'][$post['id']] is empty and ...
i think you inserting data into this array $context['thank_you_post'] in thankyoupost.php and i think it should be in
while($row = mysql_fetch_assoc($thx)) {
//Current Member has postet?
if(!isset($context['thank_you_post'][$row['ID_MSG']]['user_postet']) || !$context['thank_you_post'][$row['ID_MSG']]['user_postet'])
$context['thank_you_post'][$row['ID_MSG']]['user_postet'] = $ID_MEMBER == $row['ID_MEMBER'];
i try to put a simple echo in this function, and when i see this page with an admin user echo shows up but with a regular user nothing.
thanks for your help
... it's the second time someone have this problem... :X
I think you enabled the thank you list in the options?
And you can click on the link and see the list?
Normal there is also a permission for seeing the list, did you give the regular user the ability to see the list?
Any errors on the error log?
(Sorry that i ask so much but with that mod many things are possible for that problem.)
if you mean "Enable Preview List under the post in topic index."
yes it is enabled
yes thanks list in bottom of post shown but in profile...
yes all of permissions enabled
and there is no error
ask question as many as you want i just want fix this problem ;)
Quote from: HuNTeR@sm on November 07, 2008, 02:14:01 PM
if you mean "Enable Preview List under the post in topic index."
yes it is enabled
yes thanks list in bottom of post shown but in profile...
yes all of permissions enabled
and there is no error
ask question as many as you want i just want fix this problem ;)
In Profile? Why in profile? (I thought on the Display page... pheww but there it work) ;).
For this there is a "Show Thank You Posts" on Profiles (And i think you mean that list :D).
Hmmm thinking... hmmm it's possible that you're right :).
There problem here is a permission problem that i can not solve at the moment, but i will see if i can find a solution for this :). You know on that site the user is not in a certain board, and so the script have no loaded board permissions. And so only to the Admin can see the list.
I will try to fix this. :)
Thanks for the info :).
Bye
DIN1031
Quote from: ディン1031 on November 06, 2008, 12:58:01 AM
Quote from: 4T3IG0 on November 05, 2008, 11:06:21 AM
Hi Din... Fantastic Mod. I have it working in default and Halloween, but can't find why it doesn't work on Christmas_07. However Stats works very well, can you give any idea to fix it?? Thanks a lot. 4T
This are the theme changes for the mod:
http://jmusic.ddo.jp/DIN1031/modparser/index.php?action=installMod&smfVersion=1.1.6&name=ThankOMatic123&theme
I think some of them need to be done on the theme that you use.
.../...
Bye
DIN1031
Yes, you were right my friend. Thanks a lot for your precious help. :)
Hi DIN,
could you help me with THX limit?
Pls........ :)
Yeah i will i will, i need first to find an idea to fix the bug in a nice way.
Bye
DIN1031
Can someone please tell me how to create a greek-utf8 translation???
Thanks in advance!!!
1031 how can i install thanks button to art-sanat theme.
it only functions at default theme.
thanks.
Quote from: crampz on November 13, 2008, 01:43:38 AM
1031 how can i install thanks button to art-sanat theme.
it only functions at default theme.
thanks.
I don't know ;).
But here are all the changes that the mod make on themes files:
http://jmusic.ddo.jp/DIN1031/modparser/index.php?action=installMod&smfVersion=1.1.6&name=ThankOMatic123&theme
Bye
DIN1031
Quote from: ディン1031 on November 13, 2008, 12:08:17 AM
Yeah i will i will, i need first to find an idea to fix the bug in a nice way.
Bye
DIN1031
OK, ok :)
THX DIN1031 ;)
thank you bro but i cant see the first at $themedir/Admin.template.php..huhu
1031 can u edit for me please..
Version 1.2.4 (13.11.08)
! Fixed the not checked BoardAllowedTo on the profile page "Thank You Posts".
- Upgrade Included
Bye
DIN1031
Din, is the upgrade fix only for the 1.1.x version?
Quote from: BurkeKnight on November 13, 2008, 11:45:23 AM
Din, is the upgrade fix only for the 1.1.x version?
At the moment for the beta i will wait until the 2.0. RC 1 release. Because i think there will be some things to fix for me. :).
But if you need it now, than i can release a fixed version. :X
Upgrade SMF 1.1.4 - Thank-O-Matic (Version 1.2.4) OK :)
best mod, thanks again to ディン1031 for the nice support :P
bro DIN this is my website extreme-alliance.f-snet.com
thank-o-matic 1.2.4
the module not work at art-sanat theme.
I just tried to upload this to my board. I am running 1.1.6 default theme and it tells me
Installations actions for "Thank-O-Matic":
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.
din can you post the changed parts?
because i cant uninstall your mod :(
i don't know why, but there is no uninstall button:(
Quote from: HuNTeR@sm on November 14, 2008, 12:51:22 AM
din can you post the changed parts?
because i cant uninstall your mod :(
i don't know why, but there is no uninstall button:( <- Because you upgraded to 1.1.7 and installed it on 1.1.6
Upload the latest Version, and click on upgrade. You don't need to uninstall the mod :).
Quote from: tink on November 14, 2008, 12:45:43 AM
I just tried to upload this to my board. I am running 1.1.6 default theme and it tells me
Installations actions for "Thank-O-Matic":
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.
Retry to download the package and upload it again, because i think there something not correct upload.
If this is done and it doesn't work. Look if you've have set the correct premission for the package dir.
Quote from: crampz on November 14, 2008, 12:43:34 AM
bro DIN this is my website extreme-alliance.f-snet.com
thank-o-matic 1.2.4
the module not work at art-sanat theme.
I know i postet the changes... i can't do more... because how should i know how the theme look like :x
Which files are need to be changed on that theme, can you upload the files that need to be changed?
Bye
DIN1031
try this theme bro..
http://custom.simplemachines.org/themes/index.php?lemma=546
i dont know what i can edit..
sorry..
please try..
When update plaese dont forget portuguese_pt
thank you
no reply wew..
Sorry crampz i've doing a lot of thing...
I've problems to implement it correct in the theme, and had no time to fix it. But i try to do it...
Sorry joomlamz... i thought i've added it... i will do it asap :).
What does the the pt in Portuguese_pt mean?
Bye
DIN1031
Quote from: ディン1031 on November 17, 2008, 01:02:50 AM
Sorry joomlamz... i thought i've added it... i will do it asap :).
What does the the pt in Portuguese_pt mean?
Bye
DIN1031
I have been very curious about that, too. :)
I'm using Beta 5 and would like to upgrade to Beta 6 of your great mod.
Will the thanks from my user dissapear when I uninstall Beta 5 or wont?
Any suggestion?
thanks for replying my problem..
i will wait for your solution..
bye..
Quote from: AlenNS on November 18, 2008, 06:25:02 PM
I'm using Beta 5 and would like to upgrade to Beta 6 of your great mod.
Will the thanks from my user dissapear when I uninstall Beta 5 or wont?
Any suggestion?
Nope never, i try to make my mod that this way of updateing work. Without lossing data. :)
Bye
DIN1031
Quote from: ディン1031 on November 19, 2008, 06:09:45 AM
Quote from: AlenNS on November 18, 2008, 06:25:02 PM
I'm using Beta 5 and would like to upgrade to Beta 6 of your great mod.
Will the thanks from my user dissapear when I uninstall Beta 5 or wont?
Any suggestion?
Nope never, i try to make my mod that this way of updateing work. Without lossing data. :)
Bye
DIN1031
I'm sorry. I'm not sure that I understand. :-[
First you say nope never and then you say that you'll try to make this kind of upgrade work.
Now I'm confused and don't know if I should uninstall my previous version and then install new one.
Once again sorry. :-[
Din means that his mods are made to be upgraded, without losing data. :)
Tnx :)
hi,
first of all, thx for your work, I love this mod :)
then I have a problem, on my board, normal users can only remove the own Thankyou, but this is not possible if it is the only one.
So me for example, cellax, I gave my Thankyou to one post, and I am the only one, and then I want it back, erase it, I can't, becouse I haven't the permission.
do you figured it out? I dont remember if I already said or if someone wrote about it on this topic sorry
I am using the version 1.2.4 on SMF 1.1.7
Quote from: cellax on November 19, 2008, 05:10:32 PM
hi,
first of all, thx for your work, I love this mod :)
then I have a problem, on my board, normal users can only remove the own Thankyou, but this is not possible if it is the only one.
So me for example, cellax, I gave my Thankyou to one post, and I am the only one, and then I want it back, erase it, I can't, becouse I haven't the permission.
do you figured it out? I dont remember if I already said or if someone wrote about it on this topic sorry
I am using the version 1.2.4 on SMF 1.1.7
That's logical for me, because if he is the only one and delete this one Thank than this is like delete a complete thank you. And this have a own premission only for that. I think the same happen when you give the user the right to delete posts he can create a topic but he can not delete the topic by removing the post, as long he have not the right to delete own topics ;).
Bye
DIN1031
has anyone got this to work on 2.0 beta 4
is so can you please tell me how you did it
Quote from: SISPro on November 21, 2008, 02:41:00 PM
has anyone got this to work on 2.0 beta 4
is so can you please tell me how you did it
I using the package manager :P
no i have tried that and comes up with errors test failed
ok i ran it and now i get this error when you go to a topic
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 < 123 AS is_read
' at line 6
File: /home2/ac919h/public_html/Sources/Display.php
Line: 1093
tried to uninstall it and still have the error now.
Quote from: SISPro on November 22, 2008, 06:00:39 PM
ok i ran it and now i get this error when you go to a topic
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 < 123 AS is_read
' at line 6
File: /home2/ac919h/public_html/Sources/Display.php
Line: 1093
tried to uninstall it and still have the error now.
Did you insert it by hand oO. Because this is the first time i see this error.
I will try it later, but i'm sure that it work normal. :X
So tried it with 2.0 Beta6 it work fine.
Did you install any other mods?
Bye
DIN1031
nope same thing same error
Quote from: SISPro on November 23, 2008, 10:17:32 AM
nope same thing same error
So i tested it on a fresh install for SMF 2.0 Beta 4 and it work fine for me, no errors.
Are you sure that you installed the correction Version?
I've the feeling that you installed the wrong Verison...
Bye
DIN1031
Quotehttp://www.baklja.com/forum/index.php?action=thankyoupostlist;topic=574.0;msg=158617 (http://www.baklja.com/forum/index.php?action=thankyoupostlist;topic=574.0;msg=158617)
8: Undefined index: can_remove
Datoteka: /home/baklja/public_html/forum/Themes/default/ThankYouPost.template.php (main sub template - eval?)
Linija: 269
I have lots of similiar errors in log.
Quote from: AlenNS on November 24, 2008, 08:34:13 PM
Quotehttp://www.baklja.com/forum/index.php?action=thankyoupostlist;topic=574.0;msg=158617 (http://www.baklja.com/forum/index.php?action=thankyoupostlist;topic=574.0;msg=158617)
8: Undefined index: can_remove
Datoteka: /home/baklja/public_html/forum/Themes/default/ThankYouPost.template.php (main sub template - eval?)
Linija: 269
I have lots of similiar errors in log.
Witch mod Version do you use? Which SMF Version? :x
Bye
DIN1031
SMF Beta 4 and ToM Beta 5
When I tried to uninstall and install Beta 6 I got dosen of errors so I gave up.
Quote from: AlenNS on November 25, 2008, 06:37:34 AM
SMF Beta 4 and ToM Beta 5
When I tried to uninstall and install Beta 6 I got dosen of errors so I gave up.
Yes there is something that i need to remove from the file.
I copied it from the current theme, but could not test everything... (thats why it is beta :P).
Remove on the ThankYouPost.template.php
// Show a checkbox for quick moderation?
if (!empty($options['display_quick_mod']) && $options['display_quick_mod'] == 1 && $message['can_remove'])
echo '
<li><input type="checkbox" name="msgs[]" value="', $message['id'], '" class="check" ', empty($settings['use_tabs']) ? 'onclick="document.getElementById(\'quickmodSubmit\').style.display = \'\';"' : '', ' /></li>';
and remove also
if (!empty($options['display_quick_mod']) && $options['display_quick_mod'] == 1 && $context['can_remove_post'])
echo '
<input type="hidden" name="sc" value="', $context['session_id'], '" />';
I will update the packages later ;). (And fix a other bug with that, too).
I did it.
now I wait to see what will happen. Tnx.
Same...
Quote from: AlenNS on November 25, 2008, 10:07:45 AM
Same...
Did you remove both parts? :x
Because after you remove this there is not "can_remove_post" or "can_remove" in the file ;).
Well, i decided to remove Beta 5 and try to install Beta 6.
But there are to errors on installing.
Quote13. Izvrši modifikaciju ./Sources/Display.php Test nije uspeo
7. Dodaj pre ./Sources/Display.php Test nije uspeo
14. Izvrši modifikaciju ./Sources/Load.php Test nije uspeo
5. Dodaj posle ./Sources/Load.php Test nije uspeo
In
Display.php this is the error:
In my
Display.php is this:
Quotem.id_msg_modified < {int:new_from} AS is_read, k.message AS is_repped
FROM {db_prefix}messages AS m
And your mod is looking for this:
Quoteid_msg_modified < {int:new_from} AS is_read
FROM {db_prefix}messages
And in
Load.php the problem is that the mod looking for this:
Quotemem.id_member, mem.member_name, mem.real_name, mem.email_address, mem.hide_email, mem.date_registered,
First there are some spaces on the begining and on the end ( maybe that's one of the problems ) and mod finds three lines in Load.php containing that.
Quotemem.signature, mem.personal_text, mem.location, mem.gender, mem.avatar, mem.id_member, mem.member_name, mem.real_name, mem.email_address, mem.hide_email, mem.date_registered, mem.website_title, mem.website_url,
mem.birthdate, mem.member_ip, mem.member_ip2, mem.icq, mem.aim, mem.yim, mem.msn, mem.posts, mem.last_login,
mem.karma_good, mem.id_post_group, mem.karma_bad, mem.lngfile, mem.id_group, mem.time_offset, mem.show_online, mem.spy, mem.karma_disabled,
Quotemem.signature, mem.personal_text, mem.location, mem.gender, mem.avatar, mem.id_member, mem.member_name, mem.real_name, mem.email_address, mem.hide_email, mem.date_registered, mem.website_title, mem.website_url,
mem.birthdate, mem.icq, mem.aim, mem.yim, mem.msn, mem.posts, mem.last_login, mem.karma_good, mem.karma_disabled,
mem.karma_bad, mem.member_ip, mem.member_ip2, mem.lngfile, mem.id_group, mem.id_theme, mem.buddy_list,
mem.pm_ignore_list, mem.pm_email_notify, mem.time_offset' . (!empty($modSettings['titlesEnable']) ? ', mem.usertitle' : '') . ',
Quote$select_columns = '
mem.id_member, mem.member_name, mem.real_name, mem.email_address, mem.hide_email, mem.date_registered,
well i removed it and now it stays the same with that error i had and can't get my forums to work again now what
oh yea i did install the right one 6 which you told me to do and still the same
Quote from: SISPro on November 26, 2008, 12:42:16 AM
well i removed it and now it stays the same with that error i had and can't get my forums to work again now what
oh yea i did install the right one 6 which you told me to do and still the same
This was not for you... that was a other bug...
... so what should i do i can only test it local on my board and it work fine... i can't try it on every possible server that could exist on the world... >:( installing a beta version could everytime bring a risk with it... O:) Thats why it is called beta <<.
Why not upload a clean smf version than i should work normal again. You said you installed only this mod :(. If you have more than one Mod installed than you can give me you Load.php and i can try to see where the error lie... but i'm sure if the package parser show no errors the package should uninstalled succesfull.
@AlenNS
Did you install any other mods?
Because i looked into the mod and tried again to install it on a clean smf and it work fine... i tried to use as less lines as possible to make it work... but there is evertime a possibility that other mods change this lines, too.
(Never installed and unistalled a mod so often the last view days...)
I think i should update the beta... i think it will take some more time until RC1 will be released :).
Bye
DIN1031
1. Grouped Who's Online 1.0 [ Deinstaliraj ] [ Spisak datoteka ] [ Obriši ]
2. Reg Bar 1.0.2 [ Deinstaliraj ] [ Spisak datoteka ] [ Obriši ]
3. Order Stickied Topics 1.01 [ Deinstaliraj ] [ Spisak datoteka ] [ Obriši ]
4. Birthday on Profile Summary 1.0 [ Deinstaliraj ] [ Spisak datoteka ] [ Obriši ]
5. Auto Email Inactive Users 1.7 [ Deinstaliraj ] [ Spisak datoteka ] [ Obriši ]
6. Google Member Map 1.0 beta 3 [ Deinstaliraj ] [ Spisak datoteka ] [ Obriši ]
7. Ad Managment 2.3.4 [ Deinstaliraj ] [ Spisak datoteka ] [ Obriši ]
8. Show Local Url Titles 1.1 [ Deinstaliraj ] [ Spisak datoteka ] [ Obriši ]
9. [user] BBC Tag 1.0.1 [ Deinstaliraj ] [ Spisak datoteka ] [ Obriši ]
10. User Control Panel By Alan S 2.2 [ Deinstaliraj ] [ Spisak datoteka ] [ Obriši ]
11. Custom Action Mod 3.0 [ Deinstaliraj ] [ Spisak datoteka ] [ Obriši ]
12. Auto Embed Video/Audio Clips 4.0.2 [ Deinstaliraj ] [ Spisak datoteka ] [ Obriši ]
13. Super Admin 1.1 [ Deinstaliraj ] [ Spisak datoteka ] [ Obriši ]
14. SimplePortal Classic 2.0.5 [ Deinstaliraj ] [ Spisak datoteka ] [ Obriši ]
15. Profil Moderator Managment 1.0.0 [ Spisak datoteka ] [ Obriši ]
16. Thank-O-Matic 2.0 Beta 6 [ Primeni modifikaciju ] [ Spisak datoteka ] [ Obriši ]
17. Missing Breadcrumbs Fix 0.2 [ Deinstaliraj ] [ Spisak datoteka ] [ Obriši ]
18. Custom Form Mod 1 [ Deinstaliraj ] [ Spisak datoteka ] [ Obriši ]
19. RSS Feed Icon 1.1 [ Deinstaliraj ] [ Spisak datoteka ] [ Obriši ]
20. Remove MySQL, PHP & W3C images to minimize footer size 1.2 [ Deinstaliraj ] [ Spisak datoteka ] [ Obriši ]
21. Generic Avatars 1.02 [ Deinstaliraj ] [ Spisak datoteka ] [ Obriši ]
22. Posting_Announcement 1.1.2 [ Deinstaliraj ] [ Spisak datoteka ] [ Obriši ]
23. Frustrate Your Guests 0.2.2 [ Deinstaliraj ] [ Spisak datoteka ] [ Obriši ]
24. Pm_Informer 1.0 [ Deinstaliraj ] [ Spisak datoteka ] [ Obriši ]
25. Color And BgColor BBCode Bar 3.3.1 [ Primeni modifikaciju ] [ Spisak datoteka ] [ Obriši ]
26. Enhance Recent Post 1.0 [ Deinstaliraj ] [ Spisak datoteka ] [ Obriši ]
27. Member Color Link 3.0.5a [ Deinstaliraj ] [ Spisak datoteka ] [ Obriši ]
28. Custom Copyright 1.1 [ Deinstaliraj ] [ Spisak datoteka ] [ Obriši ]
29. cbi, 1.0 1.5 [ Deinstaliraj ] [ Spisak datoteka ] [ Obriši ]
30. Users Online Today 1.5.4 [ Deinstaliraj ] [ Spisak datoteka ] [ Obriši ]
31. Internal_Links_Use_Same_Window 1.2 [ Deinstaliraj ] [ Spisak datoteka ] [ Obriši ]
32. Posters In Recent Posts 1.1 [ Primeni modifikaciju ] [ Spisak datoteka ] [ Obriši ]
33. New Style Message Icon 1.0 [ Deinstaliraj ] [ Spisak datoteka ] [ Obriši ]
34. Remove SMF Logo 1.2 [ Deinstaliraj ] [ Spisak datoteka ] [ Obriši ]
35. Reflection Avatar 1.0 [ Deinstaliraj ] [ Spisak datoteka ] [ Obriši ]
36. Recount Posts Maintenance 1.1 [ Deinstaliraj ] [ Spisak datoteka ] [ Obriši ]
37. More Spiders 1.2 [ Deinstaliraj ] [ Spisak datoteka ] [ Obriši ]
38. Load Standard Language 1.0.2 [ Deinstaliraj ] [ Spisak datoteka ] [ Obriši ]
39. Welcome Back 1.0 [ Deinstaliraj ] [ Spisak datoteka ] [ Obriši ]
40. Custom_Greeting_Depending_on_Time 0.8 [ Deinstaliraj ] [ Spisak datoteka ] [ Obriši ]
41. Remove Post Modified Time 1.2 [ Deinstaliraj ] [ Spisak datoteka ] [ Obriši ]
42. Topic Recent Moderation History 1.1 [ Deinstaliraj ] [ Spisak datoteka ] [ Obriši ]
43. Look But No Read 1.2 [ Deinstaliraj ] [ Spisak datoteka ] [ Obriši ]
44. No More Ugly Avatar Scrollbars 1.0 [ Deinstaliraj ] [ Spisak datoteka ] [ Obriši ]
45. Wysiwyg Quick Reply 1.1 [ Deinstaliraj ] [ Spisak datoteka ] [ Obriši ]
46. JPG Thumbnails 2.0 [ Deinstaliraj ] [ Spisak datoteka ] [ Obriši ]
47. MCLegendII.2 3.0 [ Deinstaliraj ] [ Spisak datoteka ] [ Obriši ]
48. New Topic Button 1.0 [ Deinstaliraj ] [ Spisak datoteka ] [ Obriši ]
49. Highslide Image Viewer 1.0 RC8 [ Deinstaliraj ] [ Spisak datoteka ] [ Obriši ]
50. Bookmarks 2.2.1 [ Deinstaliraj ] [ Spisak datoteka ] [ Obriši ]
Oh so many mods xD... (My mod made to many changes, so that it is not easy for me to make it for every mod compatible *g*).
But think on this that the mod will be updated to beta 7 soon ;).
Okay i try to help:
Display.php
This is not the orginal SMF code, it's changed by a other mod :)
m.id_msg_modified < {int:new_from} AS is_read, k.message AS is_repped
FROM {db_prefix}messages AS m
Your replace for the mod should be
'.($board_info['thank_you_post_enable'] && allowedTo('thank_you_post_show') ? 'm.thank_you_post AS thank_you_post, m.thank_you_post_counter AS 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
The Load.php, it's a mod file, so there exists only one exact match for it ;)
Because there is a tab in front of that line.
mem.id_member, mem.member_name, mem.real_name, mem.email_address, mem.hide_email, mem.date_registered,
and it look after that normal
mem.id_member, mem.member_name, mem.real_name, mem.email_address, mem.hide_email, mem.date_registered,
mem.thank_you_post_made, mem.thank_you_post_became,
In the other 2 queries this will be insert somewhere else. :)
Hope this will help you that you can install this mod, but please wait until i release beta 7 ;).
Bye
DIN1031
When I installed Beta 6 and change Load and Display.php and put them after installing, I got blank page whatever I do.
Now I'm trying to put back backup from pacjage folder. :/
Quote from: AlenNS on November 27, 2008, 11:24:04 AM
When I installed Beta 6 and change Load and Display.php and put them after installing, I got blank page whatever I do.
Now I'm trying to put back backup from pacjage folder. :/
After you bring it back to normal can you look into you error log? :X
Bye
DIN1031
Backup did the job. :)
I was scared. :)
Subs.php gives a lot of error in log.
Display.php to. :(
Quote from: AlenNS on November 27, 2008, 12:44:42 PM
Backup did the job. :)
I was scared. :)
Subs.php gives a lot of error in log.
Display.php to. :(
All thank You mod related? :X
This is very very small part...
Hmmm look not like thank-o-matic things...
I think it could errors while I've copied backup file back. :)
ディン1031,
I am running SMF 2.0 Beta 4 with Thank-O-Matic 2.0 Beta 5.
I need to uninstall it, so I can install newer version. (Also, install it onto other theme.)
However, it ends up with 15 fails on uninstall. :(
Quote13. Execute Modification ./Sources/Load.php Test failed
1. Replace ./Sources/Load.php Test successful
2. Replace ./Sources/Load.php Test successful
3. Add After ./Sources/Load.php Test failed
4. Add After ./Sources/Load.php Test failed
5. Add After ./Sources/Load.php Test failed
6. Add After ./Sources/Load.php Test failed
14. Execute Modification ./Sources/ManageBoards.php Test failed
1. Add After ./Sources/ManageBoards.php Test successful
2. Add After ./Sources/ManageBoards.php Test failed
27. Execute Modification ./Sources/Subs-Boards.php Test failed
1. Add After ./Sources/Subs-Boards.php Test failed
2. Add After ./Sources/Subs-Boards.php Test successful
3. Replace ./Sources/Subs-Boards.php Test successful
4. Add After ./Sources/Subs-Boards.php Test failed
5. Add After ./Sources/Subs-Boards.php Test successful
28. Execute Modification ./Themes/default/index.template.php Test failed
1. Add Before ./Themes/default/index.template.php Test failed
29. Execute Modification ./Themes/default/ManageMaintenance.template.php Test failed
1. Add After ./Themes/default/ManageMaintenance.template.php Test failed
30. Execute Modification ./Themes/default/Display.template.php Test failed
1. Add After ./Themes/default/Display.template.php Test successful
2. Add After ./Themes/default/Display.template.php Test successful
3. Add Before ./Themes/default/Display.template.php Test failed
4. Add Before ./Themes/default/Display.template.php Test successful
5. Add Before ./Themes/default/Display.template.php Test successful
6. Add After ./Themes/default/Display.template.php Test successful
34. Execute Modification ./Themes/default/style.css Test failed
1. Replace ./Themes/default/style.css Test failed
36. Execute Modification ./Themes/default/languages/index.english.php Test failed
1. Replace ./Themes/default/languages/index.english.php Test failed
37. Execute Modification ./Themes/default/languages/ManageBoards.english.php Test failed
1. Replace ./Themes/default/languages/ManageBoards.english.php Test failed
40. Execute Modification ./Themes/default/languages/ManageSettings.english.php Test failed
1. Replace ./Themes/default/languages/ManageSettings.english.php Test failed
41. Execute Modification ./Themes/default/languages/Profile.english.php Test failed
1. Replace ./Themes/default/languages/Profile.english.php Test failed
EDIT:
I finally managed to uninstall it.
However, I may not be able to install the new one onto my current theme. :(
hi din
i think i just found a new bug :(
since i updated to 1.2.4 some of my moderators(they are just local moderator in one board) told me that they some time not always can lock other users thanks or delete them in a board that they are not moderator
and also i have a error logged in Forum Error Log:
8: Undefined variable: andBoard
file: /forum/Sources/ThankYouPost.php
line: 246
i haven't enough information but i think there is something wrong
Quote from: HuNTeR@sm on November 30, 2008, 12:52:17 PM
hi din
i think i just found a new bug :(
since i updated to 1.2.4 some of my moderators(they are just local moderator in one board) told me that they some time not always can lock other users thanks or delete them in a board that they are not moderator
and also i have a error logged in Forum Error Log:
8: Undefined variable: andBoard
file: /forum/Sources/ThankYouPost.php
line: 246
i haven't enough information but i think there is something wrong
Okay the error is mistake done by me.
But the other thing... hmmm i think i should add my mod items to the moderation log so that you can see what which person when do... because normal it's not possible that someone can delete a thank you post without the right to it.
Bye
DIN1031
Version 1.2.5 (30.11.08)
! Eval Bug Fix $andBoard
+ Moderation Logs entries for Delete, Lock and Delete Member.
- Upgrade Included
Bye
DIN1031
Okay i tried installing this but something on index.template.php was giving an error saying thank o matic was already in header something, had 2 manually remove it from beta 4 :(
Quote from: pooya on November 30, 2008, 04:29:12 PM
Okay i tried installing this but something on index.template.php was giving an error saying thank o matic was already in header something, had 2 manually remove it from beta 4 :(
?_? sorry i did not understand what you mean...
There is a problem upgrading from 1.2.4 to 1.2.5 on ThankYouPost.php.
This code
//Uff i'm finished now... hope it work all correct XD (still hoping after programming it) okay redirect, or not
if(!empty($_GET['msg']) && !empty($topic) && $session)
redirectexit('topic='.$topic.'.msg'.$_GET['msg'].'#msg'.$_GET['msg']);
Must be
//Uff i'm finished now... hope it work all correct XD (still hoping after programming it) okay redirect, or not
if(!empty($_GET['msg']) && !empty($topic) && $session)
redirectexit('topic='.$topic.'.msg'.$_GET['msg'].'#msg'.$_GET['msg']);
The difference is that there is space at the of the this line
*if(!empty($_GET['msg']) && !empty($topic) && $session) *
Thx.
I whant to make the thank you just for the first post! The topic starter
Its possible?
Quote from: ormuz on December 03, 2008, 01:25:32 PM
I whant to make the thank you just for the first post! The topic starter
Its possible?
In SMF 1.1.x only with the thank you mod. On SMF 2.0.x yes ;).
Hi 1031,
I am running SMF 2.0 Beta 4 with Thank-O-Matic 2.0 Beta 7.
I have lots of similiar errors in log.
Quotehttp:/****.com/forum/index.php?action=thankyoupostdelete;topic=129.0;msg=7057;sesc
Wrong value type sent to the database. Integer expected.
Function: updatememberdata
Файл: /home/***/public_html/****.com/forum/Sources/Subs.php
Строка: 564
Quotehttp://****.com/forum/index.php?action=thankyoupostdelete;topic=129.0;msg=7057;sesc
8: Undefined offset: 7057
Файл: /home/***/public_html/****.com/forum/Sources/ThankYouPost.php
Строка: 393
QuoteGuest Today в 00:48:58
http://****.com/forum/index.php?action=thankyoupostlist;topic=293.0;msg=5610
8: Undefined index: signature_enabled
Файл: /home/***/public_html/****.com/forum/Themes/default/ThankYouPost.template.php (eval?)
Строка: 372
Help me, please
I will try to slove this, but i can currently not genarete this errors...
How to add thank button to my forum please ?
Hi ディン1031
A user called 4kstore (http://www.simplemachines.org/community/index.php?action=profile;u=134279) of the Spanish Board, create a new addon for this mod , is an integration with the SMF Shop Mod:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi37.tinypic.com%2F1zfqwoy.jpg&hash=9d7ff4b0e19064709d38ecc165d923c4dac9603f)
You can select how many points will given to an user of receive a thanks
I attach the addon and all the credits are of 4kstore I just put the addon in this topic ;)
Quote from: NIBOGO on December 15, 2008, 03:20:34 PM
Hi ディン1031
A user called 4kstore (http://www.simplemachines.org/community/index.php?action=profile;u=134279) of the Spanish Board, create a new addon for this mod , is an integration with the SMF Shop Mod:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi37.tinypic.com%2F1zfqwoy.jpg&hash=9d7ff4b0e19064709d38ecc165d923c4dac9603f)
You can select how many points will given to an user of receive a thanks
I attach the addon and all the credits are of 4kstore I just put the addon in this topic ;)
Thanks nibogo !!
@NIBOGO: Thanks :), I will look at it later :D.
Quote from: NIBOGO on December 15, 2008, 03:20:34 PM
Hi ディン1031
A user called 4kstore (http://www.simplemachines.org/community/index.php?action=profile;u=134279) of the Spanish Board, create a new addon for this mod , is an integration with the SMF Shop Mod:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi37.tinypic.com%2F1zfqwoy.jpg&hash=9d7ff4b0e19064709d38ecc165d923c4dac9603f)
You can select how many points will given to an user of receive a thanks
I attach the addon and all the credits are of 4kstore I just put the addon in this topic ;)
Is this need to buy and is this english ?
Thanx a lot for your help 8)
English is standard, so i think it's englisch and it's for the SMF Shop Mod.
Bye
DIN1031
Quote from: CMPro on December 16, 2008, 07:54:00 AM
Is this need to buy and is this english ?
Thanx a lot for your help 8)
Yes 4kstore do the addon in english and only works if the SMF Shop Mod is installed
Hi, the Thank-o-matic mod is awesome, accept for two errors that I am getting when I try to split a topic - not split Thank You. Just when I try to do a regular split topic...
here are the two different messages that I have been getting. I have tried reinstall of the mod and i looked at the files on the lines but I am not the best at PHP or Mysql. Thanks...
This is in 2.0 Beta 4 using the latest mod update for thank-o-matic
-----------------------------
Duplicate entry '0-3' for key 2
File: /home/redfish/public_html/004321/Sources/SplitTopics.php
Line: 680
-----------------------------
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 ')' at line 4
File: /home/redfish/public_html/004321/Sources/SplitTopics.php
Line: 714
i've error at ssi_examples.php ...
what should i do?
1. Extract File ./Themes/default/images/buttons/thank_you_b.gif
2. Extract File ./Themes/default/images/english/thank_you.gif
3. Extract File ./Themes/default/images/english/thank_you_delete.gif
4. Extract File ./Themes/default/images/english/thank_you_lock1.gif
5. Extract File ./Themes/default/images/english/thank_you_lock2.gif
6. Extract File ./Sources/ThankYouPost.php
7. Extract File ./Themes/default/ThankYouPost.template.php
8. Extract File ./Themes/default/languages/ThankYouPost.english.php
9. Execute Code install_1.x.x.php
10. Execute Modification ./index.php Test successful
11. Execute Modification ./SSI.php Test successful
12. Execute Modification ./ssi_examples.php [color=red]Test failed[/color]
13. Execute Modification ./Sources/Display.php Test successful
14. Execute Modification ./Sources/Load.php Test successful
15. Execute Modification ./Sources/ManageBoards.php Test successful
16. Execute Modification ./Sources/ManagePermissions.php Test successful
17. Execute Modification ./Sources/ModSettings.php Test successful
18. Execute Modification ./Sources/MoveTopic.php Test successful
19. Execute Modification ./Sources/Profile.php Test successful
20. Execute Modification ./Sources/RemoveTopic.php Test successful
21. Execute Modification ./Sources/Security.php Test successful
22. Execute Modification ./Sources/SplitTopics.php Test successful
23. Execute Modification ./Sources/Subs-Boards.php Test successful
24. Execute Modification ./Themes/default/Admin.template.php Test successful
25. Execute Modification ./Themes/default/Display.template.php Test successful
26. Execute Modification ./Themes/default/ManageBoards.template.php Test successful
27. Execute Modification ./Themes/default/Profile.template.php Test successful
28. Execute Modification ./Sources/Subs.php Test successful
29. Execute Modification ./Themes/default/languages/Admin.english.php Test successful
30. Execute Modification ./Themes/default/languages/index.english.php Test successful
31. Execute Modification ./Themes/default/languages/ManageBoards.english.php Test successful
32. Execute Modification ./Themes/default/languages/ManagePermissions.english.php Test successful
33. Execute Modification ./Themes/default/languages/Errors.english.php Test successful
34. Execute Modification ./Themes/default/languages/ModSettings.english.php Test successful
35. Execute Modification ./Themes/default/languages/Profile.english.php Test successful
Just wondering if anyone has any ideas how the following two errors...thanks, it is an awesome mod, but it seems to be interfering with regular everyday moderation while trying to split topics.
Cheers,
Happy Holidays...
BB
Quote from: BuzzBoy on December 20, 2008, 04:12:55 PM
Hi, the Thank-o-matic mod is awesome, accept for two errors that I am getting when I try to split a topic - not split Thank You. Just when I try to do a regular split topic...
here are the two different messages that I have been getting. I have tried reinstall of the mod and i looked at the files on the lines but I am not the best at PHP or Mysql. Thanks...
This is in 2.0 Beta 4 using the latest mod update for thank-o-matic
-----------------------------
Duplicate entry '0-3' for key 2
File: /home/redfish/public_html/004321/Sources/SplitTopics.php
Line: 680
-----------------------------
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 ')' at line 4
File: /home/redfish/public_html/004321/Sources/SplitTopics.php
Line: 714
actually, I have the same problem as BuzzBoy
I didnot realize it is related to Thank-o-matic mod, so I posted it here:
http://www.simplemachines.org/community/index.php?topic=278991.0 (http://www.simplemachines.org/community/index.php?topic=278991.0)
I will look at it, i was sure the split work fine ;).
But without test i can not say it.
Which Thank-o-Matic Version?
Which SMF Version?
So i tested it with SMF 1.1.7 und Mod Version 1.2.5 the mod work fine i can split the topics without problems...
And special way i must test to see the bug? (At the moment i would say it not a bug from my mod) ;).
Bye
DIN1031
it is about SMF2beta4
language: arabic-utf8
Yes thats a know bug at the moment I've no fix for it.
I Get this when i try to install on 2.0 Beta 4
* 17. Execute Modification ./Sources/Admin.php Test failed
1. Add After ./Sources/Admin.php Test failed
2. Replace ./Sources/Admin.php Test successful
Hello 2 all,
Yesterday i install 2 themes blue & orange lt116 , in both the themes "thanks given / thanks received " not visible.
screen shot below
http://i43.tinypic.com/14nimjb.jpg
please help in this matter .
thanks in advance
raj
Quote from: jrkraj on December 27, 2008, 12:48:04 AM
Hello 2 all,
Yesterday i install 2 themes blue & orange lt116 , in both the themes "thanks given / thanks received " not visible.
screen shot below
http://i43.tinypic.com/14nimjb.jpg
please help in this matter .
thanks in advance
raj
The other things are available?
I will try to fix the bugs on the beta version... hope i can narrow it down ;).
Version 2.0 Beta 8 (28.12.08)
! Split Topic Bug
! Eval error on not existent post (Example deleted at the same moment of post)
- Upgrade from 2.0 Beta 7 included
Quote from: ディン1031 on December 28, 2008, 06:54:42 AM
Version 2.0 Beta 8 (28.12.08)
! Split Topic Bug
! Eval error on not existent post (Example deleted at the same moment of post)
- Upgrade from 2.0 Beta 7 included
Great job , but any news about the ajax issue (if you give thanks to a post using ajax the remove thank you button dont appear)
Thanks
In posts....
Where do i go to remove this link?
Thank you for this post:
BlueDevil *
For this post, 1 member gave a thank you! <----link I find it unecesary.
All i want is the member count.
Quote from: NIBOGO on December 28, 2008, 11:06:35 AM
Quote from: ディン1031 on December 28, 2008, 06:54:42 AM
Version 2.0 Beta 8 (28.12.08)
! Split Topic Bug
! Eval error on not existent post (Example deleted at the same moment of post)
- Upgrade from 2.0 Beta 7 included
Great job , but any news about the ajax issue (if you give thanks to a post using ajax the remove thank you button dont appear)
Thanks
Oh yet i know what you mean xD. I think i missunderstand there something. I will try to insert it when i add the ajax style lock.
Quote from: BlueDevil on December 28, 2008, 03:06:58 PM
In posts....
Where do i go to remove this link?
Thank you for this post:
BlueDevil *
For this post, 1 member gave a thank you! <----link I find it unecesary.
All i want is the member count.
For which Thank-O-Matic version? :x
Bye
DIN1031
Hmmm i think i should insert a option to disable the link and counter on full list.
Search in Display.template.php for
//Counter and Link to the direkt or complete list :)
echo '
<a href="'.$message['thank_you_post']['href'].'">
'.$txt['thank_you_link_beforecounter'].' '.$message['thank_you_post']['counter'].' '.($message['thank_you_post']['counter'] == 1 ? $txt['thank_you_link_member'] : $txt['thank_you_link_members']).' '.($message['thank_you_post']['counter'] == 1 ? $txt['thank_you_link_aftercounter'] : $txt['thank_you_link_aftercounters']).'
</a>';
and Replace with
//Counter and Link to the direkt or complete list :)
/*echo '
<a href="'.$message['thank_you_post']['href'].'">
'.$txt['thank_you_link_beforecounter'].' '.$message['thank_you_post']['counter'].' '.($message['thank_you_post']['counter'] == 1 ? $txt['thank_you_link_member'] : $txt['thank_you_link_members']).' '.($message['thank_you_post']['counter'] == 1 ? $txt['thank_you_link_aftercounter'] : $txt['thank_you_link_aftercounters']).'
</a>';*/
Bye
DIN1031
Quote from: ディン1031 on December 29, 2008, 03:34:47 AM
Hmmm i think i should insert a option to disable the link and counter on full list.
Search in Display.template.php for
//Counter and Link to the direkt or complete list :)
echo '
<a href="'.$message['thank_you_post']['href'].'">
'.$txt['thank_you_link_beforecounter'].' '.$message['thank_you_post']['counter'].' '.($message['thank_you_post']['counter'] == 1 ? $txt['thank_you_link_member'] : $txt['thank_you_link_members']).' '.($message['thank_you_post']['counter'] == 1 ? $txt['thank_you_link_aftercounter'] : $txt['thank_you_link_aftercounters']).'
</a>';
and Replace with
//Counter and Link to the direkt or complete list :)
/*echo '
<a href="'.$message['thank_you_post']['href'].'">
'.$txt['thank_you_link_beforecounter'].' '.$message['thank_you_post']['counter'].' '.($message['thank_you_post']['counter'] == 1 ? $txt['thank_you_link_member'] : $txt['thank_you_link_members']).' '.($message['thank_you_post']['counter'] == 1 ? $txt['thank_you_link_aftercounter'] : $txt['thank_you_link_aftercounters']).'
</a>';*/
Bye
DIN1031
Excellent. I t worked.
I thought it looked better wihtout the link. Less busy.
I have this mod working good on 4 themes, there is just one prob in all 4 themes.
Pics show the prob.
In profile it shows how many thatks just fine
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fcp72.org%2Fhostit%2Fimages%2F3i7yvjsrtztbatr5eh27.png&hash=333adf0fc924335f654502bb50bb750c09eea29d)
But when viewing a post it wont show properly.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fcp72.org%2Fhostit%2Fimages%2Fxquz46y06wbcwnnl5j5a.png&hash=f15c2fda770f21eb43588faa02626fcbbdffbf90)
Help to fix that would be appreciated.
Thanks.
Any errors on the error log? :X
Looks like there is a change missing.
Quote from: ディン1031 on January 01, 2009, 02:31:50 PM
Any errors on the error log? :X
Looks like there is a change missing.
No errors, so I thought I would run through all the edits and sure enough there was one missing.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fcp72.org%2Fhostit%2Fimages%2F0tpxfn5y8skkn2rvz2bq.png&hash=6241b9267671e5fbe7c2e330753ce357563c075c)
Thanks for the response it made me check the edits. :) Great mod by the way.
OK, so what I am trying to do is.. like MSN and what not do a call for the total TY received to display as a custom profile field with the number acting as a link for the TY topics list page.
Suggestions?
Quote from: HR on January 02, 2009, 01:12:30 PM
OK, so what I am trying to do is.. like MSN and what not do a call for the total TY received to display as a custom profile field with the number acting as a link for the TY topics list page.
Suggestions?
?_? i don't understand it...
Can you give me a example where you want this? :X
For example:
<tr>
<td><b>', $txt['thank_you_post_thx_display'], ':</b></td>
<td><img src="' . $settings['images_url'] . '/buttons/thank_you_b.gif" alt="' . $txt['thank_you_post_post_b'] . '">', $context['member']['thank_you_post']['became'], '</td>
</tr>';
How would I setup the part that is bold and underlined to work as a link to the thank you post page for that member.
We've gotten awards to work like so:
<tr>
<td width="40%">
<b>', $txt['pa_view_album'], ': </b>
</td><td>
', (!empty($context['countAwards'])) ? '<img src="' . $settings['default_theme_url'] . '/images/award.gif" alt="' . $txt['awards'] . '">This member has <a href="' . $scripturl . '?action=profile;sa=awards;u=' . $context['member']['id'] . '">' . $context['countAwards'] . ' ' . $txt['awards'] . '</a>.' : 'This member has no awards.', '
</td>
</tr>';
Okay the link for this is normal:
<a href="', $scripturl, '?action=action=profile;sa=showThankYouPosts;u=', $context['member']['id'], '">The text here</a>
Bye
DIN1031
Danke, dont know why I couldnt come up with that.. oh, your post above has 'action=' twice in the link ;)
So, we make a conditional.. like I have listed above for the awards..
<tr>
<td width="40%">
<b>', $txt['thank_you_post_thx_display'], ':</b></td>
<td>
', (!empty($context['member']['thank_you_post']['became'])) ? '<img src="' . $settings['images_url'] . '/buttons/thank_you_b.gif" alt="' . $txt['thank_you_post_post_b'] . '"><a href="' . $scripturl . '?action=profile;sa=showThankYouPosts;u=' . $context['member']['id'] . '">' . $context['member']['thank_you_post']['became'] . '</a>.' : 'This member has no Thank-Yous.', '
</td>
</tr>';
Of course if I were working to the common letter of the law I would have used a txt variable for the "has none" response. But since all I use is english... So, another tweak for my lil ultimate profile :)
Thanks for the support!
And then we get....
Database Error
Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8_unicode_ci,IMPLICIT) for operation 'ifnull'
Dosya: /home/eka7a/gerisibahane.com/Sources/ThankYouPost.php
Satır: 645
//So i load a huge array okay depend on the thank who made xD... somehow i must find a better way for limit :x
$thx = $smcFunc['db_query']('', "
SELECT
thx.id_thx_post AS ID_THX, thx.id_msg AS id_msg, thx.id_topic AS id_topic,
thx.thx_time AS thx_time,
IFNULL(mem.id_member, 0) AS id_member, IFNULL(mem.real_name, thx.member_name) AS member_name
FROM {db_prefix}thank_you_post AS thx
LEFT JOIN {db_prefix}members AS mem ON (thx.id_member = mem.id_member)
$where
$sort
THIS LINE 645 $speciallimit");
iam smf 2b4 ve mod 20beta8 using.
Perhaps I Should have specified that I was making use of 1.1.7
Quote from: ηє ναя вαşкα on January 05, 2009, 11:21:37 AM
Database Error
Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8_unicode_ci,IMPLICIT) for operation 'ifnull'
Dosya: /home/eka7a/gerisibahane.com/Sources/ThankYouPost.php
Satır: 645
//So i load a huge array okay depend on the thank who made xD... somehow i must find a better way for limit :x
$thx = $smcFunc['db_query']('', "
SELECT
thx.id_thx_post AS ID_THX, thx.id_msg AS id_msg, thx.id_topic AS id_topic,
thx.thx_time AS thx_time,
IFNULL(mem.id_member, 0) AS id_member, IFNULL(mem.real_name, thx.member_name) AS member_name
FROM {db_prefix}thank_you_post AS thx
LEFT JOIN {db_prefix}members AS mem ON (thx.id_member = mem.id_member)
$where
$sort
THIS LINE 645 $speciallimit");
iam smf 2b4 ve mod 20beta8 using.
Help me please
That's mean you database is not everywhere correct changed to the collations.
Look into you phpmyadmin and into the {db_prefix}thank_you_post and see if there all fields set to you standard utf8 that you use. ;).
Bye
DIN1031
Quote from: ディン1031 on January 06, 2009, 09:03:40 AM
That's mean you database is not everywhere correct changed to the collations.
Look into you phpmyadmin and into the {db_prefix}thank_you_post and see if there all fields set to you standard utf8 that you use. ;).
Bye
DIN1031
Thank You DIN :)
nice mod real nice :D thanks for it
but im having a little problem with it i think its a mod causing it
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg291.imageshack.us%2Fimg291%2F469%2Fproblema1vr0.jpg&hash=f8bcb71a7720623827d4e851d795153e31a13cc7)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg125.imageshack.us%2Fimg125%2F9489%2Fproblema2zn9.jpg&hash=6a93ab39b69a00b5843278f0756b3382045e121c)
is there any way i can fix that? or its a theme problem?
and other thing is there any way i can seperate the thanks outside of the post
somthing like this
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg404.imageshack.us%2Fimg404%2F940%2Fgraciasry6.jpg&hash=fd5d9de52bfaf0e21d90726cb154687f0596cb8d)
and other cuestion i will soon install spanish lenguage on my forum will this afect the thanks o matic mod? what steps i need to do to ensure have no problems
other thing to add im having trouble ising the hide mod and the thanks wen i give thanks the conten keep it hide only wen y refresh the page i can see the hiden stuf is there somthing im missing i woud like to unhide thngs automaticly wen y prees de thanks boton hope you can help me
thanks for all
Quote from: sombra on January 07, 2009, 08:12:25 PM
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg291.imageshack.us%2Fimg291%2F469%2Fproblema1vr0.jpg&hash=f8bcb71a7720623827d4e851d795153e31a13cc7)
This is a theme related thing... i don't know how to fix this oO.
Quote from: sombra on January 07, 2009, 08:12:25 PM
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg125.imageshack.us%2Fimg125%2F9489%2Fproblema2zn9.jpg&hash=6a93ab39b69a00b5843278f0756b3382045e121c)
I think you made a mistake in the Display.template.php, can you look if this also happen on the default theme? :X
Quote from: sombra on January 07, 2009, 08:12:25 PM
is there any way i can fix that? or its a theme problem?
Theme related problem ;)
Quote from: sombra on January 07, 2009, 08:12:25 PM
and other thing is there any way i can seperate the thanks outside of the post
Yes it's possible ;). Can be done in the Display.template.php.
Quote from: sombra on January 07, 2009, 08:12:25 PM
and other cuestion i will soon install spanish lenguage on my forum will this afect the thanks o matic mod? what steps i need to do to ensure have no problems
IF you insall the spain language packages, than it should normal work without problems (or the load standard language mod).
Quote from: sombra on January 07, 2009, 08:12:25 PM
other thing to add im having trouble ising the hide mod and the thanks wen i give thanks the conten keep it hide only wen y refresh the page i can see the hiden stuf is there somthing im missing i woud like to unhide thngs automaticly wen y prees de thanks boton hope you can help me
thanks for all
In the settings are option to handle the hidden and unhiden content atfter posting, i'm not sure wich hide mod you use. The only thing that not work is if you use SMF 2.0 it can not autounhide it if you use ajax thank. (Because unhidding needs a site reload) ;).
Bye
DIN1031
i have this
smf 2.04
Hide Tag 2.2.3
Quoteand other thing is there any way i can seperate the thanks outside of the post
Yes it's possible ;). Can be done in the Display.template.php.
can you help me with it?
QuoteIF you insall the spain language packages, than it should normal work without problems (or the load standard language mod).
it must be spain lenguage only? were can i find this package
QuoteSMF 2.0 it can not autounhide it if you use ajax thank. (Because unhidding needs a site reload)
so the only thing i ned its not to mark the ajax thats my problem what does ajax?
Quote from: sombra on January 08, 2009, 01:40:04 AM
i have this
smf 2.04
Hide Tag 2.2.3
Quoteand other thing is there any way i can seperate the thanks outside of the post
Yes it's possible ;). Can be done in the Display.template.php.
can you help me with it?
QuoteIF you insall the spain language packages, than it should normal work without problems (or the load standard language mod).
it must be spain lenguage only? were can i find this package
QuoteSMF 2.0 it can not autounhide it if you use ajax thank. (Because unhidding needs a site reload)
so the only thing i ned its not to mark the ajax thats my problem what does ajax?
Oh you use the SMF 2.0. Beta 4 Version ;), i hope you used the latest beta of the mod :).
AJAX is an inline Thank You ;). That mean you can click on Thank You and it need not reload the complete page to update the thank you list.
If you not enabled it, than you can enable some of the Hide Tag Option. (This are the last three settings, depend on what you select to unhide the content).
Hmmm first i must know if the Default Template show the content and post correct? (Core Default) ;).
Bye
DIN1031
the unhide problem fixed taking out the ajax like you said thanks
yes it happens on default theme as well
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg150.imageshack.us%2Fimg150%2F2757%2Fproblema4cq3.jpg&hash=75017635868427af81ad20721dc2515c1984a14d)
i really dont know if its a problem or not im only asking becouse its strange
the other problem its only for admins so it dosent bother me hehe
but the idea of the thanks outside of the post can you give me a hand with it?
Quote from: sombra on January 08, 2009, 03:10:01 AM
yes it happens on default theme as well
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg150.imageshack.us%2Fimg150%2F2757%2Fproblema4cq3.jpg&hash=75017635868427af81ad20721dc2515c1984a14d)
i really dont know if its a problem or not im only asking becouse its strange
the other problem its only for admins so it dosent bother me hehe
but the idea of the thanks outside of the post can you give me a hand with it?
Only for admins... but this is not normal <<.
I can try it, but for this i need to see you Display.template.php.
And the other problem... i must look into this, it should be not happen oO.
Bye
DIN1031
here is my default template hehe and thanks for the help :D
i have installed spanish_latin on my forum now the thank you botton isint showing up
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg247.imageshack.us%2Fimg247%2F7425%2Fgraciashp8.jpg&hash=bbcd70bce1b3e96a552878170773f440691bb0b0)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg145.imageshack.us%2Fimg145%2F6084%2Fgracias2jv0.jpg&hash=a6430fe03e7748fa07db9781644aa5481217fc6d)
Quote from: sombra on January 10, 2009, 12:23:17 PM
i have installed spanish_latin on my forum now the thank you botton isint showing up
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg247.imageshack.us%2Fimg247%2F7425%2Fgraciashp8.jpg&hash=bbcd70bce1b3e96a552878170773f440691bb0b0)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg145.imageshack.us%2Fimg145%2F6084%2Fgracias2jv0.jpg&hash=a6430fe03e7748fa07db9781644aa5481217fc6d)
Sorry the mod don't have an Spanish translation... you can ask on the language related forum, if there is one available...
Quote from: sombra on January 09, 2009, 12:35:50 PM
here is my default template hehe and thanks for the help :D
Okay i will look if i can help.
So i think the ignore function prevent you from seeing the post ;).
Bye
DIN1031
i will leave it inglish becouse theres alot of changes to make and alot of mods so thers no problem whit it only the thing im looking fowarward is to take out of the post the thanks list :D
Quote from: sombra on January 10, 2009, 03:20:45 PM
i will leave it inglish becouse theres alot of changes to make and alot of mods so thers no problem whit it only the thing im looking fowarward is to take out of the post the thanks list :D
I can give you a tip, install the "Load Standard Language" Mod :).
Bye
DIN1031
for what is "Load Standard Language" ?
Quote from: sombra on January 10, 2009, 08:50:14 PM
for what is "Load Standard Language" ?
http://custom.simplemachines.org/mods/index.php?mod=615
Load the english Language before the current language ;).
Bye
DIN1031
well my friend thanks but im still having some problems
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg145.imageshack.us%2Fimg145%2F3982%2Fproblema1cq3.jpg&hash=22425fa801e90572b51609d74a7b728873563882)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg145.imageshack.us%2Fimg145%2F7827%2Fproblema2ft4.jpg&hash=e92b4f50b0ff43d23302e487e359dd862d7f61ab)
any ideas were i need to edit or what to do
Quote from: sombra on January 11, 2009, 11:29:36 AM
well my friend thanks but im still having some problems
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg145.imageshack.us%2Fimg145%2F3982%2Fproblema1cq3.jpg&hash=22425fa801e90572b51609d74a7b728873563882)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg145.imageshack.us%2Fimg145%2F7827%2Fproblema2ft4.jpg&hash=e92b4f50b0ff43d23302e487e359dd862d7f61ab)
any ideas were i need to edit or what to do
If you've installe the load standard language mod, than clear the file chache, afterward it should be show the correct text. :)
Bye
DIN1031
Hi there, Need help
Great mod and is what i need.
First of all i am a noob to this. I use V1.1.7 and wish to install version1.2.5 of this mod for the first time.
I have downloaded the mod but i don't know what to upload as there is several files contained in the .zip
Could you give me a basic start of what to do please.
I have read through the manuals for installing mods and they do make sense to me.
So with the code to change i use a text editor then upload but i am lost on what to upload or how to upload from the .zip I tried to do so with the upload in the Packages but not working.
Sorry Noob at this
Thanks for your time.
Upload the latest .zip file (Version 1.2.5) into the package dir.
Than go to Admin -> Package Manager
Search for Thank-O-Matic click on Apply Mod, hope there are no mistakes and click on install ;).
Ah many thanks, ill let you know how it goes later on.
I thought i had to edit in code or something, no? like change lines of code, add or replace?
Thanks for your quick response.
Quote from: ディン1031 on January 19, 2009, 09:00:17 AM
Upload the latest .zip file (Version 1.2.5) into the package dir.
Than go to Admin -> Package Manager
Search for Thank-O-Matic click on Apply Mod, hope there are no mistakes and click on install ;).
This error occured below when i tried to apply the mod. Have logged out several times and logged in but same error occuring.
Session verification failed. Please try logging out and back in again, and then try again.
Any ideas?
Edit
Just found this link
http://www.simplemachines.org/community/index.php?topic=278824.0
and installed fine. :)
I had Beta 6 version of this mod and uninstall it. Today I have tried to install Beta 8 version and had too much manuall work on files, but when I finished there was no thanks that users gave earlier with Beta 6 version and there wasn't Thanks button on posts.
I've checked the permissions and it was all set like it should be.
Maybe I didn't edited Source files correctly.
Display.php
Load.php
Subs-Boards.php
That was the files that I had to edit manuall because there was error on installation.
Hi All, Thanks for making this mod.
Have installed it without any problems. But I'm not seeing the "Thank You" star or textlink at the top right of the posts.
I have already enabled the user permissions in the admin section. What am I doing wrong?
I am using SMF 1.1.7 and I installed the Thank-O-Matic (Version 1.2.5). I have Pretty URLs mod installed, could this be effecting the Thank-O-Matic mod?
Thanks for your help. karo
===
Hi All, figured out what the mistake was. I had to go to board settings and tick the box for Enable Thank-O-Matic for each board in my forum, one by one. Works fine now. :) karo
So, help me out fellows.. if a post is removed the count goes down? Or is that information stored in the profile/members table? Reason I ask is.. posts are removed and the count is dropping so Im wondering if I used the disable post count drop if the TY will stay as well.
Quote from: AlenNS on January 21, 2009, 05:38:44 PM
I had Beta 6 version of this mod and uninstall it. Today I have tried to install Beta 8 version and had too much manuall work on files, but when I finished there was no thanks that users gave earlier with Beta 6 version and there wasn't Thanks button on posts.
I've checked the permissions and it was all set like it should be.
Maybe I didn't edited Source files correctly.
Display.php
Load.php
Subs-Boards.php
That was the files that I had to edit manuall because there was error on installation.
Hi DIN , I have a little question
How I can update from SMF 1.1.7 to SMF 2.0 without lose the thanks of the posts??
Quote from: NIBOGO on January 26, 2009, 08:45:36 PM
Hi DIN , I have a little question
How I can update from SMF 1.1.7 to SMF 2.0 without lose the thanks of the posts??
Normal it should be full compatible, but i've not test it on many Versions :x.
AlenNS: Read the post of karo, he had the same problem and solved it ;).
Quote from: HR on January 25, 2009, 02:54:07 PM
So, help me out fellows.. if a post is removed the count goes down? Or is that information stored in the profile/members table? Reason I ask is.. posts are removed and the count is dropping so Im wondering if I used the disable post count drop if the TY will stay as well.
Hmmm yes it could be possible to do that, you need to change the code a little bit ;). (What could be possible make it incompatible to other versions :x).
If you like the code change i can post it, but i need the Versions that you use ;).
Bye
DIN1031
Quote from: HR on January 25, 2009, 02:54:07 PM
So, help me out fellows.. if a post is removed the count goes down? Or is that information stored in the profile/members table? Reason I ask is.. posts are removed and the count is dropping so Im wondering if I used the disable post count drop if the TY will stay as well.
Thank O Matic v1.2.5 and SMF 1.1.7 Greatly appreciated.
Quote from: ディン1031 on January 27, 2009, 12:52:52 AM
Quote from: NIBOGO on January 26, 2009, 08:45:36 PM
Hi DIN , I have a little question
How I can update from SMF 1.1.7 to SMF 2.0 without lose the thanks of the posts??
Normal it should be full compatible, but i've not test it on many Versions :x.
Bye
DIN1031
I was thinking of i will lose all the thanks table.
Thanks
Hi, i have a problem with this mod. I'm using a theme other than the default and langpack spanish_es-utf8.
I did a manual install for all the theme and language related modifications, but i don't see the "Thank You" button... is there something else i have to change if i'm not using default theme nor english language?
Edit: I just made a test by typing http://elocio.co.cc/foros/index.php?action=thankyou;topic=109.0;msg=131 directly in the address bar, and it worked! So the mod is installed properly, but for some reason the "Thank You" button isn't showing up... :S
Second Edit: I just resolved it :P I just didn't realized that i had to check something when editing a forum.
Thank You DIN1030 for this great mod.
:D
Quote from: HR on January 25, 2009, 02:54:07 PM
So, help me out fellows.. if a post is removed the count goes down? Or is that information stored in the profile/members table? Reason I ask is.. posts are removed and the count is dropping so Im wondering if I used the disable post count drop if the TY will stay as well.
I thought about it, this should only happen if the the post is remove not if the thank you post only is removed?
Bye
DIN1031
Quote from: ディン1031 on January 31, 2009, 06:09:55 AM
Quote from: HR on January 25, 2009, 02:54:07 PM
So, help me out fellows.. if a post is removed the count goes down? Or is that information stored in the profile/members table? Reason I ask is.. posts are removed and the count is dropping so Im wondering if I used the disable post count drop if the TY will stay as well.
I thought about it, this should only happen if the the post is remove not if the thank you post only is removed?
Bye
DIN1031
Correct Thank you post is first in thread so if thank you post is removed count goes down.. What Idd like is count to stay even if thread/w thank you post is removed
Quote from: HR on January 31, 2009, 10:39:59 AM
Quote from: ディン1031 on January 31, 2009, 06:09:55 AM
Quote from: HR on January 25, 2009, 02:54:07 PM
So, help me out fellows.. if a post is removed the count goes down? Or is that information stored in the profile/members table? Reason I ask is.. posts are removed and the count is dropping so Im wondering if I used the disable post count drop if the TY will stay as well.
I thought about it, this should only happen if the the post is remove not if the thank you post only is removed?
Bye
DIN1031
Correct Thank you post is first in thread so if thank you post is removed count goes down.. What Idd like is count to stay even if thread/w thank you post is removed
Okay thread only should be no problem :).
Bye
DIN1031
I get an error during installation:
14. Execute Modification ./Sources/Load.php Test failed
Quote from: 1000bech on January 28, 2009, 08:01:53 PM
Hi, i have a problem with this mod. I'm using a theme other than the default and langpack spanish_es-utf8.
I did a manual install for all the theme and language related modifications, but i don't see the "Thank You" button... is there something else i have to change if i'm not using default theme nor english language?
Edit: I just made a test by typing http://elocio.co.cc/foros/index.php?action=thankyou;topic=109.0;msg=131 directly in the address bar, and it worked! So the mod is installed properly, but for some reason the "Thank You" button isn't showing up... :S
Second Edit: I just resolved it :P I just didn't realized that i had to check something when editing a forum.
Thank You DIN1030 for this great mod.
:D
Hi,
Can you tell me how did you sove the problem ?
Thanks in advance,
JW
Hi,
with this command :
http://www.linkswarez.com/antivrus-and-segurana/kaspersky-key-finder-v1-5-5/?action=thankyou;msg=19194;sesc=068edf3d599c7020218d1e9b9508e346
I was able to give a thankyou. Its on estatistics, but I dont have the buttons to do this.
I'm using FerryTema
Can somebody help me please.
JW
Can this be updated for 2.0 RC1?
Quote from: JackWise on February 06, 2009, 09:07:32 PM
Hi,
with this command :
http://www.linkswarez.com/antivrus-and-segurana/kaspersky-key-finder-v1-5-5/?action=thankyou;msg=19194;sesc=068edf3d599c7020218d1e9b9508e346
I was able to give a thankyou. Its on estatistics, but I dont have the buttons to do this.
I'm using FerryTema
Can somebody help me please.
JW
Change you template, and insert the missing lines into it.
Quote from: kimber on February 07, 2009, 01:19:06 PM
Can this be updated for 2.0 RC1?
Sorry, i had no time at the moment... i will do it after i went better from my illness...
Bye
DIN1031
Quote from: JackWise on February 06, 2009, 09:07:32 PM
Hi,
with this command :
http://www.linkswarez.com/antivrus-and-segurana/kaspersky-key-finder-v1-5-5/?action=thankyou;msg=19194;sesc=068edf3d599c7020218d1e9b9508e346
I was able to give a thankyou. Its on estatistics, but I dont have the buttons to do this.
I'm using FerryTema
Can somebody help me please.
JW
yes, you have to do a manual installation for the theme you are using... if you already did, you should check every forum in the administration panel to see if you have marked the chekbox to enable the Thank You Mod.
Quote from: ディン1031 on February 08, 2009, 07:07:52 AM
Quote from: JackWise on February 06, 2009, 09:07:32 PM
Hi,
with this command :
http://www.linkswarez.com/antivrus-and-segurana/kaspersky-key-finder-v1-5-5/?action=thankyou;msg=19194;sesc=068edf3d599c7020218d1e9b9508e346
I was able to give a thankyou. Its on estatistics, but I dont have the buttons to do this.
I'm using FerryTema
Can somebody help me please.
JW
Change you template, and insert the missing lines into it.
Quote from: kimber on February 07, 2009, 01:19:06 PM
Can this be updated for 2.0 RC1?
Sorry, i had no time at the moment... i will do it after i went better from my illness...
Bye
DIN1031
DIN, I hope you'll better soon.
Best regards,
JW
Quote from: 1000bech on February 08, 2009, 05:03:34 PM
Quote from: JackWise on February 06, 2009, 09:07:32 PM
Hi,
with this command :
http://www.linkswarez.com/antivrus-and-segurana/kaspersky-key-finder-v1-5-5/?action=thankyou;msg=19194;sesc=068edf3d599c7020218d1e9b9508e346
I was able to give a thankyou. Its on estatistics, but I dont have the buttons to do this.
I'm using FerryTema
Can somebody help me please.
JW
yes, you have to do a manual installation for the theme you are using... if you already did, you should check every forum in the administration panel to see if you have marked the chekbox to enable the Thank You Mod.
1000bech,
thanks for your answer.
I have already enabled the checkbox but I can´t do a manual instalation in ferrytema (our theme) because I don´t have full access to the forum, and the only person that have, I don't talk to him for a week.
Now , I'm using default theme (only me in the forum) and all the package is ok.
If I have to do a manual instalation in ferrytema, I'll have to wait...
Thanks,
JW
Anyone getting this error?
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.
Quote from: Randy A. on February 08, 2009, 09:34:31 PM
Anyone getting this error?
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.
Which package have this error?
I've tried a few, get the same error on all of them so far.
Quote from: Randy A. on February 10, 2009, 07:27:17 PM
I've tried a few, get the same error on all of them so far.
Hmm than i would say possible the permissions are not setup, or the server is not configured to upack packages.
Look into you error log are there any errors?
Bye
DIN1031
I got this error when I hit the [Apply Mod], so of course I stopped:
15. Execute Modification ./Sources/ManageBoards.php Test failed
What can I do now?
can you help me?
i 've smf 1.1.8 with a special theme.
i've installed you mod, i can see "thanks given and received", but i can't see "thankyou button or link"
please!!!
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi41.tinypic.com%2Fnf1k4m.png&hash=0463882dd263516300ea800dbc8ddf00f6481fd6)
http://i41.tinypic.com/nf1k4m.png (http://i41.tinypic.com/nf1k4m.png)
Quote from: leonardus on February 14, 2009, 04:08:51 AM
can you help me?
i 've smf 1.1.8 with a special theme.
i've installed you mod, i can see "thanks given and received", but i can't see "thankyou button or link"
please!!!
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi41.tinypic.com%2Fnf1k4m.png&hash=0463882dd263516300ea800dbc8ddf00f6481fd6)
http://i41.tinypic.com/nf1k4m.png (http://i41.tinypic.com/nf1k4m.png)
Make the changes that the mod do in the Display.template.php on your theme, than i think it should normal work.
But i could be possible that you not enable it on the boards =)
Bye
DIN1031
Hi din, will this mod be released in a version for RC1 soon?
Quote from: bullbreedluverz on February 14, 2009, 03:46:42 PM
Hi din, will this mod be released in a version for RC1 soon?
waiting me too ;)
Yes i'm working on it :), i reprogram a lot of the parts to make it more compatible =). (my problem at the moment is the maintain part)
I hope i can release it soon :D
Quote from: ディン1031 on February 14, 2009, 02:27:59 PM
Make the changes that the mod do in the Display.template.php on your theme, than i think it should normal work.
But i could be possible that you not enable it on the boards =)
Bye
DIN1031
display.template.php in not present in my theme dir, there is only in default dir. the option is enabled. have you a suggest for me?
thx
Quote from: leonardus on February 15, 2009, 02:12:05 AM
Quote from: ディン1031 on February 14, 2009, 02:27:59 PM
Make the changes that the mod do in the Display.template.php on your theme, than i think it should normal work.
But i could be possible that you not enable it on the boards =)
Bye
DIN1031
display.template.php in not present in my theme dir, there is only in default dir. the option is enabled. have you a suggest for me?
thx
Did you enable it on the Boards where you need it?
Did you set up permissions?
Did you make your Settings?
(Hope it's not your post xD)
Bye
DIN1031
How long you anticipate until this is available for RC1? I really need it :)
Quote from: zach21uk on February 16, 2009, 08:44:55 AM
How long you anticipate until this is available for RC1? I really need it :)
At the moment my time table is full, i try to do work everyday on it at least 10-20 minutes, but like i said i need to redone the maintain part ;). (And i try to insert a the Ajax lock feature, but it does not in that way i like <<). I also change a lot of the code more into the smf coding style, so that it will be look a little bit better :D. I also remove the thankyoupost.english.php and insert everything in the modification (to prevent extra packages for languages, i don't like it anymore :P.) And in that step i intregate every language inside the rc1 package. And And And ;) You see i work on it... give me some time...
But i hope that i will finish this until the upcoming weekend :D
Bye
DIN1031
QuoteBut i hope that i will finish this until the upcoming weekend
Thank you for the status updates. :D
Indeed - thanks for the updates
Any update on this?
Quote from: zach21uk on February 24, 2009, 12:45:42 PM
Any update on this?
I can give you the status of RC1... that i'm not finished... i insert a bug and i don't find it... so in need so days break and than start search it again oO. If i not found this one, i will remove the ajax lock feature :X.
Bye
DIN1031
Quote from: ディン1031 on February 25, 2009, 02:44:40 PM
Quote from: zach21uk on February 24, 2009, 12:45:42 PM
Any update on this?
I can give you the status of RC1... that i'm not finished... i insert a bug and i don't find it... so in need so days break and than start search it again oO. If i not found this one, i will remove the ajax lock feature :X.
Bye
DIN1031
That is pretty bad :( , Ajax Rocks anyway I know of you are a great coder and you will fix this :)
I look forward to the RC1 version as well!
Thanks!
Pheww finally ;)
Version 2.0 Beta 9 (03.03.09)
! Work in SMF 2.0 RC 1 Only
* Overworked a lot of the code (and not finished yet <<)
* Changed Lanugage System, no extra file needed any more
* Split files and reduce the amount of changes a lot :D (6 Files less :P)
+ Rework and Add Features to the maintaince of the Thank-O-Matic.
+ Rework the Profil Show Post Feature
I've done a lot of changes, so that a upgrade is impossible from older beta versions ;).
Bye
DIN1031
Din you are AWSOME xD ... Hide Tag + Thank-O-Matic ( %50 Chance To See Hidden Contest )
i'm making TR translate it finish soon :)
Quote from: ディン1031 on March 03, 2009, 04:17:27 PM
Pheww finally ;)
Version 2.0 Beta 9 (03.03.09)
! Work in SMF 2.0 RC 1 Only
* Overworked a lot of the code (and not finished yet <<)
* Changed Lanugage System, no extra file needed any more
* Split files and reduce the amount of changes a lot :D (6 Files less :P)
+ Rework and Add Features to the maintaince of the Thank-O-Matic.
+ Rework the Profil Show Post Feature
I've done a lot of changes, so that a upgrade is impossible from older beta versions ;).
Bye
DIN1031
Excelent!!
I hope of you can do something like this for the Member Color Link (Is a really heavy mod) but this looks pretty nice =)
I've got two errors on RC1.
7. Add Before ./Sources/Display.php Test failed
and
3. Add After ./Sources/Load.php Test failed
Do you think this mod will be a stressing one for the server (shared) where i'm hosted? The hosters will feel any difference in my account usage? :-? Of course, if the thank you button will be used and it will have to display at least 1 topic with thanks from 10, lets say. I have about 6000 users, 90,000 posts and 5100 topics.
Hi. i installed thank-o-matic 1.2.5 on smf 1.1.8 but i can't find the thank you button... i have enabled thank-o-matic on the board already, and i can see the "lock all thank you" button on each thread...
i'm using the default smf theme.
where is the thank you button? or how can i make it appear?
thank you very much
here's a screenshot of a post
great
Well installed, i changed something for be compatible in my forum, everythins seems working ok, only 1 problem in fresh install seems that table THANK YOU POST in DB is not created , i create it manually.
Other is ok, Ajax work good ;)
is possible to have the list of thank you given under topic, inside one table ? so this will be more visible
i means that i will like to have only buttons to click for give , remove, Thank you
edi67, how to install table manually?
Quote from: dm_mb on March 04, 2009, 11:32:54 AM
edi67, how to install table manually?
run this in your SQL:
CREATE TABLE `thank_you_post` (
`id_thx_post` int(10) unsigned NOT NULL auto_increment,
`id_msg` int(10) unsigned NOT NULL default '0',
`id_topic` mediumint(8) unsigned NOT NULL default '0',
`id_board` smallint(5) unsigned NOT NULL default '0',
`id_member` mediumint(8) unsigned NOT NULL default '0',
`member_name` varchar(80) NOT NULL default '',
`thx_time` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`id_thx_post`),
KEY `id_board` (`id_board`),
KEY `id_msg` (`id_msg`),
KEY `id_topic` (`id_topic`),
KEY `id_member` (`id_member`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=758 ;
Thx Edi...
Oh i need to fix this asap oO.
(I thought i tested it :X)
Fixed... somehow i think this is a bug ;), i fixed a SSI installer bug and create and new install bug with it. Now it should work in both ways :).
Quote from: shumilica on March 04, 2009, 01:39:45 AM
Do you think this mod will be a stressing one for the server (shared) where i'm hosted? The hosters will feel any difference in my account usage? :-? Of course, if the thank you button will be used and it will have to display at least 1 topic with thanks from 10, lets say. I have about 6000 users, 90,000 posts and 5100 topics.
If you not enable the preview list under each post than the mod should be very fast, because it will not need extra queries to load the user list :). (I tried to program it as lightweight i could).
Quote from: JGirl4You on March 04, 2009, 08:15:53 AM
Hi. i installed thank-o-matic 1.2.5 on smf 1.1.8 but i can't find the thank you button... i have enabled thank-o-matic on the board already, and i can see the "lock all thank you" button on each thread...
i'm using the default smf theme.
where is the thank you button? or how can i make it appear?
thank you very much
here's a screenshot of a post
- Did you enable it on the boards
- Did you setup the permission
- Did you make the theme changes for your theme.
Bye
DIN1031
Hey Din is possible do this ?
http://www.simplemachines.org/community/index.php?topic=176565.msg1961261#msg1961261
I Marking one Thank System with BB CODE based in Thank-O-Matic by ディン1031
I Having programming this new structure.
Quote from: edi67 on March 06, 2009, 09:07:52 AM
Hey Din is possible do this ?
http://www.simplemachines.org/community/index.php?topic=176565.msg1961261#msg1961261
Hmmm possible yes, but i need a better description i which case it work. Because if you count every thank you of the topic into it than it will be only useful if you allow only one thank you per topic, and in the better case only thank you to the first post. Can you make an example pic how it should look like?
Quote from: _System32_ on March 06, 2009, 09:20:13 AM
I Marking one Thank System with BB CODE based in Thank-O-Matic by ディン1031
I Having programming this new structure.
What do you mean? :X
Bye
DIN1031
Hi,
I had yesterday ThankOMatic20Beta9 (2.0 RC1).zip and installed the table manually in the database (thanks edi67 ;) ).
Now there's the fix: ThankOMatic20Beta9Fix (2.0 RC1). Zip
I still have to update or the fix is just around the table to create?
Quote from: ディン1031 on March 06, 2009, 09:58:44 AM
Quote from: edi67 on March 06, 2009, 09:07:52 AM
Hey Din is possible do this ?
http://www.simplemachines.org/community/index.php?topic=176565.msg1961261#msg1961261
Hmmm possible yes, but i need a better description i which case it work. Because if you count every thank you of the topic into it than it will be only useful if you allow only one thank you per topic, and in the better case only thank you to the first post. Can you make an example pic how it should look like?
Bye
DIN1031
oh is not difficult i means only one different color for table where there is the list of thank you in topic look screenshot for example.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi43.tinypic.com%2F65zln4.jpg&hash=43c2706962f7db4e0093cc6b13ebb9849646529b)
http://i43.tinypic.com/65zln4.jpg
Quote from: EkSeS on March 06, 2009, 06:34:18 PM
Hi,
I had yesterday ThankOMatic20Beta9 (2.0 RC1).zip and installed the table manually in the database (thanks edi67 ;) ).
Now there's the fix: ThankOMatic20Beta9Fix (2.0 RC1). Zip
I still have to update or the fix is just around the table to create?
Only the table create and SSI table create fix ;). (now both work and not only one *g*).
I would make a new version if there is a change inside the code :).
Quote from: edi67 on March 07, 2009, 06:41:37 AM
Quote from: ディン1031 on March 06, 2009, 09:58:44 AM
Quote from: edi67 on March 06, 2009, 09:07:52 AM
Hey Din is possible do this ?
http://www.simplemachines.org/community/index.php?topic=176565.msg1961261#msg1961261
Hmmm possible yes, but i need a better description i which case it work. Because if you count every thank you of the topic into it than it will be only useful if you allow only one thank you per topic, and in the better case only thank you to the first post. Can you make an example pic how it should look like?
Bye
DIN1031
oh is not difficult i means only one different color for table where there is the list of thank you in topic look screenshot for example.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi43.tinypic.com%2F65zln4.jpg&hash=43c2706962f7db4e0093cc6b13ebb9849646529b)
http://i43.tinypic.com/65zln4.jpg
Should it under each post? You want move it only? :)
Bye
DIN1031
Quote from: ディン1031 on March 07, 2009, 04:05:20 PM
Quote from: edi67 on March 07, 2009, 06:41:37 AM
Quote from: ディン1031 on March 06, 2009, 09:58:44 AM
Quote from: edi67 on March 06, 2009, 09:07:52 AM
Hey Din is possible do this ?
http://www.simplemachines.org/community/index.php?topic=176565.msg1961261#msg1961261
Hmmm possible yes, but i need a better description i which case it work. Because if you count every thank you of the topic into it than it will be only useful if you allow only one thank you per topic, and in the better case only thank you to the first post. Can you make an example pic how it should look like?
Bye
DIN1031
oh is not difficult i means only one different color for table where there is the list of thank you in topic look screenshot for example.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi43.tinypic.com%2F65zln4.jpg&hash=43c2706962f7db4e0093cc6b13ebb9849646529b)
http://i43.tinypic.com/65zln4.jpg
Should it under each post? You want move it only? :)
Bye
DIN1031
No only under the first post
Wow great been waiting for this for RC1 Thanks again!
Quote from: edi67 on March 07, 2009, 04:49:54 PM
No only under the first post
I think with ah theme change in the Display.template.php this is possible ;).
But i've no time at the moment to make this, if you remind me at the end of the week i think i can give you an idea how to make this ;).
Bye
DIN1031
Quote from: ディン1031 on March 08, 2009, 01:22:38 PM
Quote from: edi67 on March 07, 2009, 04:49:54 PM
No only under the first post
I think with ah theme change in the Display.template.php this is possible ;).
But i've no time at the moment to make this, if you remind me at the end of the week i think i can give you an idea how to make this ;).
Bye
DIN1031
thx Din, i try to my self to make it but your work will be sure more more better
Hi, i need help, when I finish installing (without they appear errors), when I am going to enter post appears to me this
Unknown column 'thx.member_name' in 'field list'
File: C:\AppServ\www\test\backup\Sources\ThankYouPost.php
Line: 680
I have version 1.1.7 with mod installed and when doing update to 2.0 version rc1 erase mod but they were the tables, somebody knows as I must do?
Greetings!
Quote from: 4kstore on March 09, 2009, 07:24:43 AM
Hi, i need help, when I finish installing (without they appear errors), when I am going to enter post appears to me this
Unknown column 'thx.member_name' in 'field list'
File: C:\AppServ\www\test\backup\Sources\ThankYouPost.php
Line: 680
I have version 1.1.7 with mod installed and when doing update to 2.0 version rc1 erase mod but they were the tables, somebody knows as I must do?
Greetings!
I think the code is not executed oO.
Upload the Install1.1.x.php from the package and call it with the browser.
Bye
DIN1031
but, i have smf 2.0 rc1 now and the mod not work, i execute install_2.x.x.php but nothing change
Quote from: 4kstore on March 09, 2009, 09:29:17 AM
but, i have smf 2.0 rc1 now and the mod not work, i execute install_2.x.x.php but nothing change
I have some problem, so, to create tables in DB, I copy sql code from install_2.x.x.php and paste and execute this in phpmyadmin.
SaludOS/2
Quote from: 4kstore on March 09, 2009, 09:29:17 AM
but, i have smf 2.0 rc1 now and the mod not work, i execute install_2.x.x.php but nothing change
I hope you used the fixed Version... i tried it serval times it work...
If you call this file are there standing some sentence?
Bye
DIN1031
I just installed this great mod for 1.1.8 and need to know what kind of edits I need to make to have this work in a custom theme. Im still fairly new to this so go easy on me.
Thanks DIN1031.Great Mod.But,
Can we show the congratulation list like the picture?
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg8.imageshack.us%2Fimg8%2F685%2Fadszrgl.jpg&hash=5f0df37044d4ee7401c911598770c4e8f2c14b8b) (http://img8.imageshack.us/my.php?image=adszrgl.jpg)
And
Can we do "The person's massages are thanked how much" ?
For Example: 30 Messages were thanked 45 times...
Thanks DIN1038.Good Works
Quote from: The Great OZ on March 10, 2009, 11:48:08 AM
I just installed this great mod for 1.1.8 and need to know what kind of edits I need to make to have this work in a custom theme. Im still fairly new to this so go easy on me.
Go to the mod site select the mod on the site and click on parse.
Than there is a page that show the changes what the mod do. Look for the .template.php files this are normal theme related changes. ;)
Quote from: sever2k7 on March 11, 2009, 03:34:58 AM
Can we show the congratulation list like the picture?
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg8.imageshack.us%2Fimg8%2F685%2Fadszrgl.jpg&hash=5f0df37044d4ee7401c911598770c4e8f2c14b8b) (http://img8.imageshack.us/my.php?image=adszrgl.jpg)
Thats near the same as edi67 ask for, i will see after my study test, at the moment i've no time to give you an solution for this.
Quote
And
Can we do "The person's massages are thanked how much" ?
For Example: 30 Messages were thanked 45 times...
Possible is everything ;), but i will say that this is not a nice query to do it, because i don't cache this data and it would be to much work for me to show a fast solution ;).
Bye
DIN1031
edi67 please share with me :)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg8.imageshack.us%2Fimg8%2F685%2Fadszrgl.jpg&hash=5f0df37044d4ee7401c911598770c4e8f2c14b8b)
Thanks DİN1031.I am waiting :)
why this happens?
is a double code in some template?
Quote from: the_shadow on March 12, 2009, 07:02:27 PM
why this happens?
is a double code in some template?
No the image in the button folder is missing on you costum theme ;).
Is there any way to put in the stats the 10 post who have the most thanks resived?
Quote from: ディン1031 on March 13, 2009, 01:25:36 AM
Quote from: the_shadow on March 12, 2009, 07:02:27 PM
why this happens?
is a double code in some template?
No the image in the button folder is missing on you costum theme ;).
sorry i'm newbie :( ThNkX
I have a slight error. All the signatures are being displayed to the top right of each post box. And then, after the person gives thanks to that person, the signature gets restored to its proper location. What could be the cause of this?
Hi, I have a small problem with this mod. After installing, it works with "admin", and when I logged out and logged in as a regular member, I don't see the Thank you button on posts. I've checked the settings, they're OK. Can you help me to solve this?
Thank you.
Quote from: rilwis on March 14, 2009, 03:43:19 PM
Hi, I have a small problem with this mod. After installing, it works with "admin", and when I logged out and logged in as a regular member, I don't see the Thank you button on posts. I've checked the settings, they're OK. Can you help me to solve this?
Thank you.
you should set the right permissions for the specific group allowed to give thanks it can be found in your admin panel > permission
Quote from: silber112 on March 13, 2009, 10:43:26 AM
Is there any way to put in the stats the 10 post who have the most thanks resived?
For 1.2.5 exist an add-on to make it possible :).
Called ThankOMaticOnStatsPage101.zip it's attached to the first post. ;).
In the 2.0 Version this is integrated :).
Quote from: daveaite on March 14, 2009, 05:36:09 AM
I have a slight error. All the signatures are being displayed to the top right of each post box. And then, after the person gives thanks to that person, the signature gets restored to its proper location. What could be the cause of this?
Which Version? ;)
Is this a custom theme? I think some inserts are missing or a other mod mess up the standard system :X.
Bye
DIN1031
Quote from: edi67 on March 08, 2009, 02:24:29 PM
Quote from: ディン1031 on March 08, 2009, 01:22:38 PM
Quote from: edi67 on March 07, 2009, 04:49:54 PM
No only under the first post
I think with ah theme change in the Display.template.php this is possible ;).
But i've no time at the moment to make this, if you remind me at the end of the week i think i can give you an idea how to make this ;).
Bye
DIN1031
thx Din, i try to my self to make it but your work will be sure more more better
This is only for the SMF 2.0. Beta 9 Version.There are many ways to do this.
Version 1:
Only the First post will be have a new line with thank yous :)
Display.template.phpSearch for:
echo '
<span class="error" id="ErrorThankOMaticID' . $message['id'] . '"></span><div class="ThankOMatic" style="display: '.($message['thank_you_post']['isThankYouPost'] ? 'block' : 'none').';" id="ThankOMaticID' . $message['id'] . '">';
if ($message['thank_you_post']['isThankYouPost'])
template_thank_you_post($message['thank_you_post'], $message['id']);
echo '
</div>';
Replace with:
if(!$is_first_post || $context['start'] != 0)
{
echo '
<span class="error" id="ErrorThankOMaticID' . $message['id'] . '"></span><div class="ThankOMatic" style="display: '.($message['thank_you_post']['isThankYouPost'] ? 'block' : 'none').';" id="ThankOMaticID' . $message['id'] . '">';
if ($message['thank_you_post']['isThankYouPost'])
template_thank_you_post($message['thank_you_post'], $message['id']);
echo '
</div>';
}
Search for
// 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>';
Add after
// Show the Thank You list or the link or.... nothing? XD
if ($is_first_post && $context['start'] == 0)
{
echo '
<div class="clearfix ', $message['approved'] ? ($message['alternate'] == 0 ? 'windowbg' : 'windowbg2') : 'approvebg', ' largepadding">
<div class="postarea smalltext">
<span class="error" id="ErrorThankOMaticID' . $message['id'] . '"></span>
<div class="ThankOMatic" style="display: '.($message['thank_you_post']['isThankYouPost'] ? 'block' : 'none').';" id="ThankOMaticID' . $message['id'] . '">';
if ($message['thank_you_post']['isThankYouPost'])
template_thank_you_post($message['thank_you_post'], $message['id']);
echo '
</div>
</div>
</div>';
}
Version 2, every time under the post ;).
Display.template.phpRemove or comment this part
echo '
<span class="error" id="ErrorThankOMaticID' . $message['id'] . '"></span><div class="ThankOMatic" style="display: '.($message['thank_you_post']['isThankYouPost'] ? 'block' : 'none').';" id="ThankOMaticID' . $message['id'] . '">';
if ($message['thank_you_post']['isThankYouPost'])
template_thank_you_post($message['thank_you_post'], $message['id']);
echo '
</div>';
Search for
// 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>';
Add after
echo '
<div class="clearfix ', $message['approved'] ? ($message['alternate'] == 0 ? 'windowbg' : 'windowbg2') : 'approvebg', ' largepadding">
<div class="postarea smalltext">
<span class="error" id="ErrorThankOMaticID' . $message['id'] . '"></span>
<div class="ThankOMatic" style="display: '.($message['thank_you_post']['isThankYouPost'] ? 'block' : 'none').';" id="ThankOMaticID' . $message['id'] . '">';
if ($message['thank_you_post']['isThankYouPost'])
template_thank_you_post($message['thank_you_post'], $message['id']);
echo '
</div>
</div>
</div>';
Overall:
If you don't like to move the thank you to the post site than remove the
postarea inside the second class.
If you like some additional information about the thank you before the list you can use:
<div class="postarea smalltext">
<span class="error" id="ErrorThankOMaticID' . $message['id'] . '"></span>
<div class="ThankOMatic" style="display: '.($message['thank_you_post']['isThankYouPost'] ? 'block' : 'none').';" id="ThankOMaticID' . $message['id'] . '">';
Replace with
<div class="floatleft poster">
', $txt['thank_you_post_thx_display'], ':
</div>
<div class="postarea smalltext">
<span class="error" id="ErrorThankOMaticID' . $message['id'] . '"></span>
<div class="ThankOMatic" style="display: '.($message['thank_you_post']['isThankYouPost'] ? 'block' : 'none').';" id="ThankOMaticID' . $message['id'] . '">';
Like every time, i give
no warranty and
no support for this. This is only a help if someone want do a thing like this ;).
Bye
DIN1031
Work like a charm thx Din, lovely addon
Quote from: silber112 on March 13, 2009, 10:43:26 AM
Is there any way to put in the stats the 10 post who have the most thanks resived?
No body knows how to do it?
Quote from: silber112 on March 15, 2009, 06:40:35 PM
Quote from: silber112 on March 13, 2009, 10:43:26 AM
Is there any way to put in the stats the 10 post who have the most thanks resived?
No body knows how to do it?
Did you read my answer <<...
http://www.simplemachines.org/community/index.php?topic=176565.msg1976342#msg1976342
Bye
DIN1031
Quote from: ディン1031 on March 16, 2009, 01:16:24 AM
Quote from: silber112 on March 15, 2009, 06:40:35 PM
Quote from: silber112 on March 13, 2009, 10:43:26 AM
Is there any way to put in the stats the 10 post who have the most thanks resived?
No body knows how to do it?
Did you read my answer <<...
http://www.simplemachines.org/community/index.php?topic=176565.msg1976342#msg1976342
Bye
DIN1031
This is not that what i am searching. The addon shows the users who haves the most karma gived/recibe... I what to display in the stats page the 10 posts with the most thanks recibed... I use 1.1.8
Quote from: silber112 on March 16, 2009, 11:25:15 AM
Quote from: ディン1031 on March 16, 2009, 01:16:24 AM
Quote from: silber112 on March 15, 2009, 06:40:35 PM
Quote from: silber112 on March 13, 2009, 10:43:26 AM
Is there any way to put in the stats the 10 post who have the most thanks resived?
No body knows how to do it?
Did you read my answer <<...
http://www.simplemachines.org/community/index.php?topic=176565.msg1976342#msg1976342
Bye
DIN1031
This is not that what i am searching. The addon shows the users who haves the most karma gived/recibe... I what to display in the stats page the 10 posts with the most thanks recibed... I use 1.1.8
Hmmm i think -> ThankOMaticSSITopThanksPostsXXX.zip <- this do that what you mean.
If I've time i will make it workable on the stat page ;).
Bye
DIN1031
Quote from: ディン1031 on March 16, 2009, 02:35:36 PM
Quote from: silber112 on March 16, 2009, 11:25:15 AM
Quote from: ディン1031 on March 16, 2009, 01:16:24 AM
Quote from: silber112 on March 15, 2009, 06:40:35 PM
Quote from: silber112 on March 13, 2009, 10:43:26 AM
Is there any way to put in the stats the 10 post who have the most thanks resived?
No body knows how to do it?
Did you read my answer <<...
http://www.simplemachines.org/community/index.php?topic=176565.msg1976342#msg1976342
Bye
DIN1031
This is not that what i am searching. The addon shows the users who haves the most karma gived/recibe... I what to display in the stats page the 10 posts with the most thanks recibed... I use 1.1.8
Hmmm i think -> ThankOMaticSSITopThanksPostsXXX.zip <- this do that what you mean.
If I've time i will make it workable on the stat page ;).
Bye
DIN1031
:D I will wait for it, it will be very important for my site...
Hi Im using 2.0RC1 and ThankOMatic20Beta9Fix (2.0 RC1).zip I installed it without any problems except for this:
id_msg_modified < {int:new_from} AS is_read
FROM {db_prefix}messages
Add Before:
'.($board_info['thank_you_post_enable'] && allowedTo('thank_you_post_show') ? 'thank_you_post, thank_you_post_counter,' : '').'
I did it manually and left it like this:
if (!empty($posters))
loadMemberData($posters);
$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,' : '').'
id_msg_modified < {int:new_from} AS is_read
FROM {db_prefix}messages
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'],
)
);
but It gives me this 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 '.id_msg_modified < 1059 AS is_read, k.message AS is_repped
FROM foro_messages' at line 7
File: /home/oh****/public_html/foro/Sources/Display.php
Line: 1040
what did I do wrong ??? :(
thanks
I think you missed a "m." on one of the id_msg_modified
Quote from: aED on March 18, 2009, 10:15:52 AM
I think you missed a "m." on one of the id_msg_modified
mmm, but all I do was copy-paste...
so where do I put the "m." ???ok, solved, it was Just a little misunderstanding with advance reputation sistem, it works now, thanks. :)
Hi, well I'm posting because I have an "error" with this mod settings in the features and option menu. Well, the thing is that, when I'm going to modify the mod settings, I can check/uncheck things and edit some settings, and either clicking Save, but when I return to that menu, my settings are not there! all I've checked before is lost, and therefore I can't activate the main options of this fantastic mod :(
I think an image should explain better my poorly explained issue:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg18.imageshack.us%2Fimg18%2F1709%2Fsmf.gif&hash=d138a9e7d97b56764eeed2032844b28b5bf436c6)
I hope that anyone help me :( :(
Darkkurama
Did you install in manual or with the package manager?
Look if this replacement is done twice:
in the ModSettings.php
Search for
'layout' => 'ModifyLayoutSettings',
add after
'thankyoupost' => 'ModifyThankYouPostSettings',
Sometimes it's not repleaced twice :X
Bye
DIN1031
Quote from: ディン1031 on March 22, 2009, 10:10:49 AM
Did you install in manual or with the package manager?
Look if this replacement is done twice:
in the ModSettings.php
Search for
'layout' => 'ModifyLayoutSettings',
add after
'thankyoupost' => 'ModifyThankYouPostSettings',
Sometimes it's not repleaced twice :X
Bye
DIN1031
That was it!!! i didn't realize that i had to put that after twice!
Thank you!!!
(And yes, I "installed" the mod manually =P [And it's long as ** xD])
THANKSSS!!!!
Darkkurama
I have two questions:
1- ¿How can i set up a number of messages to allow users to give thanks?¿Time to wait to give more thaks?
2- I saw on the profile of a forum that if you clicked the thanks recibed number it shows the post where they won the thanks. How can I put it?
Sorry for my worse english
Quote from: silber112 on March 22, 2009, 07:34:27 PM
I have two questions:
1- ¿How can i set up a number of messages to allow users to give thanks?¿Time to wait to give more thaks?
2- I saw on the profile of a forum that if you clicked the thanks recibed number it shows the post where they won the thanks. How can I put it?
Sorry for my worse english
Which Version did you use? ;)
1.1 - Time to wait does not exist... hmmm but a good idea :D.
1.2 - You can setup this with a permission for it to the post based groups.
2 - Version needed ;).
Hii i am using Beta9 Fix mod on Smf 2 RC1
From the time i start using Thank o matic
[ from smf2 beta 3 ] I used to get error while splitting in topic.
See the screenshot
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi44.tinypic.com%2F258m0j5.jpg&hash=ad8569e6ea4e0f17e3c10efd0b5231e5e603d5e1)
I checked the Splittopic.php file for any irregularity
But its all fine As whenever i remove Thank o matic
I am able to split topics :)
1 more thing I am not even able to delete those thread in which there
are no of Thnk you posts.. Its shows error
"WRONG VALUE SENT TO DATABSE , INTEGER EXPECTED"
There is also problem in Deleteing Thankyou from any post... :(
Lots of error but Spittopic error is biggest...
FYI: I have just upgraded to RC1 few weeks ago with Full UPGRADE...
I will test it... i was sure that i tested it... and it work... but okay i will see <<.
Quote from: ディン1031 on March 23, 2009, 02:54:21 AM
Quote from: silber112 on March 22, 2009, 07:34:27 PM
I have two questions:
1- ¿How can i set up a number of messages to allow users to give thanks?¿Time to wait to give more thaks?
2- I saw on the profile of a forum that if you clicked the thanks recibed number it shows the post where they won the thanks. How can I put it?
Sorry for my worse english
Which Version did you use? ;)
1.1 - Time to wait does not exist... hmmm but a good idea :D.
1.2 - You can setup this with a permission for it to the post based groups.
2 - Version needed ;).
SMF 1.1.4 - Thank-o-matic 1.25
Pd: Thanks for the tip of permission for it to the post based groups ;D
QuoteI need a time betwen giving thanks :-X
I aded this code next to the Thanks recived, it looks like this:
Thanks recived: 32 See
<a href="', $scripturl, '?action=profile;u=', $context['member']['id'], ';sa=showThankYouPosts">See</a>
But I dont know why the used id dont loads when I test it, any sugestions?
1. Extract File ./Themes/default/images/buttons/thank_you_b.gif
2. Extract File ./Sources/ThankYouPost.php
3. Extract File ./Sources/ThankYouPost-Maintaince.php
4. Extract File ./Sources/Profile-ThankYouPost.php
5. Extract File ./Sources/ThankYouPost.php
6. Extract File ./Themes/default/ThankYouPost.template.php
7. Execute Code install_2.x.x.php
8. Execute Modification ./index.php Test successful
9. Execute Modification ./SSI.php Test successful
10. Execute Modification ./ssi_examples.php Test successful
11. Execute Modification ./Sources/Display.php Test failed
12. Execute Modification ./Sources/Load.php Test successful
13. Execute Modification ./Sources/ManageBoards.php Test successful
14. Execute Modification ./Sources/ManagePermissions.php Test successful
15. Execute Modification ./Sources/Admin.php Test successful
16. Execute Modification ./Sources/ManageSettings.php Test successful
17. Execute Modification ./Sources/MoveTopic.php Test successful
18. Execute Modification ./Sources/Profile.php Test successful
19. Execute Modification ./Sources/Profile-Modify.php Test successful
20. Execute Modification ./Sources/RemoveTopic.php Test successful
21. Execute Modification ./Sources/Security.php Test successful
22. Execute Modification ./Sources/SplitTopics.php Test successful
23. Execute Modification ./Sources/Stats.php Test successful
24. Execute Modification ./Sources/Subs.php Test successful
25. Execute Modification ./Sources/Subs-Boards.php Test successful
26. Execute Modification ./Themes/default/index.template.php Test successful
27. Execute Modification ./Themes/default/Display.template.php Test failed
28. Execute Modification ./Themes/default/ManageBoards.template.php Test successful
29. Execute Modification ./Themes/default/Profile.template.php Test successful
30. Execute Modification ./Themes/default/Stats.template.php Test successful
31. Execute Modification ./Themes/default/style.css Test successful
32. Execute Modification ./Themes/default/languages/Admin.english.php Test successful
33. Execute Modification ./Themes/default/languages/index.english.php Test successful
34. Execute Modification ./Themes/default/languages/ManageBoards.english.php Test successful
35. Execute Modification ./Themes/default/languages/ManagePermissions.english.php Test successful
36. Execute Modification ./Themes/default/languages/Errors.english.php Test successful
37. Execute Modification ./Themes/default/languages/ManageSettings.english.php Test successful
38. Execute Modification ./Themes/default/languages/Profile.english.php Test successful
39. Execute Modification ./Themes/default/languages/Stats.english.php Test successful
40. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
41. Execute Modification ./Themes/default/languages/Admin.english-utf8.php Skipping file
42. Execute Modification ./Themes/default/languages/index.english-utf8.php Skipping file
43. Execute Modification ./Themes/default/languages/ManageBoards.english-utf8.php Skipping file
44. Execute Modification ./Themes/default/languages/ManagePermissions.english-utf8.php Skipping file
45. Execute Modification ./Themes/default/languages/Errors.english-utf8.php Skipping file
46. Execute Modification ./Themes/default/languages/ManageSettings.english-utf8.php Skipping file
47. Execute Modification ./Themes/default/languages/Profile.english-utf8.php Skipping file
48. Execute Modification ./Themes/default/languages/Stats.english-utf8.php Skipping file
49. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php Skipping file
help please :'( :'( :'(
Thanks ディン1031 for your concern :)
I will wait for your next response....
BTW do you think Hide tag mod can cause any problem
to Thank o matic ???
Quote// nuevo respeto
if(!empty($modSettings['thankYouPostDisplayPage'])) {
echo '
<br />
', $txt['thank_you_post_became_display'], ': ', $message['member']['thank_you_post']['became'], '
<br /><br />';
This is the code I am using to show only the thanks recived in the display.template.php, how can I make that the number ok thanks recived links to the list of the post where the user you won the thanks?
In my forum to see then is it like that the url:
http://mysite.net/foros/index.php?action=profile;u=2418;sa=showThankYouPosts
Quote from: problemwt2.0 on March 23, 2009, 08:48:06 PM
1. Extract File ./Themes/default/images/buttons/thank_you_b.gif
2. Extract File ./Sources/ThankYouPost.php
3. Extract File ./Sources/ThankYouPost-Maintaince.php
4. Extract File ./Sources/Profile-ThankYouPost.php
5. Extract File ./Sources/ThankYouPost.php
6. Extract File ./Themes/default/ThankYouPost.template.php
7. Execute Code install_2.x.x.php
8. Execute Modification ./index.php Test successful
9. Execute Modification ./SSI.php Test successful
10. Execute Modification ./ssi_examples.php Test successful
11. Execute Modification ./Sources/Display.php Test failed
12. Execute Modification ./Sources/Load.php Test successful
13. Execute Modification ./Sources/ManageBoards.php Test successful
14. Execute Modification ./Sources/ManagePermissions.php Test successful
15. Execute Modification ./Sources/Admin.php Test successful
16. Execute Modification ./Sources/ManageSettings.php Test successful
17. Execute Modification ./Sources/MoveTopic.php Test successful
18. Execute Modification ./Sources/Profile.php Test successful
19. Execute Modification ./Sources/Profile-Modify.php Test successful
20. Execute Modification ./Sources/RemoveTopic.php Test successful
21. Execute Modification ./Sources/Security.php Test successful
22. Execute Modification ./Sources/SplitTopics.php Test successful
23. Execute Modification ./Sources/Stats.php Test successful
24. Execute Modification ./Sources/Subs.php Test successful
25. Execute Modification ./Sources/Subs-Boards.php Test successful
26. Execute Modification ./Themes/default/index.template.php Test successful
27. Execute Modification ./Themes/default/Display.template.php Test failed
28. Execute Modification ./Themes/default/ManageBoards.template.php Test successful
29. Execute Modification ./Themes/default/Profile.template.php Test successful
30. Execute Modification ./Themes/default/Stats.template.php Test successful
31. Execute Modification ./Themes/default/style.css Test successful
32. Execute Modification ./Themes/default/languages/Admin.english.php Test successful
33. Execute Modification ./Themes/default/languages/index.english.php Test successful
34. Execute Modification ./Themes/default/languages/ManageBoards.english.php Test successful
35. Execute Modification ./Themes/default/languages/ManagePermissions.english.php Test successful
36. Execute Modification ./Themes/default/languages/Errors.english.php Test successful
37. Execute Modification ./Themes/default/languages/ManageSettings.english.php Test successful
38. Execute Modification ./Themes/default/languages/Profile.english.php Test successful
39. Execute Modification ./Themes/default/languages/Stats.english.php Test successful
40. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
41. Execute Modification ./Themes/default/languages/Admin.english-utf8.php Skipping file
42. Execute Modification ./Themes/default/languages/index.english-utf8.php Skipping file
43. Execute Modification ./Themes/default/languages/ManageBoards.english-utf8.php Skipping file
44. Execute Modification ./Themes/default/languages/ManagePermissions.english-utf8.php Skipping file
45. Execute Modification ./Themes/default/languages/Errors.english-utf8.php Skipping file
46. Execute Modification ./Themes/default/languages/ManageSettings.english-utf8.php Skipping file
47. Execute Modification ./Themes/default/languages/Profile.english-utf8.php Skipping file
48. Execute Modification ./Themes/default/languages/Stats.english-utf8.php Skipping file
49. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php Skipping file
help please :'( :'( :'(
Hi friend,
When you have a thing like this (./Sources/Display.php Test failed) you do the installation mod automatically, and then you have to change display.php manually.
This happens, because sometimes other mods change the expected locations.
Is this cases, I prepare the manual operation in my pc.
I install the mod automatically.
And then (as fast as I can) I transfers the php file I changed manually.
JW
Hi Din one question is possible in this your code:
http://www.simplemachines.org/community/index.php?topic=176565.msg1976368#msg1976368
make the thank you list visible ONLY when thank you matic is enabled in specific board? i means that now line of thank you list is always visible in sections, too if thankyoumatic is disabled.
Nice mod but I am looking for the greek files and can't find them. Any idea where are they ? Thanks.
Quote from: edi67 on March 25, 2009, 04:16:53 AM
Hi Din one question is possible in this your code:
http://www.simplemachines.org/community/index.php?topic=176565.msg1976368#msg1976368
make the thank you list visible ONLY when thank you matic is enabled in specific board? i means that now line of thank you list is always visible in sections, too if thankyoumatic is disabled.
Oh thats a overall bug of my mod, thanks for the information ;). (Not only because of this change)
Quote
Hii i am using Beta9 Fix mod on Smf 2 RC1
From the time i start using Thank o matic
[ from smf2 beta 3 ] I used to get error while splitting in topic.
I forgot :), if you have this problem than you need to start a file that is included in the mod it will fix this problem.
Upload the file "
fixSplitError_2.x.x.php" and call it with the browser, it will fix this split topic problem. I forgot that this was solved in beta 8 but on old version this fix need to be called that it work again :). (Because the function work now) ;).
Bye
DIN1031
Hey Thanks alot ディン1031
I will try it and post my experience here :)
Hey bro, Split topic problem is solved [ currenly i just checked on test topics will check throughtly when there is need for this ] but still i am not able to delete Thank you given to anyone, Moreover whenever i clicks on "del thank you" then after the p_karma_mod error the name of the poster of that thank you below the post dissappeares and it only shows no of thank you..
Quote from: aED on March 15, 2009, 03:25:27 AM
Quote from: rilwis on March 14, 2009, 03:43:19 PM
Hi, I have a small problem with this mod. After installing, it works with "admin", and when I logged out and logged in as a regular member, I don't see the Thank you button on posts. I've checked the settings, they're OK. Can you help me to solve this?
Thank you.
you should set the right permissions for the specific group allowed to give thanks it can be found in your admin panel > permission
Thank you so much, it works great for me. I will give you some thanks if this forum has this feature :D
Quote from: gourav on March 29, 2009, 07:05:00 AM
Hey bro, Split topic problem is solved [ currenly i just checked on test topics will check throughtly when there is need for this ] but still i am not able to delete Thank you given to anyone, Moreover whenever i clicks on "del thank you" then after the p_karma_mod error the name of the poster of that thank you below the post dissappeares and it only shows no of thank you..
Strange... can i have the list of mods you've installed?
And would you give me some of you're files, if ask for? :)
Hi bro i have a problem...
After someone gives thanks to any post when the page is opened next time , nothing is displayed below that post...
I mean it doesn shows that, that post had ever received a thankyou...
Though thanks given and thanks received remains there intact.(i mean its shown on affected profiles as it should)...
What to do??
am using 2.0 RC1 with theme airy midnight...
In case you need to look at forum... its at www.getandshare.co.nr
please reply asap..
Quote from: getandshare on March 30, 2009, 07:08:11 AM
Hi bro i have a problem...
After someone gives thanks to any post when the page is opened next time , nothing is displayed below that post...
I mean it doesn shows that, that post had ever received a thankyou...
Though thanks given and thanks received remains there intact.(i mean its shown on affected profiles as it should)...
What to do??
am using 2.0 RC1 with theme airy midnight...
In case you need to look at forum... its at www.getandshare.co.nr
please reply asap..
Hmmm is he allowe to see the thank you list?
(Possible a bug in my Mod because normal if he not allowed he should not see it after thank you *g*)
And if i should look into you forum i need a login.
Bye
DIN1031
Yeah sure...
be my guest...:)
Username:- demo
Password:- demo
Quote from: getandshare on March 31, 2009, 04:55:31 AM
Yeah sure...
be my guest...:)
Username:- demo
Password:- demo
I can give you only tip.
Could you please look at you template file if you made all changes in the Display.template.php.
Was there any error on the install?
Can you look at the database if the entries are avaible? (I think yes because it detect that the use have posted some stuff...) ;).
Could you look into the Error log, are there any Thank-O-Matic Related changes?
Bye
DIN1031
Quote from: ディン1031 on March 30, 2009, 01:44:50 AM
Quote from: gourav on March 29, 2009, 07:05:00 AM
Hey bro, Split topic problem is solved [ currenly i just checked on test topics will check throughtly when there is need for this ] but still i am not able to delete Thank you given to anyone, Moreover whenever i clicks on "del thank you" then after the p_karma_mod error the name of the poster of that thank you below the post dissappeares and it only shows no of thank you..
Strange... can i have the list of mods you've installed?
And would you give me some of you're files, if ask for? :)
Well this is the error when i tries to delete any thank you
Wrong value type sent to the database. Integer expected. (p_karma_good)Btw today i discovered that after this error if i tries to delete
the thank you again i gets success?? means success after error .... ???
One more thing can we delete thank you of
only one person [giver] instead of whole list of thank yougiven to a postMods i have:
1. Simple Tagging 1.0 [ Uninstall ]
2. Global Topics 1.0 [ Uninstall ]
3. Pretty URLs 0.9.1 [ Uninstall ]
4. Related Topics 1.4 Alpha 1 [ Uninstall ]
5. Thank-O-Matic 2.0 Beta 9 [ Uninstall ]
6. Hide Tag 2.2.3 [ Uninstall ]
7. Yet Another Global Announcements Mod 1.1.6.2 [ Uninstall ]
8. Quick PM 1.0 [ Uninstall ]
9. Date_Registerd on post 1.0 [ Uninstall ]
10. Downloads System 1.1.5.1 [ Uninstall ]
11. Sitemap 2.0.0 [ Uninstall ]
12. Look But No Read 1.3 [ Uninstall ]
13. Ad Managment 2.3.4 [ Uninstall ]
14. BK-SMF Website 1.0 [ Uninstall ]
15. Pm_Informer 2.0 [ Uninstall ]
16. DeInCreasePostBox 1.4 [ Uninstall ]
@ディン1031 Today again i got the problem while spliting a bigger topic
But then i recalled the FIX.PHP in browser and it get solved..
should i do it again and again or is there any permanent solution for this???
Installed the Mod manually. I am getting the thank-o-matic tab in feature and options. Here we select the options and save. The thank you buttons are seen in the posts. On clicking the thank you button we are redirected to the home page. On going to the post again we do not see any saved thank you for the post. The member profiles also do not reflect any thank you given or received. Going back to the thank-o-matic tab we find that the settings are at default (unselected) , not saved .
Please help solve,
Quote from: gourav on April 02, 2009, 12:52:16 PM
@ディン1031 Today again i got the problem while spliting a bigger topic
But then i recalled the FIX.PHP in browser and it get solved..
should i do it again and again or is there any permanent solution for this???
Define Big, i tested the split function on a 600 Page thread and it work fine (with a lot of thank o matic posts mixed inside).
Normal after the fix it should be everytime fixed... (I'm sure there are some mistakes on you installation... or it was never completet).
Also did you look at error log, like i ask before? Are there any errors?
Quote from: metlix on April 02, 2009, 11:59:17 PM
Installed the Mod manually. I am getting the thank-o-matic tab in feature and options. Here we select the options and save. The thank you buttons are seen in the posts. On clicking the thank you button we are redirected to the home page. On going to the post again we do not see any saved thank you for the post. The member profiles also do not reflect any thank you given or received. Going back to the thank-o-matic tab we find that the settings are at default (unselected) , not saved .
Please help solve,
Mod Version?
Strange... normal this should not happen. Could you look if an error inside the error log?
I have installed thank-o-matic ver 1.2.5 on SMF 1.1.8
Error log as follows
/index.php?action=featuresettings2;save;sa=thankyoupost
8: Undefined index: pm_posts_per_hour
File: /home/vol2/hostwq.net/hq_3120558/isopirate.co.cc/htdocs/Sources/ModSettings.php
Line: 239
8: Undefined index: pm_posts_verification
File: /home/vol2/hostwq.net/hq_3120558/isopirate.co.cc/htdocs/Sources/ModSettings.php
Line: 239
8: Undefined index: max_pm_recipients
File: /home/vol2/hostwq.net/hq_3120558/isopirate.co.cc/htdocs/Sources/ModSettings.php
Line: 239
Quote from: ディン1031 on April 02, 2009, 01:21:02 AM
Quote from: getandshare on March 31, 2009, 04:55:31 AM
Yeah sure...
be my guest...:)
Username:- demo
Password:- demo
I can give you only tip.
Could you please look at you template file if you made all changes in the Display.template.php.
Was there any error on the install?
Can you look at the database if the entries are avaible? (I think yes because it detect that the use have posted some stuff...) ;).
Could you look into the Error log, are there any Thank-O-Matic Related changes?
Bye
DIN1031
I didnt made any changes i simply selected install this mod on following themes too..
There was no error on install...
Yes entries are available in the data base....
There are no error related to thank-o-matic in error log...
In fact thank-o-matic is working fine... i only want the names of members to display always below the post, they have given thank you to.... :-\
Yes 1031 There are lots of errors in error log,
even there is error on every page. At present i have disabled the error log.
Please check this topic for type of errors..
http://www.simplemachines.org/community/index.php?topic=302604.0
BTW this erros are from a long time..
hi
thank you for this mod
but in the ThankOMatic1.1.x.mod have:
in line 1052--1056
<add after>
$thankyoupostpost_button = create_button('thank_you_b.gif', 'thank_you_post_post_b', 'thank_you_post_post_b', 'align="middle"');
$thankyoupostlock_button = create_button('thank_you_b.gif', 'thank_you_post_lock_b', 'thank_you_post_lock_b', 'align="middle"');
$thankyoupostopen_button = create_button('thank_you_b.gif', 'thank_you_post_open_b', 'thank_you_post_open_b', 'align="middle"');
$thankyoupostdelete_button = create_button('thank_you_b.gif', 'thank_you_post_delete_b', 'thank_you_post_delete_b', 'align="middle"');
</add after>
all pic are thank_you_b.gif
my forum is http://forum.daneshpajooh.ir with thanks mod ;)
Good luck
Hi every1, especially
ディン1031 Its a nice mod :D
Today, i'd try a fresh install of SMF 2.0 RC1.
The first mod i install is
ThankOMatic20Beta9Fix (2.0 RC1).zipInstallation is going succeed.
I'd enabled the Thank o matic.
When i go to my homepage and click any boards or topics, there is this error on white blank page:
Unknown column 'b.thank_you_post_enable' in 'field list'When i try to modify board, the error is appear like this:
QuoteUnknown column 'b.thank_you_post_enable' in 'field list'
File: C:\wamp\www\smf_2-0-rc1_install3\Sources\Subs-Boards.php
Line: 1038
Please explain and give me a solution. Thanx.
I have a custom theme and this installs fine (all tests fine), I get the control panel, but nothing shows on the my threads to give users the option to thank anyone. Ive copied the images to the currently used theme folder but still nothing, is this only compatible with the default theme?
Quote from: Cyclon Boy on April 09, 2009, 12:50:15 PM
Hi every1, especially ディン1031
Its a nice mod :D
Today, i'd try a fresh install of SMF 2.0 RC1.
The first mod i install is ThankOMatic20Beta9Fix (2.0 RC1).zip
Installation is going succeed.
I'd enabled the Thank o matic.
When i go to my homepage and click any boards or topics, there is this error on white blank page:
Unknown column 'b.thank_you_post_enable' in 'field list'
When i try to modify board, the error is appear like this:
QuoteUnknown column 'b.thank_you_post_enable' in 'field list'
File: C:\wamp\www\smf_2-0-rc1_install3\Sources\Subs-Boards.php
Line: 1038
Please explain and give me a solution. Thanx.
The database changes are not done upload the install2.x.x.php and call it with the browser ;).
Quote from: amseven on April 11, 2009, 02:59:41 AM
I have a custom theme and this installs fine (all tests fine), I get the control panel, but nothing shows on the my threads to give users the option to thank anyone. Ive copied the images to the currently used theme folder but still nothing, is this only compatible with the default theme?
Yes you need to do some change on costum themes, you also need to enable it for boards and setup the permissions.
Bye
DIN1031
Quote from: ディン1031 on April 11, 2009, 04:36:30 AM
Quote from: Cyclon Boy on April 09, 2009, 12:50:15 PM
Hi every1, especially ディン1031
Its a nice mod :D
Today, i'd try a fresh install of SMF 2.0 RC1.
The first mod i install is ThankOMatic20Beta9Fix (2.0 RC1).zip
Installation is going succeed.
I'd enabled the Thank o matic.
When i go to my homepage and click any boards or topics, there is this error on white blank page:
Unknown column 'b.thank_you_post_enable' in 'field list'
When i try to modify board, the error is appear like this:
QuoteUnknown column 'b.thank_you_post_enable' in 'field list'
File: C:\wamp\www\smf_2-0-rc1_install3\Sources\Subs-Boards.php
Line: 1038
Please explain and give me a solution. Thanx.
The database changes are not done upload the install2.x.x.php and call it with the browser ;).
Quote from: amseven on April 11, 2009, 02:59:41 AM
I have a custom theme and this installs fine (all tests fine), I get the control panel, but nothing shows on the my threads to give users the option to thank anyone. Ive copied the images to the currently used theme folder but still nothing, is this only compatible with the default theme?
Yes you need to do some change on costum themes, you also need to enable it for boards and setup the permissions.
Bye
DIN1031
So, do i have to call it manually via browser? ok, ill check it.
I am getting alot of errors saying undefined:-
8: Undefined index: start
Apply Filter: Only show the errors from this file
File: /home/todoileg/public_html/Themes/default/ThankYouPost.template.php (main sub template - eval?)
Line: 140 and also on line 139 with same error
I checked for all the edits but everything is intact. The package manager also doesnt show any errors while uninstalling it.
What shall be the problem? I am using the beta version for SMF 2.0RC1
Probably a bug for the beta?
Also i get this database error while running maintance for The mod:-
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 ':id_msgs)
LIMIT 1' at line 3
File: /home/todoileg/public_html/Sources/ThankYouPost-Maintaince.php
Line: 819
Feature request: Make it so that the member stats on topic view refreshes with ajax when someone gives a thanks.
Removing your own thanks doesn't work for me. I can see the *, i can click on it and see the window with the question, but if i click OK i will get to a page that says that that isn't allowed.
SMF 2.0 RC1
MOD 2.0 B9
Quote from: F.L.A.M.E.R on April 12, 2009, 01:47:06 PM
I am getting alot of errors saying undefined:-
8: Undefined index: start
Apply Filter: Only show the errors from this file
File: /home/todoileg/public_html/Themes/default/ThankYouPost.template.php (main sub template - eval?)
Line: 140 and also on line 139 with same error
I checked for all the edits but everything is intact. The package manager also doesnt show any errors while uninstalling it.
What shall be the problem? I am using the beta version for SMF 2.0RC1
Probably a bug for the beta?
Also i get this database error while running maintance for The mod:-
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 ':id_msgs)
LIMIT 1' at line 3
File: /home/todoileg/public_html/Sources/ThankYouPost-Maintaince.php
Line: 819
Okay u will test see it =), i write it into my bug tracker.
Quote from: robinrobin on April 12, 2009, 03:23:27 PM
Feature request: Make it so that the member stats on topic view refreshes with ajax when someone gives a thanks.
Hmmm this is a lot work... i've at the moment no idea how to make it... but if there an easy and fast way i will do that...
Quote from: robinrobin on April 12, 2009, 05:19:12 PM
Removing your own thanks doesn't work for me. I can see the *, i can click on it and see the window with the question, but if i click OK i will get to a page that says that that isn't allowed.
SMF 2.0 RC1
MOD 2.0 B9
Depend on the error message you receive? (Could you write it here)
It's possible you are the only one in the list and if you delete this member the thank you will be delete but you're not allowed to delete a complete thank you. (That the only thing that come in my mind xD).
Or you permissions setup disallow it somewhere.
But i will look at it ;).
Bye
DIN1031
Here is the database output if that helps..
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 ':id_msgs)
LIMIT 1' at line 3
SELECT id_msg, id_member, thank_you_post_counter
FROM smf_messages
WHERE id_msg IN(array_int:id_msgs)
LIMIT 1
Thank You that help me, i think i can narrow down the error with it =).
I need help.
My forum doesn't show the thanks given after the posts. All the other things seems to work fine. Can you help me please?
I've uploaded and installed this mod with no problems. However there are no buttons visible on the posts for anyone to click to add their thanks.
Any help appreciated.
Please disregard; I've managed to figure it out. I hadn't realised that it needed setting in each forum as well as each member group.
hello din.
i really love this mod but
huh!! i read all replies here and i dont know how to run this thank mod.
i tried many time to figure it but i cant.
can you help me?
i create testforum
this is the link
http://smf.whitedesktop.com
this is a fresh newly installed board
i download your mod ThankOMatic125.zip and upload it,i set the permission to each group but i cant see any thank button already activated the mod.
can you make it for me and teach how to do this i will gave you the admin account of my test forum.
User: Admin
Password: i will send to via pm
hope you can do this for me..
thanks.
sorry for my english
edited:
i figure it out..
heheheh!! ah! you need to modify board on th admin panel and enable the thank-o-matic on every board
huh! i think this is the settings that i miss here! hehehe
sorry din thanks..
Hi :) Where can i download Version 2.0 Beta 8 for smf 2.0 beta 4?
I just want to fix split topics :P
I've searched everywhere but I can only find Beta 7 in ディン1031's Parser :(
FIXED
I fixed the split topics with the fixSplitError_2.x.x.php from 2.0 Beta 9 :)
But, I'm using Beta 4 and I wanted to update to Beta 8 (bugfixes). Where can I download it?
(I'm using SMF 2.0 Beta 4 - It's just a family forum, no need to spend hours upgrading it and all the 70 mods)
Quote from: KameL on April 24, 2009, 04:40:33 PM
I need help.
My forum doesn't show the thanks given after the posts. All the other things seems to work fine. Can you help me please?
Here is a screenshot of the problem:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg19.imageshack.us%2Fimg19%2F8920%2Fproblempvm.jpg&hash=a2c69ce19f2754d892107fd643e8911a9a4d4173)
Quote from: DeviDarkL on April 26, 2009, 03:46:14 PM
I fixed the split topics with the fixSplitError_2.x.x.php from 2.0 Beta 9 :)
But, I'm using Beta 4 and I wanted to update to Beta 8 (bugfixes). Where can I download it?
(I'm using SMF 2.0 Beta 4 - It's just a family forum, no need to spend hours upgrading it and all the 70 mods)
If i don't know it the change are madeable in beta4 because the mod change a lot for until beta 9 but if i've time will make a compare and look if it possible that it work in smf 2 beta 4.
Quote from: KameL on April 26, 2009, 09:17:28 PM
Quote from: KameL on April 24, 2009, 04:40:33 PM
I need help.
My forum doesn't show the thanks given after the posts. All the other things seems to work fine. Can you help me please?
Here is a screenshot of the problem:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg19.imageshack.us%2Fimg19%2F8920%2Fproblempvm.jpg&hash=a2c69ce19f2754d892107fd643e8911a9a4d4173)
Theme Changes done?
Permissions Setup?
Enabled on Boards?
Bye
DIN1031
I was searching for issues on my files, and I find this problem on the Sources/Display.php:
The mod parser says this:
Find:
ID_MSG_MODIFIED < $topicinfo[new_from] AS isRead
FROM {$db_prefix}messages
Add before:
".($board_info['thank_you_post_enable'] && allowedTo('thank_you_post_show') ? "thank_you_post, thank_you_post_counter," : "")."
And this is that section on my file:
// What? It's not like it *couldn't* be only guests in this topic...
if (!empty($posters))
loadMemberData($posters);
$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,
IFNULL(lr.ID_TOPIC, 0) as reporttopic, IFNULL(lr.solved, -1) as reportsolved
FROM {$db_prefix}messages as m
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__);
What can I do for solve it? Can that makes the list of thanks is not showed?
I don't find any problems on my files after that.
Quote from: ディン1031 on April 27, 2009, 01:30:14 AM
If i don't know it the change are madeable in beta4 because the mod change a lot for until beta 9 but if i've time will make a compare and look if it possible that it work in smf 2 beta 4.
I don't want to get you trouble worring about me :) I was just asking if you have
Beta 8 somewhere in you computer and if so, if you could attached it for me :)
I would do the update from Beta 4 to Beta 8 by myself :) I really need a better DB stability because I can't delete posts with "thank-o-matic" activated.
Appears an error saying: "Wrong value type sent to the database. Integer expected. "
Maybe you have fixed this bug/issue in later releases. [till Beta 8] ;D
Therefore, can you attached the Beta 8 version if you have it somewhere in your PC? ;D
Thanks in advance :P
Quote from: DeviDarkL on April 27, 2009, 04:02:41 PM
Quote from: ディン1031 on April 27, 2009, 01:30:14 AM
If i don't know it the change are madeable in beta4 because the mod change a lot for until beta 9 but if i've time will make a compare and look if it possible that it work in smf 2 beta 4.
I don't want to get you trouble worring about me :) I was just asking if you have Beta 8 somewhere in you computer and if so, if you could attached it for me :)
I would do the update from Beta 4 to Beta 8 by myself :) I really need a better DB stability because I can't delete posts with "thank-o-matic" activated.
Appears an error saying: "Wrong value type sent to the database. Integer expected. "
Maybe you have fixed this bug/issue in later releases. [till Beta 8] ;D
Therefore, can you attached the Beta 8 version if you have it somewhere in your PC? ;D
Thanks in advance :P
Yes i've the old version and this bug should be fixed *g*, i will sent you an link later... if i not forget it XD (sent me a pm if i forgot it).
@Kamel:
The alternativ replace would be:
m.ID_MSG_MODIFIED < $topicinfo[new_from] AS isRead,
Add before that mention line ;).
It works!!! I'm very happy now... TY
EDIT: There's a way to make the members can only give thanks to the first post of a topic? I mean deleting the "Thanks" links on the other posts.
ディン1031, sent you a PM ;)
Quote from: KameL on April 28, 2009, 04:35:11 PM
It works!!! I'm very happy now... TY
EDIT: There's a way to make the members can only give thanks to the first post of a topic? I mean deleting the "Thanks" links on the other posts.
Uh i never ported it back from the 2.0 beta version to the 1.2.5. It's possible to prevent that the button appear but the user can give a thank you if he know how ;).
I try to install it and I get this error:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi43.tinypic.com%2Fdmxoi8.png&hash=c8a72a2c5182dc2c653a49995f5e209f274af7f2)
(it is the only one that I get though)
As you can see I am not using the default theme. Idk if that was the prob or not.
I have checked this out with the package parser and it did not even show any modifications that took place within the file with the error in it.
Is there any way that I can still install this mod? My members really would like to have it. Any help is appreciated.
I used Version 1.2.5 but I don't care which version as long as it works right.
Thanks,
duder
Hi!
I'll try to use thi great mod, but it never works! :-/....
The install wokrs, but when i get redirected to the control panel, i only can see...NOTHING!
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg78.imageshack.us%2Fimg78%2F5066%2Fpicture2r.png&hash=e2864634ade93fffd73eb51c91a1eb2da72ecb87)
My SMF is 1.1.8 Spanish.
I use the 1.2.5 version of the mod, but in english, because the spanish version don't work...
Thanks!
@Blackmac
Switch to the english language that you should see everything, or you insert the english language string into the Spanish translation, or you install the Load Standard Language Mod. ;).
Quote from: duder673 on May 01, 2009, 05:42:25 AM
I try to install it and I get this error:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi43.tinypic.com%2Fdmxoi8.png&hash=c8a72a2c5182dc2c653a49995f5e209f274af7f2)
(it is the only one that I get though)
As you can see I am not using the default theme. Idk if that was the prob or not.
I have checked this out with the package parser and it did not even show any modifications that took place within the file with the error in it.
Is there any way that I can still install this mod? My members really would like to have it. Any help is appreciated.
I used Version 1.2.5 but I don't care which version as long as it works right.
Thanks,
duder
This should be no problem if this the only error =).
why does this happens to me?
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg7.imageshack.us%2Fimg7%2F4749%2F121coo.jpg&hash=0fcf03098bbb1f4114f5bbf8805646b34c0448c9)
It allways skips files on install so most of mods translations wont appear on admin pannel
Hello, you need to Translation the Spanish, attached, or if I have someone that I link.
Quote from: ディン1031 on April 29, 2009, 04:51:30 AM
Quote from: KameL on April 28, 2009, 04:35:11 PM
It works!!! I'm very happy now... TY
EDIT: There's a way to make the members can only give thanks to the first post of a topic? I mean deleting the "Thanks" links on the other posts.
Uh i never ported it back from the 2.0 beta version to the 1.2.5. It's possible to prevent that the button appear but the user can give a thank you if he know how ;).
That's no problem. I want to delete the "thank you" link from the second to the last post on a topic. Here's an example that I want to do:
Topic ->
First Post (Users can "thank you") ->
Second Post (Users can't "thank you") ->
Third Post (Users can't "thank you") ->
etc...
There's a way to do that? How?
Quote from: tbk22 on May 05, 2009, 11:21:57 AM
why does this happens to me?
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg7.imageshack.us%2Fimg7%2F4749%2F121coo.jpg&hash=0fcf03098bbb1f4114f5bbf8805646b34c0448c9)
It allways skips files on install so most of mods translations wont appear on admin pannel
I don't know why it happen because i did not made this translation ;).
Quote from: user111 on May 05, 2009, 02:23:26 PM
Hello, you need to Translation the Spanish, attached, or if I have someone that I link.
The problem is i've only a outdated spanish versions :x.
Quote from: KameL on May 05, 2009, 05:05:45 PM
Quote from: ディン1031 on April 29, 2009, 04:51:30 AM
Quote from: KameL on April 28, 2009, 04:35:11 PM
It works!!! I'm very happy now... TY
EDIT: There's a way to make the members can only give thanks to the first post of a topic? I mean deleting the "Thanks" links on the other posts.
Uh i never ported it back from the 2.0 beta version to the 1.2.5. It's possible to prevent that the button appear but the user can give a thank you if he know how ;).
That's no problem. I want to delete the "thank you" link from the second to the last post on a topic. Here's an example that I want to do:
Topic ->
First Post (Users can "thank you") ->
Second Post (Users can't "thank you") ->
Third Post (Users can't "thank you") ->
etc...
There's a way to do that? How?
I understand what you said ;) i only say it's easy to bypass if you know how ;).
Okay here the small tweak:
$themedir/Diplay.template.php
Search for :
// Can do some Thank You Post things :)
if ($message['thank_you_post']['post'] && !$message['thank_you_post']['locked'])
Replace with:
// Can do some Thank You Post things :), only the first post show the button
if ($context['topic_first_message'] == $message['id'] && $message['thank_you_post']['post'] && !$message['thank_you_post']['locked'])
Bye
DIN1031
Hello Friend,
I am using this mod and i love this mod..
but last night i have installed advance reputation system mod and after installing that i dnt know why thank-o-matic not working properly.
1. When i am click on "Add thank you" button it takes me to index page.
2. It is not showing list of users gave thank you to post.
Please help me.
I am in very big trouble.
Pls.pls.pls.pls...
Thnaks in Advance.
Ankur
Quote from: phpaddicted on May 06, 2009, 08:58:36 AM
Hello Friend,
I am using this mod and i love this mod..
but last night i have installed advance reputation system mod and after installing that i dnt know why thank-o-matic not working properly.
1. When i am click on "Add thank you" button it takes me to index page.
2. It is not showing list of users gave thank you to post.
Please help me.
I am in very big trouble.
Pls.pls.pls.pls...
Thnaks in Advance.
Ankur
Are you sure you mean this modification? Because this modification does not have a add thank you function...
Hello,
cant find
'permission_mode' => 'normal',
in
./Sources/ManageBoards.php
i looked but there is nothing like that in that file?
Regards,
ディン1031 I discovered what was wrong... and it seems portuguese translation was bugged
Well I Fixed the problems I had and translated it a bit better
Here is the Fix I hope u can update the one in 1st post
Quote from: definitive on May 07, 2009, 04:38:57 PM
Hello,
cant find
'permission_mode' => 'normal',
in
./Sources/ManageBoards.php
i looked but there is nothing like that in that file?
Regards,
Which Thank-O-Matic Version did you install?
Quote from: tbk22 on May 07, 2009, 04:53:18 PM
ディン1031 I discovered what was wrong... and it seems portuguese translation was bugged
Well I Fixed the problems I had and translated it a bit better
Here is the Fix I hope u can update the one in 1st post
Will be done asap =).
Thanks.
Bye
DIN1031
Quote from: ディン1031 on May 08, 2009, 12:07:47 AM
Quote from: definitive on May 07, 2009, 04:38:57 PM
Hello,
cant find
'permission_mode' => 'normal',
in
./Sources/ManageBoards.php
i looked but there is nothing like that in that file?
Regards,
Which Thank-O-Matic Version did you install?
Latest version 1.2.5
i am using smf 1.1.8
Quote from: definitive on May 08, 2009, 07:47:04 AM
Quote from: ディン1031 on May 08, 2009, 12:07:47 AM
Quote from: definitive on May 07, 2009, 04:38:57 PM
Hello,
cant find
'permission_mode' => 'normal',
in
./Sources/ManageBoards.php
i looked but there is nothing like that in that file?
Regards,
Which Thank-O-Matic Version did you install?
Latest version 1.2.5
i am using smf 1.1.8
It's in there ;).
'permission_mode' => 'normal',
It's inside the function EditBoard. Around Line 428 ;).
Bye
DIN1031
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi40.tinypic.com%2Fqz3n6t.jpg&hash=f50e7d779a27fb89f2654ef114e01f3995aaf909)
http://i40.tinypic.com/qz3n6t.jpg
i have this problem with Thank-o-Matic mod for smf 2.0 RC1
after a user press the button this error appear
if u cant see this is the error:
Fatal error: Call to undefined function template_thank_you_post() in /home/virtual/sitio227340/www/Sources/Load.php(1976) : eval()'d code on line 562
thanks bro (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fsmileys%2Fsimple%2Fsmiley.gif&hash=acc55d16e24a057c6c5cd41cef144c3d2d539430)
i have alot of this error on my log can someone tell me why
8: Undefined index: signature_enabled
Apply Filter: Only show the errors from this file
File: /home/.../public_html/Themes/default/ThankYouPost.template.php (main sub template - eval?)
Line: 372
Hmmm normal i've a backup function in it if this function not exists oO.
Okay insert in you index.template.php follow thing:
// A Output for the Thank You list, it's used for the Single Preview and Display Template :)
function template_thank_you_post($thankYouPost, $id_msg)
{
global $txt, $context;
if (!empty($context['thank_you_post'][$id_msg]))
{
echo '
<p>', $txt['followgiveathank'] , '</p><p>';
foreach ($context['thank_you_post'][$id_msg]['fulllist'] as $thx)
echo $thx['link'] , (!empty($thx['deletelink']) ? $thx['deletelink'] : '').($thx['last'] ? '' : ', ');
echo '
</p>';
}
// Counter and Link to the direkt or complete list :)
echo '
<a href="', $thankYouPost['href'] ,'">
', $txt['thank_you_link_beforecounter'], ' ', $thankYouPost['counter'], ' ', ($thankYouPost['counter'] == 1 ? $txt['thank_you_link_member'] : $txt['thank_you_link_members']).' '.($thankYouPost['counter'] == 1 ? $txt['thank_you_link_aftercounter'] : $txt['thank_you_link_aftercounters']), '
</a>';
if ($thankYouPost['locked'])
echo '<br />
<i>', $txt['thank_you_is_locked'], '</i>';
}
Somewhere before "?>" ;).
Quote from: sombra on May 11, 2009, 09:59:36 AM
i have alot of this error on my log can someone tell me why
8: Undefined index: signature_enabled
Apply Filter: Only show the errors from this file
File: /home/.../public_html/Themes/default/ThankYouPost.template.php (main sub template - eval?)
Line: 372
Oh i thought i solved this problem oO.
Which Thank-O-Matic Version?
Bye
DIN1031
smf 2.0 rc1
Thank-O-Matic 2.0 Beta 9
Quote from: sombra on May 11, 2009, 12:03:05 PM
smf 2.0 rc1
Thank-O-Matic 2.0 Beta 9
I thought i posted the bug fix for it :X
Search in ThankYouPost.php for
// Build the link tree.
$context['linktree'][] = array(
'url' => $scripturl . '?topic=' . $topic . '.0',
'name' => $topicinfo['subject'],
'extra_before' => $settings['linktree_inline'] ? $txt['topic'] . ': ' : ''
);
Replace with
// Are we showing signatures - or disabled fields?
$context['signature_enabled'] = substr($modSettings['signature_settings'], 0, 1) == 1;
$context['disabled_fields'] = isset($modSettings['disabled_profile_fields']) ? array_flip(explode(',', $modSettings['disabled_profile_fields'])) : array();
// Censor the title...
censorText($topicinfo['subject']);
// Build the link tree.
$context['linktree'][] = array(
'url' => $scripturl . '?topic=' . $topic . '.0',
'name' => $topicinfo['subject'],
'extra_before' => $settings['linktree_inline'] ? $txt['topic'] . ': ' : ''
);
Bye
DIN1031
thanks did the change :D
installed okay, but no thank you buttons, i am using default theme.
what might be a problem?
i managed to get this installed and working including buttons which where there all along.
i want to install the karma addon but i have an error.
is there an instruction to do a manual install of the karma add on?
Quote from: ellion on May 12, 2009, 03:06:58 PM
i managed to get this installed and working including buttons which where there all along.
i want to install the karma addon but i have an error.
is there an instruction to do a manual install of the karma add on?
http://jmusic.ddo.jp/DIN1031/modparser/index.php?action=installMod&smfVersion=1.1.6&name=ThankOMaticAddOnKarma100
Quote from: 4kstore on March 09, 2009, 07:24:43 AM
Hi, i need help, when I finish installing (without they appear errors), when I am going to enter post appears to me this
Unknown column 'thx.member_name' in 'field list'
File: C:\AppServ\www\test\backup\Sources\ThankYouPost.php
Line: 680
I have version 1.1.7 with mod installed and when doing update to 2.0 version rc1 erase mod but they were the tables, somebody knows as I must do?
Greetings!
I'm experiencing the exact same problem.
I was using SMF 1.1.8, with Thank-o-Matic installed, then I upgrade (large upgrade) to 2.0 RC1, and got this problem when tried to install this MOD.
Before this, I tried to install the mod in a fresh SMF 2.0 RC1, which worked very fine.
After, I ran install-2.x.x.php manually, received the "DB Changes should be made now..." message, but still didn't worked, as I'm receiving the exact same message.
--
Some solutions wrote here:
a) Run SQL code from install_2.x.x.php - I don't know what is it, can someone help me? I do have a understanding on running SQL codes on PHPMyAdmin, I just don't know what code is that.
b) Run install_2.x.x.php.oldway (renamed to install-temp.php and hit it) - Didn't worked.
I believe there's some problem with upgrading
SMF 1.1.8 with Thank-O-Matic to
SMF 2.0 RC1
Normal i try to fix the... wait... is it possible i forgot to integrate the db upgrader... *looking*
Okay you're right i will write asap an Upgrader... i total forgot this.
(In the Version before i used to force the upgrade, but than the SSI install would not work anymore...)
Okay i attach a upgrade file, but currently it's untested so use on own risk.
Hi DIN,
I have again a little problem.
The modification was installed automatically but it isn't possible to save the permission Thank-O-Matic in forum.
This option can't be saved and I don't know why.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.maxipicture.cz%2Fthumb.php%3Fpicture%3D.%2Fuploaded_files%2F39%2F1242802032-thx.jpg&hash=3efbe568afc89a92b23603b5b6cd5a0be20a2426) (http://www.maxipicture.cz/ukaz/uploaded_files/39/1242802032-thx.jpg)
Where would be a mistake please?
Thanks
Hi DIN,
I have allready repaired it.
It is OK now.
This row
$boardOptions['thank_you_post_enable'] = isset($_POST['thank_you_post_enable']);
couldn´t be automaticly installed.
It must be made by hand.
Thanks
Quote from: ディン1031 on May 20, 2009, 12:43:33 AM
Okay i attach a upgrade file, but currently it's untested so use on own risk.
Oh boy... Should I stay or should I go?
I'll give a shot tonight and post here the results :)
Ok, I tried to upgrade database using the file you provided, but it didn't worked.
Parse error: syntax error, unexpected '{' in /public_html/Upgrade118to200.php on line 98
Quote from: softcore on May 20, 2009, 11:39:03 PM
Ok, I tried to upgrade database using the file you provided, but it didn't worked.
Parse error: syntax error, unexpected '{' in /public_html/Upgrade118to200.php on line 98
I do a lot stuff at the moment XD, so i had not time to test it :P.
Okay i will look at this, and i think i can test it now xD.
I hate to say this... but i can not upload files at the moment...http://www.din1031.de/downloads/UpgradeTOMSMF118toSMF2.zip unpack it and upload it and call it :D.
Quote from: MaxiPes on May 20, 2009, 03:38:24 PM
Hi DIN,
I have allready repaired it.
It is OK now.
This row
$boardOptions['thank_you_post_enable'] = isset($_POST['thank_you_post_enable']);
couldn´t be automaticly installed.
It must be made by hand.
Thanks
Oh did i forget to add this oO.
Worked great.
QuoteUpgrade Thank-O-Matic DB to SMF 2.0RC1 Version.
Create backup table backup_thank_you_post.
Update column Name ID_THX_POST to id_thx_post.
Update column Name ID_MSG to id_msg.
Update column Name ID_TOPIC to id_topic.
Update column Name ID_BOARD to id_board.
Update column Name ID_MEMBER to id_member.
Update column Name memberName to member_name.
BUT (there always a but), I upgraded to SMF 2.0 RC1-1 and.. Well, the rest you know.
Hello,
To add the Mod Thank-O-Matic125.zip, I had to Manual Install the .../Source/Load.php AND I don't think you know that the fifth (5th) and sixth (6th) Find: cannot be seen. :o
Because of this, I am not sure what is wrong. :-\
When I select ADMIN -> Features and Options and a blank screen with this error appears:
Parse error: syntax error, unexpected T_DOUBLE_ARROW in /home/thegr45/public_html/forum/Sources/ModSettings.php on line 226
So, I cannot get to Feature and Options until this is fixed :'(
I am using SMF ver 1.1.8, Core-Default Theme, with these Mods (these are listed in the attachment that also contains my .../Sources/ModSettings.php
Thank you in advance for your assistance with this GREAT mod!! ;D
Be Well,
Cloud Walker
ADDED -> Okay I think that SMF Community Support MIGHT BE BROKEN :'( It won't let me attach my .../Sources/ModSettings.php and list of mods both on one (1) .rtf that is 40.4 KB.
I wonder if I should just post my .../Sources/ModSettings.php here on the topic?
Cloud
Quote from: softcore on May 21, 2009, 12:41:29 PM
Worked great.
QuoteUpgrade Thank-O-Matic DB to SMF 2.0RC1 Version.
Create backup table backup_thank_you_post.
Update column Name ID_THX_POST to id_thx_post.
Update column Name ID_MSG to id_msg.
Update column Name ID_TOPIC to id_topic.
Update column Name ID_BOARD to id_board.
Update column Name ID_MEMBER to id_member.
Update column Name memberName to member_name.
BUT (there always a but), I upgraded to SMF 2.0 RC1-1 and.. Well, the rest you know.
Normal if you upgrade the mod should normal work on ;). (Only if you install it new than it will not work...)
Quote from: Cloud Walker on May 21, 2009, 12:55:21 PM
Hello,
To add the Mod Thank-O-Matic125.zip, I had to Manual Install the .../Source/Load.php AND I don't think you know that the fifth (5th) and sixth (6th) Find: cannot be seen. :o
Because of this, I am not sure what is wrong. :-\
When I select ADMIN -> Features and Options and a blank screen with this error appears:
Parse error: syntax error, unexpected T_DOUBLE_ARROW in /home/thegr45/public_html/forum/Sources/ModSettings.php on line 226
So, I cannot get to Feature and Options until this is fixed :'(
I am using SMF ver 1.1.8, Core-Default Theme, with these Mods (these are listed in the attachment that also contains my .../Sources/ModSettings.php
Thank you in advance for your assistance with this GREAT mod!! ;D
Be Well,
Cloud Walker
ADDED -> Okay I think that SMF Community Support MIGHT BE BROKEN :'( It won't let me attach my .../Sources/ModSettings.php and list of mods both on one (1) .rtf that is 40.4 KB.
I wonder if I should just post my .../Sources/ModSettings.php here on the topic?
Cloud
Sorry... i don't understand what is now you problem?
Quote from: ディン1031 on May 21, 2009, 06:15:33 PM
Quote from: softcore on May 21, 2009, 12:41:29 PM
Worked great.
QuoteUpgrade Thank-O-Matic DB to SMF 2.0RC1 Version.
Create backup table backup_thank_you_post.
Update column Name ID_THX_POST to id_thx_post.
Update column Name ID_MSG to id_msg.
Update column Name ID_TOPIC to id_topic.
Update column Name ID_BOARD to id_board.
Update column Name ID_MEMBER to id_member.
Update column Name memberName to member_name.
BUT (there always a but), I upgraded to SMF 2.0 RC1-1 and.. Well, the rest you know.
Normal if you upgrade the mod should normal work on ;). (Only if you install it new than it will not work...)
Ok, I used emulate version to 2.0 RC1 and worked very fine!
Thanks-a-lot! (get it? :D)
Quote from: softcore on May 21, 2009, 07:02:55 PM
Quote from: ディン1031 on May 21, 2009, 06:15:33 PM
Quote from: softcore on May 21, 2009, 12:41:29 PM
Worked great.
QuoteUpgrade Thank-O-Matic DB to SMF 2.0RC1 Version.
Create backup table backup_thank_you_post.
Update column Name ID_THX_POST to id_thx_post.
Update column Name ID_MSG to id_msg.
Update column Name ID_TOPIC to id_topic.
Update column Name ID_BOARD to id_board.
Update column Name ID_MEMBER to id_member.
Update column Name memberName to member_name.
BUT (there always a but), I upgraded to SMF 2.0 RC1-1 and.. Well, the rest you know.
Normal if you upgrade the mod should normal work on ;). (Only if you install it new than it will not work...)
Ok, I used emulate version to 2.0 RC1 and worked very fine!
Thanks-a-lot! (get it? :D)
*SMILE*
Yes i know that it work (tested it already), but i will bring out a new beta for it (but first prio is my exam).
Quote from: Cloud Walker on May 21, 2009, 12:55:21 PM
Hello,
To add the Mod Thank-O-Matic125.zip, I had to Manual Install the .../Source/Load.php AND I don't think you know that the fifth (5th) and sixth (6th) Find: cannot be seen. :o
Because of this, I am not sure what is wrong. :-\
When I select ADMIN -> Features and Options and a blank screen with this error appears:
Parse error: syntax error, unexpected T_DOUBLE_ARROW in /home/thegr45/public_html/forum/Sources/ModSettings.php on line 226
So, I cannot get to Feature and Options until this is fixed :'(
I am using SMF ver 1.1.8, Core-Default Theme, with these Mods (these are listed in the attachment that also contains my .../Sources/ModSettings.php
Thank you in advance for your assistance with this GREAT mod!! ;D
Be Well,
Cloud Walker
ADDED -> Okay I think that SMF Community Support MIGHT BE BROKEN :'( It won't let me attach my .../Sources/ModSettings.php and list of mods both on one (1) .rtf that is 40.4 KB.
I wonder if I should just post my .../Sources/ModSettings.php here on the topic?
Cloud
Sorry... i don't understand what is now you problem?
[/quote]
Hello,
To add the Mod Thank-O-Matic125.zip, I had to Manual Install the .../Source/Load.php
AND I don't think you know that when ver 1.1.8 is Parsed - the fifth (5th) and sixth (6th) Find: cannot be seen.
So I made the Parse changes 1, 2 3, and 4, to my Load.php
NOW when I click on
ADMIN and then
Features and Options and a blank screen appears.
It says Parse error: syntax error, unexpected T_DOUBLE_ARROW in Sources/ModSettings.php on line 226
I am using SMF ver 1.1.8, Core-Default Theme.
I have now attached my Load.php
and my Modsettings.php
Both are in rtf format b/c I don't know how to get them to you as php
Cloud Walker
Upload it as php? ;)
But i can live with it *g*... okay i can not... could you please upload it as php file? (or txt if you like :P) but not as rtf... never thought it look so ugly XD.
Quote from: ディン1031 on May 22, 2009, 03:19:09 AM
Upload it as php? ;)
But i can live with it *g*... okay i can not... could you please upload it as php file? (or txt if you like :P) but not as rtf... never thought it look so ugly XD.
I appreciate you sense of humor. :) I was gunna use .txt, but that would remove all the "formatting" so I didn't think you wanted that. :-[
I will attach the Modsettings.txt (called Modsettings with Parse Error) and as the parse error was with the Load.php, I will also attach the Load.txt , and will see if I can figure out how to download the .phps. :-\
If I am able to download the .phps, I will delete this post and add a new one with the .phps attached. :D
Thank you for your support. O:) YAY!!
Be Well,
Cloud Walker
Added on:
I used Google to search "How to download a php file"
Results 1 - 50 of about 43,400,000
Read about 6 of these links and still don't know how to download it as a .php.
If you MUST have the php then at this point I am beginning not to care and will post my username and password for my database and account on my Host Server. >:(
Okay if i look at it... i see you installed some modifications twice..
ModSettings.php
Line 226 Remove it... it's not my mod :P. (This complete part)
// --- Begin modification - UserCP ---
'usercp' => 'ModifyUserCPSettings',
// --- End modification ---
After try it again with the settings :D
I modified this post with SCREEN SHOTS.Quote from: ディン1031 on May 22, 2009, 01:22:56 PM
Okay if i look at it... i see you installed some modifications twice..
ModSettings.php
Line 226 Remove it... it's not my mod :P. (This complete part)
// --- Begin modification - UserCP ---
'usercp' => 'ModifyUserCPSettings',
// --- End modification ---
After try it again with the settings :D
YOU ARE A GOD ;D
So I can see the Given and Taken on the member's profiles (all at zero for now because feature is not known of by members).
I have got the permissions set for all the Membergroups.
I have about 10 boards set to allow the use of Thank-You.
Above posts on those boards, I see the LOCK ALL THANK YOU.
I see on the post itself Thank You.
I clicked on it because it was my Assist. Admin. thanking me for fixing the Smileys.
It now has a red star before Lock Thank You and a red star before Delete Thank You.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi185.photobucket.com%2Falbums%2Fx21%2F1greywolf%2FPostIThanked.jpg&hash=79e4652a9c1acc481c02eff42c8c5567cea1a863)
and here's a Screen Shot of the profile of the one I thanked
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi185.photobucket.com%2Falbums%2Fx21%2F1greywolf%2FOnethatIthanked.jpg&hash=0b41094c886bdcf65bcfe5e9f540aeaca2b76e94)
YAY!!!!!
However, in ADMIN -> Features and Options, there is no tab that says THANK YOU POST
Is this good enough?? Should I do something else?(maybe UN-Install and re-install?)
Thanks,
Cloud Walker
Hmmm?
If you add this -> ?action=featuresettings;sa=thankyoupost to you url does it work?
Bye
DIN1031
Hi guys,
I have a problem with this mod. The button to thank an user doesn't appear!
All seems installed in a correct way:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg268.imageshack.us%2Fimg268%2F7325%2Ffeaturesandoptions12437.png&hash=27909ab3bd5470c860166dadd4f26df0232f26cb) (http://img268.imageshack.us/my.php?image=featuresandoptions12437.png)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg7.imageshack.us%2Fimg7%2F4965%2Fringraziamentideipostsf.png&hash=42ac16564386d298fc044d94b4ba0907c8c827e9) (http://img7.imageshack.us/my.php?image=ringraziamentideipostsf.png)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg188.imageshack.us%2Fimg188%2F7992%2Frolandgarrosquartoturno.png&hash=fae03c54d8a5cf1a7a28b2f3d45e25c0012b7a70) (http://img188.imageshack.us/my.php?image=rolandgarrosquartoturno.png)
but... where is the button?! :'( :'( :'(
@Roman10: Did you set permissions for the user's membergroups and enable the thank o matic in the board??
Quote from: NIBOGO on May 31, 2009, 10:22:08 AM
@Roman10: Did you set permissions for the user's membergroups and enable the thank o matic in the board??
Where can I set this?
Admin --> Members --> Permissions (edit each membergroup and set the thanks o matic permissions)
Admin --> Forum --> Boards (Edit each board and set the thanks o matic option)
Quote from: Roman10 on May 31, 2009, 11:29:50 AM
Quote from: NIBOGO on May 31, 2009, 10:22:08 AM
@Roman10: Did you set permissions for the user's membergroups and enable the thank o matic in the board??
Where can I set this?
Quote from: NIBOGO on May 31, 2009, 12:59:47 PM
Admin --> Members --> Permissions (edit each membergroup and set the thanks o matic permissions)
Admin --> Forum --> Boards (Edit each board and set the thanks o matic option)
Quote from: Roman10 on May 31, 2009, 11:29:50 AM
Quote from: NIBOGO on May 31, 2009, 10:22:08 AM
@Roman10: Did you set permissions for the user's membergroups and enable the thank o matic in the board??
Where can I set this?
Thanks really a lot!
:D
Quote from: ディン1031 on May 06, 2009, 12:47:14 AM
Quote from: KameL on May 05, 2009, 05:05:45 PM
Quote from: ディン1031 on April 29, 2009, 04:51:30 AM
Quote from: KameL on April 28, 2009, 04:35:11 PM
It works!!! I'm very happy now... TY
EDIT: There's a way to make the members can only give thanks to the first post of a topic? I mean deleting the "Thanks" links on the other posts.
Uh i never ported it back from the 2.0 beta version to the 1.2.5. It's possible to prevent that the button appear but the user can give a thank you if he know how ;).
That's no problem. I want to delete the "thank you" link from the second to the last post on a topic. Here's an example that I want to do:
Topic ->
First Post (Users can "thank you") ->
Second Post (Users can't "thank you") ->
Third Post (Users can't "thank you") ->
etc...
There's a way to do that? How?
I understand what you said ;) i only say it's easy to bypass if you know how ;).
Okay here the small tweak:
$themedir/Diplay.template.php
Search for :
// Can do some Thank You Post things :)
if ($message['thank_you_post']['post'] && !$message['thank_you_post']['locked'])
Replace with:
// Can do some Thank You Post things :), only the first post show the button
if ($context['topic_first_message'] == $message['id'] && $message['thank_you_post']['post'] && !$message['thank_you_post']['locked'])
Bye
DIN1031
It works perfectly! Thank You!
Quote from: silber112 on March 16, 2009, 03:23:50 PM
Quote from: ディン1031 on March 16, 2009, 02:35:36 PM
Quote from: silber112 on March 16, 2009, 11:25:15 AM
Quote from: ディン1031 on March 16, 2009, 01:16:24 AM
Quote from: silber112 on March 15, 2009, 06:40:35 PM
Quote from: silber112 on March 13, 2009, 10:43:26 AM
Is there any way to put in the stats the 10 post who have the most thanks resived?
No body knows how to do it?
Did you read my answer <<...
http://www.simplemachines.org/community/index.php?topic=176565.msg1976342#msg1976342
Bye
DIN1031
This is not that what i am searching. The addon shows the users who haves the most karma gived/recibe... I what to display in the stats page the 10 posts with the most thanks recibed... I use 1.1.8
Hmmm i think -> ThankOMaticSSITopThanksPostsXXX.zip <- this do that what you mean.
If I've time i will make it workable on the stat page ;).
Bye
DIN1031
:D I will wait for it, it will be very important for my site...
I need this. If somebody could do it for me i will pay him a little amount....
THanks :)
is there any way i can add an extra botton of thank you here
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg197.imageshack.us%2Fimg197%2F5392%2Fgraciasd.jpg&hash=59967854cf5a56d3e516a738a9e6e6d290d1e890)
how can it be done?
#1054 - Unknown column 'thank_you_post_enable' in 'field list'
Quote from: sombra on June 04, 2009, 07:19:38 PM
is there any way i can add an extra botton of thank you here
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg197.imageshack.us%2Fimg197%2F5392%2Fgraciasd.jpg&hash=59967854cf5a56d3e516a738a9e6e6d290d1e890)
how can it be done?
You need to insert the same button information on the other positions...
// Can do some Thank You Post things :)
if ($message['thank_you_post']['post'] && !$message['thank_you_post']['locked'])
echo '
<a href="', $scripturl, '?action=thankyou;topic=', $context['current_topic'], '.0;msg=', $message['id'], '">', $thankyoupostpost_button, '</a>';
Quote from: greSS on June 06, 2009, 02:07:57 PM
#1054 - Unknown column 'thank_you_post_enable' in 'field list'
Upload the installXXXX.php and call it with the browser.
Bye
DIN1031
I installed the Mod but get the following error when I try to click Thank You
QuoteIllegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8_unicode_ci,IMPLICIT) for operation 'ifnull'
File: /home/XXXXXXX/public_html/XXXXXforum/Sources/ThankYouPost.php
Line: 680
Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 2.0 RC1-1, while your database is at version 2.0 RC1. The above error might possibly go away if you execute the latest version of upgrade.php.
Any ideas please?
I tried the updatedatabase.php file but just kept getting 500 Error so that was no good.
DIN1031 i think it is time to make this ajax
this mod now is stable and need more feature
what you think?
Quote
You need to insert the same button information on the other positions...
// Can do some Thank You Post things :)
if ($message['thank_you_post']['post'] && !$message['thank_you_post']['locked'])
echo '
<a href="', $scripturl, '?action=thankyou;topic=', $context['current_topic'], '.0;msg=', $message['id'], '">', $thankyoupostpost_button, '</a>';
thanks for the reply i already finded were i need to put the code but theres som things i need to know before
i have my onw image of the thanks boton
darkbreak_20rc1/images/gracias.png
and i dont know alot of editing so can some one tell me were exact i need to put the code and how so my edit image shows
// 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...
i know its around there i need to put this code
// Can do some Thank You Post things :)
if ($message['thank_you_post']['post'] && !$message['thank_you_post']['locked'])
echo '
<a href="', $scripturl, '?action=thankyou;topic=', $context['current_topic'], '.0;msg=', $message['id'], '">', $thankyoupostpost_button, '</a>';
thanks
Quote from: philcross on June 07, 2009, 10:58:23 AM
I installed the Mod but get the following error when I try to click Thank You
QuoteIllegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8_unicode_ci,IMPLICIT) for operation 'ifnull'
File: /home/XXXXXXX/public_html/XXXXXforum/Sources/ThankYouPost.php
Line: 680
Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 2.0 RC1-1, while your database is at version 2.0 RC1. The above error might possibly go away if you execute the latest version of upgrade.php.
Any ideas please?
I tried the updatedatabase.php file but just kept getting 500 Error so that was no good.
This happen when you database connection work in a diffrent collation than the table. To fix it you need to look into the
{db_prefix}thank_you_post and set the collation of all Field and the Table itself to the same collation as the overall database.
Quote from: .HuNTeR. on June 07, 2009, 12:30:05 PM
DIN1031 i think it is time to make this ajax
this mod now is stable and need more feature
what you think?
First i currently work on a change in the Settings and some cache things and this will be the last beta for smf2. Every Beta have a feature change in it ;P. And Ajax is already in it. If SMF RC2 is released than i will release the first RC and if every thing work fine, the final version ;).
@sombra
The button is built by
$thankyoupostpost_button = create_button('thank_you_b.gif', 'thank_you_post_post_b', 'thank_you_post_post_b', 'align="middle"');
I don't know how the button look like but you can also use a <img> tag instead of the create button function ;).
Bye
DIN1031
m sorry but i got lost :(
Quote from: sombra on June 08, 2009, 11:11:10 AM
m sorry but i got lost :(
Oh i forgot to quote you :X...
The button is built by:
$thankyoupostpost_button = create_button('thank_you_b.gif', 'thank_you_post_post_b', 'thank_you_post_post_b', 'align="middle"');
I don't know how the button look like but you can also use a <img> tag instead of the create button function ;).
You could use:
$thankyoupostpost_button = '<img src="', $settings['images_url'], '/gracias.png" alt="" />';
Normal it should replace all buttons with this image ;).
Bye
DIN1031
like this in the atachment? just that sory i dont really got no clu what im doing hehe
line 565
I searched this topic, but couldn't find it.
Is there a addon like ThankOMaticSSITopThanksPosts100.zip (http://index.php?action=dlattach;topic=176565.0;attach=53817) to SMF 2.0 RC1-1?
Any plans to update this addon?
Any update for RC1.1 ?
Quote from: V@POR on June 09, 2009, 12:14:05 AM
Any update for RC1.1 ?
It's working for me. Try to emulate.
Quote from: softcore on June 08, 2009, 09:19:17 PM
I searched this topic, but couldn't find it.
Is there a addon like ThankOMaticSSITopThanksPosts100.zip (http://index.php?action=dlattach;topic=176565.0;attach=53817) to SMF 2.0 RC1-1?
Any plans to update this addon?
Yes but first i need to have a finished version of the beta version ;). In the new version i can implement it better.
Quote from: V@POR on June 09, 2009, 12:14:05 AM
Any update for RC1.1 ?
Today ;P
Today i'm finished with the, normal last step to make the mod into smf 2 styled versions. I think i used now every new function i found that is useful for my mod.
Now i will add only some features suggest can be done (i will think about it and say if i will add it :P).
Normal the next version, if nothing change, will be a RC1 Versions and will be feature frozen, but this will not happen before SMF RC2 will be released).
Version 2.0 Beta 10 (10.06.09)
* I overworked the Code again it's more compatible to the smf coding guidlines
* Removed all old Queries and replace them with new Queries in SMF 2 Style
* Settings System is overworked have now a own File: ManageThankYouPost.php
* Overworked all Language Files! (Please beware all language Packs are incompatible now!)
* Add German Translation (Hope the mod is not to large now ;D)
! AJAX Inline Thank you Button Bug Fix
! 'signature_enable' bug fix for the thank_you.template.php
! a lot more... i think 10 to 20 fixes ;P.
+ Memberlist can now extent with the Thank-O-Matic Information
+ Combined the load color function with the member color link function (faster and normal chached, only if installed)
+ Fast enable Thank-O-Matic for boards (You will like it :P)
+ Fast setup for some Important Permissions (Only Default Profile, Special Profiles will be ignored!)
+ Thank You spam Protection (Time between Thank You's can be limited)
+ Integrate the Thank-O-Matic Memberlist field into Costum Profiles (Make it possible to disable and enable them on the member list)
+ Add new Help Strings for Settings
+ New Buttons and Setting Icons
+ Stats Output will be cached. (As long it is enabled on SMF)
- Work with SMF 2 RC 1-1
- No Upgrade only Deinstall and Newinstall will work!
Happy Beta Testing ;P
really awesome job din, I really like of you overwork the code because is too heavy :P
Thanks for the update ;)
How about refresh?
When i delite a member the thanks dived doesent get delited....
I use 1.1.X Sorry for my worse english
I am using smf 2 rc1-1(latest). I really want this mod but it gives installation error.
Quote from: DELHI_BOY on June 10, 2009, 06:02:40 PM
I am using smf 2 rc1-1(latest). I really want this mod but it gives installation error.
Same here. Not working either if emulate version to SMF 2.0 RC1.
The problem I detected: My version was as SMF 2.0 RC1 1, no hifen (-). Don't know what happened, if SMF did that or my browser.
But when I changed the package-info to "SMF 2.0 RC1 1", without hifen, it worked well.
Hmmm strange... normal there should be a - in it oO.... i insert both versions normal it should work in the old rc1, too.
Now again i tried, result was same 'test failed in 5 fields overall. Then i done some manual edits described in that mod and got the sucess. It working fine but problem is that i can see other member thank you button whereas no button visible to myself. But i think other member can see my thank you button under my post as i recieve 1 thank. Any idea about this.
Quote from: DELHI_BOY on June 11, 2009, 04:25:34 PM
Now again i tried, result was same 'test failed in 5 fields overall. Then i done some manual edits described in that mod and got the sucess. It working fine but problem is that i can see other member thank you button whereas no button visible to myself. But i think other member can see my thank you button under my post as i recieve 1 thank. Any idea about this.
You can not give yourself a thank you... only to other members post. How many you can give in a thread depend on your setup ;).
hi,
i would like to install the addon for karma, but failed, it says:
./Sources/ThankYouPost.php test failed
please help, thank you!
Quote from: neverhurry on June 13, 2009, 03:14:05 AM
hi,
i would like to install the addon for karma, but failed, it says:
./Sources/ThankYouPost.php test failed
please help, thank you!
Hope for SMF 1.1.9? I will look at it. (In 2.0 Beta it's integrated.)
Okay fixed download the new package and try it again ;).
Bye
DIN1031
it works like a charm, thanks!!!
Quote from: ディン1031 on June 10, 2009, 01:16:28 PM
Today i'm finished with the, normal last step to make the mod into smf 2 styled versions. I think i used now every new function i found that is useful for my mod.
Now i will add only some features suggest can be done (i will think about it and say if i will add it :P).
Normal the next version, if nothing change, will be a RC1 Versions and will be feature frozen, but this will not happen before SMF RC2 will be released).
Version 2.0 Beta 10 (10.06.09)
* I overworked the Code again it's more compatible to the smf coding guidlines
* Removed all old Queries and replace them with new Queries in SMF 2 Style
* Settings System is overworked have now a own File: ManageThankYouPost.php
* Overworked all Language Files! (Please beware all language Packs are incompatible now!)
* Add German Translation (Hope the mod is not to large now ;D)
! AJAX Inline Thank you Button Bug Fix
! 'signature_enable' bug fix for the thank_you.template.php
! a lot more... i think 10 to 20 fixes ;P.
+ Memberlist can now extent with the Thank-O-Matic Information
+ Combined the load color function with the member color link function (faster and normal chached, only if installed)
+ Fast enable Thank-O-Matic for boards (You will like it :P)
+ Fast setup for some Important Permissions (Only Default Profile, Special Profiles will be ignored!)
+ Thank You spam Protection (Time between Thank You's can be limited)
+ Integrate the Thank-O-Matic Memberlist field into Costum Profiles (Make it possible to disable and enable them on the member list)
+ Add new Help Strings for Settings
+ New Buttons and Setting Icons
+ Stats Output will be cached. (As long it is enabled on SMF)
- Work with SMF 2 RC 1-1
- No Upgrade only Deinstall and Newinstall will work!
Happy Beta Testing ;P
Hi, are there any database changes to your MOD? If i execute install_2.x.x.php will it overwrite the database or it will just update it?
QuoteNormal i try to fix the... wait... is it possible i forgot to integrate the db upgrader... *looking*
Okay you're right i will write asap an Upgrader... i total forgot this.
(In the Version before i used to force the upgrade, but than the SSI install would not work anymore...)
Okay i attach a upgrade file, but currently it's untested so use on own risk
whatever happened to this upgrade? i'm also having the "Unknown column 'thx.member_name' in 'field list'" error after doing the following:
- removing thank-o-matic from my packages
- upgrading the forum from 1.1.7 to 2.0 rc1-1
- installing thank-o-matic
- seeing that i have the above error
- and finally running install_2.x.x.php
error still showing...
Even after you running the install_2.x.x.php... Normal this should fix the problem...
Did there stand some things like -> XXX renamed to XXX ?
QuoteHi, are there any database changes to your MOD? If i execute install_2.x.x.php will it overwrite the database or it will just update it?
It will update it and will not remove something =).
Bye
DIN1031
Quote from: ディン1031 on June 14, 2009, 10:38:08 AM
Even after you running the install_2.x.x.php... Normal this should fix the problem...
Did there stand some things like -> XXX renamed to XXX ?
hmm it was yesterday so i don't remember exactly, but yes i think it said something like that.
should i just try to run the install again? (it took a long time... 300mb database)
Quote from: luiscamino on June 14, 2009, 12:33:27 PM
Quote from: ディン1031 on June 14, 2009, 10:38:08 AM
Even after you running the install_2.x.x.php... Normal this should fix the problem...
Did there stand some things like -> XXX renamed to XXX ?
hmm it was yesterday so i don't remember exactly, but yes i think it said something like that.
should i just try to run the install again? (it took a long time... 300mb database)
Possible the convert never finished... yes on large databases it take longer.
If it not done the script start where it not finish the last time =). So you can run it again without problems.
Bye
DIN1031
DIN there is any chances of have the Ajax feature for the SMF 1.1.X series?
Thanks
Hmmm i'm never thought about backport the features... i will think about it but i can not say if i do it.
I have version 2.0 Beta 9 installed, but my package manager doesn't have an uninstall option for this mod. How do i manually uninstall the mod including from the database so that i can upgrade?
Or, does Beta 10 use the database the exact same way as beta 9, so that i only have to replace the files?
Quote from: robinrobin on June 17, 2009, 10:21:37 AM
I have version 2.0 Beta 9 installed, but my package manager doesn't have an uninstall option for this mod. How do i manually uninstall the mod including from the database so that i can upgrade?
Or, does Beta 10 use the database the exact same way as beta 9, so that i only have to replace the files?
Database is extended. And there are a lot changes in other files, too. And complete remove of some parts which are replaced with new one ;).
You can make the uninstall viewable again if you insert in the Version Compatible: SMF 2.0 RC1. (At the bottom page of the Package Parser). Normal than there should be the uninstall.
Bye
DIN1031
Aha, thank you. I can now see the uninstall link again. However, i don't see any execution of files that change anything in the database on the uninstallation page. Is that correct? Is the uninstaller not supposed to uninstall from the database?
Quote from: robinrobin on June 17, 2009, 10:52:16 AM
Aha, thank you. I can now see the uninstall link again. However, i don't see any execution of files that change anything in the database on the uninstallation page. Is that correct? Is the uninstaller not supposed to uninstall from the database?
Uninstall did not remove anything from the database.
Because you possible would like to update by uninstall new install ;).
Bye
DN1031
hello,
I'm having a very strange thing happen :( Every time I try to save the Thank-O-Matic settings I am generating this error:
QuoteURL http://knightsofazeroth.comxa.com/forum/index.php?action=featuresettings2;save;sa=thankyoupost
8: Undefined index: pm_posts_per_hour
File: /home/a1906981/public_html/forum/Sources/ModSettings.php
Line: 325
All other mods/functions in my Admin Panel save properly.
Only Thank-O-Matic doesn't.
I know enough about SMF to be dangerous but I do not know enough to figure this one out, I've been at it for a couple hours and need some insight from other eyes.
Thanks in advance for any help!
EDIT:it seems I may have a corrupted file that is now affecting other things. So please disregard this plea for help, I think the best solution is to re-install my forum from scratch...sigh
there's a prob on my theme when i installed it.
No thank you:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi43.tinypic.com%2Ffdyqlg.jpg&hash=833ffce6f3a677606d98a82f29623e2969046f82)
After i clicked the thank you button, here's what happened.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi43.tinypic.com%2Fj60v8p.jpg&hash=dee1391702eb0f37643584a68f0ef58a2f1a64df)
anyone please help.. would be appreciated. thanks in advance!
EDIT: I'm using AA New Damage 2
punktravis, you haven't edited your theme manually.
Edit your theme's Display.template.php and put the images on it's images folder.
Quote from: ディン1031 on June 15, 2009, 12:13:55 AM
Hmmm i'm never thought about backport the features... i will think about it but i can not say if i do it.
Yes I know of this is unusual but the ajax feature is too cool! I love it so maybe will be a good feature for the next release :)
I know of it's not easy but will be pretty nice
this is a really grat mod i need to thanks the autor for the great job :D
very nice mod !!!!!
i have a suggestion:
i have the choice of setting unhide content only with thank you and to can say only one thank you in thread
but it has thank you button in every post of the thread
so if you say thank you to a post you can`t unhide content to the hidden content post of the topic
so i request the option to have thank you only in post with hidden content not in every post of topic
i have found a bug .. conflict with hide tag
in thank-o-matic
Unhide Content of the Post after posting "Thank You" to this post - checked
Disable the Option unhide content, after real posting, only thank you can unhide it! - checked
in hide tag
Admin should see the hide without post? - checked
Groups IDs who allowed to see a hidden content without posting? - i have 2 groups
Neither admin or those groups can see hidden content without say thanks
Quote from: mforum on June 20, 2009, 11:39:58 AM
i have found a bug .. conflict with hide tag
in thank-o-matic
Unhide Content of the Post after posting "Thank You" to this post - checked
Disable the Option unhide content, after real posting, only thank you can unhide it! - checked
in hide tag
Admin should see the hide without post? - checked
Groups IDs who allowed to see a hidden content without posting? - i have 2 groups
Neither admin or those groups can see hidden content without say thanks
Disable the Option unhide content, after real posting, only thank you can unhide it!
This overwrite all hidden content settings!
It would not work anymore.
You can update to version 1.8.5 of the hide tag special there is a option that overwrite the in the parse function that will overwrite this option again ;). (Complex :P).
Bye
DIN1031
Quote from: mforum on June 20, 2009, 05:07:29 AM
very nice mod !!!!!
i have a suggestion:
i have the choice of setting unhide content only with thank you and to can say only one thank you in thread
but it has thank you button in every post of the thread
so if you say thank you to a post you can`t unhide content to the hidden content post of the topic
so i request the option to have thank you only in post with hidden content not in every post of topic
maybe you missed this 8)
unchecking unhide only with thanks or upgrading to latest hide tag special which will remove unhide only with thanks ... is the solution .. if i got it right :-\
Quote from: mforum on June 20, 2009, 05:07:29 AM
very nice mod !!!!!
i have a suggestion:
i have the choice of setting unhide content only with thank you and to can say only one thank you in thread
but it has thank you button in every post of the thread
so if you say thank you to a post you can`t unhide content to the hidden content post of the topic
so i request the option to have thank you only in post with hidden content not in every post of topic
Depend on the option you select. You give to a thread a thank you and you can enable the option that you can give to each post a thank you. That's why there are two diffrent options you can select that one thank unhidde all hidden content thats the reason why stand that the output depend on the option you select.
Bye
DIN1031
Quote from: ディン1031 on June 22, 2009, 06:45:00 AM
Quote from: mforum on June 20, 2009, 05:07:29 AM
very nice mod !!!!!
i have a suggestion:
i have the choice of setting unhide content only with thank you and to can say only one thank you in thread
but it has thank you button in every post of the thread
so if you say thank you to a post you can`t unhide content to the hidden content post of the topic
so i request the option to have thank you only in post with hidden content not in every post of topic
Depend on the option you select. You give to a thread a thank you and you can enable the option that you can give to each post a thank you. That's why there are two diffrent options you can select that one thank unhidde all hidden content thats the reason why stand that the output depend on the option you select.
Bye
DIN1031
i haven`t found the option to give thank you to thread only ... or it is not working for me ::) ???
You mean you want only to give thank you to the first post only?
Bye
DIN1031
hello,
I am using smf 1.1.9 with ReDark theme. I was trying to install this mod, all tests sucessfull but i get 1 error in this:-
Execute Modification ./Sources/ManageBoards.php Test failed
Quote from: ディン1031 on June 23, 2009, 01:40:21 AM
You mean you want only to give thank you to the first post only?
Bye
DIN1031
exactly
doesn`t make sense ? 8)
Quote from: mforum on June 23, 2009, 06:16:27 AM
Quote from: ディン1031 on June 23, 2009, 01:40:21 AM
You mean you want only to give thank you to the first post only?
Bye
DIN1031
exactly
doesn`t make sense ? 8)
... in 2.0 Beta it's implemented like i said before i never pland to backport it to 1.2.5 because for the deep integration into smf 2... but now more and more options are wished for this hmmm i should think about it but this will take some time until i can insert it.
There is a simple fix for this:
http://www.simplemachines.org/community/index.php?topic=176565.msg2046126#msg2046126
With this change only the first post will have this button =).
Plz solve my problem, i really need this mod
Quote from: DELHI_BOY on June 23, 2009, 05:28:34 AM
hello,
I am using smf 1.1.9 with ReDark theme. I was trying to install this mod, all tests sucessfull but i get 1 error in this:-
Execute Modification ./Sources/ManageBoards.php Test failed
I can tell you only that you can install the modifcation and do the missing changes for the ManageBoards.php by hand. You can look for the change by parsing it with the parse function of the mod page.
Bye
DIN1031
ya plz tell the change that had to be made.
Quote from: DELHI_BOY on June 24, 2009, 04:26:58 AM
ya plz tell the change that had to be made.
... you can look for yourself...
go to the mod page of this modification,
select the modifcation file that you have installed,
select your smf version
and click on parse.
Than it will show what changes the modifcation do... Search for ManageBoards.php and it jump to the change that are done with this file ;).
Bye
DIN1031
After doing that, now its showing:-
13. Execute Modification ./Sources/Display.php Test failed
14. Execute Modification ./Sources/Load.php Test failed
15. Execute Modification ./Sources/ManageBoards.php Test failed
I tried alot but no sucess.
Here are three files, plz edit it for me.
Quote from: ディン1031 on June 24, 2009, 12:46:33 AM
Quote from: mforum on June 23, 2009, 06:16:27 AM
Quote from: ディン1031 on June 23, 2009, 01:40:21 AM
You mean you want only to give thank you to the first post only?
Bye
DIN1031
exactly
doesn`t make sense ? 8)
... in 2.0 Beta it's implemented like i said before i never pland to backport it to 1.2.5 because for the deep integration into smf 2... but now more and more options are wished for this hmmm i should think about it but this will take some time until i can insert it.
There is a simple fix for this:
http://www.simplemachines.org/community/index.php?topic=176565.msg2046126#msg2046126
With this change only the first post will have this button =).
worked fine !!!
Thank you :)
Request:
Plz edit my files given above and put code in right place.
hello,
I need some instructions to install it on Asalet v7 Theme.
Thank you.
I need help because it seems to be shown, but like this:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg4.imageshack.us%2Fimg4%2F9946%2Fscreenshotyqp.jpg&hash=9354b74370871ff8715467fc5b1c108d83eb27f4)
Notice the "1" that can be seen in the topic and the red stars near "Dividir tema"
I have no admin options about this modification in the admin panel...
Thank you.
Quote from: Th3 C0ntact on June 26, 2009, 08:00:08 PM
I need help because it seems to be shown, but like this:
.............
Notice the "1" that can be seen in the topic and the red stars near "Dividir tema"
I have no admin options about this modification in the admin panel...
Thank you.
LANGUAGE!!
Repair your languges files
./Themes/default/languages/index.english.php ;)
And what do I have to do in that file?
Thank you.
0kay...I have edited that file and put the names in spanish...But it still doesn´t work...
Thank you
Send your languages files...
It must make :-)
¿What? Send the languaje files to..?
You have an error.
Send me /Themes/default/languages/index.xxx.php ...
Your language
Quote from: MaxiPes on June 28, 2009, 02:35:25 PM
You have an error.
Send me /Themes/default/languages/index.xxx.php ...
Your language
0key, you have an MP:
OK. In index.spanish_es-utf8.php (index.spanish_es.php) is missing language translate.
I send this to you.
In others languages files will be same error ;)
./Themes/default/languages/ManageBoards.spanish_es-utf8.php (ManageBoards.spanish_es.php)
find
?>
add before
$txt['mboards_thank_you_post_enable'] = 'Enable Thank-O-Matic';
$txt['mboards_thank_you_post_enable_desc'] = 'This option enable the "Thank You" for posts on this board';
./Themes/default/languages/ManagePermissions.spanish_es-utf8.php (ManagePermissions.spanish_es.php)
find
?>
add before
//Thank-O-Matic Premmisions ;)
$txt['permissiongroup_thank_you_post'] = 'Thank-O-Matic';
$txt['permissionname_thank_you_post_show'] = 'Show Thank You Members of the Post';
$txt['permissionhelp_thank_you_post_show'] = 'Show the list who said thank you';
$txt['permissionname_thank_you_post_post'] = 'Give thank you to a post';
$txt['permissionhelp_thank_you_post_post'] = 'With this a user is allowed to add a thank you to each post in the allowed boards';
$txt['permissionname_thank_you_post_lock'] = 'Lock Thank You Post';
$txt['permissionhelp_thank_you_post_lock'] = 'Lock a "Thank You" so no one can make any new one.';
$txt['permissionname_thank_you_post_lock_own'] = 'Own Thank You';
$txt['permissionname_thank_you_post_lock_any'] = 'Any Thank You';
$txt['permissionname_thank_you_post_delete'] = 'Delete Thank You Post List';
$txt['permissionhelp_thank_you_post_delete'] = 'Deleting of Thank You Post list in the forum.';
$txt['permissionname_thank_you_post_delete_own'] = 'Own Thank You';
$txt['permissionname_thank_you_post_delete_any'] = 'Any Thank You';
$txt['permissionname_thank_you_post_delete_mem'] = 'Delete Thank You Post Member';
$txt['permissionhelp_thank_you_post_delete_mem'] = 'Deleting of a Poster in the Thank You Post list.';
$txt['permissionname_thank_you_post_delete_mem_own'] = 'Own Member';
$txt['permissionname_thank_you_post_delete_mem_any'] = 'Any Member';
$txt['permissionname_thank_you_post_lock_all'] = 'Lock/Unlock Thank You Thread';
$txt['permissionhelp_thank_you_post_lock_all'] = 'Lock/Unlock all "Thank You" options in the thread so no one can make any new one or start one.';
$txt['permissionname_thank_you_post_lock_all_own'] = 'Topic Owner';
$txt['permissionname_thank_you_post_lock_all_any'] = 'Any Topic';
$txt['permissionname_thank_you_post_unlock_all'] = 'Unlock all Posts of Thank You Thread';
$txt['permissionhelp_thank_you_post_unlock_all'] = 'Unlock all single "Thank You" Post, you can use this after a topic is moved from the junk yard back to the normal board, or for some other reasons ;)';
./Themes/default/languages/Errors.spanish_es-utf8.php (Errors.spanish_es.php)
find
?>
add before
//Thank-O-Matic Premmisions Errors ;)
$txt['cannot_thank_you_post_show'] = "You're not allowed to see this Thank You List!";
$txt['cannot_thank_you_post_post'] = "You're not allowed to use Thank You Options!";
$txt['cannot_thank_you_post_lock_own'] = "You're not allowed to use Thank You Options!";
$txt['cannot_thank_you_post_lock_any'] = "You're not allowed to use Thank You Options!";
$txt['cannot_thank_you_post_delete_own'] = "You're not allowed to use Thank You Options!";
$txt['cannot_thank_you_post_delete_any'] = "You're not allowed to use Thank You Options!";
$txt['cannot_thank_you_post_delete_mem_own'] = "You're not allowed to use Thank You Options!";
$txt['cannot_thank_you_post_delete_mem_any'] = "You're not allowed to use Thank You Options!";
$txt['cannot_thank_you_post_lock_all_own'] = "You're not allowed to use Thank You Options!";
$txt['cannot_thank_you_post_lock_all_any'] = "You're not allowed to use Thank You Options!";
$txt['cannot_thank_you_post_unlock_all'] = "You're not allowed to use Thank You Options!";
./Themes/default/languages/ModSettings.spanish_es-utf8.php (ModSettings.spanish_es.php)
find
?>
add before
//Thank-O-Matic ModSettings ;)
$txt['thankyouposttitle'] = 'Thank-O-Matic';
$txt['thankYouPostColors'] = 'Enable Coloring the members of the list.';
$txt['thankYouPostOnePerPost'] = 'User can post to each post a Thank You<br />
<span class="smalltext">If this disabled, the member can post only one thanks per thread.</span>';
$txt['thankYouPostPreview'] = 'Enable Preview List under the post in topic index.';
$txt['thankYouPostPreviewHM'] = 'How many items should be shown in the previewlist?<br /><span class="smalltext"><strong>(0 = all)</strong></span></';
$txt['thankYouPostPreviewOrder'] = 'The order of the previewlist';
$txt['thankYouPostPreviewOrderSelect'] = 'Earliest THX first|Latest THX first';
$txt['thankYouPostFullOrder'] = 'The order of the Fulllist';
$txt['thankYouPostFullOrderSelect'] = 'Earliest THX first|Latest THX first|Member Names';
$txt['thankYouPostHideExtraInfo'] = '<br /><span class="smalltext"><a href="http://mods.simplemachines.org/index.php?mod=118">(require Hide Mod Special)</a></span>';
//Pleast don't forget the .$txt['thankYouPostHideExtraInfo'] after the text!
$txt['thankYouPostUnhidePost'] = 'Unhide Content of the Post after posting "Thank You" to this post
<br /><span class="smalltext">This unhide only the post who made the thank you, but if the user post normal it unhide all</span>'.$txt['thankYouPostHideExtraInfo'];
$txt['thankYouPostThxUnhideAll'] = 'On Thank You unhide all, hidden contents!
<br /><span class="smalltext">Unhide all content after posting one Thank You to any post (Disable Option 1)</span>'.$txt['thankYouPostHideExtraInfo'];
$txt['thankYouPostDisableUnhide'] = 'Disable the Option unhide content, after real posting, only thank you can unhide it!
<br /><span class="smalltext">You must post a Thank You to unhide the content, depend on Option 1/2 how many it unhide</span>'.$txt['thankYouPostHideExtraInfo'];
$txt['thankYouPostDisplayPage'] = 'Show Thank You Post given and receive on Topic Display';
./Themes/default/languages/Profile.spanish_es-utf8.php (Profile.spanish_es.php)
find
?>
add before
//Thank-O-Matic
$txt['thankyoutitle'] = 'Thank You Posts';
$txt['thankyoupostmade'] = 'Thanks given by you';
$txt['thankyoupostbecame'] = 'Thanks taken by you';
I have added those lines to the files, but it doesn´t work, no option has appeared in admin panel...
Send screen ;)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg13.imageshack.us%2Fimg13%2F7112%2F24466273.jpg&hash=797094a439f9321785f3f9a552ff67a72a238e82)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg13.imageshack.us%2Fimg13%2F9430%2F53706531.jpg&hash=5a941de4bad65a89a3c3f0472134b3af9e2cc72f)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg91.imageshack.us%2Fimg91%2F313%2Fscreenshotbrs.jpg&hash=c997874e4f698808dd085644bb7fcef3c55fb563)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg13.imageshack.us%2Fimg13%2F2382%2Fscreenshot2ylt.jpg&hash=6a53ad30acbd5327725fc81d209e721b8c89e5ab)
Hmm SMF 2.0
I have 1.1.9...
But it make this link? http://www.yourSMFrofum/index.php?action=featuresettings;sa=thankyoupost
Send me your FTP login (PM)
And SMF login to admin ;)
hello... please help me... only one thing..
well.. i have installed de 1.1.9 version, i's is translate now. I installed this "Thank you" mod and worked with the default theme. but it doesn't like me. so I installed the "Siyah inci" theme and the button with the star doesn's apear! please help me.. and the count of thanks recived or developed no apear yet!
here the screan
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi706.photobucket.com%2Falbums%2Fww69%2Floquiyo88%2FUntitled.jpg&hash=42fac8f4e624761d1dfec8e418dda37f89e4971c)
plese hepl me.. ah!
note: I just upload the images of the "thank-O_Matic" inside the /public-html/themes/siyah inci/images, too.
what more i have to do? display. template of the siyah theme? but waht overwrite or what.. please!!
sorry for my english. i'm til learnig
You can parse the package on the modifcation page and than there you can find what you need to change on Display.template.php.
Bye
DIN1031
hey ディン1031,
thanks a lot for your help. my thank o matic installation has gone from bad to worse and i have decided uninstalling it and starting from scratch. i uninstalled it from the admin center in the forum which wasn't 100% clean but afterwards i manually made sure all the files didn't have anything from the mod.
however the forum error log is showing THOUSANDS of thank o matic related errors, specifically these three errors:
http://www.clubsonyericsson.com/foro/index.php?action=profile;u=25259;area=showThankYouPosts
8: Undefined index: title
Archivo: /home/cse/public_html/foro/Themes/default/GenericMenu.template.php (body_above sub template - eval?)
http://www.clubsonyericsson.com/foro/index.php?topic=38277.0
8: Undefined index: title
Archivo: /home/cse/public_html/foro/Themes/forthemes3/Display.template.php (body_above sub template - eval?)
Línea: 676
http://www.clubsonyericsson.com/foro/index.php?topic=38277.0
8: Undefined index: href
Archivo: /home/cse/public_html/foro/Themes/forthemes3/Display.template.php (body_above sub template - eval?)
Línea: 675
i'm pretty sure display.template.php doesn't have any remaining thankomatic code in it and genericmenu.template.php isn't supposed to be modified by the installation.
is it possible that the database still has some thankomatic stuff? or does the uninstaller take care of that?
it is very important to me to reset it as clean as possible.
I assume because of the link that it is realted to smf2 ;).
So i'm not sure if this happen because of my mod but i will not deny it. Possible some other mod create on that page an error. I can not tell if you uninstall it that all errors are gone away... If not than i would assume it_'s a diffrent mod that create this errors ;).
Quote from: ディン1031 on July 03, 2009, 12:23:38 AM
I assume because of the link that it is realted to smf2 ;).
So i'm not sure if this happen because of my mod but i will not deny it. Possible some other mod create on that page an error. I can not tell if you uninstall it that all errors are gone away... If not than i would assume it_'s a diffrent mod that create this errors ;).
the first of the errors clearly comes from an url that includes a thankomatic function: http://www.clubsonyericsson.com/foro/index.php?action=profile;u=25259;area=showThankYouPosts
Quote from: luiscamino on July 03, 2009, 05:35:54 AM
Quote from: ディン1031 on July 03, 2009, 12:23:38 AM
I assume because of the link that it is realted to smf2 ;).
So i'm not sure if this happen because of my mod but i will not deny it. Possible some other mod create on that page an error. I can not tell if you uninstall it that all errors are gone away... If not than i would assume it_'s a diffrent mod that create this errors ;).
the first of the errors clearly comes from an url that includes a thankomatic function: http://www.clubsonyericsson.com/foro/index.php?action=profile;u=25259;area=showThankYouPosts
Did this only happen on guest access? :)
Quote from: ディン1031 on July 03, 2009, 07:50:37 AM
Did this only happen on guest access? :)
actually, yeah! it seems it only happens to guest access, how come?
Possible i forgot to test it. I will do that later (i hope i do not forget this XD)
So i looked at my code and try to reproduce this... but i can tell now this is not happen... even after i looked at the lines there is nothing that could be create this errors oO.
Could you please upload the files? I would like to see what stand there...
here they are. i'm beginning to think like you, that the errors on the other files (display, boardindex and messageindex) are not related to thankomatic :|
So after i looked at the files i can tell that this is not related to this mod.
It must be happen somewhere else... very difficult to narrow this down... this could be happen on a total different template file the error show only the last loaded template and this make it very difficult do find this. I would assume that this in the index.template.php if this happen on each file.
hi Din
today i checked my indexed urls in google and find out 50% of my urls are single posts with urls like this forum/index.php?action=thankyoupostlist;topic=X;msg=Y
i think if you place a nofollow (based on this (http://en.wikipedia.org/wiki/Nofollow#Interpretation_by_the_individual_search_engines)) for these link smfs with this mod became more seo
what's you idea?
Hmmm i thought this is automatic no follow... hmmm i agree with you :).
hi, got a room for a noob question? hehe
I manually injected the codes on all files because i have test error message using ACP>Packages.
Quote13. Execute Modification ./Sources/Display.php Test failed
14. Execute Modification ./Sources/Load.php Test failed
25. Execute Modification ./Themes/default/Display.template.php Test failed
Anyway, my test forum is viewable until you click for a category/message index/topic. I receive this message "Unknown column 'thank_you_post_enable' in 'field list'"
I know that it's a SQL query that is needed. Currently, I don't have access to myphpadmin/mysql. Will the 'install_1.x.x.php' be able to help me out with it even I manually injected the codes on all PHP files? using 1.1.9 by the way. i also have 2 custom themes installed which i will test later on.
TIA
Yes upload the file install1.1.x.php and call it with the browser. Is everthing okay than there stand database changes done ;).
'DB Changes should be made now...'
hey, great it's working now, as for the custom themes, i will edit only display.template right? just asking, because on the other codes i injected manually, for it to be applied on other themes exceept default, i need to edit that file only.
errors or bugs on my site:
1. there's no thank you list on user info on post because I don't know where to place this on Load.php:
'thank_you_post' => array(
'made' => &$profile['thank_you_post_made'],
'became' => &$profile['thank_you_post_became'],
),
i can't find this:
'local_time' => timeformat(time() + ($profile['timeOffset'] - $user_info['time_offset']) * 3600, false),
2. on ACP > Features and Options > Thank-O-Matic, whenever I set something, and click save, it refreshes and go back to basic features and all the setting are reset to nothing.
again, thank you.
Quote from: akosiparusa on July 09, 2009, 02:14:55 AM
'DB Changes should be made now...'
hey, great it's working now, as for the custom themes, i will edit only display.template right? just asking, because on the other codes i injected manually, for it to be applied on other themes exceept default, i need to edit that file only.
errors or bugs on my site:
1. there's no thank you list on user info on post because I don't know where to place this on Load.php:
'thank_you_post' => array(
'made' => &$profile['thank_you_post_made'],
'became' => &$profile['thank_you_post_became'],
),
i can't find this:
'local_time' => timeformat(time() + ($profile['timeOffset'] - $user_info['time_offset']) * 3600, false),
2. on ACP > Features and Options > Thank-O-Matic, whenever I set something, and click save, it refreshes and go back to basic features and all the setting are reset to nothing.
again, thank you.
One of the replaces in the
ModSettings.php can be replaced multiple times in that file and the package parser do this normaly.
Load.php hmmm strange that this replace do not exists ;). (I know only one case where this not happen *g*)
Did you try to look only for
Quote
'local_time' =>
On line after this you can normal insert it without problems =).
If you not find it you can insert it after
Quote
'is_guest' => false,
If you like ;).
Bye
DIN1031
din,
still no thank yous on user info on post.
attached is the load and modsettings. could you please take a peak.
thanks
Did you do that what i told you to do with the ModSettings.php changes? :)
This need to be done two times:
Quote from: search
'layout' => 'ModifyLayoutSettings',
Quote from: replace all with
'layout' => 'ModifyLayoutSettings',
'thankyoupost' => 'ModifyThankYouPostSettings',
(Around line 210 is the second time) ;)
And did you try that with the Load.php?Load.php is okay
You should insert the
Quote
'local_time' => timeformat(time() + ($profile['timeOffset'] - $user_info['time_offset']) * 3600, false),
somehow i think the media gallery removed this line oO.
Did you change the Display.template.php on your theme? ;)
Quote'local_time' => timeformat(time() + ($profile['timeOffset'] - $user_info['time_offset']) * 3600, false),
where to insert on load.php?
---
yehey, it's working now on the user info on post.
all i need to know is where to place that code on load.php
i believe i dont need to include that line anymore.
By the way, what's that for?
Hi,
Cant find the manual parse instructions for 1.1.9.. There are few errors which I have to manually parse. How to go about this?
Thanks
Quote from: akosiparusa on July 10, 2009, 03:30:02 PM
i believe i dont need to include that line anymore.
By the way, what's that for?
Thats the data that will be used in the display.template.php to output the informations how many thank you made and recived.
Quote from: zorro18 on July 11, 2009, 02:21:26 PM
Hi,
Cant find the manual parse instructions for 1.1.9.. There are few errors which I have to manually parse. How to go about this?
Thanks
Select, on the mod page, the the Thank-O-Matic version 1.2.5 and select the smf version 1.1.9 and click on parse.
Bye
DIN1031
Hi Din,
you mean, (1) under the posts or on (2) user info on post?
see attached:
Quote from: ディン1031 on July 12, 2009, 08:06:40 AM
Quote from: akosiparusa on July 10, 2009, 03:30:02 PM
i believe i dont need to include that line anymore.
By the way, what's that for?
Thats the data that will be used in the display.template.php to output the informations how many thank you made and recived.
Quote from: zorro18 on July 11, 2009, 02:21:26 PM
Hi,
Cant find the manual parse instructions for 1.1.9.. There are few errors which I have to manually parse. How to go about this?
Thanks
Select, on the mod page, the the Thank-O-Matic version 1.2.5 and select the smf version 1.1.9 and click on parse.
Bye
DIN1031
My Bad.. Works.. Thanks DIN1031
Quote from: akosiparusa on July 12, 2009, 10:34:35 AM
Hi Din,
you mean, (1) under the posts or on (2) user info on post?
see attached:
The (2) ;)
but its working without that line.
Quote from: akosiparusa on July 12, 2009, 01:54:19 PM
but its working without that line.
oO that is not possible... are we talking about the same line? ;)
this line is what i am asking, read back 1 page, this is the only problem i have not included.
Quote'local_time' => timeformat(time() + ($profile['timeOffset'] - $user_info['time_offset']) * 3600, false),
Quote from: akosiparusa on July 12, 2009, 04:14:50 PM
this line is what i am asking, read back 1 page, this is the only problem i have not included.
Quote'local_time' => timeformat(time() + ($profile['timeOffset'] - $user_info['time_offset']) * 3600, false),
I gave you an way how to fix it oO... http://www.simplemachines.org/community/index.php?topic=176565.msg2151492#msg2151492 possible you fixed it.
Because without this data this data is normal not availible if this is not insert ;).
oh yeah, i missed that one, sorry... that's because when i inserted in somewhere, my forum didn't load, but now it's fine.
Thank-O-Din!
hi Din,
I have applied it on my live forum but i have another problem, i missed something but i dont know which file to edit.
it's not showing of on posts. see attached
TY.
Quote from: akosiparusa on July 14, 2009, 07:53:52 PM
hi Din,
I have applied it on my live forum but i have another problem, i missed something but i dont know which file to edit.
it's not showing of on posts. see attached
TY.
I'm not sure did you setup the boards and premissions? :)
If yes than look into the Display.template.php.
Bye
DIN1031
I get the following error on 2.0 RC-1
Fatal error: Call to undefined function template_thank_you_post() in /home/scriptco/public_html/network/Sources/Load.php(1959) : eval()'d code on line 558
with this im not getting a error but not letting me install
Quote from: BlackVenom2 on July 15, 2009, 12:05:33 PM
I get the following error on 2.0 RC-1
Fatal error: Call to undefined function template_thank_you_post() in /home/scriptco/public_html/network/Sources/Load.php(1959) : eval()'d code on line 558
Theme change is not done... i think you miss a change in the index.template.php.
Quote from: evolution25 on July 15, 2009, 05:24:12 PM
with this im not getting a error but not letting me install
Sorry i do not understand what you mean? Did you take the correct Mod Version?
hi
my forum version is 1.1.10. the default theme is standard 4 the whole board.
i have installed the
ThankOMatic125.zip
ThankOMaticGermanUTF8LanguagePack122.zip
ThankOMaticEnglishUTF8Translation122.zip
but there is no possibility to say thanks... in the ACP it works fine. but when i login as a normal user i cant say thanks to any post
Could it be able to only allow access to some subforuns or areas of my forum to users who have been thanked more than "x" times or something like that?
And is it possible to edit memberlist to sort the members in memberlist by given and received thanks?
Thanks in advance
I am using Thank-O-Matic 1.2.5 at my 1.1.10 smf forum. But wen i click Recalculate Thank-O-Matic stats it loads some time and then it says that the page ist found....
what the error?¿
hey, why i cant see the thanks button?
when I have moving the image to theme that I use...
Quote from: ディン1031 on July 16, 2009, 12:49:30 AM
Quote from: BlackVenom2 on July 15, 2009, 12:05:33 PM
I get the following error on 2.0 RC-1
Fatal error: Call to undefined function template_thank_you_post() in /home/scriptco/public_html/network/Sources/Load.php(1959) : eval()'d code on line 558
Theme change is not done... i think you miss a change in the index.template.php.
Thanks,
i'll try it.
EDIT: It still doesn't work properly, but i don't get that error anymore. Where it says thank you in the post it says it twice like a link error. If there's a pic included in this mod that may be my problem, so if that's your suggestion ignore this i'm gonna go try it now.
EDIT 2: Everything works except for when deleting a thank you, it says wrong variable sent to database.
I made some buttons for this mod if anyone wants to use them. Instructions & psd are included in the .zip.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi150.photobucket.com%2Falbums%2Fs115%2FKXXPLOITLVR%2Fprev.png&hash=959a79ba867b8a4efbf9a3cb15a7bf77426f564e)
http://www.megaupload.com/?d=XCPA324N
Quote from: BlackVenom2 on July 27, 2009, 02:17:27 PM
I made some buttons for this mod if anyone wants to use them. Instructions & psd are included in the .zip.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi150.photobucket.com%2Falbums%2Fs115%2FKXXPLOITLVR%2Fprev.png&hash=959a79ba867b8a4efbf9a3cb15a7bf77426f564e)
http://www.megaupload.com/?d=XCPA324N
Cool ;)
Hi, I'm having the below error:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi26.tinypic.com%2Fizwapc.png&hash=10594895a3a290e60e92c14be5fc92d6ab94afa4)
I have attached my display.template.php
Hopefully, someone can help me.
Quote from: neocox on July 26, 2009, 07:19:21 AM
hi
my forum version is 1.1.10. the default theme is standard 4 the whole board.
i have installed the
ThankOMatic125.zip
ThankOMaticGermanUTF8LanguagePack122.zip
ThankOMaticEnglishUTF8Translation122.zip
but there is no possibility to say thanks... in the ACP it works fine. but when i login as a normal user i cant say thanks to any post
Did you setup the Permissions? Did you enable the Boards?
Quote from: tbk22 on July 26, 2009, 10:14:50 AM
Could it be able to only allow access to some subforuns or areas of my forum to users who have been thanked more than "x" times or something like that?
And is it possible to edit memberlist to sort the members in memberlist by given and received thanks?
Thanks in advance
No, not with the Version 1.2.5. But it could be possible to change some of the code in the member List to make this Possible.
Quote from: silber112 on July 26, 2009, 10:36:13 AM
I am using Thank-O-Matic 1.2.5 at my 1.1.10 smf forum. But wen i click Recalculate Thank-O-Matic stats it loads some time and then it says that the page ist found....
what the error?¿
The problem is that the executiontime is not high enouph on your forum. (I can only say that i fixed it in the SMF 2 Version.)
Quote from: thedarkman on July 27, 2009, 12:16:27 AM
hey, why i cant see the thanks button?
when I have moving the image to theme that I use...
Did you enable the Boards and did you setup the permissions?
Quote from: omfgitsasalmon on July 28, 2009, 01:52:40 AM
Hi, I'm having the below error:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi26.tinypic.com%2Fizwapc.png&hash=10594895a3a290e60e92c14be5fc92d6ab94afa4)
I have attached my display.template.php
Hopefully, someone can help me.
Change this
echo '
</td>
</tr><tr>
//Show the Thank You list or the link or.... nothing? XD
if ($message['thank_you_post']['isThankYouPost'])
to
echo '
</td>
</tr><tr>';
//Show the Thank You list or the link or.... nothing? XD
if ($message['thank_you_post']['isThankYouPost'])
Bye
DIN1031
hi , i use version 1.2.0 . how can i upgrade it to 1.2.5?
Upload the package click on upgrade.
Bye
DIN1031
can anyone help me install to my SMF 2.0rc.1.2
i think its not compatible in blackday theme, i cant even find the details for manual editing
Hello ディン =) found your module! love! thanks =))) but there is one problem. in the admin panel configuration is not stored = (((why this is happening? help please! where DataBase stores data in this form? Thank you for the past ...
and if they do not understand, I am sorry, I know bad English = (( http://translate.google.ru/translate_t? helps :D
help please! click on SAVE the settings are not saved! redirects to the "Basic Settings" form here:
<form action="http://forum.angarskhome.ru/index.php?action=featuresettings2;save;sa=thankyoupost" method="post" accept-charset="windows-1251">
<table width="80%" border="0" cellspacing="0" cellpadding="0" class="tborder" align="center">
<tr><td>
<table border="0" cellspacing="0" cellpadding="4" width="100%">
<tr class="titlebg">
<td colspan="3">Thank-O-Matic</td>
</tr>
<tr class="windowbg2">
<td class="windowbg2"></td>
<td valign="top" ><label for="thankYouPostOnePerPost">User can post to each post a Thank You<br />
<span class="smalltext">If this disabled, the member can post only one thanks per thread.</span></label></td>
<td class="windowbg2" width="50%">
<input type="hidden" name="thankYouPostOnePerPost" value="0" /><input type="checkbox" name="thankYouPostOnePerPost" id="thankYouPostOnePerPost" class="check" />
</td>
</tr>
<tr class="windowbg2">
<td class="windowbg2"></td>
<td valign="top" ><label for="thankYouPostColors">Enable Coloring the members of the list.</label></td>
<td class="windowbg2" width="50%">
<input type="hidden" name="thankYouPostColors" value="0" /><input type="checkbox" name="thankYouPostColors" id="thankYouPostColors" class="check" />
</td>
</tr>
<tr class="windowbg2">
<td class="windowbg2"></td>
<td valign="top" ><label for="thankYouPostDisplayPage">Show Thank You Post given and receive on Topic Display</label></td>
<td class="windowbg2" width="50%">
<input type="hidden" name="thankYouPostDisplayPage" value="0" /><input type="checkbox" name="thankYouPostDisplayPage" id="thankYouPostDisplayPage" class="check" />
</td>
</tr>
<tr class="windowbg2">
<td colspan="3" class="windowbg2"><hr size="1" width="100%" class="hrcolor" /></td>
</tr>
<tr class="windowbg2">
<td class="windowbg2"></td>
<td valign="top" ><label for="thankYouPostPreview">Enable Preview List under the post in topic index.</label></td>
<td class="windowbg2" width="50%">
<input type="hidden" name="thankYouPostPreview" value="0" /><input type="checkbox" name="thankYouPostPreview" id="thankYouPostPreview" class="check" />
</td>
</tr>
<tr class="windowbg2">
<td class="windowbg2"></td>
<td valign="top" ><label for="thankYouPostPreviewHM">How many items should be shown in the previewlist?<br /><span class="smalltext"><strong>(0 = all)</strong></span></</label></td>
<td class="windowbg2" width="50%">
<input type="text" name="thankYouPostPreviewHM" value="" size="6" />
</td>
</tr>
<tr class="windowbg2">
<td class="windowbg2"></td>
<td valign="top" ><label for="thankYouPostPreviewOrder">The order of the previewlist</label></td>
<td class="windowbg2" width="50%">
<select name="thankYouPostPreviewOrder">
<option value="0" selected="selected">Earliest THX first</option>
<option value="1">Latest THX first</option>
</select>
</td>
</tr>
<tr class="windowbg2">
<td colspan="3" class="windowbg2"><hr size="1" width="100%" class="hrcolor" /></td>
</tr>
<tr class="windowbg2">
<td class="windowbg2"></td>
<td valign="top" ><label for="thankYouPostFullOrder">The order of the Fulllist</label></td>
<td class="windowbg2" width="50%">
<select name="thankYouPostFullOrder">
<option value="0" selected="selected">Earliest THX first</option>
<option value="1">Latest THX first</option>
<option value="2">Member Names</option>
</select>
</td>
</tr>
<tr class="windowbg2">
<td colspan="3" class="windowbg2"><hr size="1" width="100%" class="hrcolor" /></td>
</tr>
<tr class="windowbg2">
<td class="windowbg2"></td>
<td valign="top" ><label for="thankYouPostUnhidePost">Unhide Content of the Post after posting "Thank You" to this post
<br /><span class="smalltext">This unhide only the post who made the thank you, but if the user post normal it unhide all</span><br /><span class="smalltext"><a href="http://mods.simplemachines.org/index.php?mod=118">(require Hide Mod Special)</a></span></label></td>
<td class="windowbg2" width="50%">
<input type="hidden" name="thankYouPostUnhidePost" value="0" /><input type="checkbox" name="thankYouPostUnhidePost" id="thankYouPostUnhidePost" class="check" />
</td>
</tr>
<tr class="windowbg2">
<td class="windowbg2"></td>
<td valign="top" ><label for="thankYouPostThxUnhideAll">On Thank You unhide all, hidden contents!
<br /><span class="smalltext">Unhide all content after posting one Thank You to any post (Disable Option 1)</span><br /><span class="smalltext"><a href="http://mods.simplemachines.org/index.php?mod=118">(require Hide Mod Special)</a></span></label></td>
<td class="windowbg2" width="50%">
<input type="hidden" name="thankYouPostThxUnhideAll" value="0" /><input type="checkbox" name="thankYouPostThxUnhideAll" id="thankYouPostThxUnhideAll" class="check" />
</td>
</tr>
<tr class="windowbg2">
<td class="windowbg2"></td>
<td valign="top" ><label for="thankYouPostDisableUnhide">Disable the Option unhide content, after real posting, only thank you can unhide it!
<br /><span class="smalltext">You must post a Thank You to unhide the content, depend on Option 1/2 how many it unhide</span><br /><span class="smalltext"><a href="http://mods.simplemachines.org/index.php?mod=118">(require Hide Mod Special)</a></span></label></td>
<td class="windowbg2" width="50%">
<input type="hidden" name="thankYouPostDisableUnhide" value="0" /><input type="checkbox" name="thankYouPostDisableUnhide" id="thankYouPostDisableUnhide" class="check" />
</td>
</tr>
</tr><tr>
<td class="windowbg2" colspan="3" align="center" valign="middle"><input type="submit" value="Сохранить" /></td>
</tr>
</table>
</td></tr>
</table>
<input type="hidden" name="sc" value="29ece4754782ee7d879dea06fa55c717" />
</form>
See picture above!
where in the Database are stored, these settings?
Quote from: NIKOTIN on August 03, 2009, 03:18:56 PM
Hello ディン =) found your module! love! thanks =))) but there is one problem. in the admin panel configuration is not stored = (((why this is happening? help please! where DataBase stores data in this form? Thank you for the past ...
and if they do not understand, I am sorry, I know bad English = (( http://translate.google.ru/translate_t? helps :D
I don't know why but sometimes the packetparse repalce on thing in the Modsettings.php on one time but it need to be replaced multiple times.
Change in Filename:
$sourcedir/ModSettings.php Quote
Search for this
'layout' => 'ModifyLayoutSettings',
Add after this
'thankyoupost' => 'ModifyThankYouPostSettings',
I think that the part that should be replaced multiple time.
Quote from: herohenson on July 31, 2009, 07:34:28 AM
i think its not compatible in blackday theme, i cant even find the details for manual editing
Hum i don't know this theme... but normal it should be easy to extent buttons on other themes...
Quote from: ディン1031 on August 05, 2009, 01:07:05 AM
Quote from: NIKOTIN on August 03, 2009, 03:18:56 PM
Hello ディン =) found your module! love! thanks =))) but there is one problem. in the admin panel configuration is not stored = (((why this is happening? help please! where DataBase stores data in this form? Thank you for the past ...
and if they do not understand, I am sorry, I know bad English = (( http://translate.google.ru/translate_t? helps :D
I don't know why but sometimes the packetparse repalce on thing in the Modsettings.php on one time but it need to be replaced multiple times.
Change in Filename: $sourcedir/ModSettings.php Quote
Search for this
'layout' => 'ModifyLayoutSettings',
Add after this
'thankyoupost' => 'ModifyThankYouPostSettings',
I think that the part that should be replaced multiple time.
УРА!!!!!!!!!! :D СПАСИБО ПОМОГЛО! :D :D :D :D :D :D :D :D :D :P
I have a problem, and installed the mod but leaves the buttons thanks, q can be?
Look at the image:
Did you enable it on the board did you setup the permissions?
yes :)
And i think you use the default theme? And you did not have any errors on the install?
Which way of Thank You Post did you select?
not have any errors on the install and use use the default theme.
Hi, I'm using the cargo theme by dzeiner studio and this doesn't work after I installed it. It shows the amount of thanks I have but there's no thank button. What do I do now? Please help!
Hiya all,
have a problem with this mod now :-X :-X
Sometimes the Thanks were reseted to 0 :o :o :o
I.e a member has got 250 Thanks given and when he looks some days later the Thanks given are 0 now :-X :-X :-X
Has someone a good idea?
I am using SMF 1.14
Version Thank-oMatic - 1.0 Beta3
Tried to upgrade to Version 1.2.5, but I have about 80 mods installed and I do not know what I have changed manuelly to make this mod work
Thanks
its difficult to install to my smf 2.0 r1.2
Quote from: JungleBunny on August 13, 2009, 11:22:46 AM
Hiya all,
have a problem with this mod now :-X :-X
Sometimes the Thanks were reseted to 0 :o :o :o
I.e a member has got 250 Thanks given and when he looks some days later the Thanks given are 0 now :-X :-X :-X
Has someone a good idea?
I am using SMF 1.14
Version Thank-oMatic - 1.0 Beta3
Tried to upgrade to Version 1.2.5, but I have about 80 mods installed and I do not know what I have changed manuelly to make this mod work
Thanks
Uff Beta 3... hmmm there a lot of changes done since that Version... Normal you can upgrade if you try to upload the new package... or you go step by step though the upgrade. I've insert a upgrade for Beta 3 to 1.0.0. And than i insert in each package a upgrade ;).
You can also upgrade Version by Version if you like ;). (All packages since beta are on the mod page)
Quote from: herohenson on August 14, 2009, 02:13:59 AM
its difficult to install to my smf 2.0 r1.2
How do you mean that?
Quote from: omfgitsasalmon on August 07, 2009, 07:58:06 AM
Hi, I'm using the cargo theme by dzeiner studio and this doesn't work after I installed it. It shows the amount of thanks I have but there's no thank button. What do I do now? Please help!
Than you need to extent the buttons with the new ones oO.
Quote from: Alyen on August 07, 2009, 06:50:32 AM
not have any errors on the install and use use the default theme.
Strange... i will test it... but i'm sure it should work...
Strange... i will test it... but i'm sure it should work...
[/quote]
oks tranks...
Uff Beta 3... hmmm there a lot of changes done since that Version... Normal you can upgrade if you try to upload the new package... or you go step by step though the upgrade. I've insert a upgrade for Beta 3 to 1.0.0. And than i insert in each package a upgrade ;).
You can also upgrade Version by Version if you like ;). (All packages since beta are on the mod page)
Thank you, I will try it this evening :)
This is a great mod, but I do have a few questions:
- Is there any option to show in forum statistic top members who gave and received ThankYou
- How can I see to which posts someone gave ThankYou (like received post list)
- Is there any way, to remove only 1 member from giving ThankYou?
this gives lot error to my site i cant even install it..
Quote from: ExSpirit on August 14, 2009, 05:37:11 AM
This is a great mod, but I do have a few questions:
- Is there any option to show in forum statistic top members who gave and received ThankYou
Quote
Depend on the Versions i think in 1.2.5 is the extra add on need attached to the post ;). In 2.0 Beta it's integrated.
- How can I see to which posts someone gave ThankYou (like received post list)
Quote
Not possible... i must left join the message table... and i don't like to do this ;).
- Is there any way, to remove only 1 member from giving ThankYou?
Quote
With permissions and deny everything is possible.
Create a group that is deny the thank you post and add the additional to this group ;).
Hiya bud
Would like to add this mod to the forum but not sure which package we need.
2.0 rc1-2 on an English forum.
PS If you say I gotta do manual edits a stinkbomb will be on its way.
- Is there any option to show in forum statistic top members who gave and received ThankYou
Quote
Depend on the Versions i think in 1.2.5 is the extra add on need attached to the post ;). In 2.0 Beta it's integrated.
Great, I installed it and it works :)
- How can I see to which posts someone gave ThankYou (like received post list)
Quote
Not possible... i must left join the message table... and i don't like to do this ;).
Oh that's bad :( If someone abuses "Thank you" system I can't find out which posts he gave it and remove them so that they are not counted. Is there at least any way to remove members Thank you with only one click?
- Is there any way, to remove only 1 member from giving ThankYou?
Quote
With permissions and deny everything is possible.
Create a group that is deny the thank you post and add the additional to this group ;).
Would be nice to have some settings for "ignore", but for now permission will have to do it ;)
Quote from: ExSpirit on August 15, 2009, 05:48:01 AM
- How can I see to which posts someone gave ThankYou (like received post list)
Quote
Not possible... i must left join the message table... and i don't like to do this ;).
Oh that's bad :( If someone abuses "Thank you" system I can't find out which posts he gave it and remove them so that they are not counted. Is there at least any way to remove members Thank you with only one click?
Sorry it's not possible... never thought it would be useful hmmm possible i can write a small helper for this. Because this could be a huge task to do.
Quote
- Is there any way, to remove only 1 member from giving ThankYou?
Quote
With permissions and deny everything is possible.
Create a group that is deny the thank you post and add the additional to this group ;).
Would be nice to have some settings for "ignore", but for now permission will have to do it ;)
It's easy to insert, i will see if it go into the script.
Quote from: TheListener on August 15, 2009, 05:40:02 AM
Hiya bud
Would like to add this mod to the forum but not sure which package we need.
2.0 rc1-2 on an English forum.
PS If you say I gotta do manual edits a stinkbomb will be on its way.
2.0 Beta 10 :P
- If someone abuses "Thank you" system I can't find out which posts he gave it and remove them so that they are not counted. Is there at least any way to remove members Thank you with only one click?
Quote from: ディン1031 on August 15, 2009, 08:40:15 AM
Sorry it's not possible... never thought it would be useful hmmm possible i can write a small helper for this. Because this could be a huge task to do.
Ouch, looks like I'll have to manually remove more than 100 random "Thanks" from a few members, else "Top 10" will be useless.
Ok have downloaded the mod BUT
several files need manual edits ( stinkbombs away)
Which parser should I use? ( maybe I should attach them for you to do :P )
Quote from: ExSpirit on August 15, 2009, 09:01:37 AM
- If someone abuses "Thank you" system I can't find out which posts he gave it and remove them so that they are not counted. Is there at least any way to remove members Thank you with only one click?
Quote from: ディン1031 on August 15, 2009, 08:40:15 AM
Sorry it's not possible... never thought it would be useful hmmm possible i can write a small helper for this. Because this could be a huge task to do.
Ouch, looks like I'll have to manually remove more than 100 random "Thanks" from a few members, else "Top 10" will be useless.
Okay here is Script that can delete from a specific member the complete Thank You Posts. Work only with 1.2.5 ;). (But you bring something in my mind that i need to rework in the 2.0 beta...)
Upload the File in the forums dir... or somewhere else, but than the file need a correct SSI.php path. Can only be used by admins. I need all rights for this =).
Bye
DIN1031
:D ohhhh this is great. Works like a charm ;D
Thank you very much.
I have edited post.php and added (after "Remove account") this:
Quote// If user is admin he can see "Remove all members ThankYou" button
if ($user_info['is_admin'])
$context['profile_areas']['profile_action']['areas']['ThankOMaticDeleteMemberThankYou'] = '<a href="ThankOMaticDeleteMemberThankYou.php?id_member=' . $memID . '">Remove all members ThankYou</a>';
So now in every members profile I have link to delete all members ThankYou, but it's opened as totally new page (without forum frame/template), how can I include it "in forum"?
Nice idea, it's only a helper so it's you're choice how you use it =).
After executing the package in SMF 2.0 RC1.2 I received this
"Unknown column 'thx.member_name' in 'field list'
File: /home3/insanem2/public_html/bamanation/Sources/ThankYouPost.php
Line: 702 "
I saw this error in this thread prior and it was suggested to run the install_2.x.x.php file. I did that and it said it created the database successfully.
But I am still receiving the error above.
Any suggestions?
Hmmmmm did you have an old thank-o-matic table? :)
You can rename the field memberName to member_name in the {$db_prefix}thank_you_post table insider you SQL table. It's strange normal the package convert the old table to the new version...
Bye
DIN1031
Hello there,
i finally installed this important mod, thanks for making such great mod.
but the layout of thank you area in firefox is not ideal, pls, look at the attached pic, it will look much better if the whole thank you area move a little bit to the left (thus to align with the message text) and to the bottom.
by the way, "Follow members gave a thank to your post:" and "For this post, 2 members gave a thank you! ", is it possible to delete "Follow members gave a thank to your post:", because it seems to me that it is needlessly repetitive.
please, anybody can help? thanks!!!
Hmmm i i think right you can disbable the link. Or you change the function template_thank_you_post on the index.template.php.
Bye
DIN1031
Quote from: ディン1031 on August 24, 2009, 12:42:44 AM
Hmmm i i think right you can disbable the link. Or you change the function template_thank_you_post on the index.template.php.
Bye
DIN1031
Thanks. But where can i disable the link? and where can i change the function template_thank_you_post ?
... template_thank_you_post in the index.template.php.
Bye
DIN1031
how make it so you cant remove thank you and it keeps saying # Thank YouThank You
then when i click it says # Lock Thank YouLock Thank You
# Delete Thank YouDelete Thank You
Update the images on your costum theme and insert them there...
Quote from: ディン1031 on August 24, 2009, 12:42:44 AM
Hmmm i i think right you can disbable the link.
Bye
DIN1031
DIN1031, can you tell me where to disable the link? I searched in the admin control panel but didn't find anything that can disable the link. thank you!
Quote from: neverhurry on August 27, 2009, 03:04:38 PM
Quote from: ディン1031 on August 24, 2009, 12:42:44 AM
Hmmm i i think right you can disbable the link.
Bye
DIN1031
DIN1031, can you tell me where to disable the link? I searched in the admin control panel but didn't find anything that can disable the link. thank you!
Sorry mistake by me... i think i thought i insert that... but somehow...
For which version do you like to know this?
Quote from: ディン1031 on August 28, 2009, 02:01:34 AM
Quote from: neverhurry on August 27, 2009, 03:04:38 PM
Quote from: ディン1031 on August 24, 2009, 12:42:44 AM
Hmmm i i think right you can disbable the link.
Bye
DIN1031
DIN1031, can you tell me where to disable the link? I searched in the admin control panel but didn't find anything that can disable the link. thank you!
Sorry mistake by me... i think i thought i insert that... but somehow...
For which version do you like to know this?
Sorry, I am using smf 2.0 RC1.2.
Is it possible too through css modification to achieve the same effect? Thanks.
Quote from: neverhurry on August 28, 2009, 02:30:16 AM
Quote from: ディン1031 on August 28, 2009, 02:01:34 AM
Quote from: neverhurry on August 27, 2009, 03:04:38 PM
Quote from: ディン1031 on August 24, 2009, 12:42:44 AM
Hmmm i i think right you can disbable the link.
Bye
DIN1031
DIN1031, can you tell me where to disable the link? I searched in the admin control panel but didn't find anything that can disable the link. thank you!
Sorry mistake by me... i think i thought i insert that... but somehow...
For which version do you like to know this?
Sorry, I am using smf 2.0 RC1.2.
Is it possible too through css modification to achieve the same effect? Thanks.
Search in the index.template.php for:
Quote
echo '
<a href="', $thankYouPost['href'] ,'">
', $txt['thank_you_link_beforecounter'], ' ', $thankYouPost['counter'], ' ', ($thankYouPost['counter'] == 1 ? $txt['thank_you_link_member'] : $txt['thank_you_link_members']).' '.($thankYouPost['counter'] == 1 ? $txt['thank_you_link_aftercounter'] : $txt['thank_you_link_aftercounters']), '
</a>';
and change it, too.
Quote
/* echo '
<a href="', $thankYouPost['href'] ,'">
', $txt['thank_you_link_beforecounter'], ' ', $thankYouPost['counter'], ' ', ($thankYouPost['counter'] == 1 ? $txt['thank_you_link_member'] : $txt['thank_you_link_members']).' '.($thankYouPost['counter'] == 1 ? $txt['thank_you_link_aftercounter'] : $txt['thank_you_link_aftercounters']), '
*/ </a>';
Normal the link should not appear anymore ;).
Dear DIN:
what i would like to do is to delete "Follow members gave a thank to your post:" this line, can you help?
I've installed and it's working perfectly, so thanks for that!
Would you like a Dutch translation of this mod? If yes contact me through PM.
J
¿Can any one make something like that for the stats?(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg188.imageshack.us%2Fimg188%2F9884%2Fss15.jpg&hash=be96778e52ad0a1e9d7fbba155c941954ecc3c59)
:'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'(
Quote from: neverhurry on August 23, 2009, 06:41:21 AM
Hello there,
i finally installed this important mod, thanks for making such great mod.
but the layout of thank you area in firefox is not ideal, pls, look at the attached pic, it will look much better if the whole thank you area move a little bit to the left (thus to align with the message text) and to the bottom.
please, anybody can help? thanks!!!
Dear DIN,
I checked this mod in smf 1.1.X, i found out there is table, but in smf 2.0 the table disappeared. Can you help to rewrite the css code in style.css or anything you think that can help, to solve this problem? The layout in smf 2.0 looks terrible. Thanks!
Quote from: neverhurry on August 29, 2009, 05:19:22 AM
Quote from: neverhurry on August 23, 2009, 06:41:21 AM
Hello there,
i finally installed this important mod, thanks for making such great mod.
but the layout of thank you area in firefox is not ideal, pls, look at the attached pic, it will look much better if the whole thank you area move a little bit to the left (thus to align with the message text) and to the bottom.
please, anybody can help? thanks!!!
Dear DIN,
I checked this mod in smf 1.1.X, i found out there is table, but in smf 2.0 the table disappeared. Can you help to rewrite the css code in style.css or anything you think that can help, to solve this problem? The layout in smf 2.0 looks terrible. Thanks!
Possible but i will change the style if the offical RC2 is avaible because i will not change it until the semantic theme is available... and than i think it will be easier to edit this thing =).
And you're right about the change of this line... possible i will think about a different way.
Quote from: silber112 on August 28, 2009, 04:10:03 PM
¿Can any one make something like that for the stats?
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg188.imageshack.us%2Fimg188%2F9884%2Fss15.jpg&hash=be96778e52ad0a1e9d7fbba155c941954ecc3c59)
:'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'(
If you use 1.2.5 than you can install the addon.
If you use 2.0 Beta 10 (for SMF 2) than you can enable it ;).
Bye
DIN1031
Thanks, I can wait, I wish it could be fast.... :(
Quote from: neverhurry on August 30, 2009, 04:43:49 PM
Thanks, I can wait, I wish it could be fast.... :(
Yes i know. But that's something i want do only once and with the semantic theme i need to change a lot of the Theme related things, so i can add the option to remove this informations or make it possible to replace with other things ;).
Quote from: ディン1031 on August 30, 2009, 01:30:58 PM
Quote from: neverhurry on August 29, 2009, 05:19:22 AM
Quote from: neverhurry on August 23, 2009, 06:41:21 AM
Hello there,
i finally installed this important mod, thanks for making such great mod.
but the layout of thank you area in firefox is not ideal, pls, look at the attached pic, it will look much better if the whole thank you area move a little bit to the left (thus to align with the message text) and to the bottom.
please, anybody can help? thanks!!!
Dear DIN,
I checked this mod in smf 1.1.X, i found out there is table, but in smf 2.0 the table disappeared. Can you help to rewrite the css code in style.css or anything you think that can help, to solve this problem? The layout in smf 2.0 looks terrible. Thanks!
Possible but i will change the style if the offical RC2 is avaible because i will not change it until the semantic theme is available... and than i think it will be easier to edit this thing =).
And you're right about the change of this line... possible i will think about a different way.
Quote from: silber112 on August 28, 2009, 04:10:03 PM
¿Can any one make something like that for the stats?
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg188.imageshack.us%2Fimg188%2F9884%2Fss15.jpg&hash=be96778e52ad0a1e9d7fbba155c941954ecc3c59)
:'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'(
If you use 1.2.5 than you can install the addon.
If you use 2.0 Beta 10 (for SMF 2) than you can enable it ;).
Bye
DIN1031
The stats mod ONLY puts the people that many thanks, I what to put stats from the POST and TOPICS that haves the most thanks NOT users.
¿Is it posible?
i get error with this Sources/Display.php
i use this pack version
ThankOMatic125.zip
SMF version: SMF 1.1.9
Would be great if anyone could help me solve it its a damn cool MOD! 8)
Quote from: silber112 on September 02, 2009, 04:01:08 PM
Quote from: ディン1031 on August 30, 2009, 01:30:58 PM
Quote from: neverhurry on August 29, 2009, 05:19:22 AM
Quote from: neverhurry on August 23, 2009, 06:41:21 AM
Hello there,
i finally installed this important mod, thanks for making such great mod.
but the layout of thank you area in firefox is not ideal, pls, look at the attached pic, it will look much better if the whole thank you area move a little bit to the left (thus to align with the message text) and to the bottom.
please, anybody can help? thanks!!!
Dear DIN,
I checked this mod in smf 1.1.X, i found out there is table, but in smf 2.0 the table disappeared. Can you help to rewrite the css code in style.css or anything you think that can help, to solve this problem? The layout in smf 2.0 looks terrible. Thanks!
Possible but i will change the style if the offical RC2 is avaible because i will not change it until the semantic theme is available... and than i think it will be easier to edit this thing =).
And you're right about the change of this line... possible i will think about a different way.
Quote from: silber112 on August 28, 2009, 04:10:03 PM
¿Can any one make something like that for the stats?
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg188.imageshack.us%2Fimg188%2F9884%2Fss15.jpg&hash=be96778e52ad0a1e9d7fbba155c941954ecc3c59)
:'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'(
If you use 1.2.5 than you can install the addon.
If you use 2.0 Beta 10 (for SMF 2) than you can enable it ;).
Bye
DIN1031
The stats mod ONLY puts the people that many thanks, I what to put stats from the POST and TOPICS that haves the most thanks NOT users.
¿Is it posible?
Yes it's possible ;). Hmmm and a very good idea, i will make an addon for this... but i need a little bit time for it :). (Because i'm a lot on the way, at the moment)
The images arent showing on the thread, not even in the default theme. And how do I update the links in the custom theme 2.
Thanks
which one do i use for 2.0 RC1.2 No one works for that one :(
8: Undefined index: thank_you_post_enable
When uninstalled, its appear in all forum error
Quote from: Nameless? on September 13, 2009, 08:33:25 AM
which one do i use for 2.0 RC1.2 No one works for that one :(
2.0 Beta 10 is the only one that work together with SMF 2.
Quote from: ~Unkn0wn~ on September 10, 2009, 06:04:27 PM
The images arent showing on the thread, not even in the default theme. And how do I update the links in the custom theme 2.
Thanks
First you need to make the changes on the Costum Theme and it could be possible that the images are not exist in you language folder.
The other thing could be that you did not enable the modifciation on the boards and did not setup permissions.
Bye
DIN1031
Can you see the error I get when I uninstalled this mod.
8: Undefined index: thank_you_post_enable
Appears in forum error log.
Could you please tell me, how can i set Ajax support for this mod?
I mean, page not refreshs on each "Thanks" click...
Hi, im sorry my English is bad, I hope can help me.
When attempt to give to maintenance "Recalculate Thank-O-Matic stats" and "Run Task Now" The page loads until 17% and soon it becomes totally in blank, in step 1
I need to recount "thank you" in the members. How I can make it of way manual?
Quote from: darklord2 on September 14, 2009, 05:00:29 PM
Could you please tell me, how can i set Ajax support for this mod?
I mean, page not refreshs on each "Thanks" click...
Work only with the 2.0 Beta and you can enable it in the Settings ;).
Quote from: [Dn] on September 17, 2009, 08:12:19 PM
Hi, im sorry my English is bad, I hope can help me.
When attempt to give to maintenance "Recalculate Thank-O-Matic stats" and "Run Task Now" The page loads until 17% and soon it becomes totally in blank, in step 1
I need to recount "thank you" in the members. How I can make it of way manual?
No way to do it Manual... there are so many things to recalculate... as far i know i insert a way to reduce the amount of the loaded data... i need to look at the code for this ;).
Change in the ThankYou-Maintaince.php
// If you make this higher value it could be faster recount, please do this only if you now what you do :P
$increment = 250;
If you reduce this number to 100 it should lower the queries and could be possible reduce the load time so that not a blank page appear =).
Every part have such value to make it better workable with an server.
Bye
DIN1031
Quote from: ディン1031 on September 05, 2009, 05:47:43 PM
Quote from: silber112 on September 02, 2009, 04:01:08 PM
Quote from: ディン1031 on August 30, 2009, 01:30:58 PM
Quote from: neverhurry on August 29, 2009, 05:19:22 AM
Quote from: neverhurry on August 23, 2009, 06:41:21 AM
Hello there,
i finally installed this important mod, thanks for making such great mod.
but the layout of thank you area in firefox is not ideal, pls, look at the attached pic, it will look much better if the whole thank you area move a little bit to the left (thus to align with the message text) and to the bottom.
please, anybody can help? thanks!!!
Dear DIN,
I checked this mod in smf 1.1.X, i found out there is table, but in smf 2.0 the table disappeared. Can you help to rewrite the css code in style.css or anything you think that can help, to solve this problem? The layout in smf 2.0 looks terrible. Thanks!
Possible but i will change the style if the offical RC2 is avaible because i will not change it until the semantic theme is available... and than i think it will be easier to edit this thing =).
And you're right about the change of this line... possible i will think about a different way.
Quote from: silber112 on August 28, 2009, 04:10:03 PM
¿Can any one make something like that for the stats?
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg188.imageshack.us%2Fimg188%2F9884%2Fss15.jpg&hash=be96778e52ad0a1e9d7fbba155c941954ecc3c59)
:'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'(
If you use 1.2.5 than you can install the addon.
If you use 2.0 Beta 10 (for SMF 2) than you can enable it ;).
Bye
DIN1031
The stats mod ONLY puts the people that many thanks, I what to put stats from the POST and TOPICS that haves the most thanks NOT users.
¿Is it posible?
Yes it's possible ;). Hmmm and a very good idea, i will make an addon for this... but i need a little bit time for it :). (Because i'm a lot on the way, at the moment)
Thanks a lot, I am waiting for it.Another question, every time I do the recount of the thank you at the mantenience, when it finish a page "NOT FOUND" is displayed... ¿Is it normal?
Thanks to respond.
I have changed:
// If you have a good and fast server you can higher this number, if you have a slow server reduce it ;)
$minimumSeconds = 1;
// If you make this higher value it could be faster recount, please do this only if you now what you do :P
$increment = 10;
the process delays much more, but when arriving at step 1 it becomes to interrupt.
I need to recount Thank-you in members and have seen that it makes in step 1 and 2
There is no way to only make that task separately?
Quote from: silber112 on September 19, 2009, 08:56:51 AM
Another question, every time I do the recount of the thank you at the mantenience, when it finish a page "NOT FOUND" is displayed... ¿Is it normal?
No :x
Quote from: [Dn] on September 20, 2009, 10:19:29 PM
Thanks to respond.
I have changed:
// If you have a good and fast server you can higher this number, if you have a slow server reduce it ;)
$minimumSeconds = 1;
// If you make this higher value it could be faster recount, please do this only if you now what you do :P
$increment = 10;
the process delays much more, but when arriving at step 1 it becomes to interrupt.
I need to recount Thank-you in members and have seen that it makes in step 1 and 2
There is no way to only make that task separately?
What exactly need to be recounted? :X
Bye
DIN1031
I am ancountering a problem with a feature on this mod. The feature for:
"Add 1 Point the user Karma, if someone give a thank you to the post"
When this is turned on, and I try to "delete" someones thank you I get this error:
QuoteWrong value type sent to the database. Integer expected. (p_karma_good)
And this error in my logs:
Wrong value type sent to the database. Integer expected. (p_karma_good)
Function: updateMemberData
File: /home/****/public_html/Sources/Subs.php
Line: 545
and then I get this in the post I tried to delete the thank you from:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi37.tinypic.com%2Fizrgnn.png&hash=72661fb3684d004f576b99197ac0f92c1a3db5ef)
I'm having a problem. I tried manually making the changes to the files it errored, but couldn't find the "find" text. I'm using SMF 1.1.10 and default theme.
1. Extract File ./Themes/default/images/buttons/thank_you_b.gif
2. Extract File ./Themes/default/images/english/thank_you.gif
3. Extract File ./Themes/default/images/english/thank_you_delete.gif
4. Extract File ./Themes/default/images/english/thank_you_lock1.gif
5. Extract File ./Themes/default/images/english/thank_you_lock2.gif
6. Extract File ./Sources/ThankYouPost.php
7. Extract File ./Themes/default/ThankYouPost.template.php
8. Extract File ./Themes/default/languages/ThankYouPost.english.php
9. Execute Code install_1.x.x.php
10. Execute Modification ./index.php Test successful
11. Execute Modification ./SSI.php Test successful
12. Execute Modification ./ssi_examples.php Test successful
13. Execute Modification ./Sources/Display.php Test successful
14. Execute Modification ./Sources/Load.php Test successful
15. Execute Modification ./Sources/ManageBoards.php Test failed
16. Execute Modification ./Sources/ManagePermissions.php Test successful
17. Execute Modification ./Sources/ModSettings.php Test successful
18. Execute Modification ./Sources/MoveTopic.php Test successful
19. Execute Modification ./Sources/Profile.php Test successful
20. Execute Modification ./Sources/RemoveTopic.php Test successful
21. Execute Modification ./Sources/Security.php Test successful
22. Execute Modification ./Sources/SplitTopics.php Test successful
23. Execute Modification ./Sources/Subs-Boards.php Test successful
24. Execute Modification ./Themes/default/Admin.template.php Test successful
25. Execute Modification ./Themes/default/Display.template.php Test successful
26. Execute Modification ./Themes/default/ManageBoards.template.php Test successful
27. Execute Modification ./Themes/default/Profile.template.php Test successful
28. Execute Modification ./Sources/Subs.php Test successful
29. Execute Modification ./Themes/default/languages/Admin.english.php Test successful
30. Execute Modification ./Themes/default/languages/index.english.php Test successful
31. Execute Modification ./Themes/default/languages/ManageBoards.english.php Test successful
32. Execute Modification ./Themes/default/languages/ManagePermissions.english.php Test successful
33. Execute Modification ./Themes/default/languages/Errors.english.php Test successful
34. Execute Modification ./Themes/default/languages/ModSettings.english.php Test failed
35. Execute Modification ./Themes/default/languages/Profile.english.php Test successful
Quote from: Kimmie on September 23, 2009, 01:38:24 PM
I am ancountering a problem with a feature on this mod. The feature for:
"Add 1 Point the user Karma, if someone give a thank you to the post"
When this is turned on, and I try to "delete" someones thank you I get this error:
QuoteWrong value type sent to the database. Integer expected. (p_karma_good)
And this error in my logs:
Wrong value type sent to the database. Integer expected. (p_karma_good)
Function: updateMemberData
File: /home/****/public_html/Sources/Subs.php
Line: 545
and then I get this in the post I tried to delete the thank you from:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi37.tinypic.com%2Fizrgnn.png&hash=72661fb3684d004f576b99197ac0f92c1a3db5ef)
Thanks for the info i will look into this.
Quote
I'm having a problem. I tried manually making the changes to the files it errored, but couldn't find the "find" text. I'm using SMF 1.1.10 and default theme.
What can you not find?
Hello!
Thank you for this great mod.
If I may, I've attached v1.2.5 with babylon theme support (tested only on SMF v1.1.10). Since folder babylon/images/buttons/ doesn't exist by default, it might ask you provide FTP login info to create it, unless you create that folder manually.
P.S.
IMO it would be less confusing when renamed "Open thank you" to "Unlock thank you".
Quote from: ディン1031 on September 22, 2009, 06:29:03 AM
Quote from: [Dn] on September 20, 2009, 10:19:29 PM
Thanks to respond.
I have changed:
// If you have a good and fast server you can higher this number, if you have a slow server reduce it ;)
$minimumSeconds = 1;
// If you make this higher value it could be faster recount, please do this only if you now what you do :P
$increment = 10;
the process delays much more, but when arriving at step 1 it becomes to interrupt.
I need to recount Thank-you in members and have seen that it makes in step 1 and 2
There is no way to only make that task separately?
What exactly need to be recounted? :X
Bye
DIN1031
I need to recount the amount of thanks that gave and received each member
Thank
Quote from: ディン1031 on September 18, 2009, 04:36:44 AM
Quote from: darklord2 on September 14, 2009, 05:00:29 PM
Could you please tell me, how can i set Ajax support for this mod?
I mean, page not refreshs on each "Thanks" click...
Work only with the 2.0 Beta and you can enable it in the Settings ;).
Any plans add this for SMF 1.x version?
Quote from: V@no on September 28, 2009, 08:39:11 PM
Quote from: ディン1031 on September 18, 2009, 04:36:44 AM
Quote from: darklord2 on September 14, 2009, 05:00:29 PM
Could you please tell me, how can i set Ajax support for this mod?
I mean, page not refreshs on each "Thanks" click...
Work only with the 2.0 Beta and you can enable it in the Settings ;).
Any plans add this for SMF 1.x version?
No, i changed the complöete system in SMF 2 that this is possible. So i will never back port it ;).
Quote
I need to recount the amount of thanks that gave and received each member
Hmmm at least it would be possible... i think i must try something...
Hello , i get 2 errors in the log when deleting a thank you. The deleting works fine i guess , but i dont know why the errors show.
8: Undefined index: id_thx_post
File: /opt/lampp/htdocs/yforum/Sources/ThankYouPost.php
Line: 1497
8: Undefined index: thank_you_post_last_id
File: /opt/lampp/htdocs/yforum/Sources/ThankYouPost.php
Line: 1497
that line is ==>1497: if ($modSettings['id_thx_post'] == $values['thank_you_post_last_id'])
also is it possible to show the thank you under the post count or something like that?
hi im tring to install your mod.. but i have a problem
nstalling this package will perform the following actions:
9. Execute Code install_1.x.x.php
10. Execute Modification ./index.php Test successful
11. Execute Modification ./SSI.php Test successful
12. Execute Modification ./ssi_examples.php Test successful
13. Execute Modification ./Sources/Display.php Test failed
im installing 1.2.5 on smf 1.1.10.. can you help me please?
Sorry for my lack of information in my last post. Here's an update, with more information.
SMF 1.1.10
Default Theme
During the installation of Thank-O-Matic (1.2.5), the following files failed: ManageBoards.php, and ModSettings.english.php. I intended to manually edit them, so I went through with the installation anyway. The forum's still fully functional, so no trouble there. I went in to edit the files manually (with the package parser), and I couldn't find some of the "finds."
In ManageBoards.php, one of the things you're suppost to find is:
'permission_mode' => 'normal',
You're suppost to replace it with:
'thank_you_post_enable' => 0,
I could not find the permission_mode one.
In ModSettings.english.php, one of the things you're suppost to find is:
?>
Then, you must add a bunch of stuff before. Can't find it.
Does anybody know how to help me? Attached are the trouble files, if that helps.
I have big time problem with this mod:
First I have problem un-installing it with
having deinstall and still in the forum/Configuration/features and options menu
second:
13. Execute Modification ./Sources/Load.php Test failed
The rest was successful
I think it went wrong at the installation with the same failled
I have SMF 1.1.10 and I tried to install and desinstall many times and different version of this mod
Now I get this when i go to forum/Configuration/features and options
Fatal error: Cannot redeclare modifythankyoupostsettings() (previously declared in /home/a8374913/public_html/forum/Sources/ModSettings.php:408) in /home/a8374913/public_html/forum/Sources/ModSettings.php on line 478
or this now:
Fatal error: Cannot redeclare modifythankyoupostsettings() (previously declared in /home/a8374913/public_html/forum/Sources/ModSettings.php:402) in /home/a8374913/public_html/forum/Sources/ModSettings.php on line 472
Do I have to re-install the whole forum?(I dont want to do that)
What can I do?I want to completely uninstal it
Please help
I had the same problem when installed it twice...solved it by doing the following:
1) open Packages/installed.list with text editor and copy line where it says "Thank-O-Matic" to clipboard
2) uninstall Thank-O-Matic mod from packages manager
3) open Packages/installed.list again, "Thank-O-Matic" line should not be there anymore. Paste the line from previous file. Save the file.
4) again uninstall Thank-O-Matic mod from packages manager
I get this in the list with texeditor:
TinyPortal|^|tp|^|bloc:tinyportal|^|1.083
s-c|^|s-c.zip|^|islam2hamy:s-c|^|1.0
SoLoSMiLeYS|^|SoLoSMiLeYS1.0.zip|^|sologhost:solosmileys|^|1.0
Your Last Visit|^|YourLastVisit_v1_1.zip|^|M-DVD:YourLastVisit|^|1.1
Linkback|^|linkback.zip|^|Arantor:Linkback|^|1.0
Sticky First Post (extends sticky topic)|^|stickyFirstPost_1.3.2.zip|^|kuklovod:extendedStickyTopic|^|1.3.2
Allow Access while in Maintenance Mode|^|allow_access_maint_mode.zip|^|Arantor:AllowAccessInMaintMode|^|1.0
Do not enter|^|guests_can_not_enter_topics.zip|^|SmokyBlue:Do_not_enter_topics|^|1.1
Unread by category|^|ubycat.zip|^|unreadbycat|^|1.0
reCAPTCHA for SMF|^|reCAPTCHAforSMF_0-9-6.tar.gz|^|motokochan:recaptchaforsmf|^|0.9.6
Board Message Icon|^|BoardMessageIcon.zip|^|cakal93:bmi|^|1.0
Copy Topics|^|copytopics_v1-5-1.zip|^|karlbenson:copytopics|^|1.5.1
Reply Button in All Posts|^|reply-in-post1-1.zip|^|KahneFan:reply_in_post|^|1.1
AvatarSelect|^|avatarselect.zip|^|vbgamer45:AvatarSelect|^|1.2.1
No More Ugly Avatar Scrollbars|^|no_more_avatar_scrollbars_1.0.zip|^|Deprecated:no_more_avatar_scrollbars|^|1.0
PageDropdown|^|page_dropdown.zip|^|Arantor:PageDropdown|^|1.1
Mark Selected Topics As Read|^|MarkSelectedAsRead.zip|^|jaybachatero:mark_selected_as_read|^|1.0
Registered Links|^|reglinks.zip|^|vbgamer45:RegLinks|^|2.0
Online status on login|^|OnlineStatusOnLogin_1-2.zip|^|Kays:OnlineStatusOnLogin|^|1.2
Reason For Editing Mod|^|Reason_for_Editing_v2.0.zip|^|winrules:EditReason|^|2.0
InfoBox|^|InfoBox.zip|^|Daydreamer:InfoBox|^|0.1
Thank You Mod|^|ThankYouMod123.zip|^|din1031:ThankYou|^|1.2.3
Signature Settings Mod|^|signaturelimits1-1.zip|^|CustomizeTeam:SignatureSettings|^|1.1
Quick Upload|^|quick_upload2.1.zip|^|Elmacik:QuickUpload|^|2.1
Enhanced Calendar|^|Calendar_1-1.zip|^|daniel15:Calendar|^|1.1
Event Registration Mod|^|ERM_0.17BETA.zip|^|kripz:EventRegistrationMod|^|0.17 BETA
TextareaResizer|^|TextareaResizer_1.1.zip|^|digger:TextareaResizer|^|1.1
Attachments Positioning|^|Attachments_Positioning_v1.2.zip|^|quake101:attachmentspositioning|^|1.2
SMF Gallery Lite|^|SMFGallery2.0.8.zip|^|vbgamer45:smfgallery|^|2.0.8
Topic Solved|^|tsolved_v1.22.tar.gz|^|grudge:topic_solved|^|1.22
Thank you but No "thank o matic"!
So I cannot continue
then, skip 1 and 2
try this line then:
Thank-O-Matic|^|ThankOMatic125.zip|^|din1031:ThankOMatic|^|1.2.5
(assuming you have ThankOMatic125.zip in Packages folder)
[EDIT]
you have old "Thank you mod" installed..
Thank You Mod|^|ThankYouMod123.zip|^|din1031:ThankYou|^|1.2.3
That must be the reason...
Nothing works
Cannot get in the setting so I cannot disable Thank you mod so I cant uninstall it!
I am screw!
Ok I am back but still cannot uninstall Thank o Matic
This mod is a nightmare!
I want it OUT!
tkz
Things that you have to fix for the next realise:
- If I delite a user, delite all his thaks TOO.
- Add a link to the profile to see where a user gived a thank you
- Add to STATS the most thanked Post and Topics.
Quote from: enotar on October 03, 2009, 07:26:16 PM
Ok I am back but still cannot uninstall Thank o Matic
This mod is a nightmare!
I want it OUT!
tkz
It logical if you install it twice... the easiest way to solve the problem is to remove the double insert functions in the ModSettings.php.
Quote from: silber112 on October 03, 2009, 10:04:02 PM
Things that you have to fix for the next realise:
- If I delite a user, delite all his thaks TOO.
- Add a link to the profile to see where a user gived a thank you
- Add to STATS the most thanked Post and Topics.
For which Version? And this is not something to fix :P it would be somethings that improve it.
Quote
- Add a link to the profile to see where a user give a thank you
Normal this is possible, as far i think. Which Version did you use?
Quote
- Add to STATS the most thanked Post and Topics.
Yeah i can do that, i programed something that could do that, but it will be only in the 2.0 Version :P
Quote
- If I delite a user, delite all his thaks TOO.
Hmmm i recount everything that have something to do with that. But i will see normal it should be no problem because i reset anyway the counters so this should be not a problem.
Quote from: ディン1031 on September 29, 2009, 06:35:21 AM
Quote from: V@no on September 28, 2009, 08:39:11 PM
Any plans add AJAX for SMF 1.x version?
No, i changed the complöete system in SMF 2 that this is possible. So i will never back port it ;).
Would you change you mind if I post the changes needed?
So far I've successfully ported your SMF2 ThankYouPost.php to work with SMF1.
I got to the point that ajax works, the only thing I'm missing is additional setting to enable/disable ajax. At this stage I just force it enable in Load.php...which pretty much is enough for my needs :)
I will not do it, i want make this feature only for 2.0 ;).
Hmmm you did bring it to work oO there should be some things missing if this really the case.
But for the Ajax Work i can give you some hints:
There is java script part in the display.template.php that needed to be insert there (i'm not sure if he variables are the same). You also need to insert a function for the template_thank_you_post inside the index.template.php. Also the button need a little tweak but you can see that in the display.template.php. Hmmm than you need to insert the ajax thank you function in the index.php so that could be used at least ;). (It handle my ajax stuff and make it readable for the javascript xD).
So i think i can not give more tips ;). But feel free to ask me about it via pm. =)
Thank you for the tips.
I'm having a hard time figure out how can I get proper permissions for "post a thank you", lock and delete for a specific message...
Since any actions for a single post supply topic id, msg id and thx id, based on these values what would be a routine to get new permissions?
Having that data, your AJAX function could be easily improved if supplied to javascript new permissions and possible some other additional data after the action (to show/hide/change buttons, change "thank you" numbers of the person received "thank you", etc)
Thank you.
I have a problem Thanks O Matic, I put a Button in all POST Thanks Qusiera nothing more in the first message is that possible?
Quote from: V@no on October 05, 2009, 09:57:24 PM
Thank you for the tips.
I'm having a hard time figure out how can I get proper permissions for "post a thank you", lock and delete for a specific message...
Since any actions for a single post supply topic id, msg id and thx id, based on these values what would be a routine to get new permissions?
Having that data, your AJAX function could be easily improved if supplied to javascript new permissions and possible some other additional data after the action (to show/hide/change buttons, change "thank you" numbers of the person received "thank you", etc)
Thank you.
Hmmm my ajax take the SMF Permissions so that is okay for me how it works at the moment :).
Quote from: jeisy on October 06, 2009, 12:02:24 AM
I have a problem Thanks O Matic, I put a Button in all POST Thanks Qusiera nothing more in the first message is that possible?
In the new Version it's implementet but in the old Version this is not possible. You can use a trick so that user can post only to the first post a thank you. (I postet it in this thread... hope i find it *g*)
Thanks to you when you please notify me that trick.
Quote from: ディン1031 on October 06, 2009, 12:17:10 AM
Hmmm my ajax take the SMF Permissions so that is okay for me how it works at the moment :).
Yes, but it hides "thank you" button and if user has permissions to lock/delete "thank you" it doesn't show the needed buttons without page refresh - IMO it just not right ;)
Currently TOM outputs the text and JS prints whatever was outputed. It could be expanded to output key-separated text:
buttonThankYouPermission|buttonLockPermission|buttonDeletePermission|textType 0=noError, 1=Error|text
0|1|1|0|the rest of the text with list of who said thank you, or error message
or JSON (http://json.org/js.html) type
This way it would allow supply javascript part with additional information, make it more "friendly".
And besides, your ThankYouPostAJAX() function was already built with future expansion in mind, because it's already supports "list" and "lock" which is not used in current version ;)
To expand it to use "delete" is piece of cake, it's just to get the permissions I got stuck at...
P.S.
Sorry for being pushy...
Yeah i know the lock is implemented in the code, i only had no time to integrate it in the script. My Problem here is the button need to be changed between close and open and each time if i change the text they are not correct formated. Possible in the new theme it could be work.
Quote from: jeisy on October 06, 2009, 12:27:35 AM
Thanks to you when you please notify me that trick.
Hmmm, let's see if i can find it :X.
http://www.simplemachines.org/community/index.php?topic=176565.msg2046126#msg2046126
Quote from: Kimmie on September 23, 2009, 01:38:24 PM
I am ancountering a problem with a feature on this mod. The feature for:
"Add 1 Point the user Karma, if someone give a thank you to the post"
When this is turned on, and I try to "delete" someones thank you I get this error:
QuoteWrong value type sent to the database. Integer expected. (p_karma_good)
And this error in my logs:
Wrong value type sent to the database. Integer expected. (p_karma_good)
Function: updateMemberData
File: /home/****/public_html/Sources/Subs.php
Line: 545
and then I get this in the post I tried to delete the thank you from:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi37.tinypic.com%2Fizrgnn.png&hash=72661fb3684d004f576b99197ac0f92c1a3db5ef)
I know your busy but I just wanted to see if there was any updates on this issue
thanks :)
Oh thank you ;D i forgot to fix that.
The current fix is:
ThankYouPost.php (Only 2.0 Versions)
Quote from: Search for
if (!empty($modSettings['karmaMode']) && !empty($modSettings['thankYouPostIncraseKarmaGood']))
updateMemberData($ID_MEMBER_POST, array('karma_good' => 'karma_good - '.count($poster[$id_msg])));
Quote from: Replace with
updateMemberData($ID_MEMBER_POST, array('thank_you_post_became' => 'thank_you_post_became - '.count($poster[$id_msg])));
if (!empty($modSettings['karmaMode']) && !empty($modSettings['thankYouPostIncraseKarmaGood']))
{
// Call his current Karma Points...
global $user_profile;
loadMemberData(array($ID_MEMBER_POST));
if (!empty($user_profile[$ID_MEMBER_POST]))
{
$newKarma = $user_profile[$ID_MEMBER_POST]['karma_good'] - count($poster[$id_msg]);
updateMemberData($ID_MEMBER_POST, array('karma_good' => (int) $newKarma));
}
}
Bye
DIN1031
Quote from: ExWizzard on September 29, 2009, 07:52:30 AM
Hello , i get 2 errors in the log when deleting a thank you. The deleting works fine i guess , but i dont know why the errors show.
8: Undefined index: id_thx_post
File: /opt/lampp/htdocs/yforum/Sources/ThankYouPost.php
Line: 1497
8: Undefined index: thank_you_post_last_id
File: /opt/lampp/htdocs/yforum/Sources/ThankYouPost.php
Line: 1497
that line is ==>1497: if ($modSettings['id_thx_post'] == $values['thank_you_post_last_id'])
also is it possible to show the thank you under the post count or something like that?
Hello , still have this problem , also another problem is that in member list the received and given thank you names on top are making that line double on all pages except first
Quote
Hello , still have this problem , also another problem is that in member list the received and given thank you names on top are making that line double on all pages except first
I don't understand this oO i tested it work fine with all pages... picture? Example Link?
The other thing... Yes i've fixed the bug ;).
I must look how i fixed it :X
Quote
// Reset? Nothing to do if allready set :D
if ($values['id_thx_post'] == $modSettings['thank_you_post_last_id'])
return true;
That is the new part, you need only change the one line ;).
Bye
DIN1031
i have sent u the login details in pm
Quote from: ExWizzard on October 07, 2009, 01:11:04 PM
i have sent u the login details in pm
I sent you a possible fix, in your theme case.
Hi Dear DIN
I could not install ThankOMatic20Beta9Fix (2.0 RC1).zip on SMF 2.0 RC1.2.
Is there a problem with this version of SMF?
The messages in the install_2.x.x.php are appeared when I run it:
"Size of column (If applicable) - for example 255 for a large varchar, 10 for an int etc. If not set SMF will pick a size,...."
I appreciated your work.
Quote from: mamintoosi on October 08, 2009, 03:38:22 AM
Hi Dear DIN
I could not install ThankOMatic20Beta9Fix (2.0 RC1).zip on SMF 2.0 RC1.2.
Is there a problem with this version of SMF?
The messages in the install_2.x.x.php are appeared when I run it:
"Size of column (If applicable) - for example 255 for a large varchar, 10 for an int etc. If not set SMF will pick a size,...."
I appreciated your work.
?_? where appear this?
I installed it yesterday and it work without problems so i can not see a problem at the moment.
Dear Din
The previous messages have been appeared when I ran the install in the local server.
Now I extracted the zip file into the SMF directory on the server, and run 'Install_2.x.x.php'. The following lines are demonstrated:
Start to create the Tables and update the current columns for Thank-O-Matic.
Table topics successful updated with column thank_you_post_locked.
Table boards successful updated with column thank_you_post_enable.
Table messages successful updated with column thank_you_post.
Table messages successful updated with column thank_you_post_counter.
Table members successful updated with column thank_you_post_made.
Table members successful updated with column thank_you_post_became.
DB Changes should be made now...
What do I do next?
Than everything is okay, and the database changes are done =). (Hope you installed the mod over the package manager xD).
Dear Din
I successfully installed ThankOMatic20Beta10 (2.0 RC1-X) on SMF 2.0 RC1.2.
Thank you for the module.
But it has some problems with Persian styles, and Persian language.
I (or someone else) have to fit it to Persian language.
I successfully uninstalled the mod until later.
Would you let me know how I can translate the messages?
I found 'ThankOMatic-persian.zip' (www.yarantoos.com/index.php?action=tpmod;dl=get102) related to version 1.1.x.
I think that I have to change ThankYouPost.persian.php and ThankOMaticPersian.xml according to probably new commands in 2.x.x. before installation.
Is it right way?
For 2.x i change the language system, because there a lot of changes and a lot more langauge things avaible. But you will find the most translations in the persian langauge pack (Not all, but many).
You can found the english Version of the change in the ThankOMaticEnglish.xml i don't use any language related files anymore. The langaugestrings of the ThankOMatic.XXX.php is now in the Modification.XXX.php so that you can find and compare to find the missing strings between 1.1 and 2 ;).
Hope this will help you to make the persian translation for your forum. ;)
Dear Din
Thank you for your response. I created 'ThankOMaticPersian-utf8.xml' based on the previous Persian .xml file. Currently some strings are not translated to Persian, mostly about to Admin pages. So in installation the appropriate Persian files will be modified.
I will translate the remaining English strings later.
Install perfect
after members click at thank you button
they encounter this error
Unknown column 'member_name' in 'field list'
File: /home/isstar/public_html/forum/Sources/ThankYouPost.php
Line: 257
all permission are given
i have uninstall and reinstall it
still the same
i have upgraded SMF from ver 1.10 to the latest ver 2
any help ?
Quote from: ディン1031 on August 21, 2009, 05:58:21 PM
Hmmmmm did you have an old thank-o-matic table? :)
You can rename the field memberName to member_name in the {$db_prefix}thank_you_post table insider you SQL table. It's strange normal the package convert the old table to the new version...
Bye
DIN1031
sorry
i solved with the above
Hello, ive successfully installed this mod but when in acp i click on modify boards an error msg came up
Database Error
Unknown column 'b.thank_you_post_enable' in 'field list'
File: /www/site/Sources/Subs-Boards.php
Line: 1038
default lang is english utf8
I am able to run the task of recalculating everyones stats, however when I then try and run this one:
Delete all not needed items, remove thank you posts of disabled board (or deleted boards).
I get this error:
Fatal error: Call to undefined function ThankYouPostDelete() in /home/***/public_html/Sources/ThankYouPost-Maintaince.php on line 707
Any ideas? Thanks :)
==========
ok forget about that problem.. I have an even BIGGER one..lol. My host just moved everyone to new servers and I am having a MAJOR problem with it keeping up with everyones thanks stats now. When I run the overall recalculation, it wont recalculate anyones and if I hav it recalculate one persons, it works, but then as soon as that person posts again OR I try and have it recalculate someone elses, it resets the one I just had it recalculate to all 0's.... HELP!!! (please) :-[
Quote from: farloccone on October 12, 2009, 12:55:20 PM
Hello, ive successfully installed this mod but when in acp i click on modify boards an error msg came up
Database Error
Unknown column 'b.thank_you_post_enable' in 'field list'
File: /www/site/Sources/Subs-Boards.php
Line: 1038
default lang is english utf8
Upload the install.php file of the package and call it with the browser. There is a change not done!
Quote from: Kimmie on October 12, 2009, 01:53:31 PM
I am able to run the task of recalculating everyones stats, however when I then try and run this one:
Delete all not needed items, remove thank you posts of disabled board (or deleted boards).
I get this error:
Fatal error: Call to undefined function ThankYouPostDelete() in /home/***/public_html/Sources/ThankYouPost-Maintaince.php on line 707
Any ideas? Thanks :)
==========
ok forget about that problem.. I have an even BIGGER one..lol. My host just moved everyone to new servers and I am having a MAJOR problem with it keeping up with everyones thanks stats now. When I run the overall recalculation, it wont recalculate anyones and if I hav it recalculate one persons, it works, but then as soon as that person posts again OR I try and have it recalculate someone elses, it resets the one I just had it recalculate to all 0's.... HELP!!! (please) :-[
The first thing is major bug i fixed... but i want not release the new version before 2.0 RC2 Public is available...
The fix is:
$sourcedir/ThankYouPost-Maintaince.php
global $txt, $modSettings, $scripturl, $context, $options;
global $txt, $modSettings, $scripturl, $context, $options, $sourcedir;
// This file is needed for some standard handling
require_once($sourcedir . '/ThankYouPost.php');
Than the recounter should work, too.
And don't forget to set you forum on maintain when you recount all stat, if someone post in the meantime it will be do some strange calculations...
Alternative you could upload the RC1 Version file that i postet. Normal it should work in the older beta's, too. <- it's the best way ;).
Bye
DIN1031
I previously said:
Quote
I could not install ThankOMatic20Beta9Fix (2.0 RC1).zip on SMF 2.0 RC1.2.
Is there a problem with this version of SMF?
The messages in the install_2.x.x.php are appeared when I run it:
"Size of column (If applicable) - for example 255 for a large varchar, 10 for an int etc. If not set SMF will pick a size,...."
The first lint of file 'install_2.x.x.php' only contains '<?', I replaced it with '<?php', and the problem has been solved. I am wondered how the old file works on my site real server?!!
Quote from: ディン1031 on October 12, 2009, 05:03:49 PM
Quote from: Kimmie on October 12, 2009, 01:53:31 PM
I am able to run the task of recalculating everyones stats, however when I then try and run this one:
Delete all not needed items, remove thank you posts of disabled board (or deleted boards).
I get this error:
Fatal error: Call to undefined function ThankYouPostDelete() in /home/***/public_html/Sources/ThankYouPost-Maintaince.php on line 707
Any ideas? Thanks :)
==========
ok forget about that problem.. I have an even BIGGER one..lol. My host just moved everyone to new servers and I am having a MAJOR problem with it keeping up with everyones thanks stats now. When I run the overall recalculation, it wont recalculate anyones and if I hav it recalculate one persons, it works, but then as soon as that person posts again OR I try and have it recalculate someone elses, it resets the one I just had it recalculate to all 0's.... HELP!!! (please) :-[
The first thing is major bug i fixed... but i want not release the new version before 2.0 RC2 Public is available...
The fix is:
$sourcedir/ThankYouPost-Maintaince.php
global $txt, $modSettings, $scripturl, $context, $options;
global $txt, $modSettings, $scripturl, $context, $options, $sourcedir;
// This file is needed for some standard handling
require_once($sourcedir . '/ThankYouPost.php');
Than the recounter should work, too.
And don't forget to set you forum on maintain when you recount all stat, if someone post in the meantime it will be do some strange calculations...
Alternative you could upload the RC1 Version file that i postet. Normal it should work in the older beta's, too. <- it's the best way ;).
Bye
DIN1031
ok I have uploaded the file you posted, put my site in maintenance mode, and had it recalculate everyones stats. Issue still remains:
1. It didnt recalculate anyones stats, but if I run the one where it will recalculate just one persons, it updates. (problem with this is, I have 5000+ members and I cannot sit there and do each one seperately..lol)
2. The issue where it resets everyones back to 0 as soon as someone posts again HAS been fixed.
Normal the Recount System should do that... hmmm i sent oyu an pm =).
I think i need to find a diffrent way... hope you will help me :).
Quote from: ディン1031 on October 14, 2009, 01:18:59 AM
Normal the Recount System should do that... hmmm i sent oyu an pm =).
I think i need to find a diffrent way... hope you will help me :).
Got it and responded :)
im havng couple of problems... i dont see link in features and optiones... i dont see text.. i guess it becouse i have custom theme.. but when i have to install manualy my theme doesnt have half of php's thats asked in pharse... for example... Admin.english.php, index.english.php,ManageBoards.english.php, ManagePermissions.english.php and so on.. what to do
The english STRINGS which are require for showing the form are in the files that you mentioned.
It seems that these files have not been changed correctly.
Have you this problem with the default theme?
unfortunately i do.. what should i do? manually install all the files?
but how can i do that if my theme doesnt have half of them.. does my custom theme load them from default or what?
Yes the costum theme alwas load the default one :).
Hello, i am installed 100% good.
The problem is .. old post i have this error.
My version is Powered by SMF 1.1.10 i am download this version ThankYouMod123
Unknown column 'b.thank_you_automatic' in 'field list'
Please Help.
Upload the install1.1.x.php and call it with the browser (use the forum board dir). Normal the database change should be done afterward. :)
And you should download 1.2.5 it's the latest version =). (But you can updgrade from 1.2.3)
Thanks a lot for this mod
i installed it manually but thanks icon isn't visible .
please guide me , thanks again
-----------
my board ver is 1.1.10
and my lang persian
There are three possible reasons why it not show up:
- Icons are not uploaded to the server
- You did not enable the boards option or you did not setup the permissions
- Theme Changes of you costum theme are missing
Din please can you make a version for the 2.0 rc1.2 please
Could anyone post spanish translation?
Quote from: Nameless? on October 26, 2009, 08:40:40 AM
Din please can you make a version for the 2.0 rc1.2 please
Currently there is a Beta Version for 2.0 RC1.2 the next release will be if the public RC2 (or higher) is avaible, than i will release a a RC1 Version of the Mod...
Quote from: ディン1031 on October 27, 2009, 02:02:37 AM
Quote from: Nameless? on October 26, 2009, 08:40:40 AM
Din please can you make a version for the 2.0 rc1.2 please
Currently there is a Beta Version for 2.0 RC1.2 the next release will be if the public RC2 (or higher) is avaible, than i will release a a RC1 Version of the Mod...
Great! Waiting to check this out again. :~)
when i am installing an error say can't add Before/After in Display.template.php
(i am using smf rc 1.2 and the ThankOMatic20Beta10 mod)
so when i continue, it say everything ok and installation is complete. but there is no button in topicks
please help me! where is the problem?
Quote from: googooli on November 01, 2009, 09:47:34 AM
when i am installing an error say can't add Before/After in Display.template.php
(i am using smf rc 1.2 and the ThankOMatic20Beta10 mod)
so when i continue, it say everything ok and installation is complete. but there is no button in topicks
please help me! where is the problem?
Without the changes in the Display.template.php the buttons will never appear. You must insert them by yourself if you want to see them :). It possible that you need to insert it in a diffrent way on a costum theme. The other this why it nor appear is because you did not enable the modification for some of the boards ;). And if other can not use them it could be possible that you did no setup the permission for the modification :).
Bye
DIN1031
Quote
Without the changes in the Display.template.php the buttons will never appear. You must insert them by yourself if you want to see them :). It possible that you need to insert it in a diffrent way on a costum theme. The other this why it nor appear is because you did not enable the modification for some of the boards ;). And if other can not use them it could be possible that you did no setup the permission for the modification :).
Bye
DIN1031
i am new in webdesign :) and i tried too edit Display.template.php . but i can't . i attached Display.template.php can u do it for me? please!
ThankOMatic20Beta10 (2.0 RC1-X).zip
Where Turkish language
Beta 10 Translate ... ( i'm glad if you add language string changes )
||| Admin.turkish.php |||
//Thank-O-Matic
$txt['thankyouposttitle'] = 'Thank-O-Matic';
$txt['maintain_thxpost'] = 'Thank-O-Matic Bakım';
$txt['maintain_thank_you_post_maintainaince'] = 'Bakım';
$txt['maintain_thank_you_post_maintainaince_desc'] = 'Thank-O-Matic tablolarını optimize et, Delete Thank You Posts of specific members.';
$txt['maintain_thank_you_post_recount'] = 'İstatistikleri Yeniden Say';
$txt['maintain_thank_you_post_recount_desc'] = 'Thank-O-Matic İstatistiklerini Herşey için Tekrar-Hesapla, Konu tabanlı veya Üyeye özel.';
$txt['maintain_thank_you_post_recount_desc'] = 'Thank-O-Matic İstatistiklerini Herşey için Tekrar-Hesapla, Konu tabanlı veya Üyeye özel.';
$txt['maintain_thxpostrecount'] = 'Thank-O-Matic istatistiklerini tekrardan hesapla';
$txt['maintain_thxpostrecount_info'] = 'Thank-O-Matic İstatistiklerinin Çoğunu Tekrar-Hesapla, ve elle değiştirilmiş değerleri özüne döndür.';
$txt['maintain_thxpostrecount_member'] = 'Thank-O-Matic Üye İstatistiklerini Tekrar-Hesapla';
$txt['maintain_thxpostrecount_member_info'] = 'Thank-O-Matic İstatistiklerini tek Üye için Tekrar-Hesapla.';
$txt['maintain_thxpostrecount_member_value'] = 'Tekrar-Hesaplama için Buraya Bir Üye IDsi Giriniz:';
$txt['maintain_thxpostrecount_topic'] = 'Thank-O-Matic Konu İstatistiklerini Tekrar-Hesapla';
$txt['maintain_thxpostrecount_topic_info'] = 'Thank-O-Matic İstatistiklerini tek Konu için Tekrar-Hesapla.';
$txt['maintain_thxpostrecount_topic_value'] = 'Tekrar-Hesaplama için Buraya Bir Konu IDsi Giriniz:';
$txt['maintain_thxpostrepair'] = 'Thank-O-Matic Tablolarını Tamir ve Optimize Et';
$txt['maintain_thxpostrepair_info'] = 'Gereksiz Eşyaları Sil, teşekkür iletilerini sil ( iptal edilmiş bölümlerde veya silinmiş bölümlerde ).';
$txt['maintain_thank_you_optimize'] = 'Thank-O-Matic Tablolarını Tamir ve Optimize Et';
// Please don't forget to insert [MEMBER], this will insert the link to the member profile
$txt['maintain_thank_you_deleteMemberposts'] = 'Üyenin Teşekkür-İletilerini Sil: [MEMBER]';
$txt['maintain_thank_you_recountAll'] = 'Tüm Thank-O-Matic İstatistiklerini Tekrar Say';
// Please don't forget to insert [MEMBER], this will insert the link to the member profile
$txt['maintain_thank_you_recountMember'] = 'Thank-O-Matic Konu İstatistiklerini Üye için Tekrar-Say: [MEMBER]';
// Please don't forget to insert [TOPIC], this will insert the link to the Topic
$txt['maintain_thank_you_recountTopic'] = 'Thank-O-Matic Konu İstatistiklerini şu [TOPIC] konu için Tekrar-Say';
||| index.turkish.php |||
//Thank You text for the Thread :)
$txt['thank_you_link_beforecounter'] = 'Bu iletiye,';
$txt['thank_you_link_members'] = 'üyeler';
$txt['thank_you_link_member'] = 'üye';
$txt['thank_you_link_aftercounter'] = 'teşekkür et!';
$txt['thank_you_link_aftercounters'] = 'teşekkür et!';
$txt['thank_you_is_locked'] = 'Teşekkürlere Kilitlendi';
$txt['thank_you_post_post_b'] = 'Teşekkürler!';
$txt['thank_you_post_delete_b'] = 'Teşekkürü Sil';
$txt['thank_you_post_lock_b'] = 'Teşekküre Kapat';
$txt['thank_you_post_open_b'] = 'Teşekküre Aç';
$txt['thank_you_post_lock_all_b'] = 'Tüm Teşekkürleri Kapat';
$txt['thank_you_post_open_all_b'] = 'Tüm Teşekkürleri Aç';
$txt['remove_thank_you_post'] = 'Bu teşekkürü kaldır';
$txt['followgiveathank'] = 'Şu üyeler sizin iletilerinize teşekkür etmiştir:';
$txt['thank_you_post_unlock_all'] = 'Tüm Teşekkür İletilerini Aç';
$txt['thankyoupostlist'] = 'Teşekkür edilen ileti listesi (Tamamı)';
$txt['thankyouposterrorinscript'] = 'Script hatası... Bir şekilde bu olmamalıydı!';
$txt['thank_you_post_thx_display'] = 'Teşekkür Et';
$txt['thank_you_post_made_display'] = 'Verilen';
$txt['thank_you_post_became_display'] = 'Gelen';
$txt['standard_profile_field_thank_you_post_made'] = 'Verilen Teşekkürler';
$txt['standard_profile_field_thank_you_post_became'] = 'Gelen Teşekkürler';
||| ManageBoards.turkish.php |||
//Thank-O-Matic
$txt['mboards_thank_you_post_enable'] = 'Thank-O-Matic Aktifleştir';
$txt['mboards_thank_you_post_enable_desc'] = 'Bu özellik forumunuzdaki iletilere "Teşekkür" edilmesini sağlar.';
||| ManagePermissions.turkish.php |||
//Thank-O-Matic Premmisions ;)
$txt['permissiongroup_thank_you_post'] = 'Thank-O-Matic';
$txt['permissiongroup_simple_thank_you_post'] = 'Thank-O-Matic (Üye Ayarları)';
$txt['permissiongroup_simple_thank_you_post_any'] = 'Thank-O-Matic (Herhangi bir Teşekkürü Yönet)';
$txt['permissionname_thank_you_post_show'] = 'İletiye Teşekkür eden Üyeleri Göster';
$txt['permissionhelp_thank_you_post_show'] = 'Teşekkür Edenlerin Listesini Göster';
$txt['permissionname_thank_you_post_post'] = 'İletiye teşekkür gönder';
$txt['permissionhelp_thank_you_post_post'] = 'Bununla birlikte üye izin verilen bölümlerde her konuya teşekkür edebilir';
$txt['permissionname_thank_you_post_lock'] = 'Teşekkür İletilerini Kilitle';
$txt['permissionhelp_thank_you_post_lock'] = 'Teşekküre Kapat bunun ardından kimse yeni bir tane yapamaz.';
$txt['permissionname_thank_you_post_lock_own'] = 'Kendi Teşekkürü';
$txt['permissionname_thank_you_post_lock_any'] = 'Herhangi bir Teşekkür';
$txt['permissionname_thank_you_post_delete'] = 'Teşekkür İleti Listesini Sil';
$txt['permissionhelp_thank_you_post_delete'] = 'Forumdaki Teşekkür Listesini Siliyor.';
$txt['permissionname_thank_you_post_delete_own'] = 'Kendi Teşekkürü';
$txt['permissionname_thank_you_post_delete_any'] = 'Herhangi bir Teşekkür';
$txt['permissionname_thank_you_post_delete_mem'] = 'Teşekkür İleten Üye Silebilir';
$txt['permissionhelp_thank_you_post_delete_mem'] = 'Teşekkür İleti Listesindeki bir Gönderen Siliniyor.';
$txt['permissionname_thank_you_post_delete_mem_own'] = 'Kendi Üyeliği';
$txt['permissionname_thank_you_post_delete_mem_any'] = 'Herhangi bir Üye';
$txt['permissionname_thank_you_post_lock_all'] = 'Teşekkür Konularını Kilitle/Aç';
$txt['permissionhelp_thank_you_post_lock_all'] = 'Konudaki tüm Teşekkür Seçeneklerini Kilitle/Aç bunun ardından kimse yeni bir tane yapamaz veya başlatamaz.';
$txt['permissionname_thank_you_post_lock_all_own'] = 'Konu Sahibi';
$txt['permissionname_thank_you_post_lock_all_any'] = 'Herhangi bir Konu';
$txt['permissionname_thank_you_post_unlock_all'] = 'Teşekkür Konusunun tüm İletilerini Aç';
$txt['permissionhelp_thank_you_post_unlock_all'] = 'Tüm Tekil Teşekkür İletilerini Aç, Bu özelliği konu çöplükten normal bir bölüme taşındıktan sonra veya başka sebeplerle kullanabilirsiniz ;)';
||| Errors.turkish.php |||
//Thank-O-Matic Premmisions Errors ;)
$txt['cannot_thank_you_post_show'] = "Teşekkür Listesini görme izniniz yoktur!";
$txt['cannot_thank_you_post_post'] = "Teşekkür seçeneklerini kullanma izniniz yoktur!";
$txt['cannot_thank_you_post_lock_own'] = "Teşekkür seçeneklerini kullanma izniniz yoktur!";
$txt['cannot_thank_you_post_lock_any'] = "Teşekkür seçeneklerini kullanma izniniz yoktur!";
$txt['cannot_thank_you_post_delete_own'] = "Teşekkür seçeneklerini kullanma izniniz yoktur!";
$txt['cannot_thank_you_post_delete_any'] = "Teşekkür seçeneklerini kullanma izniniz yoktur!";
$txt['cannot_thank_you_post_delete_mem_own'] = "Teşekkür seçeneklerini kullanma izniniz yoktur!";
$txt['cannot_thank_you_post_delete_mem_any'] = "Teşekkür seçeneklerini kullanma izniniz yoktur!";
$txt['cannot_thank_you_post_lock_all_own'] = "Teşekkür seçeneklerini kullanma izniniz yoktur!";
$txt['cannot_thank_you_post_lock_all_any'] = "Teşekkür seçeneklerini kullanma izniniz yoktur!";
$txt['cannot_thank_you_post_unlock_all'] = "Teşekkür seçeneklerini kullanma izniniz yoktur!";
||| ManageSettings.turkish.php |||
//Thank-O-Matic ModSettings ;)
$txt['thankyouposttitle'] = 'Thank-O-Matic';
$txt['thankYouPostColors'] = 'Listedeki Üyeleri Renklendir';
$txt['thankYouPostPreview'] = 'İleti Altındaki Ön-İzleme Listelerini Aktifleştir ( Konu İçeriğindeki )';
$txt['thankYouPostPreviewHM'] = 'Ön-İzlemede Kaç Adet Eşya Gösterilicek?';
$txt['thankYouPostPreviewHMPostInput'] = '(0 = hepsi)';
$txt['thankYouPostPreviewOrder'] = 'Ön-İzlemenin Düzeni';
$txt['thankYouPostPreviewOrderSelect'] = 'İlkler Önce|Sonlar Önce';
$txt['thankYouPostFullOrder'] = 'TamListenin Düzeni';
$txt['thankYouPostFullOrderSelect'] = 'İlkler Önce|Sonlar Önce|Üye İsimleri';
$txt['thankYouPostHideExtraInfo'] = '<br /><span class="smalltext"><a href="http://mods.simplemachines.org/index.php?mod=118">(Hide Mod Special gereklidir)</a></span>';
//Pleast don't forget the .$txt['thankYouPostHideExtraInfo'] after the text!
$txt['thankYouPostUnhidePost'] = 'İletiye Teşekkür Edildikten Sonra İçeriği Göster
<br /><span class="smalltext">Bu sadece teşekkür ettiği iletiyi açar, Eğer kullanıcı normal ileti yollarsa tamamını açar</span>'.$txt['thankYouPostHideExtraInfo'];
$txt['thankYouPostThxUnhideAll'] = 'Teşekkürden Sonra Tüm İçeriği Göster!
<br /><span class="smalltext">Bir iletiye teşekkür ettikten sonra tüm içeriği gösterir (İlk Seçeneği İptal Edin)</span>'.$txt['thankYouPostHideExtraInfo'];
$txt['thankYouPostDisableUnhide'] = 'İçeriği Gösterme Seçeneğini İptal-Et, gerçek bir ileti ardından sadece teşekkür görmesini sağlar!
<br /><span class="smalltext">İçeriği görebilmen için Teşekkür etmelisin özellik 1/2 oranında çalışır</span>'.$txt['thankYouPostHideExtraInfo'];
$txt['thankYouPostDisplayPage'] = 'Konu Gösteriminde Teşekkür İletilerini Göster ( Veren - Alan )';
$txt['thankYouPostStatsEnabled'] = 'İstatistik Sayfasında Top-On Listesi Oluştur ( Veren - Alan )';
$txt['thankYouPostIncraseKarmaGood'] = '1 Karma puanı ekle eğer birisi iletiye teşekkür etmişse';
$txt['thankYouPostAJAX'] = 'AJAX (Satır-içi) Teşekkürü Aktifleştir';
$txt['thankYouPostModerationLog'] = 'Enable Thank-O-Matic yönetim girdilerini kayıt altına al';
$txt['thankYouPostSpamProtection'] = 'Teşekkür Spam Koruması';
$txt['thankYouPostSpamProtectionPostInput'] = '(0 = devredışı, Kere saniye içinde)';
$txt['thank_you_post_show'] = 'İletideki Teşekkür Listesini Görebilme İzni';
$txt['thank_you_post_post'] = 'İletiye Teşekkür Edebilme İzni';
$txt['thank_you_post_select_boards'] = 'Thank-O-Matic 'in Aktif Olacağı Bölümler';
$txt['thankYouPostType'] = 'Thank-O-Matic Tipi';
$txt['thankYouPostTypeSelect'] = 'Her Konuya Tek Teşekkür|Her Konuya Çoklu Teşekkür|Sadece ilk İleti';
$txt['thankYouPostMemberList'] = 'Üye Listesinde Teşekkür İletilerini Göster ( Veren - Alan )';
||| Profile.turkish.php |||
//Thank-O-Matic - Profile Page
$txt['thankyoutitle'] = 'Teşekkür İletileri';
$txt['thankyoutitle_show'] = 'Teşekkür İletilerini Göster';
$txt['thankyou_messages_given'] = 'İletiler (Verilen)';
$txt['thankyou_topics_given'] = 'Konular (Verilen)';
$txt['thankyou_messages_become'] = 'İletiler (Gelen)';
$txt['thankyou_topics_become'] = 'Konular (Gelen)';
$txt['thankyou_messages_given_desc'] = 'Thank-O-Matic ile ilgili iletileri göster. Diğer kullanıcılara <em>teşekkür</em> ettiğiniz <em>iletileri</em> gösterir.';
$txt['thankyou_topics_given_desc'] = 'Thank-O-Matic ile ilgili iletileri göster. Diğer kullanıcılara <em>teşekkür</em> ettiğiniz <em>konuları</em> gösterir. (İlk iletiye dayalı olarak.)';
$txt['thankyou_messages_become_desc'] = 'Thank-O-Matic ile ilgili iletileri göster. Diğer kullanıcılardan <em>iletilerinize</em> aldığınız <em>teşekkürleri</em> gösterir.';
$txt['thankyou_topics_become_desc'] = 'Thank-O-Matic ile ilgili iletileri göster. Diğer kullanıcılardan <em>konularınıza</em> aldığınız <em>teşekkürleri</em> gösterir. (İlk iletiye dayalı olarak.)';
$txt['thankyou_view_messages_given'] = 'Üyenin iletilerini göster (Verilen)';
$txt['thankyou_view_topics_given'] = 'Üyenin konularını göster (Verilen)';
$txt['thankyou_view_messages_become'] = 'Üyenin iletilerini göster(Gelen)';
$txt['thankyou_view_topics_become'] = 'Üyenin konularını göster (Gelen)';
$txt['thankyoutitle_help'] = 'Thank-O-Matic ile ilgili iletileri göster';
$txt['thankyoupostmade'] = 'Tarafınızdan edilen teşekkürler';
$txt['thankyoupostbecame'] = 'Size edilen teşekkürler';
||| Stats.turkish.php |||
//Thank-O-Matic Stats =D
$txt['thank_you_post_Top10Receive'] = 'En Çok Teşekkür Edilen 10';
$txt['thank_you_post_Top10Given'] = 'En Çok Teşekkür Eden 10';
||| Modifications.turkish.php |||
// Thank-O-Matic Inserts, i will not use any extra file any more *g*
// Error Messages:
$txt['NMidTopicSet'] = 'İleti veya Konu IDsi Ayarlanmadı!';
// The [SECONDS] oupt the current setup time of the seconds.
$txt['thx_spamprotectionactive'] = 'Lütfen,[SECONDS] saniye bekledikten sonra tekrar teşekkür edebilirsiniz.';
// The [TIME] put out the time the thx was made.
$txt['allready_postet_thx'] = 'Zaten bu iletiye [TIME] kere teşekkür ettiniz.';
$txt['allready_postetTopic_thx'] = 'Zaten bu konuya [TIME] kere teşekkür ilettiniz';
$txt['WMidTopicSet'] = 'Yanlış konu veya ileti IDsi!';
$txt['Thxtomyself'] = 'Kendinize teşekkür edemezsiniz!';
$txt['thxislocked'] = 'Teşekkürlere kilitlendi, bu konuya teşekkür edemessiniz.';
$txt['thxislockednor'] = 'Teşekkür durumunu değiştirme yetkiniz bulunmamaktadır!';
$txt['notathankyoupost'] = 'Bu İletide Teşekkür Bulunmamaktadır!';
$txt['thxdeletenor'] = 'Bu iletiden teşekkür silme yetkiniz yoktur!';
$txt['thxdeletenormem'] = 'Bu Teşekkürden Üyeyi Silme Yetkiniz Bulunmamaktadır!';
$txt['remove_thank_you_post_mem'] = 'Teşekkür İletisinden Bu Üyeyi Sil';
$txt['thxidnotfound'] = 'Bu teşekkür için ID bulunamadı!';
$txt['thxajaxnotenabled'] = 'AJAX Sistemi devredışı!';
$txt['thxajaxnotallowed'] = 'Bu alt-aksiyon AJAX Stili tarafından desteklenmemektedir!';
$txt['thxajaxnotallowedtoview'] = 'Teşekkür listesini görme izniniz yok!';
$txt['onlyFirstPost_thx'] = 'Sadece bu konunun ilk iletisine teşekkür iletebilirsiniz!';
// Admin Setup Related Things for Thank-O-Matic
$txt['thxmodification'] = 'İlgili Eklenti';
$txt['thx_gernalSettingsDesc'] = 'Thank-O-Matic için Genel Ayarlar.';
$txt['thx_permissionSettingsDesc'] = 'Eklentinin Bütün Üyeler için Düzgün Çalışmasına Yönelik Bazı Önemli Ayarlar (Üye İzinleri Bölümünde Daha Fazla Ayar Bulabilirsiniz)';
$txt['thx_boradSettingsDesc'] = 'Thank-O-Matic için Olanaklı Bölümler.';
$txt['thx_modifciationSettingsDesc'] = 'İlgiliEklenti Ayarları Diğer Eklentilerin(lerle) de Uyumlu Çalışmasını Sağlar.';
Quote from: googooli on November 02, 2009, 02:55:21 AM
Quote
Without the changes in the Display.template.php the buttons will never appear. You must insert them by yourself if you want to see them :). It possible that you need to insert it in a diffrent way on a costum theme. The other this why it nor appear is because you did not enable the modification for some of the boards ;). And if other can not use them it could be possible that you did no setup the permission for the modification :).
Bye
DIN1031
i am new in webdesign :) and i tried too edit Display.template.php . but i can't . i attached Display.template.php can u do it for me? please!
i beg u ! i am waiting for ur help! please! :'(
How can I DELITE all the thanks that a user Gived?
Quote from: silber112 on November 08, 2009, 03:52:37 PM
How can I DELITE all the thanks that a user Gived?
Hmmm at the moment it's not possible... but i work on it <<. I had no pc this weekend so i could not do my planed task things...
Is it a existing user or is the user allready deleted?
Quote from: googooli on November 07, 2009, 10:31:13 AM
Quote from: googooli on November 02, 2009, 02:55:21 AM
Quote
Without the changes in the Display.template.php the buttons will never appear. You must insert them by yourself if you want to see them :). It possible that you need to insert it in a diffrent way on a costum theme. The other this why it nor appear is because you did not enable the modification for some of the boards ;). And if other can not use them it could be possible that you did no setup the permission for the modification :).
Bye
DIN1031
i am new in webdesign :) and i tried too edit Display.template.php . but i can't . i attached Display.template.php can u do it for me? please!
i beg u ! i am waiting for ur help! please! :'(
Sorry i had no time to do it, i will see if i can help you at the evening...
Bye
DIN1031
So Beta Version is now offical a RC Version ;).
Only one feature is missing and that is a way to reset (remove) thank you's of specific topics, remove thank you's of a specific member and search and remove guest thank you posts. All with option for member stats recalculation or not. If this is finished than the final version will be released ;).
The Thank-O-Matic 2.0RC1 Version is only for SMF 2.0RC2!
Version 2.0 RC1 (09.10.09)
! Eval Bug Fixes... a lot of them around 28 (or more)...
! Fixed the not editable Profile Changes
! Fixed the single post overview list, changed to new version, removed eval bugs
! Fixed the maintaince of single member recount, if there was nothing to change it throw out errors
* Optimizing Remove Thank You Posts without Thank You in the database
! Fixed Thank-O-Matic Maintain not loaded ThankYouPost.php
! Fixed 0 counter did not work correct because of not (int) values given to the updateMemberFunction
! The enabled Thank-O-Matic Karma increase, create a Database error on delete.
! Approve Post Related Bugfixes
+ Style options for Thank-O-Matic are extended and more customizable (As long the standard is used *g*)
* Readme is now Language related, hope this work without problems *g*
* Change the Packagestyle Source and Theme is now splited, better for finding this kind of changes.
* Language files overworked
+ New setup for some Layout related changes
* Integrated into the new curve Theme... a lot changes done for this :X
* Installer updated for SMF 2.0 RC2 (Language based readme, i like it ;D)
+ Auto-Fix not correct deleted Thank You Post if a single list will be opened. (Detection work now...)
Excelente gracias ha sido de mucha utilidad en mi foro :D
I getUnknown column 'thank_you_post_enable' in 'field list'
I'm using smf 1.10
I tried calling the install script, it didn't help.
You did upload the install.php an called it with the browser?
where is the Beta version for Rc1.2 ?
On the Mod Site? (# ThankOMatic20Beta10 (2.0 RC1-X).zip)
thanx for updating but this is error for echo '
ManageBoards.template.php
echo ' <div id="thank_o_matic_div">
<dl class="settings">
<dt>
<strong>', $txt['mboards_thank_you_post_enable'], ':</strong><br />
<span class="smalltext">', $txt['mboards_thank_you_post_enable_desc'], '</span><br />
</dt>
<dd>
<input type="checkbox" name="thank_you_post_enable"', $context['board']['thank_you_post_enable'] ? ' checked="checked"' : '', ' class="input_check" />
</dd>
</dl>
</div>';
echo ' it isnt here
i installed it in the curve theme, but the images (thank_you.gif for example) are not showing at all.... images are in the buttons and admin folder, i mean non of the images are missing, but they're not showing in the forum
Quote from: hhy89 on November 10, 2009, 02:02:42 PM
thanx for updating but this is error for echo '
ManageBoards.template.php
echo ' <div id="thank_o_matic_div">
<dl class="settings">
<dt>
<strong>', $txt['mboards_thank_you_post_enable'], ':</strong><br />
<span class="smalltext">', $txt['mboards_thank_you_post_enable_desc'], '</span><br />
</dt>
<dd>
<input type="checkbox" name="thank_you_post_enable"', $context['board']['thank_you_post_enable'] ? ' checked="checked"' : '', ' class="input_check" />
</dd>
</dl>
</div>';
echo ' it isnt here
Thanks... i fixed it :). (I was sure i testet everthing... possible i overseen it...
Quote from: drhamza on November 10, 2009, 02:10:13 PM
i installed it in the curve theme, but the images (thank_you.gif for example) are not showing at all.... images are in the buttons and admin folder, i mean non of the images are missing, but they're not showing in the forum
Reload the page sometime it took a second time than it show up.And i hope you enable the modification on certain boards ;).
aha, it works now, thanks for the great mod....
by the: "follow members say thanks" ---> "the following members say thanks" change it please :D
Will be changed ;).
Well, I installed on my local website about 300 times, I have followed many of the solutions that have been here, but can not properly install the mod thankomatic.
My version of the forum is 1.1.10, and I upload the package through the administration, and I get as it is properly installed.
First error ->
Quote Column 'b.thank_you_automatic' in field list is unknown
File: C: \ Program Files \ EasyPHP5.3.0 \ www \ Sources \ Subs-Boards.php
Line: 1477 [/ center] [/ quote]
This error that in admin menu.
Second error ->
QuoteColumn 'b.thank_you_automatic' in field list is unknown [/ quote]
Gives it to you try to enter a forum.
I have tried many of the things that are said here, I install almost all versions, and have come to the conclusion that the problem is in the file install_1.xxphp
The code is this:
Quote/*****************************************************************
* install.php Version 1.0.2 *
* Special Advanced Version for Easier Handling *
* Programmed / Copyright By DIN1031 (http://www.ayu-kult.de/) *
* for SMF (http://www.simplemachines.org) *
*****************************************************************/
/*****************************************************************
* It's free to change and use everywhere who this file is *
* useable and made his work. You can change the code as you like *
* it. The only thing that i wish is, add the first 7 Lines of *
* this file *
* THANKS A LOT *
*****************************************************************/
/*****************************************************************
* Used for follow Software *
* Programm: Thank-O-Matic *
* By: DIN1031 (http://www.ayu-kult.de/) *
* Copyright: DIN1031 (http://www.ayu-kult.de/) *
*****************************************************************/
global $db_prefix, $modSettings;
//This is a way to install the mod without the package parser!
//This is a way to install the mod without the package parser!
$SSI_INSTALL = false;
if(!isset($db_prefix)) {
require('SSI.php');
$SSI_INSTALL = true;
}
//I can't install it if this on <<
$old_querycheck = isset($modSettings['disableQueryCheck']) ? $modSettings['disableQueryCheck'] : 0;
$modSettings['disableQueryCheck'] = 1;
// Creat Tables :)
db_query("
CREATE TABLE IF NOT EXISTS {$db_prefix}thank_you_post (
ID_THX_POST int(10) unsigned NOT NULL auto_increment,
ID_MSG int(10) unsigned NOT NULL ,
ID_TOPIC mediumint(8) unsigned NOT NULL ,
ID_BOARD smallint(5) unsigned NOT NULL ,
ID_MEMBER mediumint(8) unsigned NOT NULL ,
memberName varchar(80) NOT NULL ,
thx_time int(10) unsigned NOT NULL ,
PRIMARY KEY (ID_THX_POST),
INDEX (ID_BOARD),
INDEX (ID_MSG),
INDEX (ID_TOPIC),
INDEX (ID_MEMBER)
) TYPE=MyISAM", __FILE__, __LINE__);
/*This is the array for alter Tables... i use this as my advance installer so i can made some changes quicker *g*
Table without db_prefix
array('table', 'rowname', 'rowsetting', 'update value');
This Check if the row exists, if not than creat it :), easy for update handling ;)
*/
$sql_adds = array(
array("topics", "thank_you_post_locked", "TINYINT(4) unsigned DEFAULT '0' NOT NULL"),
array("boards", "thank_you_post_enable", "TINYINT(4) unsigned DEFAULT '1' NOT NULL", '1'),
array("messages", "thank_you_post", "TINYINT(4) unsigned DEFAULT '0' NOT NULL"),
array("messages", "thank_you_post_counter", "SMALLINT(5) unsigned DEFAULT '0' NOT NULL"),
array("members", "thank_you_post_made", "mediumint(8) unsigned DEFAULT '0' NOT NULL"),
array("members", "thank_you_post_became", "mediumint(8) unsigned DEFAULT '0' NOT NULL"),
);
foreach($sql_adds as $rowinfo) {
$table = $rowinfo['0'];
$rowname = $rowinfo['1'];
$rowsetting = $rowinfo['2'];
//Mistake made... hmmm what should i do? XD Tell him that something not correct!
if(empty($rowname) || empty($rowsetting)) {
echo "SQL SMF INSTALLER: Error... rowname or rowsetting not set!";
die();
}
//Load the rows ;)
$request = db_query("SHOW COLUMNS FROM {$db_prefix}{$table}", __FILE__, __LINE__);
$installed = false;
while($row = mysql_fetch_assoc($request) ) {
$installed = $row['Field'] == $rowname;
if($installed)
break;
}
mysql_free_result($request);
//Not Installed Intall it ;)
if(!$installed) {
db_query("ALTER TABLE {$db_prefix}{$table} ADD $rowname $rowsetting", __FILE__, __LINE__);
//I need to change values? Because it's new installed :)
if(isset($rowinfo['3'])) {
db_query("
UPDATE {$db_prefix}{$table}
SET $rowname = $rowinfo[3]", __FILE__, __LINE__);
}
}
}
//Okay Work done ;) (Replace the Varibale back...)
$modSettings['disableQueryCheck'] = $old_querycheck;
//Give a proper answer on ssi install ;)
if($SSI_INSTALL)
echo 'DB Changes should be made now...';
All this code is not dumped to the database, I tried to do after installing it, I placed the file and I called from the browser, the screen goes blank.
Then I looked if the database has created something that says the file, and did not create anything.
No longer do more, any ideas?
IFM:
Did you upload the file into the board and call the install1.x.x.php file with the browser? Did stand there that the Database changes are done? The file output for everything it do a information if you use the ssi installer way. Is something outputed?
ディン1031, thanks for answering.
Yes, I uploaded install_1.xxphp file to the root directory and call from the browser, but the screen was white and no change in the DB.
I try to upload the code of install directly to the database, but fails.
What are you mean about SSI installer way?, I upload the file with packages in admin. Upload file and installs fine but gives errors as I said in my previous post.
i have installed thank-o-matic 2.0 RC1 on my smf 2.0 RC2 forum. i am not able to see any changes in to my actual posts after doing all the settings. i am not able to see any button or any thanks link in posts.
Quote from: IFM on November 11, 2009, 11:33:03 AM
ディン1031, thanks for answering.
Yes, I uploaded install_1.xxphp file to the root directory and call from the browser, but the screen was white and no change in the DB.
I try to upload the code of install directly to the database, but fails.
What are you mean about SSI installer way?, I upload the file with packages in admin. Upload file and installs fine but gives errors as I said in my previous post.
Hmmm very strange... hmmm than insert follow thing in you datasbase sql in phpMyAdmin:
CREATE TABLE IF NOT EXISTS {$db_prefix}thank_you_post (
ID_THX_POST int(10) unsigned NOT NULL auto_increment,
ID_MSG int(10) unsigned NOT NULL ,
ID_TOPIC mediumint( unsigned NOT NULL ,
ID_BOARD smallint(5) unsigned NOT NULL ,
ID_MEMBER mediumint( unsigned NOT NULL ,
memberName varchar(80) NOT NULL ,
thx_time int(10) unsigned NOT NULL ,
PRIMARY KEY (ID_THX_POST),
INDEX (ID_BOARD),
INDEX (ID_MSG),
INDEX (ID_TOPIC),
INDEX (ID_MEMBER)
) TYPE=MyISAM
ALTER TABLE {$db_prefix}topics ADD thank_you_post_locked TINYINT(4) unsigned DEFAULT '0' NOT NULL;
ALTER TABLE {$db_prefix}boards ADD thank_you_post_enable TINYINT(4) unsigned DEFAULT '1' NOT NULL;
ALTER TABLE {$db_prefix}messages ADD thank_you_post TINYINT(4) unsigned DEFAULT '0' NOT NULL;
ALTER TABLE {$db_prefix}messages ADD thank_you_post_counter SMALLINT(5) unsigned DEFAULT '0' NOT NULL;
ALTER TABLE {$db_prefix}members ADD thank_you_post_made mediumint(8) unsigned DEFAULT '0' NOT NULL;
ALTER TABLE {$db_prefix}members ADD thank_you_post_became mediumint(8) unsigned DEFAULT '0' NOT NULL;
But don't forget before you insert it, replace the {$db_prefix} with you databaseforum prefix.
Quote from: yourdailysaver on November 11, 2009, 02:30:18 PM
i have installed thank-o-matic 2.0 RC1 on my smf 2.0 RC2 forum. i am not able to see any changes in to my actual posts after doing all the settings. i am not able to see any button or any thanks link in posts.
Custom theme? Did you made the Theme Changes there? Did you enable it on boards? ;)
Bye
DIN1031
i have selected core theme and its working now. dont know whats wrong with the default theme. THanks buddy for great mod
Ok, i did this but i have another problem.
When i go to remove a topic, out this:
Quote1) fatal_error($txt['thxislocked'], false); //Okay new one? if(empty($status)) db_query(" UPDATE {$db_prefix}messages SET thank_you_post = 1 WHERE ID_MSG = $_GET[msg] LIMIT 1", __FILE__, __LINE__); //So mow add the now thx :) db_query(" INSERT INTO {$db_prefix}thank_you_post (ID_MSG, ID_TOPIC, ID_BOARD, ID_MEMBER, memberName, thx_time) VALUES ($ID_MSG, $topic, $board, $ID_MEMBER, '".$user_info['name']."', ".time().")", __FILE__, __LINE__); //Update Stats :) updateMemberData($ID_MEMBER, array('thank_you_post_made' => '+')); if(!empty($ID_MEMBER_POST)) updateMemberData($ID_MEMBER_POST, array('thank_you_post_became' => '+')); //Okay Update the counter :) ThankYouPostCount($ID_MSG); //Okay all done now redirect exit :) if(!isset($_GET['list'])) redirectexit('topic='.$topic.'.msg'.$ID_MSG.'#msg'.$ID_MSG); else redirectexit('action=thankyoupostlist;topic='.$topic.'.0;msg='.$ID_MSG); } function ThankYouPostDelete($msg_ids = array()) { global $txt, $topic, $db_prefix, $ID_MEMBER, $topic, $modSettings; loadLanguage('ThankYouPost'); $session = true; $isAllowed = true; if(empty($msg_ids) && (empty($topic) || empty($_GET['msg']) || !is_numeric($_GET['msg']))) fatal_error($txt['NMidTopicSet'], false); //Massdelete is could be only made if you delete a thread or anything like that :) elseif(!empty($msg_ids) && empty($_GET['msg'])) { $session = false; $isAllowed = false; $msg_ids = !is_array($msg_ids) ? array($msg_ids) : $msg_ids; } else { $msg_ids = array($_GET['msg']); } if($session) checkSession('request'); //Okay i'm here now to delete and correct the stats :) //First the where :D if(count($msg_ids) == 1) $where = "WHERE ID_MSG = ".current($msg_ids); else { $msg_ids = array_unique($msg_ids); $where = "WHERE ID_MSG IN (".implode(', ', $msg_ids).")"; } //This is importend! I will only delete thing where really a known post is! $andCondition = ' AND thank_you_post != 0'; //Load the Post data :) $post = db_query(" SELECT ID_MSG, ID_MEMBER FROM {$db_prefix}messages $where $andCondition LIMIT ".count($msg_ids), __FILE__, __LINE__); $msg_ids = array(); $msg_poster = array(); while($row = mysql_fetch_assoc($post)) { //Built the real msg_ids ;) $msg_ids[] = $row['ID_MSG']; if(!empty($row['ID_MEMBER'])) $msg_poster[$row['ID_MSG']] = $row['ID_MEMBER']; } mysql_free_result($post); //At least nothing to do? if(empty($msg_ids)) return; elseif(count($msg_ids) == 1) { $where = "WHERE ID_MSG = ".current($msg_ids); $ID_MSG = current($msg_ids); } else { $msg_ids = array_unique($msg_ids); $where = "WHERE ID_MSG IN (".implode(', ', $msg_ids).")"; } //So i look if i need to check some rights :) if($isAllowed) { if(count($msg_ids) != 1) fatal_error($txt['thankyouposterrorinscript']); $ID_MEMBER_POST = !empty($msg_poster) ? current($msg_poster) : 0; //Okay mal rechte prüfen :) if(!allowedTo('thank_you_post_delete_any') && !(allowedTo('thank_you_post_delete_own') && $ID_MEMBER == $ID_MEMBER_POST)) fatal_error($txt['thxdeletenor'], false); } //Load the THX Infomations :) $poster = array(); $thx_delete = array(); $thx = db_query(" SELECT ID_THX_POST, ID_MEMBER, ID_MSG FROM {$db_prefix}thank_you_post $where", __FILE__, __LINE__); while($row = mysql_fetch_assoc($thx)) { $poster[$row['ID_MSG']][] = $row['ID_MEMBER']; $thx_delete[] = $row['ID_THX_POST']; } mysql_free_result($thx); //So i need to split between single or multi delete :) if(!empty($thx_delete)) //Delete the Thank You Posts :) db_query(" DELETE FROM {$db_prefix}thank_you_post WHERE ID_THX_POST IN (".implode(', ', $thx_delete).") LIMIT ".count($thx_delete), __FILE__, __LINE__); //Okay set counter back to 0 and the status to 0 :) //Okay now correct member Settings *g* if(!empty($poster)) foreach($poster as $id_posters) updateMemberData($id_posters, array('thank_you_post_made' => '-')); //now the resived Thank You if(!empty($msg_poster)) foreach($msg_poster as $ID_MSG => $ID_MEMBER_POST) updateMemberData($ID_MEMBER_POST, array('thank_you_post_became' => 'thank_you_post_became - '.count($poster[$ID_MSG]))); //Okay now reset the Stats :), i think i can do this blind ;D db_query(" UPDATE {$db_prefix}messages SET thank_you_post = 0, thank_you_post_counter = 0 $where LIMIT ".count($msg_ids), __FILE__, __LINE__); //Log the Action? logAction($txt['thank_you_post_delete_b'], array('member' => $ID_MEMBER, 'topic' => $topic, 'id_msg' => implode(',', $msg_ids))); //Uff i'm finished now... hope it work all correct XD (still hoping after programming it) okay redirect, or not if(!empty($_GET['msg']) && !empty($topic) && $session) redirectexit('topic='.$topic.'.msg'.$_GET['msg'].'#msg'.$_GET['msg']); else return; } function ThankYouPostDeletePost() { global $txt, $topic, $db_prefix, $ID_MEMBER, $modSettings; loadLanguage('ThankYouPost'); checkSession('get'); if(empty($topic) || empty($_GET['thxid']) || !is_numeric($_GET['thxid'])) fatal_error($txt['NMidTopicSet'], false); //Load this thanks and look if the user allowed to it, or if the rights are ;) $thx = db_query(" SELECT ID_THX_POST, ID_MEMBER, ID_MSG FROM {$db_prefix}thank_you_post WHERE ID_THX_POST = $_GET[thxid] AND ID_TOPIC = $topic LIMIT 1", __FILE__, __LINE__); list($ID_THX, $ID_MEMBER_THX, $ID_MSG) = mysql_fetch_row($thx); mysql_free_result($thx); if(empty($ID_THX)) fatal_error($txt['thxidnotfound'], false); //Okay let's look for the rights first :) if(!allowedTo('thank_you_post_delete_mem_any') && !(allowedTo('thank_you_post_delete_mem_own') && $ID_MEMBER == $ID_MEMBER_THX)) fatal_error($txt['thxdeletenormem'], false); //More than one poster? if not the rights a little bit diffrent ;P $thx = db_query(" SELECT ID_THX_POST FROM {$db_prefix}thank_you_post WHERE ID_MSG = $ID_MSG LIMIT 2", __FILE__, __LINE__); $count = mysql_num_rows($thx); mysql_free_result($thx); //This is a delete of a the thank you post so this is not allowed to every one! if($count != 2) { //I add now the msg so it look like a delete :D $_GET['msg'] = $ID_MSG; //Okay delete with the check of the rights ;D return ThankYouPostDelete(); } else { //I need the poster to correct the stats ;) $post = db_query(" SELECT ID_MEMBER FROM {$db_prefix}messages WHERE ID_MSG = $ID_MSG LIMIT 1", __FILE__, __LINE__); list($ID_MEMBER_POST) = mysql_fetch_row($post); mysql_free_result($post); } //Okay here this is a normal delete :) db_query(" DELETE FROM {$db_prefix}thank_you_post WHERE ID_THX_POST = $ID_THX LIMIT 1", __FILE__, __LINE__); //Okay Correct the stats ;D updateMemberData($ID_MEMBER_THX, array('thank_you_post_made' => '-')); if(!empty($ID_MEMBER_POST)) updateMemberData($ID_MEMBER_POST, array('thank_you_post_became' => '-')); //Okay Update the counter :) ThankYouPostCount($ID_MSG, '-'); //Log the Action? But only if not the member itself if($ID_MEMBER != $ID_MEMBER_THX) logAction($txt['thank_you_post_delete_b'].' ('.$txt['thank_you_link_member'].')', array('member' => $ID_MEMBER_THX, 'topic' => $topic, 'id_msg' => $ID_MSG)); //redirectexit now :=) redirectexit('topic='.$topic.'.msg'.$ID_MSG.'#msg'.$ID_MSG); } //This Functions is used for the listing and for normal load in Display php :x function ThankYouPostList($msg_ids = array(), $preview = false, $board_allowed = false) { global $txt, $scripturl, $topic, $db_prefix, $modSettings, $board, $ID_MEMBER, $user_info; global $sc, $board_info, $context, $settings, $sourcedir, $color_profile; loadLanguage('ThankYouPost'); //The minimum Settings for this script ;) $modSettings += array( 'thankYouPostColors' => 0, 'thankYouPostPreview' => 0, 'thankYouPostPreviewHM' => 0, 'thankYouPostPreviewOrder' => 0, 'thankYouPostFullOrder' => 0, ); //I need to do nothing? if($preview && empty($modSettings['thankYouPostPreview'])) return; //Sometimes i need to checkup the board allowed extra if($board_allowed) { $boardIDs = boardsAllowedTo('thank_you_post_show'); $board_allowed = !(isset($boardIDs[0]) && $boardIDs[0] === 0); //This will only happen if he/she is allowed to everything :) //Not allowed to see any of this boards? Okay than i think i need to do nothing :) if(empty($boardIDs) && $board_allowed) return; } if(empty($msg_ids) && empty($_GET['msg']) && !is_numeric($_GET['msg'])) return; elseif(!empty($_GET['msg']) && is_numeric($_GET['msg'])) $msg_ids = $_GET['msg']; $msg_ids = !is_array($msg_ids) ? array($msg_ids) : $msg_ids; //First the where :D if(count($msg_ids) == 1) $where = "WHERE ID_MSG = ".current($msg_ids); else { $msg_ids = array_unique($msg_ids); $where = "WHERE ID_MSG IN (".implode(', ', $msg_ids).")"; } //Some extra checkup? if($board_allowed) $andBoard = "AND ID_BOARD IN(".implode(',', $boardIDs).")"; else $andBoard = ""; //Select Order Number between Prieview or Full Order :) $order = $preview ? $modSettings['thankYouPostPreviewOrder'] : $modSettings['thankYouPostFullOrder']; //Set the real Order now :) if($order == 1) $sort = 'ORDER BY thx.ID_THX_POST DESC'; elseif($order == 2 && !$preview) $sort = 'ORDER BY mem.memberName'; else $sort = 'ORDER BY thx.ID_THX_POST'; //Limit for each list $limit = $preview && !empty($modSettings['thankYouPostPreviewHM']) ? $modSettings['thankYouPostPreviewHM'] : '0'; //Okay Let's look and remove the not thank you posts :), also collect some datas :) //This is importend! I will only build list for thing where really a known post is! $andCondition = ' AND thank_you_post != 0'; //Load the Post data :) $post = db_query(" SELECT ID_MSG, ID_MEMBER, posterName FROM {$db_prefix}messages $where $andBoard $andCondition LIMIT ".count($msg_ids), __FILE__, __LINE__); $msg_ids = array(); $msg_poster = array(); $msg_posterName = array(); while($row = mysql_fetch_assoc($post)) { //Built the real msg_ids ;) $msg_ids[] = $row['ID_MSG']; if(!empty($row['ID_MEMBER'])) $msg_poster[$row['ID_MSG']] = $row['ID_MEMBER']; //This is for guests :x $msg_posterName[$row['ID_MSG']] = $row['posterName']; } mysql_free_result($post); //At least nothing to do? if(empty($msg_ids)) return; elseif(count($msg_ids) == 1) { $where = "WHERE ID_MSG = ".current($msg_ids); $ID_MSG = current($msg_ids); } else { $msg_ids = array_unique($msg_ids); $where = "WHERE ID_MSG IN (".implode(', ', $msg_ids).")"; } //Okay i can set a real limit =D if only one id is searched :D if(!empty($limit) && count($msg_ids) == 1) { $speciallimit = 'LIMIT '.$modSettings['thankYouPostPreviewHM']; $limit = 0; } else $speciallimit = ''; //Load the Memberdatas :) only if it not a preview :) if(!$preview) loadMemberData($msg_poster, 'minimal'); $collecting_ids = array_values($msg_poster); //So i load a huge array okay depend on the thank who made xD... somehow i must find a better way for limit :x $thx = db_query(" SELECT thx.ID_THX_POST AS ID_THX, thx.ID_MSG AS ID_MSG, thx.ID_TOPIC AS ID_TOPIC, thx.thx_time AS thx_time, IFNULL(mem.ID_MEMBER, 0) AS ID_MEMBER, IFNULL(mem.realName, thx.memberName) AS memberName FROM {$db_prefix}thank_you_post AS thx LEFT JOIN {$db_prefix}members AS mem ON (thx.ID_MEMBER = mem.ID_MEMBER) $where $sort $speciallimit", __FILE__, __LINE__); while($row = mysql_fetch_assoc($thx)) { //Current Member has postet? if(!isset($context['thank_you_post'][$row['ID_MSG']]['user_postet']) || !$context['thank_you_post'][$row['ID_MSG']]['user_postet']) $context['thank_you_post'][$row['ID_MSG']]['user_postet'] = $ID_MEMBER == $row['ID_MEMBER']; //Show only a small amount of it? if(!empty($limit)) { if(!isset($counter[$row['ID_MSG']])) $counter[$row['ID_MSG']] = 1; else $counter[$row['ID_MSG']]++; if($counter[$row['ID_MSG']] > $limit) continue; } //Okay Start the Array :) $context['thank_you_post'][$row['ID_MSG']]['fulllist'][$row['ID_THX']] = array( 'ID_THX' => $row['ID_THX'], 'ID_MEMBER' => $row['ID_MEMBER'], 'memberName' => $row['memberName'], 'href' => !empty($row['ID_MEMBER']) ? $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] : '', 'link' => !empty($row['ID_MEMBER']) ? '' . $row['memberName'] . '' : $row['memberName'], 'deletelink' => allowedTo('thank_you_post_delete_mem_any') || (allowedTo('thank_you_post_delete_mem_own') && $ID_MEMBER == $row['ID_MEMBER']) ? ' *' : '', 'thx_timestamp' => $row['thx_time'], 'thx_time' => timeformat($row['thx_time']), 'last' => false, ); //Collect some id's if i need the colors ;) if(!empty($row['ID_MEMBER'])) $collecting_ids[] = $row['ID_MEMBER']; } mysql_free_result($thx); if(empty($context['thank_you_post'])) return; //Okay Fix the colors :) if(!empty($modSettings['thankYouPostColors'])) { //Okay load the colors and add them :) thank_you_post_loadColors($collecting_ids); //Hoho let'a array_walk ;) okay its a way but i think faster for me is foreach xD foreach($context['thank_you_post'] as $ID_MSG => $content) { if(!empty($content['fulllist'])) { foreach($content['fulllist'] as $ID_THX => $items) { $profile = $color_profile[$context['thank_you_post'][$ID_MSG]['fulllist'][$ID_THX]['ID_MEMBER']]; if(!empty($profile['member_group_color']) || !empty($profile['post_group_color'])) { $time = timeformat($context['thank_you_post'][$ID_MSG]['fulllist'][$ID_THX]['thx_timestamp'], false); $context['thank_you_post'][$ID_MSG]['fulllist'][$ID_THX]['link'] = '' . $profile['realName'] . ''; } } //Hehe a way to find the last item ;D $context['thank_you_post'][$ID_MSG]['fulllist'][$ID_THX]['last'] = true; } } } //Okay not colors but i need to fix something else :X else { foreach($msg_ids as $ID_MSG) { if(!empty($context['thank_you_post'][$ID_MSG]['fulllist'])) { //Hehe look strange but work fine and fast :) end($context['thank_you_post'][$ID_MSG]['fulllist']); //Last key of the list ;) $key = key($context['thank_you_post'][$ID_MSG]['fulllist']); //Set it to the last one $context['thank_you_post'][$ID_MSG]['fulllist'][$key]['last'] = true; //do like i'm do nothing ;D reset($context['thank_you_post'][$ID_MSG]['fulllist']); } } } return; } function ThankYouPostListShow() { global $txt, $scripturl, $topic, $db_prefix, $modSettings, $board, $ID_MEMBER, $user_info; global $sc, $board_info, $context, $settings, $sourcedir, $memberContext; if(!allowedTo('thank_you_post_show')) redirectexit(); //Load the list ;) ThankYouPostList(); //Okay the thank you is allready deleted... go back to the thread or to the startpage :) if(empty($context['thank_you_post'])) { if(!empty($topic)) { if(!isset($_GET['msg'])) redirectexit('topic='.$topic.'.msg'.$_GET['msg'].'#msg'.$_GET['msg']); else redirectexit('topic='.$topic.'.0'); } else redirectexit(); } //Template loadTemplate('ThankYouPost'); //Load the Topic Infomations $request = db_query(" SELECT t.numReplies, t.numViews, t.locked, ms.subject, t.isSticky, t.ID_POLL, t.thank_you_post_locked, t.ID_MEMBER_STARTED, t.ID_FIRST_MSG, t.ID_LAST_MSG, " . ($user_info['is_guest'] ? '0' : 'IFNULL(lt.ID_MSG, -1) + 1') . " AS new_from FROM ({$db_prefix}topics AS t, {$db_prefix}messages AS ms)" . ($user_info['is_guest'] ? '' : " LEFT JOIN {$db_prefix}log_topics AS lt ON (lt.ID_TOPIC = $topic AND lt.ID_MEMBER = $ID_MEMBER)") ." WHERE t.ID_TOPIC = $topic AND ms.ID_MSG = t.ID_FIRST_MSG LIMIT 1", __FILE__, __LINE__); if (mysql_num_rows($request) == 0) fatal_lang_error(472, false); $topicinfo = mysql_fetch_assoc($request); mysql_free_result($request); // Build the link tree. $context['linktree'][] = array( 'url' => $scripturl . '?topic=' . $topic . '.0', 'name' => $topicinfo['subject'], 'extra_before' => $settings['linktree_inline'] ? $txt[118] . ': ' : '' ); // Extend the thank you ;) to the link tree :D. $context['linktree'][] = array( 'url' => $scripturl . '?action=thankyoupostlist;topic=' . $topic . '.0;msg='.$_GET['msg'], 'name' => $txt['thankyoupostlist'] ); // Build a list of this board's moderators. $context['moderators'] = &$board_info['moderators']; $context['link_moderators'] = array(); if (!empty($board_info['moderators'])) { // Add a link for each moderator... foreach ($board_info['moderators'] as $mod) $context['link_moderators'][] = '' . $mod['name'] . ''; // And show it after the board's name. $context['linktree'][count($context['linktree']) - 2]['extra_after'] = ' (' . (count($context['link_moderators']) == 1 ? $txt[298] : $txt[299]) . ': ' . implode(', ', $context['link_moderators']) . ')'; } // Information about the current topic... $context['is_locked'] = $topicinfo['locked']; $context['is_sticky'] = $topicinfo['isSticky']; $context['is_very_hot'] = $topicinfo['numReplies'] >= $modSettings['hotTopicVeryPosts']; $context['is_hot'] = $topicinfo['numReplies'] >= $modSettings['hotTopicPosts']; //Some Thank You things ;) $context['is_thank_you_post_locked'] = $topicinfo['thank_you_post_locked']; $context['thank_you_lock_allowed'] = !empty($board_info['thank_you_post_enable']) && !$user_info['is_guest'] && (allowedTo('thank_you_post_lock_all_any') || (allowedTo('thank_you_post_lock_all_own') && $ID_MEMBER == $topicinfo['ID_MEMBER_STARTED'])); $context['thank_you_post_enable'] = $board_info['thank_you_post_enable']; $context['thank_you_post_unlock_all'] = false; $context['can_send_pm'] = allowedTo('send_pm'); // We don't want to show the poll icon in the topic class here, so pretend it's not one. $context['is_poll'] = false; determineTopicClass($context); // Did this user start the topic or not? $context['user']['started'] = $ID_MEMBER == $topicinfo['ID_MEMBER_STARTED'] && !$user_info['is_guest']; $context['topic_starter_id'] = $topicinfo['ID_MEMBER_STARTED']; // Set the topic's information for the template. $context['subject'] = $topicinfo['subject']; $context['num_views'] = $topicinfo['numViews']; //Load the postinfomation :) $post = db_query(" SELECT ID_MSG, icon, subject, posterTime, posterIP, ID_MEMBER, modifiedTime, modifiedName, body, smileysEnabled, posterName, posterEmail, thank_you_post, thank_you_post_counter FROM {$db_prefix}messages WHERE ID_MSG = $_GET[msg] LIMIT 1", __FILE__, __LINE__); $message = mysql_fetch_assoc($post); mysql_free_result($post); //Load Member Data of the Post if (!empty($message['ID_MEMBER'])) loadMemberData($message['ID_MEMBER']); // If it couldn't load, or the user was a guest.... someday may be done with a guest table. if (!loadMemberContext($message['ID_MEMBER'])) { // Notice this information isn't used anywhere else.... $memberContext[$message['ID_MEMBER']]['name'] = $message['posterName']; $memberContext[$message['ID_MEMBER']]['id'] = 0; $memberContext[$message['ID_MEMBER']]['group'] = $txt[28]; $memberContext[$message['ID_MEMBER']]['link'] = $message['posterName']; $memberContext[$message['ID_MEMBER']]['email'] = $message['posterEmail']; $memberContext[$message['ID_MEMBER']]['hide_email'] = $message['posterEmail'] == '' || (!empty($modSettings['guest_hideContacts']) && $user_info['is_guest']); $memberContext[$message['ID_MEMBER']]['is_guest'] = true; } else { $memberContext[$message['ID_MEMBER']]['can_view_profile'] = allowedTo('profile_view_any') || ($message['ID_MEMBER'] == $ID_MEMBER && allowedTo('profile_view_own')); $memberContext[$message['ID_MEMBER']]['is_topic_starter'] = $message['ID_MEMBER'] == $context['topic_starter_id']; } $memberContext[$message['ID_MEMBER']]['ip'] = $message['posterIP']; // $context['icon_sources'] says where each icon should come from - here we set up the ones which will always exist! if (empty($context['icon_sources'])) { $stable_icons = array('xx', 'thumbup', 'thumbdown', 'exclamation', 'question', 'lamp', 'smiley', 'angry', 'cheesy', 'grin', 'sad', 'wink', 'moved', 'recycled', 'wireless'); $context['icon_sources'] = array(); foreach ($stable_icons as $icon) $context['icon_sources'][$icon] = 'images_url'; } // Message Icon Management... check the images exist. if (empty($modSettings['messageIconChecks_disable'])) { // If the current icon isn't known, then we need to do something... if (!isset($context['icon_sources'][$message['icon']])) $context['icon_sources'][$message['icon']] = file_exists($settings['theme_dir'] . '/images/post/' . $message['icon'] . '.gif') ? 'images_url' : 'default_images_url'; } elseif (!isset($context['icon_sources'][$message['icon']])) $context['icon_sources'][$message['icon']] = 'images_url'; //This Handels the Hidetag ;)... $context['user_post_avaible'] = 0; //This Thx can unhide itself? if(!$user_info['is_guest']) { if((!empty($modSettings['thankYouPostThxUnhideAll']) || !empty($modSettings['thankYouPostUnhidePost'])) && $context['thank_you_post'][$message['ID_MSG']]['user_postet']) $context['user_post_avaible'] = 1; //Okay you postet somewhere a thx and can see this hidden conent? elseif(!empty($modSettings['thankYouPostThxUnhideAll'])) { //Look for Thx post made in the Thread ;) $check = db_query(" SELECT ID_THX_POST FROM {$db_prefix}thank_you_post WHERE ID_MEMBER = $ID_MEMBER AND ID_TOPIC = $topic LIMIT 1", __FILE__, __LINE__); list($ID_THX) = mysql_fetch_row($check); mysql_free_result; if(!empty($ID_THX)) $context['user_post_avaible'] = 1; } //Okay Hide Standard is enabled, and i look if you postet here? if(empty($context['user_post_avaible']) && empty($modSettings['thankYouPostDisableUnhide'])) { $request = db_query(" SELECT ID_MSG, ID_MEMBER FROM {$db_prefix}messages WHERE ID_TOPIC = $topic AND ID_MEMBER = $ID_MEMBER LIMIT 1", __FILE__, __LINE__); if (mysql_num_rows($request)) $context['user_post_avaible'] = 1; else $context['user_post_avaible'] = 0; mysql_free_result($request); } } else $context['user_post_avaible'] = 0; // Do the censor things. censorText($message['body']); censorText($message['subject']); // Run BBC interpreter on the message. $message['body'] = parse_bbc($message['body'], $message['smileysEnabled'], $message['ID_MSG']); //Okay Build the post ;) $context['thank_you_post']['post'] = array( 'id' => $message['ID_MSG'], 'alternate' => 0, 'href' => $scripturl . '?topic=' . $topic . '.msg' . $message['ID_MSG'] . '#msg' . $message['ID_MSG'], 'link' => '' . $message['subject'] . '', 'member' => &$memberContext[$message['ID_MEMBER']], 'icon' => $message['icon'], 'icon_url' => $settings[$context['icon_sources'][$message['icon']]] . '/post/' . $message['icon'] . '.gif', 'subject' => $message['subject'], 'time' => timeformat($message['posterTime']), 'timestamp' => forum_time(true, $message['posterTime']), 'modified' => array( 'time' => timeformat($message['modifiedTime']), 'timestamp' => forum_time(true, $message['modifiedTime']), 'name' => $message['modifiedName'] ), 'body' => $message['body'], 'can_see_ip' => allowedTo('moderate_forum') || ($message['ID_MEMBER'] == $ID_MEMBER && !empty($ID_MEMBER)), 'thank_you_post' => array( 'post' => !$context['thank_you_post'][$message['ID_MSG']]['user_postet'] && allowedTo('thank_you_post_post') && $ID_MEMBER != $message['ID_MEMBER'], 'lock' => empty($context['is_thank_you_post_locked']) && (allowedTo('thank_you_post_lock_any') || (allowedTo('thank_you_post_lock_own') && $ID_MEMBER == $message['ID_MEMBER'])), 'delete' => allowedTo('thank_you_post_delete_any') || (allowedTo('thank_you_post_delete_own') && $ID_MEMBER == $message['ID_MEMBER']), 'counter' => !empty($message['thank_you_post_counter']) ? $message['thank_you_post_counter'] : '0', 'locked' => !empty($message['thank_you_post']) && $message['thank_you_post'] > 1, 'isThankYouPost' => !empty($message['thank_you_post']) && $message['thank_you_post'] >= 1, 'href' => $scripturl . '?topic=' . $topic . '.msg' . $message['ID_MSG'] . '#msg' . $message['ID_MSG'], ), ); $context['page_title'] = $message['subject']; //This is needed for the Karma *g* $context['start'] = !empty($_REQUEST['start']) ? $_REQUEST['start'] : 0; } function ThankYouPostLock() { global $txt, $topic, $db_prefix, $ID_MEMBER; //Load some Languagefiles :) loadLanguage('Errors'); loadLanguage('ThankYouPost'); //Okay Okay ;D Most importend! if(empty($_GET['msg']) || !is_numeric($_GET['msg']) || empty($topic)) fatal_error($txt['NMidTopicSet'], false); //First look if the Thank You closed? ThankYouPostCheckClosed(); //Load the Post data :) $post = db_query(" SELECT ID_MSG, ID_MEMBER, thank_you_post, thank_you_post_counter FROM {$db_prefix}messages WHERE ID_TOPIC = $topic AND ID_MSG = $_GET[msg] LIMIT 1", __FILE__, __LINE__); list($ID_MSG, $ID_MEMBER_POST, $status, $count) = mysql_fetch_row($post); mysql_free_result($post); if(empty($ID_MSG)) fatal_error($txt['WMidTopicSet'], false); //Okay mal rechte prüfen :) elseif(!allowedTo('thank_you_post_lock_any') && !(allowedTo('thank_you_post_lock_own') && $ID_MEMBER == $ID_MEMBER_POST)) fatal_error($txt['thxislockednor'], false); elseif(empty($status)) fatal_error($txt['notathankyoupost'], false); //Hehe dann mal ändern :) db_query(" UPDATE {$db_prefix}messages SET thank_you_post = IF(thank_you_post = 1, 2, 1) WHERE ID_MSG = $ID_MSG LIMIT 1", __FILE__, __LINE__); //Log the Thank You Post Lock? if($status == 1) logAction($txt['thank_you_post_lock_b'], array('member' => $ID_MEMBER_POST, 'topic' => $topic, 'msg' => $ID_MSG)); //Okay all done now Reddirect exit :) if(!isset($_GET['list'])) redirectexit('topic='.$topic.'.msg'.$ID_MSG.'#msg'.$ID_MSG); else redirectexit('action=thankyoupostlist;topic='.$topic.'.0;msg='.$ID_MSG); } //This is a small Skript to load colors for Thank You(a little bit faster... because sometime i need 100+ colors :x) function thank_you_post_loadColors($users) { global $color_profile, $db_prefix, $modSettings; //Make something for sure :) if(!isset($color_profile)) $color_profile = array(); //Set a standard empty array for guest errors ;) (Deleted users, which are not resetet) if(!isset($color_profile[0])) $color_profile[0] = array('member_group_color' => '', 'post_group_color' => ''); // Can't just look for no users :P. if (empty($users)) return false; // Make sure it's an array. $users = !is_array($users) ? array($users) : array_unique($users); //Now i will use this as a chache, too $loaded_ids = array(); $all_loaded_ids = array_keys($color_profile); //All the users that allready loaded $loaded_ids = array_intersect($all_loaded_ids, $users); //Now i need only the new users to load $users = array_diff($users, $all_loaded_ids); if (empty($users)) return empty($loaded_ids) ? false : $loaded_ids; // Load the data. $request = db_query(" SELECT mem.ID_MEMBER AS ID_MEMBER, mem.realName AS realName, mg.onlineColor AS member_group_color, IFNULL(mg.groupName, '') AS member_group, pg.onlineColor AS post_group_color, IFNULL(pg.groupName, '') AS post_group FROM {$db_prefix}members AS mem LEFT JOIN {$db_prefix}membergroups AS pg ON (pg.ID_GROUP = mem.ID_POST_GROUP) LEFT JOIN {$db_prefix}membergroups AS mg ON (mg.ID_GROUP = mem.ID_GROUP) WHERE mem.ID_MEMBER ".(count($users) == 1 ? " = '" . current($users) . "'" : " IN ('" . implode("', '", $users) . "')"), __FILE__, __LINE__); while ($row = mysql_fetch_assoc($request)) { $loaded_ids[] = $row['ID_MEMBER']; $color_profile[$row['ID_MEMBER']] = $row; } mysql_free_result($request); return empty($loaded_ids) ? false : $loaded_ids; } function ThankYouPostCount($msg_ids = array(), $counter = '+') { global $db_prefix, $modSettings; if(empty($msg_ids)) return; if($counter != '+' && $counter != '-' && $counter != 'reset' && !is_numeric($counter)) { trigger_error("ThankYouPostCount(): Unkonwn 2. Paramter", E_USER_NOTICE); return; } $msg_ids = !is_array($msg_ids) ? array($msg_ids) : $msg_ids; if(count($msg_ids) == 1) $where = "WHERE ID_MSG = ".current($msg_ids); else { $msg_ids = array_unique($msg_ids); $where = "WHERE ID_MSG IN (".implode(', ', $msg_ids).")"; } //Limit :) $limit = " LIMIT ".count($msg_ids); //Build the sets :) if($counter == '+' || $counter == '-') $set = 'SET thank_you_post_counter = IF(thank_you_post_counter '.$counter.' 1 < 0, 0, thank_you_post_counter '.$counter.' 1)'; elseif(is_numeric($counter)) { $counter = (int) $counter; //Never go bellow 0 ;) if($counter < 0) $counter = 0; $set = "SET thank_you_post_counter = $counter"; } //Recalculate all Values :x, a lot of things to do << else { //Theres a fast and long way :) $count = db_query( "SELECT COUNT(*) as counter, ID_MSG FROM {$db_prefix}thank_you_post $where GROUP BY ID_MSG", __FILE__, __LINE__); //The fast way :) if(count($msg_ids) == 1) { list($counter, $ID_MSG) = mysql_fetch_row($count); mysql_free_result($count); $counter = empty($counter) ? 0 : $counter; //Set the statment :) $set = "SET thank_you_post_counter = $counter"; } //Long way... else { //Change all step by step :) while($row = mysql_fetch_assoc($count)) ThankYouPostCount($row['ID_MSG'], $row['counter']); mysql_free_result($count); //So after this i'm finished :) return; } } //Okay i will update it :) (But only if all is correct :X if(!empty($set) && !empty($where) && !empty($limit)) { db_query(" UPDATE {$db_prefix}messages $set $where $limit",__FILE__, __LINE__); } else trigger_error("ThankYouPostCount(): Could not update counter", E_USER_NOTICE); return; } function ThankYouPostCheckClosed() { global $topic, $txt, $db_prefix; //Missing language file? if(!isset($txt['NMidTopicSet'])) loadLanguage('ThankYouPost'); if(empty($topic)) fatal_error($txt['NMidTopicSet'], false); //Check if locked ;) $check = db_query(" SELECT thank_you_post_locked FROM {$db_prefix}topics WHERE ID_TOPIC = $topic LIMIT 1", __FILE__, __LINE__); $locked = mysql_fetch_assoc($check); mysql_free_result($check); if(empty($locked['thank_you_post_locked']) || $locked['thank_you_post_locked'] < 1) return true; else fatal_error($txt['thxislocked'], false); } function ThankYouPostCloseAll() { global $txt, $topic, $db_prefix, $ID_MEMBER; //Load some Languagefiles :) loadLanguage('Errors'); loadLanguage('ThankYouPost'); //Okay Okay ;D Most importend! if(empty($topic)) fatal_error($txt['NMidTopicSet'], false); //Load the Topic Starter informations ;) $topicinfo = db_query(" SELECT ID_MEMBER_STARTED FROM {$db_prefix}topics WHERE ID_TOPIC = $topic LIMIT 1", __FILE__, __LINE__); list($ID_MEMBER_STARTED) = mysql_fetch_row($topicinfo); mysql_free_result($topicinfo); //Okay check the right if(!(allowedTo('thank_you_post_lock_all_own') && $ID_MEMBER == $ID_MEMBER_STARTED) && !allowedTo('thank_you_post_lock_all_any')) fatal_error($txt['thxislockednor'], false); //Okay change it ;) db_query(" UPDATE {$db_prefix}topics SET thank_you_post_locked = IF(thank_you_post_locked = 0, 1, 0) WHERE ID_TOPIC = $topic LIMIT 1", __FILE__, __LINE__); redirectexit('topic='.$topic); } function ThankYouPostRemoveTopics($topics = array()) { global $db_prefix; //Okay Let's do the work, no checks here because the user already allowed to remove topics, //so i will allow remove thank you from this topics :)! if(empty($topics)) return; elseif(count($topics) == 1) $condition = 'ID_TOPIC = '.current($topics); else $condition = 'ID_TOPIC IN ('.implode(', ', $topics).')'; //Okay now do the work, load all topic infomations and all the ID_MSG... and update all members... and so on... //now nothing can be stoped any more << $posts = db_query(" SELECT ID_MSG FROM {$db_prefix}messages WHERE $condition AND thank_you_post != 0", __FILE__, __LINE__); $msg_ids = array(); while($row = mysql_fetch_assoc($posts)) $msg_ids[] = current($row); mysql_free_result($posts); //Nothing to do? Hope so... if not hope it take not to long :X Okay depent on the posts who made << if(empty($msg_ids)) return; else ThankYouPostDelete($msg_ids); return; } function ThankYouPostUnlockAllPosts() { global $db_prefix, $txt, $topic; loadLanguage('ThankYouPost'); if(empty($topic)) fatal_error($txt['NMidTopicSet'], false); //Allowed to do this? isAllowedTo('thank_you_post_unlock_all'); //Okay do it now ;) db_query(" UPDATE {$db_prefix}messages SET thank_you_post = IF(thank_you_post = 2, 1, thank_you_post) WHERE ID_TOPIC = $topic", __FILE__, __LINE__); redirectexit('topic='.$topic); } // Miscellaneous Count maintenance.. function ThankYouPostRecountAll() { global $context, $txt, $db_prefix, $user_info, $modSettings; // Select it on the left. adminIndex('maintain_forum'); $context['page_title'] = $txt['not_done_title']; $context['continue_post_data'] = ''; $context['continue_countdown'] = '3'; $context['sub_template'] = 'not_done'; // Try for as much time as possible. @set_time_limit(600); $maintenance_done = false; //Okay Let's do the work ;) if(!isset($_GET['substep'])) $_GET['substep'] = 0; if(!isset($_GET['pos'])) $_GET['pos'] = 0; if(!isset($step_count)) $step_count = 0; if(!isset($rows)) $rows = 0; //First Callculate all the Thank You Post Counts :) if(empty($_GET['pos'])) { //250 Querys in a short time should be enouph *g* $step_count = 250; $counter = db_query(" SELECT count(*) as count, ID_MSG FROM {$db_prefix}thank_you_post GROUP BY ID_MSG LIMIT $_GET[substep], $step_count", __FILE__, __LINE__); $rows = mysql_num_rows($counter); //Replace all while($row = mysql_fetch_assoc($counter)) db_query(" UPDATE {$db_prefix}messages SET thank_you_post_counter = $row[count] WHERE ID_MSG = $row[ID_MSG] LIMIT 1", __FILE__, __LINE__); mysql_free_result($counter); //Reload Settings :) if(empty($rows)) $_GET['pos'] = 1; } //Updating all Member Stats made stats ;) if($_GET['pos'] == 1) { $step_count = 250; $counter = db_query(" SELECT count(*) as count, ID_MEMBER FROM {$db_prefix}thank_you_post GROUP BY ID_MEMBER LIMIT $_GET[substep], $step_count", __FILE__, __LINE__); $rows = mysql_num_rows($counter); //Replace all while($row = mysql_fetch_assoc($counter)) db_query(" UPDATE {$db_prefix}members SET thank_you_post_made = $row[count] WHERE ID_MEMBER = $row[ID_MEMBER] LIMIT 1", __FILE__, __LINE__); //Reload Settings :) if(empty($rows)) $_GET['pos'] = 2; } //This is work... hmmm how made this fast? very difficult ;) //Okay calculate the became thank yous new ;D That wach user give to you... a lot work << if($_GET['pos'] == 2) { //Think about... if you made this to high it can take a long time tu build ;). $step_count = 50; $counter = db_query(" SELECT ID_MEMBER, SUM(thank_you_post_counter) as count FROM {$db_prefix}messages WHERE thank_you_post != 0 GROUP BY ID_MEMBER LIMIT $_GET[substep], $step_count", __FILE__, __LINE__); $rows = mysql_num_rows($counter); //Replace all while($row = mysql_fetch_assoc($counter)) { db_query(" UPDATE {$db_prefix}members SET thank_you_post_became = $row[count] WHERE ID_MEMBER = $row[ID_MEMBER] LIMIT 1", __FILE__, __LINE__); } if(empty($rows)) $maintenance_done = true; } if($_GET['pos'] > 2) $maintenance_done = true; if(!$maintenance_done) { if($step_count > $rows) { $_GET['pos']++; $_GET['substep'] = 0; } else { $_GET['substep'] = $_GET['substep'] + $step_count; } return ThankYouPostRM(); } //Okay it's done so beck to maintaince done ;) redirectexit('action=maintain;done'); } function ThankYouPostRM() { //Okay redirect back ;) redirectexit('action='.$_REQUEST['action'].';substep='.$_GET['substep'].';pos='.$_GET['pos']); } // Miscellaneous Repair maintenance.. function ThankYouPostRepairTable() { global $context, $txt, $db_prefix, $user_info, $modSettings; // Select it on the left. adminIndex('maintain_forum'); $context['page_title'] = $txt['not_done_title']; $context['continue_post_data'] = ''; $context['continue_countdown'] = '3'; $context['sub_template'] = 'not_done'; // Try for as much time as possible. @set_time_limit(600); $maintenance_done = false; //Okay Let's do the work ;) if(!isset($_GET['substep'])) $_GET['substep'] = 0; if(!isset($_GET['pos'])) $_GET['pos'] = 0; if(!isset($step_count)) $step_count = 0; if(!isset($rows)) $rows = 0; //Find all the not existing Posts and remove them from the thank you ;) if(empty($_GET['pos'])) { $step_count = 250; $counter = db_query(" SELECT t.ID_MSG as ID_MSG FROM {$db_prefix}thank_you_post as t LEFT JOIN {$db_prefix}messages as m ON (t.ID_MSG = m.ID_MSG) WHERE m.ID_MSG IS NULL GROUP BY ID_MSG LIMIT $step_count", __FILE__, __LINE__); $rows = mysql_num_rows($counter); //Replace all $msg_ids = array(); while($row = mysql_fetch_assoc($counter)) $msg_ids[] = $row['ID_MSG']; mysql_free_result($counter); if(!empty($msg_ids)) //Delete all, need no recalculation, because i miss the master things ;) db_query(" DELETE FROM {$db_prefix}thank_you_post WHERE ID_MSG IN (".implode(', ', $msg_ids).")", __FILE__, __LINE__); //Reload Settings :) if(empty($rows)) $_GET['pos'] = 1; } //Search for not enabled Thank You Boards ;) if($_GET['pos'] == 1) { $step_count = 250; //Load not enabled list, and remove recycler ;D $boardlist = db_query(" SELECT ID_BOARD FROM {$db_prefix}boards WHERE thank_you_post_enable != 0 AND ID_BOARD != $modSettings[recycle_board]", __FILE__, __LINE__); $boards = array(); while($row = mysql_fetch_assoc($boardlist)) $boards[] = $row['ID_BOARD']; //Nothing to do? Go to next step ;) if(empty($boards)) { $_GET['pos']++; $_GET['substep'] = 0; return ThankYouPostRM(); } //Okay delete all this posts $counter = db_query(" SELECT ID_MSG FROM {$db_prefix}thank_you_post WHERE ID_BOARD IN (".implode(', ', $boards).") GROUP BY ID_MSG LIMIT $step_count", __FILE__, __LINE__); $rows = mysql_num_rows($counter); //Replace all $msg_ids = array(); while($row = mysql_fetch_assoc($counter)) $msg_ids[] = $row['ID_MSG']; mysql_free_result($counter); if(!empty($msg_ids)) //Delete all, an recallculate stats :) ThankYouPostDelete($msg_ids); if(empty($rows) || empty($msg_ids)) $_GET['pos'] = 2; } //Find double entries but only if the modSetting is set ;) //Each time i must goo through the complete list... so it could take longer than thought :x if($_GET['pos'] == 2 && empty($modSettings['thankYouPostOnePerPost'])) { $step_count = 500; //I go in a while condition... until i find some ;) $roundToTry = 0; $gogogo = true; while($gogogo && $roundToTry <= 20) { $counter = db_query(" SELECT ID_MEMBER, COUNT(ID_MEMBER) as count, ID_TOPIC FROM {$db_prefix}thank_you_post GROUP BY ID_TOPIC, ID_MEMBER LIMIT $_GET[substep], $step_count", __FILE__, __LINE__); $rows = mysql_num_rows($counter); //Replace all $toMuch = array(); while($row = mysql_fetch_assoc($counter)) if($row['count'] > 1) $toMuch[] = array( 'ID_MEMBER' => $row['ID_MEMBER'], 'ID_TOPIC' => $row['ID_TOPIC'], 'count' => $row['count'], 'limit' => $row['count'] - 1, ); mysql_free_result($counter); //Save ;) $roundToTry++; $gogogo = !empty($rows) && empty($toMuch); if($gogogo && $roundToTry <= 20) $_GET['substep'] = $_GET['substep'] + $step_count; } //Okay something to remove? ;) if(!empty($toMuch)) { foreach($toMuch as $toSearch) { //Mistake? if($toSearch['count'] <= 1) continue; $thx = db_query(" SELECT ID_THX_POST as ID_THX, ID_MSG, ID_MEMBER FROM {$db_prefix}thank_you_post WHERE ID_TOPIC = $toSearch[ID_TOPIC] LIMIT 1, $toSearch[limit]", __FILE__, __LINE__); $remove_ids = array(); while($row = mysql_fetch_assoc($thx)) $remove_ids[$row['ID_MSG']] = array( 'ID_THX' => $row['ID_THX'], 'ID_MEMBER' => $row['ID_MEMBER'], ); mysql_free_result($thx); if(empty($remove_ids)) continue; //Next Step... single post delete or is it a complete delete ;), it's a diffrence ;P //Load Message infomations for the ID_MSGs ;) $posts = db_query(" SELECT ID_MSG, ID_MEMBER AS ID_MEMBER_POSTER, thank_you_post_counter FROM {$db_prefix}messages WHERE ID_MSG IN(".implode(', ', array_keys($remove_ids)).") LIMIT ".count(array_keys($remove_ids)), __FILE__, __LINE__); $toDelete = array( 'single' => array(), 'complete' => array(), ); while($row = mysql_fetch_assoc($posts)) { if($row['thank_you_post_counter'] == 1) $toDelete['complete'][] = $row['ID_MSG']; else $toDelete['single'][] = array( 'ID_MSG' => $row['ID_MSG'], 'ID_MEMBER_POSTER' => $row['ID_MEMBER_POSTER'], 'ID_THX' => $remove_ids[$row['ID_MSG']]['ID_THX'], 'ID_MEMBER' => $remove_ids[$row['ID_MSG']]['ID_MEMBER'], ); } if(empty($toDelete['complete']) && empty($toDelete['complete'])) continue; if(!empty($toDelete['complete'])) ThankYouPostDelete($toDelete['complete']); if(!empty($toDelete['single'])) { //Okay Step by step *g* $msg_ids = array(); $thx_ids = array(); //First Step decrase all became and made stats of the selected members foreach($toDelete['single'] as $value) { $msg_ids[] = $value['ID_MSG']; $thx_ids[] = $value['ID_THX']; //Update Stats :) updateMemberData($value['ID_MEMBER'], array('thank_you_post_made' => '-')); if(!empty($value['ID_MEMBER_POSTER']) && $value['ID_MEMBER_POSTER'] != '-1') updateMemberData($value['ID_MEMBER_POSTER'], array('thank_you_post_became' => '-')); } //Remove the thx ids if(!empty($thx_ids)) db_query(" DELETE FROM {$db_prefix}thank_you_post WHERE ID_THX_POST IN (".implode(', ', $thx_ids).") LIMIT ".count($thx_ids), __FILE__, __LINE__); //Recalculate the Complete Sum of the post count ;) if(!empty($msg_ids)) ThankYouPostCount($msg_ids, 'reset'); } } } if(empty($rows)) $_GET['pos'] = 3; } elseif($_GET['pos'] == 2) $_GET['pos'] = 3; //Look for 0 Thank You Post Count but thank you post is enabled! Disable Them ;) if($_GET['pos'] == 3) { db_query(" UPDATE {$db_prefix}messages SET thank_you_post = 0 WHERE thank_you_post_counter = 0 AND thank_you_post != 0", __FILE__, __LINE__); $maintenance_done = true; } if($_GET['pos'] > 3) $maintenance_done = true; if(!$maintenance_done) { if($step_count > $rows) { $_GET['pos']++; $_GET['substep'] = 0; } else { $_GET['substep'] = $_GET['substep'] + $step_count; } return ThankYouPostRM(); } //Okay it's done so beck to maintaince done ;) redirectexit('action=maintain;done'); } ?>
Fatal error: Call to undefined function ThankYouPostRemoveTopics() in C:\Archivos de programa\EasyPHP5.3.0\www\Sources\RemoveTopic.php on line 368
Thanks for the help.
Now i can in in the forum, but there isnt the button for thanks.
Can you help me please?
Thanks
Are you sure that the mod installed correct... i think it was nothing done... possible the complete move the files are missing...
hi, how can i install to Core theme ? :)
i have SMF2.0 RC2
This will automatic work if you install Tahnk-O-Matic 2.0 RC1.
Quote from: ディン1031 on November 16, 2009, 01:26:23 AM
This will automatic work if you install Tahnahnk-O-Matic 2.0 RC1
i tried install manually of this
Thank-O-Matic 2.0 RC1 i think 3x...
and i have problem, i can see problem in post, exactly display template, all icons are out of order >:(
Can you repair it pls ? :(
i´m sending display.template.php in attachment
Manual install... hmmmm did you upload all files to the correct positions?
Quote from: ディン1031 on November 17, 2009, 12:39:53 AM
Manual install... hmmmm did you upload all files to the correct positions?
sure :(
Hmmm than the only reason why it not work could be not enabled on Boards, no permissions set... at the first llok through the file it should be installed :X.
Update about Turkish translation :) , This translates work for RC1 only i think didnt looked ex-versions...
Hello. I have installed this mod on my 2.0 RC2 (test) forum. It works fine with the default theme and some default theme clone but with the Core theme and January theme, where I had to install it manually, I can't see the icons. I have Thank you, Lock Thank You, Delete Thank You text but not the icons although they are in the button directory. What's wrong with them? In the previous version (RC1.2) it works with all theme properly.
Hello
I'm install this mod on my 2.0 RC1.2 and work
But i have one little problem. When I click on "thak you" button, the list of thanks is visible, when I refreshed this page, the list is not showing
Permission and other is OK
Please help me. Sorry for my bad english
Quote from: Buta on November 21, 2009, 06:27:18 PM
Hello
I'm install this mod on my 2.0 RC1.2 and work
But i have one little problem. When I click on "thak you" button, the list of thanks is visible, when I refreshed this page, the list is not showing
Permission and other is OK
Please help me. Sorry for my bad english
For my understanding you click on thank you than the list is updated and it appear under the post? After you click refresh it disapear? The only reason why this could happen is because of a missing part in the Display.tempalte.php... hmmm
Quote from: RML on November 20, 2009, 02:06:39 PM
Hello. I have installed this mod on my 2.0 RC2 (test) forum. It works fine with the default theme and some default theme clone but with the Core theme and January theme, where I had to install it manually, I can't see the icons. I have Thank you, Lock Thank You, Delete Thank You text but not the icons although they are in the button directory. What's wrong with them? In the previous version (RC1.2) it works with all theme properly.
Did you copy the image into the core theme?
Quote from: Antes on November 19, 2009, 04:17:23 PM
Update about Turkish translation :) , This translates work for RC1 only i think didnt looked ex-versions...
Thanks, i will insert it as soon as i can :).
QuoteDid you copy the image into the core theme?
Yes, of course I did.
Hi, I'm having a problem installing this mod. Checked permissions, seems ok. I'm getting this error message:
Fatal error: require() [function.require]: Failed opening required '/home/mydomain/public_html/Packages/temp/./install_1.x.x.php' (include_path='.:/usr/local/lib/php') in /home/mydomain/public_html/Sources/Packages.php on line 556
I'm running SMF 1.1.10 and try to install Thank-O-Matic 1.2.5
Thanks/
Quote from: RML on November 23, 2009, 05:56:20 AM
QuoteDid you copy the image into the core theme?
Yes, of course I did.
Hmmm stange... i've no idea why it not work...
Quote from: Dzen on November 25, 2009, 04:28:00 PM
Hi, I'm having a problem installing this mod. Checked permissions, seems ok. I'm getting this error message:
Fatal error: require() [function.require]: Failed opening required '/home/mydomain/public_html/Packages/temp/./install_1.x.x.php' (include_path='.:/usr/local/lib/php') in /home/mydomain/public_html/Sources/Packages.php on line 556
I'm running SMF 1.1.10 and try to install Thank-O-Matic 1.2.5
Thanks/
I think you need to check you server setup :X
Quote from: ディン1031 on November 26, 2009, 12:25:15 PM
I think you need to check you server setup :X
Might be you could guide me to some topic discussing what particularly I need to check?
Thanks in advance!
I think you're server can not unpack zip or tar.gz files. That would be my first suggest ;).
Thank you for your reply.
Did lots of research and several hours dancing around the fire. Had a problem with permissions. Finally figured it out. Thank you! Great mod! ;)
Quote from: ディン1031 on November 26, 2009, 01:09:09 PM
I think you're server can not unpack zip or tar.gz files. That would be my first suggest ;).
your mod modifies only files in deefault theme, but in the core theme (theme for SMF 1.1) does not change! (display.php, etc ..) and and I have a desire to make thanks button at the bottom of message
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi50.tinypic.com%2F9t3cl3.gif&hash=bfe71563a6b983d384d24552a033ef61a14d299c)
better look at image http://i50.tinypic.com/9t3cl3.jpg
also error log (just checked)
8: Undefined index: thankyouposttitle
File: /home/crystali/public_html/forum/Sources/ModSettings.php
Line: 141
forum/index.php?action=maintain&&&&&&&&&&&&&&&&&&&&&&&&&&&sa=logs
8: Undefined index: maintain_thxpostrepair
File: /home/crystali/public_html/forum/Themes/default/Admin.template.php (maintain sub template - eval?)
Line: 1141
forum/index.php?action=maintain&&&&&&&&&&&&&&&&&&&&&&&&&&&sa=logs
8: Undefined index: maintain_thxpostrecount
File: /home/crystali/public_html/forum/Themes/default/Admin.template.php (maintain sub template - eval?)
Line: 1140
i an using latest smf and joomla latest, with jfushion
not sure if the intergration of joomla and smf is causing the issue..
i installed a bookmark mod without an issue right before this mod...
it appears like all is going well until the last screen which is missing stuff, then if i leave that screen it doesn't appear again in are it should be..
any ideas?
in CACHE folder delete all php files and reload admin panel in browser
hello.
just check error logs and saw this
8: Undefined index: thankyouposttitle
File: /home/crystali/public_html/forum/Sources/ModSettings.php
Line: 141
forum/index.php?action=maintain&&&&&&&&&&&&&&&&&&&&&&&&&&&sa=logs
8: Undefined index: maintain_thxpostrepair
File: /home/crystali/public_html/forum/Themes/default/Admin.template.php (maintain sub template - eval?)
Line: 1141
forum/index.php?action=maintain&&&&&&&&&&&&&&&&&&&&&&&&&&&sa=logs
8: Undefined index: maintain_thxpostrecount
File: /home/crystali/public_html/forum/Themes/default/Admin.template.php (maintain sub template - eval?)
Line: 1140
where is the cache folder? i don't have one in smf, and in joomla there are no php files.
thanks for your time :)
what SMF Version? you mod must be compatible with you version of SMF. Uninstall old module and install new compatible module. Cache folder in SMF folder, if new text not show, delete all in cahce folder exlude .htaccess
correction.... latest smf for 1.x (just realized there are two latest) which doesn't have a cache folder
and i have correct version for 1.x which is 125
Quote from: wernix on November 28, 2009, 10:43:32 AM
Quote from: ディン1031 on November 26, 2009, 01:09:09 PM
I think you're server can not unpack zip or tar.gz files. That would be my first suggest ;).
your mod modifies only files in deefault theme, but in the core theme (theme for SMF 1.1) does not change! (display.php, etc ..) and and I have a desire to make thanks button at the bottom of message
?_? i don't understand... what do you mean? Which Version? In V1.2.5 the default theme is changed... i tested it and it should work like i want that it work.
Quote from: solutionsExpert on November 28, 2009, 08:53:33 PM
hello.
just check error logs and saw this
8: Undefined index: thankyouposttitle
File: /home/crystali/public_html/forum/Sources/ModSettings.php
Line: 141
forum/index.php?action=maintain&&&&&&&&&&&&&&&&&&&&&&&&&&&sa=logs
8: Undefined index: maintain_thxpostrepair
File: /home/crystali/public_html/forum/Themes/default/Admin.template.php (maintain sub template - eval?)
Line: 1141
forum/index.php?action=maintain&&&&&&&&&&&&&&&&&&&&&&&&&&&sa=logs
8: Undefined index: maintain_thxpostrecount
File: /home/crystali/public_html/forum/Themes/default/Admin.template.php (maintain sub template - eval?)
Line: 1140
where is the cache folder? i don't have one in smf, and in joomla there are no php files.
thanks for your time :)
In 1.2.5 is no cache folder ;). First thought you use a different language than English and this are errors because of this...
nope i am using english.
screenshot of mine from above http://i50.tinypic.com/9t3cl3.jpg
Slight problem. I have the curve default 2.0 rc2 theme installed. Installed mod works perfect; no errors until I tried go modify a board. It was the no echo and I was able to fix it. (http://www.simplemachines.org/community/index.php?topic=176565.msg2350939#msg2350939)
However, now my manageboards.template.php seems to be broken. I can access it fine, but it looks like the template has been modified somehow. Attached is a screenshot and my manageboards.template.php (starts on line 510)
No errors in log.
Thank@Matic kod hatası buldum. for 2.0.RC2
$themedir/ManageBoards.template.php dosyasında hatalı kodlama yapılmıştır.
<edit file>
$themedir/ManageBoards.template.php
</edit file>
<search for>
echo '
<input type="hidden" name="rid" value="', $context['redirect_location'], '" />
</search for>
error
<add before>
<div id="thank_o_matic_div">
<dl class="settings">
<dt>
<strong>', $txt['mboards_thank_you_post_enable'], ':</strong><br />
<span class="smalltext">', $txt['mboards_thank_you_post_enable_desc'], '</span><br />
</dt>
<dd>
<input type="checkbox" name="thank_you_post_enable"', $context['board']['thank_you_post_enable'] ? ' checked="checked"' : '', ' class="input_check" />
</dd>
</dl>
</div>';
</add before>
Modifikasyonun başında :
echo'
eksikliğinin varlığını gördüm ve Category and Department Management(Kategori ve Bölüm Yönetimi) giriş yapamıyordum.Modifikasyonu indirdim ve bu ufak sorunu gördüm.Düzeltince giriş yapabildim.
Aynı sorunu yaşayıpta düzeltmek isteyenler aşağıdaki kodu uygulasınlar :
corrected (düzeltilmiş hali)
<add before>
echo'
<div id="thank_o_matic_div">
<dl class="settings">
<dt>
<strong>', $txt['mboards_thank_you_post_enable'], ':</strong><br />
<span class="smalltext">', $txt['mboards_thank_you_post_enable_desc'], '</span><br />
</dt>
<dd>
<input type="checkbox" name="thank_you_post_enable"', $context['board']['thank_you_post_enable'] ? ' checked="checked"' : '', ' class="input_check" />
</dd>
</dl>
</div>';
</add before>
Bu ufak hatanın pakettede düzeltilmesi dileğiyle.
Hello nassatellite,
Is that to solve my problem? Sorry, I'm not sure what language that is so I couldn't use a translator to translate it for me.
I'm not really sure if anyone else posted this, but if you logout/delete cookies and have the link / click the button to say thanks, then the person get thanked, but the name of the one who said it, isn't displayed.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg6.imageshack.us%2Fimg6%2F6981%2Ffarow053.png&hash=26092a339245a3460600273c60889c2c67a9c308)
QuoteHi, I'm using the cargo theme by dzeiner studio and this doesn't work after I installed it. It shows the amount of thanks I have but there's no thank button. What do I do now? Please help!
I also use that cargo theme and not work. but use another theme that does not use display. templete. php and works well.
they have some idea?
Quote from: nassatellite on December 06, 2009, 08:05:13 AM
Thank@Matic kod hatası buldum. for 2.0.RC2
$themedir/ManageBoards.template.php dosyasında hatalı kodlama yapılmıştır.
<edit file>
$themedir/ManageBoards.template.php
</edit file>
<search for>
echo '
<input type="hidden" name="rid" value="', $context['redirect_location'], '" />
</search for>
error
<add before>
<div id="thank_o_matic_div">
<dl class="settings">
<dt>
<strong>', $txt['mboards_thank_you_post_enable'], ':</strong><br />
<span class="smalltext">', $txt['mboards_thank_you_post_enable_desc'], '</span><br />
</dt>
<dd>
<input type="checkbox" name="thank_you_post_enable"', $context['board']['thank_you_post_enable'] ? ' checked="checked"' : '', ' class="input_check" />
</dd>
</dl>
</div>';
</add before>
Modifikasyonun başında :
echo'
eksikliğinin varlığını gördüm ve Category and Department Management(Kategori ve Bölüm Yönetimi) giriş yapamıyordum.Modifikasyonu indirdim ve bu ufak sorunu gördüm.Düzeltince giriş yapabildim.
Aynı sorunu yaşayıpta düzeltmek isteyenler aşağıdaki kodu uygulasınlar :
corrected (düzeltilmiş hali)
<add before>
echo'
<div id="thank_o_matic_div">
<dl class="settings">
<dt>
<strong>', $txt['mboards_thank_you_post_enable'], ':</strong><br />
<span class="smalltext">', $txt['mboards_thank_you_post_enable_desc'], '</span><br />
</dt>
<dd>
<input type="checkbox" name="thank_you_post_enable"', $context['board']['thank_you_post_enable'] ? ' checked="checked"' : '', ' class="input_check" />
</dd>
</dl>
</div>';
</add before>
Bu ufak hatanın pakettede düzeltilmesi dileğiyle.
Yup, a littke bug. Thank you, I could fix it ^^
This is fixed... since weekes oO.
You must be one of them 20 People who got the version with the error...
Quote from: 4b11l on December 07, 2009, 04:00:36 AM
Hello nassatellite,
Is that to solve my problem? Sorry, I'm not sure what language that is so I couldn't use a translator to translate it for me.
I would suggest you should clear you file cache...
Quote from: Farow on December 11, 2009, 03:09:56 PM
I'm not really sure if anyone else posted this, but if you logout/delete cookies and have the link / click the button to say thanks, then the person get thanked, but the name of the one who said it, isn't displayed.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg6.imageshack.us%2Fimg6%2F6981%2Ffarow053.png&hash=26092a339245a3460600273c60889c2c67a9c308)
You need to enable the option to show the list of members in the posts.
Quote from: Peranbury on December 11, 2009, 03:18:48 PM
QuoteHi, I'm using the cargo theme by dzeiner studio and this doesn't work after I installed it. It shows the amount of thanks I have but there's no thank button. What do I do now? Please help!
I also use that cargo theme and not work. but use another theme that does not use display. templete. php and works well.
they have some idea?
Yes you need to make the change in you costum theme Display.template.php.
I have a problem.
to thank redirects to the forum
which could be the problem?
sorry for my bad English
I have a problem.
The error i am getting is:
Database Error
Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (latin1_general_ci,IMPLICIT) for operation 'ifnull'
File: /home/adultxxx/public_html/Sources/ThankYouPost.php
Line: 542
installed ok, any ideas of what the problem could be.
I am running smf 1.1.11 with TP v1.0beta4
Thank-o-matic ver 1.2.5
Thanks
Quote from: marko_andres on December 15, 2009, 11:11:25 AM
I have a problem.
to thank redirects to the forum
which could be the problem?
sorry for my bad English
Suggest you're inserts are not done in the index.php? Hmmm difficult ;). Some mistakes in the insert of the theme... i've no idea where there error could be on you forum :X.
Quote from: interstellawars on December 16, 2009, 02:54:31 PM
I have a problem.
The error i am getting is:
Database Error
Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (latin1_general_ci,IMPLICIT) for operation 'ifnull'
File: /home/adultxxx/public_html/Sources/ThankYouPost.php
Line: 542
installed ok, any ideas of what the problem could be.
I am running smf 1.1.11 with TP v1.0beta4
Thank-o-matic ver 1.2.5
Thanks
You're database tables and fields are not correct set. Also the connection collation is not the same as you database collation ;). You must fix this things so that i will work in correct way...
Bye
DIN1031
Hey Din,
On SMF2.0 RC2 there are loads of errors after installing this mod on a clean install. When viewing the Thank-O-Matic setting page and clicking "Thank You" in a discussion topic it generates errors like:
- Undefined index: thank_you_post_became_display
- Undefined index: thank_you_post_made_display
- Undefined index: thank_you_post_thx_display
- Undefined index: thank_you_link_aftercounter
- And more
..And after a while the error log pages really start to build up, causing the smf_log_errors table to greatly increase, which can result in diskspace issues.
This specific package is unstable and should be removed until these errors are fixed. (imo)
how do i implement this on my theme? it didnt installed correctly for it.. im using anone by pixelslot thank you!
Quote from: Shadow82x on December 18, 2009, 08:17:39 PM
Hey Din,
On SMF2.0 RC2 there are loads of errors after installing this mod on a clean install. When viewing the Thank-O-Matic setting page and clicking "Thank You" in a discussion topic it generates errors like:
- Undefined index: thank_you_post_became_display
- Undefined index: thank_you_post_made_display
- Undefined index: thank_you_post_thx_display
- Undefined index: thank_you_link_aftercounter
- And more
..And after a while the error log pages really start to build up, causing the smf_log_errors table to greatly increase, which can result in diskspace issues.
This specific package is unstable and should be removed until these errors are fixed. (imo)
X's 2 ....i had to un-install it.
Quote from: Shadow82x on December 18, 2009, 08:17:39 PM
Hey Din,
On SMF2.0 RC2 there are loads of errors after installing this mod on a clean install. When viewing the Thank-O-Matic setting page and clicking "Thank You" in a discussion topic it generates errors like:
- Undefined index: thank_you_post_became_display
- Undefined index: thank_you_post_made_display
- Undefined index: thank_you_post_thx_display
- Undefined index: thank_you_link_aftercounter
- And more
..And after a while the error log pages really start to build up, causing the smf_log_errors table to greatly increase, which can result in diskspace issues.
This specific package is unstable and should be removed until these errors are fixed. (imo)
That's not possible... this are only langauge stings and this should be avaible after the install... i looked at it...
Did you clear the file cache? Possible not recached after the install?
I remove it for now... i think i will never fix this... because i can not reproduce it <<. I can not do more than insert the langaugestrings into the mod <<
After serval test on my home system i can't reproduce it... and if i can not reproduce it can't fix it... i official remove the rc2 compatible version.
@Shadow:
So i did now a hardcore test...
- Installed a new BSD server...
- Installed the standard apache and sql server (PHP5 and MYSQL5).
- Installed fresh, clean and latest SMF 2 RC2 (that's public avaible, not a rev version)
- Installed Thank-O-Matic (ThankOMatic20RC1_(2.0_RC2.1).zip) latest version i uploaded here
- Install Work fine
- Goes to the setup page, everything appear, no errors in the error logs (only the eval bug that already fixed on the rev version but not in the public version)
- So now i enable one board
- Go to the Board -> Create a new Topic
- Create a new user for an Thank You
- Go to the Permissions .oO(forget to set them :P)
- Go to the thread with the thank you and give one...
- Look in the error log... no errors... strange...
- Go into the Thank-O-Matic setup...
- Setup some option like stats and display output...
- Go to the page with the other user... got to the page with the admin user...
- Go to the Error Log... no errors...
So what did i not do? That would create the eval errors... I'm total confused and clueless... i can't start to check if every $txt variable exist i think thats not a thing a mod creator need to do oO.
I installed thank-o-matic on my localhost. It runs a clean 2.0 RC2 The second I installed and it redirected me I got this on my error log:
Apply Filter: Only show the error messages of this URL
http://127.0.0.1/smf 2.0/index.php?action=admin;area=thankyoupostsettings
Apply Filter: Only show the errors with the same message
8: Undefined index: thankYouPostFullOrder
Apply Filter: Only show the errors from this file
File: C:/Program Files/EasyPHP5.3.0/www/smf 2.0/Sources/ManageServer.php
Line: 1801
as well as:
http://127.0.0.1/smf 2.0/index.php?action=admin;area=thankyoupostsettings
Apply Filter: Only show the errors with the same message
8: Undefined index: thankYouPostPreviewOrder
Apply Filter: Only show the errors from this file
File: C:/Program Files/EasyPHP5.3.0/www/smf 2.0/Sources/ManageServer.php
Line: 1801
I can't prevent this error it's smf eval bug ;). If you set the options it will no happen anymore...
im instal this without any problem
but the problem is i cant see the thank buuton in my forum
im using custom theme
what should i do
edit : i forgot to mention that ive set the permission each member and also the board
Make the changes in the Display.template.php ;).
well i have major problem i installed this on RC2 i didn't see any errors it installed and when it went to redirect my site will not come up anymore just goes to a white screen server error 500 wtf do i do now
Is this suppose to be ThankOMatic20RC1_(2.0_RC2.1).zip ? OR ThankOMatic20RC1_(2.0_RC1.2).zip
Not a single version working for SMF 2 RC1.2 ?
well i installed it om RC2 and i had to restore my site from a backup thats a good ? maybe i installed the wrong version
Quote from: sattninja on December 22, 2009, 03:28:08 PM
well i have major problem i installed this on RC2 i didn't see any errors it installed and when it went to redirect my site will not come up anymore just goes to a white screen server error 500 wtf do i do now
I assume you made a backup first? Just reupload your public_html folder and it will be back to the way it was before you installed it
Quote from: (F.L.A.M.E.R) on December 24, 2009, 12:18:47 PM
Is this suppose to be ThankOMatic20RC1_(2.0_RC2.1).zip ? OR ThankOMatic20RC1_(2.0_RC1.2).zip
Not a single version working for SMF 2 RC1.2 ?
I'm using 2.0 Beta 10 on RC 1.2 and it works just fine.
yeah i restored from a backup but i would still like to get this to work
@Flamer
Sorry all the old versions are not available anymore... If you like the old Beta 10 i can give ti to you but there a serval bugs in it ;).
And thanks for the info... filename is complete wrong XD...
Quote from: sattninja on December 25, 2009, 03:47:44 AM
yeah i restored from a backup but i would still like to get this to work
Possible the server do not allow to much load oO i don't know what the reason is that it not work...
Quote from: ディン1031 on December 25, 2009, 05:25:25 AM
@Flamer
Sorry all the old versions are not available anymore... If you like the old Beta 10 i can give ti to you but there a serval bugs in it ;).
And thanks for the info... filename is complete wrong XD...
Quote from: sattninja on December 25, 2009, 03:47:44 AM
yeah i restored from a backup but i would still like to get this to work
Possible the server do not allow to much load oO i don't know what the reason is that it not work...
I am using the Beta already, it is giving me hell lotta headaches :P So I was wondering which stable version would work with SMF2 RC1.2 ? I can change the XML and make it work with RC1.2 if that is all you have to change to make it work with 1.2 ?
these are the errors i get on install
* 20. Execute Modification ./Sources/Load.php Test failed
4. Add After ./Sources/Load.php Test failed
* 23. Execute Modification ./Sources/ManageSettings.php Test failed
2. Replace ./Sources/ManageSettings.php Test failed
3. Replace ./Sources/ManageSettings.php Test failed
4. Replace ./Sources/ManageSettings.php Test failed
it seems like i can not hide something and add a hide tag!
im using SMF 2.0 RC2 with:
ThankOMatic20RC1_(2.0_RC2.1)
ThankOMaticLinkHideTag100
HideTagSpecial236_(2.0RC2_Compatible)
all of them instaled without problems
in hidden text information box i have "$thankYouPostLink or $thankYouPostButton" but in the posts i only see " or "
i also see things like
http://www.foromilestone.com.ar/index.php?pretty;board=caja-de-arena;topic=fgvf.08: Undefined index: ID_MEMBERFile: /www/ab-aeterna.com.ar/foromilestone/htdocs/Sources/Display.php
Line: 1370
Is it possible to get the spaces between the thank you addon and the avatar a bit larger? And is it possible to get the post counter under the admin stars? Because now it's even under my avatar, which I dont like that much.
And a final question: how can I implement the addon, when I dont use English or German as default forum language?
I would appreciate it, if you can help me.
Many thanks in advance and best regards.
Quote from: luismanson on December 26, 2009, 01:55:07 PM
it seems like i can not hide something and add a hide tag!
im using SMF 2.0 RC2 with:
ThankOMatic20RC1_(2.0_RC2.1)
ThankOMaticLinkHideTag100
HideTagSpecial236_(2.0RC2_Compatible)
all of them instaled without problems
in hidden text information box i have "$thankYouPostLink or $thankYouPostButton" but in the posts i only see " or "
i also see things like
http://www.foromilestone.com.ar/index.php?pretty;board=caja-de-arena;topic=fgvf.08: Undefined index: ID_MEMBERFile: /www/ab-aeterna.com.ar/foromilestone/htdocs/Sources/Display.php
Line: 1370
ThankOMaticLinkHideTag100 <- This is not compatible to 2.0... (It's a wonder that it is installable oO).
If you install it on SMF2 it will will be a mess and possible destroy some hide functions...
The content unhidde function work fine, i did test it, it depent on the setup how the hide output work...
Quote from: Cafucho on December 26, 2009, 07:22:19 PM
Is it possible to get the spaces between the thank you addon and the avatar a bit larger? And is it possible to get the post counter under the admin stars? Because now it's even under my avatar, which I dont like that much.
If you like to change the position than you need to change it in the Display.template.php.
Quote from: Cafucho on December 26, 2009, 07:22:19 PM
And a final question: how can I implement the addon, when I dont use English or German as default forum language?
Hmmm Translate it? :)
so there is no way i could use that mod? do you have an idea on how hard could be to update it?
i don't know but i wish someone would tell us RC2 users something
Quote from: sattninja on December 25, 2009, 03:47:44 AM
yeah i restored from a backup but i would still like to get this to work
Quote from: sattninja on December 24, 2009, 01:16:30 PM
well i installed it om RC2 and i had to restore my site from a backup thats a good ? maybe i installed the wrong version
Same here. it crashed and had to restore it. Will wait for a stable version. Throw in alot of errors when uninstalling.
Quote from: (F.L.A.M.E.R) on December 25, 2009, 06:57:50 AM
Quote from: ディン1031 on December 25, 2009, 05:25:25 AM
@Flamer
Sorry all the old versions are not available anymore... If you like the old Beta 10 i can give ti to you but there a serval bugs in it ;).
And thanks for the info... filename is complete wrong XD...
Quote from: sattninja on December 25, 2009, 03:47:44 AM
yeah i restored from a backup but i would still like to get this to work
Possible the server do not allow to much load oO i don't know what the reason is that it not work...
I am using the Beta already, it is giving me hell lotta headaches :P So I was wondering which stable version would work with SMF2 RC1.2 ? I can change the XML and make it work with RC1.2 if that is all you have to change to make it work with 1.2 ?
Ehm ehm!
Quote from: (F.L.A.M.E.R) on December 28, 2009, 02:42:36 PM
Quote from: (F.L.A.M.E.R) on December 25, 2009, 06:57:50 AM
Quote from: ディン1031 on December 25, 2009, 05:25:25 AM
@Flamer
Sorry all the old versions are not available anymore... If you like the old Beta 10 i can give ti to you but there a serval bugs in it ;).
And thanks for the info... filename is complete wrong XD...
Quote from: sattninja on December 25, 2009, 03:47:44 AM
yeah i restored from a backup but i would still like to get this to work
Possible the server do not allow to much load oO i don't know what the reason is that it not work...
I am using the Beta already, it is giving me hell lotta headaches :P So I was wondering which stable version would work with SMF2 RC1.2 ? I can change the XML and make it work with RC1.2 if that is all you have to change to make it work with 1.2 ?
Ehm ehm!
i dont get it whats
Ehm ehm!
Quote from: sattninja on December 28, 2009, 10:25:56 AM
i don't know but i wish someone would tell us RC2 users something
The RC2 version work fine as long the cache is cleared after the install... I have no problems with the mod so far, i programmed it as lightwight as i could as long not preview lists loaded on the thread display it will work normal fast.
(oh... i forget to reupload the mod with the correct filename <<)
The only know bug is SMF eval Bug...
Quote from: luismanson on December 28, 2009, 09:24:33 AM
so there is no way i could use that mod? do you have an idea on how hard could be to update it?
Not the addon, the mod itself is useable ;).
I work on the update for addon, you're the second person who like this addon to be updated (in three days...).
It will be a little bit complexer to update it xD, for the new function in Thank-O-Matic 2.0 but i've an idea :).
Bye
DIN1031
well i dont know what mod you are using or smf RC2 you are using but it seems you keep saying it is working i just downloaded
# ThankOMatic20RC1.1_(for_2.0_RC2).zip
and the same as always i get a ton of errors
* 20. Execute Modification ./Sources/Load.php Test failed
1. Replace ./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 failed
5. Add After ./Sources/Load.php Test successful
6. Add After ./Sources/Load.php Test successful
7. Add After ./Sources/Load.php Test successful
* 21. Execute Modification ./Sources/ManageBoards.php Test successful
1. Add After ./Sources/ManageBoards.php Test successful
2. Add After ./Sources/ManageBoards.php Test successful
* 22. 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
4. Add After ./Sources/ManagePermissions.php Test successful
5. Add After ./Sources/ManagePermissions.php Test successful
6. Add After ./Sources/ManagePermissions.php Test successful
* 23. Execute Modification ./Sources/ManageSettings.php Test failed
1. Replace ./Sources/ManageSettings.php Test successful
2. Replace ./Sources/ManageSettings.php Test failed
3. Replace ./Sources/ManageSettings.php Test failed
4. Replace ./Sources/ManageSettings.php Test failed
* 24. Execute Modification ./Sources/Memberlist.php Test successful
last time i installed this cluster f*** it took my whole site down and i had to restore and it had the same errors so i dont know what you are updating but it is not making a change on my end and from another post i saw it took another site down also
am i doing something wrong or what
Does anyone kno how to fix this?
I got this error after i thanks any one.
Fatal error: Call to undefined function template_thank_you_post() in /home/oskarcom/public_html/Sources/Load.php(2125) : eval()'d code on line 580
Thanks in advance
ok i have another site and i went through the install and there were no errors not even one and here is what i get after install
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg46.imageshack.us%2Fimg46%2F806%2Fcaptureim.jpg&hash=b809a6f354a1f063d174f8242e6f217cef3f9492)
this mod is jacked
well sure enough i tried uninstalling it on the second site and guess what it is down now i am currently resotring thanks again thanks to this wonderful mod i give up my advice is stay the hell away from this it should be removed till the author can get it straight
Quote from: sattninja on December 29, 2009, 01:05:09 AM
well i dont know what mod you are using or smf RC2 you are using but it seems you keep saying it is working i just downloaded
# ThankOMatic20RC1.1_(for_2.0_RC2).zip
and the same as always i get a ton of errors
* 20. Execute Modification ./Sources/Load.php Test failed
1. Replace ./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 failed
5. Add After ./Sources/Load.php Test successful
6. Add After ./Sources/Load.php Test successful
7. Add After ./Sources/Load.php Test successful
* 21. Execute Modification ./Sources/ManageBoards.php Test successful
1. Add After ./Sources/ManageBoards.php Test successful
2. Add After ./Sources/ManageBoards.php Test successful
* 22. 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
4. Add After ./Sources/ManagePermissions.php Test successful
5. Add After ./Sources/ManagePermissions.php Test successful
6. Add After ./Sources/ManagePermissions.php Test successful
* 23. Execute Modification ./Sources/ManageSettings.php Test failed
1. Replace ./Sources/ManageSettings.php Test successful
2. Replace ./Sources/ManageSettings.php Test failed
3. Replace ./Sources/ManageSettings.php Test failed
4. Replace ./Sources/ManageSettings.php Test failed
* 24. Execute Modification ./Sources/Memberlist.php Test successful
last time i installed this cluster f*** it took my whole site down and i had to restore and it had the same errors so i dont know what you are updating but it is not making a change on my end and from another post i saw it took another site down also
am i doing something wrong or what
Errors could be only happen if there other mods installed... i can not do more than install a new smf test it and if there are no errors and than upload it here... i can not create a such complex mod for every possible thing...
I do not change anything only that the filename so that is correct...
Quote from: sattninja on December 29, 2009, 01:48:12 AM
ok i have another site and i went through the install and there were no errors not even one and here is what i get after install
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg46.imageshack.us%2Fimg46%2F806%2Fcaptureim.jpg&hash=b809a6f354a1f063d174f8242e6f217cef3f9492)
this mod is jacked
Clear the file cache... i don't know why smf sometimes update the file cache and sometimes not...
Quote from: sattninja on December 29, 2009, 01:58:09 AM
well sure enough i tried uninstalling it on the second site and guess what it is down now i am currently resotring thanks again thanks to this wonderful mod i give up my advice is stay the hell away from this it should be removed till the author can get it straight
You give me not even the time to answer... helloooo i'm at work and i can not here 24/7 oO... and even than i've a reallife, too...
I don't know what i should do... everthing i do is wrong oO.
i am not bashing you man i appreciate your help i am just frustrated
Quote from: sattninja on December 29, 2009, 02:46:43 AM
i am not bashing you man i appreciate your help i am just frustrated
On the server with the correct install, did you clear the file cache?
On the other server did you install it with the errors? (I hope not.)
on the one with no errors i just got done restoring it i will clear the file cache and try install again
on the other one no i did not install it with the errors
Any Help on my question?
ok i cleared the file cache and installed on the second forum again with no errors and still same thing as the image above the settings page all blank
Quote from: sattninja on December 29, 2009, 03:00:35 AM
ok i cleared the file cache and installed on the second forum again with no errors and still same thing as the image above the settings page all blank
Are you using English lenguage as default for your forum?
english-utf8
thats could be the reason, why you switch to just english and then try again.
well that crashed my site time to restore again
lol
this is a joke
i did what was telling to do because i had the same problem.
did it work for you???
Yes, now i can read the options ;)
Hmmm i thought i insert the english-utf8 changes oO... if this is the case... than... *lookintothepackage*
Uh... a huge mistake done by me... i will fix the packge... for some reasons the utf8 replacement of the english files is not correct *drop*.
The only way how you can fix this... look at the english translation and insert this into the english-utf8 files... sorry for the problem i never thought i would make this kind of mistake without notice this...
Quote from: Oskarlover on December 29, 2009, 01:39:01 AM
Does anyone kno how to fix this?
I got this error after i thanks any one.
Fatal error: Call to undefined function template_thank_you_post() in /home/oskarcom/public_html/Sources/Load.php(2125) : eval()'d code on line 580
Thanks in advance
SMF Version? Mod Version?
Quote from: ディン1031 on December 29, 2009, 04:01:48 AM
Quote from: Oskarlover on December 29, 2009, 01:39:01 AM
Does anyone kno how to fix this?
I got this error after i thanks any one.
Fatal error: Call to undefined function template_thank_you_post() in /home/oskarcom/public_html/Sources/Load.php(2125) : eval()'d code on line 580
Thanks in advance
SMF Version? Mod Version?
Latest 2.0 RC 2
thanks for all your effort man but as for me i am gin=ving up on this one
it just doesn't work :-[ :-[ :-[
Quote from: Oskarlover on December 29, 2009, 04:04:48 AM
Quote from: ディン1031 on December 29, 2009, 04:01:48 AM
Quote from: Oskarlover on December 29, 2009, 01:39:01 AM
Does anyone kno how to fix this?
I got this error after i thanks any one.
Fatal error: Call to undefined function template_thank_you_post() in /home/oskarcom/public_html/Sources/Load.php(2125) : eval()'d code on line 580
Thanks in advance
SMF Version? Mod Version?
Latest 2.0 RC 2
Hmmm strange error... strange... normal this function should be evertime avaible... hmm in never insert this in the Load.php... hmmm this will be take some work if there is a mistake at the moment i can not help...
Question: Did you have a costum theme? And it happen only if you click on thank you?
Quote from: ディン1031 on December 29, 2009, 04:09:08 AM
Quote from: Oskarlover on December 29, 2009, 04:04:48 AM
Quote from: ディン1031 on December 29, 2009, 04:01:48 AM
Quote from: Oskarlover on December 29, 2009, 01:39:01 AM
Does anyone kno how to fix this?
I got this error after i thanks any one.
Fatal error: Call to undefined function template_thank_you_post() in /home/oskarcom/public_html/Sources/Load.php(2125) : eval()'d code on line 580
Thanks in advance
SMF Version? Mod Version?
Latest 2.0 RC 2
Hmmm strange error... strange... normal this function should be evertime avaible... hmm in never insert this in the Load.php... hmmm this will be take some work if there is a mistake at the moment i can not help...
Question: Did you have a costum theme? And it happen only if you click on thank you?
I got the theme OverViewLight from dzinerstudio, when i click on Thank you evething seem to be ok, but when i refresh the post i see the error, also i only see the 1st post and not the rest .
Hmmmm i think you did not insert the change in the index.template.php on you're costum theme :X, for the ajax thank you it the backup function in it... (earlier i loaded evertime the ThankYouPost.php, i think i should do that again fi this function is missing *g*).
To solve the problem for now insert this:
<edit file>
$themedir/index.template.php
</edit file>
<search for>
?>
</search for>
<add before>
// A Output for the Thank You list, it's used for the Single Preview and Display Template :)
function template_thank_you_post($thankYouPost, $id_msg)
{
global $txt, $context, $modSettings;
if (!empty($context['thank_you_post'][$id_msg]))
{
if(empty($context['thank_you_post_template']['disable_start_text']))
echo '
<div class="smalltext" id="thank_you_start_text">', $context['thank_you_post_template']['start_text'] , '</div>';
// Output the Thank You List...
echo '
<div class="smalltext" id="thank_you_list">';
foreach ($context['thank_you_post'][$id_msg]['fulllist'] as $thx)
echo $thx['link'] , (!empty($thx['deletelink']) ? $thx['deletelink'] : '').($thx['last'] ? '' : ', ');
echo '
</div>';
}
// Counter and Link to the direct or a link to the complete list :)
if (empty($context['thank_you_post_template']['disable_counter_text']))
{
echo '
<div class="smalltext" id="thank_you_list_link">';
if (empty($context['thank_you_post_template']['disable_counter_link']))
echo '
<a href="', $thankYouPost['href'] ,'">';
echo '
', $txt['thank_you_link_beforecounter'], ' <strong>', $thankYouPost['counter'], '</strong> ', ($thankYouPost['counter'] == 1 ? $txt['thank_you_link_member'] : $txt['thank_you_link_members']).' '.($thankYouPost['counter'] == 1 ? $txt['thank_you_link_aftercounter'] : $txt['thank_you_link_aftercounters']);
if (empty($context['thank_you_post_template']['disable_counter_link']))
echo '
</a>';
echo '
</div>';
}
// Show some information if the Thank-O-Matic Post is locked
if ($thankYouPost['locked'])
echo '
<div class="smalltext" id="thank_you_lock_text">', $txt['thank_you_is_locked'], '</div>';
}
</add before>
Quote from: ディン1031 on December 29, 2009, 04:20:10 AM
Hmmmm i think you did not insert the change in the index.template.php on you're costum theme :X
You're rigth, i havent done anything on it, i dont anything that said it.
Can you tell me what should i insert or change?
i was to slow ;D.
Look there -> http://www.simplemachines.org/community/index.php?topic=176565.msg2426851#msg2426851
In the next version i fill fix it in a diffrent way :).
Quote from: ディン1031 on December 29, 2009, 04:29:08 AM
i was to slow ;D.
Look there -> http://www.simplemachines.org/community/index.php?topic=176565.msg2426851#msg2426851
In the next version i fill fix it in a diffrent way :).
Can you add it for me? i did it and my self and my site forum stops working
Hmmm what kind of error did appear?
Thank you, now works fine, do u know to which folder do i have to move the images?
I dont then on this theme.
Quote
Move the included file "thank_you_b.gif" to "./Themes/default/images/buttons".
Move the included file "thank_you.gif" to "./Themes/default/images/buttons".
Move the included file "thank_you_lock.gif" to "./Themes/default/images/buttons".
Move the included file "thank_you_open.gif" to "./Themes/default/images/buttons".
Move the included file "thank_you_delete.gif" to "./Themes/default/images/buttons".
Move the included file "thank_you_maintain.gif" to "./Themes/default/images/admin".
Move the included file "thank_you_settings.gif" to "./Themes/default/images/admin".
Quote from: ディン1031 on December 29, 2009, 05:34:12 AM
Quote
Move the included file "thank_you_b.gif" to "./Themes/default/images/buttons".
Move the included file "thank_you.gif" to "./Themes/default/images/buttons".
Move the included file "thank_you_lock.gif" to "./Themes/default/images/buttons".
Move the included file "thank_you_open.gif" to "./Themes/default/images/buttons".
Move the included file "thank_you_delete.gif" to "./Themes/default/images/buttons".
Move the included file "thank_you_maintain.gif" to "./Themes/default/images/admin".
Move the included file "thank_you_settings.gif" to "./Themes/default/images/admin".
thank you for all you help, i just move the images to the default theme and did not wotk, now i moved those images to my costum theme and still now working.
When i change to tht dafault theme i do see the images, any idea?
Quote from: sattninja on December 28, 2009, 08:44:24 PM
Quote from: (F.L.A.M.E.R) on December 28, 2009, 02:42:36 PM
Quote from: (F.L.A.M.E.R) on December 25, 2009, 06:57:50 AM
Quote from: ディン1031 on December 25, 2009, 05:25:25 AM
@Flamer
Sorry all the old versions are not available anymore... If you like the old Beta 10 i can give ti to you but there a serval bugs in it ;).
And thanks for the info... filename is complete wrong XD...
Quote from: sattninja on December 25, 2009, 03:47:44 AM
yeah i restored from a backup but i would still like to get this to work
Possible the server do not allow to much load oO i don't know what the reason is that it not work...
I am using the Beta already, it is giving me hell lotta headaches :P So I was wondering which stable version would work with SMF2 RC1.2 ? I can change the XML and make it work with RC1.2 if that is all you have to change to make it work with 1.2 ?
Ehm ehm!
i dont get it whats
Ehm ehm!
I am just looking for a stable version for SMF 1.2 of Thank-O-Matic. So i just bumped up! No reply =((
There is no stable version for RC1.2... the beta 10 is ultra buggy <<.
Soooooo, Upgrade of SMF 2 RC1.2 to RC2 is the only fix. :o ?
go ahead and upgrade but i woiuldn't bet the bank on it i cannot get it to work on 2 different RC2 installs it crashes both sites everytime i try to use it
Good luck!!!! :-[ :-[ :-[
Quote from: sattninja on December 29, 2009, 02:29:50 PM
go ahead and upgrade but i woiuldn't bet the bank on it i cannot get it to work on 2 different RC2 installs it crashes both sites everytime i try to use it
Good luck!!!! :-[ :-[ :-[
That is not the thing. I can use the mod in any version if it is compatible. I can even make it compatible but it will definitely break something if i do and I have to sit and stare at what is going on. If you encounter a problem, put it down here. The Author knows the codes best. They'll try to get working for you. :)
I noticed this was updated today but the changelog isnt listed on the mod page. What were the updates? (just need to know incase I need them).
thanks :)
Look in the changelog file it's included in the package ;).
I want to move Thank-o-matic stats from mini profile preview to bottom... i mean this:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi50.tinypic.com%2Fhs87qt.gif&hash=e71b12beebd3f41de56b3210a40787725d11cc78)
can somebody please show me how to do it...
Hi din, I'm trying to create the Italian translation to your mod. I looked around but I didn't find a satisfying Italian package. So I'm here to ask your permission to modify your template English translation and adapt it to Italian language.
If you're positive, please tell me if I have to add some kind of 'original copyright' somewhere to your mod's code.
Quote from: masterz3d on December 31, 2009, 01:37:25 PM
Hi din, I'm trying to create the Italian translation to your mod. I looked around but I didn't find a satisfying Italian package. So I'm here to ask your permission to modify your template English translation and adapt it to Italian language.
If you're positive, please tell me if I have to add some kind of 'original copyright' somewhere to your mod's code.
I think you can, it's open source after all. Just PM Din.
HI, I am using SMF 1.1.11 version.
I have installed the MOD successfully, but in the post display when I click on the 'Thank You' image (link), I get all the code from ThankYouPost.php displayed on the screen. And in the content area I get error message as "unable to load main template".
Please help with this error.
Quote from: masterz3d on December 31, 2009, 01:37:25 PM
Hi din, I'm trying to create the Italian translation to your mod. I looked around but I didn't find a satisfying Italian package. So I'm here to ask your permission to modify your template English translation and adapt it to Italian language.
If you're positive, please tell me if I have to add some kind of 'original copyright' somewhere to your mod's code.
No problem, as long i became the translated files it should be okay :). I will insert them in the package ;).
Quote from: technica on January 01, 2010, 02:56:03 AM
HI, I am using SMF 1.1.11 version.
I have installed the MOD successfully, but in the post display when I click on the 'Thank You' image (link), I get all the code from ThankYouPost.php displayed on the screen. And in the content area I get error message as "unable to load main template".
Please help with this error.
I assume something went wrong on the upload or move of the ThankYouPost.php i would say upload it again.
Thanks, then I'll start working on it. May I pm you about further questions to that?
Quote from: ディン1031 on December 30, 2009, 01:22:34 AM
Look in the changelog file it's included in the package ;).
well.. I am still using 2.0 Beta 10 and with all the problems I had with mine that you came and fixed for me.. I am afraid to even try and make any changes to it. (still having the one issue where if you recount 1 persons stats it resets everyones "given" stats back to 0 however, doing an "overall" recount fixes it tho). Looking at the changelog in the update, and not knowing exactly what all you did to the mod when you came to my site and fixed some stuff, I would be afraid to attempt any changes..lol.
What do you recommend? Should I leave mine as is? lol This is one mod that is critical to my site and to my members - if their counts are even off by one, they let me know about it..lol.
I'm hoping I'm in the right place to request help on Thank-O-Matic.
I have Thank-O-Matic version 2.0 RC1.2 installed on SMF 2.0 RC2
It works ok only the thank you displays right aligned in IGoogle Chrome and within the post on IE8.
I have attached images to show what I am talking about.
Does anyone know a solution to this?
Thanks you
Quote from: Kimmie on January 01, 2010, 10:02:07 AM
Quote from: ディン1031 on December 30, 2009, 01:22:34 AM
Look in the changelog file it's included in the package ;).
well.. I am still using 2.0 Beta 10 and with all the problems I had with mine that you came and fixed for me.. I am afraid to even try and make any changes to it. (still having the one issue where if you recount 1 persons stats it resets everyones "given" stats back to 0 however, doing an "overall" recount fixes it tho). Looking at the changelog in the update, and not knowing exactly what all you did to the mod when you came to my site and fixed some stuff, I would be afraid to attempt any changes..lol.
What do you recommend? Should I leave mine as is? lol This is one mod that is critical to my site and to my members - if their counts are even off by one, they let me know about it..lol.
All the fixes i made on you're site are all from the RC1 release ;).
Quote from: Nugget on January 02, 2010, 11:12:58 PM
I'm hoping I'm in the right place to request help on Thank-O-Matic.
I have Thank-O-Matic version 2.0 RC1.2 installed on SMF 2.0 RC2
It works ok only the thank you displays right aligned in IGoogle Chrome and within the post on IE8.
I have attached images to show what I am talking about.
Does anyone know a solution to this?
Thanks you
I think... hmmm strange... have this theme a customized Display.template.php?
Just customised index.css - would this be the problem?
Thanks
i can't read the parse ??
Ok - it must be in the theme - I can fix this.
You can see no icons appear in the post - just the words 'Thankyou'
I have copied them the the / image / button directory of my theme - I notice a few people are having this problem.
Any resolve yet?
Quote from: marko_andres on January 03, 2010, 01:37:34 AM
i can't read the parse ??
Select the correct Version for the correct Package...
Quote from: Nugget on January 03, 2010, 01:42:11 AM
Ok - it must be in the theme - I can fix this.
You can see no icons appear in the post - just the words 'Thankyou'
I have copied them the the / image / button directory of my theme - I notice a few people are having this problem.
Any resolve yet?
Most cases a reload of the page help... It depend on how the button es created and used...
I just installed thank-o-matic on a clean install of SMF2 RC2, no mods, no themes, nothing, straight from install, the test part went perfect.
However, after the installation script was done i was redirected back to the admin CP and at the top of the whole thing i had this:
QuoteSize of column (If applicable) - for example 255 for a large varchar, 10 for an int etc. If not set SMF will pick a size. + 'default' = Default value - do not set if no default required. + 'null' => Can it be null (true or false) - if not set default will be false. + 'auto' => Set to true to make it an auto incrementing column. Set to a numerical value to set from what it should begin counting. */ if ($SSI_INSTALL) echo 'Start to create the Tables and update the current columns for Thank-O-Matic.
'; $columns = array( 'id_thx_post' => array( 'name' => 'id_thx_post', 'type' => 'int', 'size' => '10', 'default' => 0, 'null' => false, 'auto' => true, ), 'id_msg' => array( 'name' => 'id_msg', 'type' => 'int', 'size' => '10', 'default' => 0, 'null' => false, ), 'id_topic' => array( 'name' => 'id_topic', 'type' => 'mediumint', 'size' => '8', 'default' => 0, 'null' => false, ), 'id_board' => array( 'name' => 'id_board', 'type' => 'smallint', 'size' => '5', 'default' => 0, 'null' => false, ), 'id_member' => array( 'name' => 'id_member', 'type' => 'mediumint', 'size' => '8', 'default' => 0, 'null' => false, ), 'member_name' => array( 'name' => 'member_name', 'type' => 'varchar', 'size' => '80', 'null' => false, ), 'thx_time' => array( 'name' => 'thx_time', 'type' => 'int', 'size' => '10', 'default' => 0, 'null' => false, ), ); /* - Adds indexes as specified within indexes parameter. Each index should be a member of $indexes. Values are: + 'name' => Index name (If left empty SMF will generate). + 'type' => Type of index. Choose from 'primary', 'unique' or 'index'. If not set will default to 'index'. + 'columns' => Array containing columns that form part of key - in the order the index is to be created. */ $indexes = array( 'id_thx_post' => array( 'name' => 'id_thx_post', 'type' => 'primary', 'columns' => array( 'id_thx_post' => 'id_thx_post' ), ), 'id_board' => array( 'name' => 'id_board', 'type' => 'index', 'columns' => array( 'id_board' => 'id_board' ), ), 'id_msg' => array( 'name' => 'id_msg', 'type' => 'index', 'columns' => array( 'id_msg' => 'id_msg' ), ), 'id_topic' => array( 'name' => 'id_topic', 'type' => 'index', 'columns' => array( 'id_topic' => 'id_topic' ), ), 'id_member' => array( 'name' => 'id_member', 'type' => 'index', 'columns' => array( 'id_member' => 'id_member' ), ), ); // Can someone tell me why i need to do that oO... normal update should work, too! $installed = $smcFunc['db_create_table']('{db_prefix}thank_you_post', $columns, $indexes, array(), 'update', 'ignore'); if ($SSI_INSTALL) echo 'Table ', $db_prefix, 'thank_you_post successful installed / updated.
'; /* Add Columns new stlye ;D each item a table, for each column a insert in the table, it update if not exists :) */ $sql_adds = array( array( 'table' => "{db_prefix}topics", 'colums' => array( 'thank_you_post_locked' => array( 'name' => 'thank_you_post_locked', 'type' => 'tinyint', 'size' => '4', 'default' => 0, 'null' => false, ), ), ), array( 'table' => "{db_prefix}boards", 'colums' => array( 'thank_you_post_enable' => array( 'name' => 'thank_you_post_enable', 'type' => 'tinyint', 'size' => '4', 'default' => 0, 'null' => false, ), ), ), array( 'table' => "{db_prefix}messages", 'colums' => array( 'thank_you_post' => array( 'name' => 'thank_you_post', 'type' => 'tinyint', 'size' => '4', 'default' => 0, 'null' => false, ), 'thank_you_post_counter' => array( 'name' => 'thank_you_post_counter', 'type' => 'smallint', 'size' => '5', 'default' => 0, 'null' => false, ), ), ), array( 'table' => "{db_prefix}members", 'colums' => array( 'thank_you_post_made' => array( 'name' => 'thank_you_post_made', 'type' => 'mediumint', 'size' => '8', 'default' => 0, 'null' => false, ), 'thank_you_post_became' => array( 'name' => 'thank_you_post_became', 'type' => 'mediumint', 'size' => '8', 'default' => 0, 'null' => false, ), 'last_thank_you_time' => array( 'name' => 'last_thank_you_time', 'type' => 'int', 'size' => '10', 'default' => 0, 'null' => false, ), ), ), ); foreach ($sql_adds as $table) { foreach ($table['colums'] as $colum) { $updated = $smcFunc['db_add_column']($table['table'], $colum); if ($SSI_INSTALL && $updated) echo 'Table ', str_replace('{db_prefix}', $db_prefix, $table['table']),' successful updated with column ', $colum['name'], '.
'; } } //Give a proper answer on ssi install ;) if ($SSI_INSTALL) echo 'DB Changes should be made now...'; ?>
Then when I tried to browse to the general board with the smf welcome page, I get this:
QuoteUnknown column 'b.thank_you_post_enable' in 'field list'
Clearing the Cache, both in the forum and the local browser, does not work.
Does the mod by any chance require a specific apache/php mod to be active?
Quote from: Nugget on January 02, 2010, 11:12:58 PM
I think... hmmm strange... have this theme a customized Display.template.php?
Happy to say I now have Thank-O-Matic 2.0 RC1.2 working perfectly on SMF 2.0 RC2
It is displaying all icons and no errors at all.
The position of the '
X member gave a thank you to this post" was a problem in my custom theme.
The not displaying icons is an error in the script, shifting the icons to... yourtheme/images/buttons will not fix the problem.
It is possible to get it working
Thanks
nuggetfishing.com.au/smf
Quote from: ディン1031 on January 03, 2010, 12:55:30 AM
Quote from: Kimmie on January 01, 2010, 10:02:07 AM
Quote from: ディン1031 on December 30, 2009, 01:22:34 AM
Look in the changelog file it's included in the package ;).
well.. I am still using 2.0 Beta 10 and with all the problems I had with mine that you came and fixed for me.. I am afraid to even try and make any changes to it. (still having the one issue where if you recount 1 persons stats it resets everyones "given" stats back to 0 however, doing an "overall" recount fixes it tho). Looking at the changelog in the update, and not knowing exactly what all you did to the mod when you came to my site and fixed some stuff, I would be afraid to attempt any changes..lol.
What do you recommend? Should I leave mine as is? lol This is one mod that is critical to my site and to my members - if their counts are even off by one, they let me know about it..lol.
All the fixes i made on you're site are all from the RC1 release ;).
So I assume that means I am good to go for now. Thanks :)
Quote from: TweakerL on January 03, 2010, 07:22:59 AM
I just installed thank-o-matic on a clean install of SMF2 RC2, no mods, no themes, nothing, straight from install, the test part went perfect.
However, after the installation script was done i was redirected back to the admin CP and at the top of the whole thing i had this:
QuoteSize of column (If applicable) - for example 255 for a large varchar, 10 for an int etc. If not set SMF will pick a size. + 'default' = Default value - do not set if no default required. + 'null' => Can it be null (true or false) - if not set default will be false. + 'auto' => Set to true to make it an auto incrementing column. Set to a numerical value to set from what it should begin counting. */ if ($SSI_INSTALL) echo 'Start to create the Tables and update the current columns for Thank-O-Matic.
'; $columns = array( 'id_thx_post' => array( 'name' => 'id_thx_post', 'type' => 'int', 'size' => '10', 'default' => 0, 'null' => false, 'auto' => true, ), 'id_msg' => array( 'name' => 'id_msg', 'type' => 'int', 'size' => '10', 'default' => 0, 'null' => false, ), 'id_topic' => array( 'name' => 'id_topic', 'type' => 'mediumint', 'size' => '8', 'default' => 0, 'null' => false, ), 'id_board' => array( 'name' => 'id_board', 'type' => 'smallint', 'size' => '5', 'default' => 0, 'null' => false, ), 'id_member' => array( 'name' => 'id_member', 'type' => 'mediumint', 'size' => '8', 'default' => 0, 'null' => false, ), 'member_name' => array( 'name' => 'member_name', 'type' => 'varchar', 'size' => '80', 'null' => false, ), 'thx_time' => array( 'name' => 'thx_time', 'type' => 'int', 'size' => '10', 'default' => 0, 'null' => false, ), ); /* - Adds indexes as specified within indexes parameter. Each index should be a member of $indexes. Values are: + 'name' => Index name (If left empty SMF will generate). + 'type' => Type of index. Choose from 'primary', 'unique' or 'index'. If not set will default to 'index'. + 'columns' => Array containing columns that form part of key - in the order the index is to be created. */ $indexes = array( 'id_thx_post' => array( 'name' => 'id_thx_post', 'type' => 'primary', 'columns' => array( 'id_thx_post' => 'id_thx_post' ), ), 'id_board' => array( 'name' => 'id_board', 'type' => 'index', 'columns' => array( 'id_board' => 'id_board' ), ), 'id_msg' => array( 'name' => 'id_msg', 'type' => 'index', 'columns' => array( 'id_msg' => 'id_msg' ), ), 'id_topic' => array( 'name' => 'id_topic', 'type' => 'index', 'columns' => array( 'id_topic' => 'id_topic' ), ), 'id_member' => array( 'name' => 'id_member', 'type' => 'index', 'columns' => array( 'id_member' => 'id_member' ), ), ); // Can someone tell me why i need to do that oO... normal update should work, too! $installed = $smcFunc['db_create_table']('{db_prefix}thank_you_post', $columns, $indexes, array(), 'update', 'ignore'); if ($SSI_INSTALL) echo 'Table ', $db_prefix, 'thank_you_post successful installed / updated.
'; /* Add Columns new stlye ;D each item a table, for each column a insert in the table, it update if not exists :) */ $sql_adds = array( array( 'table' => "{db_prefix}topics", 'colums' => array( 'thank_you_post_locked' => array( 'name' => 'thank_you_post_locked', 'type' => 'tinyint', 'size' => '4', 'default' => 0, 'null' => false, ), ), ), array( 'table' => "{db_prefix}boards", 'colums' => array( 'thank_you_post_enable' => array( 'name' => 'thank_you_post_enable', 'type' => 'tinyint', 'size' => '4', 'default' => 0, 'null' => false, ), ), ), array( 'table' => "{db_prefix}messages", 'colums' => array( 'thank_you_post' => array( 'name' => 'thank_you_post', 'type' => 'tinyint', 'size' => '4', 'default' => 0, 'null' => false, ), 'thank_you_post_counter' => array( 'name' => 'thank_you_post_counter', 'type' => 'smallint', 'size' => '5', 'default' => 0, 'null' => false, ), ), ), array( 'table' => "{db_prefix}members", 'colums' => array( 'thank_you_post_made' => array( 'name' => 'thank_you_post_made', 'type' => 'mediumint', 'size' => '8', 'default' => 0, 'null' => false, ), 'thank_you_post_became' => array( 'name' => 'thank_you_post_became', 'type' => 'mediumint', 'size' => '8', 'default' => 0, 'null' => false, ), 'last_thank_you_time' => array( 'name' => 'last_thank_you_time', 'type' => 'int', 'size' => '10', 'default' => 0, 'null' => false, ), ), ), ); foreach ($sql_adds as $table) { foreach ($table['colums'] as $colum) { $updated = $smcFunc['db_add_column']($table['table'], $colum); if ($SSI_INSTALL && $updated) echo 'Table ', str_replace('{db_prefix}', $db_prefix, $table['table']),' successful updated with column ', $colum['name'], '.
'; } } //Give a proper answer on ssi install ;) if ($SSI_INSTALL) echo 'DB Changes should be made now...'; ?>
Then when I tried to browse to the general board with the smf welcome page, I get this:
QuoteUnknown column 'b.thank_you_post_enable' in 'field list'
Clearing the Cache, both in the forum and the local browser, does not work.
Does the mod by any chance require a specific apache/php mod to be active?
This say to me the install script is never run, once.
Upload the install.php and run it again.
Running install_2.x.x.php as localhost returns the same exact thing:
QuoteSize of column (If applicable) - for example 255 for a large varchar, 10 for an int etc. If not set SMF will pick a size. + 'default' = Default value - do not set if no default required. + 'null' => Can it be null (true or false) - if not set default will be false. + 'auto' => Set to true to make it an auto incrementing column. Set to a numerical value to set from what it should begin counting. */ if ($SSI_INSTALL) echo 'Start to create the Tables and update the current columns for Thank-O-Matic.
'; $columns = array( 'id_thx_post' => array( 'name' => 'id_thx_post', 'type' => 'int', 'size' => '10', 'default' => 0, 'null' => false, 'auto' => true, ), 'id_msg' => array( 'name' => 'id_msg', 'type' => 'int', 'size' => '10', 'default' => 0, 'null' => false, ), 'id_topic' => array( 'name' => 'id_topic', 'type' => 'mediumint', 'size' => '8', 'default' => 0, 'null' => false, ), 'id_board' => array( 'name' => 'id_board', 'type' => 'smallint', 'size' => '5', 'default' => 0, 'null' => false, ), 'id_member' => array( 'name' => 'id_member', 'type' => 'mediumint', 'size' => '8', 'default' => 0, 'null' => false, ), 'member_name' => array( 'name' => 'member_name', 'type' => 'varchar', 'size' => '80', 'null' => false, ), 'thx_time' => array( 'name' => 'thx_time', 'type' => 'int', 'size' => '10', 'default' => 0, 'null' => false, ), ); /* - Adds indexes as specified within indexes parameter. Each index should be a member of $indexes. Values are: + 'name' => Index name (If left empty SMF will generate). + 'type' => Type of index. Choose from 'primary', 'unique' or 'index'. If not set will default to 'index'. + 'columns' => Array containing columns that form part of key - in the order the index is to be created. */ $indexes = array( 'id_thx_post' => array( 'name' => 'id_thx_post', 'type' => 'primary', 'columns' => array( 'id_thx_post' => 'id_thx_post' ), ), 'id_board' => array( 'name' => 'id_board', 'type' => 'index', 'columns' => array( 'id_board' => 'id_board' ), ), 'id_msg' => array( 'name' => 'id_msg', 'type' => 'index', 'columns' => array( 'id_msg' => 'id_msg' ), ), 'id_topic' => array( 'name' => 'id_topic', 'type' => 'index', 'columns' => array( 'id_topic' => 'id_topic' ), ), 'id_member' => array( 'name' => 'id_member', 'type' => 'index', 'columns' => array( 'id_member' => 'id_member' ), ), ); // Can someone tell me why i need to do that oO... normal update should work, too! $installed = $smcFunc['db_create_table']('{db_prefix}thank_you_post', $columns, $indexes, array(), 'update', 'ignore'); if ($SSI_INSTALL) echo 'Table ', $db_prefix, 'thank_you_post successful installed / updated.
'; /* Add Columns new stlye ;D each item a table, for each column a insert in the table, it update if not exists :) */ $sql_adds = array( array( 'table' => "{db_prefix}topics", 'colums' => array( 'thank_you_post_locked' => array( 'name' => 'thank_you_post_locked', 'type' => 'tinyint', 'size' => '4', 'default' => 0, 'null' => false, ), ), ), array( 'table' => "{db_prefix}boards", 'colums' => array( 'thank_you_post_enable' => array( 'name' => 'thank_you_post_enable', 'type' => 'tinyint', 'size' => '4', 'default' => 0, 'null' => false, ), ), ), array( 'table' => "{db_prefix}messages", 'colums' => array( 'thank_you_post' => array( 'name' => 'thank_you_post', 'type' => 'tinyint', 'size' => '4', 'default' => 0, 'null' => false, ), 'thank_you_post_counter' => array( 'name' => 'thank_you_post_counter', 'type' => 'smallint', 'size' => '5', 'default' => 0, 'null' => false, ), ), ), array( 'table' => "{db_prefix}members", 'colums' => array( 'thank_you_post_made' => array( 'name' => 'thank_you_post_made', 'type' => 'mediumint', 'size' => '8', 'default' => 0, 'null' => false, ), 'thank_you_post_became' => array( 'name' => 'thank_you_post_became', 'type' => 'mediumint', 'size' => '8', 'default' => 0, 'null' => false, ), 'last_thank_you_time' => array( 'name' => 'last_thank_you_time', 'type' => 'int', 'size' => '10', 'default' => 0, 'null' => false, ), ), ), ); foreach ($sql_adds as $table) { foreach ($table['colums'] as $colum) { $updated = $smcFunc['db_add_column']($table['table'], $colum); if ($SSI_INSTALL && $updated) echo 'Table ', str_replace('{db_prefix}', $db_prefix, $table['table']),' successful updated with column ', $colum['name'], '.
'; } } //Give a proper answer on ssi install ;) if ($SSI_INSTALL) echo 'DB Changes should be made now...'; ?>
And the install.php did run, because afterward i can see the thank-o-matic settings in the admincp, i just can't enter any forum...
Ahhhh... i thought i insert it everwhere...
Easy to solve :).
Open die install2.x.x.php in a texteditor and replace the beginning <? with <?php
it will solve you're problem... i thought i insert it everwhere...
Or use the instal2.x.x.php in the RC1.3 package, where add all the missing <?php ;).
Does this work or can it work with the hide tag special??so when someone give a thanks the hide will unhide..??
Quote from: Smoki1988 on January 05, 2010, 08:53:43 AM
Does this work or can it work with the hide tag special??so when someone give a thanks the hide will unhide..??
Yes the mod have a hide tag special compatible part with some setups for this ;).
To make it work with hide tag special i have to do anything more than install it??or it has options after the install??
Btw when i try to install it in the Display.template.php it says test failed??any idea why??
RC2
Sorry, but this modification does not appear to be compatible with the selected version.
Quote from: ディン1031 on January 05, 2010, 04:26:56 AM
Ahhhh... i thought i insert it everwhere...
Easy to solve :).
Open die install2.x.x.php in a texteditor and replace the beginning <? with <?php
it will solve you're problem... i thought i insert it everwhere...
Or use the instal2.x.x.php in the RC1.3 package, where add all the missing <?php ;).
;D I feel dumb for not noticing that before... I actually looked at the install script to see if I could find any errors and missed it... I should change the colors on my PSPad, the <?php and ?> lines are very dark and the background is dark too :(
Thanks though, I've been beating myself up for not having the thanks feature in my site :)
Quote from: nurg on January 05, 2010, 10:20:02 AM
RC2
Sorry, but this modification does not appear to be compatible with the selected version.
It does work, just download the newly uploaded version, there was a typo kinda thingy in the install script :)
----------------
One thing I just noticed when installing in my main site. I got an error (because of another mod) and because of that I noticed that the following modification appears to be setup slightly incorrectly. (I could be wrong as I don't know a lot of php)
QuoteFind:
'print' => array('text' => 'print', 'image' => 'print.gif', 'lang' => true, 'custom' => 'rel="new_win nofollow"', 'url' => $scripturl . '?action=printpage;topic=' . $context['current_topic'] . '.0'),
);
Add After:
'print' => array('text' => 'print', 'image' => 'print.gif', 'lang' => true, 'custom' => 'rel="new_win nofollow"', 'url' => $scripturl . '?action=printpage;topic=' . $context['current_topic'] . '.0'),
);
// Special Lock for the Thank You :)
if ($context['thank_you_lock_allowed'])
if (empty($context['is_thank_you_post_locked']))
$normal_buttons['thankyoupostlock'] = array('text' => 'thank_you_post_lock_all_b', 'image' => 'thank_you_lock1.gif', 'lang' => true, 'url' => $scripturl . '?action=thankyoupostcloseall;topic=' . $context['current_topic']);
else
$normal_buttons['thankyoupostlock'] = array('text' => 'thank_you_post_open_all_b', 'image' => 'thank_you_lock2.gif', 'lang' => true, 'url' => $scripturl . '?action=thankyoupostcloseall;topic=' . $context['current_topic']);
// A Fix for later, if some Translations are not Updated
if (empty($txt['thank_you_link_aftercounters']))
$txt['thank_you_link_aftercounters'] = $txt['thank_you_link_aftercounter'];
The parser in here in the Site shows it correctly, but when actually installing, SMF wants to add
Quote'print' => array('text' => 'print', 'image' => 'print.gif', 'lang' => true, 'custom' => 'rel="new_win nofollow"', 'url' => $scripturl . '?action=printpage;topic=' . $context['current_topic'] . '.0'),
);
after the same line, which I think would create an unnecessary double line. Just ignore this whole part if i'm wrong, like i said i'm still noob in php :)
I installed this mod everthing is fun, setup runs without any error, but after that it redirect me to the settings, but i cant see nothing! Attached a pic.
I'm not sure why, but the mod seems to break the news block for PortaMx portal :(
yess but why?:D
Oh, that reply wasn't for you, sorry... as for the way your settings is looking like, try clearing your SMF cache, it might solve the problem, other than that, maybe the installation partially filaed...
Quote from: TweakerL on January 05, 2010, 12:53:56 PM
One thing I just noticed when installing in my main site. I got an error (because of another mod) and because of that I noticed that the following modification appears to be setup slightly incorrectly. (I could be wrong as I don't know a lot of php)
QuoteFind:
'print' => array('text' => 'print', 'image' => 'print.gif', 'lang' => true, 'custom' => 'rel="new_win nofollow"', 'url' => $scripturl . '?action=printpage;topic=' . $context['current_topic'] . '.0'),
);
Add After:
'print' => array('text' => 'print', 'image' => 'print.gif', 'lang' => true, 'custom' => 'rel="new_win nofollow"', 'url' => $scripturl . '?action=printpage;topic=' . $context['current_topic'] . '.0'),
);
// Special Lock for the Thank You :)
if ($context['thank_you_lock_allowed'])
if (empty($context['is_thank_you_post_locked']))
$normal_buttons['thankyoupostlock'] = array('text' => 'thank_you_post_lock_all_b', 'image' => 'thank_you_lock1.gif', 'lang' => true, 'url' => $scripturl . '?action=thankyoupostcloseall;topic=' . $context['current_topic']);
else
$normal_buttons['thankyoupostlock'] = array('text' => 'thank_you_post_open_all_b', 'image' => 'thank_you_lock2.gif', 'lang' => true, 'url' => $scripturl . '?action=thankyoupostcloseall;topic=' . $context['current_topic']);
// A Fix for later, if some Translations are not Updated
if (empty($txt['thank_you_link_aftercounters']))
$txt['thank_you_link_aftercounters'] = $txt['thank_you_link_aftercounter'];
The parser in here in the Site shows it correctly, but when actually installing, SMF wants to add
Quote'print' => array('text' => 'print', 'image' => 'print.gif', 'lang' => true, 'custom' => 'rel="new_win nofollow"', 'url' => $scripturl . '?action=printpage;topic=' . $context['current_topic'] . '.0'),
);
after the same line, which I think would create an unnecessary double line. Just ignore this whole part if i'm wrong, like i said i'm still noob in php :)
I will take a look, a double insert is not so nice =).
Quote from: andris11 on January 05, 2010, 02:23:10 PM
I installed this mod everthing is fun, setup runs without any error, but after that it redirect me to the settings, but i cant see nothing! Attached a pic.
The translation of you language is missing...
Quote from: TweakerL on January 05, 2010, 02:24:38 PM
I'm not sure why, but the mod seems to break the news block for PortaMx portal :(
I do not know :X.
Spanish language where I can not see it anywhere
Quote from: gantz on January 07, 2010, 04:00:51 PM
Spanish language where I can not see it anywhere
Good question... where is the spanish translation oO.
Alright this is probably an easy fix but how do I get rid of the redundant "Thank you" after the thanks button?
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi45.tinypic.com%2F28iylg5.png&hash=106378d70db38cfdf2153cad06fc18550daf1bd3)
SMF 1.1.11
Theme: Black Rain v2 ( 1.1.8 )
SimplePortal 2.2.2
It is basically the same thing twice.
Thank you,
duder
How can I "fix" to change layout for preview list of users who click "Thank you" under post so it doesnt look like part of the post?
I mean something like this:Quote[post content]
Follow members gave a thank to your post:
user1,user3
to look like this:Quote[post content]
-------------------------------------------------------
Follow members gave a thank to your post:
user1,user3
EDIT:
After i Modifie language file in themes/default/index.english.php I get this error:
QuoteThere was a problem loading the /cache/lang_index+Modifications_serbian_latin-utf8_default.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\).
When I remove Thank-o-Matic package its working fine.
ディン1031 could help put the mod in my theme I try, but the files Display.template.php, Stats.template.php, index.css not have nearly the same and put all the changes but can not find these
Display.template:
Search:
// Can the user modify the contents of this post? Show the modify inline image.
if ($message['can_modify'])
echo '
<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'], '\', \'', $context['session_var'], '\')" />';
Remplace:
// Show the Thank You list or the link or.... nothing? XD
echo '
<div class="ThankOMatic" style="display: '.($message['thank_you_post']['isThankYouPost'] ? 'block' : 'none').';" id="ThankOMaticID' . $message['id'] . '">
<span class="error" id="ErrorThankOMaticID' . $message['id'] . '"></span>';
// Output the Template for Thank-O-Matic (Normal found in the index.template.php)
if ($message['thank_you_post']['isThankYouPost'])
// This template is inside the index.template.php template_thank_you_post($message['thank_you_post'], $message['id']);
echo '
</div>';
// Can the user modify the contents of this post? Show the modify inline image.
if ($message['can_modify'])
echo '
<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'], '\', \'', $context['session_var'], '\')" />';
Stats.template.php
search:
echo '
<span>', $poster['time_online'], '</span>
</dd>';
}
Remplace:
echo '
<span>', $poster['time_online'], '</span>
</dd>';
}
// Thank-O-Matic Stats
if (!empty($modSettings['thankYouPostStatsEnabled']))
{
echo '
</dl>
<div class="clear"></div>
</div>
<span class="botslice"><span></span></span>
</div>
</div>
</div>
<div class="flow_hidden">
<div id="most_thank_you_receive">
<h3 class="catbg"><span class="left"></span>
<img src="', $settings['images_url'], '/buttons/thank_you_b.gif" class="icon" alt="" /> ', $txt['thank_you_post_Top10Receive'], ' <span class="smalltext">(', $txt['thank_you_post_became_display'], ' / ', $txt['thank_you_post_made_display'], ')</span>
</h3>
<div class="windowbg">
<span class="topslice"><span></span></span>
<div class="content">
<dl class="stats">';
foreach ($context['top_ThankOMatic_Receive'] as $poster)
echo '
<dt>', $poster['link'], '</dt>
<dd>', $poster['thank_you_post_became'], '/', $poster['thank_you_post_made'], '</dd>';
echo '
</dl>
<div class="clear"></div>
</div> <span class="botslice"><span></span></span>
</div>
</div>
<div id="most_thank_you_given">
<h3 class="catbg"><span class="left"></span>
<img src="', $settings['images_url'], '/buttons/thank_you_b.gif" class="icon" alt="" /> ', $txt['thank_you_post_Top10Given'], ' <span class="smalltext">(', $txt['thank_you_post_made_display'], ' / ', $txt['thank_you_post_became_display'], ')</span>
</h3>
<div class="windowbg2">
<span class="topslice"><span></span></span>
<div class="content"> <dl class="stats">';
foreach ($context['top_ThankOMatic_Given'] as $poster)
echo '
<dt>', $poster['link'], '</dt>
<dd>', $poster['thank_you_post_made'], '/', $poster['thank_you_post_became'], '</dd>';
}
index.css
Buscar:
ul.quickbuttons li.restore_button
{
background: url(../images/theme/quickbuttons.png) no-repeat 0 -120px;
}
Despues:
ul.quickbuttons li.restore_button
{
background: url(../images/theme/quickbuttons.png) no-repeat 0 -120px; }
/* This are the the Thank-O-Matic Buttons START */
ul.quickbuttons li.thank_you_button
{
background: url(../images/buttons/thank_you_b.gif) no-repeat;
}
ul.quickbuttons li.thank_you_open_button
{
background: url(../images/buttons/thank_you_open.gif) no-repeat;
}
ul.quickbuttons li.thank_you_lock_button
{
background: url(../images/buttons/thank_you_lock.gif) no-repeat;
}
ul.quickbuttons li.thank_you_delete_button
{
background: url(../images/buttons/thank_you_delete.gif) no-repeat;
}
/* This are the the Thank-O-Matic Buttons END */
The theme I use is this:
http://custom.simplemachines.org/themes/index.php?action=search;basic_search=Anecdota+
Deputy files and edit my greetings and thanks
In Spanish:
podrias ayudarme a poner el mod en mi tema yo lo intente pero los archivos Display.template.php,Stats.template.php,index.css no tienen lo mismo ya casi puse todas las modificaciones pero no encuentro estas
Display.template:
Search:
// Can the user modify the contents of this post? Show the modify inline image.
if ($message['can_modify'])
echo '
<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'], '\', \'', $context['session_var'], '\')" />';
Remplace:
// Show the Thank You list or the link or.... nothing? XD
echo '
<div class="ThankOMatic" style="display: '.($message['thank_you_post']['isThankYouPost'] ? 'block' : 'none').';" id="ThankOMaticID' . $message['id'] . '">
<span class="error" id="ErrorThankOMaticID' . $message['id'] . '"></span>';
// Output the Template for Thank-O-Matic (Normal found in the index.template.php)
if ($message['thank_you_post']['isThankYouPost'])
// This template is inside the index.template.php template_thank_you_post($message['thank_you_post'], $message['id']);
echo '
</div>';
// Can the user modify the contents of this post? Show the modify inline image.
if ($message['can_modify'])
echo '
<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'], '\', \'', $context['session_var'], '\')" />';
Stats.template.php
search:
echo '
<span>', $poster['time_online'], '</span>
</dd>';
}
Remplace:
echo '
<span>', $poster['time_online'], '</span>
</dd>';
}
// Thank-O-Matic Stats
if (!empty($modSettings['thankYouPostStatsEnabled']))
{
echo '
</dl>
<div class="clear"></div>
</div>
<span class="botslice"><span></span></span>
</div>
</div>
</div>
<div class="flow_hidden">
<div id="most_thank_you_receive">
<h3 class="catbg"><span class="left"></span>
<img src="', $settings['images_url'], '/buttons/thank_you_b.gif" class="icon" alt="" /> ', $txt['thank_you_post_Top10Receive'], ' <span class="smalltext">(', $txt['thank_you_post_became_display'], ' / ', $txt['thank_you_post_made_display'], ')</span>
</h3>
<div class="windowbg">
<span class="topslice"><span></span></span>
<div class="content">
<dl class="stats">';
foreach ($context['top_ThankOMatic_Receive'] as $poster)
echo '
<dt>', $poster['link'], '</dt>
<dd>', $poster['thank_you_post_became'], '/', $poster['thank_you_post_made'], '</dd>';
echo '
</dl>
<div class="clear"></div>
</div> <span class="botslice"><span></span></span>
</div>
</div>
<div id="most_thank_you_given">
<h3 class="catbg"><span class="left"></span>
<img src="', $settings['images_url'], '/buttons/thank_you_b.gif" class="icon" alt="" /> ', $txt['thank_you_post_Top10Given'], ' <span class="smalltext">(', $txt['thank_you_post_made_display'], ' / ', $txt['thank_you_post_became_display'], ')</span>
</h3>
<div class="windowbg2">
<span class="topslice"><span></span></span>
<div class="content"> <dl class="stats">';
foreach ($context['top_ThankOMatic_Given'] as $poster)
echo '
<dt>', $poster['link'], '</dt>
<dd>', $poster['thank_you_post_made'], '/', $poster['thank_you_post_became'], '</dd>';
}
index.css
Buscar:
ul.quickbuttons li.restore_button
{
background: url(../images/theme/quickbuttons.png) no-repeat 0 -120px;
}
Despues:
ul.quickbuttons li.restore_button
{
background: url(../images/theme/quickbuttons.png) no-repeat 0 -120px; }
/* This are the the Thank-O-Matic Buttons START */
ul.quickbuttons li.thank_you_button
{
background: url(../images/buttons/thank_you_b.gif) no-repeat;
}
ul.quickbuttons li.thank_you_open_button
{
background: url(../images/buttons/thank_you_open.gif) no-repeat;
}
ul.quickbuttons li.thank_you_lock_button
{
background: url(../images/buttons/thank_you_lock.gif) no-repeat;
}
ul.quickbuttons li.thank_you_delete_button
{
background: url(../images/buttons/thank_you_delete.gif) no-repeat;
}
/* This are the the Thank-O-Matic Buttons END */
El tema que uso es este:
http://custom.simplemachines.org/themes/index.php?action=search;basic_search=Anecdota+
Adjunto mis archivos que e edite saludos y gracias
Quote from: duder673 on January 10, 2010, 01:57:56 PM
Alright this is probably an easy fix but how do I get rid of the redundant "Thank you" after the thanks button?
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi45.tinypic.com%2F28iylg5.png&hash=106378d70db38cfdf2153cad06fc18550daf1bd3)
SMF 1.1.11
Theme: Black Rain v2 ( 1.1.8 )
SimplePortal 2.2.2
It is basically the same thing twice.
Thank you,
duder
You should only use the thumb up picutre without text, than it should be look good ;).
Quote from: Neubivljiv on January 10, 2010, 08:22:19 PM
How can I "fix" to change layout for preview list of users who click "Thank you" under post so it doesnt look like part of the post?
I mean something like this:
Quote[post content]
Follow members gave a thank to your post:
user1,user3
to look like this:
Quote[post content]
-------------------------------------------------------
Follow members gave a thank to your post:
user1,user3
EDIT:
After i Modifie language file in themes/default/index.english.php I get this error:
QuoteThere was a problem loading the /cache/lang_index+Modifications_serbian_latin-utf8_default.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\).
When I remove Thank-o-Matic package its working fine.
You did something wrong after you changed the english.php...
You can change the style in the index.template.php there is a function called template_thank_you_post.
Quote from: ディン1031 on January 11, 2010, 05:34:35 PM
Quote from: duder673 on January 10, 2010, 01:57:56 PM
Alright this is probably an easy fix but how do I get rid of the redundant "Thank you" after the thanks button?
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi45.tinypic.com%2F28iylg5.png&hash=106378d70db38cfdf2153cad06fc18550daf1bd3)
SMF 1.1.11
Theme: Black Rain v2 ( 1.1.8 )
SimplePortal 2.2.2
It is basically the same thing twice.
Thank you,
duder
You should only use the thumb up picutre without text, than it should be look good ;).
How though?
For all the people interested in change some additional things in the Ajax Feature this can be useful
With this changes you will be available to automatically Add +1 Thank received and automatically show the Delete Thank button:
In Display.template.php:
Find:
<li>', $txt['thank_you_post_thx_display'], '</li>
<li>-', $txt['thank_you_post_made_display'], ': ', $message['member']['thank_you_post']['made'], '</li>
<li>-', $txt['thank_you_post_became_display'], ': ', $message['member']['thank_you_post']['became'], '</li>';
Replace with:
<li>', $txt['thank_you_post_thx_display'], '</li>
<li>-', $txt['thank_you_post_made_display'], ': ', $message['member']['thank_you_post']['made'], '</li>
<li id="thanks_became_'.$message['id'].'">-', $txt['thank_you_post_became_display'], ': ', $message['member']['thank_you_post']['became'], '</li>
<li id="thanks_became_ajax_'.$message['id'].'" style="display: none;">-', $txt['thank_you_post_became_display'], ': ', ($message['member']['thank_you_post']['became'] + 1), '</li>';
Find:
if ($message['thank_you_post']['delete'] && $message['thank_you_post']['isThankYouPost'])
echo '
<li class="thank_you_delete_button"><a href="', $scripturl, '?action=thankyoupostdelete;topic=', $context['current_topic'], '.0;msg=', $message['id'], ';sesc=', $context['session_id'], '" onclick="return confirm(\'', $txt['remove_thank_you_post'], '?\');">', $txt['thank_you_post_delete_b'], '</a></li>';
Replace with:
echo '
<li class="thank_you_delete_button" id="thank_delete_' . $message['id'] . '" '.($message['thank_you_post']['delete'] && $message['thank_you_post']['isThankYouPost'] ? '' : 'style="display: none;"').'><a href="', $scripturl, '?action=thankyoupostdelete;topic=', $context['current_topic'], '.0;msg=', $message['id'], ';sesc=', $context['session_id'], '" onclick="return confirm(\'', $txt['remove_thank_you_post'], '?\');">', $txt['thank_you_post_delete_b'], '</a></li>';
Find:
function thankyou(msg_id) {
// Follow the link if no ajax support...
if (!window.XMLHttpRequest)
return true;
// Standard Variables
var elementName = "ThankOMaticID" + msg_id;
var elementButton = "buttonThxID" + msg_id;
// Tell him that something loading :)
ajax_indicator(true);
// Remove the Thank You Button :)
document.getElementById(elementButton).style.display = "none";
var thank_you_ajax_thx = thank_you_ajax_url + ";sa=thx;msg=" + msg_id;
var data = ThankYouLoadTextData(thank_you_ajax_thx, elementName, elementButton);
return !data;
}
Replace With:
function thankyou(msg_id) {
// Follow the link if no ajax support...
if (!window.XMLHttpRequest)
return true;
// Standard Variables
var elementName = "ThankOMaticID" + msg_id;
var elementButton = "buttonThxID" + msg_id;
var thanksBecame = "thanks_became_" + msg_id;
var thanksBecameAjax = "thanks_became_ajax_" + msg_id;
var thankDelete = "thank_delete_" + msg_id;
// Tell him that something loading :)
ajax_indicator(true);
// Remove the Thank You Button :)
document.getElementById(elementButton).style.display = "none";
document.getElementById(thanksBecame).style.display = "none";
document.getElementById(thanksBecameAjax).style.display = "";
document.getElementById(thankDelete).style.display = "";
var thank_you_ajax_thx = thank_you_ajax_url + ";sa=thx;msg=" + msg_id;
var data = ThankYouLoadTextData(thank_you_ajax_thx, elementName, elementButton);
return !data;
}
And there you go, do you automatically add the delete thank button and add 1 to the Thank became after ajax :)
I hope this doesn't dislike to DIN and (I know of probably you will say not) feel free to use any of this code in a future release
Regards
http://www.anlatabildimmi.com
Teşekkürler Gerçekten İşime Yaradı :)
Quote from: NIBOGO on January 13, 2010, 09:32:50 PM
For all the people interested in change some additional things in the Ajax Feature this can be useful
With this changes you will be available to automatically Add +1 Thank received and automatically show the Delete Thank button:
In Display.template.php:
Find:
<li>', $txt['thank_you_post_thx_display'], '</li>
<li>-', $txt['thank_you_post_made_display'], ': ', $message['member']['thank_you_post']['made'], '</li>
<li>-', $txt['thank_you_post_became_display'], ': ', $message['member']['thank_you_post']['became'], '</li>';
Replace with:
<li>', $txt['thank_you_post_thx_display'], '</li>
<li>-', $txt['thank_you_post_made_display'], ': ', $message['member']['thank_you_post']['made'], '</li>
<li id="thanks_became_'.$message['id'].'">-', $txt['thank_you_post_became_display'], ': ', $message['member']['thank_you_post']['became'], '</li>
<li id="thanks_became_ajax_'.$message['id'].'" style="display: none;">-', $txt['thank_you_post_became_display'], ': ', ($message['member']['thank_you_post']['became'] + 1), '</li>';
Find:
if ($message['thank_you_post']['delete'] && $message['thank_you_post']['isThankYouPost'])
echo '
<li class="thank_you_delete_button"><a href="', $scripturl, '?action=thankyoupostdelete;topic=', $context['current_topic'], '.0;msg=', $message['id'], ';sesc=', $context['session_id'], '" onclick="return confirm(\'', $txt['remove_thank_you_post'], '?\');">', $txt['thank_you_post_delete_b'], '</a></li>';
Replace with:
echo '
<li class="thank_you_delete_button" id="thank_delete_' . $message['id'] . '" '.($message['thank_you_post']['delete'] && $message['thank_you_post']['isThankYouPost'] ? '' : 'style="display: none;"').'><a href="', $scripturl, '?action=thankyoupostdelete;topic=', $context['current_topic'], '.0;msg=', $message['id'], ';sesc=', $context['session_id'], '" onclick="return confirm(\'', $txt['remove_thank_you_post'], '?\');">', $txt['thank_you_post_delete_b'], '</a></li>';
Find:
function thankyou(msg_id) {
// Follow the link if no ajax support...
if (!window.XMLHttpRequest)
return true;
// Standard Variables
var elementName = "ThankOMaticID" + msg_id;
var elementButton = "buttonThxID" + msg_id;
// Tell him that something loading :)
ajax_indicator(true);
// Remove the Thank You Button :)
document.getElementById(elementButton).style.display = "none";
var thank_you_ajax_thx = thank_you_ajax_url + ";sa=thx;msg=" + msg_id;
var data = ThankYouLoadTextData(thank_you_ajax_thx, elementName, elementButton);
return !data;
}
Replace With:
function thankyou(msg_id) {
// Follow the link if no ajax support...
if (!window.XMLHttpRequest)
return true;
// Standard Variables
var elementName = "ThankOMaticID" + msg_id;
var elementButton = "buttonThxID" + msg_id;
var thanksBecame = "thanks_became_" + msg_id;
var thanksBecameAjax = "thanks_became_ajax_" + msg_id;
var thankDelete = "thank_delete_" + msg_id;
// Tell him that something loading :)
ajax_indicator(true);
// Remove the Thank You Button :)
document.getElementById(elementButton).style.display = "none";
document.getElementById(thanksBecame).style.display = "none";
document.getElementById(thanksBecameAjax).style.display = "";
document.getElementById(thankDelete).style.display = "";
var thank_you_ajax_thx = thank_you_ajax_url + ";sa=thx;msg=" + msg_id;
var data = ThankYouLoadTextData(thank_you_ajax_thx, elementName, elementButton);
return !data;
}
And there you go, do you automatically add the delete thank button and add 1 to the Thank became after ajax :)
I hope this doesn't dislike to DIN and (I know of probably you will say not) feel free to use any of this code in a future release
Regards
Nice. Thank you, i will try it :).
I must look twice to understand the trick that you use xD. Simple and good :).
Glad you like it DIN plus I already had the code to automatically add +1 thank to the made count of the person who did the thank, I'll post it here in a few hours plus
the spanish translation
HI,
Great mod thank you!
I installed it and i got error:
Fatal error: Cannot redeclare template_thank_you_post() (previously declared in D:\Web\Webroot\teszt\Sources\Load.php(2118) : eval()'d code:581) in D:\Web\Webroot\teszt\Sources\Load.php(2118) : eval()'d code on line 667
The install was succesfull. I dont know whats wrong..
Hmmm... this happen only sometimes... it could be possible that the function is twice insert in the index.template.php...
Hi, ディン1031 Ive installed the mod, in my forum www.clublgmobile.com all work fine except one thing.
Looking to one of the image http://custom.simplemachines.org/mods/index.php?action=download;mod=710;id=34137;image
the text of (Follow member gave a thanks to your post. ) is separated from the text of the post. is nice.
But in my forum appear like this image
http://www.simplemachines.org/community/index.php?action=dlattach;topic=176565.0;attach=130002;image as part of the text of the post.
Any way to show like image 1
Quote from: ディン1031 on January 18, 2010, 08:46:10 AM
Hmmm... this happen only sometimes... it could be possible that the function is twice insert in the index.template.php...
Then what should i do?
Hello,
I am running SMF v. 1.1.11 with Vietnamese lang pack (downloaded from SMF site) and I download, installed Thank-O-Matic v. 125_v2 all goes well except when redirected to its control panel.
If I use Vietnamese, so no text for option in its control panel
If I switch back to English and default SMF theme, it show up text with english but in post, no button for say Thank you. My question are:
- where I look to enable it in Vietnamese?
- how do I enable it if I switch to use another forum theme?
I've tried to search but no luck with similar problem, if you know please let me know or point me out a link so I can try practice.
Thank you!
Quote from: andris11 on January 18, 2010, 04:30:13 PM
Quote from: ディン1031 on January 18, 2010, 08:46:10 AM
Hmmm... this happen only sometimes... it could be possible that the function is twice insert in the index.template.php...
Then what should i do?
Delete one of that functions
i did it. Reinstalled. Now it's working but... I attached pic. I installed it to Default Theme and into the custom theme as well.(i had installed just into the default one but i had got the same problem..)
Quote from: nestortoledo on January 18, 2010, 12:14:52 PM
Hi, ディン1031 Ive installed the mod, in my forum www.clublgmobile.com all work fine except one thing.
Looking to one of the image http://custom.simplemachines.org/mods/index.php?action=download;mod=710;id=34137;image
the text of (Follow member gave a thanks to your post. ) is separated from the text of the post. is nice.
But in my forum appear like this image
http://www.simplemachines.org/community/index.php?action=dlattach;topic=176565.0;attach=130002;image as part of the text of the post.
Any way to show like image 1
Yes you need to change the output in template_thank_you_post() function of the index.template.php...
Quote from: chairuou on January 19, 2010, 12:52:16 PM
Hello,
I am running SMF v. 1.1.11 with Vietnamese lang pack (downloaded from SMF site) and I download, installed Thank-O-Matic v. 125_v2 all goes well except when redirected to its control panel.
If I use Vietnamese, so no text for option in its control panel
If I switch back to English and default SMF theme, it show up text with english but in post, no button for say Thank you. My question are:
- where I look to enable it in Vietnamese?
- how do I enable it if I switch to use another forum theme?
I've tried to search but no luck with similar problem, if you know please let me know or point me out a link so I can try practice.
Thank you!
You need to setup the mod before you can use an of the function. In you're case it's not enabled for the board and i think no permissions are set.
The other thing is you need to insert he english thing into you're Vietnamese language so that you can see and use them in the selected language, too.
Bye
DIN1031
Here it is, Italian translation. I checked it, it should be correct.
I have this errors on install :
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg29.imageshack.us%2Fimg29%2F6901%2Ferrorar.th.jpg&hash=9361f7e9d3ba6251f3838b0c693d146ee1f774cd) (http://img29.imageshack.us/i/errorar.jpg/)
i have many mod's installed but my forum is without errors so to try this files(errors files) modify manually or this mod isn't compatible with some mods ?
i have SMF 1.1.11
I have the problem with this mod ... Actually, it is not really a big problem ...
Everything going fine when installation and It's OK in SMF core theme ...
But it's doesn't appear thanks button in other themes. I don't know how to fix that ...
Thanks
Quote from: cooljim on January 24, 2010, 02:03:49 AM
I have the problem with this mod ... Actually, it is not really a big problem ...
Everything going fine when installation and It's OK in SMF core theme ...
But it's doesn't appear thanks button in other themes. I don't know how to fix that ...
Thanks
My problem solved ... I installed this mod from package tab and also need to use manual install instruction ... And for the thank you button set , I need to create my own button set to match with my custom themes layout ...
Thanks for this great MOD
Quote
Quote from: chairuou on January 19, 2010, 12:52:16 PM
Hello,
I am running SMF v. 1.1.11 with Vietnamese lang pack (downloaded from SMF site) and I download, installed Thank-O-Matic v. 125_v2 all goes well except when redirected to its control panel.
If I use Vietnamese, so no text for option in its control panel
If I switch back to English and default SMF theme, it show up text with english but in post, no button for say Thank you. My question are:
- where I look to enable it in Vietnamese?
- how do I enable it if I switch to use another forum theme?
I've tried to search but no luck with similar problem, if you know please let me know or point me out a link so I can try practice.
Thank you!
You need to setup the mod before you can use an of the function. In you're case it's not enabled for the board and i think no permissions are set.
The other thing is you need to insert he english thing into you're Vietnamese language so that you can see and use them in the selected language, too.
Hello,
I've tried it again as following steps:
- login as admin
- reset forum language to English
- reset theme to default SMF theme core
- install the Mod again
- Mod's control panel appeared
- I've configured to enable Mod
- Save then look back to forum post
and no
Thank you button appeared
I have no clue where to look in to find the trouble, can you recommend ?
Thanks!
Quote from: mariusfv on January 21, 2010, 07:04:24 PM
I have this errors on install :
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg29.imageshack.us%2Fimg29%2F6901%2Ferrorar.th.jpg&hash=9361f7e9d3ba6251f3838b0c693d146ee1f774cd) (http://img29.imageshack.us/i/errorar.jpg/)
i have many mod's installed but my forum is without errors so to try this files(errors files) modify manually or this mod isn't compatible with some mods ?
i have SMF 1.1.11
Normal there are not really know incompatible things... only the install thing there are so many changes done i can't give an warranty that it will not install on every possible customization ;).
Quote from: chairuou on January 25, 2010, 01:47:56 AM
Quote
Quote from: chairuou on January 19, 2010, 12:52:16 PM
Hello,
I am running SMF v. 1.1.11 with Vietnamese lang pack (downloaded from SMF site) and I download, installed Thank-O-Matic v. 125_v2 all goes well except when redirected to its control panel.
If I use Vietnamese, so no text for option in its control panel
If I switch back to English and default SMF theme, it show up text with english but in post, no button for say Thank you. My question are:
- where I look to enable it in Vietnamese?
- how do I enable it if I switch to use another forum theme?
I've tried to search but no luck with similar problem, if you know please let me know or point me out a link so I can try practice.
Thank you!
You need to setup the mod before you can use an of the function. In you're case it's not enabled for the board and i think no permissions are set.
The other thing is you need to insert he english thing into you're Vietnamese language so that you can see and use them in the selected language, too.
Hello,
I've tried it again as following steps:
- login as admin
- reset forum language to English
- reset theme to default SMF theme core
- install the Mod again
- Mod's control panel appeared
- I've configured to enable Mod
- Save then look back to forum post
and no Thank you button appeared
I have no clue where to look in to find the trouble, can you recommend ?
Thanks!
You did enable it on the boards? Are you sure... hmmm... don't know what you could forget... (hope you don't try to give a thank you to yourself...)
Quote from: ディン1031 on January 25, 2010, 04:06:49 PM
You did enable it on the boards? Are you sure... hmmm... don't know what you could forget... (hope you don't try to give a thank you to yourself...)
I am sure I enabled it after install. Of course not trying to Thank myself ;) but the problem is no thank you button appeared, only reason I can think about is the image, is that button image put in to Default theme's image folder?
Thanks.
Quote from: chairuou on January 25, 2010, 08:41:16 PM
Quote from: ディン1031 on January 25, 2010, 04:06:49 PM
You did enable it on the boards? Are you sure... hmmm... don't know what you could forget... (hope you don't try to give a thank you to yourself...)
I am sure I enabled it after install. Of course not trying to Thank myself ;) but the problem is no thank you button appeared, only reason I can think about is the image, is that button image put in to Default theme's image folder?
Thanks.
Can you give me your forum link ? Hope I can help you ...
If you have install custom themes, you need to modify yourself in Display.template.php ..
Quote from: andris11 on January 20, 2010, 09:59:44 AM
i did it. Reinstalled. Now it's working but... I attached pic. I installed it to Default Theme and into the custom theme as well.(i had installed just into the default one but i had got the same problem..)
somebody could help me?
Hi ディン1031,
Today i had to run manual installation for a new Theme on my forum, and i saw this 2 instructions:
In Sources/ManageSettings.php
Find
$fields_no_registration = array('posts', 'warning_status');
Replace
$fields_no_registration = array('posts', 'warning_status');
// Extent the Standard Fields for Thank-O-Matic
if (!empty($modSettings['thankYouPostMemberList']))
{
$standard_fields[] = 'thank_you_post_became';
$fields_no_registration[] = 'thank_you_post_became';
$standard_fields[] = 'thank_you_post_made';
$fields_no_registration[] = 'thank_you_post_made';
}
Find
$fields_no_registration = array('posts', 'warning_status');
Replace
$fields_no_registration = array('posts', 'warning_status');
// Extent the Standard Fields for Thank-O-Matic
if (!empty($modSettings['thankYouPostMemberList']))
{
$standard_fields[] = 'thank_you_post_became';
$fields_no_registration[] = 'thank_you_post_became';
$standard_fields[] = 'thank_you_post_made';
$fields_no_registration[] = 'thank_you_post_made';
}
Is this Ok? Because after doing that i'm going to have this:
$fields_no_registration = array('posts', 'warning_status');
// Extent the Standard Fields for Thank-O-Matic
if (!empty($modSettings['thankYouPostMemberList']))
{
$standard_fields[] = 'thank_you_post_became';
$fields_no_registration[] = 'thank_you_post_became';
$standard_fields[] = 'thank_you_post_made';
$fields_no_registration[] = 'thank_you_post_made';
}
// Extent the Standard Fields for Thank-O-Matic
if (!empty($modSettings['thankYouPostMemberList']))
{
$standard_fields[] = 'thank_you_post_became';
$fields_no_registration[] = 'thank_you_post_became';
$standard_fields[] = 'thank_you_post_made';
$fields_no_registration[] = 'thank_you_post_made';
}
The version I used is ThankOMatic20RC1.3_(for_2.0_RC2)
Thanks in advance for your reply! :D
Normal it should be only one time in the file oO.
Uff i insert it three times... okay i think i should release a new version in the next days...
Dear sir,
thanks for this great MOD.....
I was using this for 1.1.11 before and now i have updated to 2.0RC2.
I have one request is that, in 2.0RC2 the thank you list appears in continuation of the post content without any separator or horizontal line in between the main post content and thank you list.... while in 1.1.11 the list is separated by a horizontal line which looks good...
So sir is it possible to change the appearance of 2.0RC2 thank you list like 1.1.11, means inserting a hz ruler between the main post content and thank you list.
i have attached the screen shots of both 1.1.11 and 2.0rc2 for reference...
Pls tell me any change to make in any smf file to add that ruler....
Thanks.
You can easy add this by adding <hr /> in the thank_you_post_template function of the index.template.php.
if(empty($context['thank_you_post_template']['disable_start_text']))
echo '<hr />';
if(empty($context['thank_you_post_template']['disable_start_text']))
Than there should be a line again ;).
Quote from: ディン1031 on February 03, 2010, 12:41:04 AM
You can easy add this by adding <hr /> in the thank_you_post_template function of the index.template.php.
if(empty($context['thank_you_post_template']['disable_start_text']))
echo '<hr />';
if(empty($context['thank_you_post_template']['disable_start_text']))
Than there should be a line again ;) .
Thanks you.... i edited the file.... now the line is present..... :)
I am ******ed up..
I installed this..and I did not make a backup.
The first time I installed this..it worked fine. But then I reinstalled it, it didn't work! It renders all of the pages of my forum useless pointing to some error on line 461 in the Load.php file!
And now I manually uninstalled it..and gave it time..doesn't work! Just the same error!
*Sigh*
Now I'm verifying once again if the uninstall was successful or if I missed something.
My forum's down now..with the error on Load.php
This mod killed my forum long ago and marked as dangerous in my option. Did not install this even since. Even manually editing to uninstall it did no good to me.
Right..manual uninstall is no help!
Guess that does teach me a lesson..I have the inital backup..of the very first day that my forum set up- but that's no use, is it? (Since I had no posts..no members)
Quote from: Dismal Shadow on February 04, 2010, 04:10:03 PM
This mod killed my forum long ago and marked as dangerous in my option. Did not install this even since. Even manually editing to uninstall it did no good to me.
I have installed this mod in more than 5 SMF Forums, on 1.1.X and 2.0 and always works like a charm. The mod is 100% compatible with SMF and isn't a risk for any forum, if your forum was killed by this mod it should be a logical reason like incompatibility with other mod or bad installation
hi i got this working on RC2 custom theme looks great thanks however is there a way to make it stand out a lil more in the post even like changing the color of the text i have attached an image
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi47.tinypic.com%2F2vigyvc.jpg&hash=6d63fa531adc7e655937eb4a46b336cf9a274d43)
it kinda blends with the post text easy to miss
ty
as you can see it comes right after the text in the post and it is the same color so if i cannot change the color is there a way to move it a lil lower after the text
or add a line across or something please help
I also just noticed it is wrong also it says
follow members have given thanks"
it should say
the following members
ok i was able to edit the text i found that however i would still like to add a line or someting to seperate it from the post text
anyone ????
You can disable the before text and you can change in the index.template.php of the theme the function template_thank_you_post, with that you can customize everything of the thank you post. But if the colores enough for you than you could use the thank_you class in the css file to format this div part ;).
Im getting these errors allways when I try to install on my SMF2 RC2
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg694.imageshack.us%2Fimg694%2F5768%2F91264699.jpg&hash=337a1a4ba06956778b136dad704652d200c493c1)
Quote from: ディン1031 on February 07, 2010, 01:46:06 AM
You can disable the before text and you can change in the index.template.php of the theme the function template_thank_you_post, with that you can customize everything of the thank you post. But if the colores enough for you than you could use the thank_you class in the css file to format this div part ;).
thanks for the response i did find and edit the text of the mod but forgive me i am pretty much a noob at this
i just want to add a line in between the ending text of the post and the tahnk you mod like the one that is above the signature box it is just a white line i have attached an image
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi46.tinypic.com%2Fzl5ki9.jpg&hash=4c2f2b916f20c25f70c60e094a43fb9dec6e54aa)
enjoy is where the post ends i would like to add that white line after enjoy i know it is just adding something somewhere but i have no idea what or where :-[ :-[
ok i got it i found it on my own wee hooo
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi46.tinypic.com%2F16lfzsz.jpg&hash=31137eaf6c09e01f91bf2ae1242569364946399c)
now that i know where it is what would i add to add one more space between the post text and thank you line i added i know where to put it but what character do i enter to make a space in the code
I've installed this mod on my 2.0 rc2 test forum, but have the same issue as Nugget describes in this (http://www.simplemachines.org/community/index.php?topic=176565.msg2434530#msg2434530) post. Google Chrome displays the "thank you" given on the right side of the post instead of the bottom. However I cannot find the solution.
Can anyone help me?
Quote from: JulesW on February 08, 2010, 05:23:22 AM
I've installed this mod on my 2.0 rc2 test forum, but have the same issue as Nugget describes in this (http://www.simplemachines.org/community/index.php?topic=176565.msg2434530#msg2434530) post. Google Chrome displays the "thank you" given on the right side of the post instead of the bottom. However I cannot find the solution.
Can anyone help me?
hmmm i never used google chrome. Do this also happen on the standard default theme?
Yes, I just checked and the same thing happens with default theme
Quote from: tbk22 on February 07, 2010, 05:55:10 AM
Im getting these errors allways when I try to install on my SMF2 RC2
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg694.imageshack.us%2Fimg694%2F5768%2F91264699.jpg&hash=337a1a4ba06956778b136dad704652d200c493c1)
any help with this?
Many failed tests here too (smf 2.0 rc2). Since this mod is difficult to be reverted manually i decided to skip it.
You can manually install it in the files that failed. i had no problems installing it in RC2
Quote from: JulesW on February 10, 2010, 08:55:20 AM
Yes, I just checked and the same thing happens with default theme
Hmmm if i have time i will try google chrome...
Quote from: searchgr on February 11, 2010, 02:45:31 PM
Many failed tests here too (smf 2.0 rc2). Since this mod is difficult to be reverted manually i decided to skip it.
Everybody who are experiencing problems installing this mod on SMF 2.0 RC2, try to deactivate all other plugins first, and then install Thank-o-matic.
It's working smooth on my SMF 2.0 RC2 heavily modified.
Execute Modification ./Sources/Subs-Boards.php Test failed
Find
b.board_order, b.count_posts, b.member_groups, b.id_theme, b.override_theme, b.id_profile,
Add After
b.board_order, b.count_posts, b.member_groups, b.id_theme, b.override_theme, b.id_profile, b.thank_you_post_enable,
The line in the /Sources/Subs-Boards.php is:
b.board_order, b.count_posts, b.member_groups, b.member_groups_view, b.id_theme, b.override_theme, b.id_profile, b.redirect,
b.num_posts, b.num_topics, c.id_cat, c.name AS cat_name, c.cat_order, c.can_collapse
find in that line:
Quoteb.id_profile,
add after:
Quoteb.thank_you_post_enable,
I'm counting the risk of doing this. I see that this mod modifies many files and i'm wondering if i can fix the problems if something goes wrong.
as should be the case with all mods:
Make a backup of the files. At least the files the mod modifies. that way, you can always restore everything if something goes wrong...
Yes, i make a backup now. If something goes wrong i will override them with the old ones via ftp. Isn't this the right way?
If you want to restore after something goes wrong, you only have to overwrite the files the mod changes with the backup files.
Also: Make sure you adjust the files that failed the test manually with all the edits in those files and copy and overwrite them to the server AFTER you installed the mod.
ok now, but the 'Thank you' sign appears only to the administrator. I gave permission to all members but nothing...
did you select which boards to show the thank you? and gave all groups permission to show?
When i try to enable it manually to the boards - modify board:
Enable Thank-O-Matic:
This option enable the "Thank You" option for posts on this board
i get this error:
http://www.*****.net/index.php?action=admin;area=manageboards;sa=board;boardid=12
8: Undefined index: thank_you_post_enable
File: /home/******/public_html/Themes/default/ManageBoards.template.php (modify_board sub template - eval?)
Line: 471
Line 471: <input type="checkbox" name="thank_you_post_enable"', $context['board']['thank_you_post_enable'] ? ' checked="checked"' : '', ' class="input_check" />
must be an error in the code somewhere. that line is the same as in my file so that's not it. my advice: check all files you edited manually for errors...
Some boards show the sign 'Thank you' but some other boards not.
ok, i checked the special permission per board and now the 'thank you' sign appears to all the boards.
This error still comes to the log file:
http://www.*****.net/index.php?action=admin;area=manageboards;sa=board;boardid=12
8: Undefined index: thank_you_post_enable
File: /home/******/public_html/Themes/default/ManageBoards.template.php (modify_board sub template - eval?)
Line: 471
I think that is related to this: http://www.simplemachines.org/community/index.php?topic=176565.msg2498424#msg2498424
Any ideas?
Quote from: searchgr on February 12, 2010, 05:14:31 PM
I think that is related to this: http://www.simplemachines.org/community/index.php?topic=176565.msg2498424#msg2498424
If this is the case than you would never see any thank you buttons, because this store the informations for this... so i think if the thank you button appear than there should be the information... (i hope it.)
I would assume that you could miss some changes in some of the other files? Difficult to say...
Everything is ok now. Thank you for this wonderful mod.
How I can get refresh page if user click in "Thankyou" button?
In every click appear a "loading" tab in top, but page not refresh and the "hide" content note appear...
Obs: Sorry, my english is very poor!
Quote from: Dobrado on February 22, 2010, 09:41:07 PM
How I can get refresh page if user click in "Thankyou" button?
In every click appear a "loading" tab in top, but page not refresh and the "hide" content note appear...
Obs: Sorry, my english is very poor!
Disable the ajax thank you ;).
Than the page will be new loaded on the click of the button =).
Hey Din making maintenance, Recalculate most of the Thank-O-Matic stats, and reset also manual changed value i have this 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 ':id_msgs)
LIMIT 1' at line 3
File: /home/crazyzone/data/www/crazyzone.biz/Sources/ThankYouPost-Maintaince.php
Riga: 819
you can help me to solve it?
Trying to install 1.2.5 and get this error.
14. Execute Modification ./Sources/Load.php Test failed
Get this error with all versions tried so far.
Using 1.1.11
Would it be permissions perhaps if so what should permissions be set to?
Any help would be great.
Quote from: ディン1031 on February 23, 2010, 08:42:34 AM
Disable the ajax thank you ;).
Than the page will be new loaded on the click of the button =).
Thanks! =D Everything is ok now! =D
Quote from: edi67 on February 23, 2010, 02:11:32 PM
Hey Din making maintenance, Recalculate most of the Thank-O-Matic stats, and reset also manual changed value i have this 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 ':id_msgs)
LIMIT 1' at line 3
File: /home/crazyzone/data/www/crazyzone.biz/Sources/ThankYouPost-Maintaince.php
Riga: 819
Hmmmm version?
Quote from: aussieherps on February 25, 2010, 03:41:59 AM
Trying to install 1.2.5 and get this error.
14. Execute Modification ./Sources/Load.php Test failed
Get this error with all versions tried so far.
Using 1.1.11
Would it be permissions perhaps if so what should permissions be set to?
Any help would be great.
you can help me to solve it?
[/quote]
no :P, there could be many reasons why this is not working, without this change in the fiel the mod will not work...
OK no worries thank you for your help.
Quote from: ディン1031 on February 26, 2010, 07:32:55 AM
Quote from: edi67 on February 23, 2010, 02:11:32 PM
Hey Din making maintenance, Recalculate most of the Thank-O-Matic stats, and reset also manual changed value i have this 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 ':id_msgs)
LIMIT 1' at line 3
File: /home/crazyzone/data/www/crazyzone.biz/Sources/ThankYouPost-Maintaince.php
Riga: 819
Hmmmm version?
2.0 Beta 9 with smf rc1, all work ok only that is the problem, because i see all Given/Received thank you resetting slowly , i dont know the reason but all people having them thank you resetting and going near zero.
i tried to make Maintenance of thank you matic and all work ok for single user but when i try to make
Recalculate most of the Thank-O-Matic stats, and reset also manual changed value i have that error, only making this to every single user i not have that error...
you have some solution?
Quote from: edi67 on February 26, 2010, 06:32:48 PM
Quote from: ディン1031 on February 26, 2010, 07:32:55 AM
Quote from: edi67 on February 23, 2010, 02:11:32 PM
Hey Din making maintenance, Recalculate most of the Thank-O-Matic stats, and reset also manual changed value i have this 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 ':id_msgs)
LIMIT 1' at line 3
File: /home/crazyzone/data/www/crazyzone.biz/Sources/ThankYouPost-Maintaince.php
Riga: 819
Hmmmm version?
2.0 Beta 9 with smf rc1, all work ok only that is the problem, because i see all Given/Received thank you resetting slowly , i dont know the reason but all people having them thank you resetting and going near zero.
i tried to make Maintenance of thank you matic and all work ok for single user but when i try to make Recalculate most of the Thank-O-Matic stats, and reset also manual changed value i have that error, only making this to every single user i not have that error...
you have some solution?
In RC1 this is solved, i think it's possible to replace the ThankYouPost-Maintaince.php but i'm not sure... (Never tested it.)
Quote from: ディン1031 on February 27, 2010, 04:30:05 AM
Quote from: edi67 on February 26, 2010, 06:32:48 PM
Quote from: ディン1031 on February 26, 2010, 07:32:55 AM
Quote from: edi67 on February 23, 2010, 02:11:32 PM
Hey Din making maintenance, Recalculate most of the Thank-O-Matic stats, and reset also manual changed value i have this 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 ':id_msgs)
LIMIT 1' at line 3
File: /home/crazyzone/data/www/crazyzone.biz/Sources/ThankYouPost-Maintaince.php
Riga: 819
Hmmmm version?
2.0 Beta 9 with smf rc1, all work ok only that is the problem, because i see all Given/Received thank you resetting slowly , i dont know the reason but all people having them thank you resetting and going near zero.
i tried to make Maintenance of thank you matic and all work ok for single user but when i try to make Recalculate most of the Thank-O-Matic stats, and reset also manual changed value i have that error, only making this to every single user i not have that error...
you have some solution?
In RC1 this is solved, i think it's possible to replace the ThankYouPost-Maintaince.php but i'm not sure... (Never tested it.)
Where i could find that file clean (ThankYouPost-Maintaince.php)? i have only mine but i wanted replace it with one clean file , but the package posted haven't it Well i donwloaded RC2 packageg and replaced that file and seems work good now :) great din
I have problem with AJAX thank you .
My forum is Persian language with windows-1256 unicode. when I select the Ajax Thank you , it shows the person name with other unicode(maybe UTF8) after refresh the page it shown on the correct unicode so I cant use AJAX thank you.
please help me how can I fix this problem.
regards.
Quote from: amiralib on February 28, 2010, 04:41:44 AM
I have problem with AJAX thank you .
My forum is Persian language with windows-1256 unicode. when I select the Ajax Thank you , it shows the person name with other unicode(maybe UTF8) after refresh the page it shown on the correct unicode so I cant use AJAX thank you.
please help me how can I fix this problem.
regards.
Hmmm normal it should should work... how does it after the inline thank you is done? Picutre before after?
after clicking on thankyou on Ajax mode ..... :
I have two little Problems with Thank-O-Matic an I really don't know how to fix them. Maybe you are able to help me.
First one: Within the bords the icon for the "thank-You-Button" is missing
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi49.tinypic.com%2Fw0tjjl.jpg&hash=0933256cc6417bff23739d4615d62010c7428497)
The other one: My Error-log is writing an entry every time a page is loaded :(
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi45.tinypic.com%2F2evghi0.jpg&hash=93a0d894f72f9054263973af21af8a00309ffde9)
My Configuration: SMF2.0RC2, ThankOMatic20RC1.3, Theme=description20, Language=german-utf8
Here is a screenshot what is ment with the error in line 1801
Hi guys,
i dont get the SMF RC2 Version to work. I´m using Thank-O-Matic 2.0 RC1.3 and german-utf8 as the language package.
I really hope you can help me.
The "Thank you" button won´t show up and when i click on the textlink following error message appears:
Fatal error: Call to undefined function template_thank_you_post() in /var/www/web1168/html/smf/Sources/Load.php(2086) : eval()'d code on line 554
And then the rest off the posts is missing. The only way to access them is too delete the "Thank you"...
Furthermore i get these error-logs:
8: Undefined index: thankYouPostStartOutput
File: /var/www/web1168/html/smf/Sources/ManageServer.php
Line: 1801
8: Undefined index: thankYouPostCounterOutput
File: /var/www/web1168/html/smf/Sources/ManageServer.php
Line: 1801
8: Undefined index: thankYouPostPreviewOrder
File: /var/www/web1168/html/smf/Sources/ManageServer.php
Line: 1801
8: Undefined index: thankYouPostFullOrder
File: /var/www/web1168/html/smf/Sources/ManageServer.php
Line: 1801
best regards,
Ryoki.
Quote from: amiralib on March 06, 2010, 05:24:50 AM
after clicking on thankyou on Ajax mode ..... :
I convert the utf8 letter, but i will see what i can do =).
Quote from: Ryoki on March 07, 2010, 02:00:05 PM
Hi guys,
i dont get the SMF RC2 Version to work. I´m using Thank-O-Matic 2.0 RC1.3 and german-utf8 as the language package.
I really hope you can help me.
The "Thank you" button won´t show up and when i click on the textlink following error message appears:
Fatal error: Call to undefined function template_thank_you_post() in /var/www/web1168/html/smf/Sources/Load.php(2086) : eval()'d code on line 554
And then the rest off the posts is missing. The only way to access them is too delete the "Thank you"...
Furthermore i get these error-logs:
8: Undefined index: thankYouPostStartOutput
File: /var/www/web1168/html/smf/Sources/ManageServer.php
Line: 1801
8: Undefined index: thankYouPostCounterOutput
File: /var/www/web1168/html/smf/Sources/ManageServer.php
Line: 1801
8: Undefined index: thankYouPostPreviewOrder
File: /var/www/web1168/html/smf/Sources/ManageServer.php
Line: 1801
8: Undefined index: thankYouPostFullOrder
File: /var/www/web1168/html/smf/Sources/ManageServer.php
Line: 1801
best regards,
Ryoki.
This is a SMF 2RC2 bug i can not solve this...
The other, look if the template_thank_you_post do exist in your index.template.php.
(Normal the function should be defined in ThankYouPosts.php in that case, but i think i've a thinking mistake there.)
Bye
DIN1031
RC3 badly needed, thank you very much :D
rc3 update?
... the rc3 version is 3 days old... and i've not much time at the moment, i will do it as soon i have more time... i try to release a new version for this with some fixes.
Quote from: ディン1031 on March 11, 2010, 01:40:13 AM
... the rc3 version is 3 days old... and i've not much time at the moment, i will do it as soon i have more time... i try to release a new version for this with some fixes.
waiting... ;D ;D ;D ;D ;D ;D
Quote from: meko me on March 11, 2010, 09:30:47 AM
Quote from: ディン1031 on March 11, 2010, 01:40:13 AM
... the rc3 version is 3 days old... and i've not much time at the moment, i will do it as soon i have more time... i try to release a new version for this with some fixes.
waiting... ;D ;D ;D ;D ;D ;D
So it's a working version for RC3... no bugfixes included at the moment... i try to solve the utf8 problem... but i messed something up ;) so i restart this in next few days... possible a new rc version at the weekend (with some (i hope) major changes for the templates).
Quote from: ディン1031 on March 11, 2010, 09:40:52 AM
Quote from: meko me on March 11, 2010, 09:30:47 AM
Quote from: ディン1031 on March 11, 2010, 01:40:13 AM
... the rc3 version is 3 days old... and i've not much time at the moment, i will do it as soon i have more time... i try to release a new version for this with some fixes.
waiting... ;D ;D ;D ;D ;D ;D
So it's a working version for RC3... no bugfixes included at the moment... i try to solve the utf8 problem... but i messed something up ;) so i restart this in next few days... possible a new rc version at the weekend (with some (i hope) major changes for the templates).
i'll wait fr bug fix version as i'm also waiting for my theme update from MR crip :D thank very much ur very humble :) so many guys in smf support team are not friendly they are rude :( :( :(
I hope you like these stars.
Folks,
I installed Thankomatic on my SMF 2.03, but i do not see any Thank You Button.... :-(
How can i get it?
admin-boards and activate it.
Yes, i have ecabled it in the Admin>> boards But, still i do not see any Thank You button....
What is it that i am missing? I am sure i did all settings correct....
Is it like i have to upload the Thank You Button Image somewhere?
Quote from: soulgeek on March 15, 2010, 11:39:54 PM
Yes, i have ecabled it in the Admin>> boards But, still i do not see any Thank You button....
What is it that i am missing? I am sure i did all settings correct....
Is it like i have to upload the Thank You Button Image somewhere?
I have the same problem and I know how it comes..
Try the normal Theme of your SMF forum and it will show the button.
Why isn't it possible in any theme because it only shows for me when I have the normal theme...
Thanks.
Opss....
Changing a theme is not posisble for me,
Am using : Anecdota by Crip
does it not work with this theme?
You probably have to copy the thank-you images to the image folder of your theme
Din there is one issue related to this mod, when you don't have permission to do nothing only to Give Thank You to a post the Thank You button isn't stylized due to this line on the Display.template.php:
// If this is the first post, (#0) just say when it was posted - otherwise give the reply #.
if ($message['can_approve'] || $context['can_reply'] || $message['can_modify'] || $message['can_remove'] || $context['can_split'] || $context['can_restore_msg'])
echo '
<ul class="reset smalltext quickbuttons">';
It should be replaced with something like this:
// If this is the first post, (#0) just say when it was posted - otherwise give the reply #.
if ($message['can_approve'] || $context['can_reply'] || $message['can_modify'] || $message['can_remove'] || $context['can_split'] || $context['can_restore_msg'] || ($message['thank_you_post']['post'] && !$message['thank_you_post']['locked']) || ($message['thank_you_post']['lock'] && $message['thank_you_post']['isThankYouPost']) || ($message['thank_you_post']['delete'] && $message['thank_you_post']['isThankYouPost']))
echo '
<ul class="reset smalltext quickbuttons">';
You must do the same replacing:
if ($message['can_approve'] || $context['can_reply'] || $message['can_modify'] || $message['can_remove'] || $context['can_split'] || $context['can_restore_msg'])
echo '
</ul>';
With:
if ($message['can_approve'] || $context['can_reply'] || $message['can_modify'] || $message['can_remove'] || $context['can_split'] || $context['can_restore_msg'] || ($message['thank_you_post']['post'] && !$message['thank_you_post']['locked']) || ($message['thank_you_post']['lock'] && $message['thank_you_post']['isThankYouPost']) || ($message['thank_you_post']['delete'] && $message['thank_you_post']['isThankYouPost']))
echo '
</ul>';
Regards
QuoteYou probably have to copy the thank-you images to the image folder of your theme
I have uploded images to theme image folder, still nothing to see.... ::)
Quote from: NIBOGO on March 16, 2010, 10:38:50 PM
Din there is one issue related to this mod, when you don't have permission to do nothing only to Give Thank You to a post the Thank You button isn't stylized due to this line on the Display.template.php:
// If this is the first post, (#0) just say when it was posted - otherwise give the reply #.
if ($message['can_approve'] || $context['can_reply'] || $message['can_modify'] || $message['can_remove'] || $context['can_split'] || $context['can_restore_msg'])
echo '
<ul class="reset smalltext quickbuttons">';
It should be replaced with something like this:
// If this is the first post, (#0) just say when it was posted - otherwise give the reply #.
if ($message['can_approve'] || $context['can_reply'] || $message['can_modify'] || $message['can_remove'] || $context['can_split'] || $context['can_restore_msg'] || ($message['thank_you_post']['post'] && !$message['thank_you_post']['locked']) || ($message['thank_you_post']['lock'] && $message['thank_you_post']['isThankYouPost']) || ($message['thank_you_post']['delete'] && $message['thank_you_post']['isThankYouPost']))
echo '
<ul class="reset smalltext quickbuttons">';
You must do the same replacing:
if ($message['can_approve'] || $context['can_reply'] || $message['can_modify'] || $message['can_remove'] || $context['can_split'] || $context['can_restore_msg'])
echo '
</ul>';
With:
if ($message['can_approve'] || $context['can_reply'] || $message['can_modify'] || $message['can_remove'] || $context['can_split'] || $context['can_restore_msg'] || ($message['thank_you_post']['post'] && !$message['thank_you_post']['locked']) || ($message['thank_you_post']['lock'] && $message['thank_you_post']['isThankYouPost']) || ($message['thank_you_post']['delete'] && $message['thank_you_post']['isThankYouPost']))
echo '
</ul>';
Regards
Thanks for the info, oh this is naughty bug... never tried this configuration xD. Good to know this can really mess up things...
Quote from: soulgeek on March 16, 2010, 11:20:36 PM
QuoteYou probably have to copy the thank-you images to the image folder of your theme
I have uploded images to theme image folder, still nothing to see.... ::)
You need to do the theme changes on the Display.template.php of you theme...
Quote from: Settler11 on March 16, 2010, 08:19:27 AM
Quote from: soulgeek on March 15, 2010, 11:39:54 PM
Yes, i have ecabled it in the Admin>> boards But, still i do not see any Thank You button....
What is it that i am missing? I am sure i did all settings correct....
Is it like i have to upload the Thank You Button Image somewhere?
I have the same problem and I know how it comes..
Try the normal Theme of your SMF forum and it will show the button.
Why isn't it possible in any theme because it only shows for me when I have the normal theme...
Thanks.
Because i can't program it for every theme if i need to do that i've would never finished with my mod... my goal is the default, if someone need it anywhere else he need to add it by hand...
Bye
DIN1031
i don't know how this can be applicable, but this mod needs one more thing to reach perfection :D which is a notification about the thanks a member gets " your {post} was thanked for by {member}"... or a new tab beside HOME and MESSAGES for THANKS RECEIVED... :D
is there anyway to make it show all the users who have given a 'thank you' without them having to click the 'For this post, 1 member gave a thank you!' link?
Quote from: drhamza on March 18, 2010, 11:17:46 AM
i don't know how this can be applicable, but this mod needs one more thing to reach perfection :D which is a notification about the thanks a member gets " your {post} was thanked for by {member}"... or a new tab beside HOME and MESSAGES for THANKS RECEIVED... :D
Do you really need to loggin in your forum and have 20 New PM's just for notifications of thanks received?? I don't think that this is a good idea for the users plus they can easily track their posts with thanks.
PD: In your profile you can check Own Posts and Own Topics with thanks received.
Quote from: zx71 on March 18, 2010, 01:42:30 PM
is there anyway to make it show all the users who have given a 'thank you' without them having to click the 'For this post, 1 member gave a thank you!' link?
You can show all the list without any preview you just need to configure the mod in the Thank-o-matic settings
When we install to new themes to our forum we've been uninstalling Thank-O-Matic in order to install to the new themes. Is there any way to install it to new themes without first uninstalling the mod? TIA
Quote from: Welovea1 on March 18, 2010, 10:40:48 PM
When we install to new themes to our forum we've been uninstalling Thank-O-Matic in order to install to the new themes. Is there any way to install it to new themes without first uninstalling the mod? TIA
Yes, doing all the templates edits manually
QuoteDo you really need to loggin in your forum and have 20 New PM's just for notifications of thanks received?? I don't think that this is a good idea for the users plus they can easily track their posts with thanks.
PD: In your profile you can check Own Posts and Own Topics with thanks received.
the idea is not to track your own posts, something like "someone likes your status" in facebook...
Quote from: NIBOGO on March 18, 2010, 07:11:59 PM
You can show all the list without any preview you just need to configure the mod in the Thank-o-matic settings
ty :P
Quote from: drhamza on March 19, 2010, 11:19:26 AM
QuoteDo you really need to loggin in your forum and have 20 New PM's just for notifications of thanks received?? I don't think that this is a good idea for the users plus they can easily track their posts with thanks.
PD: In your profile you can check Own Posts and Own Topics with thanks received.
the idea is not to track your own posts, something like "someone likes your status" in facebook...
It's a forum not a social network, so the users should also get a PM every time that someone quotes their posts "Someone has commented your posts on [TOPIC]" really I don't think that this can be useful and I don't think of DIN is going to add this to the core of this mod.
Quote from: zx71 on March 19, 2010, 11:21:06 AM
Quote from: NIBOGO on March 18, 2010, 07:11:59 PM
You can show all the list without any preview you just need to configure the mod in the Thank-o-matic settings
ty :P
You're welcome!
Quote from: NIBOGO on March 19, 2010, 02:54:59 PM
Quote from: drhamza on March 19, 2010, 11:19:26 AM
QuoteDo you really need to loggin in your forum and have 20 New PM's just for notifications of thanks received?? I don't think that this is a good idea for the users plus they can easily track their posts with thanks.
PD: In your profile you can check Own Posts and Own Topics with thanks received.
the idea is not to track your own posts, something like "someone likes your status" in facebook...
It's a forum not a social network, so the users should also get a PM every time that someone quotes their posts "Someone has commented your posts on [TOPIC]" really I don't think that this can be useful and I don't think of DIN is going to add this to the core of this mod.
Correct, i think this useless... and not think how dramatic the performance will go down...
DIN are you going to implement the tweaks that I give you for the Ajax Feature?? Like add +1 to the thanks received and to the thanks given??
This can be done pretty quickly but in a dirty way showing/hiding this values for each profile
I have a problem when i install this mod, in the installations appear this errors:
20. Execute Modificacion ./Sources/Load.php Failed Test
4. Add after ./Sources/Load.php Failed Test
Any suggestion for repais this errors? I'am so noob with SMF.
QuoteI have a problem when i install this mod, in the installations appear this errors:
20. Execute Modificacion ./Sources/Load.php Failed Test
4. Add after ./Sources/Load.php Failed Test
Any suggestion for repais this errors? I'am so noob with SMF.
Yup just add missing parts of code manualy... it make those fails because you allready have other mods installed. when you instal it make something like: find that "blablabla" and after that Add this "bababa". It work ok until you instal something that make your code blablabla a little bit diferent like blabla[partfromothermod]bla.
Heh I hope you will understand that.
And ppl who have problems with icons, try to put them into your own theme in yourtheme/images/buttons
Peace!
Greetings!
Can anybody help me with core theme SMF 2 RC 2? I do not know how to modify display.template.php
I try to modify but, get error in display.template.php. Can anybody do it for me?
I will be grateful!
Hi, im using this "* ThankOMaticSSITopThanksPosts100.zip" to show some stats, and now I want to show top 10 posts but when I make ssi etc. I can see only 1 top post and no more, as I can see in SSI.php its set to 5:
function ssi_thankYouPostTopPosts($topPosts = 5, $chars_limit = 128, $subject_only = true, $output_method = 'echo')
Can anyone help?
hi i am using smf 2.0 RC3
i am facing some error for this mod plz help me mods
Quote from: NIBOGO on March 19, 2010, 03:07:31 PM
DIN are you going to implement the tweaks that I give you for the Ajax Feature?? Like add +1 to the thanks received and to the thanks given??
This can be done pretty quickly but in a dirty way showing/hiding this values for each profile
Yes i would like to insert them =).
Quote from: jeeeb on March 22, 2010, 04:15:53 PM
Hi, im using this "* ThankOMaticSSITopThanksPosts100.zip" to show some stats, and now I want to show top 10 posts but when I make ssi etc. I can see only 1 top post and no more, as I can see in SSI.php its set to 5:
function ssi_thankYouPostTopPosts($topPosts = 5, $chars_limit = 128, $subject_only = true, $output_method = 'echo')
Can anyone help?
Hmmm long that i testet it, but i will look into it.
Quote from: khera on March 23, 2010, 10:19:07 AM
hi i am using smf 2.0 RC3
i am facing some error for this mod plz help me mods
oO
i am facing some errors
i am using 2.0 RC3
Quote from: khera on March 24, 2010, 02:03:57 AM
i am facing some errors
i am using 2.0 RC3
If you not know what you can do now, than you should not install the mod.
Quote from: khera on March 24, 2010, 02:03:57 AM
i am facing some errors
i am using 2.0 RC3
The files which are in red require a manual edit before the mod can be installed properly.
Hi!
I installed it on RC3 and it works nice, I started with the installer, then it gave errors but I installed anyway and then manually changed the files the installer couldn't and it works like it should.
it's the basic mod for a forum to thank other people without making 36 pages of just thank you messages, like this everyone can thank and it keeps smooth, thank you.
But I have something that bothers me, with 'Thank You Mod' phpBB (wich I used with my smf 1.1.11 until a week ago when I moved to 2.0RC3), Guests could add a thank you too, but now the phpBB mod doesn't work anymore and I had to switch to VBStyle mod...
Two things bother me:
1°- sql data isn't compatible between the two, all thank yous made with phpBB mod don't appear no more in VBStyle mode, lost a bunch of them for me and other users... :/
2°- Guests can't add a thank you no more, they could in phpBB mod, and they were more than users, so thank yous will be less if they can't thank no more, and it's kind of the fuel of my forum members to keep going on our task... :/
Don't know if I could get sql to assemble the two thank you mods, but I guess to make guests permission to add a thank you again is possible, but how?
Last thing, but that is just for esthetic and convenience purpose, it would be extra nice to be able to have a possibility to attach a button for a thank you (with an image choosen by user in the image directory) directly when creating a message.
Because I already have a button to thank in the message, but I have to put it in the [/img][/url] tags with a link to the proper message thank you, It not too long to do, but it opens a new page, it would be nice to have the button like the AJAX link, we could clic on the button and it disapears and thany you is made, that would be AWESOME!
(ex : forum.tugabin.com/index.php?topic=252.0 )
Sorry for bothering you all with this, but it would be really really nice to have those functions, not that this mod isn't already awesome, but it could be awesomely awesome... ;D
Quote from: TugaBin on March 31, 2010, 12:47:32 AM
Two things bother me:
1°- sql data isn't compatible between the two, all thank yous made with phpBB mod don't appear no more in VBStyle mode, lost a bunch of them for me and other users... :/
2°- Guests can't add a thank you no more, they could in phpBB mod, and they were more than users, so thank yous will be less if they can't thank no more, and it's kind of the fuel of my forum members to keep going on our task... :/
Don't know if I could get sql to assemble the two thank you mods, but I guess to make guests permission to add a thank you again is possible, but how?
1st:
I've converter which can convert the ThankYouMod to Thank-O-Matic but... it's not stable ;). Sometimes it work like a charm sometimes not... and i don't know why. If you like i can give it to you.
2st:
Impossible, i never supported it on ThankYouMod why should i support it on Thank-O-Matic... normal it can be changed... but i will not change it and never insert it. (And never support it :P.)
Quote
Because I already have a button to thank in the message, but I have to put it in the [/img][/url] tags with a link to the proper message thank you, It not too long to do, but it opens a new page, it would be nice to have the button like the AJAX link, we could clic on the button and it disapears and thany you is made, that would be AWESOME!
To much work... i've tried to make a button and link for the hidden content but it is not prefect and it has some unlogical things in it, so i do not support it... hmmmm but after a thought it could be possible with a bbc tag... hmmm i will check this could be a idea to solve this kind of problem :D.
Bye
DIN1031
Quote from: ディン1031 on March 31, 2010, 03:29:45 AM
1st:
I've converter which can convert the ThankYouMod to Thank-O-Matic but... it's not stable ;). Sometimes it work like a charm sometimes not... and i don't know why. If you like i can give it to you.
I would appreciate it very much, I always make backups before trying something, so if it messes up the data base, I'll just re-import it.
Quote
2st:
Impossible, i never supported it on ThankYouMod why should i support it on Thank-O-Matic... normal it can be changed... but i will not change it and never insert it. (And never support it :P.)
I assure you that guests could thank before, take a look at a piece of my sql:
INSERT INTO `smf_thank_you`
(`ID_THX`, `ID_TOPIC`, `ID_MEMBER`, `memberName`, `thank_you_time`)
VALUES (1, 154, 1, 'TugaBin', 1268275940),
(2, 15, 1, 'TugaBin', 1268275999),
(3, 135, 1, 'TugaBin', 1268278378),
(4, 37, 1, 'TugaBin', 1268316203),
(5, 36, 1, 'TugaBin', 1268316487),
(6, 152, 1, 'TugaBin', 1268317954),
(7, 152, 0, '', 1268318323),
(9, 145, 1, 'TugaBin', 1268321222),
(10, 145, 0, '', 1268321795),
(11, 144, 1, 'TugaBin', 1268411011),
(12, 160, 6, 'Ayuaska', 1268442965),
(13, 164, 1, 'TugaBin', 1268446144),
(14, 31, 6, 'Ayuaska', 1268497617),
(15, 164, 6, 'Ayuaska', 1268499448),
(16, 161, 10, 'frufru', 1268510891),
(17, 29, 10, 'frufru', 1268511200),
(18, 148, 0, '', 1268585550),
(19, 31, 0, '', 1268585975),
(20, 30, 0, '', 1268585977),
(21, 71, 0, '', 1268586031),
(22, 29, 0, '', 1268633713),
(23, 155, 0, '', 1268653340),
(24, 153, 0, '', 1268782568),
(25, 163, 0, '', 1268783720),
(26, 164, 0, '', 1268787277),
(27, 161, 1, 'TugaBin', 1268787847),
(28, 167, 0, '', 1268788980),
(29, 158, 0, '', 1268801056),
(30, 4, 0, '', 1268802693),
(31, 159, 0, '', 1268806281),
(32, 176, 0, '', 1268808357),
(33, 156, 0, '', 1268810900),
(34, 161, 0, '', 1268811351),
(35, 177, 0, '', 1268811858),
(36, 189, 0, '', 1268930148),
(37, 28, 0, '', 1269163033),
(38, 158, 6, 'Ayuaska', 1269302148),
(39, 177, 2, 'Kaiser', 1269390139),
Isn't it really a way to give guests permission to add thank you? because before they even hadn't permission to post but could thank, know even if I give guests permissions to post they still can't thank. A lot of people are lazy and don't bother to register but they like to thank even so. And we like it... ::) 8)
Quote
To much work... i've tried to make a button and link for the hidden content but it is not prefect and it has some unlogical things in it, so i do not support it... hmmmm but after a thought it could be possible with a bbc tag... hmmm i will check this could be a idea to solve this kind of problem :D.
That was what I thought, I imagine that if it would be easy, you would have done it, the way I found works, it's just the fact that it automatically opens a new page that is kind of annoying.
Anyway, thank you so much for your consideration and response, your mod is really the basic Must-Have to forum admins.
C.ya
Edit: Yay, I found a way to be able to not open a new page, instead of BBCode only I put html code with 'target=_self' value inside [/html] BBCode and it works fine, it still works as a link that leads to a page(the same page in this case), but it's already better.
Example:
[html]<a href="hxxp://www.forum.tugabin.com/index.php?action=thankyou;topic=257.0;msg=273" target="_self"><img src="hxxp://www.forum.tugabin.com//obrigado.png"</a>[/html]
plz help me any 1
i am facing some errors
and i am using 2.0 rc3
Quote from: khera on March 31, 2010, 01:54:15 PM
plz help me any 1
i am facing some errors
and i am using 2.0 rc3
You has your answer in the first topic of this page:
Quote from: TugaBin on March 31, 2010, 12:47:32 AM
Hi!
I installed it on RC3 and it works nice, I started with the installer, then it gave errors but I installed anyway and then manually changed the files the installer couldn't and it works like it should.
Backup all your files listed as being modified by the mod, make sure to note which files had warnings and in which line the warning is reported, install the mod despite warnings and then manually edit the files marked as errored to place the code that installer couldn't.
It should do fine.
Quote from: TugaBin on March 31, 2010, 05:43:12 AM
Quote from: ディン1031 on March 31, 2010, 03:29:45 AM
1st:
I've converter which can convert the ThankYouMod to Thank-O-Matic but... it's not stable ;). Sometimes it work like a charm sometimes not... and i don't know why. If you like i can give it to you.
I would appreciate it very much, I always make backups before trying something, so if it messes up the data base, I'll just re-import it.
Okay i look what the latest version is and sent you an download link ;).
Quote from: TugaBin on March 31, 2010, 05:43:12 AM
Quote
2st:
Impossible, i never supported it on ThankYouMod why should i support it on Thank-O-Matic... normal it can be changed... but i will not change it and never insert it. (And never support it :P.)
I assure you that guests could thank before, take a look at a piece of my sql:
INSERT INTO `smf_thank_you`
(`ID_THX`, `ID_TOPIC`, `ID_MEMBER`, `memberName`, `thank_you_time`)
VALUES (1, 154, 1, 'TugaBin', 1268275940),
(2, 15, 1, 'TugaBin', 1268275999),
(3, 135, 1, 'TugaBin', 1268278378),
(4, 37, 1, 'TugaBin', 1268316203),
(5, 36, 1, 'TugaBin', 1268316487),
(6, 152, 1, 'TugaBin', 1268317954),
(7, 152, 0, '', 1268318323),
(9, 145, 1, 'TugaBin', 1268321222),
(10, 145, 0, '', 1268321795),
(11, 144, 1, 'TugaBin', 1268411011),
(12, 160, 6, 'Ayuaska', 1268442965),
(13, 164, 1, 'TugaBin', 1268446144),
(14, 31, 6, 'Ayuaska', 1268497617),
(15, 164, 6, 'Ayuaska', 1268499448),
(16, 161, 10, 'frufru', 1268510891),
(17, 29, 10, 'frufru', 1268511200),
(18, 148, 0, '', 1268585550),
(19, 31, 0, '', 1268585975),
(20, 30, 0, '', 1268585977),
(21, 71, 0, '', 1268586031),
(22, 29, 0, '', 1268633713),
(23, 155, 0, '', 1268653340),
(24, 153, 0, '', 1268782568),
(25, 163, 0, '', 1268783720),
(26, 164, 0, '', 1268787277),
(27, 161, 1, 'TugaBin', 1268787847),
(28, 167, 0, '', 1268788980),
(29, 158, 0, '', 1268801056),
(30, 4, 0, '', 1268802693),
(31, 159, 0, '', 1268806281),
(32, 176, 0, '', 1268808357),
(33, 156, 0, '', 1268810900),
(34, 161, 0, '', 1268811351),
(35, 177, 0, '', 1268811858),
(36, 189, 0, '', 1268930148),
(37, 28, 0, '', 1269163033),
(38, 158, 6, 'Ayuaska', 1269302148),
(39, 177, 2, 'Kaiser', 1269390139),
Isn't it really a way to give guests permission to add thank you? because before they even hadn't permission to post but could thank, know even if I give guests permissions to post they still can't thank. A lot of people are lazy and don't bother to register but they like to thank even so. And we like it... ::) 8)
There is evertime a way, the problem is that i not support it because there is nor postername avterward, and it could be possible messup a little bit. The other thing is that there than ininity entries possible and my script can not pervent it (because it's not supported...). For my to many reasons speak against it... if you can do that with the thank you mod that you did some changes on the permissions... but this will not work with the thank-o-matic. At the moment i do not know a easy way to bypass it... but if i've an idea i will post it ;).
Quote from: TugaBin on March 31, 2010, 05:43:12 AM
Quote
To much work... i've tried to make a button and link for the hidden content but it is not prefect and it has some unlogical things in it, so i do not support it... hmmmm but after a thought it could be possible with a bbc tag... hmmm i will check this could be a idea to solve this kind of problem :D.
That was what I thought, I imagine that if it would be easy, you would have done it, the way I found works, it's just the fact that it automatically opens a new page that is kind of annoying.
Anyway, thank you so much for your consideration and response, your mod is really the basic Must-Have to forum admins.
C.ya
Edit: Yay, I found a way to be able to not open a new page, instead of BBCode only I put html code with 'target=_self' value inside [/html] BBCode and it works fine, it still works as a link that leads to a page(the same page in this case), but it's already better.
Example:
[html]<a href="hxxp://www.forum.tugabin.com/index.php?action=thankyou;topic=257.0;msg=273" target="_self"><img src="hxxp://www.forum.tugabin.com//obrigado.png"</a>[/html]
Hehe this is a way, too. But only Admins can do that, i will look at the bbc solution, could be a nicer way than i first thought. (Than Everyone can add the button in the post *g*).
Bye
DIN1031
Quote from: ディン1031 on April 01, 2010, 03:21:32 AM
Okay i look what the latest version is and sent you an download link ;).
Thank you, I appreciate.
Quote
There is evertime a way, the problem is that i not support it because there is nor postername avterward, and it could be possible messup a little bit. The other thing is that there than ininity entries possible and my script can not pervent it (because it's not supported...). For my to many reasons speak against it... if you can do that with the thank you mod that you did some changes on the permissions... but this will not work with the thank-o-matic. At the moment i do not know a easy way to bypass it... but if i've an idea i will post it ;).
Thank you again, I understand it must be a way, but how is the real question. I stop bothering you with that, anyway, nobody gets hurt so it would have just been an extra, it's already amazing lkie it is.
Quote
Hehe this is a way, too. But only Admins can do that, i will look at the bbc solution, could be a nicer way than i first thought. (Than Everyone can add the button in the post *g*).
Okkkk, so that must be why the member was complaining that it didn't work for him, and indeed when I looked at his post there was a [/url] coming out of nowhere replacing the </a>...
And we spent like an hour arguing about that... :o ;D
When he'll find out.... ::)
Thanks DIN1031, you're one of the few which gives actually real support to their mods, you're a king!
DIN I don't know if include a BBC fr a thank you link is useful, I mean I don't think of a lot of people is going to find it a good feature for me it's useless maybe would be a nice idea as a plugin and not as a core feature, just my opinion.
Btw I don't think of give guests permission to thank-you isn't a good idea, there won't be control over the thanks, everybody can jiat logout and give X numbers of thanks to his posts and I'm not sure but that isn't going to affect the Thank-You List??
Quote from: NIBOGO on April 01, 2010, 10:24:56 AM
DIN I don't know if include a BBC fr a thank you link is useful, I mean I don't think of a lot of people is going to find it a good feature for me it's useless maybe would be a nice idea as a plugin and not as a core feature, just my opinion.
Right, I was thinking (it happens sometimes... :P) that to please every one, it could be an option in admin panel, and choose something like 'insert thank you button on message' option or something like that....
Quote
Btw I don't think of give guests permission to thank-you isn't a good idea, there won't be control over the thanks, everybody can jiat logout and give X numbers of thanks to his posts and I'm not sure but that isn't going to affect the Thank-You List??
Well, you got a point, but in our forum we believe in people's good faith (should we...? ???), the only one who will be fooled if he cheats is the topic poster... Thanks are just to say that his link is nice and we appreciate the sharing. Not a contest to see who's most thanked.
Anyway, he said that it would be a pain in the a** to find the way to enable it, and when I look at the work that's already be done, I don't blame him. Maybe someday...
Hi I leave the translation of ThankOMatic20RC1.4_ (for_2.0_RC3) to spanish_es and spanish_es-UTF8, I hope will be approved.
./Themes/default/languages/Admin.spanish_es.php
//Thank-O-Matic traslated by Enik www.acuariofiliah2o.com
$txt['thankyouposttitle'] = 'Gracias';
$txt['maintain_thxpost'] = 'Las gracias estan en mantenimiento';
$txt['maintain_thank_you_post_maintainaince'] = 'Mantenimiento';
$txt['maintain_thank_you_post_maintainaince_desc'] = 'Optimizar las tablas de las gracias, Borrar las gracias de miembros especificos.';
$txt['maintain_thank_you_post_recount'] = 'Recuento de estadísticas';
$txt['maintain_thank_you_post_recount_desc'] = 'Recalcular estadísticas de las gracias para todos,basados en hilos o miembros específicos.';
$txt['maintain_thxpostrecount'] = 'Recalcular estadísticas de las gracias';
$txt['maintain_thxpostrecount_info'] = 'Volver a calcular la mayoria de las estadísticas de las gracias, y restablecer los valores de cambio manual también.';
$txt['maintain_thxpostrecount_member'] = 'Recalcular estadísticas de las gracias';
$txt['maintain_thxpostrecount_member_info'] ='Recalcular estadísticas de las gracias de los miembros.';
$txt['maintain_thxpostrecount_member_value'] = 'Por favor, introduzca el ID de usuario para recalcular aquí:';
$txt['maintain_thxpostrecount_topic'] = 'Recalcular las estadísticas de las gracias en los mensajes';
$txt['maintain_thxpostrecount_topic_info'] = 'Volver a calcular las estadísticas de las gracias de un tema.';
$txt['maintain_thxpostrecount_topic_value'] = 'Por favor, introduzca el ID de el tema para recalcular aquí:';
$txt['maintain_thxpostrepair'] = 'Reparar y optimizar las tablas de los gracias';
$txt['maintain_thxpostrepair_info'] = 'Borrar todos los ítem innecesarios ,remover tus gracias de las áreas bloqueadas (o áreas borradas).';
$txt['maintain_thank_you_optimize'] = 'Reparar y optimizar las tablas de los gracias';
// Please don't forget to insert [MEMBER], this will insert the link to the member profile
$txt['maintain_thank_you_deleteMemberposts'] = 'Borrar los post de gracias de un miembro: [MEMBER]';
$txt['maintain_thank_you_recountAll'] = 'Recuento de todas las estadísticas de las gracias';
// Please don't forget to insert [MEMBER], this will insert the link to the member profile
$txt['maintain_thank_you_recountMember'] = 'Recuento de todas las estadísticas de los mensajes de gracias de los miembros: [MEMBER]';
// Please don't forget to insert [TOPIC], this will insert the link to the Topic
$txt['maintain_thank_you_recountTopic'] = 'Recuento de todas las estadísticas de los mensajes de gracias [TOPIC]';
./Themes/default/languages/index.spanish_es.php
//Thank You text for the Thread traslated by Enik www.acuariofiliah2o.com
$txt['thank_you_link_beforecounter'] = 'Para este mensaje,';
$txt['thank_you_link_members'] = 'Miembros';
$txt['thank_you_link_member'] = 'Miembro';
$txt['thank_you_link_aftercounter'] = 'Ha dado un gracias!';
$txt['thank_you_link_aftercounters'] = 'Han dado un gracias!';
$txt['thank_you_is_locked'] = 'Los agradecimientos están bloqueados';
$txt['thank_you_post_post_b'] = 'Gracias';
$txt['thank_you_post_delete_b'] = 'Borrar gracias';
$txt['thank_you_post_lock_b'] = 'Bloquear gracias';
$txt['thank_you_post_open_b'] = 'Abrir gracias';
$txt['thank_you_post_lock_all_b'] = 'Bloquear todos los gracias';
$txt['thank_you_post_open_all_b'] = 'Abrir todos los gracias';
$txt['remove_thank_you_post'] = 'Eliminar este gracias';
$txt['followgiveathank'] = 'Siga a los miembros que agradecieron su mensaje:';
$txt['thank_you_post_unlock_all'] = 'Abrir todos los mensajes de gracias';
$txt['thankyoupostlist'] = 'Lista de mensajes de gracias (Completa)';
$txt['thankyouposterrorinscript'] = 'Error en la secuencia de comandos... de alguna manera esto no debería ocurrir!';
$txt['thank_you_post_thx_display'] = 'Gracias';
$txt['thank_you_post_made_display'] = 'Tu haz dado';
$txt['thank_you_post_became_display'] = 'Tu haz recibido';
$txt['standard_profile_field_thank_you_post_made'] = 'Gracias que haz dado';
$txt['standard_profile_field_thank_you_post_became'] = 'Gracias que haz recibido';
./Themes/default/languages/ManageBoards.spanish_es.php
//Thank-O-Matic traslated by Enik www.acuariofiliah2o.com
$txt['mboards_thank_you_post_enable'] = 'Habilitar gracias';
$txt['mboards_thank_you_post_enable_desc'] = 'Esta opción habilitara las gracias para los mensajes en esta área';
./Themes/default/languages/ManagePermissions.spanish_es.php
//Thank-O-Matic Premmisions traslated by Enik www.acuariofiliah2o.com
$txt['permissiongroup_thank_you_post'] = 'Gracias';
$txt['permissiongroup_simple_thank_you_post'] = 'Gracias (opciones de los miembros)';
$txt['permissiongroup_simple_thank_you_post_any'] = 'Gracias (Moderar cualquier gracias)';
$txt['permissionname_thank_you_post_show'] = 'Mostrar las gracias de este mensaje a los miembros';
$txt['permissionhelp_thank_you_post_show'] = 'Mostrar la lista de quien te ha dado las gracias';
$txt['permissionname_thank_you_post_post'] = 'Dar un gracias a este mensaje';
$txt['permissionhelp_thank_you_post_post'] = 'Con esto el usuario esta autorizado a añadir un agradecimiento a cada post en los mensajes permitidos';
$txt['permissionname_thank_you_post_lock'] = 'Los agradecimientos de este mensaje están bloqueados';
$txt['permissionhelp_thank_you_post_lock'] = 'Bloquear los "Gracias" para que nadie pueda hacer uno nuevo.';
$txt['permissionname_thank_you_post_lock_own'] = 'Agradecimientos propios';
$txt['permissionname_thank_you_post_lock_any'] = 'Cualquier Agradecimiento';
$txt['permissionname_thank_you_post_delete'] = 'Eliminar la lista de agradecimiento de este mensaje';
$txt['permissionhelp_thank_you_post_delete'] = 'Eliminar de la lista, las Gracias de los mensajes en el foro.';
$txt['permissionname_thank_you_post_delete_own'] = 'Agradecimientos propios';
$txt['permissionname_thank_you_post_delete_any'] = 'Cualquier Agracimiento';
$txt['permissionname_thank_you_post_delete_mem'] = 'Eliminar mensaje de agradecimiento de los miembros';
$txt['permissionhelp_thank_you_post_delete_mem'] = 'Eliminacion de un cartel en la lista de la Gracias.';
$txt['permissionname_thank_you_post_delete_mem_own'] = 'De ellos mismos';
$txt['permissionname_thank_you_post_delete_mem_any'] = 'Cualquier miembro';
$txt['permissionname_thank_you_post_lock_all'] = 'Cerrar/Abrir hilo de gracias';
$txt['permissionhelp_thank_you_post_lock_all'] = 'Cerrar/Abrir ,las opciones de gracias en el hilo para que nadie pueda hacer uno nuevo o comenzar uno nuevo.';
$txt['permissionname_thank_you_post_lock_all_own'] = 'Tema propio';
$txt['permissionname_thank_you_post_lock_all_any'] = 'Cualquier tema';
$txt['permissionname_thank_you_post_unlock_all'] = 'Abrir todos los post del hilo de las gracias';
$txt['permissionhelp_thank_you_post_unlock_all'] = 'Desbloquear todos los mensajes de agradecimiento, se puede utilizar esto después de que un tema es trasladado desde el deposito de chatarra de nuevo al tablero normal, o por otras razones';
./Themes/default/languages/Errors.spanish_es.php
//Thank-O-Matic Premmisions Errors traslated by Enik www.acuariofiliah2o.com
$txt['cannot_thank_you_post_show'] = "Usted no esta autorizado a ver esta lista de agradecimiento!";
$txt['cannot_thank_you_post_post'] = "Usted no esta autorizado a usar las opciones de las Gracias!";
$txt['cannot_thank_you_post_lock_own'] = "Usted no esta autorizado a usar las opciones de las Gracias!";
$txt['cannot_thank_you_post_lock_any'] = "Usted no esta autorizado a usar las opciones de las Gracias!";
$txt['cannot_thank_you_post_delete_own'] = "Usted no esta autorizado a usar las opciones de las Gracias!";
$txt['cannot_thank_you_post_delete_any'] = "Usted no esta autorizado a usar las opciones de las Gracias!";
$txt['cannot_thank_you_post_delete_mem_own'] = "Usted no esta autorizado a usar las opciones de las Gracias!";
$txt['cannot_thank_you_post_delete_mem_any'] = "Usted no esta autorizado a usar las opciones de las Gracias!";
$txt['cannot_thank_you_post_lock_all_own'] = "Usted no esta autorizado a usar las opciones de las Gracias!";
$txt['cannot_thank_you_post_lock_all_any'] = "Usted no esta autorizado a usar las opciones de las Gracias!";
$txt['cannot_thank_you_post_unlock_all'] = "Usted no esta autorizado a usar las opciones de las Gracias!";
./Themes/default/languages/ManageSettings.spanish_es.php
//Thank-O-Matic ModSettings traslated by Enik www.acuariofiliah2o.com
$txt['thankyouposttitle'] = 'Gracias';
$txt['thankYouPostColors'] = 'Habilitar los colores de los miembros de la lista de gracias';
$txt['thankYouPostPreview'] = 'Habilitar la lista de vista previa en los mensajes en el índice de temas';
$txt['thankYouPostPreviewHM'] = '¿Cuantos miembros deben mostrarse en la vista preliminar de la lista de las gracias?';
$txt['thankYouPostPreviewHMPostInput'] = '(0 = para todos)';
$txt['thankYouPostPreviewOrder'] = 'El orden de la lista de vista previa de los dados';
$txt['thankYouPostPreviewOrderSelect'] = 'Primeras Gracias primero | Ultimas gracias en primer lugar';
$txt['thankYouPostFullOrder'] = 'El orden de la lista completa de las gracias';
$txt['thankYouPostFullOrderSelect'] = 'Primeras Gracias primero | Ultimas gracias en primer lugar|Nombres de los miembros';
$txt['thankYouPostHideExtraInfo'] = '<br /><span class="smalltext"><a href="http://mods.simplemachines.org/index.php?mod=118">(Se necesita el mod Hide Tag Special)</a></span>';
//Pleast don't forget the .$txt['thankYouPostHideExtraInfo'] after the text!
$txt['thankYouPostUnhidePost'] = 'Volver a mostrar el contenido de los post después de publicar "Gracias" a este mensaje
<br /><span class="smalltext">Esta mostrara solo la parte donde el miembro dio la gracias. Si el post del usuario es normal va a mostrar todas las</span>' . $txt['thankYouPostHideExtraInfo'];
$txt['thankYouPostThxUnhideAll'] = 'Gracias dadas ,mostrar todo el contenido oculto!
<br /><span class="smalltext">Mostrara todo el contenido después de publicar tu agradecimiento a cualquier post (opción automática de mostrar deshabilitar 1)</span>' . $txt['thankYouPostHideExtraInfo'];
$txt['thankYouPostDisableUnhide'] = 'Deshabilitar la opción después de mostrar el contenido real de desplazamiento, solo gracias a que puede mostrar!
<br /><span class="smalltext">Usted debe dar un agradecimiento para mostrar el contenido. Dependera de la opción 1 / 2 de cuantos post serán mostrados</span>' . $txt['thankYouPostHideExtraInfo'];
$txt['thankYouPostDisplayPage'] = 'Mostrar Gracias determinado y recibir en el marco del avatar en la pantalla del tema';
$txt['thankYouPostStatsEnabled'] = 'Habilitar el Top Ten de Gracias Recibidos en la pagina de estadísticas';
$txt['thankYouPostIncraseKarmaGood'] = 'Añadir 1 punto del karma para el usuario, si alguien da un agradecimiento para su post';
$txt['thankYouPostAJAX'] = 'Habilitar AJAX (Inline) Gracias';
$txt['thankYouPostModerationLog'] = 'Habilitar Gracias en el registro de moderación';
$txt['thankYouPostSpamProtection'] = 'Protección anti-spam de las gracias';
$txt['thankYouPostSpamProtectionPostInput'] = '(0 = desactivar, en segundos)';
$txt['thank_you_post_show'] = 'Permiso para mostrar las gracias en lista de los mensajes';
$txt['thank_you_post_post'] = 'Permiso para dar las gracias en los mensajes';
$txt['thank_you_post_select_boards'] = 'Seleccione las áreas para permitir los gracias';
$txt['thankYouPostType'] = 'Tipo de gracias';
$txt['thankYouPostTypeSelect'] = 'Un Gracias por Tema | Múltiples Gracias por Tema | Solo el primer post';
$txt['thankYouPostMemberList'] = 'Mostrar Gracias determinado y recibir en la lista de miembros';
$txt['thankYouPostMemberListDisableBecame'] = 'Deshabilitar Recibir información de las gracias';
$txt['thankYouPostMemberListSizeBecame'] = 'Tamaño de la columna para recibir información de las gracias';
$txt['thankYouPostMemberListDisableMade'] = 'Deshabilitar recibir información de las gracias';
$txt['thankYouPostMemberListSizeMade'] = 'Tamaño de la columna de la vista de la información de las gracias';
$txt['thankYouPostMemberListStandardSize'] = '(0 = Tamaño estándar preseleccionados)';
$txt['thankYouPostDisplayDisableBecame'] = 'Deshabilitar recibir información sobre el Tema de visualización de las gracias';
$txt['thankYouPostDisplayDisableMade'] = 'Deshabilitar información sobre el Tema de visualización (gracias dados)';
$txt['thankYouPostCounterOutput'] = 'Contador de vinculos';
$txt['thankYouPostCounterOutputSelect'] = 'Vinculos|Solo texto|Remover';
$txt['thankYouPostStartOutput'] = 'Lista de inicio del texto de las gracias';
$txt['thankYouPostStartOutputSelect'] = 'Texto estándar|Texto alternativo|Variable txt alternativa|Remover';
$txt['thankYouPostStartOutputText'] = 'Texto alternativo o variable.<br /><span class="smalltext">Texto alternativo se analiza en BBC, la variable es Alternativa $txt[la variable que se inserte]</span>.';
./Themes/default/languages/Profile.spanish_es.php
//Thank-O-Matic - Profile Page traslated by Enik www.acuariofiliah2o.com
$txt['thankyoutitle'] = 'Mensajes de gracias';
$txt['thankyoutitle_show'] = 'Mostrar gracias en los mensajes';
$txt['thankyou_messages_given'] = 'Gracias dados en los mensajes';
$txt['thankyou_topics_given'] = 'Gracias dados en los temas;
$txt['thankyou_messages_become'] = 'Mensajes tuyos';
$txt['thankyou_topics_become'] = 'Temas tuyos';
$txt['thankyou_messages_given_desc'] = 'Mostrar los mensajes que están relacionados con el gracias. Se mostraran los <em> mensajes </ em> en los que <em> haz dado</ em> un agradecimiento a otros usuarios.';
$txt['thankyou_topics_given_desc'] = 'Mostrar los mensajes que están relacionados con las gracias. Se mostraran los <em> temas </em> en los que <em> haz dado </ em> un agradecimiento a otros usuarios.(Relacionado con el primer post.)';
$txt['thankyou_messages_become_desc'] = 'Mostrar los mensajes que están relacionados con el gracias. Se mostraran los <em> mensajes </ em> en los que <em> te dieron </ em> un agradecimiento otros usuarios.';
$txt['thankyou_topics_become_desc'] = 'Mostrar los post que están relacionados con el gracias.Se mostraran los <em> Temas </ em> en los que <em> te dieron </ em> un agradecimiento otros usuarios. (Relacionado con el primer post.)';
$txt['thankyou_view_messages_given'] = 'Mirar los mensajes de los miembros que te han dado un gracias';
$txt['thankyou_view_topics_given'] = 'Mirar los temas de los miembros que te han dado un gracias';
$txt['thankyou_view_messages_become'] = 'Mirar tus mensajes';
$txt['thankyou_view_topics_become'] = 'Mirar tus temas';
$txt['thankyoutitle_help'] = 'Mostrar mensajes que están relacionados con el gracias';
$txt['thankyoupostmade'] = 'Gracias que haz dado';
$txt['thankyoupostbecame'] = 'Gracias que te han dado';
./Themes/default/languages/Stats.spanish_es.php
//Thank-O-Matic Stats =D traslated by Enik www.acuariofiliah2o.com
$txt['thank_you_post_Top10Receive'] = 'Usuarios que mas gracias han recibido';
$txt['thank_you_post_Top10Given'] = 'Usuarios que mas gracias han dado';
./Themes/default/languages/Modifications.spanish_es.php
// Thank-O-Matic Inserts, i will not use any extra file any more *g* traslated by Enik www.acuariofiliah2o.com
// Error Messages:
$txt['NMidTopicSet'] = 'No hay ID del mensaje o tema establecido!';
// The [SECONDS] oupt the current setup time of the seconds.
$txt['thx_spamprotectionactive'] = 'Por favor espere [SECONDS] segundos para enviar un agradecimiento.';
// The [TIME] put out the time the thx was made.
$txt['allready_postet_thx'] = 'Ya ha publicado un gracias a este mensaje en [TIME]';
$txt['allready_postetTopic_thx'] = 'Ya ha publicado un gracias a este tema en [TIME]';
$txt['WMidTopicSet'] = 'Tema o mensaje incorrecto!';
$txt['Thxtomyself'] = 'No te puedes dar las gracias xd!';
$txt['thxislocked'] = 'las gracias están bloqueadas, y no se permite agregar un agradecimiento';
$txt['thxislockednor'] = 'No tiene permiso para cambiar el estado de bloqueo de las Gracias!';
$txt['notathankyoupost'] = 'Esto no es un mensaje con un agradecimiento !';
$txt['thxdeletenor'] = 'No tiene permiso para borrar el agradecimiento de este mensaje!';
$txt['thxdeletenormem'] = 'No tiene permiso para eliminar a este miembro de este gracias!';
$txt['remove_thank_you_post_mem'] = 'Eliminar las gracias de este miembro de este mensaje';
$txt['thxidnotfound'] = 'El ID de este Gracias no se encuentra!';
$txt['thxajaxnotenabled'] = 'Sistema AJAX incapacitado!';
$txt['thxajaxnotallowed'] = 'Esta Sub accion no es compatible con el estilo AJAX!';
$txt['thxajaxnotallowedtoview'] = 'No se les permite ver la LISTA DE AGRADECIMIENTO!';
$txt['onlyFirstPost_thx'] = 'Solo se puede escribir en el primer post de este tema una nota de agradecimiento!';
// Admin Setup Related Things for Thank-O-Matic
$txt['thxmodification'] = 'Modificaciones relacionadas';
$txt['thx_gernalSettingsDesc'] = 'Ajustes generales para las gracias.';
$txt['thx_layoutSettingsDesc'] = 'Estos son el diseño y el tema de los ajustes específicos, algunos de ellos funcionara o solo funcionan si el tema tiene todos los cambios.';
$txt['thx_permissionSettingsDesc'] = 'Algunos ajustes importantes de los permisos para que el Mod pueda funcionar para todos los usuarios (Usted puede encontrar mas ajustes dentro de los permisos de los miembros)';
$txt['thx_boradSettingsDesc'] = 'Áreas posibles para los Gracias.';
$txt['thx_modifciationSettingsDesc'] = 'Ajustes para estas modificaciones otros son necesarios para hacer que sea posible trabajar con ellos.';
UTF8 Versions:
./Themes/default/languages/Admin.spanish_es-UTF8.php
//Thank-O-Matic traslated by Enik www.acuariofiliah2o.com
$txt['thankyouposttitle'] = 'Gracias';
$txt['maintain_thxpost'] = 'Las gracias estan en mantenimiento';
$txt['maintain_thank_you_post_maintainaince'] = 'Mantenimiento';
$txt['maintain_thank_you_post_maintainaince_desc'] = 'Optimizar las tablas de las gracias, Borrar las gracias de miembros especificos.';
$txt['maintain_thank_you_post_recount'] = 'Recuento de estadísticas';
$txt['maintain_thank_you_post_recount_desc'] = 'Recalcular estadísticas de las gracias para todos, basados en hilos o miembros específicos.';
$txt['maintain_thxpostrecount'] = 'Recalcular estadísticas de las gracias';
$txt['maintain_thxpostrecount_info'] = 'Volver a calcular la mayoria de las estadísticas de las gracias, y restablecer los valores de cambio manual también.';
$txt['maintain_thxpostrecount_member'] = 'Recalcular estadísticas de las gracias';
$txt['maintain_thxpostrecount_member_info'] = 'Recalcular estadísticas de las gracias de los miembros.';
$txt['maintain_thxpostrecount_member_value'] = 'Por favor, introduzca el ID de usuario para recalcular aquí:';
$txt['maintain_thxpostrecount_topic'] = 'Recalcular las estadísticas de las gracias en los mensajes';
$txt['maintain_thxpostrecount_topic_info'] = 'Volver a calcular las estadísticas de las gracias de un tema.';
$txt['maintain_thxpostrecount_topic_value'] = 'Por favor, introduzca el ID de el tema para recalcular aquí:';
$txt['maintain_thxpostrepair'] = 'Reparar y optimizar las tablas de los gracias';
$txt['maintain_thxpostrepair_info'] = 'Borrar todos los ítem innecesarios ,remover tus gracias de las áreas bloqueadas (o áreas borradas).';
$txt['maintain_thank_you_optimize'] = 'Reparar y optimizar las tablas de los gracias';
// Please don't forget to insert [MEMBER], this will insert the link to the member profile
$txt['maintain_thank_you_deleteMemberposts'] = 'Borrar los post de gracias de un miembro: [MEMBER]';
$txt['maintain_thank_you_recountAll'] = 'Recuento de todas las estadísticas de las gracias';
// Please don't forget to insert [MEMBER], this will insert the link to the member profile
$txt['maintain_thank_you_recountMember'] = 'Recuento de todas las estadísticas de los mensajes de gracias de los miembros: [MEMBER]';
// Please don't forget to insert [TOPIC], this will insert the link to the Topic
$txt['maintain_thank_you_recountTopic'] = 'Recuento de todas las estadísticas de los mensajes de gracias [TOPIC]';
./Themes/default/languages/index.spanish_es-UTF8.php
//Thank You text for the Thread traslated by Enik www.acuariofiliah2o.com
$txt['thank_you_link_beforecounter'] = 'Para este mensaje,';
$txt['thank_you_link_members'] = 'Miembros';
$txt['thank_you_link_member'] = 'Miembro';
$txt['thank_you_link_aftercounter'] = 'Ha dado un gracias!';
$txt['thank_you_link_aftercounters'] = 'Han dado un gracias!';
$txt['thank_you_is_locked'] = 'Los agradecimientos están bloqueados';
$txt['thank_you_post_post_b'] = 'Gracias';
$txt['thank_you_post_delete_b'] = 'Borrar gracias';
$txt['thank_you_post_lock_b'] = 'Bloquear gracias';
$txt['thank_you_post_open_b'] = 'Abrir gracias';
$txt['thank_you_post_lock_all_b'] = 'Bloquear todos los gracias';
$txt['thank_you_post_open_all_b'] = 'Abrir todos los gracias';
$txt['remove_thank_you_post'] = 'Eliminar este gracias';
$txt['followgiveathank'] = 'Siga a los miembros que agradecieron su mensaje:';
$txt['thank_you_post_unlock_all'] = 'Abrir todos los mensajes de gracias';
$txt['thankyoupostlist'] = 'Lista de mensajes de gracias (Completa)';
$txt['thankyouposterrorinscript'] = 'Error en la secuencia de comandos... de alguna manera esto no debería ocurrir!';
$txt['thank_you_post_thx_display'] = 'Gracias';
$txt['thank_you_post_made_display'] = 'Tu haz dado';
$txt['thank_you_post_became_display'] = 'Tu haz recibido';
$txt['standard_profile_field_thank_you_post_made'] = 'Gracias que haz dado';
$txt['standard_profile_field_thank_you_post_became'] = 'Gracias que haz recibido';
./Themes/default/languages/ManageBoards.spanish_es-UTF8.php
//Thank-O-Matic traslated by Enik www.acuariofiliah2o.com
$txt['mboards_thank_you_post_enable'] = 'Habilitar gracias';
$txt['mboards_thank_you_post_enable_desc'] = 'Esta opción habilitara las gracias para los mensajes en esta área';
./Themes/default/languages/ManagePermissions.spanish_es-UTF8.php
//Thank-O-Matic Premmisions traslated by Enik www.acuariofiliah2o.com
$txt['permissiongroup_thank_you_post'] = 'Gracias';
$txt['permissiongroup_simple_thank_you_post'] = 'Gracias (opciones de los miembros)';
$txt['permissiongroup_simple_thank_you_post_any'] = 'Gracias (Moderar cualquier gracias)';
$txt['permissionname_thank_you_post_show'] = 'Mostrar las gracias de este mensaje a los miembros';
$txt['permissionhelp_thank_you_post_show'] = 'Mostrar la lista de quien te ha dado las gracias';
$txt['permissionname_thank_you_post_post'] = 'Dar un gracias a este mensaje';
$txt['permissionhelp_thank_you_post_post'] = 'Con esto el usuario esta autorizado a añadir un agradecimiento a cada post en los mensajes permitidos';
$txt['permissionname_thank_you_post_lock'] = 'Los agradecimientos de este mensaje están bloqueados';
$txt['permissionhelp_thank_you_post_lock'] = 'Bloquear los "Gracias" para que nadie pueda hacer uno nuevo.';
$txt['permissionname_thank_you_post_lock_own'] = 'Agradecimientos propios';
$txt['permissionname_thank_you_post_lock_any'] = 'Cualquier Agradecimiento';
$txt['permissionname_thank_you_post_delete'] = 'Eliminar la lista de agradecimiento de este mensaje';
$txt['permissionhelp_thank_you_post_delete'] = 'Eliminar de la lista, las Gracias de los mensajes en el foro.';
$txt['permissionname_thank_you_post_delete_own'] = 'Agradecimientos propios';
$txt['permissionname_thank_you_post_delete_any'] = 'Cualquier Agradecimiento';
$txt['permissionname_thank_you_post_delete_mem'] = 'Eliminar mensaje de agradecimiento de los miembros';
$txt['permissionhelp_thank_you_post_delete_mem'] = 'Eliminacion de un cartel en la lista de la Gracias.';
$txt['permissionname_thank_you_post_delete_mem_own'] = 'De ellos mismos';
$txt['permissionname_thank_you_post_delete_mem_any'] = 'Cualquier miembro';
$txt['permissionname_thank_you_post_lock_all'] = 'Cerrar/Abrir hilo de gracias';
$txt['permissionhelp_thank_you_post_lock_all'] = 'Cerrar/Abrir ,las opciones de gracias en el hilo para que nadie pueda hacer uno nuevo o comenzar uno nuevo.';
$txt['permissionname_thank_you_post_lock_all_own'] = 'Tema propio';
$txt['permissionname_thank_you_post_lock_all_any'] = 'Cualquier tema';
$txt['permissionname_thank_you_post_unlock_all'] = 'Abrir todos los post del hilo de las gracias';
$txt['permissionhelp_thank_you_post_unlock_all'] = 'Desbloquear todos los mensajes de agradecimiento, se puede utilizar esto después de que un tema es trasladado desde el deposito de chatarra de nuevo al tablero normal, o por otras razones';
./Themes/default/languages/Errors.spanish_es-UTF8.php
//Thank-O-Matic Premmisions Errors traslated by Enik www.acuariofiliah2o.com
$txt['cannot_thank_you_post_show'] = "Usted no esta autorizado a ver esta lista de agradecimiento!";
$txt['cannot_thank_you_post_post'] = "Usted no esta autorizado a usar las opciones de las Gracias!";
$txt['cannot_thank_you_post_lock_own'] = "Usted no esta autorizado a usar las opciones de las Gracias!";
$txt['cannot_thank_you_post_lock_any'] = "Usted no esta autorizado a usar las opciones de las Gracias!";
$txt['cannot_thank_you_post_delete_own'] = "Usted no esta autorizado a usar las opciones de las Gracias!";
$txt['cannot_thank_you_post_delete_any'] = "Usted no esta autorizado a usar las opciones de las Gracias!";
$txt['cannot_thank_you_post_delete_mem_own'] = "Usted no esta autorizado a usar las opciones de las Gracias!";
$txt['cannot_thank_you_post_delete_mem_any'] = "Usted no esta autorizado a usar las opciones de las Gracias!";
$txt['cannot_thank_you_post_lock_all_own'] = "Usted no esta autorizado a usar las opciones de las Gracias!";
$txt['cannot_thank_you_post_lock_all_any'] = "Usted no esta autorizado a usar las opciones de las Gracias!";
$txt['cannot_thank_you_post_unlock_all'] = "Usted no esta autorizado a usar las opciones de las Gracias!";
./Themes/default/languages/ManageSettings.spanish_es-UTF8.php
//Thank-O-Matic ModSettings traslated by Enik www.acuariofiliah2o.com
$txt['thankyouposttitle'] = 'Gracias';
$txt['thankYouPostColors'] = 'Habilitar los colores de los miembros de la lista de gracias';
$txt['thankYouPostPreview'] = 'Habilitar la lista de vista previa en los mensajes en el índice de temas';
$txt['thankYouPostPreviewHM'] = '¿Cuantos miembros deben mostrarse en la vista preliminar de la lista de las gracias?';
$txt['thankYouPostPreviewHMPostInput'] = '(0 = para todos)';
$txt['thankYouPostPreviewOrder'] = 'El orden de la lista de vista previa de los dados';
$txt['thankYouPostPreviewOrderSelect'] = 'Primeras Gracias primero | Ultimas gracias en primer lugar';
$txt['thankYouPostFullOrder'] = 'El orden de la lista completa de las gracias';
$txt['thankYouPostFullOrderSelect']= 'Primeras Gracias primero | Ultimas gracias en primer lugar|Nombres de los miembros';
$txt['thankYouPostHideExtraInfo'] = '<br /><span class="smalltext"><a href="http://mods.simplemachines.org/index.php?mod=118">(Se necesita el mod Hide Tag Special)</a></span>';
//Pleast don't forget the .$txt['thankYouPostHideExtraInfo'] after the text!
$txt['thankYouPostUnhidePost'] = 'Volver a mostrar el contenido de los post después de publicar "Gracias" a este mensaje
<br /><span class="smalltext">Esta mostrara solo la parte donde el miembro dio las gracias. Si el post del usuario es normal va a mostrar todas las</span>' . $txt['thankYouPostHideExtraInfo'];
$txt['thankYouPostThxUnhideAll'] = 'Gracias dadas ,mostrar todo el contenido oculto!
<br /><span class="smalltext">Mostrara todo el contenido después de publicar tu agradecimiento a cualquier post (opción automática de mostrar deshabilitar 1)</span>' . $txt['thankYouPostHideExtraInfo'];
$txt['thankYouPostDisableUnhide'] = 'Deshabilitar la opción después de mostrar el contenido real de desplazamiento, solo gracias a que puede mostrar que!
<br /><span class="smalltext">Usted debe dar un agradecimiento para mostrar el contenido. Dependera de la opción 1 / 2 de cuantos post serán mostrados</span>' . $txt['thankYouPostHideExtraInfo'];
$txt['thankYouPostDisplayPage'] = 'Mostrar Gracias determinado y recibir en el marco del avatar en la pantalla del tema';
$txt['thankYouPostStatsEnabled'] = 'Habilitar el Top Ten de Gracias Recibidos en la pagina de estadísticas';
$txt['thankYouPostIncraseKarmaGood'] = 'Añadir 1 punto del karma para el usuario, si alguien da un agradecimiento para su post';
$txt['thankYouPostAJAX'] = 'Habilitar AJAX (Inline) Gracias';
$txt['thankYouPostModerationLog'] = 'Habilitar Gracias en el registro de moderación';
$txt['thankYouPostSpamProtection'] = 'Protección anti-spam de las gracias';
$txt['thankYouPostSpamProtectionPostInput'] = '(0 = desactivar, en segundos)';
$txt['thank_you_post_show'] = 'Permiso para mostrar las gracias lista de los mensajes';
$txt['thank_you_post_post'] = 'Permiso para dar las gracias en los mensajes';
$txt['thank_you_post_select_boards'] = 'Seleccione las áreas para permitir los gracias';
$txt['thankYouPostType'] = 'Tipo de gracias';
$txt['thankYouPostTypeSelect'] = 'Un Gracias por Tema | Múltiples Gracias por Tema | Solo el primer post';
$txt['thankYouPostMemberList'] = 'Mostrar Gracias determinado y recibir en la lista de miembros';
$txt['thankYouPostMemberListDisableBecame'] = 'Deshabilitar Recibir información de las gracias';
$txt['thankYouPostMemberListSizeBecame'] = 'Tamaño de la columna para recibir información de las gracias';
$txt['thankYouPostMemberListDisableMade'] = 'Deshabilitar recibir información de las gracias';
$txt['thankYouPostMemberListSizeMade'] = 'Tamaño de la columna de la vista de la información de las gracias';
$txt['thankYouPostMemberListStandardSize'] = '(0 = Tamaño estándar preseleccionados)';
$txt['thankYouPostDisplayDisableBecame'] = 'Deshabilitar recibir información sobre el Tema de visualización de las gracias';
$txt['thankYouPostDisplayDisableMade'] = 'Deshabilitar información sobre el Tema de visualización (gracias dados)';
$txt['thankYouPostCounterOutput'] = 'Contador de vinculos';
$txt['thankYouPostCounterOutputSelect'] = 'Vinculos|Solo texto|Remover';
$txt['thankYouPostStartOutput'] = 'Lista de inicio del texto de las gracias';
$txt['thankYouPostStartOutputSelect'] = 'Texto estándar|Texto alternativo|Variable txt alternativa|Remover';
$txt['thankYouPostStartOutputText'] = 'Texto alternativo o variable.<br /><span class="smalltext">Texto alternativo se analiza en BBC, la variable es Alternativa $txt[la variable que se inserte]</span>.';
./Themes/default/languages/Profile.spanish_es-UTF8.php
//Thank-O-Matic - Profile Page traslated by Enik www.acuariofiliah2o.com
$txt['thankyoutitle'] = 'Mensajes de gracias';
$txt['thankyoutitle_show'] = 'Mostrar gracias en los mensajes';
$txt['thankyou_messages_given'] = 'Gracias dados en los mensajes';
$txt['thankyou_topics_given'] = 'Gracias dados en los temas;
$txt['thankyou_messages_become'] = 'Mensajes tuyos';
$txt['thankyou_topics_become'] = 'Temas tuyos';
$txt['thankyou_messages_given_desc'] = 'Mostrar los mensajes que están relacionados con el gracias. Se mostraran los <em> mensajes </ em> en los que <em> haz dado </ em> un agradecimiento a otros usuarios.';
$txt['thankyou_topics_given_desc'] = 'Mostrar los mensajes que están relacionados con el gracias. Se mostraran los <em> temas </ em> en los que <em> haz dado </ em> un agradecimiento a otros usuarios. (Relacionado con el primer post.)';
$txt['thankyou_messages_become_desc'] = 'Mostrar los mensajes que están relacionados con el gracias. Se mostraran los <em> mensajes </ em> en los que <em> te dieron </ em> un agradecimiento otros usuarios.';
$txt['thankyou_topics_become_desc'] = 'Mostrar los post que están relacionados con el gracias. Se mostraran los <em> Temas </ em> en los que <em> te dieron </ em> un agradecimiento otros usuarios. (Relacionado con el primer post.)';
$txt['thankyou_view_messages_given'] = 'Mirar los mensajes de los miembros que te han dado un gracias';
$txt['thankyou_view_topics_given'] = 'Mirar los temas de los miembros que te han dado un gracias';
$txt['thankyou_view_messages_become'] = 'Mirar tus mensajes';
$txt['thankyou_view_topics_become'] = 'Mirar tus temas';
$txt['thankyoutitle_help'] = 'Mostrar mensajes que están relacionados con el gracias';
$txt['thankyoupostmade'] = 'Gracias que haz dado';
$txt['thankyoupostbecame'] = 'Gracias que te han dado';
./Themes/default/languages/Stats.spanish_es-UTF8.php
//Thank-O-Matic Stats =D traslated by Enik www.acuariofiliah2o.com
$txt['thank_you_post_Top10Receive'] = 'Usuarios que mas gracias han recibido';
$txt['thank_you_post_Top10Given'] = 'Usuarios que mas gracias han dado';
./Themes/default/languages/Modifications.spanish_es-UTF8.php
// Thank-O-Matic Inserts, i will not use any extra file any more *g* traslated by Enik www.acuariofiliah2o.com
// Error Messages:
$txt['NMidTopicSet'] = 'No hay ID del mensaje o tema establecido!';
// The [SECONDS] oupt the current setup time of the seconds.
$txt['thx_spamprotectionactive'] = 'Por favor espere [SECONDS] segundos para enviar un agradecimiento.';
// The [TIME] put out the time the thx was made.
$txt['allready_postet_thx'] = 'Ya ha publicado un gracias a este mensaje en [TIME]';
$txt['allready_postetTopic_thx'] = 'Ya ha publicado un gracias a este tema en [TIME]';
$txt['WMidTopicSet'] = 'Tema o mensaje incorrecto!';
$txt['Thxtomyself'] = 'No te puedes dar las gracias xd!';
$txt['thxislocked'] = 'las gracias están bloqueadas, y no se permite agregar un agradecimiento';
$txt['thxislockednor'] = 'No tiene permiso para cambiar el estado de bloqueo de las Gracias!';
$txt['notathankyoupost'] = 'Esto no es un mensaje con un agradecimiento !';
$txt['thxdeletenor'] = 'No tiene permiso para borrar el agradecimiento de este mensaje!';
$txt['thxdeletenormem'] = 'No tiene permiso para eliminar a este miembro de este gracias!';
$txt['remove_thank_you_post_mem'] = 'Eliminar las gracias de este miembro de este mensaje';
$txt['thxidnotfound'] = 'El ID de este Gracias no se encuentra!';
$txt['thxajaxnotenabled'] = 'Sistema AJAX incapacitado!';
$txt['thxajaxnotallowed'] = 'Esta Sub accion no es compatible con el estilo AJAX!';
$txt['thxajaxnotallowedtoview'] = 'No se les permite ver la LISTA DE AGRADECIMIENTO!';
$txt['onlyFirstPost_thx'] = 'Solo se puede escribir en el primer post de este tema una nota de agradecimiento!';
// Admin Setup Related Things for Thank-O-Matic
$txt['thxmodification'] = 'Modificaciones relacionadas';
$txt['thx_gernalSettingsDesc'] = 'Ajustes generales para las gracias.';
$txt['thx_layoutSettingsDesc'] = 'Estos son el diseño y el tema de los ajustes específicos, algunos de ellos funcionara o solo funcionan si el tema tiene todos los cambios.';
$txt['thx_permissionSettingsDesc'] = 'Algunos ajustes importantes de los permisos para que el Mod pueda funcionar para todos los usuarios (Usted puede encontrar mas ajustes dentro de los permisos de los miembros)';
$txt['thx_boradSettingsDesc'] = 'Áreas posibles para el Gracias.';
$txt['thx_modifciationSettingsDesc'] = 'Ajustes para estas modificaciones otros son necesarios para hacer que sea posible trabajar con ellos.';
Thanks for this super mod din1031 , I hope my translation helps.
ciao.
Quote from: NIBOGO on April 01, 2010, 10:24:56 AM
DIN I don't know if include a BBC fr a thank you link is useful, I mean I don't think of a lot of people is going to find it a good feature for me it's useless maybe would be a nice idea as a plugin and not as a core feature, just my opinion.
I never planded it as core feature ;). I planed it as plug in from the begin =).
Quote from: NIBOGO on April 01, 2010, 10:24:56 AM
Btw I don't think of give guests permission to thank-you isn't a good idea, there won't be control over the thanks, everybody can jiat logout and give X numbers of thanks to his posts and I'm not sure but that isn't going to affect the Thank-You List??
Yes that's also my thought, thats one of the reasons why i will never support it ;).
@enik
Thank you i will insert it :D.
Din thank you very much, I hope will be helpful.
greetings.
Version 2.0 RC2 (05.04.10)
=======================================================
! Unlock All Thank You's create an gernal bug in the Errorlog
! New Theme Bug found by NIBOGO is fixed now
! AJAX Bug error is not shown if there is no thank you in the post
* AJAX feature is moved to layout (better position... because it is more logical there...)
+ After AJAX Thank You the buttons for delete and lock is now aviable
* Load of the Template function is now with a backup check, to pervent redclare bugs!
* Core Theme is now supported (More or less... i must use a trick for it...)
! Options for Disable the Output on Topic Display are working now...
! Bug with the crome should be solved now... i hope <<...
! Double Profile Fields entry is now fixed
- Info: The not correct end of the Member List is a SMF Bug! It do not add it to the last field!
- Persian Bug is related to the database, i work on that...
I want to make an upgrade, but i did not have the time to do that, so i hope i can make the upgrade for the mod until the weekend... It's not much changed on the Source Files, most of the Changes are done on the templates ;).
So at the moment only the new install will work ;). Happy Testing *g*.
Bye
DIN1031
Ok I have sent a pm to clarify a doubt.
ciao.
DIN great update thanks for your awesome job
PD: ! New Theme Bug found by NIBIGO is fixed now
Who or What is NIBIGO? ¬¬
PD2: I'm finishing the Thank-O-Matic translation to spanish_latin and spanish_es I know that there is already one but isn't as good as it should, so DIN did you made any changes to the strings in this new release?
Hi Din, I noticed it had space and I found 15 bugs fixed.
Since the translation has been well done.
ciao.
Quote from: NIBOGO on April 05, 2010, 05:27:35 PM
DIN great update thanks for your awesome job
PD: ! New Theme Bug found by NIBIGO is fixed now
Who or What is NIBIGO? ¬¬
PD2: I'm finishing the Thank-O-Matic translation to spanish_latin and spanish_es I know that there is already one but isn't as good as it should, so DIN did you made any changes to the strings in this new release?
*drop* sorry misstyped... sorry XD.
Yes a small one ;). One new line... i forgot to write enik about it yesterday...
$txt['thankYouPostAJAXModButtonsDisable'] = 'Disable Mod Buttons after AJAX (Inline) Thank You.';
Bye
DIN1031
Mod maker,
First of all, what a great mod! :D
But I have some little problems, I use 2.0 RC3 btw!
1. When someone clicks at the button " thank you" and "AJAX (Inline) Thank You" is enabled, it keeps loading till I refresh. - FIXED2. When someone clicks at the button "thank you" it doesn't show the thank below the post. - FIXED3.
I dont see the thank you buttons.I hope you can help me, maybe its easier to add me to MSN:
[email protected] ;D
Regards,
Wietse
imsforum.net76.net
Quote from: wietse02 on April 08, 2010, 08:02:04 AM
3. I dont see the thank you buttons.
Did you make the theme changes on you theme? If you've done this, did you upload the picutres into the correct image folders of the theme? And last but not least, if you use a curve related theme, did you made the css related changes? (There a button specific ones ;D)
Bye
DIN1031
Thanks for answer mate!
I changed to my theme and uploaded the buttons too ;)
How to know if my theme is curve related? :o
Hi,
The download links say:
ThankOMatic20RC1.4_(for_2.0_RC3).zip
or
ThankOMatic20RC2_(for_2.0_RC3).zip
Are these 2 versions really for SMF 2.0 RC3?
The reason i ask is because when i went to install one of them is says it was for RC2
Can anyone confirm that these really are for RC3?
thanks
Quote from: wietse02 on April 09, 2010, 02:08:25 AM
Thanks for answer mate!
I changed to my theme and uploaded the buttons too ;)
How to know if my theme is curve related? :o
Good question xD. I do not know how to find this out *g*.
Quote from: madman71 on April 09, 2010, 07:53:38 PM
Hi,
The download links say:
ThankOMatic20RC1.4_(for_2.0_RC3).zip
or
ThankOMatic20RC2_(for_2.0_RC3).zip
Are these 2 versions really for SMF 2.0 RC3?
The reason i ask is because when i went to install one of them is says it was for RC2
Can anyone confirm that these really are for RC3?
thanks
Yes, is this really for RC3? Btw, in any chances - when will be the FINAL RELEASE of this product? Thank you.
Yes there will be a final version ;). When i found out what exactly the persian utf8 bug is... and how it is related... because at the moment it looks like a collation porblem to me, but i need to test some things to find it out. If i've solved this than the mod will be change into the final version.
And yes RC2 ist the latest for SMF 2RC3 ;). RC = Release Candidate... so it is the second ;). And RC meand near the final release *g*
Bye
DIN1031
All problems for me are fixed now except one:
Only administator can delete his thank after he did "thank you". Normall members can't.
Quote from: wietse02 on April 14, 2010, 02:00:53 AM
All problems for me are fixed now except one:
Only administator can delete his thank after he did "thank you". Normall members can't.
oO i never noted this... i was sure that i tested this but okay i will test it again.
Bye
DIN1031
Thank you nice mod! I'm translating TOM into Japanese now.
My question:
If select "Alternativ txt Variable" to "Starttext of the Thank-O-Matic List" at TOM-layout section in SMF manager, how to assign below textbox ?
Array-key of array-variable("$txt") ?
SMF: SMF 2.0 RC3
TOM: ThankOMatic20RC2_(for_2.0_RC3)
Thanks advance. :)
One more, message is garbled at AJAX(inline) mode. Non-AJAX-mode is good.
My Encode: Japanese-utf8 :)
One more, Normal member cann't lock his post, even if set post-lock-permission.
Will this be specifications?
Hi can any 1 help i get this error when installing on smf20RC3 thank o matic ThankOMatic20RC2_for_2.0_RC3.zip
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.
also see attached of install error
other mods installed are
1. Ad Managment 2.3.6.2
2. Aeva Media 1.1b
3. SimplePortal 2.3.2
4. Treasury 2.06
Quote from: swoodie on April 21, 2010, 04:05:57 AM
Hi can any 1 help i get this error when installing on smf20RC3 thank o matic ThankOMatic20RC2_for_2.0_RC3.zip
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.
also see attached of install error
other mods installed are
1. Ad Managment 2.3.6.2
2. Aeva Media 1.1b
3. SimplePortal 2.3.2
4. Treasury 2.06
BUMP Help on the install of this mod
Hi
I installed ThankOMatic RC2_for_2.0_RC3.zip on my persian SMF 2 RC3
There was some Errors on Display.Template.php on the Default template :
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.up.clipfa.com%2Fimages%2Fsmferrsjs.jpg&hash=8fda46a2f1ca2f0957da2541c19a2db55ffcda00)
Then I installed it with errors and edited this file manually
Now te MOD is installed but the Administrator side of the MOD is like this :o :
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.up.clipfa.com%2Fimages%2Fthankovkv.jpg&hash=2bfac0698e04f633e4906664d070c4579b7ccfc3)
What's the problem ?
Thanks :D
tried installing this mod and getting 'test failed' in;
sources/load.php
sources/display.php
Quote from: andris11 on January 17, 2010, 04:14:09 PM
Fatal error: Cannot redeclare template_thank_you_post() (previously declared in D:\Web\Webroot\teszt\Sources\Load.php(2118) : eval()'d code:581) in D:\Web\Webroot\teszt\Sources\Load.php(2118) : eval()'d code on line 667
I'd appreciate if someone came back to working on this error, because when I tried to update this mod, it brought down my whole forum. I have manually uninstalled all the mod's code, but the error it introduced persists.
The specific language of mine is:
Fatal error: Cannot redeclare template_thank_you_post() (previously declared in /home2/.../public_html/forum/Sources/Load.php(2110) : eval()'d code:400) in /home2/.../public_html/forum/Sources/Load.php(2110) : eval()'d code on line 486
Finally managed to solve the error.
The problem occurred because the older version didn't uninstall itself from any of the themes. It left all of the theme's index.css and index.template.php files still modified.
When I installed the newer version of the mod, portions of this code was duplicated in those files. Some part of this duplication creates a fatal error for the forum.
Is there a way you can correct the mod's uninstallation so it won't leave behind it's code in the various themes? Thanks.
Quote from: ディン1031 on November 11, 2007, 10:13:01 AM
http://jmusic.ddo.jp/DIN1031/modparser/index.php?action=installMod&smfVersion=1.1.4&name=ThankOMatic119&theme
There all theme changes who made by my mod.
Bye
DIN1031
this link is broken, doesn't work. so i'm unable to manually install this mod
Quote from: sama55 on April 21, 2010, 12:44:44 AM
Thank you nice mod! I'm translating TOM into Japanese now.
My question:
If select "Alternativ txt Variable" to "Starttext of the Thank-O-Matic List" at TOM-layout section in SMF manager, how to assign below textbox ?
Array-key of array-variable("$txt") ?
SMF: SMF 2.0 RC3
TOM: ThankOMatic20RC2_(for_2.0_RC3)
Thanks advance. :)
Example:
You create in the modificatione.english.php the text
$txt['mynicetextisthis'] = 'yeah this a new thank you text';
Than you need to insert "mynicetextisthis" into the box and this txt will be used instead :).
Quote from: sama55 on April 21, 2010, 03:50:34 AM
One more, Normal member cann't lock his post, even if set post-lock-permission.
Will this be specifications?
Hmmm normal it should work, but he can only lock is own thank you not someone else...
Quote from: Scaala on April 25, 2010, 02:33:34 AM
Finally managed to solve the error.
The problem occurred because the older version didn't uninstall itself from any of the themes. It left all of the theme's index.css and index.template.php files still modified.
When I installed the newer version of the mod, portions of this code was duplicated in those files. Some part of this duplication creates a fatal error for the forum.
Is there a way you can correct the mod's uninstallation so it won't leave behind it's code in the various themes? Thanks.
I looked at the code it should be removed...
Quote from: genius09 on April 25, 2010, 01:07:13 PM
Quote from: ディン1031 on November 11, 2007, 10:13:01 AM
http://jmusic.ddo.jp/DIN1031/modparser/index.php?action=installMod&smfVersion=1.1.4&name=ThankOMatic119&theme
There all theme changes who made by my mod.
Bye
DIN1031
this link is broken, doesn't work. so i'm unable to manually install this mod
Yes the server is down... and i've currently no alternate link. But you can use the smf parser for this...
Nice mod. Working very well. !
But i have 2 problems, in my SMF 2 RC 2 (with some mods and SimplePortal 2.3.1) and german ISO-8859-1 as language pack. For a quick overview, what i mean now, please look at the attachments, please.
1. the thank you button is missing
2. there is no horizonzal row between the "thank you"-results and the posting.
have someone a solution for this ?
(during the installation the was no mistake, only some language specified "skips...")
when i turn my forum in "english", the problem is there, too.
Thank you in advance.
Thank you, i found the solutiion !!!
GREAT MOD !!!
upgraded to RC3 (from RC1.2) and after reinstalling this, everyone lost all their totals and the thank yous are no longer on any posts. Was that supposd to happen? Please tell me we didnt just lose all that..lol
I am also getting alot of errors in my error log such as (40 per thread view to be exact)
8: Undefined index: thank_you_post
File: /home/***/public_html/Themes/default/Display.template.php (main sub template - eval?)
Line: 353
EDIT: I think I have it fixed but not totally sure yet. Even though the Package Manager said there was only 1 "test failed" on install, there were actually 6 edits that it didnt make. I had to go thru each and every single edit this mod makes to find them (only took me 2 hours..sheesh..lol)
Hi
Thanks for this awesome MOD :D
I have a problem with Persian language of Thank-O-Matic
In the english template T the icons are on the left and the re is no problem :
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.up.clipfa.com%2Fimages%2Fthanksnun.jpg&hash=c0638590f21f0c9c065048c03233b421f7bdb843)
But with the persian versionT all icons are on the right bur Thanks button !! ;D Then the text is over the icon:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.up.clipfa.com%2Fimages%2Fthanksfa.jpg&hash=05a385cd87fbf9a7894e9ce2fb1d47ddbcf023c0)
How can I move the text away the button ?
Thanks :)
Quote from: rostamiani on May 01, 2010, 03:24:19 AM
Hi
Thanks for this awesome MOD :D
I have a problem with Persian language of Thank-O-Matic
In the english template T the icons are on the left and the re is no problem :
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.up.clipfa.com%2Fimages%2Fthanksnun.jpg&hash=c0638590f21f0c9c065048c03233b421f7bdb843)
But with the persian versionT all icons are on the right bur Thanks button !! ;D Then the text is over the icon:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.up.clipfa.com%2Fimages%2Fthanksfa.jpg&hash=05a385cd87fbf9a7894e9ce2fb1d47ddbcf023c0)
How can I move the text away the button ?
Thanks :)
The problem solved :D
Just add this lines to rtl.css in the template
/* This are the the Thank-O-Matic Buttons START */
ul.quickbuttons li.thank_you_button
{
background-position: 100% 0;
}
ul.quickbuttons li.thank_you_open_button
{
background-position: 100% 0;
}
ul.quickbuttons li.thank_you_lock_button
{
background-position: 100% 0;
}
ul.quickbuttons li.thank_you_delete_button
{
background-position: 100% 0;
}
/* This are the the Thank-O-Matic Buttons END */
Please add this in the next package
Thanks
Just upgraded to RC3, and reinstalled this mod. I am having a problem when looking at someones thank you posts (via their profile)., It will show the first post, but then none of the others. This error appears at the very bottom where you normally see the list of all the names that thanked the thread.
Fatal error: Call to undefined function template_thank_you_post() in /home/******/public_html/Sources/Load.php(2158) : eval()'d code on line 1227
Any ideas? Thanks in advance :)
Quote from: Kimmie on May 02, 2010, 04:37:19 PM
Just upgraded to RC3, and reinstalled this mod. I am having a problem when looking at someones thank you posts (via their profile)., It will show the first post, but then none of the others. This error appears at the very bottom where you normally see the list of all the names that thanked the thread.
Fatal error: Call to undefined function template_thank_you_post() in /home/******/public_html/Sources/Load.php(2158) : eval()'d code on line 1227
Any ideas? Thanks in advance :)
Look into the index.template.php if there are two function template_thank_you_post() possible in one of the themes =).
Quote from: ディン1031 on May 03, 2010, 12:40:39 AM
Quote from: Kimmie on May 02, 2010, 04:37:19 PM
Just upgraded to RC3, and reinstalled this mod. I am having a problem when looking at someones thank you posts (via their profile)., It will show the first post, but then none of the others. This error appears at the very bottom where you normally see the list of all the names that thanked the thread.
Fatal error: Call to undefined function template_thank_you_post() in /home/******/public_html/Sources/Load.php(2158) : eval()'d code on line 1227
Any ideas? Thanks in advance :)
Look into the index.template.php if there are two function template_thank_you_post() possible in one of the themes =).
I think that fixed it. There were two instances of the mod code in my custom theme's index.template.php file. :)
Hi :D
This Mode generates so many errors in the error log !!!
What's the problem ??? ???
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.iranimg.com%2Fimages%2F08214631362093479923.jpg&hash=3812887058b1feb2afb4a0032863265673592f5d)
Thsnks
I don't know anything of this errors... but i would assume that there are Translations Missing... and so i would assume if you translated everything than you need to clear the cache ;).
Thanks a lot
I translated everythigs I found,But it did not apply to the forum !
I cleared the cache but it did not solved
I inserted the translations into "index.persian-utf8.php" :D
Is this corerct file ?
I'm attempting to assist a user with their forum. They have 2700+ errors related to the thank-o-matic mod all like the following:
http://jumss.net/forum/index.php?topic=2830
8: Undefined index: thankYouPostCounterOutput
File: /home2/jumssnet/public_html/forum/Sources/ThankYouPost.php
All related to lines 841 & 842.
I have checked that the mod is installed correctly and the indexes are in the ManageSettings.english.php file as this is where the index is referenced.
The forum has 58 other mods installed but there are no other undefined index errors so they all seem to be related to this mod.
Any suggestions?
Quote from: Chas Large on May 09, 2010, 03:12:19 PM
I'm attempting to assist a user with their forum. They have 2700+ errors related to the thank-o-matic mod all like the following:
http://jumss.net/forum/index.php?topic=2830
8: Undefined index: thankYouPostCounterOutput
File: /home2/jumssnet/public_html/forum/Sources/ThankYouPost.php
All related to lines 841 & 842.
I have checked that the mod is installed correctly and the indexes are in the ManageSettings.english.php file as this is where the index is referenced.
The forum has 58 other mods installed but there are no other undefined index errors so they all seem to be related to this mod.
Any suggestions?
Mod Version? SMF Version?
... i look in the SMF 2 Version... it's not possible that this could be happen oO...
Oh... i think i've an small thinking error on that position... i hope it's an SMF2 problem...
ThankYouPost.php
Serach for
if (!isset($modSettings['thankYouPostStartOutput']))
Replace with
if (!isset($modSettings['thankYouPostStartOutput']) || !isset($modSettings['thankYouPostCounterOutput']) || !isset($modSettings['thankYouPostStartOutputText']))
That should solve the problem...
Quote from: rostamiani on May 09, 2010, 01:36:54 AM
Thanks a lot
I translated everythigs I found,But it did not apply to the forum !
I cleared the cache but it did not solved
I inserted the translations into "index.persian-utf8.php" :D
Is this corerct file ?
Hmmm normal i suggest to add them to the correct files... hmmm so i'm not so sure if this really work if you insert all into the index.template.php... never tested this... normal i would assume the index file is loaded everywhere... but i'm not sure if this really the case...
Quote from: ディン1031 on May 10, 2010, 01:34:34 AM
Quote from: Chas Large on May 09, 2010, 03:12:19 PM
I'm attempting to assist a user with their forum. They have 2700+ errors related to the thank-o-matic mod all like the following:
http://jumss.net/forum/index.php?topic=2830
8: Undefined index: thankYouPostCounterOutput
File: /home2/jumssnet/public_html/forum/Sources/ThankYouPost.php
All related to lines 841 & 842.
I have checked that the mod is installed correctly and the indexes are in the ManageSettings.english.php file as this is where the index is referenced.
The forum has 58 other mods installed but there are no other undefined index errors so they all seem to be related to this mod.
Any suggestions?
Mod Version? SMF Version?
... i look in the SMF 2 Version... it's not possible that this could be happen oO...
Oh... i think i've an small thinking error on that position... i hope it's an SMF2 problem...
ThankYouPost.php
Serach for
if (!isset($modSettings['thankYouPostStartOutput']))
Replace with
if (!isset($modSettings['thankYouPostStartOutput']) || !isset($modSettings['thankYouPostCounterOutput']) || !isset($modSettings['thankYouPostStartOutputText']))
That should solve the problem...
Yes, I am sorry, I forgot my own advice. SMF 2.x RC3 and T-o-m v2.4
Have applied the fix and so far no errors. Will get back to you if they occur again. Thank you for very prompt reply, much appreciated.
Quote from: rostamiani on May 09, 2010, 01:36:54 AM
Thanks a lot
I translated everythigs I found,But it did not apply to the forum !
I cleared the cache but it did not solved
I inserted the translations into "index.persian-utf8.php" :D
Is this corerct file ?
Which file should I translate ?
index.english-utf8.php or index.english.php
Thanks :D
Quote from: rostamiani on May 10, 2010, 05:39:29 AM
Which file should I translate ?
index.english-utf8.php or index.english.php
Thanks :D
They're both the same.
Quote from: Arantor on May 10, 2010, 05:57:54 AM
They're both the same.
Thanks :D
Should I translate both files as index.persian-utf8.php and index.persian.php ?
Translate either, but make sure index.persian-utf8.php is UTF-8 encoded and that index.persian.php is encoded in ISO-639-1.
OK, maybe I'm just missing something obvious, but I can't see where to download the stats add-on for 1.2.x. I see "ThankOMaticOnStatsPageXXX.zip" referenced in various posts, but I can't find a download link anywhere. Has it been removed? Is there a URL I can go to to get this add-on? Or is it attached to a post here in some way I can't see?
Thanks,
i have smf rc1 and when i Launching ->
Repair and optimize Thank-O-Matic tables i have this error:
Quote
Fatal error: Call to undefined function thankyoupostupdatelastthankyou() in /home/crazyzone/data/www/crazyzone.biz/Sources/ThankYouPost-Maintaince.php on line 978
this is line 978:
Quote// Update the Last Thank You Post Stats
ThankYouPostUpdateLastThankYou();
}
you know the reason ??
Oho this ia a update for a newer beta... Which beta do you use? :X Or are you up to date with the thank-o-matic?
I'm using everything default on my forum but i dont get a thank you button. The "lock all" button is there but not the thank you button.
Quote from: madsen81 on May 21, 2010, 02:27:50 AM
I'm using everything default on my forum but i dont get a thank you button. The "lock all" button is there but not the thank you button.
i have this:
Thank-O-Matic 2.0 Beta 9
and also NOW ( before worked perfectly ) dont show me the users name that thanked topic look screenshot, and if i click the links for let me show the users list that thanked me, nothing appear and page reload in same topic...
may be i understood the reason i have tabler thank_yo_post
truncate may be making maintenance with thankyou matic maintenance this happened...
i can upgrade my version with your
ThankOMatic20RC1.3_(for_2.0_RC2).zip ? work in Smf RC1 ?
oO you did truncate the thank you matic table? The master table? Or was it a backup...
Hmmm i thought i added this function in the later beta... are you not one of the people who replace the maintaince file?
Quote from: ディン1031 on May 21, 2010, 06:00:42 AM
oO you did truncate the thank you matic table? The master table? Or was it a backup...
Hmmm i thought i added this function in the later beta... are you not one of the people who replace the maintaince file?
yes something truncate thank_you_post table, yes i was one that replaced the maintenance file with new one because not worked good.
What i can do now? please tell me which last version i can install with my forum smf 2 rc1 ?
... okay i never had someone who cleared the master table :(.
As far i know is only one version compatible to RC1 and that was Beta 9 :X. But if you replaced the file ;). Than you can out comment this part, because it's not supported in the beta 9. And it i think it should work =).
HI there,
I am using your Thank You Omatic Mod and everythins are fine except Admin Thank you.
When admin click " Thank You " button, page are totally refresh . Others rank are fine . Just for admin. I'm testing on Curve themes and also happen like that. But when i change Themes to "January 2007" Crips themes and all are fine. Now i'm using over view light (dezinger themes)2.0 RC3.
I am using Latest ThankYouOmatic mod. I installed without no errors default themes and custom themes.
And one condition, if admin is first thank you of the post, it also fine.
Hmmm i tried it last week with an admin acc it does not refresh on the enabeld ajax. Even on new posts. This will only happen if there is a javascript error caused by an other script.
Could you look, if there is one.
Hoping someone can help me. I would like to use this mod on my forum, but I use a custom theme, Siyah Inci. I read through most of the thread and found a suggestion to add this code to the display.template.php of the theme:
// 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'], ';sesc=', $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'], ';sesc=', $context['session_id'], '">', $modSettings['karmaSmiteLabel'], '</a><br />';
// Show online and offline buttons?
if (!empty($modSettings['onlineEnable']) && !$message['member']['is_guest'])
echo '
', $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>' : '', '<br /><br />';
Also added this because I wanted a button, but it didn't work. I'm fine with links though:
// These are some cache image buttons we may want.
$reply_button = create_button('quote.gif', 145, 'smf240', 'align="middle"');
$modify_button = create_button('modify.gif', 66, 17, 'align="middle"');
$remove_button = create_button('delete.gif', 121, 31, 'align="middle"');
$split_button = create_button('split.gif', 'smf251', 'smf251', 'align="middle"');
$thankyoupostpost_button = create_button('thank_you_b.gif', 'thank_you_post_post_b', 'thank_you_post_post_b', 'align="middle"');
$thankyoupostlock_button = create_button('thank_you_b.gif', 'thank_you_post_lock_b', 'thank_you_post_lock_b', 'align="middle"');
$thankyoupostopen_button = create_button('thank_you_b.gif', 'thank_you_post_open_b', 'thank_you_post_open_b', 'align="middle"');
$thankyoupostdelete_button = create_button('thank_you_b.gif', 'thank_you_post_delete_b', 'thank_you_post_delete_b', 'align="middle"');
Image of thank_you_b.gif is in the images/buttons folder of theme directory.
When I do this I get the following:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi892.photobucket.com%2Falbums%2Fac127%2FKisalyn%2Fpost.jpg&hash=0e7636c416ab6ab63cdcd77047aba3db96fe577a)
Two "Thank you" links and no "For this post, 1 member gave a thank you!"
Default theme looks like this:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi892.photobucket.com%2Falbums%2Fac127%2FKisalyn%2Fpost2.jpg&hash=a3b93f716cf2481d7f9b4e5f6a7048dd22155498)
After thank you is given it shows two "lock thank you" and "delete thank you":
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi892.photobucket.com%2Falbums%2Fac127%2FKisalyn%2Fpost3-1.jpg&hash=96bfa7db36ba23bee76102c1af572ecbb3c101f6)
I'm afraid I might have messed up the code because I kept cutting and pasting stuff to see what I could change.
Included is my theme's display.template.php
Any help would be appreciated ^_^
The images are missing in the other theme ;).
Quote from: ディン1031 on May 26, 2010, 12:29:42 AM
The images are missing in the other theme ;).
My custom theme? Because I copied the image file over to my custom theme's images/button folder. I'll double check it when I return home.
Quote from: ディン1031 on May 25, 2010, 04:57:12 AM
Hmmm i tried it last week with an admin acc it does not refresh on the enabeld ajax. Even on new posts. This will only happen if there is a javascript error caused by an other script.
Could you look, if there is one.
Where ? DisplayTemplate.php or index.template.php
Can u check for me?
Hi Din,
I reused your old javascript and solved my admin problem.
But i think, this is not the right way.
It took about an hour but I figured out how to add the buttons! Yay! I found a bunch of images in the default/images/english folder. They never even show up in the default forum anyway, lol. I noted the named files and made my own buttons with the same file names and placed them in custom theme/images/buttons folder and it worked.
Now here's my second question. How do I get rid of the text link now that I figured out how to insert the buttons?
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi892.photobucket.com%2Falbums%2Fac127%2FKisalyn%2Fpost4.jpg&hash=d565792b1fd05686cb7a33f95c1bfaca68704072)
Does it have something to do in here?
// Can do some Thank You Post things :)
if ($message['thank_you_post']['post'] && !$message['thank_you_post']['locked'])
echo '
<a href="', $scripturl, '?action=thankyou;topic=', $context['current_topic'], '.0;msg=', $message['id'], '">', $thankyoupostpost_button, '</a>';
if ($message['thank_you_post']['lock'] && $message['thank_you_post']['isThankYouPost'])
echo '
<a href="', $scripturl, '?action=thankyoupostlock;topic=', $context['current_topic'], '.0;msg=', $message['id'], '">', $message['thank_you_post']['locked'] ? $thankyoupostopen_button : $thankyoupostlock_button, '</a>';
if ($message['thank_you_post']['delete'] && $message['thank_you_post']['isThankYouPost'])
echo '
<a href="', $scripturl, '?action=thankyoupostdelete;topic=', $context['current_topic'], '.0;msg=', $message['id'], ';sesc=', $context['session_id'], '" onclick="return confirm(\'', $txt['remove_thank_you_post'], '?\');">', $thankyoupostdelete_button, '</a>';
The other problem I'm having will come as a separate post after I solve this. It's concerning only admin being able to see these thank you buttons/links.
Any help much appreciated!
Quote from: luckyMM on May 26, 2010, 09:05:21 PM
Hi Din,
I reused your old javascript and solved my admin problem.
But i think, this is not the right way.
That show that my javascript is working like it should and the other script somehow did conflict with it, it's difficult to find the problem. If i had more time i would look at it...
What is the diffrent now between the new and the old? :X
Quote from: Sakuradreams on May 26, 2010, 09:16:53 PM
It took about an hour but I figured out how to add the buttons! Yay! I found a bunch of images in the default/images/english folder. They never even show up in the default forum anyway, lol. I noted the named files and made my own buttons with the same file names and placed them in custom theme/images/buttons folder and it worked.
Now here's my second question. How do I get rid of the text link now that I figured out how to insert the buttons?
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi892.photobucket.com%2Falbums%2Fac127%2FKisalyn%2Fpost4.jpg&hash=d565792b1fd05686cb7a33f95c1bfaca68704072)
Does it have something to do in here?
// Can do some Thank You Post things :)
if ($message['thank_you_post']['post'] && !$message['thank_you_post']['locked'])
echo '
<a href="', $scripturl, '?action=thankyou;topic=', $context['current_topic'], '.0;msg=', $message['id'], '">', $thankyoupostpost_button, '</a>';
if ($message['thank_you_post']['lock'] && $message['thank_you_post']['isThankYouPost'])
echo '
<a href="', $scripturl, '?action=thankyoupostlock;topic=', $context['current_topic'], '.0;msg=', $message['id'], '">', $message['thank_you_post']['locked'] ? $thankyoupostopen_button : $thankyoupostlock_button, '</a>';
if ($message['thank_you_post']['delete'] && $message['thank_you_post']['isThankYouPost'])
echo '
<a href="', $scripturl, '?action=thankyoupostdelete;topic=', $context['current_topic'], '.0;msg=', $message['id'], ';sesc=', $context['session_id'], '" onclick="return confirm(\'', $txt['remove_thank_you_post'], '?\');">', $thankyoupostdelete_button, '</a>';
The other problem I'm having will come as a separate post after I solve this. It's concerning only admin being able to see these thank you buttons/links.
Any help much appreciated!
It's everthing correct, but i think you should create a direct button in that case xD.
i looked at the theme :X
$split_button = create_button('split.gif', 'smf251');
$thankyoupostpost_button = create_button('thank_you_b.gif', 'thank_you_post_post_b', 'thank_you_post_post_b', 'align="middle"');
$thankyoupostlock_button = create_button('thank_you_b.gif', 'thank_you_post_lock_b', 'thank_you_post_lock_b', 'align="middle"');
$thankyoupostopen_button = create_button('thank_you_b.gif', 'thank_you_post_open_b', 'thank_you_post_open_b', 'align="middle"');
$thankyoupostdelete_button = create_button('thank_you_b.gif', 'thank_you_post_delete_b', 'thank_you_post_delete_b', 'align="middle"');
Should be look like:
$split_button = create_button('split.gif', 'smf251');
$thankyoupostpost_button = create_button('thank_you_b.gif', 'thank_you_post_post_b');
$thankyoupostlock_button = create_button('thank_you_b.gif', 'thank_you_post_lock_b');
$thankyoupostopen_button = create_button('thank_you_b.gif', 'thank_you_post_open_b');
$thankyoupostdelete_button = create_button('thank_you_b.gif', 'thank_you_post_delete_b');
I think this should work *g*
It took a long time because I'm such a newbie. Code makes no sense to me >.<
Thanks so much for your help!
EDIT: Nevermind! What I needed was obvious and I found it in permissions.
Hi, from where can I get manual installation instructions for this mod for SMF 1.1.11? I tried the mod download page, but it keeps saying that the mod isn't compatible with that version of SMF? Any help would be much appreciated :)
Did you select the Version 1.2.5 and also select the correct smf version? =).
Quote from: ディン1031 on July 02, 2007, 01:43:46 AM
Quote from: IrealiTY on July 01, 2007, 03:46:07 PM
I have an either problem:
I've instaled it without problems but in the Admin Panel is not Thank-O-Matic Option..no where
Edit: And I can't install the german translation Oo the Paket Manager Says there is no package info and the parser says tah info is corrupt
Hmm normal you should dl it new and try it again ;) (I removed the Version Check for the Langauge Packs...).
Bye
DIN1031
Hello
I have problem with the mod when I use Vietnamese Language Packs. Could you check it for me?
Thank you
10. Execute Modification ThankOMatic1.1.x.mod Modification parse error
11. Execute Modification ThankOMatic1.1.5.Compatible.mod Modification parse error
12. Execute Modification ThankOMaticEnglish.xml Modification parse error
13. Execute Modification - Modification parse error
whats the problem? im using ver 125 and smf ver 1.1.11
Look at your permission setups on your system... that is not mod related... i would asume the package dir is not writeable or the system does not allow to create a temp directory in the packagedir or the unzip function is disabled ;).
Thank you for this mod. I am using it on SMF 1.1.10 and with custom theme Extreme 62.
I installed the package and then manually installed changes on Display.template.php in the Extreme 62 folder.
I also copied the buttons into my Extreme 62 folders. I know I did this correct because I changed the "Split" button to thank_you_b.gif and it displayed properly.
But I cannot get the Thank You and Button to display at all and I have no idea why. I'm putting the code for my Display.Template.php file below if anyone can please help.
<?php
// Version: 1.1; Display
function template_main()
{
global $context, $settings, $options, $txt, $scripturl, $modSettings;
//Display ads on the thread page
if (function_exists("show_threadAds"))
{
$ads = show_threadAds();
if(!empty($ads))
if($ads['type']==0)
echo $ads['content'];
else
eval($ads['content']);
unset($ads);
}
// Show the anchor for the top and for the first message. If the first message is new, say so.
echo '
<a name="top"></a>
<a name="msg', $context['first_message'], '"></a>', $context['first_new_message'] ? '<a name="new"></a>' : '';
// Show the linktree
echo '
<div>', theme_linktree(), '</div>';
// Is this topic also a poll?
if ($context['is_poll'])
{
echo '
<table cellpadding="3" cellspacing="0" border="0" width="100%" class="tborder" style="padding-top: 0; margin-bottom: 2ex;">
<tr>
<td class="titlebg" colspan="2" valign="middle" style="padding-left: 6px;">
<img src="', $settings['images_url'], '/topic/', $context['poll']['is_locked'] ? 'normal_poll_locked' : 'normal_poll', '.gif" alt="" align="bottom" /> ', $txt['smf43'], '
</td>
</tr>
<tr>
<td width="5%" valign="top" class="windowbg"><b>', $txt['smf21'], ':</b></td>
<td class="windowbg">
', $context['poll']['question'];
if (!empty($context['poll']['expire_time']))
echo '
(', ($context['poll']['is_expired'] ? $txt['poll_expired_on'] : $txt['poll_expires_on']), ': ', $context['poll']['expire_time'], ')';
// Are they not allowed to vote but allowed to view the options?
if ($context['poll']['show_results'] || !$context['allow_vote'])
{
echo '
<table>
<tr>
<td style="padding-top: 2ex;">
<table border="0" cellpadding="0" cellspacing="0">';
// Show each option with its corresponding percentage bar.
foreach ($context['poll']['options'] as $option)
echo '
<tr>
<td style="padding-right: 2ex;', $option['voted_this'] ? 'font-weight: bold;' : '', '">', $option['option'], '</td>', $context['allow_poll_view'] ? '
<td nowrap="nowrap">' . $option['bar'] . ' ' . $option['votes'] . ' (' . $option['percent'] . '%)</td>' : '', '
</tr>';
echo '
</table>
</td>
<td valign="bottom" style="padding-left: 15px;">';
// If they are allowed to revote - show them a link!
if ($context['allow_change_vote'])
echo '
<a href="', $scripturl, '?action=vote;topic=', $context['current_topic'], '.', $context['start'], ';poll=', $context['poll']['id'], ';sesc=', $context['session_id'], '">', $txt['poll_change_vote'], '</a><br />';
// If we're viewing the results... maybe we want to go back and vote?
if ($context['poll']['show_results'] && $context['allow_vote'])
echo '
<a href="', $scripturl, '?topic=', $context['current_topic'], '.', $context['start'], '">', $txt['poll_return_vote'], '</a><br />';
// If they're allowed to lock the poll, show a link!
if ($context['poll']['lock'])
echo '
<a href="', $scripturl, '?action=lockVoting;topic=', $context['current_topic'], '.', $context['start'], ';sesc=', $context['session_id'], '">', !$context['poll']['is_locked'] ? $txt['smf30'] : $txt['smf30b'], '</a><br />';
// If they're allowed to edit the poll... guess what... show a link!
if ($context['poll']['edit'])
echo '
<a href="', $scripturl, '?action=editpoll;topic=', $context['current_topic'], '.', $context['start'], '">', $txt['smf39'], '</a>';
echo '
</td>
</tr>', $context['allow_poll_view'] ? '
<tr>
<td colspan="2"><b>' . $txt['smf24'] . ': ' . $context['poll']['total_votes'] . '</b></td>
</tr>' : '', '
</table><br />';
}
// 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'], '" style="margin: 0px;">
<table>
<tr>
<td colspan="2">';
// Show a warning if they are allowed more than one option.
if ($context['poll']['allowed_warning'])
echo '
', $context['poll']['allowed_warning'], '
</td>
</tr><tr>
<td>';
// Show each option with its button - a radio likely.
foreach ($context['poll']['options'] as $option)
echo '
', $option['vote_button'], ' ', $option['option'], '<br />';
echo '
</td>
<td valign="bottom" style="padding-left: 15px;">';
// Allowed to view the results? (without voting!)
if ($context['allow_poll_view'])
echo '
<a href="', $scripturl, '?topic=', $context['current_topic'], '.', $context['start'], ';viewResults">', $txt['smf29'], '</a><br />';
// Show a link for locking the poll as well...
if ($context['poll']['lock'])
echo '
<a href="', $scripturl, '?action=lockVoting;topic=', $context['current_topic'], '.', $context['start'], ';sesc=', $context['session_id'], '">', (!$context['poll']['is_locked'] ? $txt['smf30'] : $txt['smf30b']), '</a><br />';
// Want to edit it? Click right here......
if ($context['poll']['edit'])
echo '
<a href="', $scripturl, '?action=editpoll;topic=', $context['current_topic'], '.', $context['start'], '">', $txt['smf39'], '</a>';
echo '
</td>
</tr>
<tr>
<td colspan="2"><input type="submit" value="', $txt['smf23'], '" /></td>
</tr>
</table>
<input type="hidden" name="sc" value="', $context['session_id'], '" />
</form>';
}
echo '
</td>
</tr>
</table>';
}
// Does this topic have some events linked to it?
if (!empty($context['linked_calendar_events']))
{
echo '
<table cellpadding="3" cellspacing="0" border="0" width="100%" class="tborder" style="padding-top: 0; margin-bottom: 3ex;">
<tr>
<td class="titlebg" valign="middle" align="left" style="padding-left: 6px;">
', $txt['calendar_linked_events'], '
</td>
</tr>
<tr>
<td width="5%" valign="top" class="windowbg">
<ul>';
foreach ($context['linked_calendar_events'] as $event)
echo '
<li>
', ($event['can_edit'] ? '<a href="' . $event['modify_href'] . '" style="color: red;">*</a> ' : ''), '<b>', $event['title'], '</b>: ', $event['start_date'], ($event['start_date'] != $event['end_date'] ? ' - ' . $event['end_date'] : ''), '
</li>';
echo '
</ul>
</td>
</tr>
</table>';
}
// Build the normal button array.
$normal_buttons = array(
'reply' => array('test' => 'can_reply', 'text' => 146, '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' => 125, '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'] . ';sesc=' . $context['session_id']),
'custom' => array(),
'send' => array('test' => 'can_send_topic', 'text' => 707, 'image' => 'sendtopic.gif', 'lang' => true, 'url' => $scripturl . '?action=sendtopic;topic=' . $context['current_topic'] . '.0'),
'print' => array('text' => 465, 'image' => 'print.gif', 'lang' => true, 'custom' => 'target="_blank"', 'url' => $scripturl . '?action=printpage;topic=' . $context['current_topic'] . '.0'),
);
// Special case for the custom one.
if ($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']);
elseif ($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']);
else
unset($normal_buttons['custom']);
//Special Lock for the Thank You :)
if($context['thank_you_lock_allowed'])
if(empty($context['is_thank_you_post_locked']))
$normal_buttons['thankyoupostlock'] = array('text' => 'thank_you_post_lock_all_b', 'image' => 'thank_you_lock1.gif', 'lang' => true, 'url' => $scripturl . '?action=thankyoupostcloseall;topic=' . $context['current_topic']);
else
$normal_buttons['thankyoupostlock'] = array('text' => 'thank_you_post_open_all_b', 'image' => 'thank_you_lock2.gif', 'lang' => true, 'url' => $scripturl . '?action=thankyoupostcloseall;topic=' . $context['current_topic']);
//A Fix for later, if some Translations are not Updated
if(empty($txt['thank_you_link_aftercounters']))
$txt['thank_you_link_aftercounters'] = $txt['thank_you_link_aftercounter'];
// Show the page index... "Pages: [1]".
echo '
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="middletext" valign="bottom" style="padding-bottom: 4px;">', $txt[139], ': ', $context['page_index'], !empty($modSettings['topbottomEnable']) ? $context['menu_separator'] . ' <a href="#lastPost"><b>' . $txt['topbottom5'] . '</b></a>' : '', '</td>
<td align="right" style="padding-right: 1ex;">
<div class="nav" style="margin-bottom: 2px;"> ', $context['previous_next'], '</div>
<div style="margin-bottom: -1px;">
<table cellpadding="0" cellspacing="0">
<tr>
', template_button_strip($normal_buttons, 'bottom'), '
</tr>
</table>
</div>
</td>
</tr>
</table>';
// Show the topic information - icon, subject, etc.
echo '
<div class="catbgf-l">
<div class="catbgf-r">
<div class="catbgf">
</div>
</div>
</div>
<table width="100%" cellpadding="3" cellspacing="0" border="0" class="tborder" style="border-bottom: 0;">
<tr class="titlebg">
<td valign="middle" width="2%" style="padding-left: 6px;">
<img src="', $settings['images_url'], '/topic/', $context['class'], '.gif" align="bottom" alt="" />
</td>
<td width="13%"> ', $txt[29], '</td>
<td valign="middle" width="85%" style="padding-left: 6px;" id="top_subject">
', $txt[118], ': ', $context['subject'], ' (', $txt[641], ' ', $context['num_views'], ' ', $txt[642], ')
</td>
</tr>';
if (!empty($settings['display_who_viewing']))
{
echo '
<tr>
<td colspan="3" class="smalltext">'
;
// Show just numbers...?
if ($settings['display_who_viewing'] == 1)
echo count($context['view_members']), ' ', count($context['view_members']) == 1 ? $txt['who_member'] : $txt[19];
// Or show the actual people viewing the topic?
else
echo empty($context['view_members_list']) ? '0 ' . $txt[19] : 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'], '
</td></tr>';
if (function_exists("show_posts"))
{
if ($adpost = show_posts($adcounter))
{
if($modSettings['ads_lookLikePosts'])
{
echo '
<tr><td style="padding: 1px 1px 0 1px;">
<table width="100%" cellpadding="3" cellspacing="0" border="0">
<tr><td class="windowbg3">
<table width="100%" cellpadding="5" cellspacing="0" style="table-layout: fixed;">
<tr>
<td valign="top" width="16%" rowspan="2" style="overflow: hidden;">
<b>', $context['forum_name'], '</b>
<div class="smalltext">
</div>
</td>
<td valign="top" width="85%" height="100%">
<table width="100%" border="0"><tr>
<td valign="middle"><img src="', $message['icon_url'] . '" alt="" border="0" /></td>
<td valign="middle">
<div style="font-weight: bold;" id="subject_', $message['id'], '">
<a href="', $message['href'], '">', $message['subject'], '</a>
</div>
<div class="smalltext">&#171; <b>', !empty($message['counter']) ? $txt[146] . ' #' . $message['counter'] : '', ' ', $txt[30], ':</b> ', $message['time'], ' &#187;</div></td>
<td align="', !$context['right_to_left'] ? 'right' : 'left', '" valign="bottom" height="20" style="font-size: smaller;">';
if ($context['can_reply'] && !empty($options['display_quick_reply']))
echo '
', $reply_button, '';
// So... quick reply is off, but they *can* reply?
elseif ($context['can_reply'])
echo '
', $reply_button, '';
// Can the user modify the contents of this post?
if ($message['can_modify'])
echo '
', $modify_button, '';
// How about... even... remove it entirely?!
if ($message['can_remove'])
echo '
', $remove_button, '';
// What about splitting it off the rest of the topic?
if ($context['can_split'])
echo '
', $split_button, '';
// What about splitting it off the rest of the topic?
if ($message['can_thankyoupostpost'])
echo '
', $thankyoupostpost_button, '';
// What about splitting it off the rest of the topic?
if ($message['can_thankyoupostlock'])
echo '
', $thankyoupostlock_button, '';
// What about splitting it off the rest of the topic?
if ($message['can_thankyoupostopen'])
echo '
', $thankyoupostopen_button, '';
// What about splitting it off the rest of the topic?
if ($message['can_thankyoupostdelete'])
echo '
', $thankyoupostdelete_button, '';
echo '
</td>
</tr></table>
<hr width="100%" size="1" class="hrcolor" />
<div class="post">', $adpost['type'] == 0 ? $adpost['content'] : eval($adpost['content']) , '</div>
</td>
</tr>
<tr>
<td valign="bottom" class="smalltext" width="85%">
<table width="100%" border="0" style="table-layout: fixed;"><tr>
<td colspan="2" class="smalltext" width="100%">
</tr><tr>
<td valign="bottom" class="smalltext" id="modified_', $message['id'], '">
</td>
<td align="', !$context['right_to_left'] ? 'right' : 'left', '" valign="bottom" class="smalltext">
<img src="', $settings['images_url'], '/ip.gif" alt="" border="0" /> ', $txt[511], '
</td>
</tr></table>
</tr>
</table>
</td></tr>
</table>
</td></tr>';
}
else
echo '
<tr><td style="padding: 1px 1px 0 1px;">
<table width="100%" cellpadding="3" cellspacing="0" border="0">
<tr>
<td class="windowbg3">', $adpost['type'] == 0 ? $adpost['content'] : eval($adpost['content']) , '</td>
</tr>
</table>
</td></tr>';
}
}
}
if(function_exists("show_lastpostAds") && function_exists("show_posts"))
{
if(($ads = show_lastpostAds()) && !show_posts($adcounter))
{
if($modSettings['ads_lookLikePosts'])
{
echo '
<tr><td style="padding: 1px 1px 0 1px;">
<table width="100%" cellpadding="3" cellspacing="0" border="0">
<tr><td class="windowbg3">
<table width="100%" cellpadding="5" cellspacing="0" style="table-layout: fixed;">
<tr>
<td valign="top" width="16%" rowspan="2" style="overflow: hidden;">
<b>', $context['forum_name'], '</b>
<div class="smalltext">
</div>
</td>
<td valign="top" width="85%" height="100%">
<table width="100%" border="0"><tr>
<td valign="middle"> </td>
<td valign="middle">
</td>
<td align="', !$context['right_to_left'] ? 'right' : 'left', '" valign="bottom" height="20" style="font-size: smaller;">';
if ($context['can_reply'] && !empty($options['display_quick_reply']))
echo '
', $reply_button, '';
// So... quick reply is off, but they *can* reply?
elseif ($context['can_reply'])
echo '
', $reply_button, '';
echo '
</td>
</tr></table>
<hr width="100%" size="1" class="hrcolor" />
<div class="post">', $ads['type'] == 0 ? $ads['content'] : eval($ads['content']) , '</div>
</td>
</tr>
<tr>
<td valign="bottom" class="smalltext" width="85%">
<table width="100%" border="0" style="table-layout: fixed;"><tr>
<td colspan="2" class="smalltext" width="100%">
</tr><tr>
<td valign="bottom" class="smalltext" id="modified_', $message['id'], '">
</td>
<td align="', !$context['right_to_left'] ? 'right' : 'left', '" valign="bottom" class="smalltext">
<img src="', $settings['images_url'], '/ip.gif" alt="" border="0" /> ', $txt[511], '
</td>
</tr></table>
</tr>
</table>
</td></tr>
</table>
</td></tr>';
}
else
echo '
<tr><td style="padding: 1px 1px 0 1px;">
<table width="100%" cellpadding="3" cellspacing="0" border="0">
<tr>
<td class="windowbg3">', $ads['type'] == 0 ? $ads['content'] : eval($ads['content']) , '</td>
</tr>
</table>
</td></tr>';
}
}
echo '
</table>';
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 in_edit_mode == 1 ? modify_save(\'' . $context['session_id'] . '\') : confirm(\'' . $txt['quickmod_confirm'] . '\');">';
// These are some cache image buttons we may want.
$respond_button = create_button('reply.gif', 505, 'smf244', 'align="middle"');
$reply_button = create_button('quote.gif', 145, 'smf240', 'align="middle"');
$modify_button = create_button('modify.gif', 66, 17, 'align="middle"');
$remove_button = create_button('delete.gif', 121, 31, 'align="middle"');
$split_button = create_button('split.gif', 'smf251', 'smf251', 'align="middle"');
$thankyoupostpost_button = create_button('thank_you_b.gif', 'thank_you_post_post_b', 'thank_you_post_post_b', 'align="middle"');
$thankyoupostlock_button = create_button('thank_you_b.gif', 'thank_you_post_lock_b', 'thank_you_post_lock_b', 'align="middle"');
$thankyoupostopen_button = create_button('thank_you_b.gif', 'thank_you_post_open_b', 'thank_you_post_open_b', 'align="middle"');
$thankyoupostdelete_button = create_button('thank_you_b.gif', 'thank_you_post_delete_b', 'thank_you_post_delete_b', 'align="middle"');
// Time to display all the posts
echo '
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="bordercolor">';
//Ad Counter
$adcounter =0;
// Get all the messages...
while ($message = $context['get_message']())
{
$adcounter++;
echo '
<tr><td style="padding: 1px 1px 0 1px;">';
// 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 '
<table width="100%" cellpadding="3" cellspacing="0" border="0">
<tr><td class="', $message['alternate'] == 0 ? 'windowbg' : 'windowbg2', '">';
// Show information about the poster of this message.
echo '
<table width="100%" cellpadding="5" cellspacing="0" style="table-layout: fixed;">
<tr>
<td valign="top" width="16%" rowspan="2" style="overflow: hidden;">
<div class="profile-l">
<div class="profile-r">
<div class="profile">
<b>', $message['member']['link'], '</b>
<div class="smalltext">';
// Show the member's custom title, if they have one.
if (isset($message['member']['title']) && $message['member']['title'] != '')
echo '
', $message['member']['title'], '<br />';
// Show the member's primary group (like 'Administrator') if they have one.
if (isset($message['member']['group']) && $message['member']['group'] != '')
echo '
', $message['member']['group'], '<br />';
// 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 '
', $message['member']['post_group'], '<br />';
echo '
', $message['member']['group_stars'], '<br />';
// 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'], ';sesc=', $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'], ';sesc=', $context['session_id'], '">', $modSettings['karmaSmiteLabel'], '</a><br />';
// Show online and offline buttons?
if (!empty($modSettings['onlineEnable']) && !$message['member']['is_guest'])
echo '
', $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>' : '', '<br /><br />';
// Show the member's gender icon?
if (!empty($settings['show_gender']) && $message['member']['gender']['image'] != '')
echo '
', $txt[231], ': ', $message['member']['gender']['image'], '<br />';
// Show how many posts they have made.
echo '
', $txt[26], ': ', $message['member']['posts'], '<br />
<br />';
if(!empty($modSettings['thankYouPostDisplayPage'])) {
echo '
', $txt['thank_you_post_thx_display'], '<br />
-', $txt['thank_you_post_made_display'], ': ', $message['member']['thank_you_post']['made'], '<br />
-', $txt['thank_you_post_became_display'], ': ', $message['member']['thank_you_post']['became'], '<br />
<br />';
}
// Show avatars, images, etc.?
if (!empty($settings['show_user_images']) && empty($options['show_no_avatars']) && !empty($message['member']['avatar']['image']))
echo '
<div style="overflow: auto; width: 100%;">', $message['member']['avatar']['image'], '</div><br />';
// Show their personal text?
if (!empty($settings['show_blurb']) && $message['member']['blurb'] != '')
echo '
', $message['member']['blurb'], '<br />
<br />';
// This shows the popular messaging icons.
echo '
', $message['member']['icq']['link'], '
', $message['member']['msn']['link'], '
', $message['member']['aim']['link'], '
', $message['member']['yim']['link'], '<br />';
// Show the profile, website, email address, and personal message buttons.
if ($settings['show_profile_buttons'])
{
// Don't show the profile button if you're not allowed to view the profile.
if ($message['member']['can_view_profile'])
echo '
<a href="', $message['member']['href'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/icons/profile_sm.gif" alt="' . $txt[27] . '" title="' . $txt[27] . '" border="0" />' : $txt[27]), '</a>';
// Don't show an icon if they haven't specified a website.
if ($message['member']['website']['url'] != '')
echo '
<a href="', $message['member']['website']['url'], '" title="' . $message['member']['website']['title'] . '" target="_blank">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/www_sm.gif" alt="' . $txt[515] . '" border="0" />' : $txt[515]), '</a>';
// Don't show the email address if they want it hidden.
if (empty($message['member']['hide_email']))
echo '
<a href="mailto:', $message['member']['email'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/email_sm.gif" alt="' . $txt[69] . '" title="' . $txt[69] . '" border="0" />' : $txt[69]), '</a>';
// 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']['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>';
}
}
// Otherwise, show the guest's email.
elseif (empty($message['member']['hide_email']))
echo '
<br />
<br />
<a href="mailto:', $message['member']['email'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/email_sm.gif" alt="' . $txt[69] . '" title="' . $txt[69] . '" border="0" />' : $txt[69]), '</a>';
// Done with the information about the poster... on to the post itself.
echo '
</div></div></div></div>
</td>
<td valign="top" width="85%" height="100%">
<table width="100%" border="0"><tr>
<td valign="middle"><a href="', $message['href'], '"><img src="', $message['icon_url'] . '" alt="" border="0" /></a></td>
<td valign="middle">
<div style="font-weight: bold;" id="subject_', $message['id'], '">
<a href="', $message['href'], '">', $message['subject'], '</a>
</div>';
// If this is the first post, (#0) just say when it was posted - otherwise give the reply #.
echo '
<div class="smalltext">&#171; <b>', !empty($message['counter']) ? $txt[146] . ' #' . $message['counter'] : '', ' ', $txt[30], ':</b> ', $message['time'], ' &#187;</div></td>
<td align="', !$context['right_to_left'] ? 'right' : 'left', '" valign="bottom" height="20" style="font-size: smaller;">';
// Simple Reply Button
if ($context['can_reply'] && !empty($options['display_quick_reply']))
echo '<a href="#quickreply">', $respond_button, '</a>';
else
echo '<a href="', $scripturl . '?action=post;topic=' . $context['current_topic'] . '.' . $context['start'] . ';num_replies=' . $context['num_replies'], '">', $respond_button, '</a>';
// Can they reply? Have they turned on quick reply?
if ($context['can_reply'] && !empty($options['display_quick_reply']))
echo '
<a href="', $scripturl, '?action=post;quote=', $message['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';num_replies=', $context['num_replies'], ';sesc=', $context['session_id'], '" onclick="doQuote(', $message['id'], ', \'', $context['session_id'], '\'); return false;">', $reply_button, '</a>';
// So... quick reply is off, but they *can* reply?
elseif ($context['can_reply'])
echo '
<a href="', $scripturl, '?action=post;quote=', $message['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';num_replies=', $context['num_replies'], ';sesc=', $context['session_id'], '">', $reply_button, '</a>';
// Can the user modify the contents of this post?
if ($message['can_modify'])
echo '
<a href="', $scripturl, '?action=post;msg=', $message['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';sesc=', $context['session_id'], '">', $modify_button, '</a>';
// How about... even... remove it entirely?!
if ($message['can_remove'])
echo '
<a href="', $scripturl, '?action=deletemsg;topic=', $context['current_topic'], '.', $context['start'], ';msg=', $message['id'], ';sesc=', $context['session_id'], '" onclick="return confirm(\'', $txt[154], '?\');">', $remove_button, '</a>';
// What about splitting it off the rest of the topic?
if ($context['can_split'])
echo '
<a href="', $scripturl, '?action=splittopics;topic=', $context['current_topic'], '.0;at=', $message['id'], '">', $split_button, '</a>';
if ($context['can_split'])
// Can do some Thank You Post things :)
if ($message['thank_you_post']['post'] && !$message['thank_you_post']['locked'])
echo '
<a href="', $scripturl, '?action=thankyou;topic=', $context['current_topic'], '.0;msg=', $message['id'], '">', $thankyoupostpost_button, '</a>';
if ($message['thank_you_post']['lock'] && $message['thank_you_post']['isThankYouPost'])
echo '
<a href="', $scripturl, '?action=thankyoupostlock;topic=', $context['current_topic'], '.0;msg=', $message['id'], '">', $message['thank_you_post']['locked'] ? $thankyoupostopen_button : $thankyoupostlock_button, '</a>';
if ($message['thank_you_post']['delete'] && $message['thank_you_post']['isThankYouPost'])
echo '
<a href="', $scripturl, '?action=thankyoupostdelete;topic=', $context['current_topic'], '.0;msg=', $message['id'], ';sesc=', $context['session_id'], '" onclick="return confirm(\'', $txt['remove_thank_you_post'], '?\');">', $thankyoupostdelete_button, '</a>';
// Show a checkbox for quick moderation?
if (!empty($options['display_quick_mod']) && $options['display_quick_mod'] == 1 && $message['can_remove'])
echo '
<input type="checkbox" name="msgs[]" value="', $message['id'], '" class="check" ', empty($settings['use_tabs']) ? 'onclick="document.getElementById(\'quickmodSubmit\').style.display = \'\';"' : '', ' />';
// Show the post itself, finally!
echo '
</td>
</tr></table>
<hr width="100%" size="1" class="hrcolor" />
<div class="post"', $message['can_modify'] ? ' id="msg_' . $message['id'] . '"' : '', '>', $message['body'], '</div>', $message['can_modify'] ? '
<img src="' . $settings['images_url'] . '/icons/modify_inline.gif" alt="" align="right" id="modify_button_' . $message['id'] . '" style="cursor: pointer; display: none;" onclick="modify_msg(\'' . $message['id'] . '\', \'' . $context['session_id'] . '\')" />' : '' , '
</td>
</tr>';
// Now for the attachments, signature, ip logged, etc...
echo '
<tr>
<td valign="bottom" class="smalltext" width="85%">
<table width="100%" border="0" style="table-layout: fixed;"><tr>
<td colspan="2" class="smalltext" width="100%">';
// Assuming there are attachments...
if (!empty($message['attachment']))
{
echo '
<hr width="100%" size="1" class="hrcolor" />
<div style="overflow: auto; width: 100%;">';
foreach ($message['attachment'] as $attachment)
{
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> (', $attachment['size'], ($attachment['is_image'] ? ', ' . $attachment['real_width'] . 'x' . $attachment['real_height'] . ' - ' . $txt['attach_viewed'] : ' - ' . $txt['attach_downloaded']) . ' ' . $attachment['downloads'] . ' ' . $txt['attach_times'] . '.)<br />';
}
echo '
</div>';
}
//Show the Thank You list or the link or.... nothing? XD
if ($message['thank_you_post']['isThankYouPost']) {
echo '
</tr><tr class="ThankOMatic">
<td colspan="2" class="smalltext" width="100%">
<hr width="100%" size="1" class="hrcolor" />';
if(!empty($context['thank_you_post'][$message['id']])) {
echo '
<p>'.$txt['followgiveathank'].'</p><p>';
foreach($context['thank_you_post'][$message['id']]['fulllist'] as $thx)
echo $thx['link'].(!empty($thx['deletelink']) ? $thx['deletelink'] : '').($thx['last'] ? '' : ', ');
echo '
</p>';
}
//Counter and Link to the direkt or complete list :)
echo '
<a href="'.$message['thank_you_post']['href'].'">
'.$txt['thank_you_link_beforecounter'].' '.$message['thank_you_post']['counter'].' '.($message['thank_you_post']['counter'] == 1 ? $txt['thank_you_link_member'] : $txt['thank_you_link_members']).' '.($message['thank_you_post']['counter'] == 1 ? $txt['thank_you_link_aftercounter'] : $txt['thank_you_link_aftercounters']).'
</a>';
if($message['thank_you_post']['locked'])
echo '<br />
<span class="smalltext"><i>'.$txt['thank_you_is_locked'].'</i></span>';
}
echo '
</td>
</tr><tr>
<td valign="bottom" class="smalltext" 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; <i>', $txt[211], ': ', $message['modified']['time'], ' ', $txt[525], ' ', $message['modified']['name'], '</i> &#187;';
echo '
</td>
<td align="', !$context['right_to_left'] ? 'right' : 'left', '" valign="bottom" class="smalltext">';
// 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['rtm1'], '</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[511], '</a>';
// Otherwise, you see NOTHING!
else
echo '
', $txt[511];
echo '
</td>
</tr></table>';
// Show the member's signature?
if (!empty($message['member']['signature']) && empty($options['show_no_signatures']))
echo '
<hr width="100%" size="1" class="hrcolor" />
<div class="signature">', $message['member']['signature'], '</div>';
echo '
</td>
</tr>
</table>
</td></tr>
<tr>
<td class="windowbg3"><br />
</td>
</tr>
</table>
</td></tr>';
//Google Adsense
if ($message['id'] == $context['first_message'])
echo '
<tr><td style="padding: 1px 1px 0 1px;">
<table width="100%" cellpadding="3" cellspacing="0" border="0">
<tr><td class="windowbg3"><br />
</td>
</tr>
</table>
</td></tr>';
echo '
<tr><td style="padding: 0 0 1px 0;"></td></tr>
</table>
<a name="lastPost"></a>';
// 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[139], ': ', $context['page_index'], !empty($modSettings['topbottomEnable']) ? $context['menu_separator'] . ' <a href="#top"><b>' . $txt['topbottom4'] . '</b></a>' : '', '</td>
<td align="right" style="padding-right: 1ex;">
<table cellpadding="0" cellspacing="0">
<tr>
', template_button_strip($normal_buttons, 'top', true), '
</tr>
</table>
</td>
</tr>
</table>';
if ($context['show_spellchecking'])
echo '
<script language="JavaScript" type="text/javascript" src="' . $settings['default_theme_url'] . '/spellcheck.js"></script>';
echo '
<script language="JavaScript" type="text/javascript" src="' . $settings['default_theme_url'] . '/xml_topic.js"></script>
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
quickReplyCollapsed = ', !empty($options['display_quick_reply']) && $options['display_quick_reply'] == 2 ? 'false' : 'true', ';
smf_topic = ', $context['current_topic'], ';
smf_start = ', $context['start'], ';
smf_show_modify = ', $settings['show_modify'] ? '1' : '0', ';
// On quick modify, this is what the body will look like.
var smf_template_body_edit = \'<div id="error_box" style="padding: 4px; color: red;"></div><textarea class="editor" name="message" rows="12" style="width: 94%; margin-bottom: 10px;">%body%</textarea><br /><input type="hidden" name="sc" value="', $context['session_id'], '" /><input type="hidden" name="topic" value="', $context['current_topic'], '" /><input type="hidden" name="msg" value="%msg_id%" /><div style="text-align: center;"><input type="submit" name="post" value="', $txt[10], '" onclick="return modify_save(\\\'' . $context['session_id'] . '\\\');" accesskey="s" /> ', $context['show_spellchecking'] ? '<input type="button" value="' . $txt['spell_check'] . '" onclick="spellCheck(\\\'quickModForm\\\', \\\'message\\\');" /> ' : '', '<input type="submit" name="cancel" value="', $txt['modify_cancel'], '" onclick="return modify_cancel();" /></div>\';
// And this is the replacement for the subject.
var smf_template_subject_edit = \'<input type="text" name="subject" value="%subject%" size="60" style="width: 99%;" maxlength="80" />\';
// Restore the message to this after editing.
var smf_template_body_normal = \'%body%\';
var smf_template_subject_normal = \'<a href="', $scripturl, '?topic=', $context['current_topic'], '.msg%msg_id%#msg%msg_id%">%subject%</a>\';
var smf_template_top_subject = "', $txt[118], ': %subject% (', $txt[641], ' ', $context['num_views'], ' ', $txt[642], ')"
if (window.XMLHttpRequest)
showModifyButtons();
// ]]></script>
<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>';
$mod_buttons = array(
'move' => array('test' => 'can_move', 'text' => 132, 'image' => 'admin_move.gif', 'lang' => true, 'url' => $scripturl . '?action=movetopic;topic=' . $context['current_topic'] . '.0'),
'delete' => array('test' => 'can_delete', 'text' => 63, 'image' => 'admin_rem.gif', 'lang' => true, 'custom' => 'onclick="return confirm(\'' . $txt[162] . '\');"', 'url' => $scripturl . '?action=removetopic2;topic=' . $context['current_topic'] . '.0;sesc=' . $context['session_id']),
'lock' => array('test' => 'can_lock', 'text' => empty($context['is_locked']) ? 'smf279' : 'smf280', 'image' => 'admin_lock.gif', 'lang' => true, 'url' => $scripturl . '?action=lock;topic=' . $context['current_topic'] . '.' . $context['start'] . ';sesc=' . $context['session_id']),
'sticky' => array('test' => 'can_sticky', 'text' => empty($context['is_sticky']) ? 'smf277' : 'smf278', 'image' => 'admin_sticky.gif', 'lang' => true, 'url' => $scripturl . '?action=sticky;topic=' . $context['current_topic'] . '.' . $context['start'] . ';sesc=' . $context['session_id']),
'merge' => array('test' => 'can_merge', 'text' => 'smf252', 'image' => 'merge.gif', 'lang' => true, 'url' => $scripturl . '?action=mergetopics;board=' . $context['current_board'] . '.0;from=' . $context['current_topic']),
'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']),
'calendar' => array('test' => 'calendar_post', 'text' => 'calendar37', 'image' => 'linktocal.gif', 'lang' => true, 'url' => $scripturl . '?action=post;calendar;msg=' . $context['topic_first_message'] . ';topic=' . $context['current_topic'] . '.0;sesc=' . $context['session_id']),
);
if ($context['can_remove_post'] && !empty($options['display_quick_mod']) && $options['display_quick_mod'] == 1)
$mod_buttons[] = array('text' => 'quickmod_delete_selected', 'image' => 'delete_selected.gif', 'lang' => true, 'custom' => 'onclick="return confirm(\'' . $txt['quickmod_confirm'] . '\');" id="quickmodSubmit"', 'url' => 'javascript:document.quickModForm.submit();');
if($context['thank_you_post_unlock_all'])
$mod_buttons[] = array('text' => 'thank_you_post_unlock_all', 'image' => 'thankyoulock2.gif', 'lang' => true, 'url' => $scripturl . '?action=thankyoupostunlockall;topic=' . $context['current_topic'] . '.0');
echo '
<table cellpadding="0" cellspacing="0" border="0" style="margin-left: 1ex;">
<tr>
', template_button_strip($mod_buttons, 'bottom') , '
</tr>
</table>';
if (!empty($options['display_quick_mod']) && $options['display_quick_mod'] == 1 && $context['can_remove_post'])
echo '
<input type="hidden" name="sc" value="', $context['session_id'], '" />';
if (empty($settings['use_tabs']))
echo '
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
document.getElementById("quickmodSubmit").style.display = "none";
// ]]></script>';
echo '
</form>';
echo '
<div class="tborder"><div class="ctbg" style="padding: 4px;" align="', !$context['right_to_left'] ? 'right' : 'left', '">
<form action="', $scripturl, '" method="get" accept-charset="', $context['character_set'], '" style="padding:0; margin: 0;">
<span class="smalltext">' . $txt[160] . ':</span>
<select name="jumpto" id="jumpto" onchange="if (this.selectedIndex > 0 && this.options[this.selectedIndex].value) window.location.href = smf_scripturl + this.options[this.selectedIndex].value.substr(smf_scripturl.indexOf(\'?\') == -1 || this.options[this.selectedIndex].value.substr(0, 1) != \'?\' ? 0 : 1);">
<option value="">' . $txt[251] . ':</option>';
foreach ($context['jump_to'] as $category)
{
echo '
<option value="" disabled="disabled">-----------------------------</option>
<option value="#', $category['id'], '">', $category['name'], '</option>
<option value="" disabled="disabled">-----------------------------</option>';
foreach ($category['boards'] as $board)
echo '
<option value="?board=', $board['id'], '.0"', $board['is_current'] ? ' selected="selected"' : '', '> ' . str_repeat('==', $board['child_level']) . '=> ' . $board['name'] . '</option>';
}
echo '
</select>
<input type="button" value="', $txt[161], '" onclick="if (this.form.jumpto.options[this.form.jumpto.selectedIndex].value) window.location.href = \'', $scripturl, '\' + this.form.jumpto.options[this.form.jumpto.selectedIndex].value;" />
</form>
</div></div>';
echo '<br />';
if ($context['can_reply'] && !empty($options['display_quick_reply']))
{
echo '
<a name="quickreply"></a>
<div class="catbgf-l">
<div class="catbgf-r">
<div class="catbgf" style="padding: 5px 0 0 10px;">
<a href="javascript:swapQuickReply();"><img src="', $settings['images_url'], '/', $options['display_quick_reply'] == 2 ? 'collapse' : 'expand', '.gif" alt="+" id="quickReplyExpand" /></a> <a href="javascript:swapQuickReply();">', $txt['quick_reply_1'], '</a>
</div>
</div>
</div>
<table border="0" cellspacing="1" cellpadding="3" class="bordercolor" width="100%" style="clear: both;">
<tr id="quickReplyOptions"', $options['display_quick_reply'] == 2 ? '' : ' style="display: none"', '>
<td class="windowbg" width="25%" valign="top">', $txt['quick_reply_2'], $context['is_locked'] ? '<br /><br /><b>' . $txt['quick_reply_warning'] . '</b>' : '', '</td>
<td class="windowbg" width="75%" align="center">
<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="notify" value="', $context['is_marked_notify'] || !empty($options['auto_notify']) ? '1' : '0', '" />
<input type="hidden" name="goback" value="', empty($options['return_to_post']) ? '0' : '1', '" />
<input type="hidden" name="num_replies" value="', $context['num_replies'], '" />
<textarea cols="75" rows="7" style="width: 95%; height: 100px;" name="message" tabindex="1"></textarea><br />
<input type="submit" name="post" value="' . $txt[105] . '" onclick="return submitThisOnce(this);" accesskey="s" tabindex="2" />
<input type="submit" name="preview" value="' . $txt[507] . '" onclick="return submitThisOnce(this);" accesskey="p" tabindex="4" />';
if ($context['show_spellchecking'])
echo '
<input type="button" value="', $txt['spell_check'], '" onclick="spellCheck(\'postmodify\', \'message\');" tabindex="5"/>';
echo '
<input type="hidden" name="sc" value="' . $context['session_id'] . '" />
<input type="hidden" name="seqnum" value="', $context['form_sequence_number'], '" />
</form>
</td>
</tr>
</table>';
}
if ($context['show_spellchecking'])
echo '
<form action="', $scripturl, '?action=spellcheck" method="post" accept-charset="', $context['character_set'], '" name="spell_form" id="spell_form" target="spellWindow"><input type="hidden" name="spellstring" value="" /></form>';
}
?>
Quote from: ディン1031 on June 11, 2010, 01:14:42 AM
Look at your permission setups on your system... that is not mod related... i would asume the package dir is not writeable or the system does not allow to create a temp directory in the packagedir or the unzip function is disabled ;).
Ive chmodded all files to 777.. But still got the error
Thank you so much for this nice mod !
But...
it is possible to change the "star-grafix" for the "thank you" ?
Was somebody doing this before ? Experience ?
Maybe this ruby-icons from this FamFam Open source Icon Set ?
How to manual install it on non default theme?
Quote from: divecall on June 11, 2010, 06:56:57 AM
Thank you so much for this nice mod !
But...
it is possible to change the "star-grafix" for the "thank you" ?
Was somebody doing this before ? Experience ?
Maybe this ruby-icons from this FamFam Open source Icon Set ?
You can change it yourself, by change the icon images oO.
Quote from: uninvited13th on June 12, 2010, 06:12:35 AM
How to manual install it on non default theme?
Depend on the theme, but near every theme need a change.
How do i automatically show who gave thank you? Coz it is only showing:
"For this post, 1 member gave a
thank you!"
No usernames..
Eneable the preview list of usernames...
Quote from: ディン1031 on June 13, 2010, 12:48:21 PM
Eneable the preview list of usernames...
Thanks.. :)
Quote from: uninvited13th on June 13, 2010, 12:57:56 PM
Quote from: ディン1031 on June 13, 2010, 12:48:21 PM
Eneable the preview list of usernames...
Thanks.. :)
It does not work.. I mark that and put 0..
Also, i want to show how many times they thanked in their post near the avatar..
Did you make all the themechanges? Hmmmm if you enabled it correct it should show all user who posted a thanks to the post...
Second thing. You can enable this by show thank you posts on display page.
What can be the problem if the Thanks button is not displaying within the thread?
Not enabled on boards, permission not set, themechanges on a costom theme not done... etc.
Can we have a thankyou based membergroups? It is based on how many thanks they recieve, but the membergroups based on post count is still there..
I received those errors...
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi45.tinypic.com%2F2e3wqcl.jpg&hash=0b5dc122350b796f8cc9fbfe310d30f020b944a9)
Quote from: ディン1031 on June 16, 2010, 08:32:42 AM
Not enabled on boards, permission not set, themechanges on a costom theme not done... etc.
That was my issue, not enabled on boards, i didnt realize you had to enable each board individually. thanks.
Quote from: tugay1290 on June 16, 2010, 01:54:32 PM
I received those errors...
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi45.tinypic.com%2F2e3wqcl.jpg&hash=0b5dc122350b796f8cc9fbfe310d30f020b944a9)
... this is not mod realeted... it's related to the server... look if the temp dir is writeable after the create is the package dir writeable... zip function working and and and... there are many reasons why it not correct install... (look at the error log, normal there are errors if this happen)
Bye
DIN1031
When installing the mod, I get an Test Failed on the /Sources/Display.php and /Themes/default/Display.template.php files. Please help!
Quote from: uninvited13th on June 16, 2010, 11:34:00 AM
Can we have a thankyou based membergroups? It is based on how many thanks they recieve, but the membergroups based on post count is still there..
Hello??
When installing the mod, I get an Test Failed on the /Sources/Display.php and /Themes/default/Display.template.php files. Please help!
In that bump case i will not help... and anyway look at the .mod and look for the changes...
I am sorry for the bump, I am just really desperate for help. I removed one of the posts.
ok i got RC3 running on a test forum and have been installing mods everything was ok till i installed this one not the forum is down i get this error
Quote
Fatal error: Cannot redeclare template_thank_you_post() (previously declared in /home/appfuzio/public_html/forums/Sources/Load.php(2437) : eval()'d code:579) in /home/appfuzio/public_html/forums/Sources/Load.php(2437) : eval()'d code on line 665
can anyone help me with this ??? ??? ???
Looks like a double insert of the function, it could be possible you've this function twice in the code. :X
i have ditched the rc3 project for now
but thanks
how to translate this mod to Serbian language?
There are extra files for the language in the package, example: installEnglish.xml or installEnglischUTF8.xml. You can rename them and insert there your language changes.
I've changed, and when I installed the mod changed, it appeared the (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg697.imageshack.us%2Fimg697%2F3618%2F17380421.jpg&hash=cff05b3879e370251ac87284bb92da80894b30b1)
Hmmm i would assume depend on the version you've installed, that you have a twice insert the function in the Load.php or in the index.template.php... remove one of the double insert.
version of the mod ThankOMatic20RC2_ (for_2.0_RC3) I deleted a part .... but again does not work ... attachment: Load.php
combination of thank-o-matic + hide tag special work perfectly
great mod suzumiya haruhi.... ups ディン1031 8) b
would it be possible to list the amount of 'thanks' so
QuoteThe following members said thanks:
will look like this:
QuoteThe following 12 members said thanks:
Possible yes ;). Change the template_thank_you_post function in the index.template.php. The Variable for the output of number without list should also work in the other part.
Quote from: ディン1031 on July 14, 2010, 12:38:01 AM
Possible yes ;). Change the template_thank_you_post function in the index.template.php. The Variable for the output of number without list should also work in the other part.
erm i'm stuck what do i change/add? :)
This is great mod, but is there any addon which shows to which posts member thanked? Right now I can only check what thanks some member got. On my forum a lot of members give pointless Thank You and I need to check a few members if they gave Thank You to spam posts...
Not showing Numbers of Thank you Given and receive in profile section please see below SHreen shot
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fphoto.forumnepali.com%2Fimages%2Fchu1280396300i.JPG&hash=1690b65ab87fc87b57276ab64ed51e3f2888aae7)
Quote from: SilverWings on July 20, 2010, 06:12:23 AM
This is great mod, but is there any addon which shows to which posts member thanked? Right now I can only check what thanks some member got. On my forum a lot of members give pointless Thank You and I need to check a few members if they gave Thank You to spam posts...
If you've installed it correct the mod support this oO.
Quote from: forumnepali on July 29, 2010, 05:39:59 AM
Not showing Numbers of Thank you Given and receive in profile section please see below SHreen shot
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fphoto.forumnepali.com%2Fimages%2Fchu1280396300i.JPG&hash=1690b65ab87fc87b57276ab64ed51e3f2888aae7)
If the mod ist correct installed this should be outputed...
I have installed 1.2.5 version, where can find codes for manual installation now?
Quote from: forumnepali on July 29, 2010, 05:39:59 AM
Not showing Numbers of Thank you Given and receive in profile section please see below SHreen shot
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fphoto.forumnepali.com%2Fimages%2Fchu1280396300i.JPG&hash=1690b65ab87fc87b57276ab64ed51e3f2888aae7)
I'm having this issue also, except I'm not even seeing the words "thanks given and received" in the profile section. Also the thanks are not showing up in the members profile.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fthelovedenforum.com%2FThemes%2Fdark-red%2Fimages%2Fbuttons%2Fthank_you_b.gif&hash=4acd6ac507216896345f0a96262c635cc5b97a4b) Also this is how the button is showing up. With a line connecting the 2 when it's clicked.
Oops, image didn't show, but thank you shows up twice..
Can someone please help me with what I need to change to correct this?
<?php
// Version: 1.1.1; ThankYouPostMod
//Show the list of User who say thank you :)
function template_main()
{
global $context, $settings, $options, $txt, $scripturl, $modSettings;
// Show the linktree
echo '
<div>', theme_linktree(), '</div>';
// Show the topic information - icon, subject, etc.
echo '
<table width="100%" cellpadding="3" cellspacing="0" border="0" class="tborder" style="border-bottom: 0;">
<tr class="catbg3">
<td valign="middle" width="2%" style="padding-left: 6px;">
<img src="', $settings['images_url'], '/topic/', $context['class'], '.gif" align="bottom" alt="" />
</td>
<td width="13%"> ', $txt[29], '</td>
<td valign="middle" width="85%" style="padding-left: 6px;" id="top_subject">
', $txt[118], ': ', $context['subject'], ' (', $txt[641], ' ', $context['num_views'], ' ', $txt[642], ')
</td>
</tr>
</table>';
$split_button = create_button('split.gif', 'smf251');
$thankyoupostpost_button = create_button('thank_you_b.gif', 'thank_you_post_post_b');
$thankyoupostlock_button = create_button('thank_you_b.gif', 'thank_you_post_lock_b');
$thankyoupostopen_button = create_button('thank_you_b.gif', 'thank_you_post_open_b');
$thankyoupostdelete_button = create_button('thank_you_b.gif', 'thank_you_post_delete_b');
// Time to display (all the) one posts
echo '
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="bordercolor">';
// Get all the messages...
if(!empty($context['thank_you_post']['post']))
{
//This is the current message ;) only one currently ;D
$message = $context['thank_you_post']['post'];
echo '
<tr><td style="padding: 1px 1px 0 1px;">';
echo '
<table width="100%" cellpadding="3" cellspacing="0" border="0">
<tr><td class="', $message['alternate'] == 0 ? 'windowbg' : 'windowbg2', '">';
// Show information about the poster of this message.
echo '
<table width="100%" cellpadding="5" cellspacing="0" style="table-layout: fixed;">
<tr>
<td valign="top" width="16%" rowspan="2" style="overflow: hidden;">
<b>', $message['member']['link'], '</b>
<div class="smalltext">';
// Show the member's custom title, if they have one.
if (isset($message['member']['title']) && $message['member']['title'] != '')
echo '
', $message['member']['title'], '<br />';
// Show the member's primary group (like 'Administrator') if they have one.
if (isset($message['member']['group']) && $message['member']['group'] != '')
echo '
', $message['member']['group'], '<br />';
// 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 '
', $message['member']['post_group'], '<br />';
echo '
', $message['member']['group_stars'], '<br />';
// 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'], ';sesc=', $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'], ';sesc=', $context['session_id'], '">', $modSettings['karmaSmiteLabel'], '</a><br />';
// Show online and offline buttons?
if (!empty($modSettings['onlineEnable']) && !$message['member']['is_guest'])
echo '
', $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>' : '', '<br /><br />';
// Show the member's gender icon?
if (!empty($settings['show_gender']) && $message['member']['gender']['image'] != '')
echo '
', $txt[231], ': ', $message['member']['gender']['image'], '<br />';
// Show how many posts they have made.
echo '
', $txt[26], ': ', $message['member']['posts'], '<br />
<br />';
// Show avatars, images, etc.?
if (!empty($settings['show_user_images']) && empty($options['show_no_avatars']) && !empty($message['member']['avatar']['image']))
echo '
<div style="overflow: auto; width: 100%;">', $message['member']['avatar']['image'], '</div><br />';
// Show their personal text?
if (!empty($settings['show_blurb']) && $message['member']['blurb'] != '')
echo '
', $message['member']['blurb'], '<br />
<br />';
// This shows the popular messaging icons.
echo '
', $message['member']['icq']['link'], '
', $message['member']['msn']['link'], '
', $message['member']['aim']['link'], '
', $message['member']['yim']['link'], '<br />';
// Show the profile, website, email address, and personal message buttons.
if ($settings['show_profile_buttons'])
{
// Don't show the profile button if you're not allowed to view the profile.
if ($message['member']['can_view_profile'])
echo '
<a href="', $message['member']['href'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/icons/profile_sm.gif" alt="' . $txt[27] . '" title="' . $txt[27] . '" border="0" />' : $txt[27]), '</a>';
// Don't show an icon if they haven't specified a website.
if ($message['member']['website']['url'] != '')
echo '
<a href="', $message['member']['website']['url'], '" title="' . $message['member']['website']['title'] . '" target="_blank">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/www_sm.gif" alt="' . $txt[515] . '" border="0" />' : $txt[515]), '</a>';
// Don't show the email address if they want it hidden.
if (empty($message['member']['hide_email']))
echo '
<a href="mailto:', $message['member']['email'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/email_sm.gif" alt="' . $txt[69] . '" title="' . $txt[69] . '" border="0" />' : $txt[69]), '</a>';
// 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']['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>';
}
}
// Otherwise, show the guest's email.
elseif (empty($message['member']['hide_email']))
echo '
<br />
<br />
<a href="mailto:', $message['member']['email'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/email_sm.gif" alt="' . $txt[69] . '" title="' . $txt[69] . '" border="0" />' : $txt[69]), '</a>';
// Done with the information about the poster... on to the post itself.
echo '
</div>
</td>
<td valign="top" width="85%" height="100%">
<table width="100%" border="0"><tr>
<td valign="middle"><a href="', $message['href'], '"><img src="', $message['icon_url'] . '" alt="" border="0" /></a></td>
<td valign="middle">
<div style="font-weight: bold;" id="subject_', $message['id'], '">
<a href="', $message['href'], '">', $message['subject'], '</a>
</div>';
// If this is the first post, (#0) just say when it was posted - otherwise give the reply #.
echo '
<div class="smalltext">&#171; <b>', !empty($message['counter']) ? $txt[146] . ' #' . $message['counter'] : '', ' ', $txt[30], ':</b> ', $message['time'], ' &#187;</div></td>
<td align="', !$context['right_to_left'] ? 'right' : 'left', '" valign="bottom" height="20" style="font-size: smaller;">';
// Can do some Thank You Post things :)
if ($message['thank_you_post']['post'] && !$message['thank_you_post']['locked'])
echo '
<a href="', $scripturl, '?action=thankyou;list;topic=', $context['current_topic'], '.0;msg=', $message['id'], '">', $thankyoupostpost_button, '</a>';
if ($message['thank_you_post']['lock'] && $message['thank_you_post']['isThankYouPost'])
echo '
<a href="', $scripturl, '?action=thankyoupostlock;list;topic=', $context['current_topic'], '.0;msg=', $message['id'], '">', $message['thank_you_post']['locked'] ? $thankyoupostopen_button : $thankyoupostlock_button, '</a>';
if ($message['thank_you_post']['delete'] && $message['thank_you_post']['isThankYouPost'])
echo '
<a href="', $scripturl, '?action=thankyoupostdelete;topic=', $context['current_topic'], '.0;msg=', $message['id'], ';sesc=', $context['session_id'], '" onclick="return confirm(\'', $txt['remove_thank_you_post'], '?\');">', $thankyoupostdelete_button, '</a>';
// Show the post itself, finally!
echo '
</td>
</tr></table>
<hr width="100%" size="1" class="hrcolor" />
<div class="post">', $message['body'], '</div>
</td>
</tr>';
// Now for the attachments, signature, ip logged, etc...
echo '
<tr>
<td valign="bottom" class="smalltext" width="85%">
<table width="100%" border="0" style="table-layout: fixed;"><tr>
<td colspan="2" class="smalltext" width="100%">';
//Show the Thank You list or the link or.... nothing? XD
if ($message['thank_you_post']['isThankYouPost']) {
echo '
<hr width="100%" size="1" class="hrcolor" />';
if(!empty($context['thank_you_post'][$message['id']])) {
echo '
<p>'.$txt['followgiveathank'].'</p><p>';
foreach($context['thank_you_post'][$message['id']]['fulllist'] as $thx)
echo $thx['link'].(!empty($thx['deletelink']) ? $thx['deletelink'] : '').($thx['last'] ? '' : ', ');
echo '
</p>';
}
//Counter and Link to the direkt or complete list :)
echo '
<a href="'.$message['thank_you_post']['href'].'">
'.$txt['thank_you_link_beforecounter'].' '.$message['thank_you_post']['counter'].' '.($message['thank_you_post']['counter'] == 1 ? $txt['thank_you_link_member'] : $txt['thank_you_link_members']).' '.$txt['thank_you_link_aftercounter'].'
</a>';
if($message['thank_you_post']['locked'])
echo '<br />
<span class="smalltext"><i>'.$txt['thank_you_is_locked'].'</i></span>';
}
echo '
</td>
</tr><tr>
<td valign="bottom" class="smalltext" 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; <i>', $txt[211], ': ', $message['modified']['time'], ' ', $txt[525], ' ', $message['modified']['name'], '</i> &#187;';
echo '
</td>
<td align="', !$context['right_to_left'] ? 'right' : 'left', '" valign="bottom" class="smalltext">';
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 (allowedTo('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'] && !empty($message['member']['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[511], '</a>';
// Otherwise, you see NOTHING!
else
echo '
', $txt[511];
echo '
</td>
</tr></table>';
// Show the member's signature?
if (!empty($message['member']['signature']) && empty($options['show_no_signatures']))
echo '
<hr width="100%" size="1" class="hrcolor" />
<div class="signature">', $message['member']['signature'], '</div>';
echo '
</td>
</tr>
</table>
</td></tr>
</table>
</td></tr>';
}
echo '
<tr><td style="padding: 0 0 1px 0;"></td></tr>
</table>
<a name="lastPost"></a>';
/*
echo '
<table border="0" width="80%" cellspacing="0" align="center" cellpadding="4" class="tborder">
<tr class="titlebg">
<td>'.$context['thank_you']['TopicSubject'].'</td>
</tr>
<tr class="windowbg">
<td style="padding-top: 3ex; padding-bottom: 3ex;">
<font size="1">
<span class="smalltext">
'.$context['thank_you']['info'].'
</span>
</font>
</td>
</tr>
</table>';
echo '
<div align="center" style="margin-top: 2ex;">'.$context['thank_you']['TopicLink'].'</div>';
*/
}
?>
someone help I am getting this error:
53. Execute Modification ThankOMaticEnglish.xml Modification parse error
54. Execute Modification ThankOMaticEnglish.xml Modification parse error
55. Execute Modification ThankOMaticEnglish-utf8.xml Modification parse error
56. Execute Modification ThankOMaticEnglish-utf8.xml Modification parse error
hi how can i get this to work if i have the advanced reputation system installed please
Hey guys! I just tried to install this mod and I am super excited about it but I have an error that prevents me from viewing any posts at all :-(.
Quote from: error messageYou 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,
LEFT JOIN smf_log_karma AS k ON (k.' at line 6
File: /home/justin/public_html/Sources/Display.php
Line: 1120
I will uninstall for now, but in the meantime, do you know what I might be able to do to fix this? Thanks in advance!
Sorry for double posting but I thought this might be an important post due to the current errors that I reported above. I have just uploaded my load.php and my display.php from just after installing the mod. I edited the files because there were two edits that didn't work when installing. The errors are as follows:
Quote from: install errors7. Add Before ./Sources/Display.php Test failed
and
2. Replace ./Sources/Load.php Test failed
I made these edits manually and I got errors, I then uploaded the load and display php files from directly after the install(which I save separately just in case) and now the mod seems to be working fine. Could you please help me to understand what these edits are supposed to change and if you think I should just uninstall the mod untill we can figure out what is happening. I really like this mod and I wnat to keep it but if you think it will cause conflicts elsewhere, I will remove it. I will leave it for now and run some more tests. Thanks in advance.
EDIT: So far everything seems to be fine. If I run across any errors I will post and I would still like to know what these edits do.
Hello i would like to ask something. Using this mod members cant click "THANK YOU" ? Only administrators can ??? is there a way to allow members to thank you too ?
Quote from: giorgoscy16 on August 09, 2010, 11:17:40 AM
Hello i would like to ask something. Using this mod members cant click "THANK YOU" ? Only administrators can ??? is there a way to allow members to thank you too ?
I just began using this mod I must say it is one of the most valuable mods I have installed. I have had some errors but so far theyv have not hindered my usage of this fantastic feature.
What you probably haven't done is set the permissions for it. Go to your admin/permissions and make sure you have set your member permissions to be able to use this mod. Keep in mind that some of the permissions will be dedicated to admin and mods but you can set them up however you want. Hope that helps.
Thanks! really helped!
Most welcome! I know what it's like to be a new forum admin and it can quite frustrating. I'm glad that I could help in some way. In most cases, we have to think outside the box, but sometimes the simplest answers are the correct ones. Again, I'm glad that my post was helpful. I believe in community involvement and I glad to help in any way I can.
Bumping...... Can anyone help?
hi! please help i got this error after installing thankomatic for my rc3 forum when uploading avatar...
http://xxxx.com/index.php?action=profile;area=forumprofile;u=1;save
Apply Filter: Only show the errors with the same message
Wrong value type sent to the database. Integer expected. (p_thank_you_post_became)
Function: updateMemberData
Apply Filter: Only show the errors from this file
File: /home/gitnang1/public_html/Sources/Subs.php
Line: 544
hi i have a small problem i got everything installed i have uploaded all the button images i.e. lock etc however i cannot get the thank you image to sho it just says the work thankyou no image to the left of it
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi35.tinypic.com%2F2r5yp8x.jpg&hash=a446218857064d115697ae28699c8de9b802b380)
like i said i had to upload the images to my theme and all work except that one
forget it i found it
hi can someone tell me hot to add a seperation line
see image
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi36.tinypic.com%2F97tpg8.jpg&hash=4aecb57c2fe33ad44dadb5fde1a4d1c394892021)
if you look at the image there are lines at the top and bottom i want to add a line like that before where it says the following members to give it some seperation
Quote from: lycan.v on February 03, 2010, 05:51:51 AM
Quote from: ディン1031 on February 03, 2010, 12:41:04 AM
You can easy add this by adding <hr /> in the thank_you_post_template function of the index.template.php.
if(empty($context['thank_you_post_template']['disable_start_text']))
echo '<hr />';
if(empty($context['thank_you_post_template']['disable_start_text']))
Than there should be a line again ;) .
Thanks you.... i edited the file.... now the line is present..... :)
got it man thanks
much appreciated
So, i also end up getting the
Fatal error: Call to undefined function template_thank_you_post() in /var/www/chasenet/Sources/Load.php(2127) : eval()'d code on line 1227
Error message, only when trying to view the thank you posts from the profile page..
The line is:
$memberContext[$user]['has_messenger'] = true;
break;
Using the Zone99 design from http://www.dzinerstudio.com/.
Any ideas?
Nothing? :) I normaly don't bump threads, but i like to have this mod around, so would be cool with a fix
hello,
i have a little problem with this plugin. die "thanks given" "thanks received" is not shown in the user-details of each poster.
hxxp://coders-inside.net/index.php?topic=1.msg1#msg1
why?
sorry for my bad englisch an thanks for your helps
/edit:
Quote from: Pillas on August 29, 2010, 09:05:07 AM
Nothing? :) I normaly don't bump threads, but i like to have this mod around, so would be cool with a fix
Normaly you should install plugins manually after using a "non-standart" theme?! do you? If not there is the possible mistake
/edit²:
Now, it´s fixed. I Have installed RC2 and Thank o Matic for RC2. Done.
Quote from: ディン1031 on April 15, 2010, 06:46:18 AM
Quote from: wietse02 on April 14, 2010, 02:00:53 AM
All problems for me are fixed now except one:
Only administator can delete his thank after he did "thank you". Normall members can't.
oO i never noted this... i was sure that i tested this but okay i will test it again.
Bye
DIN1031
Im having the same issue with members not being able to delete there thank you's.
Im using 2.0 RC3 with ThankOMatic20RC2_(for_2.0_RC3).zip installed.
Even with all permissions set to on for regular members they still can't delete there thank you. Only the admin and global mods can.
Comes up with a error you do not have permission. No errors in the error log.
Anyone have a cure for this issue?
I downloaded the package, pressed install on the site. However, I don't see a thank-you button on the threads/posts. Any help is appreciated.
Quote from: MushBear on September 20, 2010, 09:21:11 PM
I downloaded the package, pressed install on the site. However, I don't see a thank-you button on the threads/posts. Any help is appreciated.
Do you use a custom theme? If so, it might be necessary manual edit template files.
No I don't, I have the "SMF default theme - core". Powered by SMF 1.1.11
---Found it! (Had to enable Thank-O-Matic in each forum in admin cp > forum boards > boards > modify)
Where is the translation into Spanish?
Thanks
hi before installing, i get this error ..if i install can this be fixed or will it mess things up if i install??thx in advance...I dont have a custom theme and using 1.1.11 but have super admin and arcade mods??
Execute Modification ./Sources/Subs-Boards.php Test failed
Hey. I installed this mod without any errors but when I try to configure it, I get the following problem, there's no text in the setup of the mod :(
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg692.imageshack.us%2Fimg692%2F9272%2F70106050.png&hash=c424c3f1471af6122f8f2813ca751656c522001c)
Great mod and has been working fine until I went to run the Repair and optimize Thank-O-Matic tables under Maintaince. I get this database error.
This is one SMF 2.0 RC3 and ThankOMatic20RC2_for_2.0_RC3.zip installed.
Database Error
Operand should contain 1 column(s)
File: forum/Sources/ThankYouPost-Maintaince.php
Line: 632
Error log shows the following.
forum/index.php?action=admin;area=maintainThankYouPost;sa=maintain;activity=optimize
Database Error: Operand should contain 1 column(s)
File: forum/Sources/ThankYouPost-Maintaince.php
Line: 632
It shows this on line 632
630: 'msg_ids' => $msg_ids,
631: )
==>632: );
633:
634: $_REQUEST['start'] += $increment;
Anyone have any idea on how to fix this?
Thanks
well...no responce in over 16 days...I guess this not one for me..hmmmm.thx
I uninstalled Thank o matic but a few part cant be removed. Any help will be appreciated :laugh:
Help, pls anyone ?? It's really ugly, i dont know how to get rid of it!!! rofl
HELP! smf 2.0 RC4 !!!!!!
Support for 2.0 RC4?
I would love to have it for 2.0 RC4 too. Because when I try to install it now, I keep getting same as my users: http://twitpic.com/33hj60
upgrade to rc4 pl0x
hi , can i please improve AJAX in your new version ? for example send thank you to a post with-out refresh page ( like vbulltain)
also please improve auto upgrade in your new version for upgrade of older version to last version (example tiny portal new version)
thank you
ok as i required the mod. i did a quick-n-dirty patch so it works again with 2.0RC4
I AM NOT THE AUTHOR of the extensions, i absolutly take no warranty or whatever (USE AT YOUR OWN RISK) - it was a qick-n-dirty 5 min. patch - AND it only works with the default theme
@original author - maybe you update yours!!!
p.s.: my first try, so i am not sure if the packagemanager works (i extractet it to the "Packages" directory - and did the install from there)
I hope someone can help me.
I have installed Thank-O-Matic 2.0 RC2 on my SMF 2.0 RC3 forum.
I have a problem already in default theme, the Thank-O-Matic plugin displays in the posts:
"The following members have thanked this post etc."
But the thanks lines are added to the bottom of the post content instead of being displayed at the bottom of the post section. So they are being displayed too high.
How can I change this?
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fdbarteam.net%2Fupload%2Ffiles%2Feab81233f40c15bdec28c51ed394742db4f7cd34.jpg&hash=92d52f9370dc14ac070931c9e09818fe33003261)
Thanks!
Instead of placing the list of users that thanked the poster under a post, is it possible to place the "thank you" button there (user the post) instead. It seems it would be more practical there instead at the top of the page.
This is how it looks now!!
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg813.imageshack.us%2Fimg813%2F600%2Feab81233f40c15bdec28c51.jpg&hash=d1f43d83aeeee3519a074dae75062f45df658361)
This wold be optimal modification
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg29.imageshack.us%2Fimg29%2F3274%2F96281831.png&hash=d066830c3984d4517864b8a211797cf70684d891)
Quote from: balti27 on November 24, 2010, 11:52:56 PM
This is how it looks now!!
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg813.imageshack.us%2Fimg813%2F600%2Feab81233f40c15bdec28c51.jpg&hash=d1f43d83aeeee3519a074dae75062f45df658361)
This wold be optimal modification
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg29.imageshack.us%2Fimg29%2F3274%2F96281831.png&hash=d066830c3984d4517864b8a211797cf70684d891)
I agree! Does anyone know the code to do this? plz :)
hi
i have installed the Thank-O-Matic mod but there is a littel problem and its that it aint showing the pic , it missing the red star beside the thank you button
plz help
Quote from: the-wanted on December 18, 2010, 09:15:38 PM
hi
i have installed the Thank-O-Matic mod but there is a littel problem and its that it aint showing the pic , it missing the red star beside the thank you button
plz help
are you using custom theme?
you should copy the button from the package... ;)
Quote from: haito on December 18, 2010, 11:03:23 PM
Quote from: the-wanted on December 18, 2010, 09:15:38 PM
hi
i have installed the Thank-O-Matic mod but there is a littel problem and its that it aint showing the pic , it missing the red star beside the thank you button
plz help
are you using custom theme?
you should copy the button from the package... ;)
you true i use custom theme and i will test it soon thnx :D
I have 1.1.11, which download should I get? :-\
hi
i got another error, when some one want to show the thank you posts then its just showing one post and giving this error after the post
Fatal error: Call to undefined function template_thank_you_post() in /home/themoto/public_html/Sources/Load.php(2503) : eval()'d code on line 1227
Quote from: Miss All Sunday on December 19, 2010, 09:07:09 AM
@Glowbot use this version ThankOMatic125_v2.zip
@the-wanted did you install the mod manually? it looks like theres parts of the mod that aren't in your files or there are some missing files.
thanks! *tries to look for thanks button* ;D
wait, are you sure? it says that is for RC 2.0
"Version 1.0.0-1.2.x is only for SMF 1.1.x
Version 2.0 RC1.1 is only for SMF 2.0. RC2"
Quote from: Miss All Sunday on December 19, 2010, 09:07:09 AM
@Glowbot use this version ThankOMatic125_v2.zip
@the-wanted did you install the mod manually? it looks like theres parts of the mod that aren't in your files or there are some missing files.
not really there was 3 errors so i modifyed just 3 files
hi
i figured out that images is not in right place , so what is the right place then ?
Quote from: the-wanted on December 19, 2010, 05:41:47 PM
hi
i figured out that images is not in right place , so what is the right place then ?
copy into the buttons folder
so guys what do i need to do to fix this error ?
Fatal error: Call to undefined function template_thank_you_post() in /home/themoto/public_html/Sources/Load.php(2484) : eval()'d code on line 1227
can you attach your Load.php?
so anyone know when this will but updated to the lasted smf ver.
When an update for RC4?
Hi I downloaded version 1.2.5 v2
I got this error
14. Execute Modification ./Sources/Load.php Test failed
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.
What do I do.
Quote from: Glowbot on December 21, 2010, 03:49:01 PM
Hi I downloaded version 1.2.5 v2
I got this error
14. Execute Modification ./Sources/Load.php Test failed
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.
What do I do.
modify it manualy
Quote from: the-wanted on December 21, 2010, 04:12:30 PM
Quote from: Glowbot on December 21, 2010, 03:49:01 PM
Hi I downloaded version 1.2.5 v2
I got this error
14. Execute Modification ./Sources/Load.php Test failed
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.
What do I do.
modify it manualy
thanks :)
How do I do that.
Quote from: Glowbot on December 21, 2010, 04:55:57 PM
Quote from: the-wanted on December 21, 2010, 04:12:30 PM
Quote from: Glowbot on December 21, 2010, 03:49:01 PM
Hi I downloaded version 1.2.5 v2
I got this error
14. Execute Modification ./Sources/Load.php Test failed
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.
What do I do.
modify it manualy
thanks :)
How do I do that.
u know beside this line (14. Execute Modification ./Sources/Load.php Test failed) should be a littel icon, click it then it will show u wat u have to download modify . download the file and modify it then upload it
Quote from: the-wanted on December 21, 2010, 05:10:02 PM
Quote from: Glowbot on December 21, 2010, 04:55:57 PM
Quote from: the-wanted on December 21, 2010, 04:12:30 PM
Quote from: Glowbot on December 21, 2010, 03:49:01 PM
Hi I downloaded version 1.2.5 v2
I got this error
14. Execute Modification ./Sources/Load.php Test failed
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.
What do I do.
modify it manualy
thanks :)
How do I do that.
u know beside this line (14. Execute Modification ./Sources/Load.php Test failed) should be a littel icon, click it then it will show u wat u have to download modify . download the file and modify it then upload it
There isn't an icon :-\
Do I install it and then do it after or something?
@the-wanted
nothing wrong with your load.php :-\
have you checked another file one by one?
Quote from: Glowbot on December 21, 2010, 07:31:22 PM
Quote from: the-wanted on December 21, 2010, 05:10:02 PM
Quote from: Glowbot on December 21, 2010, 04:55:57 PM
Quote from: the-wanted on December 21, 2010, 04:12:30 PM
Quote from: Glowbot on December 21, 2010, 03:49:01 PM
Hi I downloaded version 1.2.5 v2
I got this error
14. Execute Modification ./Sources/Load.php Test failed
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.
What do I do.
modify it manualy
thanks :)
How do I do that.
u know beside this line (14. Execute Modification ./Sources/Load.php Test failed) should be a littel icon, click it then it will show u wat u have to download modify . download the file and modify it then upload it
There isn't an icon :-\
Do I install it and then do it after or something?
go to http://custom.simplemachines.org/mods/index.php?mod=710
in the bottom the box "Download this mod" you can see "Manual Install Instructions for SMF"
choose your version...
if your version is RC 4, choose RC3..
Quote from: haito on December 21, 2010, 09:09:34 PM
@the-wanted
nothing wrong with your load.php :-\
have you checked another file one by one?
that sux so was it a false error?what should i do now ? ::)
::)
Quote from: the-wanted on December 19, 2010, 10:45:09 AM
Quote from: Miss All Sunday on December 19, 2010, 09:07:09 AM
@Glowbot use this version ThankOMatic125_v2.zip
@the-wanted did you install the mod manually? it looks like theres parts of the mod that aren't in your files or there are some missing files.
not really there was 3 errors so i modifyed just 3 files
try to check 3 files.... ::)
Quote from: haito on December 21, 2010, 10:04:01 PM
::)
Quote from: the-wanted on December 19, 2010, 10:45:09 AM
Quote from: Miss All Sunday on December 19, 2010, 09:07:09 AM
@Glowbot use this version ThankOMatic125_v2.zip
@the-wanted did you install the mod manually? it looks like theres parts of the mod that aren't in your files or there are some missing files.
not really there was 3 errors so i modifyed just 3 files
try to check 3 files.... ::)
that was good one but 2 days ago , i reinstalled the fourm so evry mod got deleteed and i install this mod first and everything worked good , pics are in the place ,ppl can use it but there is only one error u know it :(
maybe thank-o-matic got conflict with other mod?
i always install thank-o-matic in the first position if i reinstall the forum,,,
Quote from: haito on December 21, 2010, 09:09:34 PM
@the-wanted
nothing wrong with your load.php :-\
have you checked another file one by one?
Quote from: Glowbot on December 21, 2010, 07:31:22 PM
Quote from: the-wanted on December 21, 2010, 05:10:02 PM
Quote from: Glowbot on December 21, 2010, 04:55:57 PM
Quote from: the-wanted on December 21, 2010, 04:12:30 PM
Quote from: Glowbot on December 21, 2010, 03:49:01 PM
Hi I downloaded version 1.2.5 v2
I got this error
14. Execute Modification ./Sources/Load.php Test failed
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.
What do I do.
modify it manualy
thanks :)
How do I do that.
u know beside this line (14. Execute Modification ./Sources/Load.php Test failed) should be a littel icon, click it then it will show u wat u have to download modify . download the file and modify it then upload it
There isn't an icon :-\
Do I install it and then do it after or something?
go to http://custom.simplemachines.org/mods/index.php?mod=710
in the bottom the box "Download this mod" you can see "Manual Install Instructions for SMF"
choose your version...
if your version is RC 4, choose RC3..
hmmm. There is no manual instructions for 1.1.11 if I use this parser http://resourcez.biz/PackageParser/
there are no theme edits, only a few in the language files
Is it safe to install this despite the load error?
EDIT: oh wait is what you mean for me to do, download the package, open the package and edit the package in some way... THEN upload it to the forum?
can somabody explain properly what I am supposed to do.
Quote from: haito on December 22, 2010, 01:39:23 AM
maybe thank-o-matic got conflict with other mod?
i always install thank-o-matic in the first position if i reinstall the forum,,,
yh i did that but stilll have that error :((
Quote from: Glowbot on December 22, 2010, 07:44:41 AM
hmmm. There is no manual instructions for 1.1.11 if I use this parser http://resourcez.biz/PackageParser/
there are no theme edits, only a few in the language files
Is it safe to install this despite the load error?
EDIT: oh wait is what you mean for me to do, download the package, open the package and edit the package in some way... THEN upload it to the forum?
can somabody explain properly what I am supposed to do.
extract the package with winzip, and then you can find ThankOMaticSourceChanges2.0.x.mod <-- its for 2.0, for 1.1x maybe ThankOMaticSourceChanges1.1.x.mod
and then find ThankOMaticThemeDefaultChanges2.0.x.mod (ThankOMaticThemeDefaultChanges1.1.x.mod)...
open with notepad, and then you can see step by step how to change your files...
ThankOMaticSourceChanges1.1.x.mod --> for source files
ThankOMaticThemeDefaultChanges1.1.x.mod --> for theme files
Quote from: the-wanted on December 22, 2010, 07:48:36 AM
Quote from: haito on December 22, 2010, 01:39:23 AM
maybe thank-o-matic got conflict with other mod?
i always install thank-o-matic in the first position if i reinstall the forum,,,
yh i did that but stilll have that error :((
still same error?
Fatal error: Call to undefined function template_thank_you_post() in /home/themoto/public_html/Sources/Load.php(2484) : eval()'d code on line 1227 ??
Quote from: haito on December 22, 2010, 09:16:00 PM
extract the package with winzip, and then you can find ThankOMaticSourceChanges2.0.x.mod <-- its for 2.0, for 1.1x maybe ThankOMaticSourceChanges1.1.x.mod
and then find ThankOMaticThemeDefaultChanges2.0.x.mod (ThankOMaticThemeDefaultChanges1.1.x.mod)...
open with notepad, and then you can see step by step how to change your files...
ThankOMaticSourceChanges1.1.x.mod --> for source files
ThankOMaticThemeDefaultChanges1.1.x.mod --> for theme files
I extracted the "ThankOMatic125_v2 (1).zip" package on my computer. I can't see any of the sourcechanges mods. I have a few others like ThankOMaticVersionCompatible that are xml documents. where are these source changes mods located?
will it works on RC4 after upgarading fromRC3 to RC4?
can you made if for a last smf version..please
Quote from: spielverderber on November 12, 2010, 05:44:33 PM
ok as i required the mod. i did a quick-n-dirty patch so it works again with 2.0RC4
I AM NOT THE AUTHOR of the extensions, i absolutly take no warranty or whatever (USE AT YOUR OWN RISK) - it was a qick-n-dirty 5 min. patch - AND it only works with the default theme
i did patch the mod and thought it was successfull until i tried hitting the thank you and got this error
QuoteUnknown column 'thx.member_name' in 'field list'
File: /hermes/bosweb/web151/b1515/ipg.pinoymobilitycom1/forum/Sources/ThankYouPost.php
Line: 716Quoteany help please?
@original author - maybe you update yours!!!
p.s.: my first try, so i am not sure if the packagemanager works (i extractet it to the "Packages" directory - and did the install from there)
no update yet to RC4? :(
We are seeing here to search for an update for SMF RC4
We gland to hear there will be an update.
Thanyawzinmin
thanks thanyawzinmin..please do it fast xD
glad to hear that update. :D
No NO
I means I also want to get update as soon as I can:/
:O
U guys are so fast in thinking
:P
Hi
Thanks for your efforts
Grateful
I needed than mod too
There are not any updates yet
We so sorry for the delay of the update.
Please as fast as u can do that mod updates.
:/
Dear friends,
i am using this hide tag special and thank-o-matic mod on my SMF 2 RC3 board... its working fine and showed no error while installing, but recently i noticed a odd thing happening...
actually.. the content hidden by the hide tag remains hidden in the topic(thread) but when i open my forums RSS feed page all the hidden contents appears as unhidden... and that happens even in case of guests..
i checked all the settings of hide tag and thank-o-matic and all are fine, means guests have no permission to unhide the hidden content...
is this happening only with my forum or others also facing this situation?
Can anybody help me sort out this problem?
Thanks,
Regards.
And forgive me if the solution is present in this forum, i tried to search it but couldn't find it.
update for SMF RC4 please!!
i can install version for SMF RC3 for my SMF RC4???
Quote from: italo_anonimo on January 20, 2011, 04:38:48 PM
update for SMF RC4 please!!
i can install version for SMF RC3 for my SMF RC4???
To use the mod on RC4 you have to use the emulate version function.
emulate version sir? where can we find it? thanks:
My version; 1.1.12. Impossible to use this nice mode please?
i did some edits to the files of this mod to install it on my new forum so that there is no problem with default theme in 2.0 RC4 now and it installs without any errors and works very well; but i couldn't do anything with core theme (that's not important! + if you have time do it!).
attached the file below:
I modified the package_info.xml for 1.1.12 and installed mod but display.template and subs.php failed! I want to edit these files manual but I can't find the manual installation of this mod!
Quote from: Hoborg on January 22, 2011, 02:11:01 AM
i did some edits to the files of this mod to install it on my new forum so that there is no problem with default theme in 2.0 RC4 now and it installs without any errors and works very well; but i couldn't do anything with core theme (that's not important! + if you have time do it!).
attached the file below:
there are lots of errors during the installation test,, can we just edit those file?
im using the default theme core.
This isnt working with 1.1.12, it gives error with Subs.php when installing.
Quote from: Owdy ツ on January 23, 2011, 07:34:23 AM
This isnt working with 1.1.12, it gives error with Subs.php when installing.
It is working with 1.1.12. I installed and no problem. You have to download this version ; ThankOMatic125_v2.zip
Then, Unzip it and find package-info.xml
open it find <install for 1.1.3, 1.1.4, 1.1.11, etc.. and also add 1.1.12. Find uninstall for and do the same.
Save the file, zip it again.. If you have an error about display.template & subs.php, you must modify them as manual. Manual installation is;
http://custom.simplemachines.org/mods/index.php?action=parse;mod=710;attach=130343;smf_version=1.1.11
Quote from: Cutter65 on September 15, 2010, 08:35:14 AM
Quote from: ディン1031 on April 15, 2010, 06:46:18 AM
Quote from: wietse02 on April 14, 2010, 02:00:53 AM
All problems for me are fixed now except one:
Only administator can delete his thank after he did "thank you". Normall members can't.
oO i never noted this... i was sure that i tested this but okay i will test it again.
Bye
DIN1031
Im having the same issue with members not being able to delete there thank you's.
Im using 2.0 RC3 with ThankOMatic20RC2_(for_2.0_RC3).zip installed.
Even with all permissions set to on for regular members they still can't delete there thank you. Only the admin and global mods can.
Comes up with a error you do not have permission. No errors in the error log.
Anyone have a cure for this issue?
The same problem here (on rc4)!
any idea? :o
everything works fine but this problem!
Not only in rc series.. This problem is exist also 1.1.x series too.. I clicked here in the member permissions;
Delete Thank You Post List: Own Thank You
But neverthless member can't delete his thank you!
Quote from: alpheus on January 23, 2011, 05:46:12 PM
Quote from: Owdy ツ on January 23, 2011, 07:34:23 AM
This isnt working with 1.1.12, it gives error with Subs.php when installing.
It is working with 1.1.12. I installed and no problem. You have to download this version ; ThankOMatic125_v2.zip
Then, Unzip it and find package-info.xml
open it find <install for 1.1.3, 1.1.4, 1.1.11, etc.. and also add 1.1.12. Find uninstall for and do the same.
Save the file, zip it again.. If you have an error about display.template & subs.php, you must modify them as manual. Manual installation is;
http://custom.simplemachines.org/mods/index.php?action=parse;mod=710;attach=130343;smf_version=1.1.11
THANK YOU!!!!! worked great.. had one error on LOAD.php but check all entries manually..
Hello to all , please I need Thanks mod to default theme for 1.1.12 version , ppl can you help me ?
I try all packed and for all I give information "is not posible to my version"
no updates yet for rc4. :(
can you maybe upgrade this to rc4?
Quote from: Kathleen Chute on February 04, 2011, 06:58:38 AM
I have to upgrade My Forum, I am currently at 1.1.11
so my upgrade, ( If I ever get there ) will be .1.1.12
I have to uninstall your mod to upgrade, How do I keep My members Thankyous?
Thanks Kathleen
Please start a new topic in the appropriate board
Quote from: live627 on February 04, 2011, 07:24:20 PM
Quote from: Kathleen Chute on February 04, 2011, 06:58:38 AM
I have to upgrade My Forum, I am currently at 1.1.11
so my upgrade, ( If I ever get there ) will be .1.1.12
I have to uninstall your mod to upgrade, How do I keep My members Thankyous?
Thanks Kathleen
Please start a new topic in the appropriate board
Where would be the best place, I was ,lost
Thanks
Kathleen
http://www.simplemachines.org/community/index.php?board=9.0
Hi,
Does anyone know if its possible to adapt this mods code to work with the "Thank-O-Matic" mod, so the message index shows an image if the member has "thanked" the topic instead of replying to the topic?
Thank You
J
Display Posted Topics Mod
http://custom.simplemachines.org/mods/index.php?mod=1289
http://custom.simplemachines.org/mods/index.php?action=download;mod=1289;id=61794;image
./Themes/default/MessageIndex.template.php
if (!empty($topic['is_posted_in'])) {
echo '
<img src="' . $settings['images_url'] . '/icons/posted.gif" align="right" title="' , $txt['postedinthread'] ,'" style="margin: 0;" />';
};
RC5 pleeeeeeeeeeeeeease
Thank-O-Matic Add On: SSI Top Posts
FOR SMF 2.0 PLEASE ;D
Greetings,
I've got one question. Does anybody know, if somebody would be able to edit this mod or customize it, so it looks more like vB one? What I mean is that there every user gets a small stats bar below his avatar or around there and it shows for instance this: 'Thanked 52 Times in 48 Posts' and behind it are some bars, e.g. 'Thanked 52 Times in 48 Posts llllllll' or 'Thanked 2587 Times in 390 Posts lllllllllllllllllllllllllll' - see, what I mean? Because, if I'm right, this mod only shows a list of those, who thanked below the post itself, but doesn't go any further and that's a shame. Anybody got any ideas?
Best Regards,
SS-Totenkopf
Quote from: drhamza on February 18, 2011, 03:28:57 AM
RC5 pleeeeeeeeeeeeeease
yes, please....
thanks for your interest
well smf's activity has reduced in general, unfortunately, especially the mods :(
why inactive mods are not handled to active users to keep them alive??
For the first time, I tried deleting someones thank you from a post (by clicking the little asterisk beside their name). This is the error I got on the next page:
Unknown column 'karmaGood' in 'field list'
File: /home/*****/public_html/Sources/Subs.php
Line: 544
It did delete their thank you from the post, however there seems to be an issue with the "karma" part of the mod. How can I fix this?
is there still a chance for this mod to be compatible with rc4? we've been waiting for months now.. :(
Quote from: elguapo on March 15, 2011, 10:46:00 PM
is there still a chance for this mod to be compatible with rc4? we've been waiting for months now.. :(
just edit your subs.php, i have installed this mod perfectly...
-use SMF RC 5 & ThankOMatic20RC2_(for_2.0_RC3).zip
Is there any way to install this on 1.1.13? I tried that version emulator thing and when I tried installing this it screwed up my board.
If you're running this mod on SMF 1.1.13, might I ask how you installed it?
Quote from: haito on March 16, 2011, 09:51:59 AM
Quote from: elguapo on March 15, 2011, 10:46:00 PM
is there still a chance for this mod to be compatible with rc4? we've been waiting for months now.. :(
just edit your subs.php, i have installed this mod perfectly...
-use SMF RC 5 & ThankOMatic20RC2_(for_2.0_RC3).zip
please tell me how to install this mod in RC5 (step by step please) :D
thanks for helping :)
The author hasn't been active since January 31
Please we need support for 2.0 RC5.
This is a major mod for my forum along with Hide Tag Special (same author same compatibility problem)
hey. Not working in my RC5. Please some one mod it for RC5.
Quote from: DefDave7 on March 19, 2011, 08:41:42 PM
Is there any way to install this on 1.1.13? I tried that version emulator thing and when I tried installing this it screwed up my board.
If you're running this mod on SMF 1.1.13, might I ask how you installed it?
Same here... we need it to be good with 1.1.13
Can this mod compatible with Advance Rep System?
i managed to make it work in fresh 2.0 RC5.. It works perfectly in default theme and 4 others i installed.The only problem is that i get error for the core theme. Anyone with the same problem and managed to solve it ?
anyone got any information on how good/bad this beauty works with rc4 patched?
Greetings
I had problems getting this to work on fresh install of RC5. If more than one person thanked, it still only showed 1 person...
Quote from: Xarcell on April 08, 2011, 08:14:33 PM
I had problems getting this to work on fresh install of RC5. If more than one person thanked, it still only showed 1 person...
i 've just tested the mod and i don't have such a problem. How did you install the mod? did you check for any errors ?
I can't get it to install on RC5 correctly either.
I'll also join the que of those patiently waiting for the upgrade.
It's a great mod, many thanks. 8)
Sweetwater
maybe author is waiting for 2.0 Gold to make the necessary changes.
If you can't wait you will have to install the mod manually.
Try to install ThankOMatic20RC2_(for_2.0_RC3).zip. Then see the errors. Then extract ThankOMatic20RC2_(for_2.0_RC3).zip and modify ThankOMaticSourceChanges2.0.x, ThankOMaticThemeDefaultChanges2.0.x with the necessary code as it is in RC5.
Quote from: PLAYBOY on April 02, 2011, 05:05:01 PM
Quote from: DefDave7 on March 19, 2011, 08:41:42 PM
Is there any way to install this on 1.1.13? I tried that version emulator thing and when I tried installing this it screwed up my board.
If you're running this mod on SMF 1.1.13, might I ask how you installed it?
Same here... we need it to be good with 1.1.13
Any ideas out there? I looked at the Creators site and nothing there of help.
I have a modification for rc5 and work perfectly in my forum but i don´t know if can i upload here
Not the package no but you *can* post the changed find and replace stuff
Hi all can any one advise what this error is when i try to update my signature
i am using smfrc3, thanks-o-matic 2.0 RC1.4
Wrong value type sent to the database. Integer expected. (p_thank_you_post_became)
is this from the thank you mod & why?
this is from the log
Wrong value type sent to the database. Integer expected. (p_thank_you_post_became)
Function: updateMemberData
File: /home/ausbream/public_html/Sources/Subs.php
Line: 544
another part of the error from Undefined
8: Undefined index: thank_you_post_madeFile: /home/ausbream/public_html/Sources/Profile-Modify.php(787) : runtime-created function
Line: 5
An educated guess would be, that there is a minor value error.
Integer expected. (p_thank_you_post_became) <-- the number of thx you got.
Please check, that all database fields have the correct type and the files are in correct place.
Also it would be helpful where the error had been triggered, my SMF says Error File Line nr in most cases.
There are two options for y I would say. First you updated the mod, second you accidentally changed something that shouldn't have been changed. I would say the update went not perfect.
Quote from: kt84 on May 10, 2011, 05:19:33 AM
An educated guess would be, that there is a minor value error.
Integer expected. (p_thank_you_post_became) <-- the number of thx you got.
Please check, that all database fields have the correct type and the files are in correct place.
Also it would be helpful where the error had been triggered, my SMF says Error File Line nr in most cases.
There are two options for y I would say. First you updated the mod, second you accidentally changed something that shouldn't have been changed. I would say the update went not perfect.
not sure what you mean check all database fields have the correct files are in the correct place?
Well, if you have updated, maybe something with the update of the fields in the DB went wrong.
In that case compare the structure to this:
CREATE TABLE IF NOT EXISTS `smf_thank_you_post` (
`id_thx_post` int(10) unsigned NOT NULL auto_increment,
`id_msg` int(10) unsigned NOT NULL default '0',
`id_topic` mediumint(8) unsigned NOT NULL default '0',
`id_board` smallint(5) unsigned NOT NULL default '0',
`id_member` mediumint(8) unsigned NOT NULL default '0',
`member_name` varchar(80) NOT NULL,
`thx_time` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`id_thx_post`),
KEY `ID_BOARD` (`id_board`),
KEY `ID_MSG` (`id_msg`),
KEY `ID_TOPIC` (`id_topic`),
KEY `ID_MEMBER` (`id_member`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=80 ;
This I took out of my db running a SMF rc4 with the latest THX-O-Matic (ThankOMatic20RC2_for_2.0_RC4.zip)
I am also willing to compare my fixxed files with your files, for finding any possible errors.
BTW You didn't answer my last two questions before.
Did you update anything or changed anything before the error appeared?
(ThankOMatic20RC2_for_2.0_RC4.zip) - works fine with rc5.
Quote from: kt84 on May 10, 2011, 05:47:27 AM
Well, if you have updated, maybe something with the update of the fields in the DB went wrong.
In that case compare the structure to this:
CREATE TABLE IF NOT EXISTS `smf_thank_you_post` (
`id_thx_post` int(10) unsigned NOT NULL auto_increment,
`id_msg` int(10) unsigned NOT NULL default '0',
`id_topic` mediumint(8) unsigned NOT NULL default '0',
`id_board` smallint(5) unsigned NOT NULL default '0',
`id_member` mediumint(8) unsigned NOT NULL default '0',
`member_name` varchar(80) NOT NULL,
`thx_time` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`id_thx_post`),
KEY `ID_BOARD` (`id_board`),
KEY `ID_MSG` (`id_msg`),
KEY `ID_TOPIC` (`id_topic`),
KEY `ID_MEMBER` (`id_member`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=80 ;
This I took out of my db running a SMF rc4 with the latest THX-O-Matic (ThankOMatic20RC2_for_2.0_RC4.zip)
I am also willing to compare my fixxed files with your files, for finding any possible errors.
BTW You didn't answer my last two questions before.
Did you update anything or changed anything before the error appeared?
not sure when it happened if it was after i install it or after installing another mod only found out when i tried to update my profile
Thank the post isnt showing :/ everything else shows including lock all thank you, open all thank you also it shows Recieved : 0 and Given : 0
this is the error line 544
524: // Ensure posts, instant_messages, and unread_messages don't overflow or underflow.
525: if (in_array($var, array('posts', 'instant_messages', 'unread_messages')))
526: {
527: if (preg_match('~^' . $var . ' (\+ |- |\+ -)([\d]+)~', $val, $match))
528: {
529: if ($match[1] != '+ ')
530: $val = 'CASE WHEN ' . $var . ' <= ' . abs($match[2]) . ' THEN 0 ELSE ' . $val . ' END';
531: $type = 'raw';
532: }
533: }
534:
535: $setString .= ' ' . $var . ' = {' . $type . ':p_' . $var . '},';
536: $parameters['p_' . $var] = $val;
537: }
538:
539: $smcFunc['db_query']('', '
540: UPDATE {db_prefix}members
541: SET' . substr($setString, 0, -1) . '
542: WHERE ' . $condition,
543: $parameters
==>544: );
545:
546: updateStats('postgroups', $members, array_keys($data));
547:
548: // Clear any caching?
549: if (!empty($modSettings['cache_enable']) && $modSettings['cache_enable'] >= 2 && !empty($members))
550: {
551: if (!is_array($members))
552: $members = array($members);
553:
554: foreach ($members as $member)
555: {
556: if ($modSettings['cache_enable'] >= 3)
557: {
558: cache_put_data('member_data-profile-' . $member, null, 120);
559: cache_put_data('member_data-normal-' . $member, null, 120);
560: cache_put_data('member_data-minimal-' . $member, null, 120);
561: }
562: cache_put_data('user_settings-' . $member, null, 60);
563: }
564: }
some one must kno what the error is this guy had it as well but can't seem to find if he resolved it
http://www.simplemachines.org/community/index.php?topic=176565.msg2743506#msg2743506
I think i have found the problem the only way i can update my profile is disable the "Received Thank You" &
"Given Thank You" from in the features & options profile fields
as there is 2 of each in the fields
see pic attached
How do i edit or check file to see if there is double entries in what file?
Quote from: PLAYBOY on April 02, 2011, 05:05:01 PM
Quote from: DefDave7 on March 19, 2011, 08:41:42 PM
Is there any way to install this on 1.1.13? I tried that version emulator thing and when I tried installing this it screwed up my board.
If you're running this mod on SMF 1.1.13, might I ask how you installed it?
Same here... we need it to be good with 1.1.13
x2 I want this on my 1.1.13 anyone?!!?
SMF 2.0 RC5 version????
Hello,
I have a problem with this mode. I installed it manually on smf 1.1.13 and I have a problem when setting mode. Mod works but only on the first post. When I go to the User can post to each post and thank You or any other option in admin panel does not accept command. At the same time in the log I get this error
Undefined index: pm_posts_per_hour
Datoteka: /home/xxx/Sources/ModSettings.php
Line: 267
Undefined index: pm_posts_verification
Datoteka: /home/xxx/Sources/ModSettings.php
Line: 267
Undefined index: max_pm_recipients
Datoteka: /home/xxx/Sources/ModSettings.php
Line: 267
Part of the code with a few lines above and below
// Saving?
if (isset($_GET['save']))
{
// Fix PM settings.
$_POST['pm_spam_settings'] = (int) $_POST['max_pm_recipients'] . ',' . (int) $_POST['pm_posts_verification'] . ',' . (int) $_POST['pm_posts_per_hour'];
$save_vars = $config_vars;
$save_vars[] = array('text', 'pm_spam_settings');
saveDBSettings($save_vars);
writeLog();
redirectexit('action=featuresettings;sa=basic');
}
And line 267
$_POST['pm_spam_settings'] = (int) $_POST['max_pm_recipients'] . ',' . (int) $_POST['pm_posts_verification'] . ',' . (int) $_POST['pm_posts_per_hour'];
bump would love to have this work on my 1.1.13 as well.
Obviously we will not get an answer here.
It looks like the problem of not showing the thank you icons/buttons is it wouldn't work on additional themes added even you moved already the needed buttons on designated folders.
hi
i select 1.2.4 and when i select 1.1.11 and click parse botton this message appear:
Sorry, but this modification does not appear to be compatible with the selected version.
at campatible with section i see 1.1.11. why this error accured?
thanks
Quote from: RvG on May 10, 2011, 02:19:11 PM
(ThankOMatic20RC2_for_2.0_RC4.zip) - works fine with rc5.
There is no such mod with name "ThankOMatic20RC2_for_2.0_RC4.zip" listed there. Please confirm the name, I'm also running SMF 2.0 RC5 and i badly want this mod.
Thanks
I installed this mod on my RC5 and works exelent but on my 1.1.13 is not working.
i use thank o matic125
at each post i see thanks link but it repeated 2 time at each post. why?
Maybe you double the codes?
come on baby .....
2.0 FINAL
its update time
Quote from: amiralib on June 15, 2011, 12:17:01 PM
come on baby .....
2.0 FINAL
its update time
Have you at least tried it?
I installed the mod on my 2.0 test forum although I have yet to correct the required file edits.
no I didnt
my forum is Rc3 because I scare of upgrading my forum without thankyou mod !
my users love THANKS ! LOL
do you have any suggestion ?
Quote from: amiralib on June 16, 2011, 12:36:34 PM
no I didnt
my forum is Rc3 because I scare of upgrading my forum without thankyou mod !
my users love THANKS ! LOL
do you have any suggestion ?
when u upgrade send me pm to give u the mod
my upgrading is depend on this mod ! so please send it to me.
regards
I get a corruption error when trying to install it.... I have 1.1.14 and even downgraded it to 1.1.13 to see if it would make a difference and it hasn't ....
What does the error state?
Quote from: Brack1 on June 16, 2011, 08:10:31 PM
What does the error state?
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.
This has been mentioned many a time.
Once back on the latest version ie 1.1.14 install the mod.
Yes I know you will see the message you posted but
below the mods list is a link which says advanced
Click there then emulate the version.
Brack watch it. That isn't in 1.1.14
Quote from: Brack1 on June 16, 2011, 08:31:00 PM
This has been mentioned many a time.
Once back on the latest version ie 1.1.14 install the mod.
Yes I know you will see the message you posted but
below the mods list is a link which says advanced
Click there then emulate the version.
I don't see any link which says advanced....is this under download packages, browse packages, installed packages, options?
Quote from: live627 on June 16, 2011, 08:53:28 PM
Brack watch it. That isn't in 1.1.14
Thanks for the heads up.
Apologies to the OP.
:-[
I have this working and love it but I was wondering if anyone could tell me how to change the wording next to the icon (pic attached)
Hello,
I have installed SMF 2.0 gold, try to make it work Thank-O-Matic, I shot some errors and does not come from nowhere.
By the time an upgrade to SMF 2 gold version?
Mod is a magnificent, very much appreciate the work you do, I hope you update it.
Sorry my bad English ...
Thank you very much!
The mod works on my 2.0 test forum with no errors.
Can you explain which errors you are getting.
hi
´something wrong with this mod when i install it on my forum rc3, most of the functions work apart from the its not showing on profile how many thanks i have given or taken !! here is a screenshot of the problem , it may help
thanks
If all the permissions etc are set then as a guess I would say it is the css you need to look at.
Quote from: Brack1 on June 22, 2011, 04:48:03 PM
If all the permissions etc are set then as a guess I would say it is the css you need to look at.
i dont think its the permissions as i am in admin account which means that i have alll permissons but wat about the css?
Quote from: Brack1 on June 21, 2011, 03:23:19 PM
The mod works on my 2.0 test forum with no errors.
Can you explain which errors you are getting.
i have various "test failed" in display.php, and for this reason i stopped the installation.
it was the same for you when you installed, or the test was successful?
All you require is a few manual edits using the mods parser.
Hi,
Here the version for 2.0 Gold, again for Lazy poeple !!
I only change the code, but not the version, comment or other things..
Quote from: chico200987 on June 24, 2011, 07:50:58 PM
Hi,
Here the version for 2.0 Gold, again for Lazy poeple !!
I only change the code, but not the version, comment or other things..
I tried it but it gave errors on install, so I didn't proceed with it.
Hope this one gets updated to 2.0 soon!
Quote from: Lady Night Owl on June 25, 2011, 12:43:54 AM
Quote from: chico200987 on June 24, 2011, 07:50:58 PM
Hi,
Here the version for 2.0 Gold, again for Lazy poeple !!
I only change the code, but not the version, comment or other things..
I tried it but it gave errors on install, so I didn't proceed with it.
Hope this one gets updated to 2.0 soon!
If the errors you mention are test failed ones then all you have to do is manually edit those files.
The previous poster updated the mod so there was really no need to ask for an update.
That *is* the one he tried, eheh.
Did you try the edits?
Oups.. Sorry.. It works for me, weird Oo
I've tried on another clean smf 2.0 forum and i've got error too sorry !
Are you using Core theme ? If not I can do the modification for you (only 2 blanks line to remove on ThankOMaticSourceChanges2.0.x.mod ..) or do it yourself it's very easy..
It works well with 2.0 and I have fixed also the icon buttons now showing with other themes.
I have errors too. Can someone resolve this?
I'd love to have this for version 2.0 Gold + Core Theme. I've tried to install chico200987's version but it showed errors for me too
Quote from: datoneer on June 27, 2011, 10:49:04 AM
I have errors too. Can someone resolve this?
Quote from: naoko15 on June 27, 2011, 01:40:03 PM
I'd love to have this for version 2.0 Gold + Core Theme. I've tried to install chico200987's version but it showed errors for me too
How are people expected to help if you don't say what the errors are?
Quote from: Brack1 on June 27, 2011, 03:37:28 PM
Quote from: datoneer on June 27, 2011, 10:49:04 AM
I have errors too. Can someone resolve this?
Quote from: naoko15 on June 27, 2011, 01:40:03 PM
I'd love to have this for version 2.0 Gold + Core Theme. I've tried to install chico200987's version but it showed errors for me too
How are people expected to help if you don't say what the errors are?
You're right, sorry for not explaining myself better. It showed a few errors prior to the installation, so i didn't go on with it. The errors were in ./Sources/Display.php and ./Themes/core/Display.template.php from Core Theme.
I tried to install chico200987's version for SMF 2.0 Gold
Can you paste the errors in here so someone can have a look for you.
( I don't use core so never bother with those edits).
Test Failed just means a manual edit is required which is where the parser comes in useful.
I've attached a couple of pictures, so you can see. Thank you!
Er please go into the files themmselves and paste the error line plus a few lines above and below so someone can help.
Am I right in saying you use the core theme?
The thing is that i didn't install it, as it seems i'll get many errors.
Now i've tried to install it and i always get "500 internal server error"
I'd like to know how can i manually change /Sources/Display.php and the files in my Core Theme so i can make it work.
How do you get this to work in 1.1.14?
Download
ThankOMatic125_v2.zip (http://custom.simplemachines.org/mods/index.php?action=download;mod=710;id=130343)
Unzip inside package-info.xml
Puty Like this
<install for="1.1 - 1.1.99"><uninstall for="1.1 - 1.1.99">
Quote from: Joomlamz on July 01, 2011, 02:00:52 PM
Download
ThankOMatic125_v2.zip (http://custom.simplemachines.org/mods/index.php?action=download;mod=710;id=130343)
Unzip inside package-info.xml
Puty Like this
<install for="1.1 - 1.1.99"><uninstall for="1.1 - 1.1.99">
Did that, but it won't install in the package manager because of the following failed test:
28. Execute Modification ./Sources/Subs.php Test failed
Any ideas?
Check attach file
for mi work 100% in 2.0
wich file i need to download to make this work on 1.1.12 i downloaded 12 files and non of them work
did try here
http://custom.simplemachines.org/mods/index.php?mod=710
File ThankOMatic125_v2.zip (http://custom.simplemachines.org/mods/index.php?action=download;mod=710;id=130343)
yes i downloaded it tryed to install as packaceg and forum sad this version is not supported for your forum or file is damaged
ok
try now
is update to work 1.1.x
Quote from: chico200987 on June 24, 2011, 07:50:58 PM
Hi,
Here the version for 2.0 Gold, again for Lazy poeple !!
I only change the code, but not the version, comment or other things..
I installed this on 2.0 gold today. After making the manual edits to
.sources/display.php and
.themes/default/display.template.php, the mod appeared to be in good working order. However, when thanking a member, the forum would return a database error Unknown column "member_name" in
.sources/thankyoupost.phpIt turns out that since I had previously installed a version prior to this one, the columns were already inserted into the database and at some point the array 'member_name' used to be 'membername'
If anybody else runs into this problem here is what you do:
1. open .sources/thankyoupost.php
2. find
'member_name' => 'string',
replace with
'membername' => 'string',
3. find
'member_name' => $user_info['name'],
replace with
'membername' => $user_info['name'],
and that fixed the problem for me :]
Quote from: chico200987 on June 24, 2011, 07:50:58 PM
Hi,
Here the version for 2.0 Gold, again for Lazy poeple !!
I only change the code, but not the version, comment or other things..
I've had a 2 problems with the above package.
1. Load.php:
mem.time_format, mem.secret_question, mem.is_activated, mem.additional_groups, mem.smiley_set, mem.show_online,
That line is edited by aeva to look like this:
mem.time_format, mem.secret_question, mem.aeva_items, mem.aeva_comments, mem.is_activated, mem.additional_groups, mem.smiley_set, mem.show_online,
Fixed this issue by not using the above line as the anchor in search/replace.
2. Display.php
$context['is_hot'] = $topicinfo['num_replies'] >= $modSettings['hotTopicPosts'];
$context['is_approved'] = $topicinfo['approved'];
There's unnecessary spacing that I removed (that spacing is not in SMF 2.0).
So here is the update package.
: Undefined index: thankYouPostCounterOutput
File: .../Sources/ThankYouPost.php
Row: 843 and 844
how may I solve this error?
I saw that this happes during post edit
Anyone get this to work on 1.1.14?!
Quote from: Joomlamz on July 02, 2011, 12:51:33 AM
Check attach file
for mi work 100% in 2.0
Hi , i upgraded my smf 1.1.14 to smf 2.0 gold . also after it reinstall thank-o-matic . now i have this error on every page which have thank you :
Unknown column 'thx.member_name' in 'field list'
file: /home/sbclub/domains/shiabloggers.ir/public_html/forum/Sources/ThankYouPost.php
line : 716
anybody can help me ?
sorry , i see this post now:
Quote from: bigbusey on July 05, 2011, 09:34:44 PM
Quote from: chico200987 on June 24, 2011, 07:50:58 PM
Hi,
Here the version for 2.0 Gold, again for Lazy poeple !!
I only change the code, but not the version, comment or other things..
I installed this on 2.0 gold today. After making the manual edits to .sources/display.php and .themes/default/display.template.php, the mod appeared to be in good working order. However, when thanking a member, the forum would return a database error Unknown column "member_name" in .sources/thankyoupost.php
It turns out that since I had previously installed a version prior to this one, the columns were already inserted into the database and at some point the array 'member_name' used to be 'membername'
If anybody else runs into this problem here is what you do:
1. open .sources/thankyoupost.php
2. find
'member_name' => 'string',
replace with
'membername' => 'string',
3. find
'member_name' => $user_info['name'],
replace with
'membername' => $user_info['name'],
and that fixed the problem for me :]
it's work for me . but with it you can't see name of unrecognized member's below the post's yet . i replace all of "member_name" with "membername" in this file and it work good for me now :)
Thx - I modified this package by myself and installed it successful in my testforum (2.0 Gold).
I had to modify some values in the mod-files also I used my own translation... - I've more then 65 mod integrated.
Have a look. http://aida32-inventory.netboom.de/smf/index.php?topic=202.msg1611#msg1611
Thanks for that useful mod
cheers inti31
Hi , i have new problem . on normal board (read and write and create new topic) , user can see thank you button . but on board's with limited permissions (for example only read or only write) user cant see thank you button!! why? anybody can help me ?!
Quote from: Skipper. on May 21, 2011, 01:40:35 PM
Hello,
I have a problem with this mode. I installed it manually on smf 1.1.13 and I have a problem when setting mode. Mod works but only on the first post. When I go to the User can post to each post and thank You or any other option in admin panel does not accept command. At the same time in the log I get this error
Undefined index: pm_posts_per_hour
Datoteka: /home/xxx/Sources/ModSettings.php
Line: 267
Undefined index: pm_posts_verification
Datoteka: /home/xxx/Sources/ModSettings.php
Line: 267
Undefined index: max_pm_recipients
Datoteka: /home/xxx/Sources/ModSettings.php
Line: 267
Part of the code with a few lines above and below
// Saving?
if (isset($_GET['save']))
{
// Fix PM settings.
$_POST['pm_spam_settings'] = (int) $_POST['max_pm_recipients'] . ',' . (int) $_POST['pm_posts_verification'] . ',' . (int) $_POST['pm_posts_per_hour'];
$save_vars = $config_vars;
$save_vars[] = array('text', 'pm_spam_settings');
saveDBSettings($save_vars);
writeLog();
redirectexit('action=featuresettings;sa=basic');
}
And line 267
$_POST['pm_spam_settings'] = (int) $_POST['max_pm_recipients'] . ',' . (int) $_POST['pm_posts_verification'] . ',' . (int) $_POST['pm_posts_per_hour'];
i am get this errors. i am using 1.1.14 version.
you have a fixed?
No.
With respect to ディン1031 I modified the latest Thank-O-matic version and make it to install/uninstall properly on SMF 2.0 GOLD default Theme.
Actually, the file I attach here, installs properly on other Themes like Helios multicolor and default multicolor...
Please, do not try to install on themes that produces error on installation check
I do not mean to take over this modification from ディン1031
ディン1031, thank you very much for that nice mod.
Hey, I've installed this mod for 2.0, and there is something very wrong. Lots of errors like this:
8: Undefined index: thank_you_link_aftercounter
File: /home/forum/Themes/default/GenericControls.template.php (main sub template - eval?)
Line: 171/178
How should I fix this?
Quote from: Мel on August 01, 2011, 06:13:33 PM
Hey, I've installed this mod for 2.0, and there is something very wrong. Lots of errors like this:
8: Undefined index: thank_you_link_aftercounter
File: /home/forum/Themes/default/GenericControls.template.php (main sub template - eval?)
Line: 171/178
How should I fix this?
Use a text editor like notepad and Make sure that the following line of code exists in
{forum dir} /Themes/default/languages/index.english.php
$txt['thank_you_link_aftercounter'] = 'gave a thank you!';
actually all of the following lines of code should exist (at the end of the file) {forum dir} /Themes/default/languages/index.english.php
//Thank You text for the Thread :)
$txt['thank_you_link_beforecounter'] = 'For this post,';
$txt['thank_you_link_members'] = 'members';
$txt['thank_you_link_member'] = 'member';
$txt['thank_you_link_aftercounter'] = 'gave a thank you!';
$txt['thank_you_link_aftercounters'] = 'gave a thank you!';
$txt['thank_you_is_locked'] = 'Thank You is locked';
$txt['thank_you_post_post_b'] = 'Thank You';
$txt['thank_you_post_delete_b'] = 'Delete Thank You';
$txt['thank_you_post_lock_b'] = 'Lock Thank You';
$txt['thank_you_post_open_b'] = 'Open Thank You';
$txt['thank_you_post_lock_all_b'] = 'Lock All Thank You';
$txt['thank_you_post_open_all_b'] = 'Open All Thank You';
$txt['remove_thank_you_post'] = 'Remove this Thank You';
$txt['followgiveathank'] = 'Follow members gave a thank to your post:';
$txt['thank_you_post_unlock_all'] = 'Unlock All Thank You Posts';
$txt['thankyoupostlist'] = 'Thank You Post List (Complete)';
$txt['thankyouposterrorinscript'] = 'Error in scirpt... somehow this should not happen!';
$txt['thank_you_post_thx_display'] = 'Thank You';
$txt['thank_you_post_made_display'] = 'Given';
$txt['thank_you_post_became_display'] = 'Receive';
$txt['standard_profile_field_thank_you_post_made'] = 'Given Thank You';
$txt['standard_profile_field_thank_you_post_became'] = 'Received Thank You';
You may translate and include the above code (right before ?>) in any other language file (like index.
russian.php), if you have another language installed.
Please report any other errors.
This is now one mod that should seriously use integration hooks. My gosh, I have to make almost 10 manual edits to my files. I'm leaving installation of this file until I have more time on my hands.
Quote from: MiY4Gi on August 09, 2011, 07:52:07 AM
This is now one mod that should seriously use integration hooks.
Very well; however, most of the files edited don't even have hooks.
Quote from: live627 on August 10, 2011, 01:40:07 AM
Quote from: MiY4Gi on August 09, 2011, 07:52:07 AM
This is now one mod that should seriously use integration hooks.
Very well; however, most of the files edited don't even have hooks.
So only certain files have integration hooks? Are the developers still implementing integration hooks into some files, or is such an implementation not possible for specific files?
I hear SMF 2.1 will have them everywhere, or in many more areas than currently in SMF 2.0.
Hi
I am running SMF 2.0 with theme - argentum_enhanced_smf20final
I am trying to install a "thank you" mod for posts but I keep getting
"The package you are trying to download or install is either corrupt or not compatible with this version of SMF"
Then I see that: "Sorry, but this modification does not appear to be compatible with the selected version."
Does anyone know of such a mod for SMF 2.0?
Quote from: GMS Hosted on August 11, 2011, 08:37:11 AM
Hi
I am running SMF 2.0 with theme - argentum_enhanced_smf20final
I am trying to install a "thank you" mod for posts but I keep getting
"The package you are trying to download or install is either corrupt or not compatible with this version of SMF"
Then I see that: "Sorry, but this modification does not appear to be compatible with the selected version."
Does anyone know of such a mod for SMF 2.0?
Emulate to SMF 2.0 RC3. Go to Browse Packages then click
Advanced at the bottom right-hand corner. Type in
SMF 2.0 RC3, hit
Apply, then on that page look for Thank-O-Matic. An
[Install Mod] should have appeared next to the mod. Click it and proceed with the installation.
Quote from: live627 on August 10, 2011, 08:41:36 PM
I hear SMF 2.1 will have them everywhere, or in many more areas than currently in SMF 2.0.
That's good to hear. However, I don't think 2.1 is gonna get released any time soon, maybe in the next few months, yes.
QuoteEmulate to SMF 2.0 RC3. Go to Browse Packages then click Advanced at the bottom right-hand corner. Type in SMF 2.0 RC3, hit Apply, then on that page look for Thank-O-Matic. An [Install Mod] should have appeared next to the mod. Click it and proceed with the installation.
Hi
I just did exactly as you instructed... but getting error notice:
Error in Package InstallationQuoteAt 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.
Also showing a number of test failed on the right
Is it safe to install or not?
You'll have to do manual edits to all the files that show errors. When I attempted to install the mod on my forum I got 9 errors, so I'm putting the installation on hold until I got more free time. Such errors are a common occurrence when you have other mods installed, but it could also be due to incompatibilities with the current version of SMF.
I say, go ahead with the installation, and make the manual edits to the files with errors.
Quote from: MiY4Gi on August 09, 2011, 07:52:07 AM
My gosh, I have to make almost 10 manual edits to my files.
Do You mean 10 edits on different Theme files ?
If they are not Theme files, would you please tell me what other Mods you have installed ?
Any way, I think Thank-O-Matic is a MUST for a forum.
It is encourages members to contribute and creates a more friendly environmental feeling for forum members.
MiY4Gi, I would like to know your opinion for that Mod.
How can I change this?
QuoteThank You
-Given: X
-Receive: X
and how can I disable removing thanks..??
Please refer to this post (http://www.simplemachines.org/community/index.php?topic=176565.msg3125131#msg3125131) and find the following :
$txt['thank_you_post_thx_display'] = 'Thank You';
$txt['thank_you_post_made_display'] = 'Given';
$txt['thank_you_post_became_display'] = 'Receive';
Do not change any thing before " = " and do not remove single quotes " ' "
Change the wording to what you like.
To disable "Delete Thank you" check your permission given in Admin ->Freature and Settings -> Thank-O-Matic Options
Do you like Thank-O-Matic ?
Quote from: Yiorgos on August 14, 2011, 08:19:59 AM
Please refer to this post (http://www.simplemachines.org/community/index.php?topic=176565.msg3125131#msg3125131) and find the following :
$txt['thank_you_post_thx_display'] = 'Thank You';
$txt['thank_you_post_made_display'] = 'Given';
$txt['thank_you_post_became_display'] = 'Receive';
Do not change any thing before " = " and do not remove single quotes " ' "
Change the wording to what you like.
To disable "Delete Thank you" check your permission given in Admin ->Freature and Settings -> Thank-O-Matic Options
Do you like Thank-O-Matic ?
what is the code for the value?
Quote from: uninvited13th on August 15, 2011, 02:00:50 AM
what is the code for the value?
Code usually is called the script
Scripts include variables.
the code for a variable looks like
$WeekDay the
value (let's say 'Monday') for a variable can be assigned like:
$WeekDay = 'Monday';
So, to change the value (wording) that you asked, you must change the Maroon colored
part of the code.
If my english do not help you to understand, please specify what do you want to change, and what do you want it to be.
Forum currently at RC3, and running v 2.0RC2 of this mod. I am thinking about updating my site to 2.0 Gold.
ok so after reading through tons of pages, seeing that 1031 has apparently abandoned the mod, and several people have tried to make their own versions, is there an actual version that works (and is fully supported incase there are issues)?
thanks
I use this version and works fine on my forum.
Here is example http://www.fm-balkan.com/index.php?topic=3972.0
Quote from: Skipper. on August 22, 2011, 03:23:55 PM
I use this version and works fine on my forum.
Here is example http://www.fm-balkan.com/index.php?topic=3972.0
thanks I will try this one.
Hi Skipper
Kimmie asked if
Quote from: Kimmie on August 22, 2011, 03:26:10 AM
is there an actual version that works (and is fully supported incase there are issues)?
Would you please place a link where we may have support on the file you kindly uploaded?
http://www.smfsimple.com/index.php
Quote from: Skipper. on August 27, 2011, 12:31:22 PM
http://www.smfsimple.com/index.php
May I suggest 2 things.
1. You take off the web address from the mods link as you are not the original mods author and
2. Rather than expect people to register on your forum before they can view anything I would recommend you let folks view the forum first specially as it isn't in English.
This is not my forum. From there I just took a thank-o-matic mode, which I am very pleased.
HI, I just installed the Thank_o_matic_SMF2.0_Gold version after countless trial and error. It's finally working but when I thank someone it comes out as two duplicates like this
Follow members gave a thank to your post:
sophrenia *
For this post, 1 member gave a thank you!
Follow members gave a thank to your post:
sophrenia *
For this post, 1 member gave a thank you!
Where can I find the duplicate code and which one should I delete? Thanks in advance.
@ libra_86930
Did you change anything in Admin -> Thank-O-Matic settings ?
Here are my settings... See if you have somthing different and let me know.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.sdtv.gr%2Fphotoshare%2Fimage-D795_4E5D5E9F.gif&hash=3c230ccf4e2f80bed4f6a0aeee02fad0d1804324) (http://www.sdtv.gr/photoshare/share-D795_4E5D5E9F.html)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.sdtv.gr%2Fphotoshare%2Fimage-48B9_4E5D5F54.gif&hash=f9ea6d6fc7d53a4824cfcbfd8b573e49fb50c472) (http://www.sdtv.gr/photoshare/share-48B9_4E5D5F54.html)
I did have Enable Thank-O-Matic moderation log inserts checked. I followed your settings but its still double =(
Also in the userprofile:
When trying to check the thank given in posts and topics it shows the post but where the thank is located , there is an error
Fatal error: Call to undefined function: template_thank_you_post() in /hermes/bosweb25a/b259/d5.ippy/public_html/forum/Themes/default/ThankYouPost.template.php on line 1227
Whereas using my admin account I can see it fine.
The line in question is
template_thank_you_post($post['thank_you_post'], $post['id']);
It seems that the double thanked display is only present in the post/topic. In the profile section it shows only 1.
Heres my template.
Not sure if the error is talking about which index template so I'll put the themes/default one here.
it appears that the problem was an incompatible theme :P I recently upgraded to 2.0 gold and still used my rc3 theme. After I upgraded the theme to the current version, it got fixed :laugh:.
But I still have the problem of double thanked(see attachment)
I seem to have it in both forums I installed it into. was using default theme in one of them so I don't think it's theme related.
I just show your 2nd reply, but since I have written the following, I 'll post them for possible refference.QuotePlease change ThankOmatic Type (1st picture above) then save.
Check and see what is the effect (if any).
Press Ctrl + F5 to clear browsers cash and refresh the display (Do not underestimate that function).
Return to the settings as you have them now.
Do you use the default theme ?
Does it happen on other themes you may have installed ?
Can you Uninstall the ThankOmatc mod without Warnings ? If yes, please do it and then re-install it.
After your 2nd reply...,
Uninstall Thank-O-Matic and try to install again BUT emulate your SMF package manager to SMF 2.0 RC3
You will find a ADVANCED link at the lower right corner of your package manager.
I think that you should take the time to make a full clear SMF 2 installation (with a backup of your db) and install all the mods you want and have now. Then switch to the primary db. Start thinking of that option...
Keep me informed on your findings
Quote from: Skipper. on August 22, 2011, 03:23:55 PM
I use this version and works fine on my forum.
Here is example http://www.fm-balkan.com/index.php?topic=3972.0
This version works perfectly. I have this mod on all my forums and on diferent languages and work without errors.
@ libra_86930
Try Skypers version if you want.
I did not go through that, but that is supposed to be the same mod.
Okay I did try uninstalling it. Were errors in source/load.php but that error was there in the first place when I try to install. Did a manual edit for this. Tried emulating rc3 as per your instructions. but that just rendered the package uninstallable as theres no install mod option. Just a list files and delete. Tried a fresh install and still it did not work.
Will be trying skipper's and give an update here
Update: still were errors when trying to install. Specifically the loads.php and display.template.php in the themes default.
But I suspect it was due to the mods I had installed. My freshly installed test forum had no problems installing smfsimple's version.
I had trouble with the display.template mod code added after this code.
'print' => array('text' => 'print', 'image' => 'print.gif', 'lang' => true, 'custom' => 'rel="new_win nofollow"', 'url' => $scripturl . '?action=printpage;topic=' . $context['current_topic'] . '.0'),
);
the instruction was to add after the above code this bit;
'print' => array('text' => 'print', 'image' => 'print.gif', 'lang' => true, 'custom' => 'rel="new_win nofollow"', 'url' => $scripturl . '?action=printpage;topic=' . $context['current_topic'] . '.0'),
);
// Special Lock for the Thank You :)
if ($context['thank_you_lock_allowed'])
if (empty($context['is_thank_you_post_locked']))
$normal_buttons['thankyoupostlock'] = array('text' => 'thank_you_post_lock_all_b', 'image' => 'thank_you_lock1.gif', 'lang' => true, 'url' => $scripturl . '?action=thankyoupostcloseall;topic=' . $context['current_topic']);
else
$normal_buttons['thankyoupostlock'] = array('text' => 'thank_you_post_open_all_b', 'image' => 'thank_you_lock2.gif', 'lang' => true, 'url' => $scripturl . '?action=thankyoupostcloseall;topic=' . $context['current_topic']);
// A Fix for later, if some Translations are not Updated
if (empty($txt['thank_you_link_aftercounters']))
$txt['thank_you_link_aftercounters'] = $txt['thank_you_link_aftercounter'];
but it gave off a double arrow error or something.
But copying the test forum's installed code seems to do it for me.
Thanks to both of you for your help.
As far as I can tell there are no errors but will post if I find any.
Cheers ;D
Thank you libra_86930 for the update.
Hello, this mod will be updated in a few weeks.
The creator has given us.
Please do not attach any more mod or speak with customizers.
Regards enik...
Quote from: enik on August 31, 2011, 04:47:30 PM
Hello, this mod will be updated in a few weeks.
The creator has given us.
Please do not attach any more mod or speak with customizers.
Regards enik...
Thanks for the Good news Enic
Nice to know that ディン1031 will be with us again.
I 'll no longer refer to my trial to keep that mod working.
ディン1031 ¿? ???
This mod is now owned by Adk-Team.
He author ceded the work
I really need that mod very soon. A few weeks is too long. I hope they ll share new version sooner
Just yesterday we got the mod, we still have to look at everything.
If you waited until now, can wait a while more.
be patient ;)
:) You re right. I can wait a while more :)
So will you also update it for Smf 2.0 ?
So is the update will be for 2.0 gold.
And we have some very good changes for the mod.
Regards enik...
Quote from: Adk-Team on September 01, 2011, 06:34:27 AM
ディン1031 ¿? ???
This mod is now owned by Adk-Team.
He author ceded the work
I 'm sorry. You are right.
Nice to have you back with us Adk-Team.
I am looking forward for your excellent mods.
That s great news. We are impatiently waiting for new changes. :)
Hello everyone
Now I have all the set changes, today I get to work on this great mod
Regards enik...
please put version for smf2.0 my forum sucks without this mod :(
Quote from: yourdailysaver on September 02, 2011, 03:11:41 PM
please put version for smf2.0 my forum sucks without this mod :(
You re definitely right. Forum sucks without this mod
The estimated time for the update is 15 days since I work in another mod.
Patience please.
Regards enik...
was just about to come here and see if there was an update... okay awesome, thanks so much guys ^_^
Quote from: enik on September 03, 2011, 12:14:57 AM
The estimated time for the update is 15 days since I work in another mod.
Patience please.
Regards enik...
THANKS A LOT. I am using smf 2.0 with the 1.2.5 version. Will I loose everithig updting to your new versión? :)
Good to know that this mod will come alive and updated
waiting the good news
regards,
I'm getting excited. Can't wait!
Almost there!
They are doing final testing ;)
Waow great newsssssssss :)
Hello,
I use the SMF vers. 1.1.14, i know its an older version, but i have edit some files so i update later.
Now i've tried to install the Thank-O-Matic and i get following Error Message:
QuoteAn error has occurred.
Session verification failed. Please try logging out and back in again, and then try again.
I delte Cookies and Cache, log in and out many times, everytime the same problem.
Tried with Thank-O-Matic 123, Thank-O-Matic 124 and Thank-O-Matic 125 v2
Can someone help me?
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fupic.me%2Fi%2Fh3%2F16untitled-1.jpg&hash=9cf8dc00d6c7537fb14357f964df5dccea2d08c4)
Need to fix it.
I'm using SMF 2.0 RC5
QuoteNeed to fix it.
I'm using SMF 2.0 RC5
The official version is not compatibility with RC5
We are working on it
I do not know which version you install.
Quote from: Adk-Team on September 06, 2011, 01:49:52 PM
QuoteNeed to fix it.
I'm using SMF 2.0 RC5
The official version is not compatibility with RC5
We are working on it
I do not know which version you install.
I installed version. ThankOMatic20RC2_ (for_2.0_RC3) on the SMF 2.0 RC5
Hello you have repeated code in Display.template
glad I came here again before I ran my upgrade tonight. So what your saying is we "shouldnt install" Skippers version that was posted here?
http://www.simplemachines.org/community/index.php?topic=176565.msg3143743#msg3143743
Quote from: Skipper. on August 22, 2011, 03:23:55 PM
I use this version and works fine on my forum.
Here is example http://www.fm-balkan.com/index.php?topic=3972.0
several test fails on Display.php. I need a stand alone package parser that is compatible with 2.0 GOld so I can get the edits needed. Do you know of one?
EDIT:: Found a parser but the mod cannot be parsed because there are problems with "skipper's version" of the mod
It's not my mod.
Quote from: Skipper. on September 07, 2011, 01:53:00 AM
It's not my mod.
ok well, the one you posted then ;). My upgrade is complete but I still need to get this mod back on. I guess all I can do is hope they get this one updated and released soon. :)
If all goes well today will be ready :D
Quote from: Adk-Team on September 07, 2011, 04:11:54 AM
If all goes well today will be ready :D
I cant wait it............. :D ;D
Why everybody skip my question? :( :'(
Is no one here who can help me?
None of the current version has compatibility
Quote from: Changing on September 07, 2011, 09:26:34 AM
Why everybody skip my question? :( :'(
Is no one here who can help me?
Please wait for the new official version of that mod.
Meanwhile:
1. Check and see if you have that problem, trying to install another mod.
2. Start thinking of upgrading to SMF 2.0 GOLD
Quote from: Yiorgos on September 07, 2011, 11:46:56 AM
Quote from: Changing on September 07, 2011, 09:26:34 AM
Why everybody skip my question? :( :'(
Is no one here who can help me?
Please wait for the new official version of that mod.
Meanwhile:
1. Check and see if you have that problem, trying to install another mod.
2. Start thinking of upgrading to SMF 2.0 GOLD
Thanks for your answer.
Is a ToM-Version for 1.1.14 in developement or just for 2.x?
The Problem to switch to 2.x is, that i use a very edited teamplate and i have no time to edit it a secnd time for all changes in 1.1.14 - 2.x
Thanks
So they say, but I have not finished editing :o :o :o
Regards enik...
Quote from: enik on September 07, 2011, 02:17:10 PM
So they say, but I have not finished editing :o :o :o
Regards enik...
well if your working with "Adk-Team" to update this mod, shouldnt you be talking to them unstead of us so that they know where you are on your part and wont be telling us its ready when it isnt? ;)
Well I'm in the final testing, the evening will come out to the public.
Regards enik...
Changing, ToM is a great mod and all forums should have it.
But your forum cannot have it due to the fact that you are stacked to SMF1.1.14, because of your personal edits.
To my experience, forum members like very much skin (Theme) changes and are in favor of script updates.
Plan your steps to upgrade to SMF2.0
Make a backup of your database and your forum files, just in case you want to return to SMF1.1.14
You 'll see that your members will like that change.
Ask for their patience
Then apply the mods you need step by step
ToM is the mod that your members will love the most.
DO NOT make changes of your own. Your changes may take you to a position that you will no longer be able to apply other mods. Just like you are now. You are stuck to SMF 1.1.14 and cannot apply even the security updates, due to your template edits.
It happened to me also.
I updated to SMF 2.0
After that I apply only mods through the package manager and I make no personal edits.
Regards
Quote from: enik on September 07, 2011, 05:32:12 PM
Well I'm in the final testing, the evening will come out to the public.
Regards enik...
Enic take your time and please make sure ToM will install on all kind Themes (Curve, core, etc)
I want to clarify something:
Smfpersonal team, decided some time ago not to develop more mods for SMF 1.x.x version.
All our mods are made or based for smf 2.0, and the theme curve
Regards enik...
Quote from: Yiorgos on September 07, 2011, 07:50:18 PM
Changing, ToM is a great mod and all forums should have it.
But your forum cannot have it due to the fact that you are stacked to SMF1.1.14, because of your personal edits.
To my experience, forum members like very much skin (Theme) changes and are in favor of script updates.
Plan your steps to upgrade to SMF2.0
Make a backup of your database and your forum files, just in case you want to return to SMF1.1.14
You 'll see that your members will like that change.
Ask for their patience
Then apply the mods you need step by step
ToM is the mod that your members will love the most.
DO NOT make changes of your own. Your changes may take you to a position that you will no longer be able to apply other mods. Just like you are now. You are stuck to SMF 1.1.14 and cannot apply even the security updates, due to your template edits.
It happened to me also.
I updated to SMF 2.0
After that I apply only mods through the package manager and I make no personal edits.
Regards
Quote from: enik on September 07, 2011, 05:32:12 PM
Well I'm in the final testing, the evening will come out to the public.
Regards enik...
Enic take your time and please make sure ToM will install on all kind Themes (Curve, core, etc)
wow lol (actually, even if your on 2.0, there are still edits to be made depending on the mods you choose to use. Not all install without issues. If 2 mods you choose to use utilize the same section of code then you will have to make edits on the latter one).
On a side note, if one is to take over this mod, they should be able to give support to those on the 1.x version as well. I think its only fair. If its not fair, then the 1.x versions of the mod need to be completely removed from the mod page so that you have noone else downloading it. This mod is too intense for someone not to be able to get support on the version they need. (make sense? ;))
Is it possible to make compatible with smf 2.0 ? or with the latest RC5 ?
Also it would be better,to write at profile's member how many thanks has he got
So is the mod ready???
Sheesh don't people believe in patience these days?
We are finishing the final details, our beta tester is driving us crazy :P
Regards enik...
Quote from: Brack1 on September 08, 2011, 11:27:45 AM
Sheesh don't people believe in patience these days?
only to a certain extent. Its called being human. lighten up.
So you're right, I hope everything goes well in the last testings.
Regards enik...
Quote from: enik on September 08, 2011, 06:46:17 PM
So you're right, I hope everything goes well in the last testings.
Regards enik...
Nos puedes ir adelantando algunas de las novedades?
Si estamos usando la version antigua, la quitamos e instalamos la nueva perderemos los thaks?
Gracias
Quote from: silber112 on September 08, 2011, 06:53:39 PM
Quote from: enik on September 08, 2011, 06:46:17 PM
So you're right, I hope everything goes well in the last testings.
Regards enik...
Nos puedes ir adelantando algunas de las novedades?
Si estamos usando la version antigua, la quitamos e instalamos la nueva perderemos los thaks?
Gracias
Please use English on the support boards.
Quote from: Brack1 on September 08, 2011, 06:54:51 PM
Quote from: silber112 on September 08, 2011, 06:53:39 PM
Quote from: enik on September 08, 2011, 06:46:17 PM
So you're right, I hope everything goes well in the last testings.
Regards enik...
Nos puedes ir adelantando algunas de las novedades?
Si estamos usando la version antigua, la quitamos e instalamos la nueva perderemos los thaks?
Gracias
Please use English on the support boards.
I am asking one of te mod autors about the new version of the mod. He is spanish.
Quote from: silber112 on September 08, 2011, 06:58:03 PM
I am asking one of te mod autors about the new version of the mod. He is spanish.
you still have to use English when asking, those are the rules ;)
Quote from: enik on September 08, 2011, 06:46:17 PM
I hope everything goes well in the last testings.
Regards enik...
So do we. Even though we want this mod updated, we also want it to be right :)
Quote from: silber112 on September 08, 2011, 06:53:39 PM
Nos puedes ir adelantando algunas de las novedades?
Si estamos usando la version antigua, la quitamos e instalamos la nueva perderemos los thaks?
Gracias
As any updates you should make a back up ;)
He is spanish, no no i am a Mexican :P :P :P y si hablo Español muy mal por cierto :P
The mod is in a very good steps, news
Shhhhhh It's a secret, new images in .png format ;D , integration of hooks for install and more.
Regards enik...
Quote from: enik on September 08, 2011, 09:57:55 PM
The mod is in a very good steps, news
Shhhhhh It's a secret, new images in .png format ;D , integration of hooks for install and more.
Regards enik...
LOL thanks for the update. Looking forward to this .. as are my members (their demanding I get it put back on because they want those stats back lol)
Updated to SMF 2.0 :)
wooow . im very happy . im first person which thank you of new version of your very usefull mod . thank you a lot Adk-Team. i will try to translate it to Persian and send it for you ;-)
But First Bad News:
***Note this version does not support upgrades.It is completely new.***
why?!! many of user's have million's of "thank you" on Previous version!! we cant continue with this mod?!!!
Quote from: Vahid on September 10, 2011, 04:40:57 AM
But First Bad News:
***Note this version does not support upgrades.It is completely new.***
why?!! many of user's have million's of "thank you" on Previous version!! we cant continue with this mod?!!!
This mod was updated for us.... but It does not have any new feature yet ;)
Regards.
Quote from: Vahid on September 10, 2011, 04:34:07 AM
wooow . im very happy . im first person which thank you of new version of your very usefull mod . thank you a lot Adk-Team. i will try to translate it to Persian and send it for you ;-)
Thanks man ;) I'm awaiting for your translate ;)
God news ;D
Quote from: Vahid on September 10, 2011, 04:40:57 AM
But First Bad News:
***Note this version does not support upgrades.It is completely new.***
why?!! many of user's have million's of "thank you" on Previous version!! we cant continue with this mod?!!!
There should be no problems, because the table smf_thankyou, it is stored in the database.
Regards enik...
Quote from: enik on September 10, 2011, 10:32:21 AM
There should be no problems, because the table smf_thankyou, it is stored in the database.
Regards enik...
I had this mod installed previously (until I updated from RC3 to 2.0Gold the other day) and that is not the name of that table - if theirs is the same it would explain why the stats are not pulling. If the name you put in your above post is the actual name of the table, yours is missing " _post " I have one db table and this is what it is:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi55.tinypic.com%2Fzmjhc6.png&hash=5ec586d07c5e0ba4aada24a4dcc499e3f888e01b)
I havent tried installing this myself yet because If the tables are different its not going to pull those on mine either
Also, this mod (thank you mod) was made to be incorporated with this mod (by the original owner of both)
http://custom.simplemachines.org/mods/index.php?mod=118
Did you leave those features intact?
This table will serve you for this mod, if supported by the Hide Tag Special, which is also ours now.
Regards enik...
The mod installed with a few manual edits necessary.
However the parse instructions are NON EXISTANT
The smf parser didn't even recognise the readme file.
Quote from: enik on September 10, 2011, 04:29:07 PM
This table will serve you for this mod, if supported by the Hide Tag Special, which is also ours now.
Regards enik...
ok what I guess I am asking is, the code you have in this mod that works with the database tables, does your code refer to the table called "smf_thank_you_post" because that is the only way your mod will pull the old stats. (and may be why Vahid's stats are not pulling from the database. They "must be" the same exact name. When you tested the mod, did you have someone who had the prev version installed actually test it?
Whe I parse the mod, I dont find reference to it
Quote from: Brack1 on September 10, 2011, 08:39:43 PM
The mod installed with a few manual edits necessary.
However the parse instructions are NON EXISTANT
The smf parser didn't even recognise the readme file.
*Cough*
The Thanks in the persons profiles (on posts) are blank too.
Hi!
Thanks for this update. There is a small typo in the install file when using a linux server.
MemberList.template.php
should be:
Memberlist.template.php
*Edit*
I've updated from Thank-O-Matic 2.0 RC2 to 3.0 and my data is still there...
*Edit2*
Ah, and i got some errors when installing it on a default Display.template.php file from the core theme on smf 2.0 final. There seems to be some differences between the core and the default theme because some tabs are missing at the findings of the core theme.
And finally two finds are missing in the core theme:
<hr class="post_separator" />';
in the default Display.template.php and
echo '
<span>', $poster['time_online'], '</span>
</dd>';
}
in the Stats.template.php.
Brack1 :o
http://custom.simplemachines.org/mods/index.php?action=parse;mod=710;attach=186412;smf_version=2.0
Fisch.666
I will check it later. thanks
I receive the same error messages:
The mod installed with a few manual edits necessary.
However the parse instructions are NON EXISTANT
The smf parser didn't even recognise the readme file.
For everyone who has the problem with an empty data table:
This mod, when uninstalled drops the smf_thank_you_post table from your database. Maybe thats the reason why you now have empty data
@Adk-Team
No problem :)
Parse 2.0 -->>> http://custom.simplemachines.org/mods/index.php?action=parse;mod=710;attach=186412;smf_version=2.0
Parse 1.1.14 -->> http://custom.simplemachines.org/mods/index.php?action=parse;mod=710;attach=186416;smf_version=1.1.14
Quote from: jonathan1980tr on September 11, 2011, 10:19:50 AM
I receive the same error messages:
The mod installed with a few manual edits necessary.
However the parse instructions are NON EXISTANT
The smf parser didn't even recognise the readme file.
Er ya realise I had already mentioned this?
Quote from: Fisch.666 on September 11, 2011, 10:45:36 AM
For everyone who has the problem with an empty data table:
This mod, when uninstalled drops the smf_thank_you_post table from your database. Maybe thats the reason why you now have empty data
@Adk-Team
No problem :)
well after having to reread your statement three times, it makes no sense. First off, if you mean when you UNinstall the OLD MOD, it will drop the table, you are incorrect (if you look at my screenshot, that table is still there). Or perhaps you meant to say that when you INSTALL this mod, it will drop that table? Either case, both are bad news for anyone using the old version of this mod (including myself who has well over 100,000+ thank yous on their site). And you need to show a little compassion for folks like me who have had this mod installed since day one and are now geting screwed out of all that data.
Now, with that being said, if the NEW VERSION of this mod, creates a NEW TABLE, then the "re-developers of this mod made a HUGE mistake when they redid it and are going to have ALOT of unhappy admins (including myself).
Users of previous versions of the Thank-O-matic mod, need THIS mod to be upgraded for SMF 2.0 GOLD
Please give another name like Adk-Thank-You-matic to your latest development and make it new mod, stating that it is completely incompatible to previous Thank-O-matic mod.
Also, during installation of your newly created mod, if {prefix}thank_you_post table exist, display a big WARNING about losing previous data and provide a choice to quit installation.
Thank you for your understanding.
Updated for 2.0. Good Job! :) I've been waiting for such a long time.
I tried to install the previous version before but I screwed up. :D
Lately I have been seeing this error:
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 'thank_you_post, thank_you_post_counter,
id_msg_modified < 964 AS is_read
FRO' at line 5
Apply Filter: Only show the errors from this file
File: /home/xxxx/public_html/Sources/Display.php
Line: 1105
I got this error when install
19. Execute Modification ./Themes/default/MemberList.template.php File not found
is it normal that those file is NOT FOUND ?
regards,
Quote from: gisfreak on September 11, 2011, 11:27:08 PM
I got this error when install
19. Execute Modification ./Themes/default/MemberList.template.php File not found
is it normal that those file is NOT FOUND ?
regards,
I had the same error gis but as I use the Dynamic memberlist I ignored it.
Quote from: Adk-Team on September 06, 2011, 12:54:36 AM
Almost there!
They are doing final testing ;)
apparently you all missed quite a bit with your testing. Are you planning on fixing this mod so it will be backwards complatible for those of us who have data stored on the db or not? In addition, are you going to fix the bugs that have been reported thus far with it?
Inquiring minds want to know. Thanks
@Kimmie
Nope, it doesn't drop the table when installing this mod. But when you've install the version 3.0 and uninstall it, the tables are dropped.
@gisfreak
This is a known problem:
http://www.simplemachines.org/community/index.php?topic=176565.msg3157788#msg3157788
Just edit the install-2.0.xml file and change MemberList.template.php to Memberlist.template.php
@Yiorgos
This mod should be compatible with the previous version 2.0RC2. I've uninstalled the previous version, installed this new version and everything is working normal.
Quote from: Fisch.666 on September 12, 2011, 01:23:14 AM
@Yiorgos
This mod should be compatible with the previous version 2.0RC2. I've uninstalled the previous version, installed this new version and everything is working normal.
Nice to know
Thank you Fisch.666
MemberList.template.php to Memberlist.template.php
This problem has been fixed, thanks for report.
Regards enik...
Went to change the above and er it already is memberlist template.
Quote from: Fisch.666 on September 12, 2011, 01:23:14 AM
@Kimmie
Nope, it doesn't drop the table when installing this mod. But when you've install the version 3.0 and uninstall it, the tables are dropped.
Well that needs to be changed. What happens if they come out with a new version of the mod where the old version must be uninstalled first? (as happens with alot of mods because the update is a big one or because SMF has been updated and those files get changed). That data should always remain regardless incase of problems with the mod itself
and I will assume based on your statement, that it creates an entirely new table when its installed so I will LOSE the 100,000+ thank yous I have on my site. Not sure at this point if the mod is even worth putting back on since even the new data gets lots if you ever have to uninstall for any reason lol.
Just tried the latested version from today. (wanted to try this mod from a long time) I can say that there is a problem with the installation package and the Package manager showed on a lot of places "Failure". So I decided to do it manually. I put the the code from the "Parse" button for smf 2.0. (BTW a lot of bugs in the Parse. It is not made good.) Unfortunately, after I did that I receive this massage when entering a board:
QuoteUnknown column 'b.thank_you_post_enable' in 'field list'
Can someone explain what is the problem?
@Kimmie
No, it doesn't create an entirely new table when its installed. But if you uninstall the version 3.0 for an update, it drops the tables and then it adds a new table.
@ddabcd277
When you do the edits manually, the db\install.php file is not executed. Try to upload this file to your forum folder and execute it. This should add the needed tables for this mod.
Am now unable to change my avatar.
http://wwwxxxxxxxxxx/index.php?action=profile;area=forumprofile;u=1;save
Apply Filter: Only show the errors with the same message
Wrong value type sent to the database. Integer expected. (p_thank_you_post_became)
Function: updateMemberData
Apply Filter: Only show the errors from this file
File: /home/xxxxxxxx/public_html/Sources/Subs.php
Line: 556
551:
$smcFunc['db_query']('', '
552:
UPDATE {db_prefix}members
553:
SET' . substr($setString, 0, -1) . '
554:
WHERE ' . $condition,
555:
$parameters
==>556:
);
557:
558:
updateStats('postgroups', $members, array_keys($data));
The mod works without problems on a clean smf does not represent a bug is testing everything.
If someone has the mod working in 2.0 do not need to updated
To prevent data loss, make a back up
Regards enik...
Enik
Your reply doesn't make any sense.
Simple:
If some have their forums working with previous versions of the mod, let them so.
No need to be updated.
If you want to put the new version 3.0, you know that there will be risks and data loss.
QuoteTo prevent data loss, make a back up
Regards enik...
How does that answer the problem I previously mentioned?
@Brack1
I had the same problem on one of my boards. Please check the edits of your Load.php, this line was missing in my Load.php:
mem.thank_you_post_made, mem.thank_you_post_became, last_thank_you_time,
after:
mem.birthdate, mem.member_ip, mem.member_ip2, mem.icq, mem.aim, mem.yim, mem.msn, mem.posts, mem.last_login,
mem.karma_good, mem.id_post_group, mem.karma_bad, mem.lngfile, mem.id_group, mem.time_offset, mem.show_online,
(Maybe due to a failed installation on this board). After i've added this line, the error was gone.
Fatal error: Cannot redeclare template_thank_you_post()
(previously declared in
/home/elitedo/public_html/Sources/Subs-ThankYou.php:124) in /home/elitedo/public_html/Sources/Load.php(2214) : eval()'d code on line 524
Please I need help. This happens after installing thank o matic 3.0.
Quote from: enik on September 12, 2011, 09:36:12 PM
Simple:
If some have their forums working with previous versions of the mod, let them so.
No need to be updated.
If you want to put the new version 3.0, you know that there will be risks and data loss.
QuoteTo prevent data loss, make a back up
Regards enik...
thats the problem enik.. the previous versions will NOT work on smf 2.0 gold and is why we wanted you to upgrade this mod to begin with.
you tested this out on a "fresh install of smf" but you failed to test it on a site that already had this mod installled previously where there was "already data stored" and is what 99% of the people in this thread needed because there are ALOT of people that used the prev versions of thins mod (including myself who if I install this I will LOSE 100,000+ thank yous that were already there because your mod creates an entirely NEW db table instead of linking to the original table like it should have.
In addition, for those of us who used both the hide tag mod AND the thank you mods together, these mods are linked together with specific settings within the admin panel so that these mods work together. THe hide tag mod now, will NOT work until we can get this mod back on because it HAS to have that mod installed so the hide tag mod can see this mod's settings. I will assume that you also did not test that portion of the mod out either, and god willing if I can ever GET this mod back on, my hide tag mod will be able to then work.
When redoing this mod, what you should have done, is left the db part of it untouched and none of us would be having issues right now. This is too large of a mod for someone to not "think entirely through" before updating it. There wouldnt be any "data loss and risks" had you done so.
Can someone ELSE PLEASE redo this mod the RIGHT way? I would be willing to "donate" to your cause if its done RIGHT and I do NOT lose any previous data!!!!
Quote from: enik on September 12, 2011, 06:47:03 PM
The mod works without problems on a clean smf does not represent a bug is testing everything.
If someone has the mod working in 2.0 do not need to updated
To prevent data loss, make a back up
Regards enik...
I cant even believe you just said this
We will look at how to make an upgrade without touching the database.
Be patient please.
Regards enik...
Quote from: enik on September 13, 2011, 10:48:25 PM
We will look at how to make an upgrade without touching the database.
That is good news Enik.
Really nice mod!
Quote from: Yiorgos on September 14, 2011, 01:50:31 AM
Quote from: enik on September 13, 2011, 10:48:25 PM
We will look at how to make an upgrade without touching the database.
That is good news Enik.
Hello the team is already discussing this situation. ;)
Regards enik...
Quote from: enik on September 14, 2011, 08:19:57 PM
Quote from: Yiorgos on September 14, 2011, 01:50:31 AM
Quote from: enik on September 13, 2011, 10:48:25 PM
We will look at how to make an upgrade without touching the database.
That is good news Enik.
Hello the team is already discussing this situation. ;)
Regards enik...
Make sure that when you redo it, that it does NOT drop the db table if the mod is ever uninstalled. That is VERY important.
Sure no problem ;)
Guys please for your urgent help! I have successfully installed the mod (the installation package showed everywhere
Success although I have done it manually) but now when viewing a profile I got this message:
QuoteFatal error: Cannot redeclare template_profile_thank_you_post_modify() (previously declared in /home/www/garminclub-bg.com/www/Sources/Load.php(2205) : eval()'d code:3014) in /home/www/garminclub-bg.com/www/Sources/Load.php(2205) : eval()'d code on line 3032
Everithing other seems to be working ok. I am using smf 2.0 and default curve Theme. I have attached the Load.php file.
2. Is it normal to have two
Thank you buttons, two
Delete Thank You buttons and two windows showing
Thank you ???: (why not three ;D)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg197.imageshack.us%2Fimg197%2F6457%2Fthankyou1.png&hash=6954b47d791d430560dc04fefc7c9644daa8c747)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg534.imageshack.us%2Fimg534%2F5784%2Fthankyou3.png&hash=7995a4dc5fffdb72e109d766e0de1afe800e24df)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg231.imageshack.us%2Fimg231%2F3725%2Fthankyou2.png&hash=a63d48ade77a8e7cc1d29f62f59dfd8db3cd21a8)
Thank you.
ddabcd277 Attach file Profile.template.php
Attached...
Disable the evaluation of template from the administration of forum and see the message another error.
Excuse me, from where to do that?
Administration Center - Configuration - Server Settings - General
Disable evaluation of templates
Ok, I have just put a tick on
Disable evaluation of templates in the Administration Center. Now when I click over a profile this error appears:
QuoteFatal error: Cannot redeclare template_profile_thank_you_post_modify() (previously declared in /home/www/garminclub-bg.com/www/Themes/default/Profile.template.php:3014) in /home/www/garminclub-bg.com/www/Themes/default/Profile.template.php on line 3032
Do you need something more?
Something is wrong, your file does not have that many lines.
the file has 3020 lines ??? ???
Clear cache please?
Looks as though a mod has not been uninstalled properly and has the same line(s) doubled.
@ Adk-Team
Maybe I am just not lucky today :-\ In Configuration - Server Settings - Caching Level it is put on No caching Is this what you mean?
Quote from: Brack1 on September 15, 2011, 06:42:51 PM
Looks as though a mod has not been uninstalled properly and has the same line(s) doubled.
Yes, but there are no duplicate code in your files
ddabcd277 yes!
I have never turned caching on.
The cache folder is empty?? ???
This is very rare because there is no duplicate code in your file!
Almost. I have two files inside
.htaaccess - 51bytes and index.php - 351 bytes. Should I delete some of them?
no no. These files can not be deleted.
The truth does not understand the error.
The codes are not duplicated in your file.
And your file does not have the number of lines in which appears the error.
Working with SMF forums makes me tired already. :( SMF forums have bugs, themes have bugs, mods have bugs everything has bugs...a person should be half programer to work with them. Unfortunately, I am not.
If you don't know the solution - forget about it! I will copy back the back up.
Just one question.
Because you install it manually if the mod was no error in installation?
Solved
Put install.php file in the root of your site.
and call it like this: http://www.garminclub.bg/install.php
Check to make changes to the language files.
Solved
Actually your site is very rare.
Something must be wrong.
You say you deleted the install file, but I enter the link to the install and I see it there since.
http://www.garminclub.bg/install.php
Solved
do not delete the index.php file by mistake?
Solved
You put a backup of index.php?
Surely you are missing a function of some mod.
Solved
The error is because it lacks the so-called language of the portal. In file index.php
The other mistake you have to review the changes in language that makes the mod and add them.
As this mod was causing database errors in my forum ( I was unable to change avatars) I have had to uninstall it.
However thankfully there were not many Thanks issued so I don't mind too much about restarting again.
Would I have to delete any databases of the server related to the mod?
I will NOT be reinstalling the mod until all the errors are sorted out.
@ ADK-Team
Thank you for your help. :) Will work on it tommorow.
for nothing ;)
Brack1: It would be best to delete the mod database as well.
ddabcd277's problem happened to me too. I installed the hide tag special and thank o matic rc3 and it was working fine. Then I uninstalled the old thank o matic version and install the new version. An error showed
QuoteFatal error: Cannot redeclare template_profile_thank_you_post_modify() (previously declared in /home/mysite/Sources/Load.php(2205) : eval()'d code:3014) in /home/mysite/www/Sources/Load.php(2205) : eval()'d code on line 3032
Tried to open my site in google chrome and it's working fine. So I uninstalled the mod and the site get back to normal again. So I have no choice but to install a new smf forum using the old db then reinstalled the new thank o matic vesion and hide tag special. Now my forum is working fine again. Sorry for my english.
I think the "Cannot redeclare template_profile_thank_you_post_modify()" error happens because of some leftovers in the smf files from the previous version.
@Brack1
This mod wasn't causing the database error on your forums. A wrong / not complete uninstall of the previous version or a not complete install is the reason for this. Have a look at my post here:
http://www.simplemachines.org/community/index.php?topic=176565.msg3159380#msg3159380
how to fix this.
Solved
[That is solved!!!]
I recommend you to start with a clean smf installation (at least with the files from the smf package) or restore your backup. Additionally you really shouldn't install any mods where you get an "Failure" during the installation.
This mod doesn't modify the ManageServer.php and the sp_languageselect() is a function from Simple Portal. It seems you have uninstalled / removed Simple Portal or one of its files which provides the sp_languageselect() function.
Solved
Hey,
I have a little problem with the mod, it isn't displaying the image next to 'Thank You'? I'm using a custom theme and the latest version of SMF.
Thanks!
Quote from: Jenthe on September 18, 2011, 08:12:10 AM
Hey,
I have a little problem with the mod, it isn't displaying the image next to 'Thank You'? I'm using a custom theme and the latest version of SMF.
Thanks!
Since its a custom theme, you have to upload that image to that themes image directory. Have you done that?
Quote from: Fisch.666 on September 16, 2011, 09:42:57 AM
Additionally you really shouldn't install any mods where you get an "Failure" during the installation.
Dont tell people that..lol. All a failure means is that that particular code has already been modified by a mod that you have installed and requires a manual edit to install that part. Installations look for the ORIGINAL code unaltered and if a mod has already altered it, the one your trying to install cannot find the ORIGINAL DEFAULT SMF code because it has CHANGED.
Geez, if your going to help people, EDUCATE them, dont DISCOURAGE them.
Quote from: Fisch.666 on September 16, 2011, 05:17:08 AM
@Brack1
This mod wasn't causing the database error on your forums. A wrong / not complete uninstall of the previous version or a not complete install is the reason for this. Have a look at my post here:
Actually you are wrong. I had completely uninstalled the previous version (and regret doing so because it worked).
Quote from: Brack1 on September 18, 2011, 05:38:44 PM
Quote from: Fisch.666 on September 16, 2011, 05:17:08 AM
@Brack1
This mod wasn't causing the database error on your forums. A wrong / not complete uninstall of the previous version or a not complete install is the reason for this. Have a look at my post here:
Actually you are wrong. I had completely uninstalled the previous version (and regret doing so because it worked).
I have to agree. Had I known all this was going to happen, I would have NEVER upgraded to 2.0 lol, This was probably the most widely used mod I have had on my site (3 years now and well over 100,000+ thank yous), and am very disappointed. Alot of my members lovwe those stats and are absolutely crushed.
I am to the point now of literally being SICK over it.
Quote from: Brack1 on September 18, 2011, 05:38:44 PM
Actually you are wrong. I had completely uninstalled the previous version (and regret doing so because it worked).
And do you have completely installed the new version or why do you have the same error as i had on one of my boards? ::)
Quote from: Kimmie on September 18, 2011, 05:21:17 PM
Geez, if your going to help people, EDUCATE them, dont DISCOURAGE them.
Ok, than just add the line "...if you don't exactly know what you are doing and ask in the support thread before." ::)
After reading such absurd claims I'll tell you some.
If you have lost acknowledgments, must have a backup of your database
Simply overwrite the table smf_thank and resolved that detail.
Regards enik...
Enic, ADK Team,
would it be possible to apply "ThankOmatic links" on each post shown on "Show member posts (http://www.simplemachines.org/community/index.php?action=profile;area=showposts;u=279980)" under members profile menu.
That would be very convenient to Admins/site owners as well as forum members too.
Also, that would increase the number of "Thank you" given
hi i have just installed this mod and work fine,But One problem i have facing Thank You receive and given information on Topic Display is not showing please see attached pic
my forum version 2.0 and theme default
The mod is very cool! I really love it. Hope others who install it don't face the same problems like me. That is not a problem maybe I wasn't lucky. Don't know. One more time thanks to all who created this mod. :)
I have a question. Is it possible to be added a PM notification when a person receive a Thanks? Like in VB? There if a person receives Like (s) for a post a PM is received showing the post (s) on which the person has received Like (s)? Simmilar as it is in Facebook.
Cheers,
after given thanks show in board two result ... whre can i remove of this problem
I'm trying to edit this mod for my site, but I needed help with one part..
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FtnIwr.png&hash=131cd8104e73238cc5ec4918ae890258d2f5f614)
Right now I'm trying to change the text for the thread. At the moment it says:
Thank You
-Given:
-Receive:
I'm trying to change it to this:
Thanked # times in # topics:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FPGknc.png&hash=be96b7f9245d3fc64ded0f4fc02eb800501aa0e6)
//Thank You text for the Thread :)
$txt['thank_you_link_beforecounter'] = 'For this post,';
$txt['thank_you_link_members'] = 'members';
$txt['thank_you_link_member'] = 'member';
$txt['thank_you_link_aftercounter'] = 'gave a thank you!';
$txt['thank_you_link_aftercounters'] = 'gave a thank you!';
$txt['thank_you_is_locked'] = 'Thank You is locked';
$txt['thank_you_post_post_b'] = 'Thank You';
$txt['thank_you_post_delete_b'] = 'Delete Thank You';
$txt['thank_you_post_lock_b'] = 'Lock Thank You';
$txt['thank_you_post_open_b'] = 'Open Thank You';
$txt['thank_you_post_lock_all_b'] = 'Lock All Thank You';
$txt['thank_you_post_open_all_b'] = 'Open All Thank You';
$txt['remove_thank_you_post'] = 'Remove this Thank You';
$txt['followgiveathank'] = 'Follow members gave a thank to your post:';
$txt['thank_you_post_unlock_all'] = 'Unlock All Thank You Posts';
$txt['thankyoupostlist'] = 'Thank You Post List (Complete)';
$txt['thankyouposterrorinscript'] = 'Error in scirpt... somehow this should not happen!';
$txt['thank_you_post_thx_display'] = 'Thank You';
$txt['thank_you_post_made_display'] = 'Given';
$txt['thank_you_post_became_display'] = 'Receive';
$txt['standard_profile_field_thank_you_post_made'] = 'Given Thank You';
$txt['standard_profile_field_thank_you_post_became'] = 'Received Thank You';
Can you please help me?
Quote from: Joe D on September 21, 2011, 03:45:23 PM
I'm trying to edit this mod for my site, but I needed help with one part..
Can you please help me?
You have to make extensive changes to the script to achieve that.
But you may change or translate the value of the variables below. The format of display will not change.
$txt['thank_you_post_thx_display'] = 'Thank You';
$txt['thank_you_post_made_display'] = 'Given';
$txt['thank_you_post_became_display'] = 'Receive';
Quote from: Yiorgos on September 22, 2011, 02:12:10 AM
Quote from: Joe D on September 21, 2011, 03:45:23 PM
I'm trying to edit this mod for my site, but I needed help with one part..
Can you please help me?
You have to make extensive changes to the script to achieve that.
But you may change or translate the value of the variables below. The format of display will not change.
$txt['thank_you_post_thx_display'] = 'Thank You';
$txt['thank_you_post_made_display'] = 'Given';
$txt['thank_you_post_became_display'] = 'Receive';
Yeah but I'm not sure what code I would put in for it to say how many times the user has been thanked, and in how many topics, I was hoping someone here would be able to help.
Joe D, here is what I know.
Then it is up to you.
The file that handles the "Thank you Given/Receive" is /Themes/default/ThankYouPost.template.php
Look around line 167 and 796 of this file.
The code below, exists twice on the file mensioned before.
The first instance of the code is for detailed thank you list display (line 167), and the second instance is for normal topic display (line 796).
This is were you may make your changes/edits.
The code that display the information you want to change (in both cases) is :
// Show some Thank-O-Matic Stats ;D
if (!empty($modSettings['thankYouPostDisplayPage']) && (empty($modSettings['thankYouPostDisplayDisableBecame']) || empty($modSettings['thankYouPostDisplayDisableMade'])))
{
echo '
<li>', $txt['thank_you_post_thx_display'], '</li>';
// Disabled?
if(empty($modSettings['thankYouPostDisplayDisableMade']))
echo '
<li>-', $txt['thank_you_post_made_display'], ': ', $message['member']['thank_you_post']['made'], '</li>';
// Disabled?
if(empty($modSettings['thankYouPostDisplayDisableBecame']))
echo '
<li>-', $txt['thank_you_post_became_display'], ': ', $message['member']['thank_you_post']['became'], '</li>';
}
To find and display the number of topics that a poster was been thanked, is the most difficult part.
I looked in the script but I could not find any variable for that perpose.
You must write a new function to do that.
I wish I could, but I am not able to create such a function.
Regards
Okay thank you very much for your help. I'm going to attempt to try to create that function, or find someone who can, but maybe the author can help me with this? but he or she hasn't replied.
And again, thank you.
Quote from: Fisch.666 on September 19, 2011, 04:05:21 AM
Quote from: Brack1 on September 18, 2011, 05:38:44 PM
Actually you are wrong. I had completely uninstalled the previous version (and regret doing so because it worked).
And do you have completely installed the new version or why do you have the same error as i had on one of my boards? ::)
Quote from: Kimmie on September 18, 2011, 05:21:17 PM
Geez, if your going to help people, EDUCATE them, dont DISCOURAGE them.
Ok, than just add the line "...if you don't exactly know what you are doing and ask in the support thread before." ::)
That was my whole point. EDUCATE. You dont tell someone to NOT use something just because you dont want to explain to them how to install it manually lol.
Quote from: enik on September 20, 2011, 07:20:34 PM
After reading such absurd claims I'll tell you some.
If you have lost acknowledgments, must have a backup of your database
Simply overwrite the table smf_thank and resolved that detail.
Regards enik...
what the heck are lost acknowledgements? lol. If you are referring to lost DATA, we shouldnt have to lose our data that we already had previously to you re-doing this mod. That table and the code for that table should have remained intact. I dont know everything there is to know about makig mods, however common sense tells me that that part should have remained the same because this is one of the most widely used mods out there. In addition, ANY mod that stores info on the database like that, it should always be taken into account when redoing the mod for that very reason.
Based on your very HARD to understand english, are we to now assume that instead of you redoing the mod correctly we are to RENAME our database table to what you have stated? If so, then I have a few questions on that:
1. Installing this mod will automatically CREATE a table named that. What are the STEPS necessary to achieve a successful installation? Do we:
a) install the mod, DELETE the newly created table this mod makes and RENAME our old one? Is that even going to WORK?
b) RENAME our table, THEN install the mod? (if this is the case, it does NOT need to overwrite our renamed table and cause data loss. Is this going to happen)?
I think overall you are very confused as to what the issue is we are all having when we talk about data loss. Those of us who already HAVE previous data are the ones that need you to resolve this NOT people who have never had this mod installed before. Those that have never used it, are starting out fresh. And of COURSE everyone knows that if you want to keep any FUTURE data from being lost, you make backups That has nothing at all to do with the problem at hand that we are trying to make you understand. Those of us who already had this installed and already have data on the database are the ones that will LOSE DATA and we do not WANT to lose that data.
Does this explanation help you at all? We are all trying to help you understand what you need to fix with this mod. Its clear that there is a huge language barrier in play so hopefully the above explanation wll help you to better understand what the actual issues are with this mof.
Kimmie, there are different SMF 2.0 forks and SMF portals like SMFsimple and ADKportal.
Portal and fork creators/supporters modify existing SMF Mods to adjust to their particular application and interest.
SMFsimple and ADKportal kindly compete each other.
Enic belongs to ADK portal team.
Enic offered himself to update ThankOmatic after he show that SMFsimple portal has already include that mod (http://www.simplemachines.org/community/index.php?topic=176565.msg3146555#msg3146555).
The only clear original SMF ThankOmatic mod that instal on SMF2.0, is the file I modified and I attached HERE (http://www.simplemachines.org/community/index.php?topic=176565.msg3123612#msg3123612).
That file was originaly created by enik, ^HeRaCLeS^ and lucas-ruroken, thas Enik owns that file.
You asked "is there an actual version that works (and is fully supported incase there are issues)? (http://www.simplemachines.org/community/index.php?topic=176565.msg3142123#msg3142123)"
After your question (I can not fully support the mod) and Enic's desision to continue and update his mod, I withdrew myself.
______________________________
In order to have a good updated mod:
I invite and welcome Enik to test, adapt and modify this ThankOmatic file (http://www.simplemachines.org/community/index.php?action=dlattach;topic=176565.0;attach=183472) and release it as his official update, because this will be a clear SFM ThankOmatic update.
Regards
please help me dump......
I love this mod though have not installed it yet as i have upgraded to smf 2.0.1 and have to use the emulator to install. Though through the testing phase it has come up with a few test failed errors... Will it be all good to install or do I need to do something else??
The files which state test failed mean the files will have to be manually edited.
Please read the posts before you post.
Cotty
The only clear original SMF ThankOmatic mod that install on SMF2.0 with no errors on default Theme and need no emulation, is attached HERE (http://www.simplemachines.org/community/index.php?topic=176565.msg3123612#msg3123612).
It is suggested though to wait for the official update by Enik.
Trying to install on my test forum.
Get this error line:
Parse error: syntax error, unexpected T_STRING in /home/xxxxxxxx/public_html/xxxxxxxxx/Sources/Display.php on line 1069
. ($board_info['thank_you_post_enable'] && allowedTo('thank_you_post_show') ? 'thank_you_post, thank_you_post_counter,' : '') . '
EDIT: Had a rogue piece of code.
Went to uninstall the mod and despite only 3 files requiring a manual edit to start with
ALL the display file stated test failed on uninstall.
Quote from: Yiorgos on September 23, 2011, 05:55:35 PM
Cotty
The only clear original SMF ThankOmatic mod that install on SMF2.0 with no errors on default Theme and need no emulation, is attached HERE (http://www.simplemachines.org/community/index.php?topic=176565.msg3123612#msg3123612).
It is suggested though to wait for the official update by Enik.
Thanks, I might just have to wait! :( How long do you think it will be until it gets updated??
Hi
I know that its a dead question ! but i cant find clear answer for it.
Im using OLC thank o matic mod on SMF 2RC3 and I didnt update my forum just fr this cute mod so can I update my my old verision to new or not?
my members like their thanks point so they dont what to lose them.
thanks for your warm answers
regards
Updated to SMF 1.1.15 and 2.0.1 ;)
Regards enik...
I'm trying to install this mod, but I'm getting this error:
QuoteExecute Modification ./Themes/default/MemberList.template.php File not found
I think this is because, in my file manager, it's "Memberlist.template" (lowercase L)
I know the other errors are a matter of manually editing the files, though there are quite a few related to themes (even the default one).
Hello!
I was updating my SMF version to 2.0.1, but then when I view my installed packages, it shows Thank-O-Matic (when I installed it in 2.0 Gold, and now it doesn't have an Uninstall button. I want to switch versions of the Thank-O-Matic, since it says that it's compatible with 2.0.1, since it doesn't work on my forum currently.
Thanks.
Hello guys please help me this third dump please help me
here is what problem i'am facing http://www.simplemachines.org/community/index.php?topic=176565.msg3165802#msg3165802
Thanks in advance hope this time sombady help me
@Dean313
You have to emulate Version 2.0 (not 2.0.1) in your package manager (button advanced) to uninstall the mod. But please make sure to backup your smf_thank_you_post table in your database before you uninstall this mod because it will delete your data on uninstall.
@jaisi
It seems you're missing some file edits from the installation file, please check this. Just pare the mod at the download page:
http://custom.simplemachines.org/mods/index.php?mod=710
to see which edits should be in your files and which aren't.
Thank you for replyig i have uninstall and reinstall but load.php file faild error showing here her that load.php file please see attached file
Just download the full package 2.0.1:
http://download.simplemachines.org/
and compare it with yours with a tool like http://www.prestosoft.com/edp_examdiff.asp
yes i have 2.0 version and i don't wann to install 2.1 version
if possible please check my load file and let me know wich row i need to modify...
THanks in advance
Jaisi
I am thinking of GG+ & GG search, do you intent to insert Thank-O-Matic into SMF search factor?
By the way, how to enable this mod for Global Moderator? I have search but too many result so just a question here, if you or any get solution, please give me the link.
Thank you.
Quote from: Adk-Team on September 24, 2011, 04:57:10 PM
Updated to SMF 1.1.15 and 2.0.1 ;)
Regards enik...
Does this version fix the database and data issues for people who used this mod previously or did you simply update the xml file with the new install/uninstall info?
Quote from: Yiorgos on September 23, 2011, 04:08:14 AM
Kimmie, there are different SMF 2.0 forks and SMF portals like SMFsimple and ADKportal.
Portal and fork creators/supporters modify existing SMF Mods to adjust to their particular application and interest.
SMFsimple and ADKportal kindly compete each other.
Enic belongs to ADK portal team.
Enic offered himself to update ThankOmatic after he show that SMFsimple portal has already include that mod (http://www.simplemachines.org/community/index.php?topic=176565.msg3146555#msg3146555).
The only clear original SMF ThankOmatic mod that instal on SMF2.0, is the file I modified and I attached HERE (http://www.simplemachines.org/community/index.php?topic=176565.msg3123612#msg3123612).
That file was originaly created by enik, ^HeRaCLeS^ and lucas-ruroken, thas Enik owns that file.
You asked "is there an actual version that works (and is fully supported incase there are issues)? (http://www.simplemachines.org/community/index.php?topic=176565.msg3142123#msg3142123)"
After your question (I can not fully support the mod) and Enic's desision to continue and update his mod, I withdrew myself.
______________________________
In order to have a good updated mod:
I invite and welcome Enik to test, adapt and modify this ThankOmatic file (http://www.simplemachines.org/community/index.php?action=dlattach;topic=176565.0;attach=183472) and release it as his official update, because this will be a clear SFM ThankOmatic update.
Regards
well my question to you is, does your version pull the previous database thank you stats? His does NOT and causes anyone who previously used this mod to lose all that data. I have over 100,000 thank you's stored in that database table right now and I do not want to lose them and neither do my many many members.
If yours WORKS, I wont need support on it.
As for them modifying existing SMF Mods to adjust to their particular application and interest is pretty evident. They changed it to suit THEM and didnt care about anyone else.
Quote from: Kimmie on September 27, 2011, 10:06:28 PM
does your version pull the previous database thank you stats?
If yours WORKS, I wont need support on it.
Yes ! The file that I modified (http://www.simplemachines.org/community/index.php?action=dlattach;topic=176565.0;attach=183472), pull the previous database thank you stats.
You will NOT lose previous "Thank you" posts.
Try it and let me know the results.
Quote from: Kimmie on September 27, 2011, 10:06:28 PM
His does NOT and causes anyone who previously used this mod to lose all that data.
As i wrote more than once, this mod from enik/adk-team IS using the data from the previous versions for smf 2.0. At least at my two boards where i'm using this mod and its previous versions since smf 2.0rc1...
Quote from: jaisi on September 26, 2011, 01:36:21 PM
if possible please check my load file and let me know wich row i need to modify...
You have a missing edit. Just edit the Load.php, search for:
mem.karma_good, mem.id_post_group, mem.karma_bad, mem.lngfile, mem.id_group, mem.time_offset, mem.show_online,
and add after:
mem.thank_you_post_made, mem.thank_you_post_became, last_thank_you_time,
Hello ADK Team, just wondering there are changes between smf 2.0 and smf 2.0.1. Is it only the version or are there any updates or changes to the mod? Thank you.
Quote from: Fisch.666 on September 28, 2011, 01:37:00 AM
Quote from: Kimmie on September 27, 2011, 10:06:28 PM
His does NOT and causes anyone who previously used this mod to lose all that data.
As i wrote more than once, this mod from enik/adk-team IS using the data from the previous versions for smf 2.0. At least at my two boards where i'm using this mod and its previous versions since smf 2.0rc1...
NO, his does not pull any database stats from any previous installations of this mod if you used any version PRIOR to the one he initially did (the one used on a forum that was OLDER than 2.0 gold). The only other change he has made was to make it compatible for 2.0.1 (editing the xml file and adding that to the install/uninstall)
Quote from: Yiorgos on September 28, 2011, 01:23:30 AM
Quote from: Kimmie on September 27, 2011, 10:06:28 PM
does your version pull the previous database thank you stats?
If yours WORKS, I wont need support on it.
Yes ! The file that I modified (http://www.simplemachines.org/community/index.php?action=dlattach;topic=176565.0;attach=183472), pull the previous database thank you stats.
You will NOT lose previous "Thank you" posts.
Try it and let me know the results.
Thanks, I will try it and let you know :)
Quote from: Kimmie on October 01, 2011, 02:20:00 AM
NO, his does not pull any database stats from any previous installations of this mod if you used any version PRIOR to the one he initially did (the one used on a forum that was OLDER than 2.0 gold). The only other change he has made was to make it compatible for 2.0.1 (editing the xml file and adding that to the install/uninstall)
Ok, than the version of this mod which i used a long time has magically modified itself and pulled the database stats from my database. Nice, a mod with AI... ::)
Whenever I enable this, the Thank You link on each post breaks the layout of the title up into two lines. Any way to fix this?
1 - Code it to move to next to Complaint at the end of each post.
2 - Re-edit your language file for button to some what shorter and suit to your private style ;)
3 - Ask to the author for paying help to wipe out all your matter.
Quote from: Tomy Tran © 2012 on October 04, 2011, 05:48:18 AM
1 - Code it to move to next to Complaint at the end of each post.
2 - Re-edit your language file for button to some what shorter and suit to your private style ;)
3 - Ask to the author for paying help to wipe out all your matter.
Is that to me? Because that made absolutely no sense.
Will the current version Thank2.0 work on 2.0RC5?
Quote from: trekkie2444 on October 04, 2011, 05:51:01 AM
Quote from: Tomy Tran © 2012 on October 04, 2011, 05:48:18 AM
1 - Code it to move to next to Complaint at the end of each post.
2 - Re-edit your language file for button to some what shorter and suit to your private style ;)
3 - Ask to the author for paying help to wipe out all your matter.
Is that to me? Because that made absolutely no sense.
Yeap trekkie, other disable it ;)
@ Sweetie: I did not test, but I believe it will work, from RC5 to Final is not many changes in code. But why don't you upgrade it to 2.0 final? It's more secure and suitable with many other mods.
Quote from: Tomy Tran © 2012 on October 04, 2011, 11:56:09 AM
Quote from: trekkie2444 on October 04, 2011, 05:51:01 AM
Quote from: Tomy Tran © 2012 on October 04, 2011, 05:48:18 AM
1 - Code it to move to next to Complaint at the end of each post.
2 - Re-edit your language file for button to some what shorter and suit to your private style ;)
3 - Ask to the author for paying help to wipe out all your matter.
Is that to me? Because that made absolutely no sense.
Yeap trekkie, other disable it ;)
@ Sweetie: I did not test, but I believe it will work, from RC5 to Final is not many changes in code. But why don't you upgrade it to 2.0 final? It's more secure and suitable with many other mods.
I'm afraid I'm not following you still.
Quote from: Sweetwater on October 04, 2011, 10:33:58 AM
Will the current version Thank2.0 work on 2.0RC5?
High chance of so. Try it ;)
hello all
i have 2 problems
1. No thank you ICON comes on post page and text shows
2. the list of thank you does not apear under the post
Is there a way I can change the text 'Thank this post' to an image of mine?
'<img src="link to image">'
I have installed Thank O Matic mod but in Admin>Configuration do not display Thank O Matic to use.
How can I solve this problem?
http://www.YouSite.com/smf_or_forum/index.php?action=admin;area=thankyoupostsettings
Edit the above url and that will take you to admin ThankOmatic
If you do not use the "default" Theme, then you may not see the moderation Link.
Edit and click the following to switch your self to the "default" Theme http://www.YouSite.com/smf_or_forum/index.php?theme=1
You should then see the ThankOmatc Links
Quote from: thanhhermit on October 11, 2011, 07:18:59 AM
I have installed Thank O Matic mod but in Admin>Configuration do not display Thank O Matic to use.
How can I solve this problem?
So follow mod step by step manual installation instead.
Quote from: alizali on October 06, 2011, 12:47:42 PM
hello all
i have 2 problems
1. No thank you ICON comes on post page and text shows
2. the list of thank you does not apear under the post
same here :(
If you do not use the "default" Theme, then you may not see the ThankOmatic picture.
You must copy from the default Theme to your other Theme
Edit and click the following line to switch your self to the "default" Theme http://www.YouSite.com/smf_or_forum/index.php?theme=1
You should then see the ThankOmatc Links and images + the list of thank you under the post
Kewl! Bookmarking this!
Hello and thanks for the quick reply.
I copied all the icons in my Custom-Theme/images directory, but unfortunately it still does not work with the display of icons.
Do you have an idea?
I use the Anecdota (20g ) Theme
Themes/Anecdota/images/buttons/thank_you.png
Themes/Anecdota/images/buttons/thank_you_b.png
Quote from: Tomy Tran © 2012 on October 12, 2011, 12:04:25 PM
Themes/Anecdota/images/buttons/thank_you.png
Themes/Anecdota/images/buttons/thank_you_b.png
yes, there I had copied it pure. Unfortunately but it is still not working
Quote from: Fisch.666 on October 01, 2011, 05:31:41 AM
Quote from: Kimmie on October 01, 2011, 02:20:00 AM
NO, his does not pull any database stats from any previous installations of this mod if you used any version PRIOR to the one he initially did (the one used on a forum that was OLDER than 2.0 gold). The only other change he has made was to make it compatible for 2.0.1 (editing the xml file and adding that to the install/uninstall)
Ok, than the version of this mod which i used a long time has magically modified itself and pulled the database stats from my database. Nice, a mod with AI... ::)
Um hun, I think your confused. The OLD version of this mod pulled the stats correctly. The NEW UPDATED VERSION THAT ENIK TRIED TO DO DOES NOT PULL THE OLD MODS STATS. There is NO way you could have used eniks "long time" because he just made his version lol
Is that clearer for you, or do you need brail?
Quote from: Kimmie on October 15, 2011, 07:44:57 PM
Um hun, I think your confused. The OLD version of this mod pulled the stats correctly. The NEW UPDATED VERSION THAT ENIK TRIED TO DO DOES NOT PULL THE OLD MODS STATS. There is NO way you could have used eniks "long time" because he just made his version lol
Ok, then again:
I've used the OLD version of this mod which was released in this thread in 2007. After switching to the NEW UPDATED VERSION THAT ENIK TRIED TO DO this NEW VERSION of this mod DOES PULL THE OLD MODS STATS at my board WITHOUT ANY MODIFICATIONS from me. Is this clear for you? ::)
Kimmie, Fisch666, your contribution in ThankOmatic is valuable.
Let 's take it one step forward. ;)
Hey everybody. This is THE mod I've been waiting for but we're having a bit of trouble getting it to work. Hoping someone could maybe help.
My forum is running on 1.1.14 currently because I just don't have time to uninstall and reinstall all the mods and work I've put into it.
I installed TOM 125v2 via package manager with only one error on Sources/Load.php but everything else went fine. I then manually edited Load.php and edited the theme stuff from default into my custom theme blue_grey. Everything shows up (profile, permissions, etc) except the main thing: There's no thanks button or thanks text on any posts. From what I can tell, it should show up next to quote for regular members and next to split topic for admins but it's nowhere to be found. The image files have been moved to my custom theme image folder but obviously since the thanks text isn't showing up either, we have a bigger problem it seems.
Any ideas?
My site is: www.thewrestlinglegendsforum.com
EDIT: Nevermind, I got it sorted. In the process of adding a new board I noticed that I have to checkmark the "enable thanks" on each section. I did that and now the thanks text and pics show up on posts. But now we have a new problem. lol
When I click on the thanks button, I get this error:
"Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8_unicode_ci,IMPLICIT) for operation 'ifnull'
File: /home/defdave7/public_html/silverdome/Sources/ThankYouPost.php
Line: 542
Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.14, while your database is at version 1.1.13. The above error might possibly go away if you execute the latest version of upgrade.php.
How can I update the database to 1.1.14? I thought I already did with the patch but obviously not. But then again just now I read that there were no database changes from 1.1.13 to 1.1.14 so I'm not sure why this error is showing up. Any help would be very much appreciated.
EDIT 2: To further complicate things, I also received the same error message after simply making a new post in the board that had TOM activated. So for now it's going to have to be completely shut off until I can get this figured out. :(
Apologies for the double post, but would anyone possibly be able to point me in the right direction to overcome this error? :)
Thanks again,
Dave
Hey, I know you guys are busy, but anyone know how to fix my layout and image issue?
Hello,
Is it possible (or better how to make it) the status windows where it is written the people who has given Thank you to the post to be as part of the post not as a separate window. Lets say above the signature.
Many Thanks :),
Delete the line. Previous posts show how to do it.
Hello,
I've uninstalled the crap ... too many problems! I'm sorry.
If this mod gets an update, it is useless!
What good is this mod, if it does not work ...
The good is that you have gained what is Thank-O-Matic. It is Thankyou-System for SMF!
Many thanks for this mod. Much appreciated.
Works great BTW! :D
hey guys, I downloaded Thank_2.0.zip for my 2.0.1 version.
There is a problem before i install
QuoteSimply Blue
Execute Modification ./Themes/SimplyBlue/Display.template.php Test failed
1. Replace ./Themes/SimplyBlue/Display.template.php Test successful
2. Replace ./Themes/SimplyBlue/Display.template.php Test successful
3. Replace ./Themes/SimplyBlue/Display.template.php Test successful
4. Replace ./Themes/SimplyBlue/Display.template.php Test successful
5. Replace ./Themes/SimplyBlue/Display.template.php Test successful
6. Add Before ./Themes/SimplyBlue/Display.template.php Test failed
7. Replace ./Themes/SimplyBlue/Display.template.php Test successful
Execute Modification ./Themes/SimplyBlue/css/index.css Test successful
1. Add Before ./Themes/SimplyBlue/css/index.css Test successful
Good to go? any thing to fix?
When I try to install the mod through the package manager, it gives an test fail for few files.. so I haven't proceeded with it. I did a manual install but it didn't work. However, I noticed that installing it through the package manager, it says the mod is compatible with only SMF Gold version. But it doesn't say that on the mod page itself. So can anyone clarify how to go about this mod?
I'm using version 2.0.1
Thank you.
I did choose to install this mod first for smf2.0Gold, then use patch security package as mod to update smf core after to smf2.0.1 . Everything works fine.
If you install mod get problem while installing via package manager, just note which failed actions down to a notepad then do install any way. Second, follow the failed actions to find which files and lines did not change to edit them manual. The works will less than you do install manual all.
Quote from: DefDave7 on October 17, 2011, 06:46:05 PM
Hey everybody. This is THE mod I've been waiting for but we're having a bit of trouble getting it to work. Hoping someone could maybe help.
My forum is running on 1.1.14 currently because I just don't have time to uninstall and reinstall all the mods and work I've put into it.
I installed TOM 125v2 via package manager with only one error on Sources/Load.php but everything else went fine. I then manually edited Load.php and edited the theme stuff from default into my custom theme blue_grey. Everything shows up (profile, permissions, etc) except the main thing: There's no thanks button or thanks text on any posts. From what I can tell, it should show up next to quote for regular members and next to split topic for admins but it's nowhere to be found. The image files have been moved to my custom theme image folder but obviously since the thanks text isn't showing up either, we have a bigger problem it seems.
Any ideas?
My site is: www.thewrestlinglegendsforum.com
EDIT: Nevermind, I got it sorted. In the process of adding a new board I noticed that I have to checkmark the "enable thanks" on each section. I did that and now the thanks text and pics show up on posts. But now we have a new problem. lol
When I click on the thanks button, I get this error:
"Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8_unicode_ci,IMPLICIT) for operation 'ifnull'
File: /home/defdave7/public_html/silverdome/Sources/ThankYouPost.php
Line: 542
Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.14, while your database is at version 1.1.13. The above error might possibly go away if you execute the latest version of upgrade.php.
How can I update the database to 1.1.14? I thought I already did with the patch but obviously not. But then again just now I read that there were no database changes from 1.1.13 to 1.1.14 so I'm not sure why this error is showing up. Any help would be very much appreciated.
EDIT 2: To further complicate things, I also received the same error message after simply making a new post in the board that had TOM activated. So for now it's going to have to be completely shut off until I can get this figured out. :(
Sorry to be a pest but does anyone have any ideas?
Thanks
QuoteExecute Modification ./Sources/Display.php Test successful
* 3. Execute Modification ./Sources/Load.php Test failed
1. Replace ./Sources/Load.php Test successful
2. Replace ./Sources/Load.php Test successful
3. Replace ./Sources/Load.php Test successful
4. Replace ./Sources/Load.php Test failed
5. Replace ./Sources/Load.php
Can i install this or wait for solve the problem.I am using 2.0.1
Still trying to figure out what the problem is as described in my post above. :(
I'm guessing this project has been abandoned?
Quote from: DefDave7 on October 28, 2011, 01:44:12 AM
I'm guessing this project has been abandoned?
Smart mind.
Plz help me
http://forum.mobilerdx.com/profile/rahul%20baba/
Profile Redirection Working Fine But
Boards-http://forum.mobilerdx.com/1/
Topics -http://forum.mobilerdx.com/46/nokia-2700c-hardware-tips-by-rebel/msg904/#new
Not Redirect Why :(
PrettyURLs issue, admin >> forum >> your board to config may be helped
@ DefDave7
The error you receive is caused from possible different Collation in your database tables.
Your forum db uses UTF8 OR utf8_general_ci (or vice verse)
Use PhpMyAdmin and check the Collation of smf_thank_you_post table. If that is different from the other tables change it to match with them.
Refer to http://dev.mysql.com/doc/refman/5.1/en/charset-convert.html for possible solution, or ask Google for more (http://www.google.gr/search?q=%22Illegal+mix+of+collations+%28utf8_general_ci%2CIMPLICIT%29+and+%28utf8_unicode_ci%2CIMPLICIT%29%22&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:el:official&client=firefox-a).
In case you will not solve the problem, let us know the collation of your database and the smf_thank_you_post table.
Quote from: kenng on October 23, 2011, 07:09:53 AM
hey guys, I downloaded Thank_2.0.zip for my 2.0.1 version.
There is a problem before i install
QuoteSimply Blue
Execute Modification ./Themes/SimplyBlue/Display.template.php Test failed
1. Replace ./Themes/SimplyBlue/Display.template.php Test successful
2. Replace ./Themes/SimplyBlue/Display.template.php Test successful
3. Replace ./Themes/SimplyBlue/Display.template.php Test successful
4. Replace ./Themes/SimplyBlue/Display.template.php Test successful
5. Replace ./Themes/SimplyBlue/Display.template.php Test successful
6. Add Before ./Themes/SimplyBlue/Display.template.php Test failed
7. Replace ./Themes/SimplyBlue/Display.template.php Test successful
Execute Modification ./Themes/SimplyBlue/css/index.css Test successful
1. Add Before ./Themes/SimplyBlue/css/index.css Test successful
Good to go? any thing to fix?
Kenng is SimplyBlue your forums default theme ?
ThankOmatic and most of the mods, apply to the /Themes/default
If SimplyBlue is an additional theme, you can uncheck (unselect) the Little square and TOM will not install on that theme.
Else,
on the page that you receive the "Test failed" click on the (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.sdtv.gr%2Fsmf%2FThemes%2Fdefault%2Fimages%2Fadmin%2Fpackage_ops.gif&hash=b6dd5b8fc82e5a9189fe0877b5d3bc8b73922067) to see the code that fails
Then examine your ./Themes/SimplyBlue/Display.template.php and the content of the code and see if you can edit it manually.
Make sure that you have a backup of that file.
Do not try that if you do not feel confortable.
Quote from: shubha on October 25, 2011, 01:32:12 AM
QuoteExecute Modification ./Sources/Display.php Test successful
* 3. Execute Modification ./Sources/Load.php Test failed
1. Replace ./Sources/Load.php Test successful
2. Replace ./Sources/Load.php Test successful
3. Replace ./Sources/Load.php Test successful
4. Replace ./Sources/Load.php Test failed
5. Replace ./Sources/Load.php
Can i install this or wait for solve the problem.I am using 2.0.1
shubha, probably, an other mod made changes to your ./Sources/Load.php and that effects the TOM installation.
On the page that you receive the "4. Replace ./Sources/Load.php Test failed", click on the (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.sdtv.gr%2Fsmf%2FThemes%2Fdefault%2Fimages%2Fadmin%2Fpackage_ops.gif&hash=b6dd5b8fc82e5a9189fe0877b5d3bc8b73922067) to see the code that fails
examine your ./Sources/Load.php and the content of the code and see if you can edit it manually, althow it is not suggested.
Make sure that you have a backup of that file.
Do not try that if you do not feel confortable.
Anyone have an idea how to fix the image and layout issue with the thank you button taking up two lines instead of one on each post?
Thanks are given to topics only?
Someone knows a mod to add something like "likes" to posts?
Just download this package and open file lang and edit all "thank you" word in there to "Like"
No, I mean to posts, not topics...
Just purchased likes pro, lets how it works!
Thank-o-Matic is not working except default theme.
During installation below error occurred:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.imagedost.com%2Fimages%2Fnj9vmbric1na0x1gla2.gif&hash=398df8ec8fe6dc89331a1b0b478846523c9acfc4)
Then I did manually but there is one code that could not find in DisplayTemplate.php
So don't know where should I add below code in displaytheme.php
Find:
<hr class="post_separator" />';
Add before
';
// Show the Thank You list or the link or.... nothing? XD
echo '
<div class="ThankOMatic ', $message['approved'] ? ($message['alternate'] == 0 ? 'windowbg' : 'windowbg2') : 'approvebg', '" style="display: '.($message['thank_you_post']['isThankYouPost'] ? 'block' : 'none').';" id="ThankOMaticID' . $message['id'] . '">
<span class="error" id="ErrorThankOMaticID' . $message['id'] . '"></span>';
// Output the Template for Thank-O-Matic (Normal found in the index.template.php)
// It will fall back into a standard function, if this template_thank_you_post doesn't exists!
if ($message['thank_you_post']['isThankYouPost'])
{
// Mistake? Function not loaded oO.
if (empty($context['call_thank_you_post_func']))
loadThankYouTemplateFunctions();
// Call the correct function =D
$context['call_thank_you_post_func']($message['thank_you_post'], $message['id']);
}
echo '
</div>
display.temple.php is enclosed if any one could help me.
same goes for core template, cannot find <hr class="post_separator" />';
@ pixeleyes
On the file display.temlate.php that you attached, search (line 920) for
<div class="botpost">';
Add the code needed before that line.
Make sure that you have a backup of the file before you modify that.
@ sandoz
Quote from: sandoz on November 05, 2011, 08:57:43 AM
same goes for core template, cannot find <hr class="post_separator" />';
On ./Themes/core/display.template.php find (~ line 758) the following code:
// Show the member's signature?
if (!empty($message['member']['signature']) && empty($options['show_no_signatures']) && $context['signature_enabled'])
echo '
<div class="signature" id="msg_', $message['id'], '_signature">', $message['member']['signature'], '</div>';
echo '
</div>
</div>
</div>';
The code that you need to add, must be inserted after the last <
/div> and before the
';Make sure that you have a backup of the file before you modify that.
Quote from: luuuciano on November 03, 2011, 10:20:07 AM
No, I mean to posts, not topics...
Just purchased likes pro, lets how it works!
Ah, It's still in Thank-O-Matic control panel in admin, check it again with each option.
Quote from: Tomy Tran © 2012 on November 08, 2011, 10:12:46 PM
Quote from: luuuciano on November 03, 2011, 10:20:07 AM
No, I mean to posts, not topics...
Just purchased likes pro, lets how it works!
Ah, It's still in Thank-O-Matic control panel in admin, check it again with each option.
Oh, did not saw it! just read descriptions.... :(
I have just installed thank-o-matic on a test site, it looks great! I love the ajax working... lot of options, great mod, great work!
Anyone?
has anyone installed this succesfully on a 2.01 core theme?
I cannot get it to work
Quote from: sandoz on November 13, 2011, 04:57:08 AM
has anyone installed this succesfully on a 2.01 core theme?
I cannot get it to work
Do you mean that you tried what I wrote here (http://www.simplemachines.org/community/index.php?topic=176565.msg3203698#msg3203698) and did not work ?
Would you like to attach your Themes/core/display.template.php (zipped maybe) and let me modify it for you ?
Then I 'll return with instructions.
here its is, thanx for your help!
Hello sandoz
I use TOM and I verified it works properly to my CORE theme.
I attach here the modified file that you send me.
To make TOM work to your CORE theme you mast follow carefully the following steps.
1. Make a backup of all your forum files. Especially those in your forum root and the directories /Sources and /Themes
(attachments, avatars, Games, Smileys may not need to backup)
2. Go to ADMIN -> Package Manager Load and apply TOM mod to "default" and "core" Theme. You may install TOM on all other Themes that do not produce an error. If core theme produce an error you may continue the installation.
3. Right after the installation, go to forum/Themes/core and :
a. rename Display.template.php to Display.template-sandoz.php
b. copy the file I attach here to forum/Themes/core
In case it will not work (there is always such a possibility) and you decide to uninstall the TOM then
1. Go to forum/Themes/core and :
a. delete Display.template.php
b. rename Display.template-sandoz.php to Display.template.php
c. Uninstall the TOM mod.
EDIT: I reapload the display.template.php file for the Themes/core
That file depends on the TOM that I modified and uploaded here (http://www.simplemachines.org/community/index.php?action=dlattach;topic=176565.0;attach=183472).
Which link is for TOM mod?
Quote from: Tomy Tran © 2012 on November 22, 2011, 03:09:36 AM
Which link is for TOM mod?
Thank Tomy
The display.template.php (http://www.simplemachines.org/community/index.php?action=dlattach;topic=176565.0;attach=191058) file (attached to my previous message) is for the Themes/core and depends on the TOM that I modified (http://www.simplemachines.org/community/index.php?action=dlattach;topic=176565.0;attach=183472) and uploaded
here (http://www.simplemachines.org/community/index.php?topic=176565.msg3123612#msg3123612).
Hello,
Excuse me for writting one more time same question. How to make the Thank-o-matic as part of the post not as a separate window appearing at the end of every post for which it was given Thanks. By default it is like that. I couldn't find that in the settings and don't know what and where to modify in the code.
Thank for the help,
+1 to that...
I would use it "inside" posts, not outside as between contents
I have installed this mod on my forum 2.0.1, now I want to move thank you button to the bottom of post where I have +1 button already.
Could anyone tell me how (which file and lines or link answered) to move all list button of: Thank you, Lock, Unlock, Delete thank you from top right of each post to bottom of each post which right before of Complain and IP logged ?
Quote from: ddabcd277 on November 27, 2011, 10:04:19 AM
Hello,
Excuse me for writting one more time same question. How to make the Thank-o-matic as part of the post not as a separate window appearing at the end of every post for which it was given Thanks. By default it is like that. I couldn't find that in the settings and don't know what and where to modify in the code.
Thank for the help,
Like this too.
Hi
I searched through this thread but couldn't find a solution to my problem with Thank-O-Matic , and so would appreciate some help or pointers.
The thank you given and received numbers for some members seem to always go back to 0 after some time, and this generally happens after the member has given or received multiple thank yous. I am using the [Maintenance] > [Stats Recount] function to rectify this every day, but is there any way for the correct stats to be showed all the time?
I am using SMF Forum 2.0.1 with a premium DzinerStudio theme that mostly uses the default theme's file when installing Thank-O-Matic (all checks passed). I've looked through the error log... is this a possible cause for my problem?
Quoteforums.*******.com/index.php?action=profile;u=79
Apply Filter: Only show the errors with the same message
8: Undefined index: member
Apply Filter: Only show the errors from this file
File: /var/sites/f/forums.*******.com/public_html/Themes/lagusta_20rc5/languages/ThemeStrings.english.php (eval?)
Line: 479
If so, how do I eliminate the problem? Many thanks in advance for your help.
Warmest regards
Vince
Hi....I try to install Thank-O-Matic 3.0 on my SMF 2.0.1 but on Core Thema I get errors in files:
./Themes/core/Stats.template.php
and
./Themes/core/Display.template.php
In Stats.template.php don't find:
echo '
<span>', $poster['time_online'], '</span>
</dd>';
}
And in Display.template.php I don't find:
<hr class="post_separator" />';
Thanks
i have installed this mod and the membergroup/board permissions are set, but admins are the only ones that can see it.
any idea what i may have missed? thanks.
Wow, no response or even an acknowledgement here or on the creator's forum. :(
Hi, is there any chance to have this mod on SMF 2.0 RC3 ? thank you
Try this one :)
Thanks. I will try right now, I will reply with news.
Edit: look: 4. Add After ./Sources/Load.php Test failed
5. Add After ./Sources/Load.php Test failed
* 27. Execute Modification ./Sources/Load.php Test failed
I think that will not work..
Can we use this modification with smf 2.0.2 ?
Quote from: Yiorgos on November 22, 2011, 02:30:46 AM
Hello sandoz
I use TOM and I verified it works properly to my CORE theme.
I attach here the modified file that you send me.
To make TOM work to your CORE theme you mast follow carefully the following steps.
1. Make a backup of all your forum files. Especially those in your forum root and the directories /Sources and /Themes
(attachments, avatars, Games, Smileys may not need to backup)
2. Go to ADMIN -> Package Manager Load and apply TOM mod to "default" and "core" Theme. You may install TOM on all other Themes that do not produce an error. If core theme produce an error you may continue the installation.
3. Right after the installation, go to forum/Themes/core and :
a. rename Display.template.php to Display.template-sandoz.php
b. copy the file I attach here to forum/Themes/core
In case it will not work (there is always such a possibility) and you decide to uninstall the TOM then
1. Go to forum/Themes/core and :
a. delete Display.template.php
b. rename Display.template-sandoz.php to Display.template.php
c. Uninstall the TOM mod.
EDIT: I reapload the display.template.php file for the Themes/core
That file depends on the TOM that I modified and uploaded here (http://www.simplemachines.org/community/index.php?action=dlattach;topic=176565.0;attach=183472).
Thanks!! working perfectly no problem with core template
Please, update for 2.0.2
Or just let us know if this version is compatible with 2.0.2
Thanks :)
Quote from: Tomy Tran © 2012 on December 04, 2011, 10:27:27 PM
I have installed this mod on my forum 2.0.1, now I want to move thank you button to the bottom of post where I have +1 button already.
Could anyone tell me how (which file and lines or link answered) to move all list button of: Thank you, Lock, Unlock, Delete thank you from top right of each post to bottom of each post which right before of Complain and IP logged ?
I don't see an reply for this request but would also like to be able to move the thank you buttons to the bottom. Thanks.
When I put a forum with the option "Only Reply" button I get no "thank you" why is that?
I hope I can help, thanks.
Use: SMF 2.0.1
I could! : D After 3 days followed bite ...
I needed to create another category of permits similar to "just answer", I put "just answer 2" and that that could put him thanks and that users see the acknowledgments. Then, since thanks button appears at a forum of "only answer", because there appeared ...
If someone has a query with calmita but I explain let me know in my MP because I do not go often.
Greetings!
Quote from: Welovea1 on December 26, 2011, 05:35:04 PM
Or just let us know if this version is compatible with 2.0.2
Thanks :)
Anyone ever tried it with smf 2.0.2 here?
Quote from: jonathan1980tr on December 31, 2011, 05:04:00 AM
Quote from: Welovea1 on December 26, 2011, 05:35:04 PM
Or just let us know if this version is compatible with 2.0.2
Thanks :)
Anyone ever tried it with smf 2.0.2 here?
yes i am using it on 2.0.2 along with hide tag and its working without any problem...
And i don't think there is major changes in templates in 2.0.2..as compared to 2.0.1 so most of the mods for 2.0.1 should work with 2.0.2 without problem....
not compatible with smf 2.0.2
Quote from: jonathan1980tr on December 31, 2011, 11:46:20 AM
not compatible with smf 2.0.2
Well i don't know why u r getting this error... i think u r trying to install it on a fresh installation of 2.0.2.... because if u upgrade ur already working 2.0.1 to 2.0.2 via the auto upgrade package then thank o matic will continue to work properly...
You're right. Because i m using a fresh installation of 2.0.2. Seems like i should wait for the latest version of the modification
Please, update for 2.0.2.
I have modified the package to work with 2.0.2 but i don't know if i am allowed to post it publicly without permission of mod author... i don't know about licensing and distribution rights etc.....
Hi Folks,
I enjoyed this mod some time ago, is the current version compatible with SMF 2.0 RC5 ?
or for SMF 2.0 RC3 ? i need it. thanks
Please for 2.0.2!
I'm feeling courageous, do you think this mod can be converted into a "Topic Solved" mod? O:)
Quote from: shuban on January 04, 2012, 12:29:40 AM
I'm feeling courageous, do you think this mod can be converted into a "Topic Solved" mod? O:)
Did you try the one by Grudge?
Quote from: live627 on January 04, 2012, 12:35:26 AM
Quote from: shuban on January 04, 2012, 12:29:40 AM
I'm feeling courageous, do you think this mod can be converted into a "Topic Solved" mod? O:)
Did you try the one by Grudge?
Yes... It's great and I've modified it to the bone to suit my site, however, it does not register which users actually obtained the "best answer" for their replies, nor does it keep track of which threads are "solved".
Corrupt.................Not work IN 2.0.1
sOME MSG
tHE PACKAGE WHICH YOU ARE TRY TO INSTALLED IS CORRUPT.
Please update for 2.0.2!
Can you update this for 2.0.2?
All the people who said it's working for 2.0.2, did you guys do a manual install or through the forum? because I tried doing it through the forum but so many files say test failed.
I noticed a problem with the mod:
When I go ahead to delete my "Thank you" from a post I thanked, it deletes all the thank you's that other members made on that same post as well.
Is there a fix to this?
I may get in line... Could You please upgrade this for 2.0.2. with bugs mentioned above this post fixed? I would be very grateful and appreciating! :-)
Attention brilliant minds:
Is it possible to have the post of a thread with the highest thanks you's to be placed earlier in the thread? In others words, have it move up in the thread, second in place to the original post?
Updated to 2.0.2
Is there a possibility that it could send a notifier (PM) whenever a user's post is thanked?
I just installed into 2.02 with custom themes, it said it installed fine to all the themes. but I am getting a display template error
Template Parse Error!
There was a problem loading the /Themes/Default_Blue_Twaddle/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 T_ELSEIF
I've just gone through all the edits to display.template and it has all been done correctly in my custom themes, but i still get a parse error.
Works fine on the curve template.
Nothing in my error log so don't know where the problem is.
Still have the problem where the Admins can see the buttons to post a Thanks but no other group can.
Again, the permissions for each group/board is enabled.
Would appreciate any insight from ANYONE that may have an idea how to fix this...Thank You!
Quote from: cameranutzII on January 23, 2012, 11:45:09 AM
Still have the problem where the Admins can see the buttons to post a Thanks but no other group can.
Again, the permissions for each group/board is enabled.
Would appreciate any insight from ANYONE that may have an idea how to fix this...Thank You!
Make sure the same permissions are given to local setting boards as well.
Just installed this for 2.0.2 and enabled all permissions in both thank-o-matic and board permissions... but the thankyou button is not showing up in posts for anyone including me the admin
Would appreciate some help please
Well, without trundling through all 98 pages of this topic, I had a problem reported on my 2.0.2 installation where only Admin could see "thank you" buttons in certain boards.
A quick check on the differences between the various boards showed that those where the button was absent, were categorised as "no poll" rather than "default" boards. Changing them to default made the thanks button appear.
Fresh install of 2.0.2 and the package doesn't install.
I'm new to simplemachines, so is there some simple thing I'm not aware of?
i got it....
those messages just messed me up, coming from phpbb3. i didn't know that was for other templates....
Those who have problems displaying ThankYou buttons in various themes:
Copy all ThankYou images (if they are not there).
from : www.yoursite.com/yourSMFforum/Themes/default/images/buttons/
to : www.yoursite.com/yourSMFforum/Themes/Any_Other_Theme/images/buttons/
The following is a part from the style.css just to show you what are the image files needed.
/* This are the the Thank-O-Matic Buttons START */
ul.quickbuttons li.thank_you_button
{
background: url(../images/buttons/thank_you_b.gif) no-repeat;
}
ul.quickbuttons li.thank_you_open_button
{
background: url(../images/buttons/thank_you_open.gif) no-repeat;
}
ul.quickbuttons li.thank_you_lock_button
{
background: url(../images/buttons/thank_you_lock.gif) no-repeat;
}
ul.quickbuttons li.thank_you_delete_button
{
background: url(../images/buttons/thank_you_delete.gif) no-repeat;
}
/* This are the the Thank-O-Matic Buttons END */
Quote from: shuban on January 21, 2012, 01:57:07 PM
Is there a possibility that it could send a notifier (PM) whenever a user's post is thanked?
I managed to create the code to send an Email (not PM) to the user that his post is thanked.
You need to edit manually (only once) the /Sources/ThankYouPost.php
If you feel comfortable with that you may send me your Email via PM and I 'll send you the code and instructions.
Quote from: Yiorgos on January 30, 2012, 04:09:09 PM
Quote from: shuban on January 21, 2012, 01:57:07 PM
Is there a possibility that it could send a notifier (PM) whenever a user's post is thanked?
I managed to create the code to send an Email (not PM) to the user that his post is thanked.
You need to edit manually (only once) the /Sources/ThankYouPost.php
If you feel comfortable with that you may send me your Email via PM and I 'll send you the code and instructions.
Email sent :) That's still good enough for now.
Question: In the email, does it make a link to the actual post from where the thank-you came from?
The code I made is for SMF 2.x ONLY
Yes it does create a Link to the post that was thanked.
Here is a sample Email:
You were given a «Thank you»
Forum member USERNAME
gave a «Thank you» for your post in our forum.
So far you have collected 1234 «Thank you», and you have given 321 respectivly
See the «Thank you» given to your post at:
http://www.sdtv.gr/smf/index.php/topic,26216.msg195035.html#msg195035
Quote from: Yiorgos on January 30, 2012, 05:01:44 PM
The code I made is for SMF 2.x ONLY
Yes it does create a Link to the post that was thanked.
Here is a sample Email:
You were given a «Thank you»
Forum member USERNAME
gave a «Thank you» for your post in our forum.
So far you have collected 1234 «Thank you», and you have given 321 respectivly
See the «Thank you» given to your post at:
http://www.sdtv.gr/smf/index.php/topic,26216.msg195035.html#msg195035
I can port it back to 1.x. Could you post it here?
Hello shuban
I send the code to you via PM
Please let us know the results.
When you manage to import it to SMF 1.x.xx Then we post both versions of code, in public.
As I said before, I do not post the code in public here, to avoid messing up/confusing members.
That is because, the code I made is for SMF 2.0.1 and is tested with this version only.
I am willing though to send it via PM or mail to any body that will ask for it.
Please ask it via PM
How does one iisue a thanks? I ave the mod installed, but don't see any option to send a thanks
Quote from: Kindred on February 01, 2012, 10:58:27 PM
How does one iisue a thanks? I ave the mod installed, but don't see any option to send a thanks
The permissions coding is messed up on this mod - that's my verdict.
I just updated from 2.0 rc4 to 2.0.2 and thought I would install this mod. However, when trying to thank someone I get the following error:
QuoteDatabase Error
Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8_unicode_ci,IMPLICIT) for operation 'ifnull'
File: /home/****/public_html/****/Sources/ThankYouPost.php
Line: 616
Could someone help me out?
well after getting tired of waiting on the mod reauthors to fix it so that those of us who used the previous version of this mod would not lose all that data (in my case 100,000+ thank yous), I decided to call it quits.
3months later I come to check to see what changes have been made to it, and its worse now (lots more problems) than it was then.
guess I will check back in 3 more months.
Quote from: Kimmie on February 08, 2012, 05:17:21 AM
well after getting tired of waiting on the mod reauthors to fix it so that those of us who used the previous version of this mod would not lose all that data (in my case 100,000+ thank yous), I decided to call it quits.
3months later I come to check to see what changes have been made to it, and its worse now (lots more problems) than it was then.
guess I will check back in 3 more months.
.
I solved my problem with the Likes Mod (http://www.smfpacks.com/likes)
@Yiorgos
thanks for sending me the little tweak which sends out an email when someone said "thank you". I implemented it successful -it works fine.
I started with a previous version of that mod (v2) and my idea was to keep all my Thank You are given/recived by our members.
By comparing/modifying data tables - it is done! All old thanks are there...
Quote from: Q-collective on February 05, 2012, 05:33:44 PM
I just updated from 2.0 rc4 to 2.0.2 and thought I would install this mod. However, when trying to thank someone I get the following error:
QuoteDatabase Error
Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8_unicode_ci,IMPLICIT) for operation 'ifnull'
File: /home/****/public_html/****/Sources/ThankYouPost.php
Line: 616
Could someone help me out?
Looks like you don't have the same collation on your MySQL smf_*tables and smf_thank_you_post table.
(utf8_general_ci,IMPLICIT) and (utf8_unicode_ci,IMPLICIT) Those are different collations
You probably have to get into your MySQL database with phpmyadmin and alter the smf_thank_you_post table collation, to match the collation of the other tables.
Be very careful with that.
Do not try that unless you know what you are doing.
hello any ideas about the color of the post when the post is receiving a thank you ?
the mod is great but when you gave a thank you to a post then the person who receive a thank you in that post the background color change
i really dont want that
any ideas to solve my problem ?
please take a look
thanks
Quote from: motomaniacs on February 09, 2012, 02:16:37 PM
hello any ideas about the color of the post when the post is receiving a thank you ?
the mod is great but when you gave a thank you to a post then the person who receive a thank you in that post the background color change
i really dont want that
any ideas to solve my problem ?
please take a look
thanks
That should be a matter caused by the Theme you use.
Is it time for your forum to change displaying Theme ?
Try Default theme and see if you have the same problem.
Russian translation attached.
Thanks man :)
guys this is an exclusive mod. i want some help regarding manual installation of this mod in core theme, running smf2.0
there are 5 errors , i removed 3 of them but still 2 there.
tried searching for the code to "add after" but its not in display.template.php , what should i do ?
please help me, i really need it.
Quote from: Game.ruler on February 26, 2012, 01:48:33 PM
tried searching for the code to "add after" but its not in display.template.php , what should i do ?
Attach a copy of your display.template.php file to your next post so we can have a ganders and maybe suggest what's holding it up...
here is the display.template.php
i really appreciate for your kind help.
thanks.
Try this version (remove the "GR" prefix).
Is it for your ShareSpark forum? That's an SMF 2.0 version so I looked in the 2.0 build to see what you had missing (don't know why the particular string was absent)
This should get rid of one of the errors - couldn't see where a second error might occur
shambles , i tried replacing this file, but still same errors are there.
i want help regarding this code , rest i will replace manually. coz i dint found this particular code-
<hr class="post_separator" />';
';
// Show the Thank You list or the link or.... nothing? XD
echo '
<div class="ThankOMatic ', $message['approved'] ? ($message['alternate'] == 0 ? 'windowbg' : 'windowbg2') : 'approvebg', '" style="display: '.($message['thank_you_post']['isThankYouPost'] ? 'block' : 'none').';" id="ThankOMaticID' . $message['id'] . '">
<span class="error" id="ErrorThankOMaticID' . $message['id'] . '"></span>';
// Output the Template for Thank-O-Matic (Normal found in the index.template.php)
// It will fall back into a standard function, if this template_thank_you_post doesn't exists!
if ($message['thank_you_post']['isThankYouPost'])
{
// Mistake? Function not loaded oO.
if (empty($context['call_thank_you_post_func']))
loadThankYouTemplateFunctions();
// Call the correct function =D
$context['call_thank_you_post_func']($message['thank_you_post'], $message['id']);
}
echo '
</div>
i am getting error in this code.
1- use code tags, PLEASE!
2- yes, the errors will still be present in the mod install... you need to make the manual edits and then do the mod install despite the errors.
Quote from: Game.ruler on February 27, 2012, 03:16:57 PM
i want help regarding this code , rest i will replace manually. coz i dint found this particular code-
(Find) [Select]
<hr class="post_separator" />';
I inserted that missing string at line 627 in the file I attached for you. If it's still not being found try deleting all the spaces + tabs at the start of the line and insert 4 tabs in their place
@kindred
sorry for my mistake. i wasn't known to that.
@shambles
yup its working now, i was doing wrong before.
but still there is another error with stats.template.php file.
echo '
<span>', $poster['time_online'], '</span>
</dd>';
}
echo '
<span>', $poster['time_online'], '</span>
</dd>';
}
// Thank-O-Matic Stats
if (!empty($modSettings['thankYouPostStatsEnabled']))
{
echo '
</dl>
<div class="clear"></div>
</div>
<span class="botslice"><span></span></span>
</div>
</div>
</div>
<div class="flow_hidden">
<div id="most_thank_you_receive">
<h3 class="catbg"><span class="left"></span>
<img src="', $settings['images_url'], '/buttons/thank_you_b.png" class="icon" alt="" /> ', $txt['thank_you_post_Top10Receive'], ' <span class="smalltext">(', $txt['thank_you_post_became_display'], ' / ', $txt['thank_you_post_made_display'], ')</span>
</h3>
<div class="windowbg">
<span class="topslice"><span></span></span>
<div class="content">
<dl class="stats">';
foreach ($context['top_ThankOMatic_Receive'] as $poster)
echo '
<dt>', $poster['link'], '</dt>
<dd>', $poster['thank_you_post_became'], '/', $poster['thank_you_post_made'], '</dd>';
echo '
</dl>
<div class="clear"></div>
</div>
<span class="botslice"><span></span></span>
</div>
</div>
<div id="most_thank_you_given">
<h3 class="catbg"><span class="left"></span>
<img src="', $settings['images_url'], '/buttons/thank_you_b.png" class="icon" alt="" /> ', $txt['thank_you_post_Top10Given'], ' <span class="smalltext">(', $txt['thank_you_post_made_display'], ' / ', $txt['thank_you_post_became_display'], ')</span>
</h3>
<div class="windowbg2">
<span class="topslice"><span></span></span>
<div class="content">
<dl class="stats">';
foreach ($context['top_ThankOMatic_Given'] as $poster)
echo '
<dt>', $poster['link'], '</dt>
<dd>', $poster['thank_you_post_made'], '/', $poster['thank_you_post_became'], '</dd>';
}
attaching stats.template.php file
I've found this question earlier in the topic, but I see no answer to it.
When I delete a "thank you", I get this database-error
-Unknown column 'karmaGood' in 'field list'-
/home/dutchmaffi/domains/***.com/public_html/Sources/Subs.php
What can I do about his? It's a new error, I've deleted thank you's before without any problems...
All I did change in the mod, is that after the thank you, it refreshes the page automatically.
Hello,
I've been using this great mod for a few months now. Is it possible for the member who is being thanked to receive a PM? This would help the user to know many months down the line that their post is appreciated.
Many thanks,
Chris.
Like this too, because after review, some host or myself use Google Apps mail to send mail, if this mod work to send mail notice will increase the volume of mails sending and reach max 500 mails per day quickly, if PM will avoid of sending mail and keep in quota of GAPPs.
Prefer to PM any Thanks and send mail once per month only is the best.
of course, if the user has the default setting of "send email when you receive a PM, your option does nothing to cut down on the number of emails....
Quote from: Shambles on January 28, 2012, 09:09:46 AM
Well, without trundling through all 98 pages of this topic, I had a problem reported on my 2.0.2 installation where only Admin could see "thank you" buttons in certain boards.
A quick check on the differences between the various boards showed that those where the button was absent, were categorised as "no poll" rather than "default" boards. Changing them to default made the thanks button appear.
Will look into this myself, thanks!
Quote from: Kindred on March 09, 2012, 08:31:54 AM
of course, if the user has the default setting of "send email when you receive a PM, your option does nothing to cut down on the number of emails....
More point to pay attention, thanks for informative reply ;)
Quote from: cameranutzII on March 09, 2012, 03:44:57 PM
Quote from: Shambles on January 28, 2012, 09:09:46 AM
Well, without trundling through all 98 pages of this topic, I had a problem reported on my 2.0.2 installation where only Admin could see "thank you" buttons in certain boards.
A quick check on the differences between the various boards showed that those where the button was absent, were categorised as "no poll" rather than "default" boards. Changing them to default made the thanks button appear.
Will look into this myself, thanks!
Set the boards back to Default and it's working. Thanks for the suggestion!
Pls help me, i have error:
8: Undefined index: thankYouPostCounterOutput
File: /var/www/vhosts/dothixala.net/httpdocs/Sources/ThankYouPost.php
Lie: 744
==>744: 'disable_counter_link' => $modSettings['thankYouPostCounterOutput'] == 1,
Quote from: lttung on March 12, 2012, 03:14:36 AM
Pls help me, i have error:
8: Undefined index: thankYouPostCounterOutput
File: /var/www/vhosts/dothixala.net/httpdocs/Sources/ThankYouPost.php
Lie: 744
==>744: 'disable_counter_link' => $modSettings['thankYouPostCounterOutput'] == 1,
Thanks, fixed:
Quote from: Chas Large on May 10, 2010, 05:37:12 AM
Oh... i think i've an small thinking error on that position... i hope it's an SMF2 problem...
ThankYouPost.php
Serach for
if (!isset($modSettings['thankYouPostStartOutput']))
Replace with
if (!isset($modSettings['thankYouPostStartOutput']) || !isset($modSettings['thankYouPostCounterOutput']) || !isset($modSettings['thankYouPostStartOutputText']))
That should solve the problem...
Hi! I LOVE this mod, and am wondering if it's possible to have a notification under the unread posts area, when the user gets thanked, it'll show the total number of new thanks in the link and when they click it, it takes them to the summary
What do I need to edit if all I want to show below the post is who thanked, instead of the counter (see attached)?
Is there a way to bold and change the color of the "Thank You" shown in posts?
Quote from: vdamanafshan on April 22, 2012, 06:04:30 PM
Is there a way to bold and change the color of the "Thank You" shown in posts?
You mean the bottom part that lists the people?
Quote from: shazoo! on April 23, 2012, 10:53:50 AM
Quote from: vdamanafshan on April 22, 2012, 06:04:30 PM
Is there a way to bold and change the color of the "Thank You" shown in posts?
You mean the bottom part that lists the people?
No, I mean the button which the users click on it and give a Thank You.
Quote from: shazoo! on April 15, 2012, 09:14:05 AM
What do I need to edit if all I want to show below the post is who thanked, instead of the counter (see attached)?
./index.php?action=admin;area=thankyoupostsettings;sa=layout
Select
hidden ( link / text / hidden ) on the dropdown box of
Count the number of thank you ...
Quote from: Tomy Tran © 2012 on April 23, 2012, 05:25:10 PM
Quote from: shazoo! on April 15, 2012, 09:14:05 AM
What do I need to edit if all I want to show below the post is who thanked, instead of the counter (see attached)?
./index.php?action=admin;area=thankyoupostsettings;sa=layout
Select hidden ( link / text / hidden ) on the dropdown box of Count the number of thank you ...
oh sweet! Thanks!!
Hi,
when it will be updated for 2.0.2, four months passed still waiting.
Quote from: shubha on April 25, 2012, 08:12:54 AM
Hi,
when it will be updated for 2.0.2, four months passed still waiting.
Mine's working fine for 2.0.2
Quote from: Game.ruler on February 27, 2012, 05:45:41 PM
@kindred
sorry for my mistake. i wasn't known to that.
@shambles
yup its working now, i was doing wrong before.
but still there is another error with stats.template.php file.
Hi,
were you able to find where to put that part of code?
Quote from: shazoo! on April 25, 2012, 08:34:29 AM
Quote from: shubha on April 25, 2012, 08:12:54 AM
Hi,
when it will be updated for 2.0.2, four months passed still waiting.
Mine's working fine for 2.0.2
Mine's working fine for 2.0.2 too
Quote from: Tomy Tran © 2012 on December 04, 2011, 10:27:27 PM
I have installed this mod on my forum 2.0.1, now I want to move thank you button to the bottom of post where I have +1 button already.
Could anyone tell me how (which file and lines or link answered) to move all list button of: Thank you, Lock, Unlock, Delete thank you from top right of each post to bottom of each post which right before of Complain and IP logged ?
Oh, finally I did it for my bacninhpro.net he he.
Thanks for this great mod, but I have two problems. Let me explain what I mean.
A few months ago, I installed this Mod on my SMF 2.0.2. Everything worked fine until I had to uninstall this mod for some reason. A few days ago, I installed the mod again but this time I came across two problems:
1- I can't translate the Profile.english.php into my own language. Actually, despite translating the strings into my own language, I still see English sentences in members' profile pages.
2- In the posts which have already received one (or more) Thank You (I mean in the first installation), it is written that "For this post, 0 member gave a thank you"!.
Can anyone please tell me how to solve these problems?
Quote from: vdamanafshan on April 28, 2012, 03:39:56 PM
Thanks for this great mod, but I have two problems. Let me explain what I mean.
A few months ago, I installed this Mod on my SMF 2.0.2. Everything worked fine until I had to uninstall this mod for some reason. A few days ago, I installed the mod again but this time I came across two problems:
1- I can't translate the Profile.english.php into my own language. Actually, despite translating the strings into my own language, I still see English sentences in members' profile pages.
2- In the posts which have already received one (or more) Thank You (I mean in the first installation), it is written that "For this post, 0 member gave a thank you"!.
Can anyone please tell me how to solve these problems?
Do you have access to phpmyadmin?
Quote from: Liam_michael on April 29, 2012, 11:48:44 PM
Quote from: vdamanafshan on April 28, 2012, 03:39:56 PM
Thanks for this great mod, but I have two problems. Let me explain what I mean.
A few months ago, I installed this Mod on my SMF 2.0.2. Everything worked fine until I had to uninstall this mod for some reason. A few days ago, I installed the mod again but this time I came across two problems:
1- I can't translate the Profile.english.php into my own language. Actually, despite translating the strings into my own language, I still see English sentences in members' profile pages.
2- In the posts which have already received one (or more) Thank You (I mean in the first installation), it is written that "For this post, 0 member gave a thank you"!.
Can anyone please tell me how to solve these problems?
Do you have access to phpmyadmin?
I don't know, what is this for? where can I find it?
We are also receiving this same error: "2- In the posts which have already received one (or more) Thank You (I mean in the first installation), it is written that "For this post, 0 member gave a thank you"!."
By way of background information, we have just started to see in
some member profiles the following error:
QuoteColumn 'id_msg' in where clause is ambiguous
File: /home/welovea2/public_html/JDBTest/Sources/Profile-ThankYouPost.php
Line: 199
Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 2.0.2, while your database is at version 2.0.1. The above error might possibly go away if you execute the latest version of upgrade.php.
We've tried a couple of different approaches in our test forums to correct the problem, both of which resulted in the error message described by vdamanafshan.
We first deleted the error log and then recalculated the thank-o-matic stats. That resulted in elimination of the "Column 'id_msg'...... but also in the 0 posts error.
We restored our database, uninstalled our previous version of Thank-O-Matic, which was emulated for 2.0.1 and installed the current version. Again this resulted in the error described by vdamanafshan. On all previous re-installs of thank-o-matic, we have never lost data.
We do know how to access phpmyadmin but don't know what to do to fix the error.
Thanks for any assistance that can be provided.
// Load the Post data :)
$post = $smcFunc['db_query']('', '
SELECT id_msg, id_member, thank_you_post, thank_you_post_counter
FROM {db_prefix}messages
WHERE id_topic = {int:topic} AND id_msg = {int:id_msg}
LIMIT 1',
array(
'topic' => $topic,
'id_msg' => (int) $_GET['msg'],
)
);
The clause is ambiguous because id_msg it exists twice!
But that is not the problem I think.
There are many posts regarding clause is ambiguous in SMF (https://www.google.gr/search?hl=el&newwindow=1&client=firefox-a&hs=2OJ&rls=org.mozilla:el:official&q=+site:simplemachines.org+Column+%27id_msg%27+in+where+clause+is+ambiguous&sa=X&ei=XZ6iT4WHBovY4QT51pSgAw&ved=0CCcQrQIwAA&biw=1199&bih=707)
I read some and I concluded that it should be caused by an other modification that you installed probably after the installation of ThankOmatic.
I would suggest you to uninstall the modifications one after the other on a reverse order...
Emulate the error after each uninstall to locate the incompatible modification package.
In case you cannot remember the installation order, consider to install Sortable Packages (and Installed Time) (http://custom.simplemachines.org/mods/index.php?mod=2323) by emulating the SMF version to 2.0 RC3
I love this mod, I would be completely lost without it. However, if and evidently only if I activate the Ajax (inline) thank you, my members and I see the following error message appearing randomly during normal navigation. Backbrowsing and refreshing restore the page as it should be, and I haven't found a pattern to predict when it will appear, but it's annoying just the same. Any suggestions?
QuoteWarning: require(/home/content/**/*******/html/sabrinova/cache/data_c41c53b6129a9ba1d0559d24ef4e715b-SMF-modSettings.php) [function.require]: failed to open stream: No such file or directory in /home/content/**/*******/html/sabrinova/Sources/Load.php on line 2716
Fatal error: require() [function.require]: Failed opening required '/home/content/**/*******/html/sabrinova/cache/data_c41c53b6129a9ba1d0559d24ef4e715b-SMF-modSettings.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/**/*******/html/sabrinova/Sources/Load.php on line 2716
Politely bumping.....
Is there anyway to make this mod work for 1.1.16? I want this feature... or at least a way for a member to thank or "Like" specific posts. I have the Thank You mod that allows members to Thank you a specific topic... but I have had requests from members for a feature that will "Thank" or "Like' spefic posts.
Please help?
Quote from: Harvester on May 10, 2012, 10:37:33 AM
Is there anyway to make this mod work for 1.1.16? I want this feature... or at least a way for a member to thank or "Like" specific posts. I have the Thank You mod that allows members to Thank you a specific topic... but I have had requests from members for a feature that will "Thank" or "Like' spefic posts.
Please help?
It still should work, it works on mine.
Quote from: Liam_michael on May 14, 2012, 03:11:55 PM
Quote from: Harvester on May 10, 2012, 10:37:33 AM
Is there anyway to make this mod work for 1.1.16? I want this feature... or at least a way for a member to thank or "Like" specific posts. I have the Thank You mod that allows members to Thank you a specific topic... but I have had requests from members for a feature that will "Thank" or "Like' spefic posts.
Please help?
It still should work, it works on mine.
Thats good news! :)
The parser on the mod page wont load it... I know Sleepy once had a parser... do you, or anyone else, know of the url to that parser, or any working parser so i can install this?
Thank you in advance :)
Quote from: Harvester on May 14, 2012, 03:54:04 PM
Quote from: Liam_michael on May 14, 2012, 03:11:55 PM
Quote from: Harvester on May 10, 2012, 10:37:33 AM
Is there anyway to make this mod work for 1.1.16? I want this feature... or at least a way for a member to thank or "Like" specific posts. I have the Thank You mod that allows members to Thank you a specific topic... but I have had requests from members for a feature that will "Thank" or "Like' spefic posts.
Please help?
It still should work, it works on mine.
Thats good news! :)
The parser on the mod page wont load it... I know Sleepy once had a parser... do you, or anyone else, know of the url to that parser, or any working parser so i can install this?
Thank you in advance :)
Try 1.1.15
Hi,
I can you see here an issue with php 5.4 branch and its resolution
LINK REMOVED.
The link has nothing to do with the mod.
@Old Fossil, I think you'll find the link DID actually have a point, because it was a valid bug fix that androgyn3 previously posted. Same bug affects multiple mods.
But yes, The link has to do with the mod since this mod doesn't show thank post in profil area and doesn't show admin link in admin panel under PHP 5.4 branch.
http://www.simplemachines.org/community/index.php?topic=419479.msg3338790#msg3338790
The issue and the fix provid by arantor is the same for this mod as for spoiler mod. (there are some mod affected)
Please let this link for the dev update this bug and the people correct this !
The installation processed without errors.
But after i installed options for example in the Karma Tab are available.
But the site area=thankyoupostsettings is not available at any theme.
There are no errors, just nothing. And everything is working, only accessing this page not!
Please help
Wich PHP version are you using?
Look at the androgyn3 reply
Does anyone know if there's a way to add a notification under your avatar that's at the top of the page? Kind of like a thank counter under the links for new posts?
Hi
I am using this mod with SMF 2.0.2 and it seems to work fine, except I don't have a link to click and show the people that thanked for a particular post.
If someone could help, it would be great.
I have attached a screenshot and my display.template as I guess it is something in there causing it.
Also, is there a way to make this mod compatible with TapaTalks thanks? Or would I need to use Karma for that?
Thanks
That's in the mod settings in admin > configuration > thank-o-matic > layout, there's an option to display "Thank You Counter Link " as text only as you have, or to display as a link - that's the setting you want :)
Thanks Sabrinova
That was doing my head in :)
No probs :)
I haven't a clue about tap-a-talk though so hopefully someone else will answer that one.
So far, Tapatalk doesn't incorporate Karma... I didn't know tapatalk HAD thanks, I need to look into which mod they used!
I have SMF 2.0.2 and it dont work good. When i want to install there are several errors. I cant upload avatars (error:
Wrong value type sent to the database. Integer expected. (p_thank_you_post_became)
i cant give a thank you (error:
SQL logic error or missing database
near "LIMIT": syntax error
File: /home/path/Sources/ThankYouPost.php
Line: 134
What to do?
Thank you, this mod maker has used my code of localise language for symbol AM/PM (http://www.simplemachines.org/community/index.php?topic=368208.0) in your mod, just hack to customize the mod and found it today.
Your mod will be perfect if it has option for users can choose where to appears:
+ the thank-you button: top right (or bottom right) of post.
+ the thank-you list: seperate like a next post or under signature of the post.
Version 2.0.2
I have the option for can remove own thanks, but it doesn't seem to be working. the Delete option just doesn't come up.
It does show if you have the Delete Thank You Post Member option for "Any Member", but not if you check "Own Member"
Has anyone encounter this and found a fix?
You do check permissions for each groups ?
Regards enik...
I only tested it on the one I'm using at the moment, a hand created group called "admin"
You have to give permissions to each group.
Regards enik...
Quote from: enik on July 10, 2012, 07:52:06 PM
You have to give permissions to each group.
Regards enik...
I gave permissions to the group I wanted to have the permissions, The "Own Member" option is not working.
Hi All,
Recently upgraded to SMF 1.1.16 (from 1.1.11) and re-installed Thank-O-Matic 1.2.5
Works in Default theme and a few others, but not in YaBB SE Theme (1.1)
Tried manual install on YaBB php files, with no success. Any suggestions?
Quote from: simzman on July 16, 2012, 02:48:07 AM
Hi All,
Recently upgraded to SMF 1.1.16 (from 1.1.11) and re-installed Thank-O-Matic 1.2.5
Works in Default theme and a few others, but not in YaBB SE Theme (1.1)
Tried manual install on YaBB php files, with no success. Any suggestions?
Are the images uploaded to the theme?
Unlikely, Will check now.
The themes that worked with Thank-o-matic still have the hyper-link for 'thank-you' and sometimes a missing image file.
In which case, adding the image to the theme folder would fix it.
But with YaBB, there is no sign of a thank-you link or even a mention of 'thanks given' below the avatar of a user...
Will try anyway, thank you.
Tried uploading necessary files to YABB (classic) theme directory. No change.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi1195.photobucket.com%2Falbums%2Faa398%2Fphishyphilms%2FThankOMatic125_v2install.jpg&hash=8a756d87bf2b2338aa3de4e9bad479bd42cb66a1)
I did notice that Thank-o-matic is supported by 1.1.14, 1.1.15, 2.0, 2.0.1, 2.0.2
No 1.1.16 listed :(
Perhaps I should re-upgrade my forum to 2.x
From what I've read that could open another can of worms. Got another 15 packages installed and they may not be compatible with 2.x
Anyone had any success with ThankOMatic 1.2.5 on SMF 1.1.16 with YaBB SE 1.1 (classic) theme?
Didn't you say it's just not working on one theme though? If so, the version shouldn't have anything to do with it, then, right?
I have version 2.0.2, so I'm not sure if the images are in a specific folder or not.
:(
1- if 1.1.15 is supported, so it 1.1.16 - even if the auto-install doesn't trigger without emulation.
2- with the 1.1.x series, you will have to MANUALLY make any code changes to ALL themes, other than the default.
3- with any mod, if you add a theme after installation of the mod, you may have to MANUALLY apply any code changes to that theme's template files.
Quote from: Kindred on July 17, 2012, 09:27:42 AM
1- if 1.1.15 is supported, so it 1.1.16 - even if the auto-install doesn't trigger without emulation.
2- with the 1.1.x series, you will have to MANUALLY make any code changes to ALL themes, other than the default.
3- with any mod, if you add a theme after installation of the mod, you may have to MANUALLY apply any code changes to that theme's template files.
Thank you Kindred and Shazoo!
While following the manual install instructions (parsed for 1.1.16) I noticed that some of the files that need to be edited do not exist in the theme I want to use.
In the past with manual install, I have edited the default theme files and where I can I edit the specific theme files, which has worked.
It's a huge manual install. Will give it a shot ;)
I also tried copying necessary php files and images to theme directory.
* The theme was already installed - thank you mod worked, I upgraded from 1.1.11 to 1.1.16, then re-installed the thank-you mod - stopped working on one theme (YaBB). Newer version of the YaBB theme are only available in 2.x versions.
* Also what do you mean by 'emulation' in auto-install?
I found some irregularities in some thank you counts, with no errors in the log.
But when I use "Repair and optimize Thank-O-Matic tables" I get an error about my database.
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 ':id_msgs)
LIMIT 1' at line 3
Bestand: /var/www/vhosts/mysite.com/httpdocs/Sources/ThankYouPost-Maintaince.php
Regel: 792
Also a tip that my database is still at SMF2.01 while my forum is at SMF2.02 and I should use upgrade.php.
I did this a while ago, when I upgraded to 2.02, and so far without any other problems. This is the first.
It's unlikely I would have to do this again.
Any advise?
Edit: I found in my packagemanager that my version of Thank-o-Matic is 3.0? At the modpage I see 2.0.
Maybe my version isn't suited for 2.02?
Not that, some time some errors still happen might be cause from out of host's uptime, if it is rarely, just remove log report. But if it occurs usually, you should pay attention to it. I just tell my case, after a period, it'd gone.
The latest tapatalk plug-in uses this mod!
Hi guys!
I have a problem with the plugin - its menu does not appear in the admin panel. I haven't installed anything after it and one day i saw that the menu is missing. I'm not sure when, but i've updated the PHP on the server and maybe i've missed an php extension.
I've tested it using absolutely clean version of the smf with a clean db - same result, after the install the config menu of the plugin is missing. I have some other plugins like fb sidebox, image resizer, etc and their menus are also missing. There are no errors in the apache files, everything looks normal. Do you have any ideas? Here how the admin panel looks:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fa5.sphotos.ak.fbcdn.net%2Fhphotos-ak-ash4%2F391307_479423178735867_1501739387_n.jpg&hash=3c7341e3538a2387cdb896f01a05e17750bfac73)
Missing language strings....
Missing from default and clean installation of the forum and plugin? Mmm, no...
Ummmm... Yes. I suspec that the mod does not have the UTF8 strings.
Check for the strings in your language files, modifications.english or maybe modifications.englishutf8
Unfortunately all translation files are there. A screenshot from Admin.english.php:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fa4.sphotos.ak.fbcdn.net%2Fhphotos-ak-ash3%2F620996_479571222054396_1895657531_o.jpg&hash=daffbf6ec82a0343d2328b2e28e1e9e73de37a63)
but are you actually using "english" for your forum, or are you using "English UTF8"?
Your first picture shows the EXACT screen you would be getting from missing txt strings, plain and simple,
I have several test accounts with different languages. The first screenshot is from account in English. It uses "english", not english-utf8. If i put "echo $txt['thankyouposttitle'];" in the "Subs-ThankYou.php" in the "ThanYou_add_admin_areas" function the string is displayed in the admin page on top. I'm 99% sure that the problem does not come from the translation files. I've put my apache and php in error level debug and there is nothing in the logs.
I'm running the SMF on a FreeBSD jails and i think the problem appeared when i upgraded the PHP, PHP-extensions or the Apache. Unfortunately I saw the problem yesterday and i don't know exactly when it appeared and cannot tell for sure what caused it. My thoughts are on the PHP/apache, because i've tested it on absolutely clean (empty) db and forum and the problem also appeared. The only common thing is the platform. PHP ver: 5.4.4
Quote from: shazoo! on July 12, 2012, 06:26:01 AM
Quote from: enik on July 10, 2012, 07:52:06 PM
You have to give permissions to each group.
Regards enik...
I gave permissions to the group I wanted to have the permissions, The "Own Member" option is not working.
I realized my error.
I thought that option allowed you to remove your thanks from posts that you thanked. What it actually does is remove thanks from your posts. 2 different things
My problem is solved. It's due to PHP version and how it passes parameters in version 5.3 and 5.4. With an & before the variable name, the php passes it as reference to the variable, e.g.:
//Admin Areas
function ThanYou_add_admin_areas(&$adminAreas)
Hey guys, I really dig this mod, but was wondering if anyone could give me a hand modifying it. Basically I want to change the thank you button, and the thank you message, to just the HTML star - and is there anyway of showing the list of people who thank you (or fabourited as it would be on my forum) in that little section under the post, instead having a link to click through?
A pic for demo to imagize is better ;)
My Thank-o-matic is malfunctioning. Please can you point me in the right direction to fix it?
In a member's profile, when I click to view their "Thank you posts", I see four categories. "Mesages (become)", "Topics (become)", "Messages (given)" and "Topics (given)". Now I can click on Messages (become) and go through pages 1, 2,..., etc quite happily, but when I click on Messages (given) I see page 1, but clicking on page 2, or indeed any other page number under Messages (given) takes me instead to the corresponding page number of Messages (become).
Except with the admins. I don't know whether it's because we're admins or because we're with only ones with over a thousand thanks, but clicking on Messages (given) in an administrator's profile displays the error
QuoteColumn 'id_msg' in where clause is ambiguous
File: /home/chalkcat/public_html/Sources/Profile-ThankYouPost.php
Line: 199
where line 199 is the last line of the following - yes the );
// Find this user's posts. The left join on categories somehow makes this faster, weird as it looks.
$looped = false;
while (true)
{
$request = $smcFunc['db_query']('', '
SELECT
b.id_board, b.name AS bname, c.id_cat, c.name AS cname, m.id_topic, m.id_msg,
t.id_member_started, t.id_first_msg, t.id_last_msg, m.body, m.smileys_enabled,
m.subject, m.poster_time
, m.thank_you_post_counter, m.thank_you_post
FROM ' . (!$context['is_given'] ? '{db_prefix}messages AS m' : '{db_prefix}thank_you_post AS tp
INNER JOIN {db_prefix}messages AS m ON (m.id_msg = tp.id_msg)') . '
INNER JOIN {db_prefix}topics AS t ON (' . ($context['is_topics'] || $context['is_topics_given'] ? 't.id_first_msg = m.id_msg' : 't.id_topic = m.id_topic') . ')
INNER JOIN {db_prefix}boards AS b ON (b.id_board = t.id_board)
LEFT JOIN {db_prefix}categories AS c ON (c.id_cat = b.id_cat)
WHERE ' . ($context['is_given'] ? 'tp' : 'm') . '.id_member = {int:current_member}
AND m.thank_you_post = 1
' . (!empty($board) ? 'AND m.id_board=' . $board : '') . '
' . (empty($range_limit) ? '' : '
AND ' . $range_limit) . '
AND {query_see_board}
' . ($context['user']['is_owner'] ? '' : 'AND m.approved = {int:is_approved} AND t.approved = {int:is_approved}') . '
ORDER BY m.id_msg ' . ($reverse ? 'ASC' : 'DESC') . '
LIMIT ' . $start . ', ' . $maxIndex,
array(
'current_member' => $memID,
'is_approved' => 1,
)
);
Please help, this is the only issue now preventing my forum from being 100% perfect :'(
It has just been brought to my attention that also clicking on the topics (given) then on page 2 shows messages (become) page 2.
The other problem I'm having more and more frequently is that the Received Thank You stats on the memberlist and profiles keeps resetting itself and I have to keep running the recount to bring them back again :-\
Hi Pyrhel,
If you have upgrade your PHP to 5.4 branch, see what I says here : http://www.simplemachines.org/community/index.php?topic=176565.msg3342558#msg3342558
Some mod doesn't show some link in admin panel, i have the same problem, it's fixed with i do (follow the link).
I just realised I'm running Thank-o-matic version 3.0! Yet according to the mod site the latest version is 2.0 - What's going on? Also I can't find the bit that told me I had to have Karma switched on to make it work :-\
Anyway, further to my post above, I'm really worried about my problem of the stats resetting themselves as this is now a daily occurrence. The thanks given are fine, it's the thanks received that keep losing numbers, and I can see this in the database also. The thank_you_post_became field of the smf_members table is displaying the wrong data. When I do a stats recount it corrects itself, but I am having to do a recount every day because the numbers keep going wrong! For example, a member who has received 406 thanks is currently showing 3.
Strangely, the karma_good field of the same table is showing the correct numbers of thanks received!!! As I said, I read somewhere that Karma had to be enabled when I was setting this up, but now I can't find it. Has my version and its data been removed from the mod site???
What I am tempted to do is find and replace every instance where the code reads the thank_you_post_became field to point it at the karma_good field instead, but I know nothing about PHP or databases so this may be a stupid idea.
Please advise... thank you ;)
I have translated the xml file which had the phrases showing in the thread etc
installed in but it gave error
I think that was in index.template line 724 maybe!
Please help me with added code
step 1,2,4,6,7,are ok but i don't known how and where put 3 and 5
Please can anybody help me with this? The stats are resetting at least once a day, not for all members at once, or even the same members consistently, but between one and a few members each time.
It really is driving me mad, if only somebody could point me towards the solution, please....
Quote from: Sabrinova on August 07, 2012, 02:54:25 PM
Anyway, further to my post above, I'm really worried about my problem of the stats resetting themselves as this is now a daily occurrence. The thanks given are fine, it's the thanks received that keep losing numbers, and I can see this in the database also. The thank_you_post_became field of the smf_members table is displaying the wrong data. When I do a stats recount it corrects itself, but I am having to do a recount every day because the numbers keep going wrong! For example, a member who has received 406 thanks is currently showing 3.
Strangely, the karma_good field of the same table is showing the correct numbers of thanks received!!! As I said, I read somewhere that Karma had to be enabled when I was setting this up, but now I can't find it.
What I am tempted to do is find and replace every instance where the code reads the thank_you_post_became field to point it at the karma_good field instead, but I know nothing about PHP or databases so this may be a stupid idea.
Please advise... thank you ;)
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 ;)
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.
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...
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??
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
<hr class="post_separator" />';
in: ./Themes/core/Display.template.php
Any help is appreciated.
I have a simple request for Thank-o-matic - how can I change the text to just "Like" rather than "Thank You"? No offence to coders - great mod but for my needs "like" makes a whole lot more sense.
I'm sure it's a simple alteration to a template but I can't seem to find where the text displayed is defined. grateful for any help!
Thouhgt it might be something to do with alternativ txt in the mods layout settings to start with but apparently not.
This is installed on SMF 2.0.2
modifications.english.php
Excellent - thanks! That's only part though as it holds the error messages only - I've now edited them.
What I can't find is where the text for "Thank You" is defined to be displayed in the header of each post. E.g. you have the normal Quote, Modify, Remove, Split Topic and then "Thank You" - this is what I'm trying to change. Looks like it may be coming from $modsettings but I can't find that.
Sorry I'm being a bit rubbish here but really appreciate your help! :)
Ah think I just found the deifintions of text in index.english.php!
it should not be putting anything into index.english.php - it should be putting everything into modifications.english.php.... if it's putting it into index, then the mod needs to be fixed by the authors...
Actually, I have noticed a certain, shall we say, laxity with coding guidelines with this and other ADK mods which disturbs me...
Quote from: Sabrinova on August 11, 2012, 09:52:57 AM
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 ;)
I have the same problem. Just noticed it today.
Quote from: Cutter65 on August 27, 2012, 06:54:54 AM
Quote from: Sabrinova on August 11, 2012, 09:52:57 AM
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 ;)
I have the same problem. Just noticed it today.
Thanks Cutter! Maybe it isn't just my setup then, but a bug in the mod itself... I did ask for help on the author's support forum, but I was told the number of mods I have installed is an "atrocity" and then was asked for an admin account to look at it, so I've decided to try an uninstall and re-install first, which, due to the number of mods I have will need many manual edits, so it's the job I have planned for my holiday.
I'm happy to hand over my files to anyone who thinks they can help, and the symptoms of the problem are obvious to all, but I'm reluctant, rightly or wrongly, to hand over admin permissions for this to someone who is not, to my knowledge, an SMF team member. Nor do I understand why an admin account would be necessary in this instance :-\
I also get this error when I try to run Maintenance.
Repair and optimize Thank-O-Matic tables give this error
forum/index.php?action=admin;area=maintainThankYouPost;sa=maintain;activity=optimize
Database Error: Operand should contain 1 column(s)
File: /public_html/forum/Sources/ThankYouPost-Maintaince.php
Line: 603
601: 'msg_ids' => $msg_ids,
602: )
==>603: );
604:
605: $_REQUEST['start'] +=$increment;
I just tried that for the first time and didn't have a problem, it said it "executed successfully" :-\
Quote from: Sabrinova on August 27, 2012, 08:08:48 AM
I just tried that for the first time and didn't have a problem, it said it "executed successfully" :-\
Damn, damn, damn!!! Urgent problem! Since I hit the button to optimize tables, my names of who have thanked posts no longer show up when clicking on the link!!! This at least was working before.
Please, somebody, how can I fix this? I took a DB backup just before, can I overwrite the thanks table or something from the backup? Would that fix it or just make it worse?? Damnn, why does nothing with this mod do what it's supposed to do????
Quote from: Sabrinova on August 06, 2012, 03:15:07 PM
My Thank-o-matic is malfunctioning. Please can you point me in the right direction to fix it?
In a member's profile, when I click to view their "Thank you posts", I see four categories. "Mesages (become)", "Topics (become)", "Messages (given)" and "Topics (given)". Now I can click on Messages (become) and go through pages 1, 2,..., etc quite happily, but when I click on Messages (given) I see page 1, but clicking on page 2, or indeed any other page number under Messages (given) takes me instead to the corresponding page number of Messages (become).
Except with the admins. I don't know whether it's because we're admins or because we're with only ones with over a thousand thanks, but clicking on Messages (given) in an administrator's profile displays the error
QuoteColumn 'id_msg' in where clause is ambiguous
File: /home/chalkcat/public_html/Sources/Profile-ThankYouPost.php
Line: 199
where line 199 is the last line of the following - yes the );
// Find this user's posts. The left join on categories somehow makes this faster, weird as it looks.
$looped = false;
while (true)
{
$request = $smcFunc['db_query']('', '
SELECT
b.id_board, b.name AS bname, c.id_cat, c.name AS cname, m.id_topic, m.id_msg,
t.id_member_started, t.id_first_msg, t.id_last_msg, m.body, m.smileys_enabled,
m.subject, m.poster_time
, m.thank_you_post_counter, m.thank_you_post
FROM ' . (!$context['is_given'] ? '{db_prefix}messages AS m' : '{db_prefix}thank_you_post AS tp
INNER JOIN {db_prefix}messages AS m ON (m.id_msg = tp.id_msg)') . '
INNER JOIN {db_prefix}topics AS t ON (' . ($context['is_topics'] || $context['is_topics_given'] ? 't.id_first_msg = m.id_msg' : 't.id_topic = m.id_topic') . ')
INNER JOIN {db_prefix}boards AS b ON (b.id_board = t.id_board)
LEFT JOIN {db_prefix}categories AS c ON (c.id_cat = b.id_cat)
WHERE ' . ($context['is_given'] ? 'tp' : 'm') . '.id_member = {int:current_member}
AND m.thank_you_post = 1
' . (!empty($board) ? 'AND m.id_board=' . $board : '') . '
' . (empty($range_limit) ? '' : '
AND ' . $range_limit) . '
AND {query_see_board}
' . ($context['user']['is_owner'] ? '' : 'AND m.approved = {int:is_approved} AND t.approved = {int:is_approved}') . '
ORDER BY m.id_msg ' . ($reverse ? 'ASC' : 'DESC') . '
LIMIT ' . $start . ', ' . $maxIndex,
array(
'current_member' => $memID,
'is_approved' => 1,
)
);
Please help, this is the only issue now preventing my forum from being 100% perfect :'(
It has just been brought to my attention that also clicking on the topics (given) then on page 2 shows messages (become) page 2.
The other problem I'm having more and more frequently is that the Received Thank You stats on the memberlist and profiles keeps resetting itself and I have to keep running the recount to bring them back again :-\
I did some testing and the line 199 error only happens with members that have given over 1000 thank you's. Must be something to do with the 4 digit number.
That's exactly when mine shows too. And how on earth is it that when I pressed the "optimize tables" button, it actually wiped the table?? Oh yeah, really optimized :o
I think we may need the mod author to fix these things....
Ok, I think I have identified the bit of code that's causing the index problems when viewing the thank you posts from within a member's profile. Remember how the second page of everything returns to "Messages (become)"?
In Profile-ThankYouPost.php, we have this on line 53:
// Okay special case woa never thought i will insert them :D but this will be a nice feature :D
$context['is_messages_given'] = isset($_GET['sa']) && $_GET['sa'] == 'messages_given' ? true : false;
$context['is_topics_given'] = isset($_GET['sa']) && $_GET['sa'] == 'topics_given' ? true : false;
$context['is_given'] = $context['is_messages_given'] || $context['is_topics_given'];
$context['is_messages'] = !($context['is_given'] || $context['is_topics']);
But then, when we come to the page index on line 145, we have this:
Quote// Make sure the starting place makes sense and construct our friend the page index.
$context['page_index'] = constructPageIndex($scripturl . '?action=profile;u=' . $memID . ';area=showThankYouPosts' . ($context['is_topics'] ? ';sa=topics' : ''), $context['start'], $msgCount, $maxIndex);
$context['current_page'] = $context['start'] / $maxIndex;
I'm no coder, so if I'm wrong it wouldn't surprise me, however it seems to me that the buttons are actually hardcoded to all point to the same page.
Please can anyone confirm whether this is the case and suggest how to fix it?
(I'm still working on the reset issue too....)
Quote from: loplo on August 15, 2012, 02:57:07 PM
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
<hr class="post_separator" />';
in: ./Themes/core/Display.template.php
Any help is appreciated.
anyone?!
Quote from: loplo on September 11, 2012, 04:52:04 PM
Quote from: loplo on August 15, 2012, 02:57:07 PM
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
<hr class="post_separator" />';
in: ./Themes/core/Display.template.php
Any help is appreciated.
anyone?!
Search for // Show the member's signature? It should be just below that section and a little above // Show the lower breadcrumbs.
No joy.
Here's what I have there:
// Show the member's signature?
if (!empty($message['member']['signature']) && empty($options['show_no_signatures']) && $context['signature_enabled'])
echo '
<div class="signature" id="msg_', $message['id'], '_signature">', $message['member']['signature'], '</div>';
echo '
</div>
</div>
</div>';
}
echo '
</form>';
echo '
</div>
<a id="lastPost"></a>';
echo '
<div class="clearfix marginbottom" id="postbuttons_lower">
<div class="nav floatright">', template_button_strip($normal_buttons, 'top'), '</div>
<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="clear">', $context['previous_next'], '</div>
</div>';
// Show the lower breadcrumbs.
Ok, my core theme doesn't have it either. If it helps, here is where it should be in the default theme:
echo '
</div>
</div>
<span class="botslice"><span></span></span>
</div>
';
echo '
<hr class="post_separator" />
</div>';
}
echo '
</form>
</div>
<a id="lastPost"></a>';
With the thanks mod installed, my file looks like this (bear in mind there are several other mods here too, so yours wouldn't look like this)
// Show the member's signature?
if (!empty($message['member']['signature']) && empty($options['show_no_signatures']) && $context['signature_enabled'])
echo '
<div class="signature" id="msg_', $message['id'], '_signature">', $message['member']['signature'], '</div>';
if (!empty($modSettings['ptoup_user_feed_on_signature']))
echo'
<div id="twitter_div">
<ul id="twitter_update_list"></ul></div>
<script type="text/javascript" src="../Themes/default/scripts/blogger.js"></script>
<script text="text/javascript" src="http://twitter.com/statuses/user_timeline/',$message['member']['ptweet']['id'],'.json?callback=twitterCallback2&count=', !empty($modSettings['ptoup_signature_feed_count']) ? $modSettings['ptoup_signature_feed_count'] : '5','"></script>';
echo '
</div>
</div>
<span class="botslice"><span></span></span>
</div>
';
// Show the Thank You list or the link or.... nothing? XD
echo '
<div class="ThankOMatic ', $message['approved'] ? ($message['alternate'] == 0 ? 'windowbg' : 'windowbg2') : 'approvebg', '" style="display: '.($message['thank_you_post']['isThankYouPost'] ? 'block' : 'none').';" id="ThankOMaticID' . $message['id'] . '">
<span class="error" id="ErrorThankOMaticID' . $message['id'] . '"></span>';
// Output the Template for Thank-O-Matic (Normal found in the index.template.php)
// It will fall back into a standard function, if this template_thank_you_post doesn't exists!
if ($message['thank_you_post']['isThankYouPost'])
{
// Mistake? Function not loaded oO.
if (empty($context['call_thank_you_post_func']))
loadThankYouTemplateFunctions();
// Call the correct function =D
$context['call_thank_you_post_func']($message['thank_you_post'], $message['id']);
}
echo '
</div>
<hr class="post_separator" />
</div>';
}
echo '
</form>
</div>
<a id="lastPost"></a>';
// Show the page index... "Pages: [1]".
echo '
<div class="pagesection">
', template_button_strip($normal_buttons, 'right'), '
<div class="pagelinks floatleft">', $txt['pages'], ': ', $context['page_index'], !empty($modSettings['topbottomEnable']) ? $context['menu_separator'] . ' <a href="#top"><strong>' . $txt['go_up'] . '</strong></a>' : '', '</div>
<div class="nextlinks_bottom">', $context['previous_next'], '</div>
</div>';
// Show the lower breadcrumbs.
So with your file you could try inserting the thanks code here (obviously keep a copy of your file for back-up as I'm only guessing)
// Show the member's signature?
if (!empty($message['member']['signature']) && empty($options['show_no_signatures']) && $context['signature_enabled'])
echo '
<div class="signature" id="msg_', $message['id'], '_signature">', $message['member']['signature'], '</div>';
echo '
</div>
</div>
</div>';
<<<-------------HERE------------->>>
}
echo '
</form>';
echo '
</div>
<a id="lastPost"></a>';
echo '
<div class="clearfix marginbottom" id="postbuttons_lower">
<div class="nav floatright">', template_button_strip($normal_buttons, 'top'), '</div>
<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="clear">', $context['previous_next'], '</div>
</div>';
// Show the lower breadcrumbs.
[/quote]
Thanks for the idea.
Next issue is with ./Themes/core/Stats.template.php
I have to find this and replace it.
echo '
<span>', $poster['time_online'], '</span>
</dd>';
}
Unfortunately the code there looks like this:
echo '
<tr>
<td width="60%" valign="top">', $poster['link'], '</td>
<td width="20%" align="', $context['right_to_left'] ? 'right' : 'left', '" valign="top">', $poster['time_online'] > 0 ? '<img src="' . $settings['images_url'] . '/bar.gif" width="' . $poster['time_percent'] . '" height="15" alt="" />' : ' ', '</td>
<td width="20%" align="right" valign="top" nowrap="nowrap">', $poster['time_online'], '</td>
</tr>';
and I have to replace it with:
echo '
<span>', $poster['time_online'], '</span>
</dd>';
}
// Thank-O-Matic Stats
if (!empty($modSettings['thankYouPostStatsEnabled']))
{
echo '
</dl>
<div class="clear"></div>
</div>
<span class="botslice"><span></span></span>
</div>
</div>
</div>
<div class="flow_hidden">
<div id="most_thank_you_receive">
<h3 class="catbg"><span class="left"></span>
<img src="', $settings['images_url'], '/buttons/thank_you_b.png" class="icon" alt="" /> ', $txt['thank_you_post_Top10Receive'], ' <span class="smalltext">(', $txt['thank_you_post_became_display'], ' / ', $txt['thank_you_post_made_display'], ')</span>
</h3>
<div class="windowbg">
<span class="topslice"><span></span></span>
<div class="content">
<dl class="stats">';
foreach ($context['top_ThankOMatic_Receive'] as $poster)
echo '
<dt>', $poster['link'], '</dt>
<dd>', $poster['thank_you_post_became'], '/', $poster['thank_you_post_made'], '</dd>';
echo '
</dl>
<div class="clear"></div>
</div>
<span class="botslice"><span></span></span>
</div>
</div>
<div id="most_thank_you_given">
<h3 class="catbg"><span class="left"></span>
<img src="', $settings['images_url'], '/buttons/thank_you_b.png" class="icon" alt="" /> ', $txt['thank_you_post_Top10Given'], ' <span class="smalltext">(', $txt['thank_you_post_made_display'], ' / ', $txt['thank_you_post_became_display'], ')</span>
</h3>
<div class="windowbg2">
<span class="topslice"><span></span></span>
<div class="content">
<dl class="stats">';
foreach ($context['top_ThankOMatic_Given'] as $poster)
echo '
<dt>', $poster['link'], '</dt>
<dd>', $poster['thank_you_post_made'], '/', $poster['thank_you_post_became'], '</dd>';
}
Donno what to replce now. Damn!
Although it says Find and Replace, all the edit does in effect is it adds the code that begins // Thank-O-Matic Stats after the code that's already there (after the } if you have one), so I'd try just pasting that in ;)
Unfortunately there's no closing }. Dilemma :)
Quote from: loplo on September 18, 2012, 08:50:58 AM
Unfortunately there's no closing }. Dilemma :)
Then if nobody suggests anything better, I'd just stick the code after the
</tr>'; anyway and see if it works ;)
I may be giving away too much here about how I do my manual edits O:) Thing is though, as long as you keep a copy of your original file to hand, if you get a template parse error you can just shove your original back in while you try pasting the code somewhere else. This strategy usually gets me there in the end :)
Thanks! It's working, or at least it's shown. I'll start testing it, to see if it's fully functional. Thanks for your help.
No problem :)
the version 125 works also for SMF 1.1.16 ????
thanks
Hello everyone!
That 's the first time I approach the construction of a forum .. I would say it should not be too bad ... lol
I have 'a problem with this mod: Thank-O-Matic.
Using SMF 2.2 and the version of the mod specifically for this release (3.0).
When you installed all the tests are positive, including those which use the Theme (Extreme Ibz).
The installation appears to be successful .. except that tthere is no signs of Thank-O-Matic anywhere.. zero.. nada...
After the installation should send me back to the configuration pages, but I go back to the main screen.
I tried to do it all using only the basic theme, but the result is' the same.
I do not even see in the configuration panel.
Add that to now I am working in local XAMMP installing on my pc.
There 'some kind soul who could help me?
Thanks in advance
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fs9.imagestime.com%2Fimages.php%2Ft6612_thankomatic.png&hash=d45256c0af226f61867fe1e35c040d327840d41a) (http://www.imagestime.com/view.php/6612_thankomatic.png.html)
Does this work on 2.0.2?
Yes. I have it working on 2 different SMF forums (2.0.2)
Worked on theme 'Classic Yabb 2.0' and 'Default'. Every theme reacts differently though.
Worth installing on a test site first.
Working on a very custom layout and am using this mod to upvote posts.
Just wondering if there is a way to get the "most thanked" post ID from within "Display.template.php". I need to show a link to it in the header (regardless of the page it's on).
Cheers,
Josh
UPDATE: I can do it like this, but don't really like doing loops when there might be a heap of messages
// Count up the thanks and work out if we have a winning post
$bigthx = 0;
foreach($context['thank_you_post'] as $thxmsgid => $thxpost) {
if(is_numeric($thxmsgid)) {
$thisthx = count($thxpost['fulllist']);
if($thisthx > $bigthx) {
$bigthx = $thisthx;
$bigthxid = $thxmsgid;
}
}
}
// $scripturl.'?topic='.$context['current_topic'].'msg'.$bigthxid.'#msg'.$bigthxid
Hi Josh
That SQL query will retrieve the record that has the maximum number of "ThankYous"
I tested that with my phpmyadmin and works fine.
Then you may use the values for displaying Poster Title and construct a link to the thread
`thank_you_post_counter` contains the number of "ThankYous"
Please note that some columns may differ from your `smf_messages` table, due to the various modifications installed. Clear out from SELECT, the columns you do not need.
SELECT `id_msg` , `id_topic` , `id_board` , `poster_time` , `id_member` , `id_msg_modified` , `subject` , `poster_name` , `poster_email` , `poster_ip` , `smileys_enabled` , `modified_time` , `modified_name` , `body` , `icon` , `hiddenOption` , `hiddenValue` , `hiddenInfo` , `thank_you_post` , `thank_you_post_counter` , `approved`
FROM `smf_messages`
ORDER BY thank_you_post_counter DESC
LIMIT 1
Also remember that you may easily display top 5 users Thankyou statistics.
That will increase competition among users to up-vote threads
<?php ssi_thankYouPostTopResived(); ?>
<?php ssi_thankYouPostTopGiven(); ?>
That worked a treat Yiorgos, thanks!
I actually made a mistake in my original method in so much as the url will not work if the message is not on the first page. Do you have any idea how to construct a url to a message without the page section, or a way to get the page number?
- Josh
[EDIT] - ignore that last question - it was just a typo in my code :)
I'm using smf 2.0.2 and I follow instructure to install manual, but how to execute db/install.php on my forum ?
upload the file to your forum root directory and run it.
Using this for quite some time now on 2.02 and works great!
But I have a question from some of my mods. Is it possible to get an "auto reply" when someone hits the ThankYou button?
Because then we can see on the homepage that there is a new message in that topic.
Sounds trivial but on my forum this could be useful. Is this possible, or is there another way to "trigger" the new message in a topic icon...
Thanks in advance ;)
Quote from: rizkirprod on October 27, 2012, 01:29:58 AM
I'm using smf 2.0.2 and I follow instructure to install manual, but how to execute db/install.php on my forum ?
Quoteupload the file to your forum root directory and run it.
Out of curiosity. How do you "run it"?
Try to move it in your forums root directory and use your web Browser to open:
http://www.yoursite.com/yourforum/install.php
Then delete that file.
freakydeaky, have you copied the image files into your custom theme?
Hi all,
I have successfully installed this on my SMF 2.0.2. It works in all my themes once i had installed the images etc.
Now my question is:
How can I move the 'Thank You' button from the right hand side of the 'Remove' button to the left hand side of the 'Quote' button.
I'm guessing it's in the Display.template.php file but as there are quite a few edits in there I though I'd ask.
As always thanks for any help.
Regards
Dave
Hello all. I've recently installed this mod and the functionality appears to be working fine. However, some, though not all users are telling me the star icon doesn't show up. I've seen it missing, like, once, but every other machine I've tried it on it works finel.
Honestly, I don't have any idea what to check. Any ideas? Thanks. :)
EDIT: One of the two members who are not seeing it only not see it in Chrome, but it works fine in IE. I've tried it on four different boxes and haven't had trouble.
Quote from: Rivet on November 30, 2012, 03:22:03 PM
Hello all. I've recently installed this mod and the functionality appears to be working fine. However, some, though not all users are telling me the star icon doesn't show up. I've seen it missing, like, once, but every other machine I've tried it on it works finel.
Honestly, I don't have any idea what to check. Any ideas? Thanks. :)
EDIT: One of the two members who are not seeing it only not see it in Chrome, but it works fine in IE. I've tried it on four different boxes and haven't had trouble.
Hi
Are they using a different theme to you? If so then you need to ensure that the image has been copied to each themes image folder
I use different theme, but its theme use all from default theme, only index.themplate.php, images and css are diferent. Default theme has this problem too. ;)
Quote from: davejo on December 01, 2012, 03:21:55 AM
Quote from: Rivet on November 30, 2012, 03:22:03 PM
Hello all. I've recently installed this mod and the functionality appears to be working fine. However, some, though not all users are telling me the star icon doesn't show up. I've seen it missing, like, once, but every other machine I've tried it on it works finel.
Honestly, I don't have any idea what to check. Any ideas? Thanks. :)
EDIT: One of the two members who are not seeing it only not see it in Chrome, but it works fine in IE. I've tried it on four different boxes and haven't had trouble.
Hi
Are they using a different theme to you? If so then you need to ensure that the image has been copied to each themes image folder
Thanks for the note. I know for a fact that one of the two is definitely using the same theme. The other I'm not positive, but 99% sure he is.
Same issue than Mr Nicotine here : when I use "Repair and optimize Thank-O-Matic tables" I get an error about my database.
Erreur de syntaxe pr�s de ':id_msgs)
LIMIT 1' � la ligne 3
Fichier: /public_html/forum/Sources/ThankYouPost-Maintaince.php
Ligne: 792
I test on fresh smf 2.0.2 install with no mod and original thank-o-tomatic mod, impossible to run Repair and optimize Thank-O-Matic tables
Also maybe a Top Ranking of users with the most received Thank You.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.rlgf.info%2F16.jpg&hash=dc1425e302a1f67c50bf3fc6418b51d6ae0c0fea)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.rlgf.info%2F13.jpg&hash=89b6bd1f4dba8e2612e1b48ca674f32875ef844f)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.sbqg.info%2F19.jpg&hash=89f25dba014d830dd4240c0b33d6c05e813258df)
i having kinda hard time with this mod
i installed everything and follow the rules to place some codes manually but after doing everything. i only see the "Thank You" ( received and given) on my profile side. i am yet to SEE THE THANK YOU BUTTON???
did i made any mistake(s)
Did you install it into your theme? Did you set the permissions for folks to use it? Are you using default board profiles?
i installed it on my theme
this is how everything look from a different account in my forum
(https://lh6.googleusercontent.com/-rLz6Zyc7-wQ/ULzhP8mvNGI/AAAAAAAAAVw/GrTmTiP0Dz4/s962/Capture.PNG)
i couldn't access the THANK YOU button
Quote from: johnpaul2k2 on December 03, 2012, 12:30:27 PM
i installed it on my theme
Did you tick the boards that you want it to appear on? They're in the mods configuration panel. Also, if you're using board profiles like "no polls" (etc) the buttons will not appear.
i have done it. working now. i went to edit some part of PERMISSION :P
THANKS ALOT
Lurking for a while, Admin for SMF sites for a while...perhaps a easy answer for a simple question:
How do I update the text within the ThankOMaticEnglish.xml to display what I've changed it to? I wanted to fix the text for the "Follow members gave a thank to your post" to say either "Fellow members gave a thank to your post" or "The following members gave a thanks to your post". But when I edit it on my server, it doesn't reflect the change. Am I forgetting to edit something else? Am I suppose to uninstall the Mod and re-install (which I've tried and get an error)?
Thanks for any help anyone can provide.
They're not in that file (that file is part of the installation, though in theory you could repackage the mod with your changes in).
The file you need to change is in Themes/default/languages and is called Modifications.{english}.php or index.{english}.php (<--- that's the one for the string you want to change)
Quote from: Shambles™ on December 08, 2012, 12:34:39 PM
They're not in that file (that file is part of the installation, though in theory you could repackage the mod with your changes in).
The file you need to change is in Themes/default/languages and is called Modifications.{english}.php or index.{english}.php (<--- that's the one for the string you want to change)
Awesome, thanks! That was it and was easy! Would you know why the images for the Mod would drop off all of a sudden, installed it yesterday. Forum version 2.0.1
Quote from: jobam on October 11, 2012, 01:18:20 PM
Hello everyone!
That 's the first time I approach the construction of a forum .. I would say it should not be too bad ... lol
I have 'a problem with this mod: Thank-O-Matic.
Using SMF 2.2 and the version of the mod specifically for this release (3.0).
When you installed all the tests are positive, including those which use the Theme (Extreme Ibz).
The installation appears to be successful .. except that tthere is no signs of Thank-O-Matic anywhere.. zero.. nada...
After the installation should send me back to the configuration pages, but I go back to the main screen.
I tried to do it all using only the basic theme, but the result is' the same.
I do not even see in the configuration panel.
Add that to now I am working in local XAMMP installing on my pc.
There 'some kind soul who could help me?
Thanks in advance
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fs9.imagestime.com%2Fimages.php%2Ft6612_thankomatic.png&hash=d45256c0af226f61867fe1e35c040d327840d41a) (http://www.imagestime.com/view.php/6612_thankomatic.png.html)
Hi. I have exactly the same problem at my local installation with wampserver.
I tried default theme and also a second installation of my forum, but seems the problem is same as above. Everything seems fine at installation but afterwards you can't see the thank-o-matic at administration panel.
Is there any solution about this problem?
I use the last version of smf.
<hr class="post_separator" />';
it is showing this error in my forum's theme 'test failed'. And i even dint find the above code in display.template.php.
It is saying to 'add before':
';
// Show the Thank You list or the link or.... nothing? XD
echo '
<div class="ThankOMatic ', $message['approved'] ? ($message['alternate'] == 0 ? 'windowbg' : 'windowbg2') : 'approvebg', '" style="display: '.($message['thank_you_post']['isThankYouPost'] ? 'block' : 'none').';" id="ThankOMaticID' . $message['id'] . '">
<span class="error" id="ErrorThankOMaticID' . $message['id'] . '"></span>';
// Output the Template for Thank-O-Matic (Normal found in the index.template.php)
// It will fall back into a standard function, if this template_thank_you_post doesn't exists!
if ($message['thank_you_post']['isThankYouPost'])
{
// Mistake? Function not loaded oO.
if (empty($context['call_thank_you_post_func']))
loadThankYouTemplateFunctions();
// Call the correct function =D
$context['call_thank_you_post_func']($message['thank_you_post'], $message['id']);
}
echo '
</div>
@Jack001
<div class="bottom_gradient">
';
// Show the Thank You list or the link or.... nothing? XD
echo '
<div class="ThankOMatic ', $message['approved'] ? ($message['alternate'] == 0 ? 'windowbg' : 'windowbg2') : 'approvebg', '" style="display: '.($message['thank_you_post']['isThankYouPost'] ? 'block' : 'none').';" id="ThankOMaticID' . $message['id'] . '">
<span class="error" id="ErrorThankOMaticID' . $message['id'] . '"></span>';
// Output the Template for Thank-O-Matic (Normal found in the index.template.php)
// It will fall back into a standard function, if this template_thank_you_post doesn't exists!
if ($message['thank_you_post']['isThankYouPost'])
{
// Mistake? Function not loaded oO.
if (empty($context['call_thank_you_post_func']))
loadThankYouTemplateFunctions();
// Call the correct function =D
$context['call_thank_you_post_func']($message['thank_you_post'], $message['id']);
}
echo '
</div>
I use this mod on smf 2.0.3 and get this error
" The package you are trying to download or install is either corrupt or not compatible with this version of SMF. "
Any suggestion for me, thanks?
Use emulate...
how can i design my "THANK YOU"??????
the simple "thank you" there is kinda boring :(
I'm receiving this error in my log:
http://<mysitename>/forum/index.php?action=profile;area=showThankYouPosts;sa=messages_given;u=59
Database Error: Column 'id_msg' in where clause is ambiguous
File: /forum/Sources/Profile-ThankYouPost.php
Line: 199
What could be causing this?
Smf 2.0.3 updated ;)
Regards enik...
thanks for the mod...is there a way to show the username who gave the thank you in a post???
Quote
thanks for the mod...is there a way to show the username who gave the thank you in a post???
Doesn't yours?
Take a look at the screenies on the mod download page.
no username...just a member gave a thank you??? any idea why?
update...was a setting issue..got it...thanks
I'm having a lot of trouble with this mod, none of the integration hooks seem to be working. I started a post here:
http://www.simplemachines.org/community/index.php?topic=494967.msg3470527#msg3470527
I got the admin page working by manually editing Admin.php and adding
'thankyoupostsettings' => array(
'label' => $txt['thankyouposttitle'],
'file' => 'ManageThankYouPost.php',
'function' => 'ManageThankYouPost',
'icon' => 'thank_you_settings.png',
'subsections' => array(
'general' => array($txt['general_settings']),
'layout' => array($txt['mods_cat_layout']),
'permission' => array($txt['edit_permissions'], 'enabled' => allowedTo('manage_permissions')),
'boards' => array($txt['admin_boards']),
'modrelated' => array($txt['thxmodification']),
),
),
But the maintenance page, the profile page link area=showThankYouPosts
both dont work.
I get no errors while installing. After installation I check all the files and the edits are in place. The extracted files are in place and have proper permissions. The hooks are in the settings variable in the database. What is missing?
Quote from: 4LP3RUZ1 on January 14, 2013, 02:05:25 PM
...What is missing?
Did you configure/tick the boards that are to have the thank-o-matic feature enabled?
Yes.
I did get everything sorted out, but by hacks (editing Admin.php and Profile.php to hardcode the hooks into the source code), not solving the real problem. I'm wondering what the actual problem is.
how to uninstall this mod manually so that i can have a clean install. when im trying to uninstall in the package manager it has an error
edit:
i just edited SSI.php according to the parse for 2.0.3 and thank you button appears on the boards but what shoul i edit so that i can access the admin panel for this mod. im using black n black theme
Hi, i use RTL forum, but icon shown bad :-[
how can fix this problem?
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fupcity.ir%2Fimages%2F15629779750968444765.jpg&hash=1d436f3f318816d8c5c61d852e2a87b13d126fe9)
No body home? :(
no one can help to fix this?
Looks like a CSS issue.
Look at the ul.li.img{} class for that section. Perhaps add some padding or text alignment?
Can you share a link to this page?
Here is my css for Thank-O-Matic
/* This are the the Thank-O-Matic Buttons START */
ul.quickbuttons li.thank_you_button
{
background: url(../images/buttons/thank_you.png) no-repeat;
}
ul.quickbuttons li.thank_you_open_button
{
background: url(../images/buttons/thank_you_open.png) no-repeat;
}
ul.quickbuttons li.thank_you_lock_button
{
background: url('../images/buttons/thank_you_lock.png') no-repeat;
}
ul.quickbuttons li.thank_you_delete_button
{
background: url(../images/buttons/thank_you_delete.png) no-repeat;
}
/* This are the the Thank-O-Matic Buttons END */
/* Styles for the Thank-O-Matic sections.
------------------------------------------------- */
.ThankOMatic
{
margin: 0.5em 0.5em 0.5em 0.5em;
padding: 0.2em 0.2em 0.2em 0.2em;
}
.ThankOMatic #thank_you_start_text
{
font-family: Tahoma; color: #FF00FF; font-size: 11px}
.ThankOMatic #thank_you_list
{
font-family: Tahoma;
padding-left: 0.5em;
padding-top: 0.2em; font-size:11px
}
.ThankOMatic #thank_you_list_link
{
}
.ThankOMatic #thank_you_lock_text
{
font-style: italic;
}
#most_thank_you_receive
{
float:left;
width: 49.5%;
}
#most_thank_you_given
{
float: right;
width: 49.5%;
}
.ThankOMatic
{
clear: both;
margin: 0.2em 0 0.5em;
padding: 0;
}
.poster_thank {
min-height: 60px;
height: auto !important;
padding-top: 5px;
padding-bottom: 5px;
}
I can't figure it out, what's the problem
i add padding and even margin or float or.. but not working
On my forum I treat all icons in that section under
ul.quickbuttons li a {
padding: 0 0 0 20px;
display: block;
height: 20px;
line-height: 18px;
float: left;
}
Adjusting the padding will increase the distance between icons. Try padding: 0 0 0 25px;
The CSS you quoted is purely for the background images (icons).
Thanks but now working, i even set padding to 60 and higher but no distance created.
anyway,
i set padding for these codes and distance between icon and text created but one problem left, the problem is icon goes left side that should go to right, when i set padding right or change padding left nothing change, any idea?
screen shot:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fupcity.ir%2Fimages%2F57757032584782130758.jpg&hash=2ee281d370bba5bcda69b33c017af1b79e7446d6)
ul.quickbuttons li.thank_you_button
{
background: url(../images/buttons/thank_you.png) no-repeat; padding-left:25px;
}
ul.quickbuttons li.thank_you_open_button
{
background: url(../images/buttons/thank_you_open.png) no-repeat; padding-left:25px;
}
ul.quickbuttons li.thank_you_lock_button
{
background: url('../images/buttons/thank_you_lock.png') no-repeat; padding-left:25px;
}
ul.quickbuttons li.thank_you_delete_button
{
background: url(../images/buttons/thank_you_delete.png) no-repeat; padding-left:25px;
}
EDIT***: buddy, i use background-position for each button, and it works, finally. thanks for your help
Hi
just installed this on my site
i had the likes mod installed but deleted it as this looked better.
however it's not showing on the posts
i have changed the settings in permissions and enabled the mod etc
i have looked in the logs and there seems to be loads of errors for it but mainly in display
any ideas pls
Quote from: Adult-Fun on January 25, 2013, 06:14:13 AM
i have looked in the logs and there seems to be loads of errors for it but mainly in display
Can we see a small sample of those errors?
Also, in the configuration section, did you tick the boards in which you want the feature to appear?
i actually removed the mod as it kept throwing errors up
but here are some errors
http://removed/index.php?action=profile;area=forumprofile;u=8;saveWrong value type sent to the database. Integer expected. (p_thank_you_post_became)
Function: updateMemberDataFile: /home/afun/public_html/Sources/Subs.php
Line: 556
Today at 11:27:44 AM
47d96034e402b2eb13ae2198da5ce0b5
Type of error: Undefined
http://removed/index.php?action=profile;area=forumprofile;u=88: Undefined index: thank_you_post_madeFile: /home/afun/public_html/Sources/Subs-ThankYou.php(116) : runtime-created function
Line: 5
Today at 11:27:44 AM
47d96034e402b2eb13ae2198da5ce0b5
Type of error: Undefined
http://removed/index.php?action=profile;area=forumprofile;u=88: Undefined index: thank_you_post_becameFile: /home/afun/public_html/Sources/Subs-ThankYou.php(116) : runtime-created function
Line: 4
Today at 11:27:40 AM
47d96034e402b2eb13ae2198da5ce0b5
Type of error: Undefined
http://removed/index.php?action=profile;u=88: Undefined index: thank_you_postFile: /home/afun/public_html/Themes/default/languages/Who.english.php (summary sub template - eval?)
Line: 320
Today at 11:27:40 AM
47d96034e402b2eb13ae2198da5ce0b5
Type of error: Undefined
http://removed/index.php?action=profile;u=88: Undefined index: thank_you_postFile: /home/afun/public_html/Themes/default/languages/Who.english.php (summary sub template - eval?)
Line: 318
Today at 11:04:08 AM
c409cb75fc8d714751af255dd2d1ba0c
Type of error: Undefined
http://removed/index.php?topic=7.08: Undefined index: thank_you_postFile: /home/afun/public_html/Themes/default/languages/Post.english.php (main sub template - eval?)
Line: 386
Today at 11:04:08 AM
c409cb75fc8d714751af255dd2d1ba0c
Type of error: Undefined
http://removed/index.php?topic=7.08: Undefined index: thank_you_postFile: /home/afun/public_html/Themes/default/languages/Post.english.php (main sub template - eval?)
Line: 381
Today at 11:04:08 AM
c409cb75fc8d714751af255dd2d1ba0c
Type of error: Undefined
http://removed/index.php?topic=7.08: Undefined index: thank_you_post_enableFile: /home/afun/public_html/Sources/Display.php
Line: 1065
Today at 11:04:08 AM
c409cb75fc8d714751af255dd2d1ba0c
Type of error: Undefined
http://removed/index.php?topic=7.08: Undefined index: thank_you_post_enableFile: /home/afun/public_html/Sources/Display.php
Line: 1001
Links to adult material removed in accordance with registration agreement - Iris.
I need the manually installtion instruction for SMF 2.0.1. Where is it? When I select version 2.0.1 parse from the download page, it said "Sorry, but this modification does not appear to be compatible with the selected version." The author said it's compatible with 2.0.1 right???
well... you need to update to 2.0.3 as soon as possible anyway...
Quote from: pedi on January 23, 2013, 06:14:32 PM
EDIT***: buddy, i use background-position for each button, and it works, finally. thanks for your help
Good to hear :D
Hello we have looked to the mod is big, the team made the decision to make it smaller and more powerful, just be a little patient have much work every day ;)
Ahhhh Smf 2.0.4 updated :P
Regards enik...
Hello ADK Maintaince error
QuoteOperand should contain 1 column(s)
ไฟล์: C:\AppServ\www\club\Sources\ThankYouPost-Maintaince.php
บรรทัด: 603
Question, when trying to update I'm getting an info that the latest version is installed.
Is there a way to make an upgrade package?
Hello Adk-Team
Board configured to Reply only
Click thank-o-magic does not
Thank ;)
I have this installed on my site and its works perfectly thank you ;)
I have a feature request.
Is it possible to add the option to restrict the amount of 'Thank You's that a member can use in 24hrs please?
I know I can change the time between presses via the anti spam function, but that option does not help me to do what I want.
Thanks
i just made this working on my forum. the thank you button is there, and it adds to your profile everytime you click thank you but the problem is i cant see who gave thank you at the bottom of a reply/post. im using black n black theme.
i have noticed that the thank you points was reset to zero, i have a backup of my smf iwant to restore it, is there any possibility that the thank you points only will be restored not the whole forum?
decided it was time to pay attention to my error reports :D
this one has been bugging me for a while now..
8: Undefined index: thank_you_post_locked
File: /home/vrforum/public_html/test/Sources/Display.php
Line: 538
any ideas?
Well, look at display.php, around line 538 and see what the missing index actually is (if it's a text string, then it's easy... define the text string. If it's part of an array, then you need to figure out why that array is not getting initialized
yeh, did that, got myself lost.. :D
its the first line of this wee lump
// Some Thanky You things ;)
$context['is_thank_you_post_locked'] = $topicinfo['thank_you_post_locked'];
$context['thank_you_lock_allowed'] = !empty($board_info['thank_you_post_enable']) && !$user_info['is_guest'] && (allowedTo('thank_you_post_lock_all_any') || (allowedTo('thank_you_post_lock_all_own') && $user_info['id'] == $topicinfo['id_member_started']));
$context['thank_you_post_enable'] = $board_info['thank_you_post_enable'];
$context['thank_you_post_unlock_all'] = false;
Ive gone through everything the mod does, and thank you post locked appears to have been defined..
im on a quest on my new theme build, and so far ive cleared every error bar two, but this is racking up about 2000 an hour..
yes, this would be loaded with every topic view...
and, from the error, it would seem that thank_you_post_locked is NOT set at the time of this call
please where can i find the codes for editing both the THANK font size, color and looks at Large
not sure... but my suggestion is
- use firefox + firebug.
Quote from: Kindred on March 09, 2013, 06:58:03 AM
not sure... but my suggestion is
- use firefox + firebug.
yes i just installed it but CAN I DO ANY EDIT FROM THERE??
no.... but that tells you what css name or id and in what css file to change the css
Hello!
I hope someone can help me.
I have a SMF 2.0.4 with Spanish UTF8.
I just installed Thank-O-Matic v.3.0 without errors.
When I went to try it on a post, by clicking on Thanks given me the following error:
"Illegal mix of collations (utf8_unicode_ci, IMPLICIT) and (utf8_general_ci, IMPLICIT) for operation 'IFNULL'
File: / home/u963675897/public_html/Sources/ThankYouPost.php
Line: 616 "
And now every time I go into the post gives the same error.
Thank you.
Hola!
Espero que alguien me pueda ayudar.
Tengo un SMF 2.0.4 con español UTF8.
Acabo de instalar Thank-O-Matic v.3.0 without errors.
Cuando lo he ido a probarlo en un post, al hacer click en Thanks me ha dado el siguiente error:
"Illegal mix of collations (utf8_unicode_ci,IMPLICIT) and (utf8_general_ci,IMPLICIT) for operation 'ifnull'
Archivo: /home/u963675897/public_html/Sources/ThankYouPost.php
Línea: 616"
Y ahora cada vez que entro en el post da el mismo error.
Gracias.
Guys ive installed thankomatic and it went on the forum just fine. ive noticed the thank you button is only showing for admin and does not show for ordinary members. Is there any way to change this.
You need to give other users permissions to give thanks: admin> permissions> regular members. The set of permissions for Thank-o-matic will be somewhere near the bottom of the list.
Quote from: Sabrinova on March 17, 2013, 12:59:47 PM
You need to give other users permissions to give thanks: admin> permissions> regular members. The set of permissions for Thank-o-matic will be somewhere near the bottom of the list.
yes ive checked regular members and global moderators but still no thank you button for regular members.
Ok, another thought, have you enabled the mod in the board settings for each board?
Are regular members seeing nothing to thank with? No "thank you" text to click either?
Quote from: Sabrinova on March 17, 2013, 01:36:12 PM
Ok, another thought, have you enabled the mod in the board settings for each board?
Are regular members seeing nothing to thank with? No "thank you" text to click either?
yes members see no thank you button at all. im happy to let anyone access the forum to have a look.
and is everyone using the same theme?
Quote from: Kindred on March 17, 2013, 02:43:07 PM
and is everyone using the same theme?
yes everyones using the default forum theme
then your permissions are set incorrectly.
Quote from: Kindred on March 17, 2013, 03:00:00 PM
then your permissions are set incorrectly.
im just starting out so im trying to pick this up as i go. would you mind having a look if i send details by pm.
Quote from: Kindred on March 08, 2013, 07:45:37 PM
yes, this would be loaded with every topic view...
and, from the error, it would seem that thank_you_post_locked is NOT set at the time of this call
this ones doing my head in. still cant sort out the thank_you_post_locked error. :hb
im trying to have a fresh install on this but i got an 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.
Installed mod
Activity Bar 1.1
Activity in Profile 1.1
BBC User Info 2.0
BBC [you] Tag 1.3
VigLink 1.3
Google Analytics Code 1.4
Tapatalk SMF 2.0 RC5/Final Plugin 3.5.0
Fake Online Time 2.0
SA Facebook 2.0.2
Add Join Date to Post 1.0
Regbar Warning 1.0.5
SMF Staff Page 1.7
Aeva Media 1.4w
Add IP2Location to Track IP 1.3
Ultimate Profile 0.9.1
SimplePortal 2.3.5
Welcome Topic Mod 2.1
Forum Firewall 1.1.5
Ad Managment 3.0.1
http://wiki.simplemachines.org/smf/Error_in_mod_installation
My English is not so good ... sorry! You can also set the button down? If so how can this be done?
Greeting Acer1963
Quote from: Simple Site Designs on October 17, 2012, 09:08:58 PM
Working on a very custom layout and am using this mod to upvote posts.
Just wondering if there is a way to get the "most thanked" post ID from within "Display.template.php". I need to show a link to it in the header (regardless of the page it's on).
Cheers,
Josh
UPDATE: I can do it like this, but don't really like doing loops when there might be a heap of messages
// Count up the thanks and work out if we have a winning post
$bigthx = 0;
foreach($context['thank_you_post'] as $thxmsgid => $thxpost) {
if(is_numeric($thxmsgid)) {
$thisthx = count($thxpost['fulllist']);
if($thisthx > $bigthx) {
$bigthx = $thisthx;
$bigthxid = $thxmsgid;
}
}
}
// $scripturl.'?topic='.$context['current_topic'].'msg'.$bigthxid.'#msg'.$bigthxid
Quote from: Yiorgos on October 18, 2012, 03:35:20 PM
Hi Josh
That SQL query will retrieve the record that has the maximum number of "ThankYous"
I tested that with my phpmyadmin and works fine.
Then you may use the values for displaying Poster Title and construct a link to the thread
`thank_you_post_counter` contains the number of "ThankYous"
Please note that some columns may differ from your `smf_messages` table, due to the various modifications installed. Clear out from SELECT, the columns you do not need.
SELECT `id_msg` , `id_topic` , `id_board` , `poster_time` , `id_member` , `id_msg_modified` , `subject` , `poster_name` , `poster_email` , `poster_ip` , `smileys_enabled` , `modified_time` , `modified_name` , `body` , `icon` , `hiddenOption` , `hiddenValue` , `hiddenInfo` , `thank_you_post` , `thank_you_post_counter` , `approved`
FROM `smf_messages`
ORDER BY thank_you_post_counter DESC
LIMIT 1
Also remember that you may easily display top 5 users Thankyou statistics.
That will increase competition among users to up-vote threads
<?php ssi_thankYouPostTopResived(); ?>
<?php ssi_thankYouPostTopGiven(); ?>
I want to show most thanked post but i didnt get how to add in my display template. Where i have to put sql queries exactly ?
Hi Skaty,
SQL/Data queries go in the source files (not the presentation templates). In the case of this one I added this:
// Get info id of the most thanked message.
$request = $smcFunc['db_query']('', '
SELECT ms.id_msg
FROM {db_prefix}messages AS ms
WHERE ms.id_topic = {int:current_topic}
AND ms.thank_you_post_counter > 0
ORDER BY ms.thank_you_post_counter DESC
LIMIT 1',
array(
'current_topic' => $topic,
)
);
if ($smcFunc['db_num_rows']($request) == 1) {
$topicinfo['thank_you_post_most'] = $smcFunc['db_fetch_assoc']($request);
$topicinfo['thank_you_post_most'] = $topicinfo['thank_you_post_most']['id_msg'];
$smcFunc['db_free_result']($request);
} else {
$topicinfo['thank_you_post_most'] = false;
}
directly above the line (around line 250):
// Add up unapproved replies to get real number of replies...
In the source file: Display.php
Hope that helps.
Quote from: Simple Site Designs on April 16, 2013, 01:27:14 AM
Hi Skaty,
SQL/Data queries go in the source files (not the presentation templates). In the case of this one I added this:
// Get info id of the most thanked message.
$request = $smcFunc['db_query']('', '
SELECT ms.id_msg
FROM {db_prefix}messages AS ms
WHERE ms.id_topic = {int:current_topic}
AND ms.thank_you_post_counter > 0
ORDER BY ms.thank_you_post_counter DESC
LIMIT 1',
array(
'current_topic' => $topic,
)
);
if ($smcFunc['db_num_rows']($request) == 1) {
$topicinfo['thank_you_post_most'] = $smcFunc['db_fetch_assoc']($request);
$topicinfo['thank_you_post_most'] = $topicinfo['thank_you_post_most']['id_msg'];
$smcFunc['db_free_result']($request);
} else {
$topicinfo['thank_you_post_most'] = false;
}
directly above the line (around line 250):
// Add up unapproved replies to get real number of replies...
In the source file: Display.php
Hope that helps.
Thank you. I added this code in display.php but i think there have to be something for display.template.com. I added the codes abode, but can't see the most thanked topic or post. There is missing something :(
// Count up the thanks and work out if we have a winning post
$bigthx = 0;
foreach($context['thank_you_post'] as $thxmsgid => $thxpost) {
if(is_numeric($thxmsgid)) {
$thisthx = count($thxpost['fulllist']);
if($thisthx > $bigthx) {
$bigthx = $thisthx;
$bigthxid = $thxmsgid;
}
}
}
// $scripturl.'?topic='.$context['current_topic'].'msg'.$bigthxid.'#msg'.$bigthxid
I get a small bug and error logs which I have traced back to the permission system.
Heres the deal;
The error message is as follows:
http://www.****.com/index.php?action=profile
8: Undefined index: label
File: /www/toyotaclubtr.com/public_html/Themes/default/GenericMenu.template.php
Line: 180
Now this only happened with users on 0 messages, which got me thinking that it was a permission problem.
What happens is, my 0 message users DON'T have permissions to view OTHER user profiles, only their own.
If a 0 message user goes into his profile screen, the ThankOMatic menu appears ($txt['thankyoutitle']), however the subsection menu does not appear. Its empty.
If I set the permission to view other profiles to ON, then the menu appears and I get no error message in the log.
So,
The question is. How can I get rid of the error without changing the permissions? (I don't want 0 message users looking at other user profiles...)
The version currently uploaded reports only the changes to the header of the Memberlist.template.php table and not the change needed to the table itself.
Updater seems to fail on multiple pages. Attempted to install it manually but found that the source files are not at all sync to the instructions..
That is hardly the fault of the mod...
http://wiki.simplemachines.org/smf/Error_in_mod_installation
the mod installs just fine on a default SMF install. If you have made other modifications already, then there is a chance any additional mod will not be able to auto-install and you will have to manually apply the changes
Quote from: Kindred on May 08, 2013, 07:34:41 AM
That is hardly the fault of the mod...
http://wiki.simplemachines.org/smf/Error_in_mod_installation
the mod installs just fine on a default SMF install. If you have made other modifications already, then there is a chance any additional mod will not be able to auto-install and you will have to manually apply the changes
I'm aware.
I've done attempts to install it manually however:
echo '
<span>', $poster['time_online'], '</span>
</dd>';
}
This is for example non-existant in my code.
yup... and if you have mods which have alreayd altered the target code or custom themes which used a different style of coding, then you have ot start using human intuition on where it should actually be added....
Hi.
I am getting this error during the installation.
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.
Code: (Find) [Select]
mem.time_format, mem.secret_question, mem.is_activated, mem.additional_groups, mem.smiley_set, mem.show_online,
mem.total_time_logged_in, mem.id_post_group, mem.notify_announcements, mem.notify_regularity, mem.notify_send_body,
Code: (Replace) [Select]
mem.time_format, mem.secret_question, mem.is_activated, mem.additional_groups, mem.smiley_set, mem.show_online,
mem.total_time_logged_in, mem.id_post_group, mem.notify_announcements, mem.notify_regularity, mem.notify_send_body,
mem.thank_you_post_made, mem.thank_you_post_became, last_thank_you_time,
This error seems to be at the file ./Sources/Load.php
What do I need to do to correct this?
Error in your forums error log?
Which mods if any are installed?
Nop, I don't have any errors at my log. This error comes when I try to install the thankomatic mod.
These are the mods I have already installed at my forum:
1. Drafts (for SMF 2.0 / SMF 1.1) 2.0.1
2. Simple ImageShack 3.1.3
3. Greeklish to Greek 1.01
4. Aeva Media 1.4w
5. SMF 2.0.4 Update 1.0
6. Tapatalk SMF 2.0 RC5/Final Plugin 3.4.0
7. Custom View of Attachments 0.9
8. Highslide 4 SMF 0.8.1
9. New Hooks 0.1
10. SMF 2.0.3 Update 1.0
11. InLine Attachments 1.2.1
12. Fancy Features 1.4
13. Watermark.light 1.5
14. Resize Attached Images 2.4.1
15. Adk Snow Effect 2.0
16. Join date and Location in Posts 1.3 [
17. Allow Access while in Maintenance Mode 1.2
18. Ad Managment 3.0.1
19. TinyPortal 1.107
Ok I think the problem is that the aewa has changed these lines so the code at my load.php looks like this:
mem.time_format, mem.secret_question, mem.aeva_items, mem.aeva_comments, mem.is_activated, mem.additional_groups, mem.smiley_set, mem.show_online,
mem.total_time_logged_in, mem.id_post_group, mem.notify_announcements, mem.notify_regularity, mem.notify_send_body,
Should I continue with the installation and just go and add the new code after the installation, to look like this afterwards?
mem.time_format, mem.secret_question, mem.aeva_items, mem.aeva_comments, mem.is_activated, mem.additional_groups, mem.smiley_set, mem.show_online,
mem.total_time_logged_in, mem.id_post_group, mem.notify_announcements, mem.notify_regularity, mem.notify_send_body,
mem.thank_you_post_made, mem.thank_you_post_became, last_thank_you_time,
Edit: I see there are also 5 errors at the core theme as it says, but I don't use this theme, so I have leave it unchecked. Could this affect the function of the mod?
At the custom theme I use, there are not errors, as that uses the default theme.
/me is not a code expert
No harm in trying eh?
But do a BACK UP first.
Old Fossil, Arvacon is not a code expert too! ;D
But I have already made a backup and I finally did a try.
It seems everything installed correctly and I can see the admin thankomatic panel now.
I did also that correction and we will see.
One tip only: I crossed my fingers during the installation! :P
Check your forums error log also.
Ok, my error log shows nothing, but when I try to access the topics, now the forum disappears and I get this error at a white screen!!!
Oh no... :(
QuoteTemplate Parse Error!
There 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 T_ELSEIF
First, read the wiki. It explains what that error message means and ow to work around it (hint:manually installing the bits that failed)
Second, no.. It you don't have the core theme installed or used, it won't matter. Actually if you completely delete it, you will be better off.
Third, it would appear that you had more than one failure and that yu need to manually do more... Specifically in display.template.php
I didn't note any other error at the installation, except from the display.template.php files that they had to do with the core theme.
What can I do now to repair this, except from restore the whole forum? :-[
Edit: I pushed the uninstall button at the thankomatic and it says that all the changes at the load.php file are "test failed".
Why now are all failed, when before it was just one (that I corrected it manually)?
Edit2: I didn't uninstall it yet, I have cancel it.
Ok there is something really weird here..
I tried find the changes that failed at testing, but it seems the thankomatic has not touched this file finally, as I can not find any change, except from the only change I did manually.
Isn't it strange? :o
Edit: I uninstalled it finally and now the forum works fine again.
I took a long screenshot, I will try to upload it here, to see the errors that says before you install it.
Try to zoom in and scroll down to see the details..
Update: I manually did all the changes of the load.php file and now I don't get any error at that field.
Should I do any other manual changes as you see from the picture, or am I ready to go?
Is there any possibility the carbonate theme to be based by the core theme?
As I remember this was not...
I finally see now an error at the log file, every time I try to open a topic.
I didn't uninstall the mod again, so I try to figure out what is happening.
As I see from the error code, this has to do with the line 681 of the load.php file.
I took a screenshot and hope you can find something from this, as I can't see what's wrong. ???
Edit: I tried to used also the default curve theme, but I get the same error.
Quotehttp://www.xxxxxx.gr/index.php?/topic,9.0.html
8: Undefined index: redirect
File: /home/xxxxxxxx/www/Sources/Load.php
Line: 681
Edit2: The forum can work with core theme, but not with the default or my custom one, and it still gives the same error at the error logs.
Good morning.
Can someone help me with this problem please?
I feel hopeless now.. :(
My members would like this mod, they have been asking this to me so much.
Please someone? :'(
Can we see the $request = $smcFunc['db_query']('', ' block of code from around 40 lines before that which you posted in your screenie?
Copy and paste it here between [code] and [/code] tags to make it easier to read.
Hi friend.
Is this the code you ask?
// Is the member data cached?
if (empty($modSettings['cache_enable']) || $modSettings['cache_enable'] < 2 || ($user_settings = cache_get_data('user_settings-' . $id_member, 60)) == null)
{
$request = $smcFunc['db_query']('', '
SELECT mem.*, IFNULL(a.id_attach, 0) AS id_attach, a.filename, a.attachment_type
FROM {db_prefix}members AS mem
LEFT JOIN {db_prefix}attachments AS a ON (a.id_member = {int:id_member})
WHERE mem.id_member = {int:id_member}
LIMIT 1',
array(
'id_member' => $id_member,
)
);
$user_settings = $smcFunc['db_fetch_assoc']($request);
$smcFunc['db_free_result']($request);
if (!empty($modSettings['cache_enable']) && $modSettings['cache_enable'] >= 2)
cache_put_data('user_settings-' . $id_member, $user_settings, 60);
}
Oups, sorry, that was wrong code.
Here is the right one
if (empty($temp))
{
$request = $smcFunc['db_query']('', '
SELECT
c.id_cat, b.name AS bname, b.description, b.num_topics, b.member_groups,
b.id_parent, c.name AS cname, IFNULL(mem.id_member, 0) AS id_moderator,
mem.real_name' . (!empty($topic) ? ', b.id_board' : '') . ', b.child_level,
b.id_theme, b.override_theme, b.count_posts, b.id_profile, b.thank_you_post_enable,
b.unapproved_topics, b.unapproved_posts' . (!empty($topic) ? ', t.approved, t.id_member_started' : '') . '
FROM {db_prefix}boards AS b' . (!empty($topic) ? '
INNER JOIN {db_prefix}topics AS t ON (t.id_topic = {int:current_topic})' : '') . '
LEFT JOIN {db_prefix}categories AS c ON (c.id_cat = b.id_cat)
LEFT JOIN {db_prefix}moderators AS mods ON (mods.id_board = {raw:board_link})
LEFT JOIN {db_prefix}members AS mem ON (mem.id_member = mods.id_member)
WHERE b.id_board = {raw:board_link}',
array(
'current_topic' => $topic,
'board_link' => empty($topic) ? $smcFunc['db_quote']('{int:current_board}', array('current_board' => $board)) : 't.id_board',
)
);
No, that looks to be too far back in the file.
Could you attach the whole file here, in your next post? I have a feeling that one of your DB queries doesn't have the correct selection criteria.
EDIT: you've got the right part this time.
SELECT
c.id_cat, b.name AS bname, b.description, b.num_topics, b.member_groups,
b.id_parent, c.name AS cname, IFNULL(mem.id_member, 0) AS id_moderator,
mem.real_name' . (!empty($topic) ? ', b.id_board' : '') . ', b.child_level,
b.id_theme, b.override_theme, b.count_posts, b.id_profile, b.thank_you_post_enable,
SELECT
c.id_cat, b.name AS bname, b.description, b.num_topics, b.member_groups,
b.id_parent, c.name AS cname, IFNULL(mem.id_member, 0) AS id_moderator,
mem.real_name' . (!empty($topic) ? ', b.id_board' : '') . ', b.child_level,
b.id_theme, b.override_theme, b.count_posts, b.id_profile, b.thank_you_post_enable, b.redirect,
I didn't realize I was so back ;D
I did that change but the problem still exist.
I upload the whole file to have a look. :)
Quote from: Arvacon
I did that change but the problem still exist.
The 'redirect' error or the parse error?
Try flushing your forums file cache if it's the redirect error.
I just replaced the code you gave me with the one from my file before, but it didn't change the redirect problem.
What is the parse error?
I flushed the forum cache from the "forum maintenance" -> "Empty the file cache" but still the same.
I flushed the browser's cache too.
I'll have to pick this up later as I'm off out now.
The "parse error" is the second issue you reported, above.
I thought that the redirect problem cause the parse page, I mean I thought this was one problem.
So it is two problems finally? :o
At my log file I get only one error, the one with the redirect and I thought that this cause the parse error page..
Anyway, see you later then and thanks in advance for your time!
Quote from: Arvacon
At my log file I get only one error, the one with the redirect...
Does the error still occur at the point you previously noted (line 681) ?
This issue doesn't appear related to the Thank-O-Matic mod, more likely as a result of the manual edits you said earlier you'd made to Load.php.
On the subject of the template parse error, I note you reported this last year in relation to the T-O-M mod:
http://www.simplemachines.org/community/index.php?topic=418177.msg3458718#msg3458718
I think you might be proceeding with the installation when the package manager is advising against it... a classic result of that.
Quote from: Shambles on May 27, 2013, 12:50:41 PM
Quote from: Arvacon
At my log file I get only one error, the one with the redirect...
Does the error still occur at the point you previously noted (line 681) ?
This issue doesn't appear related to the Thank-O-Matic mod, more likely as a result of the manual edits you said earlier you'd made to Load.php.
Actually I checked it again now and it seems I don't get the 681 line error anymore.
The manual edits I did was exactly what the thankomatic was asking me to replace during the installation, I didn't change something else.
I had forget that I had seen this error when I installed the "Custom View of Attachments" mod. As I remember now, I had already installed the thankomatic and when I installed the custom view mod, then it happened the parse problem, so I kept the custom view and I uninstalled the thankomatic, because it was not showing the admin panel after the installation, so I could not do any changes at its settings.
So does this mean that I can't run both of these mods together finally? :-\
The weird is that with the core theme, everything works ok and I can't understand why the default curve theme and my custom one have this problem..
The problem is that I need both of these mods, so is there any way to solve this parse problem?
Update.. Now I get another error from load.php at lines 1238 and 1239. :-X
Well it's good that the redirect problem disappeared, as I thought it might.
The parse issue won't be a problem, just copy the template file here and we can take a look at it.
Which one is the template file? BoardIndex.template.php or index.template.php?
Do you need the default curve one or my custom?
I think the custom "carbonate by Bloc" theme must collaborate with the default one (if I don't do mistake)
The one highlighted in the error message you captured. (http://www.simplemachines.org/community/index.php?topic=176565.msg3550964#msg3550964)
Oups! ;D
Here it is :)
That looks like a mod gone sour. Your aeva problem can be logged in the aeva support board, but for now here's a fixed version. Keep your original Display.template.php as a backup.
How can I thank you?! ;D
I don't have words to say!
Cheers!
It seems forum is functional again, without errors at the log file :laugh:
I will test it and I will tell you tomorrow if I had any other issue, but as it seems now, everything run smooth and quiet.
Thanks for everything my friend!
Ps: I don't care so much about aewa, it is old version, maybe that is why it has bugs and I think this bug was exists from before.
Είστε πολύ ευπρόσδεκτοι.
Your Greeks are good! 8)
Να είσαι πάντα καλά φίλε μου!
when you have to manually do a mod edit, you can't just replace the code
the reason the auto-edit failed in the first place is that some other mod has already touched the code in that area - you have to use human intuition to understand when has to be ADDED to make the new mod work correctly. If you just replace the code with the one from this mod, then you are UNDOING the edits from a previous mod.
error:
Illegal mix of collations (utf8_unicode_ci,IMPLICIT) and (utf8_general_ci,IMPLICIT) for operation 'ifnull'
Dosya: /home/forumack/public_html/Sources/ThankYouPost.php
Satır: 616
you have a problem in your database.
Quote from: Kindred on May 27, 2013, 03:12:28 PM
when you have to manually do a mod edit, you can't just replace the code
the reason the auto-edit failed in the first place is that some other mod has already touched the code in that area - you have to use human intuition to understand when has to be ADDED to make the new mod work correctly. If you just replace the code with the one from this mod, then you are UNDOING the edits from a previous mod.
Thanks for the advice.
I believe these are outstanding bugs in this mod:
Quote from: Liam_michael on January 15, 2012, 07:23:36 PM
I noticed a problem with the mod:
When I go ahead to delete my "Thank you" from a post I thanked, it deletes all the thank you's that other members made on that same post as well.
Is there a fix to this?
Quote from: shazoo! on July 10, 2012, 06:17:06 PM
Version 2.0.2
I have the option for can remove own thanks, but it doesn't seem to be working. the Delete option just doesn't come up.
It does show if you have the Delete Thank You Post Member option for "Any Member", but not if you check "Own Member"
Has anyone encounter this and found a fix?
Quote from: Skaty on April 16, 2013, 08:28:09 AM
Thank you. I added this code in display.php but i think there have to be something for display.template.com. I added the codes abode, but can't see the most thanked topic or post. There is missing something :(
// Count up the thanks and work out if we have a winning post
$bigthx = 0;
foreach($context['thank_you_post'] as $thxmsgid => $thxpost) {
if(is_numeric($thxmsgid)) {
$thisthx = count($thxpost['fulllist']);
if($thisthx > $bigthx) {
$bigthx = $thisthx;
$bigthxid = $thxmsgid;
}
}
}
// $scripturl.'?topic='.$context['current_topic'].'msg'.$bigthxid.'#msg'.$bigthxid
Hi Skaty,
This is the href for the most thanked post.
$scripturl.'?topic='.$context['current_topic'].'msg'.$bigthxid.'#msg'.$bigthxid
You need to add a link somewhere that goes to it.
One question, please:
What i need to change, that my actual "Thank-you-list" (what looks like this on the first picture)
looks like the RC4/RC5 Thank you-Version (look second picture, please).
Thank you in advance!
D.
Hey there :)
Some days ago I updated the German language files for my SMF 2.0.4 but TOM appears in English now. Is there a German translation and where (which file/s) would I have to insert the translated stuff?
Thank you
Booda
So.. I translated all that stuff into German by myself now. Am I the only one or did someone else find some of the english used in this mod atrocious? It was really hard to decipher what function could eventually be meant by the author.
If you understand Spanish, you'll probably get a better translation.
IIRC, the author(s) of this more are Spanish-speaking.
Getting these errors when I attempt to install:
Type Action Description
* 1. Execute Modification ./SSI.php Test successful
* 2. Execute Modification ./Sources/Display.php Test successful
* 3. Execute Modification ./Sources/Load.php Test failed
1. Replace ./Sources/Load.php Test successful
2. Replace ./Sources/Load.php Test successful
3. Replace ./Sources/Load.php Test successful
4. Replace ./Sources/Load.php Test failed
5. Replace ./Sources/Load.php Test successful
6. Replace ./Sources/Load.php Test successful
7. Replace ./Sources/Load.php Test successful
* 4. Execute Modification ./Sources/ManageBoards.php Test successful
* 5. Execute Modification ./Sources/ManagePermissions.php Test successful
* 6. Execute Modification ./Sources/ManageSettings.php Test successful
* 7. Execute Modification ./Sources/Memberlist.php Test successful
* 8. Execute Modification ./Sources/MoveTopic.php Test successful
* 9. Execute Modification ./Sources/Profile-Modify.php Test successful
* 10. Execute Modification ./Sources/RemoveTopic.php Test successful
* 11. Execute Modification ./Sources/Security.php Test successful
* 12. Execute Modification ./Sources/SplitTopics.php Test successful
* 13. Execute Modification ./Sources/Stats.php Test successful
* 14. Execute Modification ./Sources/Subs.php Test successful
* 15. Execute Modification ./Sources/Subs-Boards.php Test successful
* 16. Execute Modification ./Themes/default/Display.template.php Test successful
* 17. Execute Modification ./Themes/default/ManageBoards.template.php Test successful
* 18. Execute Modification ./Themes/default/Profile.template.php Test successful
* 19. Execute Modification ./Themes/default/Memberlist.template.php Test successful
* 20. Execute Modification ./Themes/default/Stats.template.php Test successful
* 21. Execute Modification ./Themes/default/css/index.css Test successful
* 22. Execute Modification ./Themes/default/languages/Admin.english.php Test successful
* 23. Execute Modification ./Themes/default/languages/index.english.php Test successful
* 24. Execute Modification ./Themes/default/languages/ManageBoards.english.php Test successful
* 25. Execute Modification ./Themes/default/languages/ManagePermissions.english.php Test successful
* 26. Execute Modification ./Themes/default/languages/Errors.english.php Test successful
* 27. Execute Modification ./Themes/default/languages/ManageSettings.english.php Test successful
* 28. Execute Modification ./Themes/default/languages/Profile.english.php Test successful
* 29. Execute Modification ./Themes/default/languages/Stats.english.php Test successful
* 30. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
31. Execute Modification ./Themes/default/languages/Admin.spanish_es.php Skipping file
32. Execute Modification ./Themes/default/languages/index.spanish_es.php Skipping file
33. Execute Modification ./Themes/default/languages/ManageBoards.spanish_es.php Skipping file
34. Execute Modification ./Themes/default/languages/ManagePermissions.spanish_es.php Skipping file
35. Execute Modification ./Themes/default/languages/Errors.spanish_es.php Skipping file
36. Execute Modification ./Themes/default/languages/ManageSettings.spanish_es.php Skipping file
37. Execute Modification ./Themes/default/languages/Profile.spanish_es.php Skipping file
38. Execute Modification ./Themes/default/languages/Stats.spanish_es.php Skipping file
39. Execute Modification ./Themes/default/languages/Modifications.spanish_es.php Skipping file
40. Execute Modification ./Themes/default/languages/Admin.spanish_latin.php Skipping file
41. Execute Modification ./Themes/default/languages/index.spanish_latin.php Skipping file
42. Execute Modification ./Themes/default/languages/ManageBoards.spanish_latin.php Skipping file
43. Execute Modification ./Themes/default/languages/ManagePermissions.spanish_latin.php Skipping file
44. Execute Modification ./Themes/default/languages/Errors.spanish_latin.php Skipping file
45. Execute Modification ./Themes/default/languages/ManageSettings.spanish_latin.php Skipping file
46. Execute Modification ./Themes/default/languages/Profile.spanish_latin.php Skipping file
47. Execute Modification ./Themes/default/languages/Stats.spanish_latin.php Skipping file
48. Execute Modification ./Themes/default/languages/Modifications.spanish_latin.php Skipping file
49. Extract Tree ./Sources
50. Extract Tree ./Themes
51. Execute Code db/install.php
Install in Other Themes
To use this modification in themes other than the default, the package manager needs to make additional changes to the other themes. If you'd like to install this modification in the other themes, please select these themes below.
Core Theme
Execute Modification ./Themes/core/Display.template.php Test failed
1. Replace ./Themes/core/Display.template.php Test failed
2. Replace ./Themes/core/Display.template.php Test successful
3. Replace ./Themes/core/Display.template.php Test successful
4. Replace ./Themes/core/Display.template.php Test successful
5. Replace ./Themes/core/Display.template.php Test failed
6. Add Before ./Themes/core/Display.template.php Test failed
7. Replace ./Themes/core/Display.template.php Test successful
Execute Modification ./Themes/core/Memberlist.template.php Test successful
1. Replace ./Themes/core/Memberlist.template.php Test successful
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
Cargo
Execute Modification ./Themes/cargo_20/css/index.css Test successful
Citiez
Execute Modification ./Themes/citiez_20a/css/index.css Test successful
theme1
Execute Modification ./Themes/theme1/css/index.css Test successful
DSv1
Execute Modification ./Themes/dsv1_20/css/index.css Test successful
DSv4
Execute Modification ./Themes/dsv4_20/css/index.css Test successful
Expo
Execute Modification ./Themes/expo_20/css/index.css Test successful
Express
Execute Modification ./Themes/express_20/css/index.css Test successful
Gearbox
Execute Modification ./Themes/gearbox_20a/css/index.css Test successful
IceCube
Execute Modification ./Themes/icecube_20/css/index.css Test successful
Indigo
Execute Modification ./Themes/indigo_20/css/index.css Test successful
Joli
Execute Modification ./Themes/joli_20a/css/index.css Test successful
laGusta
Execute Modification ./Themes/lagusta_20a/css/index.css Test successful
Micolo
Execute Modification ./Themes/micolo_20a/css/index.css Test successful
Noize
Execute Modification ./Themes/noize_20/css/index.css Test successful
Scratch
Execute Modification ./Themes/scratch_20/css/index.css Test successful
SurfandTurf
Execute Modification ./Themes/surfandturf_20/css/index.css Test successful
Twotone
Execute Modification ./Themes/twotone_20b/css/index.css Test successful
Urban
Execute Modification ./Themes/urban_20/css/index.css Test successful
Vivanto
Execute Modification ./Themes/vivanto_20a/css/index.css Test successful
Zentoa
Execute Modification ./Themes/zentoa_20b/css/index.css Test successful
Zone99
Execute Modification ./Themes/zone99_20/css/index.css Test successful
I'd really like this to be installed on my forum at http://ecoboostperformanceforum.com but I don't want to wreck it by just trying to install anyhow.
It is failing only in three places in the core theme.
you will have to manually edit display.template and Stats.template in core with the following changes
display template
find
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'] . '\', \'' . $context['session_var'] . '\') : false">';
replace with
// AJAX Style Thank You Post
if (!empty($modSettings['thankYouPostAJAX']))
{
echo '
<script language="JavaScript" type="text/javascript">
var thank_you_ajax_url = smf_scripturl + \'?action=thankyouajax;topic=' . $context['current_topic'] . '\';
function thankyou(msg_id) {
// Follow the link if no ajax support...
if (!window.XMLHttpRequest)
return true;
// Standard Variables
var elementName = "ThankOMaticID" + msg_id;
var elementButton = "buttonThxID" + msg_id;
var elementLockButton = "thank_lock_button_" + msg_id;
var elementDeleteButton = "thank_delete_button_" + msg_id;
// Tell him that something loading :)
ajax_indicator(true);
// Remove the Thank You Button :)
document.getElementById(elementButton).style.display = "none";
document.getElementById(elementLockButton).style.display = "none";
document.getElementById(elementDeleteButton).style.display = "none";
var thank_you_ajax_thx = thank_you_ajax_url + ";sa=thx;msg=" + msg_id;
var data = ThankYouLoadTextData(thank_you_ajax_thx, elementName, elementButton, elementDeleteButton, elementLockButton);
return !data;
}
function ThankYouLoadTextData(url, elementName, elementButton, elementDeleteButton, elementLockButton) {
if (!window.XMLHttpRequest)
return false;
request = new XMLHttpRequest();
request.onreadystatechange = function() {
if (request.readyState != 4)
return;
if (request.responseText != null && request.status == 200) {
if (request.responseText.substr(0, 7) == "#ERROR#") {
setInnerHTML(document.getElementById("Error" + elementName), request.responseText.substr(7));
document.getElementById(elementName).style.display = "block";
document.getElementById(elementButton).style.display = "inline";
document.getElementById(elementLockButton).style.display = "none";
document.getElementById(elementDeleteButton).style.display = "none";
ajax_indicator(false);
}
else {
document.getElementById(elementName).style.display = "block";
setInnerHTML(document.getElementById(elementName), request.responseText);
document.getElementById(elementButton).style.display = "none";
document.getElementById(elementLockButton).style.display = "inline";
document.getElementById(elementDeleteButton).style.display = "inline";
ajax_indicator(false);
}
return false;
}
else {
return true;
}
}
// Load the Request!
request.open("GET", url, true);
request.send(null);
return request;
}
</script>';
}
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'] . '\', \'' . $context['session_var'] . '\') : false">';
find
if ($message['can_approve'] || $context['can_reply'] || $message['can_modify'] || $message['can_remove'] || $context['can_split'] || $context['can_restore_msg'])
echo '
</ul>';
replace with
if ($message['can_approve'] || $context['can_reply'] || $message['can_modify'] || $message['can_remove'] || $context['can_split'] || $context['can_restore_msg'])
echo '
</ul>';
// Thank-O-Matic okay close the ul on sometimes :D
elseif (($message['thank_you_post']['post'] && !$message['thank_you_post']['locked']) || (($message['thank_you_post']['lock'] || $message['thank_you_post']['delete']) && $message['thank_you_post']['isThankYouPost']))
echo '
</ul>';
find
<hr class="post_separator" />';
add before
';
// Show the Thank You list or the link or.... nothing? XD
echo '
<div class="ThankOMatic ', $message['approved'] ? ($message['alternate'] == 0 ? 'windowbg' : 'windowbg2') : 'approvebg', '" style="display: '.($message['thank_you_post']['isThankYouPost'] ? 'block' : 'none').';" id="ThankOMaticID' . $message['id'] . '">
<span class="error" id="ErrorThankOMaticID' . $message['id'] . '"></span>';
// Output the Template for Thank-O-Matic (Normal found in the index.template.php)
// It will fall back into a standard function, if this template_thank_you_post doesn't exists!
if ($message['thank_you_post']['isThankYouPost'])
{
// Mistake? Function not loaded oO.
if (empty($context['call_thank_you_post_func']))
loadThankYouTemplateFunctions();
// Call the correct function =D
$context['call_thank_you_post_func']($message['thank_you_post'], $message['id']);
}
echo '
</div>
in stats.template
find
echo '
<span>', $poster['time_online'], '</span>
</dd>';
}
replace with
echo '
<span>', $poster['time_online'], '</span>
</dd>';
}
// Thank-O-Matic Stats
if (!empty($modSettings['thankYouPostStatsEnabled']))
{
echo '
</dl>
<div class="clear"></div>
</div>
<span class="botslice"><span></span></span>
</div>
</div>
</div>
<div class="flow_hidden">
<div id="most_thank_you_receive">
<h3 class="catbg"><span class="left"></span>
<img src="', $settings['images_url'], '/buttons/thank_you_b.png" class="icon" alt="" /> ', $txt['thank_you_post_Top10Receive'], ' <span class="smalltext">(', $txt['thank_you_post_became_display'], ' / ', $txt['thank_you_post_made_display'], ')</span>
</h3>
<div class="windowbg">
<span class="topslice"><span></span></span>
<div class="content">
<dl class="stats">';
foreach ($context['top_ThankOMatic_Receive'] as $poster)
echo '
<dt>', $poster['link'], '</dt>
<dd>', $poster['thank_you_post_became'], '/', $poster['thank_you_post_made'], '</dd>';
echo '
</dl>
<div class="clear"></div>
</div>
<span class="botslice"><span></span></span>
</div>
</div>
<div id="most_thank_you_given">
<h3 class="catbg"><span class="left"></span>
<img src="', $settings['images_url'], '/buttons/thank_you_b.png" class="icon" alt="" /> ', $txt['thank_you_post_Top10Given'], ' <span class="smalltext">(', $txt['thank_you_post_made_display'], ' / ', $txt['thank_you_post_became_display'], ')</span>
</h3>
<div class="windowbg2">
<span class="topslice"><span></span></span>
<div class="content">
<dl class="stats">';
foreach ($context['top_ThankOMatic_Given'] as $poster)
echo '
<dt>', $poster['link'], '</dt>
<dd>', $poster['thank_you_post_made'], '/', $poster['thank_you_post_became'], '</dd>';
}
theres also a parse fail in /Sources/Load.php
find
mem.birthdate, mem.member_ip, mem.member_ip2, mem.icq, mem.aim, mem.yim, mem.msn, mem.posts, mem.last_login,
mem.karma_good, mem.id_post_group, mem.karma_bad, mem.lngfile, mem.id_group, mem.time_offset, mem.show_online,
replace with
mem.birthdate, mem.member_ip, mem.member_ip2, mem.icq, mem.aim, mem.yim, mem.msn, mem.posts, mem.last_login,
mem.karma_good, mem.id_post_group, mem.karma_bad, mem.lngfile, mem.id_group, mem.time_offset, mem.show_online,
mem.thank_you_post_made, mem.thank_you_post_became, last_thank_you_time,
Bear in mind however, you wont find something exactly the same (hence the reason the parsing has failed), so you will need to bear in mind other mods when you make the edit.
So backup all three of those files before doing the manual edits.
If you arent confident with the edits upload
themes/core/display.template.php
themes/core/stats.template.php
and
sources/load.php
and if i get a chance when i pass by tomorrow will do them
I assume you are using 2.0.2 - 2.0.4
I am using 2.0.4
I could not find <hr class="post_separator" />'; in Display.template.php
Nor echo '
<span>', $poster['time_online'], '</span>
</dd>';
}
Within State.template.php
I'm ok copy/replace if I find exactly what you put but I'm afraid to break code if I put it in the wrong place.
I don't want to breaky my forum, just had quite a few member join in last 48 hours and the last thing I want to do is break it :)
BTW, thanks so much for your offer of help. I really, really appreciate it.
mtxpert
which theme are you using?
Do you use notepad##?
I am using this theme:
http://www.moparscape.org/smf/index.php?topic=561671.0
I do use notepad## or texpad or editpad lite. I am not a coder per say but do a ton of Cisco configuration work so I do some VERY SIMPLE regular expression stuff.
ok, in display template for core it should go just about where i have put it here
// Show the member's signature?
if (!empty($message['member']['signature']) && empty($options['show_no_signatures']) && $context['signature_enabled'])
echo '
<div class="signature" id="msg_', $message['id'], '_signature">', $message['member']['signature'], '</div>';
echo '
</div>
</div>
</div>';
// * INSERT IT HERE
// Show the Thank You list or the link or.... nothing? XD
echo '
<div class="ThankOMatic ', $message['approved'] ? ($message['alternate'] == 0 ? 'windowbg' : 'windowbg2') : 'approvebg', '" style="display: '.($message['thank_you_post']['isThankYouPost'] ? 'block' : 'none').';" id="ThankOMaticID' . $message['id'] . '">
<span class="error" id="ErrorThankOMaticID' . $message['id'] . '"></span>';
// Output the Template for Thank-O-Matic (Normal found in the index.template.php)
// It will fall back into a standard function, if this template_thank_you_post doesn't exists!
if ($message['thank_you_post']['isThankYouPost'])
{
// Mistake? Function not loaded oO.
if (empty($context['call_thank_you_post_func']))
loadThankYouTemplateFunctions();
// Call the correct function =D
$context['call_thank_you_post_func']($message['thank_you_post'], $message['id']);
}
echo '
</div>
';
// * INSERT IT HERE
}
echo '
</form>';
echo '
</div>
<a id="lastPost"></a>';
On stats.template, the edits just simply dont work with the core theme, but its not critical, as long as nobody is using the core theme.
Load.php needs to be spot on.
Before installing, back up all the affected files:
./SSI.php
./Sources/Display.php
./Sources/Load.php
./Sources/ManageBoards.php
./Sources/ManagePermissions.php
./Sources/ManageSettings.php
./Sources/Memberlist.php
./Sources/MoveTopic.php
./Sources/Profile-Modify.php
./Sources/RemoveTopic.php
./Sources/Security.php
./Sources/SplitTopics.php
./Sources/Stats.php
./Sources/Subs.php
./Sources/Subs-Boards.php
and in all themes including core
./Themes/default/Display.template.php
./Themes/default/ManageBoards.template.php
./Themes/default/Profile.template.php
./Themes/default/Memberlist.template.php
./Themes/default/Stats.template.php
./Themes/default/css/index.css
And language files, plus utf-8 plus any languages you use
./Themes/default/languages/Admin.english.php
./Themes/default/languages/index.english.php
./Themes/default/languages/ManageBoards.english.php
./Themes/default/languages/ManagePermissions.english.php
./Themes/default/languages/Errors.english.php
./Themes/default/languages/ManageSettings.english.php
./Themes/default/languages/Profile.english.php
./Themes/default/languages/Stats.english.php
./Themes/default/languages/Modifications.english.php
then in the slight chance that something goes wrong, you can restore them.
Once installed, manually check the modifications in load.php
and edit if needed
As long as nobody is using "core" theme, the only edits that are actually crucial are the ones in load.php
I have an important question about this mod !
how to put a pic except " Thank you " ?
how the member can delete their own thank ??
Hi,
I would like to install the mod on my forum, I am using the Vertex theme on SMF 2.04, the only trouble is that there are a few error messages
* 1. Execute Modification ./SSI.php Test successful
* 2. Execute Modification ./Sources/Display.php Test successful
* 3. Execute Modification ./Sources/Load.php Test failed
1. Replace ./Sources/Load.php Test successful
2. Replace ./Sources/Load.php Test successful
3. Replace ./Sources/Load.php Test successful
4. Replace ./Sources/Load.php Test failed
5. Replace ./Sources/Load.php Test successful
6. Replace ./Sources/Load.php Test successful
7. Replace ./Sources/Load.php Test successful
* 4. Execute Modification ./Sources/ManageBoards.php Test successful
* 5. Execute Modification ./Sources/ManagePermissions.php Test successful
* 6. Execute Modification ./Sources/ManageSettings.php Test successful
* 7. Execute Modification ./Sources/Memberlist.php Test successful
* 8. Execute Modification ./Sources/MoveTopic.php Test successful
* 9. Execute Modification ./Sources/Profile-Modify.php Test successful
* 10. Execute Modification ./Sources/RemoveTopic.php Test successful
* 11. Execute Modification ./Sources/Security.php Test successful
* 12. Execute Modification ./Sources/SplitTopics.php Test successful
* 13. Execute Modification ./Sources/Stats.php Test successful
* 14. Execute Modification ./Sources/Subs.php Test successful
* 15. Execute Modification ./Sources/Subs-Boards.php Test successful
* 16. Execute Modification ./Themes/default/Display.template.php Test successful
* 17. Execute Modification ./Themes/default/ManageBoards.template.php Test successful
* 18. Execute Modification ./Themes/default/Profile.template.php Test successful
* 19. Execute Modification ./Themes/default/Memberlist.template.php Test successful
* 20. Execute Modification ./Themes/default/Stats.template.php Test successful
* 21. Execute Modification ./Themes/default/css/index.css Test successful
* 22. Execute Modification ./Themes/default/languages/Admin.english.php Test successful
* 23. Execute Modification ./Themes/default/languages/index.english.php Test successful
* 24. Execute Modification ./Themes/default/languages/ManageBoards.english.php Test successful
* 25. Execute Modification ./Themes/default/languages/ManagePermissions.english.php Test successful
* 26. Execute Modification ./Themes/default/languages/Errors.english.php Test successful
* 27. Execute Modification ./Themes/default/languages/ManageSettings.english.php Test successful
* 28. Execute Modification ./Themes/default/languages/Profile.english.php Test successful
* 29. Execute Modification ./Themes/default/languages/Stats.english.php Test successful
* 30. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
31. Execute Modification ./Themes/default/languages/Admin.spanish_es.php Skipping file
32. Execute Modification ./Themes/default/languages/index.spanish_es.php Skipping file
33. Execute Modification ./Themes/default/languages/ManageBoards.spanish_es.php Skipping file
34. Execute Modification ./Themes/default/languages/ManagePermissions.spanish_es.php Skipping file
35. Execute Modification ./Themes/default/languages/Errors.spanish_es.php Skipping file
36. Execute Modification ./Themes/default/languages/ManageSettings.spanish_es.php Skipping file
37. Execute Modification ./Themes/default/languages/Profile.spanish_es.php Skipping file
38. Execute Modification ./Themes/default/languages/Stats.spanish_es.php Skipping file
39. Execute Modification ./Themes/default/languages/Modifications.spanish_es.php Skipping file
40. Execute Modification ./Themes/default/languages/Admin.spanish_latin.php Skipping file
41. Execute Modification ./Themes/default/languages/index.spanish_latin.php Skipping file
42. Execute Modification ./Themes/default/languages/ManageBoards.spanish_latin.php Skipping file
43. Execute Modification ./Themes/default/languages/ManagePermissions.spanish_latin.php Skipping file
44. Execute Modification ./Themes/default/languages/Errors.spanish_latin.php Skipping file
45. Execute Modification ./Themes/default/languages/ManageSettings.spanish_latin.php Skipping file
46. Execute Modification ./Themes/default/languages/Profile.spanish_latin.php Skipping file
47. Execute Modification ./Themes/default/languages/Stats.spanish_latin.php Skipping file
48. Execute Modification ./Themes/default/languages/Modifications.spanish_latin.php Skipping file
49. Extract Tree ./Sources
50. Extract Tree ./Themes
51. Execute Code db/install.php
Please could I have some help with resolving these issues, thanks!
With the file test fail, SMF has detail "why fail" so you can see where and why it fail. With current core SMF, you may get fail if you have installed some ofther mods before that it has change the same point with this mod.
Example: you have installed mod vnTyper that seek key "</body>" in your code and changed it to "</body id=\"bottom\">". Now you will not installed this mod because installer can not find "</body>" anymore. Just change this point to "</body id=\"bottom\">" then you can install it. It does not like in Joomla or WP :D
There is also an explanation in the wiki/online manual, in the faqs section.
Right ok thanks, so do I edit the Load.php file after I install the mod or before?
I tend to make the manual edit(s) before finishing the install
Ok, so then if I have done it correctly when you go ahead with the install the error message shouldnt show up?
no... the error message will still show, you just ignore it and continue, because you have already made that specific edit.
http://wiki.simplemachines.org/smf/Error_in_mod_installation
It's better to change in mod package than other places on SMF core codes.
what? Tomy, what are you talking about?
No, you are wrong... it is better to apply the mod and make the manual changes than it is to try to "fit" the mod files to your particular installation.
I have installed the mod and made some edits to the wording but I haven't been able (not got the knowledge) to do some other edits that I think will improve the mod
Firstly I would like to add an image to the "say thanks" button like on this forum. How would I go about this?
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi1356.photobucket.com%2Falbums%2Fq731%2FReady_23%2FThanks_zpsb551bdf4.png&hash=23c4397263f75646cc327dc29a60fbbb380ccab7)
Secondly I would only like the Thanks received on the profile page, like this. Again how would I go about it?
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi1356.photobucket.com%2Falbums%2Fq731%2FReady_23%2FProfile_zps1c69815a.png&hash=3d17cf47187c3ebb786e268581ac1119fa8df72f)
Can anyone help? :-[
Quote
Firstly I would like to add an image to the "say thanks" button like on this forum. How would I go about this?
You mean add that "thumbs up" image you've got there? Just change the default mod's image located at
yourtheme/images/buttons/thank_you_b.png(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2Fzn3ao3f.png&hash=cad97c47721bc41722acc89887489a72cd48ac2a)
Quote
Secondly I would only like the Thanks received on the profile page, like this. Again how would I go about it?
I think you may have to edit the
Themes/default/Profile.template.php file to remove the "given" bits:
// Thank You Infomations :)
echo '
<dl class="noborder">
<dt>', $txt['thankyoutitle'], ':</dt>
<dt>', $txt['thankyoupostmade'], ':</dt>
<dd>', $context['member']['thank_you_post']['made'], '</dd>
<dt>', $txt['thankyoupostbecame'], ':</dt>
<dd>', $context['member']['thank_you_post']['became'], '</dd>
</dl>';
// Thank You Infomations :)
echo '
<dl class="noborder">
<dt>', $txt['thankyoutitle'], ':</dt>
<dt>', $txt['thankyoupostbecame'], ':</dt>
<dd>', $context['member']['thank_you_post']['became'], '</dd>
</dl>';
Ok thanks I will give it a try tonight
Quote from: Shambles on July 22, 2013, 07:21:27 AM
Quote
Firstly I would like to add an image to the "say thanks" button like on this forum. How would I go about this?
You mean add that "thumbs up" image you've got there? Just change the default mod's image located at yourtheme/images/buttons/thank_you_b.png
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2Fzn3ao3f.png&hash=cad97c47721bc41722acc89887489a72cd48ac2a)
There is no picture under that title
Would I need to make it so it picks up that picture instead of the say thanks text?
First of all, big thanks to developers for this Mod.
I have been using it for quite some time now, got a biggish and quite active forum. Whenever I run "Repair and optimize Thank-O-Matic tables" from Maintenance Thank-O-Matic section, the calculation is incorrect and users even lose their TYs.
Is anyone else seeing this? How to debug or fix it? Is it possible to run the re-calculation and optimization query directly on the database via phpmyadmin?
Thanks for your time in advance.
This is a great mod. I just installed it and like it very much. I just got one problem with display.php and hope someone can help me please. Where it says:
<search for>
ID_MSG_MODIFIED < $topicinfo[new_from] AS isRead
FROM {$db_prefix}messages
</search for>
<add before>
".($board_info['thank_you_post_enable'] && allowedTo('thank_you_post_show') ? "thank_you_post, thank_you_post_counter," : "")."
</add before>
I got this code:
$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.showSIG, m.edit_reason,
post_hidden, hidden_reason, hidden_by, hmd.realName,
m.smileysEnabled, m.posterName, m.posterEmail,
m.ID_MSG_MODIFIED < $topicinfo[new_from] AS isRead,
k.message AS is_repped,
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)
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__);
Any advice on what the modified code should look like is much appreciated. Thank you!
I need help removing the word Thank You Given: August 16, 2013, 10:22:38 PM"> I just need to show the member name who gave thank you. I attached a screenshot. Is is possible that my files had errors or what? I'm running 2.0.1. Thanks!
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi41.tinypic.com%2F2nvqdxk.jpg&hash=d5e0e9e94b47af596638b995d88dfa023bc0c3d2)
Is anyone still working on this MOD?
It's me or the new version not work ok?
When I install it, i can't go to the panel "Admin -> Configuraciones -> Thank-o-Matic".
I understand that it is deleted in the new version...
¿Why? Yes... I've readed because the mod is very big... but... it is needed...
Maybe is my installation.
Anyone can help me?
Thanks in advanced.
For me also...something is missing. :o
Hi all,
Having a bit of trouble putting my finger on this:
Every month or so, all members' thank you stats are erased. No idea what's causing it. Have been searching and this is my last option.
Restoring them requires restoring a backup of the database which I was not able to do last time around as it would have wiped 3 days or more of posts.
I've checked scheduled maintenance, no cron jobs on the server, no accidents from any admin's, no clue.
Any idea of where to start looking? It's starting to take it's toll on some valued members.
Thank you :)
In addition - it may be the 'thank_you_posts' table content being dropped. No idea why though...
Any advice?
Quote from: RikuAnsem on August 22, 2013, 12:24:38 PM
It's me or the new version not work ok?
When I install it, i can't go to the panel "Admin -> Configuraciones -> Thank-o-Matic".
I understand that it is deleted in the new version...
¿Why? Yes... I've readed because the mod is very big... but... it is needed...
Maybe is my installation.
Anyone can help me?
Thanks in advanced.
Sources/Admin.php
For Configuration>Thank-O-Matic
Find:
'serversettings' => array(
'label' => $txt['admin_server_settings'],
'file' => 'ManageServer.php',
'function' => 'ModifySettings',
'icon' => 'server.gif',
'subsections' => array(
'general' => array($txt['general_settings']),
'database' => array($txt['database_paths_settings']),
'cookie' => array($txt['cookies_sessions_settings']),
'cache' => array($txt['caching_settings']),
'loads' => array($txt['load_balancing_settings']),
),
),
add
'thankyoupostsettings' => array(
'label' => $txt['thankyouposttitle'],
'file' => 'ManageThankYouPost.php',
'function' => 'ManageThankYouPost',
'icon' => 'thank_you_settings.gif',
'subsections' => array(
'general' => array($txt['general_settings']),
'layout' => array($txt['mods_cat_layout']),
'permission' => array($txt['edit_permissions'], 'enabled' => allowedTo('manage_permissions')),
'boards' => array($txt['admin_boards']),
'modrelated' => array($txt['thxmodification']),
),
),
and for Maintenance>Maintaince Thank-O-Matic
find:
'reports' => array(
'enabled' => in_array('rg', $context['admin_features']),
'label' => $txt['generate_reports'],
'file' => 'Reports.php',
'function' => 'ReportsMain',
'icon' => 'reports.gif',
),
add
'maintainThankYouPost' => array(
'label' => $txt['maintain_thxpost'],
'file' => 'ThankYouPost-Maintaince.php',
'icon' => 'thank_you_maintain.gif',
'function' => 'ManageMaintenanceThankYouPost',
'subsections' => array(
'maintain' => array($txt['maintain_thank_you_post_maintainaince'], 'admin_forum'),
'recount' => array($txt['maintain_thank_you_post_recount'], 'admin_forum'),
),
),
Quote from: littlenicki on August 12, 2013, 11:06:19 PM
This is a great mod. I just installed it and like it very much. I just got one problem with display.php and hope someone can help me please. Where it says:
<search for>
ID_MSG_MODIFIED < $topicinfo[new_from] AS isRead
FROM {$db_prefix}messages
</search for>
<add before>
".($board_info['thank_you_post_enable'] && allowedTo('thank_you_post_show') ? "thank_you_post, thank_you_post_counter," : "")."
</add before>
I got this code:
$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.showSIG, m.edit_reason,
post_hidden, hidden_reason, hidden_by, hmd.realName,
m.smileysEnabled, m.posterName, m.posterEmail,
m.ID_MSG_MODIFIED < $topicinfo[new_from] AS isRead,
k.message AS is_repped,
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)
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__);
Any advice on what the modified code should look like is much appreciated. Thank you!
Any advice?
Quote from: Cutter65 on August 27, 2012, 07:22:08 AM
I also get this error when I try to run Maintenance.
Repair and optimize Thank-O-Matic tables give this error
forum/index.php?action=admin;area=maintainThankYouPost;sa=maintain;activity=optimize
Database Error: Operand should contain 1 column(s)
File: /public_html/forum/Sources/ThankYouPost-Maintaince.php
Line: 603
601: 'msg_ids' => $msg_ids,
602: )
==>603: );
604:
605: $_REQUEST['start'] +=$increment;
../Sources/ThankYouPost-Maintaince.php find:
WHERE ({array_int:msg_ids})',
Fix:
WHERE id_msg IN ({array_int:msg_ids})',
will this work in 2.0.5 eventually? i tried to emulate 2.0.4 to install correctly and there was a slew of errors.
attached portuguese translation.
ThankOMaticPortuguese_brazilian
ThankOMaticPortuguese_brazilian-utf8
ThankOMaticPortuguese_pt
ThankOMaticPortuguese_pt-utf8
Quote from: estes on September 12, 2013, 05:23:12 PM
will this work in 2.0.5 eventually? i tried to emulate 2.0.4 to install correctly and there was a slew of errors.
i have 2.0.5 installed and this mod works. however in the tapatalk app the Thanks in there stopped working. i do not know if it is this mod being outdated or that i updated to 2.0.5
i updated the tapatalk app and that all has the right file perms, but still no Thanks in tapatalk itself
wonder if i should go back to 2.0.4 to see
Mhhh, at the tapatalk forums there are some reports that this is caused by an update of the tapatalk plugin:
https://support.tapatalk.com/threads/no-thanks-button-after-updating-plug-in.19825/
when i tried to install this i received a few errors. i manually changed the files and ran through the install.
i only see buttons "lock all thank you" but no actual link to "thank" posts.
the following 4 files that were updated are:
Load.php
Display.php
Display.template.php
Subs-Boards.php
anyone have any suggestions?
For tapatalk issues please use https://support.tapatalk.com/
Quote from: estes
i only see buttons "lock all thank you" but no actual link to "thank" posts.
Have you found the new section that controls the feature?
Admin > Configuration > Thank-O-Matic...
Go to the "Boards" tab and ensure you've ticked the boards you want thank-o-matic to show in. While you're in that area, check the "Permissions" tab to ensure the groups you want to see the feature, actually see the feature.
Quote from: Shambles on September 27, 2013, 03:20:05 PM
Quote from: estes
i only see buttons "lock all thank you" but no actual link to "thank" posts.
Have you found the new section that controls the feature?
Admin > Configuration > Thank-O-Matic...
Go to the "Boards" tab and ensure you've ticked the boards you want thank-o-matic to show in. While you're in that area, check the "Permissions" tab to ensure the groups you want to see the feature, actually see the feature.
yes that is correct, i have all of these checked.
I suggest you recheck your edits; make sure you completed them all, in the right places.
Quote from: estes
i manually changed the files and ran through the install.
Hi.
Will there be an update fixing issue with changes in PHP 5.4?
Here is a info what happened: http://www.simplemachines.org/community/index.php?topic=419479.msg3341712#msg3341712
Mhhh, don't know which problems you're facing but this mod works here on a SMF 2.0.5 forums with PHP 5.4.20 without any problems. :)
Like reported here: http://www.simplemachines.org/community/index.php?topic=482510.0 Thankomatic options disappeared from admin and profile section.
Mhhh, there was a post on how to add the admin and maintenance menus to the installation:
http://www.simplemachines.org/community/index.php?topic=176565.msg3602182#msg3602182
When you took over this mod, did you leave in the part where it works in conjunction with this mod? I want to reinstall this mod but it would defeat my purpose of you took that part of it out.
http://custom.simplemachines.org/mods/index.php?mod=118
also, have you going to fix the problem where it doesn't put the settings in Admin anymore?
Quote from: Fisch.666 on October 20, 2013, 12:04:27 PM
Mhhh, there was a post on how to add the admin and maintenance menus to the installation:
http://www.simplemachines.org/community/index.php?topic=176565.msg3602182#msg3602182
This didn't seem to change anything for me... it still doesn't show up
EDIT
Never mind, I fixed it
Hi Folks! New SMF admin here with a question or two...
I've successfully installed Thank-O-Matic on a new 2.0.6 forum (not without an issue or two though)
I've added the code for admin and maintenance. Also enable in forum profiles and permissions. Turned it on and tested. Works fine so far.
The issue;
I'm using a theme "Assassin by Skinmod" which TOM breaks page layout on. It works fine with SMF default theme.
Examples attached.
Can anyone help me track down where and how to fix the layout for my board's theme?
I suppose I should show what the board is supposed to look like....
attached.