News:

Wondering if this will always be free?  See why free is better.

Main Menu

Thank-O-Matic

Started by enik, June 12, 2007, 12:18:59 PM

Previous topic - Next topic

ディン1031

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
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

lonrot

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.

amirali.b

I should uninstall this mod and re install after some days , then all the tankyou posts will delete ?!  Is it true ?!!!!

please help me

ディン1031

Nope it will not deleted.

Bye
DIN1031
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

snprswat

#64
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.

ディン1031

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
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

leonandres0

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.



In the installation everything was correctly... you have some idea?

Terrible pardon by my English. Thanks

lonrot

#67
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

ディン1031

Thank You lonrot :), i add it to the First Post.

Bye
DIN1031
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

leonandres0

lonrot Hay problemas en el ManagePermissions.spanish.php al parecer por apostrofes.. revisalo :P



ディン 1031 you can help me with my problem?

leonandres0

Here this corrected spanish of Lonrot, tapeworm some failures by you apostrophize in ManagePermissions.


Bye

WXWP

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..
- John

Admin:SMF 1.1 RC3

epsilon753

#72
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?

ディン1031

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
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

epsilon753

ディン1031, i attach my file, so please if you can help me!

thank you very much

aloche65

Feature Request:Top Ranking of users with the most received Thank You in stat page.

ディン1031

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
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

ディン1031

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
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

aloche65

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.

C ®oNaLd0

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:

ByE

Advertisement: