Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: ディン1031 on January 11, 2006, 12:29:00 PM

Title: Thank You Mod (V1.2.3)
Post by: ディン1031 on January 11, 2006, 12:29:00 PM
Link to Mod (http://mods.simplemachines.org/index.php?mod=257)

With this mod a Thank You System is avaible for the Board. (Like the one in phpBB).

This add a Thank You Button to say thank you to the topic, it's not like the one in vbulltin where you can say thank to a post from a user!

Pictures: http://www.simplemachines.org/community/index.php?topic=65339.msg890057#msg890057 (http://www.simplemachines.org/community/index.php?topic=65339.msg890057#msg890057)

German Languagepack (Deutsches Sprachpacket) is attached to this post, also the Turkish Translation is attached to this post (http://www.simplemachines.org/community/index.php?topic=65339.0)

If you like a Version Thank You to Posts like VBStyle than use this mod. (http://custom.simplemachines.org/mods/index.php?mod=710)

If you like to donate me some Money. Click Here (http://www.din1031.de/donation/)

Version 1.0.0-1.1.5

Changes Added:
+ Premissions to select if user allowed to press the button, see the list or anything what could be done with this mod.
+ Thank You Could also be used in Closed Threads because it have a own closed function
+ The list of the members who said thank you can be also on a extra list.
+ Integreted in the Admincenter
+ Can unhide hidden text after give the thank, if you use my hide tag mod
+ Add to the boards settings a Automatic Thank You option (for new Threads).
+ The Thank You Mod can now enabled on the Board Settings. If you allready have thank you's on the board you must enable the option!.
+ Add the ability to remove Single user from the Thank You list. (With Premission Settings)
+ You can now unhide replay content of leaf's hide post mod (I add a option for it).
+ Insert a time stamp when the thank you was given
+ Now when you hold the mouse cursor over the user name the time of the thank you will be ... (to much more).
* Again more compatible to other mods (Example: Leaf's Hide Mod)
* Correct the Self Thank you in a thread :) (if you creat a thread and add a thank you, you can not thank to yourself any more).
* The Second Change is only for 1.1.x, it move the button from the post to the thread options. You can add and post a thank you there.
* No Change, only made it better compatible to other mods, at least the Display.php made a lot problems with other mods, so now it should be better. (I hope so) ;).
* If you have problems to deinstall 1.04a please upgrade to 1.0.5 than you can deinstall without problems... somehow the package manager don't linke returns on some positions...
* I Removed the support for Versions bellow 1.1.0. If you need the mod for older Version use a old one.
* I changed the Premissionstyp from Global to Board Premissions. Please set all Premission new after the Upgrade.
* Overworked a lot of the ThankYou.php
! Remove the Bug so that normal Members with the right directly can creat a Thank You Topic.
! Removed a small bug, the thank you post butten is seen even if the user not allowed to post. (He can't post, but it's cosmetic thing).
! Small Fix, the creator of the Thank You, automatic count as posted thank you, this is needable for hidden contents, who only seen after a Thank you.
- Changed the installer for the db changes so that this use the SSI.php if it not used with smf package parser (Easier handling for manual installing)
shown


Version 1.2.0 (10.12.07)
* Overworked the Thank You List (The Extra page for it, see pictures how it should look like now ;D)
+ Add a list array, so that it is better customizable.


Version 1.2.1 (05.01.08)
! Fix a small eval bug in imode, wap, wap2 mode and one on the Calendar Page
- Upgrade included


Version 1.2.1 (03.05.08)
- SMF 1.1.5 Compatible



Version 1.2.1 Fix (22.07.08)
- Fix the incompatibility to the Attachment Rename Mod (Only a Insert Fix, nothing changed in the code)
+ Add the Deteailed Version Log to the Package.


Version 1.2.1 Fix 2 (29.08.08)
- Sarge mention that i use a short <? php tag instead of <?php i fixed this. It's not a importend code, if it work now it will work in the future.


Version 1.2.2 (05.02.09)
- Fix a mistake of an not correct replace (mentioned by fiveart)


Version 1.2.3 (15.07.09)
- Fixed a bug in ManagePermission Setup
- Upgrade Included


The mod made some heavy changes on the forum, so please be sure that you have no errors at the install ;).


Add Ons


Name: Thank You Mod: Show Thank You Topics
File: ThankYouAddOnShowThankYouPostsXXX.zip (http://www.simplemachines.org/community/index.php?topic=65339.msg1174762#msg1174762)
Description: Add a Option to the Profile to Show the Thank You Thread made by this User


Version 1.0.0 (26.07.07)
!*+- First Release



Legend:

! bug fix
+ added feature
* changed
- Info Only



ToDo List for Updates:
*Statistic like Postet Thank You, Recived Thank You...
*Collecting Ideas for AJAX for Thank You and Thank You Lock
*Own div block for the thank you to make better to customize with css
*Try to fix the removing of the Thank You list after inline edit



Attached to this post, are the Translations for this mod.
Title: Re: Thank You Mod
Post by: saedxploid on January 11, 2006, 01:58:35 PM
Thanks :)
Very Good.
But I cann't install on SMF v1.1RC2 :(
and Button languge id German :(
Title: Re: Thank You Mod
Post by: xtremecruiser on January 11, 2006, 02:25:01 PM
So can this hide a post unless a members does the "thank You"  ?  This is how the IPB does it.
Title: Re: Thank You Mod
Post by: ディン1031 on January 11, 2006, 03:04:53 PM
Quote from: xtremecruiser on January 11, 2006, 02:25:01 PM
So can this hide a post unless a members does the "thank You"  ?  This is how the IPB does it.

Yes if you switch on the option ;), and use my hide tag :).

Quote from: saedxploid on January 11, 2006, 01:58:35 PM
Thanks :)
Very Good.
But I cann't install on SMF v1.1RC2 :(

The Version is only for 1.0.5. I will made it for 1.1RC2... but i need some time because to much diffence between the smf versions...

and Button languge id German :( <- Really? I'm sure that i all translated to english... where is a german text? (Think... did i use the wrong buttons... i go look xD)

... Sorry people i realy use the wrong buttons... i add the english buttons... done... (in the package are now the english buttons.)
Title: Re: Thank You Mod
Post by: guppy on January 12, 2006, 10:51:20 AM
working great on 1.0.5  ;) thank you!
Title: Re: Thank You Mod
Post by: aussieholden on January 14, 2006, 12:50:58 AM
how long till we can use it on smf1.1 rc2 ?
Title: Re: Thank You Mod
Post by: ディン1031 on January 14, 2006, 03:21:06 AM
i would like to do it this weekend but... i must work today and sunday so i think i don't have the time to make it this weekend...

Bye
DIN1031
Title: Re: Thank You Mod
Post by: SexonthebeacH on January 14, 2006, 10:40:04 AM
Thanks for this mod. But I cannot install it to my 1.1RC1 :(
Title: Re: Thank You Mod
Post by: xtremecruiser on January 14, 2006, 10:41:58 AM
I look forward to using this once it's updated.  I really like your mods :D
Thanks
Title: Re: Thank You Mod
Post by: Mert on January 14, 2006, 08:41:15 PM
thank you :)

when would you finish making it for SMF 1.1 RC1 ? :)
Title: Re: Thank You Mod
Post by: ディン1031 on January 15, 2006, 09:36:02 AM
Version 1.01 is avaible
1.1RC2 compatible Version
- Remove the Bug so that normal Members with the right directly can creat a Thank You Topic.

Bye
DIN1031
Title: Re: Thank You Mod
Post by: Benqo on January 15, 2006, 06:58:33 PM
Hi DIN,

tried your mod on my test board and got following errors when displaying a thread. The first is displayed between the author/theme box and the content box itself:

Notice: Undefined index: d_thank_you_add in /var/www/smf/1.1.rc2/Sources/Subs.php on line 3539

Notice: Undefined index: d_thank_you_add in /var/www/smf/1.1.rc2/Sources/Subs.php on line 3539

The second appears below the content:

Notice: Undefined index: d_thank_you_remove_warn in /var/www/smf/1.1.rc2/Themes/default/Display.template.php (eval?) on line 606


I use 1.1RC2.
Title: Re: Thank You Mod
Post by: edi67 on January 15, 2006, 07:24:16 PM
this i need but i have SMF 1.1 RC1 is possible have version working for 1.1 RC1 too ?

thanc din
Title: Re: Thank You Mod
Post by: ディン1031 on January 16, 2006, 06:15:46 AM
Quote from: Benqo on January 15, 2006, 06:58:33 PM
Hi DIN,

tried your mod on my test board and got following errors when displaying a thread. The first is displayed between the author/theme box and the content box itself:

Notice: Undefined index: d_thank_you_add in /var/www/smf/1.1.rc2/Sources/Subs.php on line 3539

Notice: Undefined index: d_thank_you_add in /var/www/smf/1.1.rc2/Sources/Subs.php on line 3539

The second appears below the content:

Notice: Undefined index: d_thank_you_remove_warn in /var/www/smf/1.1.rc2/Themes/default/Display.template.php (eval?) on line 606

I use 1.1RC2.

Okay i think you use a other language as english :P... (or you have a error on the install)


<edit file>
$languagedir/index.english.php
</edit file>

<search for>
?>
</search for>

<add before>

$txt['d_thank_you_lock1'] = 'Close Thank You';
$txt['d_thank_you_lock2'] = 'Open Thank You';
$txt['d_thank_you_remove'] = 'Remove Thank You';
$txt['d_thank_you_remove_warn'] = 'Are you sure you want to remove this Thank You from the topic?';
$txt['d_thank_you_post'] = 'Thank You very much!!!';
$txt['d_thank_you_add'] = 'Add Thank You';
$txt['d_thank_you'] = 'Thank You';
</add before>

<edit file>
$languagedir/ManagePermissions.english.php
</edit file>

<search for>
?>
</search for>

<add before>

$txt['permissiongroup_thank_you'] = 'Thank You Mod';
$txt['permissionname_thank_you_view'] = 'View Thank You list';
$txt['permissionhelp_thank_you_view'] = 'This permission allows a user to view the Thank You list. Without this permission, the user will only see the topic.';
$txt['permissionname_thank_you_post'] = 'Post Thank You';
$txt['permissionhelp_thank_you_post'] = 'This permission allows a user to add his name to the Thank you list';
$txt['permissionname_thank_you_add'] = 'Add Thank you';
$txt['permissionhelp_thank_you_add'] = 'This permission allows a user to add a Thank You to the existing thread.';
$txt['permissionname_thank_you_add_own'] = 'Own Thank You';
$txt['permissionname_thank_you_add_any'] = 'Any Thank You';
$txt['permissionname_thank_you_lock'] = 'Lock Thank You';
$txt['permissionhelp_thank_you_lock'] = 'Allow a user to Lock the Thank You List';
$txt['permissionname_thank_you_lock_own'] = 'Own Thank You';
$txt['permissionname_thank_you_lock_any'] = 'Any Thank You';
$txt['permissionname_thank_you_remove'] = 'Delete Thank You';
$txt['permissionhelp_thank_you_remove'] = 'Allow a user to Delete the Thank You List';
$txt['permissionname_thank_you_remove_own'] = 'Own Thank You';
$txt['permissionname_thank_you_remove_any'] = 'Any Thank You';
</add before>

<edit file>
$languagedir/ModSettings.english.php
</edit file>

<search for>
?>
</search for>

<add before>

$txt['Thank_You_Headline'] = 'Thank You Mod';
$txt['Thank_You_MemberColor'] = 'Show Colored Member Links';
$txt['Thank_You_UserPreview'] = 'How many user in the Thank You member preview list<br /><font size=1>(<b>0 = all</b>)</font>';
$txt['Thank_You_LinkListOnly'] = 'No member preview list, only link to the thank you list';
$txt['Thank_You_UserOrder'] = 'Last Thank You on first position (normal at last position)';
$txt['Thank_You_AddLink'] = 'Add link each time on the end of the list';
$txt['Thank_You_AddCounter'] = 'Show a counter in front of every user who said Thanks.';
$txt['Thank_You_ShowHidden'] = 'Show hidden content<br /><font size=1><a href="http://mods.simplemachines.org/index.php?mod=118">(require Hide Mod Special)</a></font>';
</add before>

<edit file>
$languagedir/Post.english.php
</edit file>

<search for>
$txt['sticky_after2'] = 'Sticky this topic.';
</search for>

<add after>
$txt['thank_you_after2'] = 'Add Thank You';
</add after>


This are the english changes :), put the change in the language files you use than should this error removed...
(if you made a translation for your language you can sent it to me and i make a language pack for this :X)



Quote from: edi67 on January 15, 2006, 07:24:16 PM
this i need but i have SMF 1.1 RC1 is possible have version working for 1.1 RC1 too ?

thanc din
not so easy, i try this next weekend...

Bye
DIN1031
Title: Re: Thank You Mod
Post by: Xarcell on January 16, 2006, 11:32:33 AM
Any screenshots or demos? I'm confused about what this mod does.
Title: Re: Thank You Mod
Post by: ディン1031 on January 16, 2006, 01:23:53 PM
(http://www.din1031.de/bilder/boardspic/thank_you_example.jpg)

A Example what the mod does ;).

Bye
DIN1031
Title: Re: Thank You Mod
Post by: There's a Ferret on January 16, 2006, 03:34:48 PM
Good work din :) two questions:

1. I translated it to italian, how do I send that to you?
2. How come I cannot edit the TY permissions for the Moderator group?
Title: Re: Thank You Mod
Post by: ディン1031 on January 17, 2006, 03:40:11 AM
Really? Did i forgot this huuuu i must look at the evening XD. I think i completely forgot about mods *runsandhide*

You can sent it to my e-mail adress, i sent you a pm with it :X.

Bye
DIN1031
Title: Re: Thank You Mod
Post by: Bigguy on January 17, 2006, 05:22:14 AM
Nice work I installed it on RC2 with no erros, so far it works great. Thank you. :)
Title: Re: Thank You Mod
Post by: ディン1031 on January 18, 2006, 10:47:28 AM
Quote from: Satellite on January 16, 2006, 03:34:48 PM
2. How come I cannot edit the TY permissions for the Moderator group?
Hum this with the moderator problem is more work than i thought, on the first look :). I think i move this to the board primissions (and if i think right, then is that a way to made it board specific selectable ;D, with local settings.)

So give me some time to correct it (i think i do this after my birthday :P). (Because i must first know how the board premission system work in smf :D).

Bye
DIN1031
Title: Re: Thank You Mod
Post by: Fatih! on January 18, 2006, 03:58:58 PM
we're waiting for rc1 ???
Thanx
Title: Re: Thank You Mod
Post by: L.G.S on January 18, 2006, 04:41:18 PM
I installed it, but have no idea what it's for?

I understand it's to give thank you's, but does it have a page at index.php?action=blah or what??
Title: Re: Thank You Mod
Post by: hel8itch on January 18, 2006, 07:15:51 PM
iv installed it and although i can see the buttons etc.when i click thankyou button i cant see the names under the posts like in your screen shot?
Title: Re: Thank You Mod
Post by: ivo2296 on January 19, 2006, 01:26:49 PM
Quote from: din1031 on January 16, 2006, 01:23:53 PM
(http://www.din1031.de/bilder/boardspic/thank_you_example.jpg)

A Example what the mod does ;).

Bye
DIN1031

On smf 1.0.5 is shown only 1.Username - no  "Thank you" text and no counts of thanks
Title: Re: Thank You Mod
Post by: diegolyanky on January 19, 2006, 09:55:15 PM
Very nice mod ...  ;)

But, I can't integrate into my Default Theme ( Helios_Multi 1.1RC2 )  :-[

Can you make it for me ?
Title: Re: Thank You Mod
Post by: ディン1031 on January 20, 2006, 06:42:32 AM
Quote from: DeDu on January 18, 2006, 03:58:58 PM
we're waiting for rc1 ???
Thanx
I SAID I MAKE AT WEEKEND, BECAUSE I MUST WORK OVER THE WEEK SO I'VE NO TIME FOR THIS!!!!!!!! AND SOMEONE TELL THIS QUESTION AGAIN (PM OR POST) I DO NOT MADE THIS!!!! << (I'm agry today...)

@hel8itch
Are there really no errors on your install... or did you use a other theme then you must made the theme changes, too...

@ivo2296
Did you use other language than english? (And are there errors in you error log...)...

@diegolyanky
no, i've no time <<

Bye (the angry)
DIN1031

Title: Re: Thank You Mod
Post by: ivo2296 on January 20, 2006, 10:41:04 AM
Quote from: din1031 on January 20, 2006, 06:42:32 AM

@ivo2296
Did you use other language than english? (And are there errors in you error log...)...


Yes i use bulgarian for my smf, but i looked in the modification file and i have made all changes manualy, i have no error in the forum error log.


My mistake i had just small typo - now is OK

Thank you
Title: Re: Thank You Mod
Post by: qtime on January 22, 2006, 02:11:48 AM
Unknown column 't.thank_you' in 'field list'
File: server\Apache2\htdocs\test\Sources\Display.php
Line: 155


I am using SMF 1.1 RC2

installing the mod gived no errors. Any hints?
Title: Re: Thank You Mod
Post by: qtime on January 22, 2006, 02:12:55 AM
Unknown column 't.thank_you' in 'field list'
File: server\Apache2\htdocs\test\Sources\Display.php
Line: 155


I am using SMF 1.1 RC2

installing the mod gived no errors. Any hints?
Title: Re: Thank You Mod
Post by: ディン1031 on January 22, 2006, 08:34:25 AM
Quote from: qtime on January 22, 2006, 02:11:48 AM
Unknown column 't.thank_you' in 'field list'
File: server\Apache2\htdocs\test\Sources\Display.php
Line: 155


I am using SMF 1.1 RC2

installing the mod gived no errors. Any hints?
Did you have some error on the install?

And did the install_1.1RC2.php in the package his work?

Because it look like that the database changes are not made :X.

This are the Database changes i make ;)


CREATE TABLE IF NOT EXISTS {$db_prefix}thank_you (
ID_THX INT(10) UNSIGNED NOT NULL AUTO_INCREMENT ,
ID_TOPIC MEDIUMINT(8) UNSIGNED NOT NULL ,
ID_MEMBER MEDIUMINT(8) UNSIGNED NOT NULL ,
memberName VARCHAR(80) NOT NULL ,
PRIMARY KEY (ID_THX) ,
INDEX (ID_TOPIC, ID_MEMBER)
) TYPE = MYISAM ;


and this


ALTER TABLE {$db_prefix}topics ADD thank_you TINYINT(4) DEFAULT '0' NOT NULL;


Look in your db if this would made ;).

Gruß
DIN1031
Title: Re: Thank You Mod
Post by: qtime on January 22, 2006, 08:52:10 AM
Vielen dank!

The installation had no errors, I will try it again or make a table manually.
Title: Re: Thank You Mod
Post by: idos on January 23, 2006, 10:24:01 PM
mod has error
after install mod if Post reply topic it change to random numeric

Re: Thank You Mod > click reply > Re: 2716 (after post reply)

help me
Title: Re: Thank You Mod
Post by: ディン1031 on January 25, 2006, 06:21:18 AM
Quote from: idos on January 23, 2006, 10:24:01 PM
mod has error
after install mod if Post reply topic it change to random numeric

Re: Thank You Mod > click reply > Re: 2716 (after post reply)

help me

Which forum version... in my 1.0.5 beta test in it nerver occur... (and i don't think that it came from the mod, because i don't know that i changed something in the subejects ;D).

Bye
DIN1031
Title: Re: Thank You Mod
Post by: edi67 on January 25, 2006, 12:57:12 PM
thanx in advance for your beautiful mods i will wait with impatiente for SMF 1.1 version mod

thanx din
Title: Re: Thank You Mod
Post by: xtremecruiser on January 28, 2006, 11:42:37 AM
Did that and the "thank you" only shows for the admins ?
Thanks

Never mind I see its in the permissions :-X

Quote from: din1031 on January 11, 2006, 03:04:53 PM
Quote from: xtremecruiser on January 11, 2006, 02:25:01 PM
So can this hide a post unless a members does the "thank You"  ?  This is how the IPB does it.

Yes if you switch on the option ;), and use my hide tag :).

Quote from: saedxploid on January 11, 2006, 01:58:35 PM
Thanks :)
Very Good.
But I cann't install on SMF v1.1RC2 :(

The Version is only for 1.0.5. I will made it for 1.1RC2... but i need some time because to much diffence between the smf versions...

and Button languge id German :( <- Really? I'm sure that i all translated to english... where is a german text? (Think... did i use the wrong buttons... i go look xD)

... Sorry people i realy use the wrong buttons... i add the english buttons... done... (in the package are now the english buttons.)
Title: Re: Thank You Mod
Post by: playas-palace on January 31, 2006, 01:43:11 PM
How Do I create the db-table manually?
sorry, but I'm a php-newbie.... :P
Title: Re: Thank You Mod
Post by: goetzi on January 31, 2006, 02:22:44 PM
Hi,

I don't get the Mod running. If I insert the things in my Display.template.php, this error is on the end of the Page:


Fatal error: Unsupported operand types in /kunden/108014_96450/rp-hosting/10250/10479/www/htl/smf/Sources/Load.php(1607) : eval()'d code on line 785


Maybe it is because of the second problem:

In my Display.template.php there is no $split_button = create_button('split.gif', 'smf251', 'smf251', 'align="middle"');

So I don't know where to insert the //Creat Thank You Buttons :)
if (isset($context['thank_you']['premission'])) {
if ($context['thank_you']['premission']['post'])
$thanks_button = create_button('thank_you_b.gif', 'd_thank_you_post', 'd_thank_you', 'align="middle"');
elseif ($context['thank_you']['premission']['add'])
$thanks_button = create_button('thank_you_b.gif', 'd_thank_you_add', 'd_thank_you_add', 'align="middle"');
}
</add after>


Please help me,
goetzi
Title: Re: Thank You Mod
Post by: ArkServer on February 02, 2006, 04:55:18 PM
is it possible to automaticly "Add Thank You " instead of clicking it..

and how to edit the thank you?

www.happyserver.be for an example -> test board
Title: Re: Thank You Mod
Post by: goetzi on February 03, 2006, 11:15:50 AM
Can nobody help me with my problem?
Title: Re: Thank You Mod
Post by: ディン1031 on February 03, 2006, 03:31:20 PM
Quote from: ArkServer on February 02, 2006, 04:55:18 PM
is it possible to automaticly "Add Thank You " instead of clicking it..

and how to edit the thank you?

www.happyserver.be for an example -> test board
No and you can select it directely when you creat a post (additional options). (And why should it be automatic <<)

How do you mean edditing? Delete users from the list or anything else? For me this can be many things...



@goetzi


Fatal error: Unsupported operand types in /kunden/108014_96450/rp-hosting/10250/10479/www/htl/smf/Sources/Load.php(1607) : eval()'d code on line 785


Hmm this should not a error of my mod, if it installed without errors... (because i don't change the file and i know that all my function work in the version... (And if only the display template the problem than you have only no buttons, but the mod should work...).

The problem for the other thing is, i don't know how your display.template.php look like... so i can't say where you can insert it :).

Bye
DIN1031
Title: Re: Thank You Mod
Post by: perplexed on February 11, 2006, 11:58:54 PM
i tried to install this today for RC2 and I got 'test failed' on sources/display.template

So I didnt go ahead.  Can someone tell me how to fix this as I would like to have the mod.  (I installed the version for RC2)

thanks
Title: Re: Thank You Mod
Post by: Pod on February 16, 2006, 12:49:39 AM
ok installed this mod on 1.1 rc2 ...works great but i no longer need the mod and wanna remove it but when i click uninstall i get

Execute Modification ./Sources/ModSettings.php Test failed

and also

Execute Modification ./Themes/default/Display.template.php Test failed

help!
Title: Re: Thank You Mod
Post by: ディン1031 on February 16, 2006, 05:27:38 AM
Quote from: perplexed on February 11, 2006, 11:58:54 PM
i tried to install this today for RC2 and I got 'test failed' on sources/display.template

So I didnt go ahead.  Can someone tell me how to fix this as I would like to have the mod.  (I installed the version for RC2)

thanks
?_? i don't know that my mod use a file like this.
Themes/default/display.template.php but not the other thing...

Quote from: Pod on February 16, 2006, 12:49:39 AM
ok installed this mod on 1.1 rc2 ...works great but i no longer need the mod and wanna remove it but when i click uninstall i getExecute Modification ./Sources/ModSettings.php Test failed
and alsoExecute Modification ./Themes/default/Display.template.php Test failed help!
Unpack the Mod, Open the .mod file and search for the changes in this files, and remove it or replace it in reverse order :X.

Bye
DIN1031
Title: Re: Thank You Mod
Post by: perplexed on February 19, 2006, 11:37:15 AM
Sorry my mistake, the error I get in installation is here:

Installations actions for "Thank You Mod":
Installing this package will perform the following actions:  Type Action Description
1. Extract File ./Themes/default/images/english/thank_you.gif 
2. Extract File ./Themes/default/images/buttons/thank_you_b.gif 
3. Extract File ./Themes/default/images/english/thank_you_add.gif 
4. Extract File ./Themes/default/images/english/thank_you_delete.gif 
5. Extract File ./Themes/default/images/english/thank_you_lock1.gif 
6. Extract File ./Themes/default/images/english/thank_you_lock2.gif 
7. Extract File ./Sources/ThankYou.php 
8. Extract File ./Themes/default/ThankYou.template.php 
9. Extract File ./Themes/default/languages/ThankYou.english.php 
10. Execute Code install_1.1RC2.php 
11. Execute Modification ./index.php Test successful
12. Execute Modification ./Sources/Display.php Test failed  
13. Execute Modification ./Sources/ManagePermissions.php Test successful
14. Execute Modification ./Sources/ModSettings.php Test successful
15. Execute Modification ./Sources/Post.php Test successful
16. Execute Modification ./Sources/Security.php Test successful
17. Execute Modification ./Sources/Subs-Post.php Test successful
18. Execute Modification ./Themes/default/languages/index.english.php Test successful
19. Execute Modification ./Themes/default/languages/ManagePermissions.english.php Test successful
20. Execute Modification ./Themes/default/languages/ModSettings.english.php Test successful
21. Execute Modification ./Themes/default/languages/Post.english.php Test successful
22. Execute Modification ./Themes/default/Display.template.php Test successful
23. Execute Modification ./Themes/default/Post.template.php Test successful

display.php not display.template

Can you please tell me what I need to do to get this to install via package manager with no errors?

~thank you  :)

Title: Re: Thank You Mod
Post by: ディン1031 on February 20, 2006, 06:23:01 AM
I can not help you because, i don't know how you changed Display.php looks like :x.(And i've no time to made mod for each possible way of a Display.php).

Bye
DIN1031
Title: Re: Thank You Mod
Post by: perplexed on February 20, 2006, 10:50:54 AM
ah ok, I understand.

Is it possible to find out what changes the thank you mod makes to the display.php and approach it that way ie I make those changes to my display.php and then it would work?

~thanks
Title: Re: Thank You Mod
Post by: creatures on March 08, 2006, 09:47:34 PM
This mod looks like superb, but I have been using SMF RC1 :(

Will you make any modifications to run it for RC1?

Thank you :)
Title: Re: Thank You Mod
Post by: ディン1031 on March 09, 2006, 02:22:53 AM
Currently i've no working rc1 on my systems... so i could not make a Version for it... because there are many diffrents between 1.1RC1 and 1.RC2. And without test i release nothing.

BYe
DIN1031
Title: Re: Thank You Mod
Post by: Sindorf on March 18, 2006, 12:29:38 PM
Hello,

I am using SMF 1.1 RC2 with SafBlue theme. I tried to install the Thank You Mod manually. But I couldn't find some portion of the given code.

Here is the error what I am getting when I have installed the mod:

Unsupported operand types in /home/yorum/public_html/Sources/Load.php(1607) : eval()'d code on line 716


Here is the portion of the code that I cannot find in the SafBlue

$split_button = create_button('split.gif', 'smf251', 'smf251', 'align="middle"');


And my display.template.php is here

http://rapidshare.de/files/15824765/Display.template.php.html

What can I do to install Thank You Mod on to SafBlue?

Thanks for your help :D

Title: Re: Thank You Mod
Post by: ディン1031 on March 20, 2006, 06:30:59 AM
Install it like the Template like in the 1.0.X Version, because it's made in the old Version.

Bye
DIN1031
Title: Re: Thank You Mod
Post by: Sindorf on March 20, 2006, 09:00:05 AM
Thanks DIN1031, it worked :) Thanks a lot...
Title: Re: Thank You Mod
Post by: edi67 on March 31, 2006, 05:59:16 PM
sorry din i installed mod , great mod, but im not able to REMOVE, LOCK, ADD thnk, i not saw button for do this

im wrong?
Title: Re: Thank You Mod
Post by: yellow1912 on April 01, 2006, 01:34:19 AM
Only admin/mod can add this button? (as least for now only I (admin) can do that) *_*
Title: Re: Thank You Mod
Post by: yellow1912 on April 01, 2006, 07:38:15 PM
Never mind pls. I did it. But I have one more question: how can make it that the poster cant say thanks to himself (that would be ridiculous)
Title: Re: Thank You Mod
Post by: wclk.invisible on April 04, 2006, 12:55:26 AM
Hi very nice mod.
But I have a question too. I installed the mod without errors but nothing changed(couln't find any option section or anything simliar).
You must know I'm a smf newb but I thought after a sccesfull installation I would see a new option section...

SMF 1.1RC2
Title: Re: Thank You Mod
Post by: ディン1031 on April 07, 2006, 09:22:18 AM
Quote from: edi67 on March 31, 2006, 05:59:16 PM
sorry din i installed mod , great mod, but im not able to REMOVE, LOCK, ADD thnk, i not saw button for do this

im wrong?
Did you made the Theme Changes of the mod on your theme? ;P

Quote from: yellow1912 on April 01, 2006, 01:34:19 AM
Only admin/mod can add this button? (as least for now only I (admin) can do that) *_*
Set the corect rights than it work.

Quote from: yellow1912 on April 01, 2006, 07:38:15 PM
Never mind pls. I did it. But I have one more question: how can make it that the poster cant say thanks to himself (that would be ridiculous)
Normal the poster itself can't they thanks to his own post... (and i don't know why this work on your version ???).

Quote from: wclk.invisible on April 04, 2006, 12:55:26 AM
Hi very nice mod.
But I have a question too. I installed the mod without errors but nothing changed(couln't find any option section or anything simliar).
You must know I'm a smf newb but I thought after a sccesfull installation I would see a new option section...

SMF 1.1RC2
Alle Language Thing in you language insert?
All Themechanges are made?
Than there should be option under the Forums Settings on a extra task.
Did you also set you rights correct?



Sould work in 1.07 now.

Bye the very very busy
DIN1031
Title: Re: Thank You Mod
Post by: edi67 on April 07, 2006, 02:35:43 PM
all work good but how increase posts count if users that reply with Thank you?
Title: Re: Thank You Mod
Post by: Celdric on April 08, 2006, 12:08:13 PM
Hi.  :) I just installed your mod. Seems to work, but no buttons are displayed because I'm using the Epsilon template by Bloc.

Well, what I can't find in the Epsilon display template is this


<search for>
$split_button = create_button('split.gif', 'smf251', 'smf251', 'align="middle"');
</search for>


Perhaps if you have a minute time to take a look at the Epsilion template, you could give me a hint?  :)
The template is at
http://forumshowcase.net/display.txt

Btw, my board is a 1.1 RC 2
Title: Re: Thank You Mod
Post by: yellow1912 on April 12, 2006, 06:41:16 PM
Can you make this availabe, maybe in the next version:
Auto add thank for all topics in some certain forums, my members keep forgetting to add it.
Title: Re: Thank You Mod
Post by: ディン1031 on April 17, 2006, 10:22:11 AM
Quote from: edi67 on April 07, 2006, 02:35:43 PM
all work good but how increase posts count if users that reply with Thank you?
You can give post count releated premissions ;).

Quote from: Celdric on April 08, 2006, 12:08:13 PM
Hi.  :) I just installed your mod. Seems to work, but no buttons are displayed because I'm using the Epsilon template by Bloc.

Well, what I can't find in the Epsilon display template is this


<search for>
$split_button = create_button('split.gif', 'smf251', 'smf251', 'align="middle"');
</search for>


Perhaps if you have a minute time to take a look at the Epsilion template, you could give me a hint?  :)
The template is at
http://forumshowcase.net/display.txt

Btw, my board is a 1.1 RC 2
Öhm use the theme install like 1.0.5.

Quote from: yellow1912 on April 12, 2006, 06:41:16 PM
Can you make this availabe, maybe in the next version:
Auto add thank for all topics in some certain forums, my members keep forgetting to add it.

When i've more freetime, i think will made this ;), because i've the same problem in my forum.

Bye
DIN1031
Title: Re: Thank You Mod
Post by: edi67 on April 18, 2006, 02:14:08 AM
Quote from: ディン1031 on April 17, 2006, 10:22:11 AM
Quote from: edi67 on April 07, 2006, 02:35:43 PM
all work good but how increase posts count if users that reply with Thank you?
You can give post count releated premissions ;).

sorry in which way? explain me please
Title: Re: Thank You Mod
Post by: diegolyanky on April 18, 2006, 02:33:16 PM
I have two problems:

1° Is not compatible with Hiden_Posts mod

2° My theme ( Helios_Multi ) don't have the same code between display.template.php of Default theme and the Helios_multi  :'(

I love and I need this mod working, be cause is a great idea but I have that problems  :'( :'(

Screenshots ?

Here:

(http://www.dtforum.com.ar/problems/my_error.PNG)

and thats my installed mods:

(http://www.dtforum.com.ar/problems/my_mods.PNG)

My Display.template.php of Helios_Multi is here:

http://www.dtforum.com.ar/problems/Display.template.txt

And index.template.php of Helios_multi is here:

http://www.dtforum.com.ar/problems/index.template.txt

Can PLEASE anybody help me ??

Many thanks in advance  ;D
Title: Re: Thank You Mod
Post by: ディン1031 on April 20, 2006, 11:54:45 AM
Quote from: edi67 on April 18, 2006, 02:14:08 AM
Quote from: ディン1031 on April 17, 2006, 10:22:11 AM
Quote from: edi67 on April 07, 2006, 02:35:43 PM
all work good but how increase posts count if users that reply with Thank you?
You can give post count releated premissions ;).

sorry in which way? explain me please
Okay ;) i hope the two pics help you. If not write a pm to me ;D.

(http://www.din1031.de/bilder/boardspic/thank_you_firstlookthere.jpg)
(http://www.din1031.de/bilder/boardspic/thank_you_thanhere.jpg)

Bye
ディン1031
Title: Re: Thank You Mod
Post by: Jorin on May 03, 2006, 03:26:28 AM
Hi,

nice mod, I love it. But dou someone have german language changes? I don't want to translate all the text  ;D
Title: Re: Thank You Mod
Post by: Jorin on May 04, 2006, 06:46:21 AM
Okay, did all the translationy by myself. But one more question:

Before user B can give user A a "thank you" user A have to allow this for the thread. Can I change the mod so all posts can have a "thank you" by default?
Title: Re: Thank You Mod
Post by: devdevil on May 09, 2006, 12:38:01 PM
i am using 1.0.7

whn i try to install i get this:

Installing this package will perform the following actions:
Type Action Description
1. Extract File ./Themes/default/images/english/thank_you.gif
2. Extract File ./Themes/default/images/english/thank_you_add.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/ThankYou.php
7. Extract File ./Themes/default/ThankYou.template.php
8. Extract File ./Themes/default/languages/ThankYou.english.php
9. Execute Code install_1.05.php
10. Execute Modification index.php Success
11. Execute Modification ./Sources/Display.php Success
12. Execute Modification ./Sources/ManagePermissions.php Success
13. Execute Modification ./Sources/ModSettings.php Failure
14. Execute Modification ./Sources/Post.php Success
15. Execute Modification ./Sources/Security.php Success
16. Execute Modification ./Themes/default/languages/index.english.php Success
17. Execute Modification ./Themes/default/languages/ManagePermissions.english.php Success
18. Execute Modification ./Themes/default/languages/ModSettings.english.php Success
19. Execute Modification ./Themes/default/languages/Post.english.php Success
20. Execute Modification ./Themes/default/Display.template.php Success
21. Execute Modification ./Themes/default/Post.template.php Success

ne help??
thnx
Title: Re: Thank You Mod
Post by: ディン1031 on May 10, 2006, 03:18:16 AM
13.    Execute Modification    ./Sources/ModSettings.php    Failure

This without this options you can't made some basic settings for the thank you mod.

I think this came because some other mods are installed.

Bye
DIN1031
Title: Re: Thank You Mod
Post by: ディン1031 on May 10, 2006, 08:07:06 AM
New Version Avaible, only a small option is added :D.

Version 1.02
- Add to the boards settings a Automatic Thank You option, to add automatic a thank you to a newly created threads.

To Update, Upload the new zip and click on upgrade. (Work in 1.1RC2 and 1.0.x).
Title: Re: Thank You Mod
Post by: Jorin on May 10, 2006, 12:02:00 PM
Oops. I de-installed the old version and installed the new. But all updates of the new version in the files were made, i proofed this. But I have a little error: He's not saving the board permission of the automatic thank you.  :-\

Also some more problems: In some boards all is fine, in some others no "thank you" is shown, in others only the thread starting post has a "thank you", but not the answering posts...

How can I fix all this problems? De-install the mod again and start again?
Title: Re: Thank You Mod
Post by: ディン1031 on May 11, 2006, 08:56:26 AM
For all user who installed Version 1.02 for SMF 1.1RC2

This is the Fix to solve the problem with the not Saved Board Changes for Thank You!


<edit file>
$sourcedir/ManageBoards.php
</edit file>

<search for>
$boardOptions['posts_count'] = isset($_POST['count']);
</search for>

<replace>
$boardOptions['posts_count'] = isset($_POST['count']);
$boardOptions['thank_you_automatic'] = isset($_POST['thank_you']);
</replace>


Bye
DIN1031
Title: Re: Thank You Mod
Post by: aussieferal on July 13, 2006, 07:04:46 AM
Could you make it so that if a user posts, mkaes a topic or whatever that they get points, and with those points they can but stuff from a fake online shop, like, nothing real like tshirts, things like online products?
Title: Re: Thank You Mod
Post by: Bigguy on July 13, 2006, 08:25:42 AM
There is already a shop mod that will count points and you can buy things from it.
Title: Re: Thank You Mod
Post by: Badelehrling on July 23, 2006, 02:14:42 PM
Quote from: devdevil on May 09, 2006, 12:38:01 PM
i am using 1.0.7

whn i try to install i get this:

Installing this package will perform the following actions:
Type Action Description
1. Extract File ./Themes/default/images/english/thank_you.gif
2. Extract File ./Themes/default/images/english/thank_you_add.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/ThankYou.php
7. Extract File ./Themes/default/ThankYou.template.php
8. Extract File ./Themes/default/languages/ThankYou.english.php
9. Execute Code install_1.05.php
10. Execute Modification index.php Success
11. Execute Modification ./Sources/Display.php Success
12. Execute Modification ./Sources/ManagePermissions.php Success
13. Execute Modification ./Sources/ModSettings.php Failure
14. Execute Modification ./Sources/Post.php Success
15. Execute Modification ./Sources/Security.php Success
16. Execute Modification ./Themes/default/languages/index.english.php Success
17. Execute Modification ./Themes/default/languages/ManagePermissions.english.php Success
18. Execute Modification ./Themes/default/languages/ModSettings.english.php Success
19. Execute Modification ./Themes/default/languages/Post.english.php Success
20. Execute Modification ./Themes/default/Display.template.php Success
21. Execute Modification ./Themes/default/Post.template.php Success

ne help??
thnx

I've got exacly the same problem. But I don't know how to fix.
Ive tryed so much, but nothing worked!
Any help?
Title: Re: Thank You Mod
Post by: ivo2296 on August 11, 2006, 10:24:41 AM
Hello,

Is there way to be added the "Thank you" option in the posts also. When we have a big topic and into it  very usefull post, the users to able to "Thank" this post.


Thanks!
Title: Re: Thank You Mod
Post by: Bigguy on August 11, 2006, 10:43:50 AM
@ Badelehrling

Install the mod, then look in the xml file for the modifications for the "ModSettings.php" and insert them manuallly. Make sure you back it all up first.
Title: Re: Thank You Mod
Post by: nitins60 on September 07, 2006, 02:24:30 AM
Thanx for this mod. But i am facing some problems. Initially i was using 1.1rc2, i installed it successfully, no problem. Then i uninstalled it and other mods, due to upgrade to rc3, i uninstalled it. Now i tried to install it. All tests are successful, when i click on Install Now, i am getting this error
Database error
Duplicate column name 'thank_you_automatic'
File: /home/nitin/public_html/forum/packages/temp/install_1.X.X.php 
Line: 52
Title: Re: Thank You Mod
Post by: ディン1031 on September 07, 2006, 12:01:54 PM
huuu oh did my db thank you checker made a mistake hmmm i go look. (Hmmm i'm sure that i test it and it should work...)

I go check it :x. ...

Okay i new how this happend, i made a new version with a improved Version of the installer. If you uplaod this and overwrite your version on the server than you can install it without problems :).

Bye din
Title: Re: Thank You Mod
Post by: nitins60 on September 07, 2006, 02:04:33 PM
Quote from: ディン1031 on September 07, 2006, 12:01:54 PM
huuu oh did my db thank you checker made a mistake hmmm i go look. (Hmmm i'm sure that i test it and it should work...)

I go check it :x. ...

Okay i new how this happend, i made a new version with a improved Version of the installer. If you uplaod this and overwrite your version on the server than you can install it without problems :).

Bye din

Overwrite? How is it possible? Please,correct yr mod, and gimme. I love this mod, but it's not n love with me.. :(
Title: Re: Thank You Mod
Post by: ディン1031 on September 09, 2006, 06:24:42 PM
It's allready a new zip with the right installer php in it on the server here.
You can dl the new one and than you can install it without errors :D.

Bye
DIN1031
Title: Re: Thank You Mod
Post by: ivo2296 on September 11, 2006, 05:29:15 PM
On smf RC3 classic theme i tried to install the mod manually but under each topic after the last post i see that:

Fatal error: Unsupported operand types in /home/begets/public_HTML/Sources/Load.php(1704) : eval()'d code on line 690


Can anyone help with the classic theme modification pls!
Title: Re: Thank You Mod
Post by: geer on September 14, 2006, 02:01:07 PM
Is it possible to automaticly give "Add Thank You " in new topic without instead of clicking "Add Thank You "

big thanks


Title: Re: Thank You Mod
Post by: ivo2296 on September 14, 2006, 11:17:04 PM
Quote from: laxcoo on September 14, 2006, 02:01:07 PM
Is it possible to automaticly give "Add Thank You " in new topic without instead of clicking "Add Thank You "

big thanks




if you activate the option add thak you on replay, will be possible
Title: Re: Thank You Mod
Post by: geer on September 15, 2006, 03:11:34 AM
Quote from: ivo2296 on September 14, 2006, 11:17:04 PM
Quote from: laxcoo on September 14, 2006, 02:01:07 PM
Is it possible to automaticly give "Add Thank You " in new topic without instead of clicking "Add Thank You "

big thanks




if you activate the option add thak you on replay, will be possible


HI and where i find this menu or setting menu

Title: Re: Thank You Mod
Post by: ディン1031 on September 17, 2006, 07:28:10 PM
Under the board settings (Manage Boards)... there is a option where you can add automatic thank to a board :).

Bye
DIN1031
Title: Re: Thank You Mod
Post by: ivo2296 on September 18, 2006, 09:52:38 AM
DIN1031,

Could pls have a look at display.template.php of classic theme, i would like to make this mod work with the classic one.


Thank you!
Title: Re: Thank You Mod
Post by: ahmett on September 18, 2006, 09:38:37 PM
dear writer
before sorry for bad my english
this mod is nice but always put thanks in first message. I need send thanks whichever message in thread. like vbulletin. possible ?
Title: Re: Thank You Mod
Post by: TGB on September 20, 2006, 09:54:42 PM
when i installed the mod it only shows the thank_you_b.gif image 

do i have to go back and manually install?
Title: Re: Thank You Mod
Post by: ivo2296 on September 21, 2006, 03:35:45 PM
Quote from: edsloter on September 20, 2006, 09:54:42 PM
when i installed the mod it only shows the thank_you_b.gif image 

do i have to go back and manually install?

To me too, i'm admin and i don't see  Delete thank you and the rest - i see only "add thank you" button
Title: Re: Thank You Mod
Post by: geer on September 24, 2006, 07:23:58 AM
Quote from: ディン1031 on September 17, 2006, 07:28:10 PM
Under the board settings (Manage Boards)... there is a option where you can add automatic thank to a board :).

Bye
DIN1031

thanks

I am found but don't working it

What i can do?
Title: Re: Thank You Mod
Post by: Tasc0 on September 24, 2006, 05:24:03 PM
Greetings, first let me say that I'd like to have this mod running in my forum. But I can't.
I've seen this problem twice in this threat (if I'm not wrong). While installing the mod some things can't success. Something about CHMOD permissions.
Here there are some screenshot just in case someone can help me. By the way, I have SMF 1.0.8.
(http://img129.imageshack.us/img129/3793/1km4.th.png) (http://img129.imageshack.us/my.php?image=1km4.png)

(http://img145.imageshack.us/img145/7214/2kl4.th.png) (http://img145.imageshack.us/my.php?image=2kl4.png)
Thanks in advance.
Title: Re: Thank You Mod
Post by: ディン1031 on September 28, 2006, 04:16:26 AM
Did CHMOD all the given files to 777, also the source dir, theme dir, language dir and image dir? So that the skarpt are allowed to move the files there :x.

That's so only thing i know to do that it work.

Bye
DIN1031
Title: Re: Thank You Mod
Post by: Tasc0 on September 28, 2006, 05:48:17 PM
Quote from: ディン1031 on September 28, 2006, 04:16:26 AM
Did CHMOD all the given files to 777, also the source dir, theme dir, language dir and image dir? So that the skarpt are allowed to move the files there :x.

That's so only thing i know to do that it work.

Bye
DIN1031
Thanks for answering. It was a problem with the host.
Now I've tried with another host and I get a different error.
2: rmdir() has been disabled for security reasons
Archivo: /home/virtual/********/www/foro/Sources/Subs-Package.php
Line: 920
Title: Re: Thank You Mod
Post by: haktanir2 on October 01, 2006, 08:44:20 AM
Quote from: perplexed on February 19, 2006, 11:37:15 AM
Sorry my mistake, the error I get in installation is here:

Installations actions for "Thank You Mod":
Installing this package will perform the following actions:  Type Action Description
1. Extract File ./Themes/default/images/english/thank_you.gif 
2. Extract File ./Themes/default/images/buttons/thank_you_b.gif 
3. Extract File ./Themes/default/images/english/thank_you_add.gif 
4. Extract File ./Themes/default/images/english/thank_you_delete.gif 
5. Extract File ./Themes/default/images/english/thank_you_lock1.gif 
6. Extract File ./Themes/default/images/english/thank_you_lock2.gif 
7. Extract File ./Sources/ThankYou.php 
8. Extract File ./Themes/default/ThankYou.template.php 
9. Extract File ./Themes/default/languages/ThankYou.english.php 
10. Execute Code install_1.1RC2.php 
11. Execute Modification ./index.php Test successful
12. Execute Modification ./Sources/Display.php Test failed  
13. Execute Modification ./Sources/ManagePermissions.php Test successful
14. Execute Modification ./Sources/ModSettings.php Test successful
15. Execute Modification ./Sources/Post.php Test successful
16. Execute Modification ./Sources/Security.php Test successful
17. Execute Modification ./Sources/Subs-Post.php Test successful
18. Execute Modification ./Themes/default/languages/index.english.php Test successful
19. Execute Modification ./Themes/default/languages/ManagePermissions.english.php Test successful
20. Execute Modification ./Themes/default/languages/ModSettings.english.php Test successful
21. Execute Modification ./Themes/default/languages/Post.english.php Test successful
22. Execute Modification ./Themes/default/Display.template.php Test successful
23. Execute Modification ./Themes/default/Post.template.php Test successful

display.php not display.template

Can you please tell me what I need to do to get this to install via package manager with no errors?

~thank you  :)


I have the exact same error on RC3.

It looks for the following in Display.php. but it is not there:
IFNULL(lt.logTime, 0) AS logTime, t.ID_FIRST_MSG

Title: Re: Thank You Mod
Post by: ディン1031 on October 01, 2006, 12:38:05 PM
IFNULL(lt.logTime, 0) AS logTime, t.ID_FIRST_MSG ?_?
which version is your forum :X because this is a change for 1.0.x :x and there this exists in RC2 and above there is the change diffrent! Look in the correct file for the changes in RC2.

Bye
DIN1031
Title: Re: Thank You Mod
Post by: pbcnx on October 12, 2006, 11:27:21 PM
 ???

this error appeared when i'm trying to apply the mod. i have SMF 1.0.8

2: copy(index.php~) [<a href='function.copy'>function.copy</a>]: failed to open stream: Permission denied
File: /home/pbcnx/public_html/[removed]/forum/Sources/Subs-Package.php
Line: 1307

any way to fix this?
Title: Re: Thank You Mod
Post by: nitins60 on October 17, 2006, 01:29:11 PM
I love this mod, can't use in my forum :( . If you get time, can you please make a spl package which can work on Silckpro Graphite theme. I tried to modify it, but ended up with big disappoi...I know it's not possible, but please try brothr...So many ppl are not using default theme1 suggestion, place yr 'Thank You Very Much!' button at the end of post, not @the top.Think,why i m sugg
Title: Re: Thank You Mod
Post by: ArabLion on October 17, 2006, 06:00:00 PM
THNX
Title: Re: Thank You Mod
Post by: Helvetii on October 25, 2006, 04:43:08 PM
how make it work like , hide "link" , and only show user use "thank you" or if reply ?

if possible using image !?
Title: Re: Thank You Mod
Post by: Xarcell on November 11, 2006, 12:25:25 AM
I can't wait for the update with permissions. Well done...
Title: Re: Thank You Mod
Post by: Vinspire on November 11, 2006, 02:17:32 AM
Can someone post up the screenshot of this mods ? Thanks :)
Title: Re: Thank You Mod
Post by: Webhausfrau on December 13, 2006, 06:44:13 AM
Hi All,

I installed this MOD on SMF 1.1 in german language.
All files with .german in the name, which are not changed by the paket manager, I changend on my own.

But I still get 1 error an I don't know why or know how to solve.

The error:

8: Undefined index: d_thank_you
Datei: /Sources/Subs.php
Zeile: 3583



the code in the script:

3580 if (!$settings['use_image_buttons'])
3581 return $txt[$alt];
3582 elseif (!empty($settings['use_buttons']))
3583 return '<img src="' . $settings['images_url'] . '/buttons/' . $name . '" alt="' . $txt[$alt] . '" ' . $custom . ' />' . ($label != '' ? '<b>' . $txt[$label] . '</b>' : '');
3584 else
3585 return '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/' . $name . '" alt="' . $txt[$alt] . '" ' . $custom . ' />';
3586 }


Please can anybody help me?

greets Webhausfrau

Title: Re: Thank You Mod
Post by: Webhausfrau on December 13, 2006, 07:33:39 AM
Now I added the line

$txt['d_thank_you'] = 'Danke'; in index.german.php

and no Errors occourse.

Hope that was the right way  ::)

greetz Webhausfrau
Title: Re: Thank You Mod
Post by: mladen_nl on December 20, 2006, 03:20:37 PM
Hi, :D

It seems that I have a problem properly uninstalling Thank You Mod.
Installation went without a problem. Pre-installation check was OK, no errors were reported.
While replying to a posting in one of the forums I noticed that there were two Add Thank You buttons. This was for me the reason to uninstall Thank You Mod and install it again.
I went to Admin/Packages/Browse Packages and used Delete button on the most right side of the installed module. This was obviously WRONG :(. I should use Tab Installed Packages and button Uninstall.
If I look now in Forum Error Log I get enormous number of error messages which are related to Thank You Mod.
I tried to download and make a fresh install which would overwrite remaining files from the previous installation. Unfortunately on SMF MOD's Download page there is no Download link at Thank You Mod which is indication that SMF Install Manager assumes that this mod is already installed.
Now my question is... 
- How can I manually delete remains of my first installation of  Thank You Mod so I will be able to make a fresh install?
- Which lines in which .PHP files must I delete?
- How can I "fool"  ;) the system so I can download and install Thank You Mod for the second time?

I hope my explanation of my problem is a bit understandable. :o

Thank you for your comments and support

Mladen
Title: Re: Thank You Mod
Post by: Coldfx on December 20, 2006, 03:41:45 PM
Quote from: mladen_dfso on December 20, 2006, 03:20:37 PM
Hi, :D

It seems that I have a problem properly uninstalling Thank You Mod.
Installation went without a problem. Pre-installation check was OK, no errors were reported.
While replying to a posting in one of the forums I noticed that there were two Add Thank You buttons. This was for me the reason to uninstall Thank You Mod and install it again.
I went to Admin/Packages/Browse Packages and used Delete button on the most right side of the installed module. This was obviously WRONG :(. I should use Tab Installed Packages and button Uninstall.
If I look now in Forum Error Log I get enormous number of error messages which are related to Thank You Mod.
I tried to download and make a fresh install which would overwrite remaining files from the previous installation. Unfortunately on SMF MOD's Download page there is no Download link at Thank You Mod which is indication that SMF Install Manager assumes that this mod is already installed.
Now my question is... 
- How can I manually delete remains of my first installation of  Thank You Mod so I will be able to make a fresh install?
- Which lines in which .PHP files must I delete?
- How can I "fool"  ;) the system so I can download and install Thank You Mod for the second time?

I hope my explanation of my problem is a bit understandable. :o

Thank you for your comments and support

Mladen

Cheap solution: Replaced the files "Thank you Mod" had mod'd, remove the SQL columns of it (Under "[forum]_attachments"), and give a shot at re-installing.

Nice mod, but it may be even stronger, if you tie it in with the SMFShop developers (IE: 1 thanks = 5 points).  Similar to how you can run it on vBulletin.
Title: Re: Thank You Mod
Post by: mladen_nl on December 21, 2006, 01:28:21 AM
Hi Coldfx,

Thank you for your prompt reply. ;D
I tried to follow your instructions but doing that I was stuck at your first suggestion
QuoteCheap solution: Replaced the files "Thank you Mod" had mod'd,
The last part if this instruction (... had mod'd ) confuses me. What exactly do you mean by saying that?

Quoteremove the SQL columns of it (Under "[forum]_attachments"),
I have looked in ../smf/attachments but can not find any relation to SQL columns. But I do have a column called smf_thank_you in my SQL database. SMF and Joomla! Use the same database. Maybe you are suggesting that I delete this column (smf_thank_you ) in my database.

Please understand that I am not that familiar with this PHP stuff :-[
My wife sometimes explains things to me like I was two years old child just to understand things  :D

Again ... thank you very much for your input 8)

Mladen
Title: Re: Thank You Mod
Post by: ikaroweb on December 23, 2006, 10:45:11 AM
In order to express thanks I must click two times on the star.  :(
Title: Re: Thank You Mod
Post by: Kidsphoenixx on December 26, 2006, 12:05:14 AM
I have just finished reading all 8 pages on this thread, but found nothing about my problem.
I installed this mod before I fully understood SMF..... I would like to uninstall it until a later date....however, when I go to "Installed Packages", and click on uninstall, I receive this message:
This package cannot be uninstalled, because there is no uninstaller!

Please contact the mod author for more information.
Can someone please explain how I uninstall the mod then? I don't want to just delete it, cos I've read that doing that will often cause problems.
Thanks for any advice. :)
Title: Re: Thank You Mod
Post by: mgaidia on December 28, 2006, 05:23:40 PM
would this work with hide tag special?
Title: Re: Thank You Mod
Post by: ディン1031 on December 29, 2006, 02:13:47 AM
Yes, it have a special option, to work with the hide tag special.

Bye
DIN1031
Title: Re: Thank You Mod
Post by: ディン1031 on December 31, 2006, 11:25:44 AM
So updated to 1.1.1.

Must wait until it aproved <<... can take some time :x
Title: Re: Thank You Mod
Post by: Svatov on December 31, 2006, 12:28:59 PM
Where is the mod? I couldn't download it ... waiting so brutal for me =(

Title: Re: Thank You Mod
Post by: ディン1031 on January 01, 2007, 12:11:35 PM
Hehe it take now a little bit time until the files are shown, because the must be aproved from the moderators of the mods :). But now it's here and downloadable.

Bye
DIN1031
Title: Re: Thank You Mod
Post by: Svatov on January 01, 2007, 05:38:53 PM
Thanks...You are the best...It is so nice present for me under New Year tree.... Good luck and happy in your life...
Title: Re: Thank You Mod
Post by: Flying Drupalist on January 02, 2007, 03:15:44 PM
Is there a way to sort the forum by threads with the most thankyous? Thanks!
Title: Re: Thank You Mod
Post by: ディン1031 on January 03, 2007, 02:00:40 AM
Not really, okay it's madeable but it need a slow query (take a lot time to calculate all at one time, or a diffrent system where i must store the thank you counter into the topics).

Bye
DIN1031
Title: Re: Thank You Mod
Post by: Flying Drupalist on January 03, 2007, 08:50:41 AM
Oh noes!
Title: Re: Thank You Mod
Post by: ディン1031 on January 04, 2007, 01:54:09 AM
Okay some people wished for pictures of my Mod okay here they are ;D.

This is Version 1.0.3 installed on a smf 1.0.10.


(http://www.din1031.de/bilder/boardspic/ThankYouList.jpg) (http://www.din1031.de/bilder/boardspic/ThankYouList.jpg)
This is a Thank you list a little bit larger ;).


(http://www.din1031.de/bilder/boardspic/ThankYouListSmaller.jpg) (http://www.din1031.de/bilder/boardspic/ThankYouListSmaller.jpg)
But you can make it smaller, change the order or remove the counter at each user. It have also a link to a complete Thank You list.


(http://www.din1031.de/bilder/boardspic/ThankYouModinPosts.jpg) (http://www.din1031.de/bilder/boardspic/ThankYouModinPosts.jpg)
This show a list who i not post a thank you, and you see the hidden content ist not viewable.


(http://www.din1031.de/bilder/boardspic/ThankYouModinPostsPostThanks.jpg) (http://www.din1031.de/bilder/boardspic/ThankYouModinPostsPostThanks.jpg)
After i post my thank you the hidden content is viewable, as long the option is enabled and the other mod is installed.


(http://www.din1031.de/bilder/boardspic/ThankYouModAddToExists.jpg) (http://www.din1031.de/bilder/boardspic/ThankYouModAddToExists.jpg)
This is a thread without "Thank You", if you allowed to create a thank you you can add there each time one.


(http://www.din1031.de/bilder/boardspic/ThankYouAdvancedOption.jpg) (http://www.din1031.de/bilder/boardspic/ThankYouAdvancedOption.jpg)
This are the advanced option of the thread (new thread), you can add therer also the Thank You Option. This will be filled automatc if you enable a automatic option for a thread.


(http://www.din1031.de/bilder/boardspic/ThankYouAdminOption.jpg) (http://www.din1031.de/bilder/boardspic/ThankYouAdminOption.jpg)
Features and Options


Later or this weekend i add pics of the options in english ;).
Title: Re: Thank You Mod
Post by: wicked1 on January 04, 2007, 05:10:02 AM
yay the new version is working for my 1.1.1; thank you so much for this mod :)
the only problem is the "add thank you" button is showing up on all posts--not just the original post for the thread (the topic-starter)...and it's showing up even in boards I didnt set to put thank you's in (under modify boards > modify > "automatic thank you" --i kept it unchecked for those boards).
I like the fact that its working for older threads, which I don't think it did before, but is there a way to fix it so it doesnt do those two things i mentioned above?
Title: Re: Thank You Mod
Post by: ディン1031 on January 04, 2007, 07:21:43 AM
I will work on this, because i don't use 1.1.1 offen and did not see this error :x (I thing it's since 1.1RC2 in it *g*), but i will try to fix this in the next release but this could take some time (because i must made a huge backup this weekend).

Bye
DIN1031
Title: Re: Thank You Mod
Post by: Svatov on January 04, 2007, 07:17:49 PM
Dear DIN1031
Hi from Ukraine=)

I have two  small problems.
1. When i push "Thank you" its added in the first post of a topic every time. i am so confused because i need to add "Thank you" in other posts of topic without dependence on their position. I'd like to add "thank you" not only to author of  topic but to another  users too who wrote in there. How can i do ?
2. This is question about language because i have another one. I made all changes(by your recommendation) in language files ...but finally i couldn't see one thing... you can see it on the screenshot...

(http://infostore.org/file/2503146/2024785/Real.JPG)


Also i have one proposition ...to make  sum count of all "thank you" (which you got) in new option(or field) of your profile. And to add the same below your avatar or in  another place over your contact information...it will be very usefull

Title: Re: Thank You Mod
Post by: ディン1031 on January 05, 2007, 01:17:59 AM
1. This mod does't work like the mod in vbullitin :x, in vbullitin there the thank-o-mat post thanks to specific user, my mod work for threads not for posts. :x

2. Did you creat a ThankYou.YourLanguage.php? (Or made a copy of the ThankYou.english.php).

Hmmm it's possible to make, i think i add this to the next version :).
Who Count how many thanks you given how many thanks you became.

Bye
DIN1031
Title: Re: Thank You Mod
Post by: lematt on January 12, 2007, 06:33:29 PM
Hi!

I have not even idea of English, so I am using a translator online.

I want to install it in my forum in Spanish. what files do I have to modify? what do I have to put?.
I have installed it with the forum in English and it works perfectly, but when I change to him the language, nothing is seen. Can you help me?

thank you
Title: Re: Thank You Mod
Post by: lematt on January 13, 2007, 06:30:42 AM
I have already obtained it, although it has cost me some work. The problem is when I change of template. I use smfone11rc3_blue (in Spanish) and I am not capable of doing that the buttons appear by no side.

thank you
Title: Re: Thank You Mod
Post by: ディン1031 on January 13, 2007, 06:33:00 AM
?_?

i don't understand the problem, i must see it to know what you mean ;).

Bye
DIN1031
Title: Re: Thank You Mod
Post by: lematt on January 13, 2007, 07:00:31 AM
hi!

these are the same post but with different template. In one the buttons are seen of "thank you" and in other not

(http://img411.imageshack.us/my.php?image=defaulthy0.png)

(http://img411.imageshack.us/my.php?image=smfonerk2.png)


Thank you

Edit. the images are not seen, so I put the direct linkage to them


http://img411.imageshack.us/my.php?image=defaulthy0.png


http://img411.imageshack.us/my.php?image=smfonerk2.png
Title: Re: Thank You Mod
Post by: ディン1031 on January 13, 2007, 08:46:08 AM
did you copy the gif files from image/english to the image/spain folder?

And die you made the Change of the code in the Display.template.php?

Bye
DIN1031
Title: Re: Thank You Mod
Post by: lematt on January 13, 2007, 09:21:22 AM
Quote from: din1031 on January 13, 2007, 08:46:08 AM
did you copy the gif files from image/english to the image/spain folder?

Yes

Quote from: din1031 on January 13, 2007, 08:46:08 AM
And die you made the Change of the code in the Display.template.php?

Ein? this is new for me. Not that to modify in display.template

I feel my awkwardness
Title: Re: Thank You Mod
Post by: ディン1031 on January 13, 2007, 12:28:25 PM
This changes

<edit file>
$themedir/Display.template.php
</edit file>

<search for>
else
unset($normal_buttons['custom']);
</search for>

<add after>

//Thank You Button is now where it belongs <<
if (isset($context['thank_you']['premission'])) {
if ($context['thank_you']['premission']['post'])
$normal_buttons['thankyou'] = array('text' => 'd_thank_you', 'image' => 'thank_you.gif', 'lang' => true, 'url' => $scripturl . '?action=thankyoupost;topic=' . $context['current_topic'] . '.0');
elseif ($context['thank_you']['premission']['add'])
$normal_buttons['thankyou'] = array('text' => 'd_thank_you_add', 'image' => 'thank_you_add.gif', 'lang' => true, 'url' => $scripturl . '?action=thankyouadd;topic=' . $context['current_topic'] . '.0');
}
</add after>

<search for>
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();');
</search for>

<add before>
if (isset($context['thank_you']['premission']))
$mod_buttons += array(
'lock_thank_you' => array('test' => 'thank_you_lock', 'text' => 'd_thank_you_lock'.$context['ThankYouLockStatus'], 'image' => 'thank_you_lock'.$context['ThankYouLockStatus'].'.gif', 'lang' => true, 'custom' => '', 'url' => $scripturl . '?action=thankyoulock;topic=' . $context['current_topic'] . '.0'),
'remove_thank_you' => array('test' => 'thank_you_delete', 'text' => 'd_thank_you_remove', 'image' => 'thank_you_delete.gif', 'lang' => true, 'custom' => 'onclick="return confirm(\'' . $txt['d_thank_you_remove_warn'] . '\');"', 'url' => $scripturl . '?action=thankyouremove;topic=' . $context['current_topic'] . '.0'),
);
</add before>


<edit file>
$themedir/ManageBoards.template.php
</edit file>

<search for>
<td valign="top" align="right">
<input type="checkbox" name="count" ', $context['board']['count_posts'] ? ' checked="checked"' : '', ' class="check" />
</td>
</tr>';
</search for>

<add after>

// Here is the New Thank You Option for the Board Premissions
echo '
<tr>
<td>
<b>', $txt['mboards_thank_you_automatic'], '</b><br />
', $txt['mboards_thank_you_automatic_desc'], '<br /><br />
</td>
<td valign="top" align="right">
<input type="checkbox" name="thank_you" ', $context['board']['thank_you_automatic'] ? ' checked="checked"' : '', ' class="check" />
</td>
</tr>';
</add after>

<edit file>
$themedir/Post.template.php
</edit file>

<search for>
<tr>
<td class="smalltext"><label for="check_smileys"><input type="checkbox" name="ns" id="check_smileys"', $context['use_smileys'] ? '' : ' checked="checked"', ' value="NS" class="check" /> ', $txt[277], '</label></td>', '
<td class="smalltext">', $context['can_move'] ? '<input type="hidden" name="move" value="0" /><label for="check_move"><input type="checkbox" name="move" id="check_move" value="1" class="check" /> ' . $txt['move_after2'] . '</label>' : '', '</td>
</tr>', $context['can_announce'] && $context['is_first_post'] ? '
<tr>
<td class="smalltext"><label for="check_announce"><input type="checkbox" name="announce_topic" id="check_announce" value="1" class="check" /> ' . $txt['announce_topic'] . '</label></td>
<td class="smalltext"></td>
</tr>' : '', '
</search for>

<add after>
', $context['can_Thank_you'] && empty($context['isThank_You']) ? '
<tr>
<td class="smalltext"><label for="check_thank_you"><input type="checkbox" name="add_thank_you" id="add_thank_you"' . ($context['add_thank_you'] || $context['thank_you_automatic'] ? ' checked="checked"' : '') . ' value="1" class="check" /> '.$txt['thank_you_after2'].'</label></td>
<td class="smalltext"></td>
</tr>' : '', '
</add after>


It's possible that you not need to change all, because the theme need only a few diffrent templates.

Bye
DIN1031
Title: Re: Thank You Mod
Post by: lematt on January 18, 2007, 06:45:11 PM
Install the forum in " local ", and try to put the mod in the theme that I use, but in spite of your indications it has been impossible to obtain it to me, so I proved everything the themes and I chose one that was working perfectly. Done this, I applied it to my forum online and curiously it was not working. change all the files that the mod modifies and in spite of alone that the admin sees the button, so I raised the entire forum of place to the servant and curiously it does exactly the same. I imagine that it has to be some problem of permissions since in place I proved it in windows and my server is in linux.

Do you have any idea of what can happen?

Thank you very much

P.D pardon for my English ... google has to evolve even more
Title: Re: Thank You Mod
Post by: prodigal on January 18, 2007, 07:32:26 PM
can this be restricted to be used in specific forums only?
Title: Re: Thank You Mod
Post by: lematt on January 19, 2007, 01:45:03 AM
I clarify that for the admin it works perfectly, being even taken into account whenever they pulsate
Title: Re: Thank You Mod
Post by: ディン1031 on January 20, 2007, 07:34:34 AM
Version 1.0.5

- Removed a small bug, the thank you post butten is seen even if the user not allowed to post. (He can't post, but it's a cosmetic thing).

- If you have problems to deinstall 1.04a please upgrade to 1.0.5 than you can deinstall without problems... somehow the package manager don't linke returns on some positions...

Announce: The Version 1.0.5 is the last version that has a 1.0.x compatible. The next version 1.1.0 of the mod will not support older smf versions (i will do so major changes on the mod).

The Package include the upgrade, you need upload the zip and click upgrade.

Bye
DIN1031
Title: Re: Thank You Mod
Post by: haynhat.com on January 23, 2007, 12:32:34 PM
Hello,

If I use this with the default theme, it works well. But when I use with my theme, I can not see thank button. Please help me to use this with my theme. Thanks
Title: Re: Thank You Mod
Post by: ディン1031 on January 23, 2007, 07:05:25 PM
Quote from: haynhat.com on January 23, 2007, 12:32:34 PM
Hello,

If I use this with the default theme, it works well. But when I use with my theme, I can not see thank button. Please help me to use this with my theme. Thanks

.... did you read this site?....

http://www.simplemachines.org/community/index.php?topic=65339.msg906750#msg906750 (http://www.simplemachines.org/community/index.php?topic=65339.msg906750#msg906750) this are the changes who must be made in your theme to make it workable.

Quote from: prodigal on January 18, 2007, 07:32:26 PM
can this be restricted to be used in specific forums only?
I'm working on it... i think i release it at the end of the week or overnext weekend... because i must try to made a good and correct upgrade because i need to change a lot for this ;) and i must to set up a lot on the new pc...

Bye
DIN1031
Title: Re: Thank You Mod
Post by: haynhat.com on January 23, 2007, 08:13:58 PM
Yes, I have made these changes but it also could not work with my theme.
Title: Re: Thank You Mod
Post by: Draganis on January 24, 2007, 08:14:45 AM
Hi, is there a german language version? The screenshots are made with german text...
Title: Re: Thank You Mod
Post by: ディン1031 on January 24, 2007, 08:43:28 AM
In the next version sure ;D *g*

Okay wait i serach in the german board there is translation for it ;).


http://www.simplemachines.org/community/index.php?topic=85381.msg567652#msg567652 (http://www.simplemachines.org/community/index.php?topic=85381.msg567652#msg567652)
http://www.simplemachines.org/community/index.php?topic=85381.msg574359#msg574359 (http://www.simplemachines.org/community/index.php?topic=85381.msg574359#msg574359)
http://www.simplemachines.org/community/index.php?topic=85381.msg574370#msg574370 (http://www.simplemachines.org/community/index.php?topic=85381.msg574370#msg574370)

Da findest die deutsche Übersetzung ;).

Bye
DIN1031
Title: Re: Thank You Mod
Post by: ディン1031 on January 27, 2007, 04:43:59 PM


Version 1.1.0

- I removed the installer for Versions bellow 1.1.0 (I don't support this any more in this mod). If you need the mod for older Version use a old one.
- I changed the Premissionstyp from Global to Board Premissions. Please set all Premission new after the Upgrade.
- The Thank You Mod can now enabled on the Board Settings. If you allready have thank you's on the board you must enable the option!.
- Overworked a lot of the ThankYou.php
- Add the ability to remove Single user from the Thank You list. (With Premissionsettings)

The Package include the upgrade, you can upload the zip and click upgrade.

Bye
DIN1031
Title: Re: Thank You Mod
Post by: edi67 on January 28, 2007, 07:45:17 AM
i have old version 1.0.4 trying to instlal this new version always install me all but failed to install in ManagePermissions.php , i edited this file and all code to modifiy are correctly as your mod  wanted changed so why this problem ? i must unistall previous version ?
Title: Re: Thank You Mod
Post by: ディン1031 on January 28, 2007, 07:56:07 AM
Quote from: edi67 on January 28, 2007, 07:45:17 AM
i have old version 1.0.4 trying to instlal this new version always install me all but failed to install in ManagePermissions.php , i edited this file and all code to modifiy are correctly as your mod  wanted changed so why this problem ? i must unistall previous version ?
Hmmm that's strage, i will look at it, normal it should work.

Yes you can also deinstall and install new version ;). This should work, too.

Bye
DIN1031
Title: Re: Thank You Mod
Post by: nitins60 on January 31, 2007, 04:18:10 PM
I got Display.php test failed! Ofcourse, i made one custom change to it! But yr code is not going to interfere with the modification i did(as per thankyou.mod)! Anyway can you please modify my  display.php (http://www.s60forum.org/Display.Zip) to solve this problem!
One question, if test fails n package manager, package manager changes the file (where modification failed)/leave it?
Title: Re: Thank You Mod
Post by: ディン1031 on January 31, 2007, 05:49:38 PM
??? sorry i don't know this, normal it would not save it anywhere, it test it only without changing the files... if you mean something else than ???.

Hmmm tomorrow i will look at your display.php to look where the error occurs and tell you what you most do to make it workable.

Bye
DIN1031
Title: Re: Thank You Mod
Post by: sleepingstar on January 31, 2007, 09:42:19 PM
I think this mod have problem.see my pic you'll understand :


(http://img254.imageshack.us/img254/5679/thanksai1.jpg)
Title: Re: Thank You Mod
Post by: ディン1031 on February 01, 2007, 01:56:48 AM
@sleepingstar
Did you read the discription, this thank you mod is for topics not for posts.
This bug with the thank you button in each post is removed since 1.0.4+. Sorry for the problems.

If you like to test the beta Version of the Thank-O-Matic like vbullitin where you can place thank to special posts i can give you link for it, but it's a beta version and it's currently in beta testing phase.


@nitins60: The Download don't work! Couldn't make a working version.

Bye
DIN1031
Title: Re: Thank You Mod
Post by: nitins60 on February 01, 2007, 02:15:14 AM
Din, i would like to test vb thanks mod!
Title: Re: Thank You Mod
Post by: nitins60 on February 01, 2007, 02:22:55 AM
Try this link brothr (http://upload01.uploadpk.com/freeupload/download.php?file=763a6c0d0cb9dcaf1b88c702a3c0d153)
Title: Re: Thank You Mod
Post by: 123123 on February 03, 2007, 04:05:47 AM
guyz,help me

i am getting this error in a file while mod test....
17.  Execute Modification  ./Sources/Post.php  Test failed

i am using smf 1.1.1
Title: Re: Thank You Mod
Post by: desistyle on February 03, 2007, 04:10:31 PM
wow it works great is there a way when we post in right hand side of our id where it shows we have posted XX times it can also show thanked XXX times :D
Title: Re: Thank You Mod
Post by: 123123 on February 04, 2007, 11:42:13 AM
Any1 here to solve my problem............ :'(
Title: Re: Thank You Mod
Post by: Metal_GunBlade on February 05, 2007, 03:04:52 AM
I keep getting an error with Post.php (ver 1.1.1) could you please either do the necessary changes to it for me, or tell me what changes should I make???

http://www.badongo.com/file/2165813 (http://www.badongo.com/file/2165813)

Thank you...
Title: Re: Thank You Mod
Post by: ディン1031 on February 05, 2007, 07:00:37 AM
@Metal_GunBlade and 123123: Please try the new version.



Version 1.1.1
- Again more compatible to other mods (Example: Leaf's Hide Mod)
- You can now unhide replay content of leaf's hide post mod (I add a option for it).

The Package include the upgrade for the package manager.

Bye
DIN1031
Title: Re: Thank You Mod
Post by: Metal_GunBlade on February 05, 2007, 02:01:27 PM
I just installed it, working great with no errors...

Thanks...
Title: Re: Thank You Mod
Post by: hayley2007 on February 08, 2007, 07:05:48 AM
A quick question.

This mod is installed on the latest smf. If i make a new thread, the 'thank you' can be seen in the right place, but on older threads before i installed this MOD, no one can see the 'thank you' button, only admins.
If clicked all the right buttons in admin panel, and i dont know what to do next ?

If you want screen caps of the admin cp i will give them you.

Please reply!
Title: Re: Thank You Mod
Post by: hayley2007 on February 08, 2007, 07:24:07 AM
scrap that i found out why, i need to set the permissions manually to each section of the board to each member group.
Title: Re: Thank You Mod
Post by: ディン1031 on February 08, 2007, 12:34:13 PM
Yes.. i moved the permissions from the globals to the boards permissions. And i don't know how to convert existing...

But, Good to hear that you found the error ;).

Bye
DIN1031
Title: Re: Thank You Mod
Post by: edi67 on February 10, 2007, 04:01:44 AM
ONE bug found DIN:

triyng to delete one user from Thank you List appear this error:

QuoteUnable to load the 'main' template.

and user is not deleted.


PS. sorry DIN i cannot find this file in my directory forum:

ThankYouEnglish.xml

Where did it goes?
Title: Re: Thank You Mod
Post by: ディン1031 on February 10, 2007, 06:36:48 AM
Quote from: edi67 on February 10, 2007, 04:01:44 AM
ONE bug found DIN:

triyng to delete one user from Thank you List appear this error:

QuoteUnable to load the 'main' template.

and user is not deleted.


PS. sorry DIN i cannot find this file in my directory forum:

ThankYouEnglish.xml

Where did it goes?

ThankYouEnglish.xml <- this is the installer for the language xD. This are only thing that use for language things...

I will test this with the error... of deleting single user...

Hmmm work fine... did you make any other things?

Or can you tell me where you tried to delete a single user?

Bye
DIN1031
Title: Re: Thank You Mod
Post by: edi67 on February 10, 2007, 11:17:57 AM
Quote from: DIN1031 on February 10, 2007, 06:36:48 AM
Or can you tell me where you tried to delete a single user?

Bye
DIN1031

from List of Thank you under post that contain the thank you inside i click one * sign and retrn me that error.

Example:
Quote"Thank You":
1. fabry *, 2. pizza *, 3. DiaboliK *, 4. stefano76 *, 5. MrDOS *, 6. monacoracing *, 7. sat.paolo *, 8. my_stique *, 9. eagle10 *, 10. NonnoMultimediale *, 11. honig49 *, 12. CARLO *, 13. cruger *, 14. pappapisciu *, 15. carpie *, 16. Aldo M. *, 17. saian9 *, 18. Mr.Bogartz *, 19. lampada *, 20. piazzale *, 21. angel_82 *, 22. ioio70 *, 23. bestjames *, 24. mikoneo *, 25. amico *, 26. Loveboy *, 27. edi67 *, 28. MORTE_del_CIGNO *, 29. druidosan *, 30. karbon17 *, 31. Mylo *, 32. burrett *, 33. talebano *, 34. barbi *, 35. zikiki *, 36. Ma®co *, 37. kerfal *, 38. sminchia *, 39. dreadlocks *, 40. Wylers *, 41. lupovivace *, 42. robbi *, 43. jarlax *, 44. t1f0n3 *, 45. Axo *, 46. Tex Willer *, 47. devilkawa *, 48. alfie *, 49. Minimo *, 50. eppy *, 51. salv65 *, 52. c4u31 *, 53. picche *, 54. testardone *, 55. Unoqualsiasi *, 56. gigetto *, 57. blueice *, 58. bombolo *, 59. motardxx *, 60. sabbatore *, 61. sav69 *, 62. Dr.Lecter *, 63. habana *, 64. 999 *, 65. Mauriziosat *, 66. xarabas *, 67. aleandro *, 68. 50cent *, 69. Mimmo966 *, 70. 636 *, 71. amyser *, 72. moreftp *, 73. simo/one *, 74. gasperotto *, 75. tornado *, 76. gabry69 *, 77. warrior1 *, 78. perso *, 79. kicco *, 80. milan2004 *, 81. Babbonatale *, 82. Valecalza *, 83. mistermax *, 84. °-°marte *, 85. Frash_2005 *, 86. rique1 *, 87. govinda *, 88. G0j3t4 *, 89. pantanello *, 90. luvigaro *, 91. Rowena72 *, 92. orsoforte *, 93. maudit *, 94. Salmanassar *, 95. stf *

Clicking the * after nickname  i have error:

another error i have is this:

Clicking THANK YOU button add my username in list but i have this error log:

8: Undefined variable: board_info
File: /home2/crazyzonews/www/Sources/ThankYou.php
Linea: 114


Line 114 is :
if(!$board_info['thank_you_topics_enable'])
Title: Re: Thank You Mod
Post by: ディン1031 on February 10, 2007, 01:53:04 PM
Looks like the change in the load.php are not made...


<edit file>
$sourcedir/Load.php
</edit file>

<search for>
b.ID_THEME, b.override_theme, b.permission_mode, b.countPosts
</search for>

<add before>
b.thank_you_automatic, b.thank_you_topics_enable,
</add before>

<search for>
'name' => $row['bname'],
'description' => $row['description'],
</search for>

<replace>
'name' => $row['bname'],
'description' => $row['description'],
'thank_you_topics_enable' => !empty($row['thank_you_topics_enable']),
'thank_you_automatic' => !empty($row['thank_you_automatic']) && !empty($row['thank_you_topics_enable']),
</replace>


And look if you ThankYou.php have the newest version. Or did i forgot to upgrade this... *thinking*. Than it's logical that the other error ocurr. Please upload also the new version of the ThankYou.php (The one in the current Version).

Bye
DIN1031
Title: Re: Thank You Mod
Post by: edi67 on February 11, 2007, 12:57:16 AM
all work perfectly now, strangly i had old Thankyou.php,  upgrading old version was not installed the newest one.

i dont know if is mine problem or package problem

by the way excellent work din
Title: Re: Thank You Mod
Post by: ディン1031 on February 11, 2007, 05:50:21 AM
Hmmm strange i looked now if i forogt something to change in the ThankYou.php by the upgrade but all is in it... very strange...

Sorry for the problem you had :), good to hear that it work know.

Bye
DIN1031
Title: Re: Thank You Mod
Post by: dreamboxforum on February 14, 2007, 07:36:51 PM
THX for the Great Mod, but I have little Problem with this...
I have installed this Mod without Erorrs, than I have make new "Test Post" and I can´t seen any "Thank you Button" ...

I have check the *.xml and seems all files are on the right place, I have checked manually all Permission, use English Lang. but NOTHING. :'(

Use just "default" theme another themes are not present.

Hope anyone can Help me, you will find my SMF Board here: www.dreamboxforum.eu

Thank you  
Title: Re: Thank You Mod
Post by: Bigguy on February 15, 2007, 12:35:13 AM
Are you using a custom theme ???
Title: Re: Thank You Mod
Post by: ディン1031 on February 15, 2007, 01:03:23 AM
Quote from: dreamboxforum on February 14, 2007, 07:36:51 PM
THX for the Great Mod, but I have little Problem with this...
I have installed this Mod without Erorrs, than I have make new "Test Post" and I can´t seen any "Thank you Button" ...

I have check the *.xml and seems all files are on the right place, I have checked manually all Permission, use English Lang. but NOTHING. :'(

Use just "default" theme another themes are not present.

Hope anyone can Help me, you will find my SMF Board here: www.dreamboxforum.eu

Thank you  
First, did you enable it in the board?
Second, if other not see it, did you set the premissionens?

Bye
DIN1031
Title: Re: Thank You Mod
Post by: dreamboxforum on February 15, 2007, 03:57:35 AM
Yes I have enabled it , and i have set Permission....

I don´t have install "Hide Mod" and "Hide Post" ..is it required for run this mod?
Title: Re: Thank You Mod
Post by: ディン1031 on February 16, 2007, 12:24:00 AM
Quote from: dreamboxforum on February 15, 2007, 03:57:35 AM
Yes I have enabled it , and i have set Permission....

I don´t have install "Hide Mod" and "Hide Post" ..is it required for run this mod?
Nope not needed...

Hmmm... *thinking* and also enabled it on the board settings. There where you enable automatic thank you there is a option to enable it for the board?

Bye
DIN1031
Title: Re: Thank You Mod
Post by: dreamboxforum on February 16, 2007, 02:36:02 AM
Sorry I found this OPTION now  in "Board Setttings"  now.

Thank you for your Help :)
Title: Re: Thank You Mod
Post by: [email protected] on February 20, 2007, 08:22:48 AM
Can this mod be installed and be used with a custom theme,and if yes what needs to be changed,thanks.
Title: Re: Thank You Mod
Post by: ディン1031 on February 20, 2007, 10:51:15 AM
Quote from: [email protected] on February 20, 2007, 08:22:48 AM
Can this mod be installed and be used with a custom theme,and if yes what needs to be changed,thanks.
Hmmmm depend on the files the them have. The Themechanges are:


<edit file>
$themedir/Display.template.php
</edit file>

<search for>
else
unset($normal_buttons['custom']);
</search for>

<add after>

//Thank You Button is now where it belongs <<
if (isset($context['thank_you']['premission'])) {
if ($context['thank_you']['premission']['post'])
$normal_buttons['thankyou'] = array('text' => 'd_thank_you', 'image' => 'thank_you.gif', 'lang' => true, 'url' => $scripturl . '?action=thankyoupost;topic=' . $context['current_topic'] . '.0');
elseif ($context['thank_you']['premission']['add'])
$normal_buttons['thankyou'] = array('text' => 'd_thank_you_add', 'image' => 'thank_you_add.gif', 'lang' => true, 'url' => $scripturl . '?action=thankyouadd;topic=' . $context['current_topic'] . '.0');
}
</add after>

<search for>
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();');
</search for>

<add before>
if (isset($context['thank_you']['premission']))
$mod_buttons += array(
'lock_thank_you' => array('test' => 'thank_you_lock', 'text' => 'd_thank_you_lock'.$context['ThankYouLockStatus'], 'image' => 'thank_you_lock'.$context['ThankYouLockStatus'].'.gif', 'lang' => true, 'custom' => '', 'url' => $scripturl . '?action=thankyoulock;topic=' . $context['current_topic'] . '.0'),
'remove_thank_you' => array('test' => 'thank_you_delete', 'text' => 'd_thank_you_remove', 'image' => 'thank_you_delete.gif', 'lang' => true, 'custom' => 'onclick="return confirm(\'' . $txt['d_thank_you_remove_warn'] . '\');"', 'url' => $scripturl . '?action=thankyouremove;topic=' . $context['current_topic'] . '.0'),
);
</add before>


<edit file>
$themedir/ManageBoards.template.php
</edit file>

<search for>
<td valign="top" align="right">
<input type="checkbox" name="count" ', $context['board']['count_posts'] ? ' checked="checked"' : '', ' class="check" />
</td>
</tr>';
</search for>

<replace>
<td valign="top" align="right">
<input type="checkbox" name="count" ', $context['board']['count_posts'] ? ' checked="checked"' : '', ' class="check" />
</td>
</tr>';

// Here is the Thank You Option for the enable of the Thank you in this board!
echo '
<tr>
<td>
<b>', $txt['mboards_thank_you_topics_enable'], '</b><br />
', $txt['mboards_thank_you_topics_enable_desc'], '<br /><br />
</td>
<td valign="top" align="right">
<input type="checkbox" name="thank_you_topics_enable" ', $context['board']['thank_you_topics_enable'] ? ' checked="checked"' : '', ' class="check" />
</td>
</tr>';
// Here is the New Thank You Option for the Board Premissions
echo '
<tr>
<td>
<b>', $txt['mboards_thank_you_automatic'], '</b><br />
', $txt['mboards_thank_you_automatic_desc'], '<br /><br />
</td>
<td valign="top" align="right">
<input type="checkbox" name="thank_you" ', $context['board']['thank_you_automatic'] ? ' checked="checked"' : '', ' class="check" />
</td>
</tr>';
</replace>

<edit file>
$themedir/Post.template.php
</edit file>

<search for>
<tr>
<td class="smalltext"><label for="check_smileys"><input type="checkbox" name="ns" id="check_smileys"', $context['use_smileys'] ? '' : ' checked="checked"', ' value="NS" class="check" /> ', $txt[277], '</label></td>', '
<td class="smalltext">', $context['can_move'] ? '<input type="hidden" name="move" value="0" /><label for="check_move"><input type="checkbox" name="move" id="check_move" value="1" class="check" /> ' . $txt['move_after2'] . '</label>' : '', '</td>
</tr>', $context['can_announce'] && $context['is_first_post'] ? '
<tr>
<td class="smalltext"><label for="check_announce"><input type="checkbox" name="announce_topic" id="check_announce" value="1" class="check" /> ' . $txt['announce_topic'] . '</label></td>
<td class="smalltext"></td>
</tr>' : '', '
</search for>

<add after>
', $context['can_Thank_you'] && empty($context['isThank_You']) ? '
<tr>
<td class="smalltext"><label for="check_thank_you"><input type="checkbox" name="add_thank_you" id="add_thank_you"' . ($context['add_thank_you'] || $context['thank_you_automatic'] ? ' checked="checked"' : '') . ' value="1" class="check" /> '.$txt['thank_you_after2'].'</label></td>
<td class="smalltext"></td>
</tr>' : '', '
</add after>


Bye
DIN1031
Title: Re: Thank You Mod
Post by: [email protected] on February 20, 2007, 07:51:16 PM
Thanks for your reply DIN1031,I'm using the PDX-DK Theme so just tell me what file needs to be changed and I could post here the file and you could give me directions where to do it,thanks.
Title: Re: Thank You Mod
Post by: ディン1031 on February 26, 2007, 12:54:44 AM
Quote from: Xiphi on February 25, 2007, 02:52:43 AM
i need this one: (Thank You Mod Vbullitin Style)

Write me a pm, than i sent you beta version of it ;).

Bye
DIN1031
Title: Re: Thank You Mod
Post by: PUMPHOCKEY on February 27, 2007, 01:02:59 PM
HI DIN1031,

ich bräuchte mal Hilfe... hab vorhin den Thank You Mod per Packages installiert und irgendwie funktioniert er nicht. Ich hab vorher den Hide Special von dir installiert. Hab eine neue Forenkategorie erstellt, das Forum darin und hab Enable Thank You Bot gemacht... trotzdem kommt nichts, wenn ich als Admin den thread gepostet hab, steht unten drunter "No user in the list" oder s.ä.... wenn ich nun mich als mein Testuser einlogge, seh ich da gar nichts... keine Buttons oder so...

Wäre echt schön, wenn du mir helfen könntest!!!

MfG j0ki

edit:

btw... wo kann ich die deutsche lang. datei dazu finden?

edit2:

sry, bin aber noch ein totaler noob... hab heute erst das SMF installiert!
Title: Re: Thank You Mod
Post by: ディン1031 on February 27, 2007, 01:30:13 PM
So die Deutsche Sprachfile findest du in diesen Thread auf der ersten Seite im ersten Post :). Da ist das deutsch Sprachpacket zum installieren der Deutschen Sprache angehängt.

Das andere ist hast du den User auch die Berechtigungen gegeben das sie Danke sagen dürfen und es lesen dürfen ;P. Weil als admin hat man erst mal von vorn herein alle rechte ;P.

Macht man unter AdminCP->Berechtigungen

Gruß
DIN1031
Title: Re: Thank You Mod
Post by: dheeraj on February 27, 2007, 02:24:10 PM
hey Man..

Recently i downloaded ur ThankYouMod111 and i hav
the SMF version 1.12,im new to SMF and i dont know
how to install mods..can u plz tell me how to install
this Mod..

I will be Thank ful to you if u help me..
Title: Re: Thank You Mod
Post by: PUMPHOCKEY on February 27, 2007, 02:29:26 PM
Hallo... danke hab die german lang. vorhin gar nicht gesehen ^^... hab fast alle 12 Seiten durchgeschaut -.-'

so... hat leider nicht wirklich geklappt... hab Häckchen bei "Zeige DANKE Liste", "Danke aussprechen" und "Danke hinzufügen" gemacht...

es sind keine buttons zu sehen und da steht immer "No Users found in the list"...

edit:

und was verdammt komisch ist, dass wenn ich die lang auf englisch hab, dann werden mir die DANKE sachen im ACP auf Deutsch angezeigt und wenn ich die deutsche lang drin hab, dann wird mir an den Stellen im ACP gar ncihts angezeigt!

edit2:

hab gerade mal alles komplett neu installiert... nachdem die install fertig war, im ACP auf german gewechselt, den Thank You Mod installiert, die deutsche Sprachdatei danach und nun funktioniert es, außer dieser dumme Fehler mit englisch -> deutsch im acp und deutsch -> nichts im acp

edit3:

sry, für die vielen edits... aber der hidden mod ist ja auch von dir... der zeigt mir das da jetzt an -> ./Sources/Display.php     Test failed
soll man erst den hidden und dann den thx mod installieren?

Title: Re: Thank You Mod
Post by: ディン1031 on February 28, 2007, 01:07:17 AM
@j0ki

Uff ich dachte du hast den Hide Mod schon installiert xD. Hmmmm normal dachte ich immer es geht auf beiden wegen, aber jetzt kann es schon das das ich durch das das ich den Thank You Mod zum Hide Post kompatible gemacht habe, dass mein Hide Tag nicht mehr auf dem zweiten weg geht... wobei sicher bin ich mir da net.

Aber kann auch sein das ich es immer umgekerht installiert habe ;). Muß ich aber erst heut abend nachvollziehen ob das so ist. Hast du irgendwelche anderen Mods installiert? Und du meinst schon mit Hie Mod den Hide Mod Special?

---

@dheerja -> Via Package Manager? Upload it to the Package dir and klick on install.

Gruß
DIN1031
Title: Re: Thank You Mod
Post by: PUMPHOCKEY on February 28, 2007, 02:36:18 AM
Hi DIN1031... danke erstmal, dass du meine Probleme so bereitwillig aufnimmst und versuchst mir zu helfen!

So nun zum Problem... ne ich hab die gesamte DB geleert und das Forum neu installiert, da ich halt diesen komsichen Bug hatte, mit den Sprachdateien ( dazu später nochmal mehr ) und der Thx Mod wurde mir nicht angezeigt. Dann hab ich SMF neu installiert und habe dann gleich den THX Mod ausprobiert ( muss wohl nochmal neu installieren? oder einfach thx mod deinstallieren und dann den Hide Special [ja den mein ich, den von dir halt ^^] installieren und dann nochmal die install vom thx mod?? ).

Zum Sprachproblem... hab hier mal zwei Screenis gemacht...

1: (http://www.j0ki.de/bilder/thxmod_englang.jpg)

und

2: (http://www.j0ki.de/bilder/thxmod_gerlang.jpg)

Ich bin folgendermaßen vorgegangen, bei der Install:

1. SMF Forum installiert,
2. Nach der Install vom Forum, im ACP auf GERMAN gestellt,
3. Im Paket Manager den Thank You Mod hochgeladen,
4. Installiert,
5. Im Paket Manager die German Dateien vom TY Mod hochgeladen,
6. Installiert,
7. Done

Muss ich den zweiten Schritt weglassen und im ACP erstmal englisch lassen????

edit: sry, hab deine frage vergessen zu beantworten... nein, hab sonst keine anderen mods.
Title: Re: Thank You Mod
Post by: ディン1031 on February 28, 2007, 05:44:15 AM
Ne Ne ist schon so in ordnung ;). Das mit dem Hide Tag Special scheint ja dann wirklich so zu sein, ich werde es einfach heut aben nachgucken in so kompatibel machen das es auch in der Variante geht, sollte eigentlich zu machen sein. ;) Ich weiß sogar ohne auszuprobieren woran es scheitert xD.

Natürlich kannst auf den Thanks Mod deinstallieren, Hide Special installieren und dann wieder Thanks Mod Installieren da ja nichts an den einstellungen verloren geht. ;) (In der Reihenfolge bin ich mir sicher das gehen sollte).

Gruß
DIN1031
Title: Re: Thank You Mod
Post by: PUMPHOCKEY on February 28, 2007, 06:35:21 AM
Ok, werd ich so machen. Und bezüglich mein Problem mit den Sprachen??

edit:

jetzt hab ich wieder nen problem ^^... hab jetzt thx deinstalliert, hide installiert, thx installiert und wenn man in einem thread etwas in [hide][/hide] schreibt und thx anhängt, dann wird der text nach dem bednaken nicht sichtbar
Title: Re: Thank You Mod
Post by: ディン1031 on February 28, 2007, 10:08:13 AM
Hast du auch die option angewählt zum sichtbar machen? Also wenn man es anschaltet geht es astrein ;), hab es ausprobiert.

Und welches sprachproblem? Kann es vielleicht sein das du utf-8 hast ?_?.

Gruß
DIN1031
Title: Re: Thank You Mod
Post by: PUMPHOCKEY on February 28, 2007, 10:21:43 AM
Zum Sprachproblem... hab hier mal zwei Screenis gemacht...

1: (http://www.j0ki.de/bilder/thxmod_englang.jpg)

und

2: (http://www.j0ki.de/bilder/thxmod_gerlang.jpg)

Ich bin folgendermaßen vorgegangen, bei der Install:

1. SMF Forum installiert,
2. Nach der Install vom Forum, im ACP auf GERMAN gestellt,
3. Im Paket Manager den Thank You Mod hochgeladen,
4. Installiert,
5. Im Paket Manager die German Dateien vom TY Mod hochgeladen,
6. Installiert,
7. Done

Muss ich den zweiten Schritt weglassen und im ACP erstmal englisch lassen????

Benutze smf_1-1-2_german
Title: Re: Thank You Mod
Post by: kichu on March 01, 2007, 02:46:50 AM
I installed it and found not working. uninstalled it and again installed it. Again it is not showing the Thank You button. It is showing the message two times like " No Users Found". Am using Pirates theme by AKU. I also added the code that u provided for another theme. see the image and tell me the solution.



(http://img135.imageshack.us/img135/7883/testbt6.png)
Title: Re: Thank You Mod
Post by: Kirill Krasnov on March 01, 2007, 04:44:24 AM
Why I can't see thankyou button on different themes?
Title: Re: Thank You Mod
Post by: ディン1031 on March 01, 2007, 05:24:42 AM
Quote from: kichu on March 01, 2007, 02:46:50 AM
I installed it and found not working. uninstalled it and again installed it. Again it is not showing the Thank You button. It is showing the message two times like " No Users Found". Am using Pirates theme by AKU. I also added the code that u provided for another theme. see the image and tell me the solution.



(http://img135.imageshack.us/img135/7883/testbt6.png)
Hmmm this looks stange, it looks like you instaled the mod twice ;). Because i see the Thank you list two times ?_?.

Alle The Themechanges are found here -> http://www.simplemachines.org/community/index.php?topic=65339.msg970055#msg970055 (http://www.simplemachines.org/community/index.php?topic=65339.msg970055#msg970055)

Quote from: Kirill Krasnov on March 01, 2007, 04:44:24 AM
Why I can't see thankyou button on different themes?
Because mod Authos can not made a super universal mod for all themes who exists!
Title: Re: Thank You Mod
Post by: PUMPHOCKEY on March 01, 2007, 06:13:14 AM
Quote from: j0ki on February 28, 2007, 10:21:43 AM
Zum Sprachproblem... hab hier mal zwei Screenis gemacht...

1: (http://www.j0ki.de/bilder/thxmod_englang.jpg)

und

2: (http://www.j0ki.de/bilder/thxmod_gerlang.jpg)

Ich bin folgendermaßen vorgegangen, bei der Install:

1. SMF Forum installiert,
2. Nach der Install vom Forum, im ACP auf GERMAN gestellt,
3. Im Paket Manager den Thank You Mod hochgeladen,
4. Installiert,
5. Im Paket Manager die German Dateien vom TY Mod hochgeladen,
6. Installiert,
7. Done

Muss ich den zweiten Schritt weglassen und im ACP erstmal englisch lassen????

Benutze smf_1-1-2_german

DIN haste noch ne Lösung für mein Sprachproblem????
Title: Re: Thank You Mod
Post by: ディン1031 on March 01, 2007, 06:39:26 AM
@j0ki mir ist erst jetzt bewust geworden was für einen fehler ich gemacht habe :x

Lad dir einfach diese paket runter und deinstallier das alte deutsche paket <<
http://www.simplemachines.org/community/index.php?action=dlattach;topic=65339.0;attach=28320

Mir ist das erst jetzt aufgefallen das ich die änderungen in die englischen dateien geschrieben habe <<.

Gruß
DIN1031

Title: Re: Thank You Mod
Post by: PUMPHOCKEY on March 01, 2007, 07:59:38 AM
achso :D

naja kann ja passieren! Vielen Dank für deine Hilfe!!!
Title: Re: Thank You Mod
Post by: kichu on March 02, 2007, 05:24:21 AM
ya i installed twise but tell me how to solve it, I already said i followed http://www.simplemachines.org/community/index.php?topic=65339.msg970055#msg970055
these changes and still not working. i really want this mod. help me.
Title: Re: Thank You Mod
Post by: -TMG- on March 03, 2007, 05:36:02 PM
maybe im blind.. but after reading 13 pages im confused

in default rtemplate everything works fine even in german... but im way to dumb to make the changes in display.template.php at my helios theme because the codes that arrange the buttons differ way to much... has anybody any hint how to solve it?
Title: Re: Thank You Mod
Post by: pongsak on March 11, 2007, 03:21:50 PM
thank for nice mod :)
But i've 2 problems after installed it.

1. For the new tread that's never get thank , then i press the button "add thank you" .

(http://www.pic2.us/pic/Gdb60428.png) (http://www.pic2.us)

the board will respond this " No Users found in the list." below the original message,

(http://www.pic2.us/pic/DAe60503.png) (http://www.pic2.us)

then the button "add thank you" change to "thank you"
then i press again , now it's success.

(http://www.pic2.us/pic/sJb60545.png) (http://www.pic2.us)

My name come out to thank you, not the "No Users found in the list."
If the topic 's already get thank , it' s no problems.

2. I use smf 1.1.2 and dilbermc theme with thai language
i don't see anything the picture  that u give.
when i see the old topic in this issue
i 'm surely that i put the right code into display.template.php
and upload the picture to both default theme and dilbermc theme.
however, i don't see anything the picture.

How can i correct it?
Thank you  :(
Title: Re: Thank You Mod
Post by: ディン1031 on March 12, 2007, 07:48:13 AM
Quote from: pongsak on March 11, 2007, 03:21:50 PM
thank for nice mod :)
But i've 2 problems after installed it.

1. For the new tread that's never get thank , then i press the button "add thank you" .

(http://www.pic2.us/pic/Gdb60428.png) (http://www.pic2.us)

the board will respond this " No Users found in the list." below the original message,

(http://www.pic2.us/pic/DAe60503.png) (http://www.pic2.us)

then the button "add thank you" change to "thank you"
then i press again , now it's success.

(http://www.pic2.us/pic/sJb60545.png) (http://www.pic2.us)

My name come out to thank you, not the "No Users found in the list."
If the topic 's already get thank , it' s no problems.

2. I use smf 1.1.2 and dilbermc theme with thai language
i don't see anything the picture  that u give.
when i see the old topic in this issue
i 'm surely that i put the right code into display.template.php
and upload the picture to both default theme and dilbermc theme.
however, i don't see anything the picture.

How can i correct it?
Thank you  :(
Hi

1. That's normal, you must first creat a Thank You Thread, for this some changes are made for the database, also if i not do this, the premission system can not work correct! Because it's a diffrent thing to post a thank you or creat a thank you thread. Normal a Thread Creator made a Thank You Thread out of it, but he/she can not say Thank you to his own thread, so i must also split it in two steps!

2. You need all the Translations for the Tai Language in the file, without in the 1.1.2 smf the buttons are not be shown.

Bye
DIN1031
Title: Re: Thank You Mod
Post by: pongsak on March 12, 2007, 08:37:38 AM
Thank you for your kindness.
1. OK i just get  your idea for question 1 . :)

Quote2. You need all the Translations for the Tai Language in the file

Can U a little bit explain whice file i 've to change.Can't Imagine.  ::)
Title: Re: Thank You Mod
Post by: ディン1031 on March 12, 2007, 09:52:36 AM
@pongsak:
Copy ThankYou.english.php -> ThankYou.???.php (I don't know the thai name for it XD).

And this are the english changes insert this into the thai lanugage :)

#<?xml version="1.0"?>
<!DOCTYPE modification SYSTEM "http://www.simplemachines.org/xml/modification">
<modification xmlns="http://www.simplemachines.org/xml/modification" xmlns:smf="http://www.simplemachines.org/">
<id>din1031:ThankYou</id>
<version>1.1.1</version>
<info>Install the english Language fot the Tank You Mod</info>
<homepage>http://www.ayu-kult.de</homepage>
<file name="$languagedir/index.english.php">
<operation>
<search position="after"><![CDATA[?>]]></search>
<add><![CDATA[
$txt['d_thank_you_lock1'] = 'Close Thank You';
$txt['d_thank_you_lock2'] = 'Open Thank You';
$txt['d_thank_you_remove'] = 'Remove Thank You';
$txt['d_thank_you_remove_warn'] = 'Are you sure you want to remove this Thank You from the topic?';
$txt['d_thank_you_post'] = 'Thank You very much!!!';
$txt['d_thank_you_add'] = 'Add Thank You';
$txt['d_thank_you'] = 'Thank You';
$txt['d_no_thank_you_board'] = 'The option for Thank you has been diabled for this board!';
$txt['d_remove_thank_you_mem'] = 'Delete this member from the Thank You list?';
$txt['d_remove_thank_no_id'] = 'Thank You ID not found!';
]]></add>
</operation>
</file>
<file name="$languagedir/ManagePermissions.english.php">
<operation>
<search position="after"><![CDATA[?>]]></search>
<add><![CDATA[
$txt['permissiongroup_thank_you'] = 'Thank You Mod';
$txt['permissionname_thank_you_view'] = 'View Thank You list';
$txt['permissionhelp_thank_you_view'] = 'This permission allows a user to view the Thank You list. Without this permission, the user will only see the topic.';
$txt['permissionname_thank_you_post'] = 'Post Thank You';
$txt['permissionhelp_thank_you_post'] = 'This permission allows a user to add his name to the Thank you list';
$txt['permissionname_thank_you_add'] = 'Add Thank you';
$txt['permissionhelp_thank_you_add'] = 'This permission allows a user to add a Thank You to the existing thread.';
$txt['permissionname_thank_you_add_own'] = 'Own Thank You';
$txt['permissionname_thank_you_add_any'] = 'Any Thank You';
$txt['permissionname_thank_you_lock'] = 'Lock Thank You';
$txt['permissionhelp_thank_you_lock'] = 'Allow a user to Lock the Thank You List';
$txt['permissionname_thank_you_lock_own'] = 'Own Thank You';
$txt['permissionname_thank_you_lock_any'] = 'Any Thank You';
$txt['permissionname_thank_you_remove'] = 'Delete Thank You';
$txt['permissionhelp_thank_you_remove'] = 'Allow a user to Delete the Thank You List';
$txt['permissionname_thank_you_remove_own'] = 'Own Thank You';
$txt['permissionname_thank_you_remove_any'] = 'Any Thank You';
$txt['permissionname_thank_you_remove_mem'] = 'Delete Thank You User';
$txt['permissionhelp_thank_you_remove_mem'] = 'Allow a user to Delete a single Thank You user from the Thank You List';
$txt['permissionname_thank_you_remove_mem_own'] = 'Own';
$txt['permissionname_thank_you_remove_mem_any'] = 'Any Member';
]]></add>
</operation>
</file>
<file name="$languagedir/ManageBoards.english.php">
<operation>
<search position="after"><![CDATA[?>]]></search>
<add><![CDATA[
$txt['mboards_thank_you_automatic'] = 'Automatic Thank You';
$txt['mboards_thank_you_automatic_desc'] = 'Each new generated thread becomes a "Add Thank You".';
$txt['mboards_thank_you_topics_enable'] = 'Enable Thank You for this Board';
$txt['mboards_thank_you_topics_enable_desc'] = 'Enable the Thank You for this board.';
]]></add>
</operation>
</file>
<file name="$languagedir/Post.english.php">
<operation error="ignore">
<search position="after"><![CDATA[?>]]></search>
<add><![CDATA[
$txt['thank_you_after2'] = 'Add Thank You';
]]></add>
</operation>
</file>
<file name="$languagedir/ModSettings.english.php">
<operation>
<search position="after"><![CDATA[?>]]></search>
<add><![CDATA[
$txt['Thank_You_Headline'] = 'Thank You Mod';
$txt['Thank_You_MemberColor'] = 'Show Colored Member Links';
$txt['Thank_You_UserPreview'] = 'How many user in the Thank You member preview list<br /><font size=1>(<b>0 = all</b>)</font>';
$txt['Thank_You_LinkListOnly'] = 'No member preview list, only link to the thank you list';
$txt['Thank_You_UserOrder'] = 'Last Thank You on first position (normal at last position)';
$txt['Thank_You_AddLink'] = 'Add link each time on the end of the list';
$txt['Thank_You_AddCounter'] = 'Show a counter in front of every user who said Thanks.';
$txt['Thank_You_ShowHidden'] = 'Show hidden content<br /><font size=1><a href="http://mods.simplemachines.org/index.php?mod=118">(require Hide Mod Special)</a></font>';
$txt['Thank_You_ShowHidePostReply'] = 'Unhide the post of "Hide Post" Mod by Leaf<br />(Only if set "replay" to unhide)<br /><font size=1><a href="http://mods.simplemachines.org/index.php?mod=228">(require Hide Post)</a></font><br /><strong>PLEASE USE ONLY ONE OF THE MODS NOT BOTH AT SAME TIME STRANGE THINGS COULD BE HAPPEN!</strong>';
]]></add>
</operation>
</file>
</modification>


Bye
DIN1031
Title: Re: Thank You Mod
Post by: gffb on March 12, 2007, 07:16:00 PM
I have installed this mod on smf 1.1.2 and T.P. 0.97 says installed fine but I see no thank you botton on the posts, is there anything that I am missing or need to setup?
Title: Re: Thank You Mod
Post by: ディン1031 on March 13, 2007, 02:02:43 AM
Quote from: gffb on March 12, 2007, 07:16:00 PM
I have installed this mod on smf 1.1.2 and T.P. 0.97 says installed fine but I see no thank you botton on the posts, is there anything that I am missing or need to setup?
Did you enable it in the boards?
Also set Premissions for it?

Bye
DIN1031
Title: Re: Thank You Mod
Post by: pongsak on March 13, 2007, 10:10:05 AM
Quote from: DIN1031 on March 12, 2007, 09:52:36 AM
@pongsak:
Copy ThankYou.english.php -> ThankYou.???.php (I don't know the thai name for it XD).

And this are the english changes insert this into the thai lanugage :)


Also i done already before posted to you. But in english lang in xxx.thai.php
the question is that the pakage u give 've several pictures such as thank.gif, ...
and i don't see where re they? no in the prepost or post or afterpost.

I would like to know is there a picture that U give show? If yes why i not seen?
:o

Thank you
Title: Re: Thank You Mod
Post by: ディン1031 on March 13, 2007, 01:01:28 PM
This is for some option you can made for themes.

On default theme it's not seen, also it's for the 1.0.x compatibility.

Bye
DIN1031
Title: Re: Thank You Mod
Post by: gffb on March 13, 2007, 05:19:22 PM
Quote from: DIN1031 on March 13, 2007, 02:02:43 AM
Quote from: gffb on March 12, 2007, 07:16:00 PM
I have installed this mod on smf 1.1.2 and T.P. 0.97 says installed fine but I see no thank you botton on the posts, is there anything that I am missing or need to setup?
Did you enable it in the boards?
Also set Premissions for it?

Bye
DIN1031
Thanks they was the settings I was missing
Title: Re: Thank You Mod
Post by: Turk Navy on March 14, 2007, 01:48:17 PM
Quote from: DIN1031 on March 13, 2007, 02:02:43 AM
Quote from: gffb on March 12, 2007, 07:16:00 PM
I have installed this mod on smf 1.1.2 and T.P. 0.97 says installed fine but I see no thank you botton on the posts, is there anything that I am missing or need to setup?
Did you enable it in the boards?
Also set Premissions for it?

Bye
DIN1031

Yes, i have same problem.

My permissions:
(http://i15.tinypic.com/42nv4oz.jpg)

So, what i must do?
Title: Re: Thank You Mod
Post by: ディン1031 on March 14, 2007, 02:43:06 PM
Did you enable it in the boards?

Bye
DIN1031
Title: Re: Thank You Mod
Post by: Turk Navy on March 14, 2007, 05:00:58 PM
Upss, sorry.. Thank you..
Title: Re: Thank You Mod
Post by: -TMG- on March 15, 2007, 05:15:41 PM
Quote from: -TMG- on March 03, 2007, 05:36:02 PM
maybe im blind.. but after reading 13 pages im confused

in default rtemplate everything works fine even in german... but im way to dumb to make the changes in display.template.php at my helios theme because the codes that arrange the buttons differ way to much... has anybody any hint how to solve it?

no hint???
Title: Re: Thank You Mod
Post by: dheeraj on March 20, 2007, 01:51:27 AM
tnks
Title: Re: Thank You Mod
Post by: Shonick on March 21, 2007, 05:50:46 PM
I have problem like the picture
could any one help me please?
Title: Re: Thank You Mod
Post by: jennifer dent on March 21, 2007, 08:47:00 PM
First this is a WONDERFUL MOD!!!

I have a couple of questions if I may:

1) Can I change the word "Thank You" to "Amen"
2) Is this an option for individual post or for topics only?
3) Is this mod compatible with the tinyportal mod?

Thank you in advance for this wonderful mod :)
Title: Re: Thank You Mod
Post by: Bigguy on March 21, 2007, 09:42:00 PM
1.) You should be able to change it in the modifications.english.php file
2.) I do believe topics only
3.) Yes there should be no problem with TP. :)
Title: Re: Thank You Mod
Post by: jennifer dent on March 21, 2007, 10:56:01 PM
Thanks for the response Bigguy!  If it is only for topics and not individual posts I may have to wait. I would love to be able to have something that would permit users to give a "thumbs up" or a hearty "amen" to individual posts 8)

Thanks again for the quick response!  I appreciate it!!
Title: Re: Thank You Mod
Post by: Shonick on March 21, 2007, 10:56:14 PM
I remember the old version is used for individual post.Why this new version only use for the topic.
Title: Re: Thank You Mod
Post by: ディン1031 on March 22, 2007, 02:17:21 AM
Quote from: viet on March 21, 2007, 10:56:14 PM
I remember the old version is used for individual post.Why this new version only use for the topic.
No there where never a version for posts ;). It's not possible with this mod. There was a time where you could use the button on each post was because of a error by my site << but it was a topic realated Thank You Mod.

If you like to try the beta version of the VBulltin in Thank You to posts try this one (http://www.simplemachines.org/community/index.php?topic=154921)

The Beta3 is quite stable, but need some beta testing =).

Bye
DIN1031
Title: Re: Thank You Mod
Post by: Mrs_Robota on March 25, 2007, 12:44:31 AM
Quote from: Turk Navy on March 14, 2007, 01:48:17 PM
Quote from: DIN1031 on March 13, 2007, 02:02:43 AM
Quote from: gffb on March 12, 2007, 07:16:00 PM
I have installed this mod on smf 1.1.2 and T.P. 0.97 says installed fine but I see no thank you botton on the posts, is there anything that I am missing or need to setup?
Did you enable it in the boards?
Also set Premissions for it?

Bye
DIN1031

Yes, i have same problem.

My permissions:
(http://i15.tinypic.com/42nv4oz.jpg)

So, what i must do?

Please I have same problem I installed the mod in my forum SMF 1.1.2 but I don't know where I have to go for made it work, where are the permissions?? I don't find the settings for activate it, I don't see the buttons, please guide me, I never ever install a mod in a forum, I wait their help!!
Title: Re: Thank You Mod
Post by: ディン1031 on March 28, 2007, 01:24:58 AM
Did you not read the posts after it? ;)

I think you forgot to enable it in the boards...

Bye
DIN1031
Title: Re: Thank You Mod
Post by: leomai on March 29, 2007, 06:47:23 PM
i got an error everything installed fine.. but JUST that one.. anything i can do to fix it??

13. Execute Modification ./Sources/ManageBoards.php Test failed

Title: Re: Thank You Mod
Post by: kill4h on April 01, 2007, 06:23:38 AM
Hallo.

Erstmal Respekt für den Mod!  ;)

Leider schaffe ich es nicht den Mod in das von mir verwendete Template einzubauen.
Die Installation war fehlerfrei und im Standard-Template funktioniert es. Das Problem liegt soweit ich das erkennen kann in der Display.template.php, hier wird ein eigenes Menu verwendet. Lediglich scheitere ich dort am Einbau der einzelnen Buttons.  ::)

Wäre nett wenn mir einer sagen kann mit welchem Befehl ich die einbauen muss. Danke!

function theme_show_normal_buttons() {
  global $context, $settings, $options, $txt, $scripturl, $modSettings;

  $buttonArray = array();
if ($context['can_reply'])
$buttonArray[] = '<a href="' . $scripturl . '?action=post;topic=' . $context['current_topic'] . '.' . $context['start'] . ';num_replies=' . $context['num_replies'] . '">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/' . $context['templatestyle'] . '/reply.gif" alt="' . $txt[146] . '" border="0" />' : $txt[146]) . '</a>';
if ($context['can_mark_notify'])
$buttonArray[] = '<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']) . '\');">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/' . $context['templatestyle'] . '/notify.gif" alt="' . $txt[131] . '" border="0" />' : $txt[131]) . '</a>';

// This is a special case; if they can see mark unread, put it at the top... otherwise show add poll.
if ($context['user']['is_logged'] && $settings['show_mark_read'])
$buttonArray[] = '<a href="' . $scripturl . '?action=markasread;sa=topic;t=' . $context['mark_unread_time'] . ';topic=' . $context['current_topic'] . '.' . $context['start'] . ';sesc=' . $context['session_id'] . '">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/' . $context['templatestyle'] . '/markunread.gif" alt="' . $txt['mark_unread'] . '" border="0" />' : $txt['mark_unread']) . '</a>';
elseif ($context['can_add_poll'])
$buttonArray[] = '<a href="' . $scripturl . '?action=editpoll;add;topic=' . $context['current_topic'] . '.' . $context['start'] . ';sesc=' . $context['session_id'] . '">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/' . $context['templatestyle'] . '/addpoll.gif" alt="' . $txt['add_poll'] . '" border="0" />' : $txt['add_poll']) . '</a>';

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'] . '/' . $context['templatestyle'] . '/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'] . '/' . $context['templatestyle'] . '/print.gif" alt="' . $txt[465] . '" border="0" />' : $txt[465]) . '</a>';

echo implode("", $buttonArray);
}


function theme_show_mod_buttons()
{
global $context, $settings, $options, $txt, $scripturl, $modSettings;

$moderationButtons = array();

if ($context['can_move'])
$moderationButtons[] = '<a href="' . $scripturl . '?action=movetopic;topic=' . $context['current_topic'] . '.0">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/admin_move.gif" alt="' . $txt[132] . '" border="0" />' : $txt[132]) . '</a>';
if ($context['can_delete'])
$moderationButtons[] = '<a href="' . $scripturl . '?action=removetopic2;topic=' . $context['current_topic'] . '.0;sesc=' . $context['session_id'] . '" onclick="return confirm(\'' . $txt[162] . '\');">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/admin_rem.gif" alt="' . $txt[63] . '" border="0" />' : $txt[63]) . '</a>';
if ($context['can_lock'])
$moderationButtons[] = '<a href="' . $scripturl . '?action=lock;topic=' . $context['current_topic'] . '.' . $context['start'] . ';sesc=' . $context['session_id'] . '">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/admin_lock.gif" alt="' . (empty($context['is_locked']) ? $txt['smf279'] : $txt['smf280']) . '" border="0" />' : (empty($context['is_locked']) ? $txt['smf279'] : $txt['smf280'])) . '</a>';
if ($context['can_sticky'])
$moderationButtons[] = '<a href="' . $scripturl . '?action=sticky;topic=' . $context['current_topic'] . '.' . $context['start'] . ';sesc=' . $context['session_id'] . '">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/admin_sticky.gif" alt="' . (empty($context['is_sticky']) ? $txt['smf277'] : $txt['smf278']) . '" border="0" />' : (empty($context['is_sticky']) ? $txt['smf277'] : $txt['smf278'])) . '</a>';
if ($context['can_merge'])
$moderationButtons[] = '<a href="' . $scripturl . '?action=mergetopics;board=' . $context['current_board'] . '.0;from=' . $context['current_topic'] . '">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/merge.gif" alt="' . $txt['smf252'] . '" border="0" />' : $txt['smf252']) . '</a>';
if ($context['can_remove_poll'])
$moderationButtons[] = '<a href="' . $scripturl . '?action=removepoll;topic=' . $context['current_topic'] . '.' . $context['start'] . '" onclick="return confirm(\'' . $txt['poll_remove_warn'] . '\');">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/admin_remove_poll.gif" alt="' . $txt['poll_remove'] . '" border="0" />' : $txt['poll_remove']) . '</a>';

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>';

if ($context['can_remove_post'] && !empty($options['display_quick_mod']) && $options['display_quick_mod'] == 1)
$moderationButtons[] = $settings['use_image_buttons'] ? '<input type="image" name="submit" id="quickmodSubmit" src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/delete_selected.gif" alt="' . $txt['quickmod_delete_selected'] . '" />' : '<a href="javascript:document.forms.quickModForm.submit();" id="quickmodSubmit">' . $txt['quickmod_delete_selected'] . '</a>';

return implode("", $moderationButtons);
}

?>
Title: Re: Thank You Mod
Post by: edwardsiow on April 02, 2007, 01:52:52 AM
this mod same with Thank-O-Matic (Beta)??
Title: Re: Thank You Mod
Post by: ディン1031 on April 02, 2007, 05:52:56 AM
Nope has nothing to do with the other mod!

@kill4h
I don't know if it work but i think this are the arrays for the Thank You Mod:

//Normal Button Array ;)
if (isset($context['thank_you']['premission'])) {
if ($context['thank_you']['premission']['post'])
$buttonArray[] = '<a href="' . $scripturl . '?action=thankyoupost;topic=' . $context['current_topic'] . '0">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/' . $context['templatestyle'] . '/thank_you.gif" alt="' . $txt['d_thank_you'] . '" border="0" />' : $txt['d_thank_you']) . '</a>';
elseif ($context['thank_you']['premission']['add'])
$buttonArray[] = '<a href="' . $scripturl . '?action=thankyouadd;topic=' . $context['current_topic'] . '0">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/' . $context['templatestyle'] . '/thank_you_add.gif" alt="' . $txt['d_thank_you_add'] . '" border="0" />' : $txt['d_thank_you_add']) . '</a>';
}


This is the code for the modarray ;)


//Thank You Mod Buttons ;)
if (isset($context['thank_you']['premission'])) {
if ($context['thank_you_lock'])
$buttonArray[] = '<a href="' . $scripturl . '?action=thankyoulock;topic=' . $context['current_topic'] . '.0">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/' . $context['templatestyle'] . '/thank_you_lock'.$context['ThankYouLockStatus'].'.gif'" alt="' . $txt['thank_you_lock'.$context['ThankYouLockStatus']] . '" border="0" />' : $txt['thank_you_lock'.$context['ThankYouLockStatus']]) . '</a>';
if ($context['thank_you_delete'])
$buttonArray[] = '<a href="' . $scripturl . '?action=thankyoulock;topic=' . $context['current_topic'] . '.0">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/' . $context['templatestyle'] . '/thank_you_lock'.$context['ThankYouLockStatus'].'.gif'" alt="' . $txt['thank_you_lock'.$context['ThankYouLockStatus']] . '" border="0" />' : $txt['thank_you_lock'.$context['ThankYouLockStatus']]) . '</a>';
}


Use on own risk ;) it's untest because i can't test it ;D.

Bye
DIN1031
Title: Re: Thank You Mod
Post by: torquone on April 16, 2007, 11:26:54 AM
DIN1031 Thank you very much for your great Mod. ;)

Is it possible to have an Italian Language pack ?

Thank you in advance. :D

Bye
Torquone
Title: Re: Thank You Mod
Post by: ディン1031 on April 16, 2007, 11:50:31 AM
Quote from: torquone on April 16, 2007, 11:26:54 AM
DIN1031 Thank you very much for your great Mod. ;)

Is it possible to have an Italian Language pack ?

Thank you in advance. :D

Bye
Torquone
I can speak only german and english so if not someone else made it *g*, no chance.

Bye
DIN1031
Title: Re: Thank You Mod
Post by: jellybelly on April 20, 2007, 09:02:41 AM
Hi where do i find the setting for this so that i can set up the thanks mod

QuoteDid you enable it in the boards?
Also set Premissions for it?

thanks
Title: Re: Thank You Mod
Post by: ディン1031 on April 20, 2007, 03:53:06 PM
Admin -> Boards -> "Some Borad" -> Modifiy

The other Admin -> Permissions -> "Some Group"

Bye
DIN1031
Title: Re: Thank You Mod
Post by: p-chan on April 21, 2007, 02:44:54 AM
Hi..i can't get the mod to work properly so I decided to delete it. However, even after deleting it, the Thank you Mod permissions as follows is still found in the Features and Options catagory in the Admin panel. Any Idea how I can delete it manually? =) Thanks.

Last Thank You on first position (normal at last position)   
Show Colored Member Links   
Show a counter in front of every user who said Thanks.   

--------------------------------------------------------------------------------

No member preview list, only link to the thank you list   
Add link each time on the end of the list   
How many user in the Thank You member preview list
(0 = all)   

--------------------------------------------------------------------------------

Show hidden content
(require Hide Mod Special)   
Unhide the post of "Hide Post" Mod by Leaf
(Only if set "replay" to unhide)
(require Hide Post)
PLEASE USE ONLY ONE OF THE MODS NOT BOTH AT SAME TIME STRANGE THINGS COULD BE HAPPEN! 
Title: Re: Thank You Mod
Post by: ディン1031 on April 21, 2007, 03:45:37 AM
Quote from: p-chan on April 21, 2007, 02:44:54 AM
Hi..i can't get the mod to work properly so I decided to delete it. However, even after deleting it, the Thank you Mod permissions as follows is still found in the Features and Options catagory in the Admin panel. Any Idea how I can delete it manually? =) Thanks.

Last Thank You on first position (normal at last position)   
Show Colored Member Links   
Show a counter in front of every user who said Thanks.   

--------------------------------------------------------------------------------

No member preview list, only link to the thank you list   
Add link each time on the end of the list   
How many user in the Thank You member preview list
(0 = all)   

--------------------------------------------------------------------------------

Show hidden content
(require Hide Mod Special)   
Unhide the post of "Hide Post" Mod by Leaf
(Only if set "replay" to unhide)
(require Hide Post)
PLEASE USE ONLY ONE OF THE MODS NOT BOTH AT SAME TIME STRANGE THINGS COULD BE HAPPEN! 

ModSetting.php there is this. It's a own function, also the option built is in there.

Bye
DIN1031
Title: Re: Thank You Mod
Post by: p-chan on April 21, 2007, 10:19:44 AM
Quote from: DIN1031 on April 21, 2007, 03:45:37 AM
Quote from: p-chan on April 21, 2007, 02:44:54 AM
Hi..i can't get the mod to work properly so I decided to delete it. However, even after deleting it, the Thank you Mod permissions as follows is still found in the Features and Options catagory in the Admin panel. Any Idea how I can delete it manually? =) Thanks.

Last Thank You on first position (normal at last position)  
Show Colored Member Links  
Show a counter in front of every user who said Thanks.  

--------------------------------------------------------------------------------

No member preview list, only link to the thank you list  
Add link each time on the end of the list  
How many user in the Thank You member preview list
(0 = all)  

--------------------------------------------------------------------------------

Show hidden content
(require Hide Mod Special)  
Unhide the post of "Hide Post" Mod by Leaf
(Only if set "replay" to unhide)
(require Hide Post)
PLEASE USE ONLY ONE OF THE MODS NOT BOTH AT SAME TIME STRANGE THINGS COULD BE HAPPEN! 

ModSetting.php there is this. It's a own function, also the option built is in there.

Bye
DIN1031

Thanks for replying! I'm using the Dilber Multicolor theme..and can't see the ModSetting.php u mentioned..all i can see are these:

Filename Last Modified Size
images   
languages   
BoardIndex.template.php  April 13, 2007, 11:35:26 PM 23.05 KB
index.php  April 13, 2007, 11:35:26 PM 217 B
index.template.php  April 13, 2007, 11:35:26 PM 34.52 KB
MessageIndex.template.php  Today at 02:28:46 PM 27.35 KB
Settings.template.php  April 13, 2007, 11:35:26 PM 6.57 KB
style.css  Today at 10:10:56 PM 8.57 KB
style_lightblue.css  April 13, 2007, 11:35:26 PM 8.02 KB
style_lightbrown.css  April 13, 2007, 11:35:26 PM 8.05 KB
style_lightgolden.css  April 13, 2007, 11:35:26 PM 8.08 KB
style_lightgreen.css  April 13, 2007, 11:35:26 PM 8.05 KB
style_lightlilac.css  April 13, 2007, 11:35:26 PM 8.05 KB
style_lightnavy.css  April 13, 2007, 11:35:26 PM 8.02 KB
style_lightolive.css  April 13, 2007, 11:35:26 PM 8.05 KB
style_lightred.css  April 13, 2007, 11:35:26 PM 7.99 KB
style_lightrose.css  April 13, 2007, 11:35:26 PM 8.02 KB
style_lightsilver.css  April 13, 2007, 11:35:26 PM 8.08 KB
style_lightturquoise.css  April 13, 2007, 11:35:26 PM 8.17 KB
style_lightviolet.css  April 13, 2007, 11:35:26 PM 8.08 KB
theme_info.xml  April 13, 2007, 11:35:26 PM 792 B

So where should i delete the codes forum in order to remove the Thank you Mod option? =)

Title: Re: Thank You Mod
Post by: ディン1031 on April 21, 2007, 03:56:19 PM
???
Title: Re: Thank You Mod
Post by: Bigguy on April 24, 2007, 09:48:55 AM
The ModSetting.php is in the Sources directory, not in the Theme folder.
Title: Re: Thank You Mod
Post by: kfander on April 30, 2007, 06:08:45 PM
Does anyone have this set up on an English-language board so I can see what it's supposed to do?

It installed with no errors, and I can find it in Admin "Features and Options", as well as in the permissions section, but I can't figure out what it's supposed to do or where someone might use it within the forum.

I can't read the pictures (http://www.simplemachines.org/community/index.php?topic=65339.msg890057#msg890057), so I'd like to see it installed somewhere, so that I'd know where to look for it on my own site.

Some of you are making references to "pushing thank you" and I can't find a "thank you" to push on my board, nor would I know where to look.
Title: Re: Thank You Mod
Post by: ディン1031 on May 01, 2007, 05:27:40 AM
You must enable it in the Boards so that it work, i will add some new pictures to the mod Site so that you can see what i mean ;), the pictures a little bit older in the thread.

Okay on the Mod Page are now English Pictures of the current Version of the Mod.

Bye
DIN1031
Title: Re: Thank You Mod
Post by: pulkit on May 04, 2007, 09:19:19 AM
How do I get this to work on SMF 1.1.2 with TP 0.9.8 and Mesh TP theme ??
Does this mod work on any theme expect default ?
Title: Re: Thank You Mod
Post by: ディン1031 on May 04, 2007, 12:34:23 PM
I don't know if it work in Tiny Portal, and i don't know if it work in mesh TP theme... i think it will work but i don't know it ;).

Bye
DIN1031
Title: Re: Thank You Mod
Post by: ikaroweb on May 07, 2007, 03:41:01 PM
hello, i've a problem with your thank you mod, in order to let the username thank under a post i've to click two times on the button, it is normal?
Title: Re: Thank You Mod
Post by: ディン1031 on May 08, 2007, 12:18:46 PM
First you need to create a thank you thread, after that the user can give thank you... (How many times did i write this in the thread <<).

Bye
DIN1031
Title: Re: Thank You Mod
Post by: Inque187 on May 08, 2007, 10:32:59 PM
Wassup and Thanks for the Mod,

I installed it with no errors and setup through admin panel (Boards and All) but I still do not see the "Add Thank You" links in the navigation bar.

What did I do wrong? Thanks for any help.

http://forums.fbi-team.org/index.php?topic=1150.0
Title: Re: Thank You Mod
Post by: ディン1031 on May 09, 2007, 06:32:37 AM
You've it not integrated in your theme.

Bye
DIN1031
Title: Re: Thank You Mod
Post by: Inque187 on May 09, 2007, 11:51:45 AM
Quote from: ディン1031 on May 09, 2007, 06:32:37 AM
You've it not integrated in your theme.

Bye
DIN1031
So which files do I need to edit?

EDIT: NVM, I decided to remove this mod. Thanks anyways.
Title: Re: Thank You Mod
Post by: Waitrose Carpark on May 10, 2007, 04:46:50 AM
Hi there

I've read through this thread but cannot work out which themes file I have to change to get the menu options in the board permissions to work properly?

At the moment I see this:
(http://img526.imageshack.us/img526/9788/problemblankqs1.gif)

Title: Re: Thank You Mod
Post by: ディン1031 on May 10, 2007, 06:44:09 AM
Quote from: Waitrose Carpark on May 10, 2007, 04:46:50 AM
Hi there

I've read through this thread but cannot work out which themes file I have to change to get the menu options in the board permissions to work properly?

At the moment I see this:
(http://img526.imageshack.us/img526/9788/problemblankqs1.gif)


Somehow in you forum are no language files changes not made ?_?, or are these empty spaces something else ?_?.


#<?xml version="1.0"?>
<!DOCTYPE modification SYSTEM "http://www.simplemachines.org/xml/modification">
<modification xmlns="http://www.simplemachines.org/xml/modification" xmlns:smf="http://www.simplemachines.org/">
<id>din1031:ThankYou</id>
<version>1.1.1</version>
<info>Install the english Language fot the Tank You Mod</info>
<homepage>http://www.ayu-kult.de</homepage>
<file name="$languagedir/index.english.php">
<operation>
<search position="after"><![CDATA[?>]]></search>
<add><![CDATA[
$txt['d_thank_you_lock1'] = 'Close Thank You';
$txt['d_thank_you_lock2'] = 'Open Thank You';
$txt['d_thank_you_remove'] = 'Remove Thank You';
$txt['d_thank_you_remove_warn'] = 'Are you sure you want to remove this Thank You from the topic?';
$txt['d_thank_you_post'] = 'Thank You very much!!!';
$txt['d_thank_you_add'] = 'Add Thank You';
$txt['d_thank_you'] = 'Thank You';
$txt['d_no_thank_you_board'] = 'The option for Thank you has been diabled for this board!';
$txt['d_remove_thank_you_mem'] = 'Delete this member from the Thank You list?';
$txt['d_remove_thank_no_id'] = 'Thank You ID not found!';
]]></add>
</operation>
</file>
<file name="$languagedir/ManagePermissions.english.php">
<operation>
<search position="after"><![CDATA[?>]]></search>
<add><![CDATA[
$txt['permissiongroup_thank_you'] = 'Thank You Mod';
$txt['permissionname_thank_you_view'] = 'View Thank You list';
$txt['permissionhelp_thank_you_view'] = 'This permission allows a user to view the Thank You list. Without this permission, the user will only see the topic.';
$txt['permissionname_thank_you_post'] = 'Post Thank You';
$txt['permissionhelp_thank_you_post'] = 'This permission allows a user to add his name to the Thank you list';
$txt['permissionname_thank_you_add'] = 'Add Thank you';
$txt['permissionhelp_thank_you_add'] = 'This permission allows a user to add a Thank You to the existing thread.';
$txt['permissionname_thank_you_add_own'] = 'Own Thank You';
$txt['permissionname_thank_you_add_any'] = 'Any Thank You';
$txt['permissionname_thank_you_lock'] = 'Lock Thank You';
$txt['permissionhelp_thank_you_lock'] = 'Allow a user to Lock the Thank You List';
$txt['permissionname_thank_you_lock_own'] = 'Own Thank You';
$txt['permissionname_thank_you_lock_any'] = 'Any Thank You';
$txt['permissionname_thank_you_remove'] = 'Delete Thank You';
$txt['permissionhelp_thank_you_remove'] = 'Allow a user to Delete the Thank You List';
$txt['permissionname_thank_you_remove_own'] = 'Own Thank You';
$txt['permissionname_thank_you_remove_any'] = 'Any Thank You';
$txt['permissionname_thank_you_remove_mem'] = 'Delete Thank You User';
$txt['permissionhelp_thank_you_remove_mem'] = 'Allow a user to Delete a single Thank You user from the Thank You List';
$txt['permissionname_thank_you_remove_mem_own'] = 'Own';
$txt['permissionname_thank_you_remove_mem_any'] = 'Any Member';
]]></add>
</operation>
</file>
<file name="$languagedir/ManageBoards.english.php">
<operation>
<search position="after"><![CDATA[?>]]></search>
<add><![CDATA[
$txt['mboards_thank_you_automatic'] = 'Automatic Thank You';
$txt['mboards_thank_you_automatic_desc'] = 'Each new generated thread becomes a "Add Thank You".';
$txt['mboards_thank_you_topics_enable'] = 'Enable Thank You for this Board';
$txt['mboards_thank_you_topics_enable_desc'] = 'Enable the Thank You for this board.';
]]></add>
</operation>
</file>
<file name="$languagedir/Post.english.php">
<operation error="ignore">
<search position="after"><![CDATA[?>]]></search>
<add><![CDATA[
$txt['thank_you_after2'] = 'Add Thank You';
]]></add>
</operation>
</file>
<file name="$languagedir/ModSettings.english.php">
<operation>
<search position="after"><![CDATA[?>]]></search>
<add><![CDATA[
$txt['Thank_You_Headline'] = 'Thank You Mod';
$txt['Thank_You_MemberColor'] = 'Show Colored Member Links';
$txt['Thank_You_UserPreview'] = 'How many user in the Thank You member preview list<br /><font size=1>(<b>0 = all</b>)</font>';
$txt['Thank_You_LinkListOnly'] = 'No member preview list, only link to the thank you list';
$txt['Thank_You_UserOrder'] = 'Last Thank You on first position (normal at last position)';
$txt['Thank_You_AddLink'] = 'Add link each time on the end of the list';
$txt['Thank_You_AddCounter'] = 'Show a counter in front of every user who said Thanks.';
$txt['Thank_You_ShowHidden'] = 'Show hidden content<br /><font size=1><a href="http://mods.simplemachines.org/index.php?mod=118">(require Hide Mod Special)</a></font>';
$txt['Thank_You_ShowHidePostReply'] = 'Unhide the post of "Hide Post" Mod by Leaf<br />(Only if set "replay" to unhide)<br /><font size=1><a href="http://mods.simplemachines.org/index.php?mod=228">(require Hide Post)</a></font><br /><strong>PLEASE USE ONLY ONE OF THE MODS NOT BOTH AT SAME TIME STRANGE THINGS COULD BE HAPPEN!</strong>';
]]></add>
</operation>
</file>
</modification>


These are the english language file changes ;).

Bye
DIN1031


Title: Re: Thank You Mod
Post by: Waitrose Carpark on May 10, 2007, 06:47:28 AM
Ahhhh, the manageboard.english.php file hadn't been modified by the installer.

Thanks anyway
Title: Re: Thank You Mod
Post by: rasbobo on May 17, 2007, 05:06:55 AM
Ich habe den Mod incl. deutsches Sprachfile verbaut. Ich hab es auch enabled in dem entsprechenden Forum und Berechtigungen gesetzt. Es wird aber nichts angezeigt. Es liegt wohl an dem theme welches ich verwende, leider weiss ich nicht was ich wo ändern muss :-[

Im Standard Template geht es.

Gruß
bobo
Title: Re: Thank You Mod
Post by: ディン1031 on June 01, 2007, 08:41:25 AM
So I will announce ;)

Sometime in the next weeks months i will release the a beta version of the Thank Mod v2.0 and i search for User who like to test the new version :x.

What will be chaged:
- A Option for AJAX Thank You Post, Lock and Add.
- Statistic Things ;) (Yes i will insert now a counter for it...)
- Show it on the Topic Display (I think i will split, Thanks resived, given or both).
- Most of the ThankYou.php will be overworked, so that i can use it for the ajax
- The Thank You list will now have a own <div></div> tag with a own class, so that you can easy change the style via css
- InlineShowList via AJAX (Instead of a extra list in a window) ;)
- Save the Time when the Thank You was made :x
- Make it Upgradeable for 1.x Version.
- Add some function for the SSI.php

So that's all ;) hope i find some people who will test the beta version for mistakes holes etc.

BYe
DIN1031

Title: Re: Thank You Mod
Post by: xcx on June 01, 2007, 02:10:39 PM
What files need to be writable for this. I Don't know my FTP info and I'd rather just CHMOD them myself.
Title: Re: Thank You Mod
Post by: ディン1031 on June 01, 2007, 03:44:07 PM
Quote from: xcx on June 01, 2007, 02:10:39 PM
What files need to be writable for this. I Don't know my FTP info and I'd rather just CHMOD them myself.
This Files

11.  Execute Modification  ./index.php  Test successful
12. Execute Modification ./Sources/Display.php Test successful
13. Execute Modification ./Sources/Load.php Test successful
14. Execute Modification ./Sources/ManageBoards.php Test successful
15. Execute Modification ./Sources/ManagePermissions.php Test successful
16. Execute Modification ./Sources/ModSettings.php Test successful
17. Execute Modification ./Sources/Post.php Test successful
18. Execute Modification ./Sources/Security.php Test successful
19. Execute Modification ./Sources/Subs-Boards.php Test successful
20. Execute Modification ./Sources/Subs-Post.php Test successful
21. Execute Modification ./Themes/default/Display.template.php Test successful
22. Execute Modification ./Themes/default/ManageBoards.template.php Test successful
23. Execute Modification ./Themes/default/Post.template.php Test successful
24. Execute Modification ./Themes/default/languages/index.english.php Test successful
25. Execute Modification ./Themes/default/languages/ManagePermissions.english.php Test successful
26. Execute Modification ./Themes/default/languages/ManageBoards.english.php Test successful
27. Execute Modification ./Themes/default/languages/Post.english.php Test successful
28. Execute Modification ./Themes/default/languages/ModSettings.english.php Test successful
Title: Re: Thank You Mod
Post by: Turk Navy on June 19, 2007, 04:01:35 PM
Firstly, thank you for this mod.

I am getting error when I enter topics.

Unknown column 'b.thank_you_automatic' in 'field list'


How can i solve this error.
Thank you.
Title: Re: Thank You Mod
Post by: ディン1031 on June 20, 2007, 01:27:50 AM
Did you install via package manager?
?_? did you not made the SQL changes?


ALTER TABLE {$db_prefix}topics ADD thank_you TINYINT(4) DEFAULT '0' NOT NULL

ALTER TABLE {$db_prefix}boards thank_you_automatic TINYINT(4) DEFAULT '0' NOT NULL

ALTER TABLE {$db_prefix}boards thank_you_topics_enable TINYINT(4) DEFAULT '0' NOT NULL

CREATE TABLE IF NOT EXISTS {$db_prefix}thank_you (
ID_THX INT(10) UNSIGNED NOT NULL AUTO_INCREMENT ,
ID_TOPIC MEDIUMINT(8) UNSIGNED NOT NULL ,
ID_MEMBER MEDIUMINT(8) UNSIGNED NOT NULL ,
memberName VARCHAR(80) NOT NULL ,
PRIMARY KEY (ID_THX) ,
INDEX (ID_TOPIC, ID_MEMBER)
) TYPE = MYISAM


This are the SQL Changes my mod make.

Bye
DIN1031
Title: Re: Thank You Mod
Post by: Geit on June 20, 2007, 05:06:20 AM
Hello,

First i want to say that i really hope someone can help me out. I'm searching now for almost three days to find the right answers to my questions. I'm sure here is someone who can help me 8)

I installed the Thank Mod with succes. But there are some very irritating problems.

1. I can''t see the Thank Button on my forum. Not at the Default theme and also at Musiconia...
2. I' have made some changes in the themes.. A couple pages ago i read it. So now i can see it in the admin panel the Thank you mod with the Musiconica theme. One problem solved so far.
3. Another problem, the mod works only when i put the language in to English. Because my forum is for Dutch people i want to be able to use the Dutch Language and your fantastic mod.

I' have installed the hide mod also...

This is a screen i made this morning afther some changes:
(http://i9.tinypic.com/54l9xe0.jpg)

Help me out!
:'(
Title: Re: Thank You Mod
Post by: ディン1031 on June 20, 2007, 05:15:50 AM
1st: Did you enable the Mod in the Boards!
2nd: Did you set you Premissions for the Mod
3rd: Make the English Language Changes in the Dutch Version so that you will see in the Dutch version (Look into the ThankYouEnglish.xml for the english changes).
4th: Make a copy of the ThankYou.english.php to ThankYou.yourLangauge.php.

The Hide Mod is a nice and good working mod ;P (has nothing to do with the Thank You Mod, at the moment).

Bye
DIN1031





Title: Re: Thank You Mod
Post by: Geit on June 20, 2007, 05:59:47 AM
Alright. Now i see the buttons of the Thank mod. And it works damn fine:) But when i change to Musiconica theme then the buttons are gone..

When uppest problem is solved im going to work on the language files.. but first i want this to be good...
Title: Re: Thank You Mod
Post by: ディン1031 on June 20, 2007, 06:28:01 AM
You need to make the Theme Changes :)


<edit file>
$themedir/Display.template.php
</edit file>

<search for>
else
unset($normal_buttons['custom']);
</search for>

<add after>

//Thank You Button is now where it belongs <<
if (isset($context['thank_you']['premission'])) {
if ($context['thank_you']['premission']['post'])
$normal_buttons['thankyou'] = array('text' => 'd_thank_you', 'image' => 'thank_you.gif', 'lang' => true, 'url' => $scripturl . '?action=thankyoupost;topic=' . $context['current_topic'] . '.0');
elseif ($context['thank_you']['premission']['add'])
$normal_buttons['thankyou'] = array('text' => 'd_thank_you_add', 'image' => 'thank_you_add.gif', 'lang' => true, 'url' => $scripturl . '?action=thankyouadd;topic=' . $context['current_topic'] . '.0');
}
</add after>

<search for>
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();');
</search for>

<add before>
if (isset($context['thank_you']['premission']))
$mod_buttons += array(
'lock_thank_you' => array('test' => 'thank_you_lock', 'text' => 'd_thank_you_lock'.$context['ThankYouLockStatus'], 'image' => 'thank_you_lock'.$context['ThankYouLockStatus'].'.gif', 'lang' => true, 'custom' => '', 'url' => $scripturl . '?action=thankyoulock;topic=' . $context['current_topic'] . '.0'),
'remove_thank_you' => array('test' => 'thank_you_delete', 'text' => 'd_thank_you_remove', 'image' => 'thank_you_delete.gif', 'lang' => true, 'custom' => 'onclick="return confirm(\'' . $txt['d_thank_you_remove_warn'] . '\');"', 'url' => $scripturl . '?action=thankyouremove;topic=' . $context['current_topic'] . '.0'),
);
</add before>


<edit file>
$themedir/ManageBoards.template.php
</edit file>

<search for>
<td valign="top" align="right">
<input type="checkbox" name="count" ', $context['board']['count_posts'] ? ' checked="checked"' : '', ' class="check" />
</td>
</tr>';
</search for>

<replace>
<td valign="top" align="right">
<input type="checkbox" name="count" ', $context['board']['count_posts'] ? ' checked="checked"' : '', ' class="check" />
</td>
</tr>';

// Here is the Thank You Option for the enable of the Thank you in this board!
echo '
<tr>
<td>
<b>', $txt['mboards_thank_you_topics_enable'], '</b><br />
', $txt['mboards_thank_you_topics_enable_desc'], '<br /><br />
</td>
<td valign="top" align="right">
<input type="checkbox" name="thank_you_topics_enable" ', $context['board']['thank_you_topics_enable'] ? ' checked="checked"' : '', ' class="check" />
</td>
</tr>';
// Here is the New Thank You Option for the Board Premissions
echo '
<tr>
<td>
<b>', $txt['mboards_thank_you_automatic'], '</b><br />
', $txt['mboards_thank_you_automatic_desc'], '<br /><br />
</td>
<td valign="top" align="right">
<input type="checkbox" name="thank_you" ', $context['board']['thank_you_automatic'] ? ' checked="checked"' : '', ' class="check" />
</td>
</tr>';
</replace>

<edit file>
$themedir/Post.template.php
</edit file>

<search for>
<tr>
<td class="smalltext"><label for="check_smileys"><input type="checkbox" name="ns" id="check_smileys"', $context['use_smileys'] ? '' : ' checked="checked"', ' value="NS" class="check" /> ', $txt[277], '</label></td>', '
<td class="smalltext">', $context['can_move'] ? '<input type="hidden" name="move" value="0" /><label for="check_move"><input type="checkbox" name="move" id="check_move" value="1" class="check" /> ' . $txt['move_after2'] . '</label>' : '', '</td>
</tr>', $context['can_announce'] && $context['is_first_post'] ? '
<tr>
<td class="smalltext"><label for="check_announce"><input type="checkbox" name="announce_topic" id="check_announce" value="1" class="check" /> ' . $txt['announce_topic'] . '</label></td>
<td class="smalltext"></td>
</tr>' : '', '
</search for>

<add after>
', $context['can_Thank_you'] && empty($context['isThank_You']) ? '
<tr>
<td class="smalltext"><label for="check_thank_you"><input type="checkbox" name="add_thank_you" id="add_thank_you"' . ($context['add_thank_you'] || $context['thank_you_automatic'] ? ' checked="checked"' : '') . ' value="1" class="check" /> '.$txt['thank_you_after2'].'</label></td>
<td class="smalltext"></td>
</tr>' : '', '
</add after>

This are all the theme changes made by this mod, you must look in you theme and make the this changes.

Bye
DIN1031
Title: Re: Thank You Mod
Post by: Geit on June 20, 2007, 06:39:09 AM
I already made this changes to my board. I checked them again but it stil not work :'(

@ディン1031 :

Maybe if you want.. can you check my forum.. login on my username + Password and look if i forgot something. I can't sleep of it :-\
Title: Re: Thank You Mod
Post by: lonrot on June 21, 2007, 02:21:47 PM
Hi, I have SMF 1.2 with Tiny Portal 0.97 and SoftMC_Blue as theme.

I had a really hard time trying to figure out how to install this mod, I wonder if anyone can help me.
Title: Re: Thank You Mod
Post by: darkblack323 on June 21, 2007, 08:54:58 PM
how can ı add to 1.1.2 this mod?

ı use orange ball themea

Title: Re: Thank You Mod
Post by: ディン1031 on June 22, 2007, 01:30:32 AM
@darkblack323, @lonrot

Install the Mod via Package Manager and make the Themechanges the change to your theme postet in this post: http://www.simplemachines.org/community/index.php?topic=65339.msg1132771#msg1132771 (http://www.simplemachines.org/community/index.php?topic=65339.msg1132771#msg1132771)

Bye
DIN1031
Title: Re: Thank You Mod
Post by: darkblack323 on June 23, 2007, 02:07:13 PM
There are one problem.I cant install Package Manager.

in Phpmayadmin


Error

SQL query:

ALTER TABLE {$db_prefix}topics ADD thank_you TINYINT( 4 ) DEFAULT '0' NOT NULL ALTER TABLE {$db_prefix}boards thank_you_automatic TINYINT( 4 ) DEFAULT '0' NOT NULL ALTER TABLE {$db_prefix}boards thank_you_topics_enable TINYINT( 4 ) DEFAULT '0' NOT NULL CREATE TABLE IF NOT EXISTS {$db_prefix}thank_you(
ID_THX INT( 10 ) UNSIGNED NOT NULL AUTO_INCREMENT ,
ID_TOPIC MEDIUMINT( 8 ) UNSIGNED NOT NULL ,
ID_MEMBER MEDIUMINT( 8 ) UNSIGNED NOT NULL ,
memberName VARCHAR( 80 ) NOT NULL ,
PRIMARY KEY ( ID_THX ) ,
INDEX ( ID_TOPIC, ID_MEMBER )
) TYPE = MYISAM

MySQL said: Documentation
#1064 - 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 '{$db_prefix}topics ADD thank_you TINYINT(4) DEFAULT '0' NOT NULL

ALTER TABLE ' at line 1

?

Title: Re: Thank You Mod
Post by: ディン1031 on June 23, 2007, 02:42:44 PM
lol this will not work XD.

You must replace the {$db_prefix} with you prefix for tables ;).

Bye
DIN1031
Title: Re: Thank You Mod
Post by: lonrot on June 24, 2007, 03:08:09 PM
Man this is really not working, I'm using Tiny Portal, and my custom theme doesn't have all those files that are supposed to be edited. I uninstalled Thank You Mod and installed Thankyou Omatic, and doesn't work either.

Please somebody help, I desperately need it.
Title: Re: Thank You Mod
Post by: ディン1031 on June 25, 2007, 01:42:21 AM
It is working ;). But i don't know if it work with TP :x, but normal it should.

Installed without error?
First did you change you current theme, did you look if it work on default theme?
Did you enable it in the Board Options?
Set the Premissions so that user can give and see thank you's?
Language changes made?

(It's in both mods the same ;P, but post for the one you need in the right thread...).

Bye
DIN1031
Title: Re: Thank You Mod
Post by: Turk Navy on June 26, 2007, 10:27:17 AM
Quote from: ディン1031 on June 20, 2007, 01:27:50 AM
Did you install via package manager?
?_? did you not made the SQL changes?


ALTER TABLE {$db_prefix}topics ADD thank_you TINYINT(4) DEFAULT '0' NOT NULL

ALTER TABLE {$db_prefix}boards thank_you_automatic TINYINT(4) DEFAULT '0' NOT NULL

ALTER TABLE {$db_prefix}boards thank_you_topics_enable TINYINT(4) DEFAULT '0' NOT NULL

CREATE TABLE IF NOT EXISTS {$db_prefix}thank_you (
ID_THX INT(10) UNSIGNED NOT NULL AUTO_INCREMENT ,
ID_TOPIC MEDIUMINT(8) UNSIGNED NOT NULL ,
ID_MEMBER MEDIUMINT(8) UNSIGNED NOT NULL ,
memberName VARCHAR(80) NOT NULL ,
PRIMARY KEY (ID_THX) ,
INDEX (ID_TOPIC, ID_MEMBER)
) TYPE = MYISAM


This are the SQL Changes my mod make.

Bye
DIN1031


I installed via package manager. There was no problem.

I am using: SMF 1.1.2 with TinyPortal and Azure Theme.

Thank You.
Title: Re: Thank You Mod
Post by: definitive on June 28, 2007, 09:49:35 AM
Thanks for the mod
But how can we enable thank you for all boards? One by one?
Title: Re: Thank You Mod
Post by: ディン1031 on June 28, 2007, 01:21:06 PM
Only one by one :x

Bye
DIN1031
Title: Re: Thank You Mod
Post by: Turk Navy on June 29, 2007, 05:35:15 PM
I tried this sql:

ALTER TABLE smf_topics ADD thank_you TINYINT(4) DEFAULT '0' NOT NULL

ALTER TABLE smf_boards thank_you_automatic TINYINT(4) DEFAULT '0' NOT NULL

ALTER TABLE smf_boards thank_you_topics_enable TINYINT(4) DEFAULT '0' NOT NULL


It didn't work.

I got this error:
#1064 - 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 'ALTER TABLE smf_boards thank_you_automatic TINYINT(4) DEFAULT '0' NOT NULL

AL' at line 3


My PHP version: 5.2.0
My MySql version: 5.0.27-community-nt
Title: Re: Thank You Mod
Post by: phedo on June 30, 2007, 10:33:57 AM
Hello,

I just tried to uninstall this mod - it worked without any errors but there are still the buttons in the forums options and permissions.

Same problem with Thank-You-Matic

Please help!

Phedo
Title: Re: Thank You Mod
Post by: Asterix[M] on June 30, 2007, 11:35:32 AM
i have error in ManagePermissions.php

./Sources/ManagePermissions.php   Test failed

please help
Title: Re: Thank You Mod
Post by: ~Unkn0wn~ on July 05, 2007, 03:41:23 PM
I cant delete it why! Doesnt saids uninstall only list files and delete

Pressed delete
Title: Find all Thank You Postings
Post by: Hondo on July 24, 2007, 04:16:36 PM
Hi,
I want to add the feature to the search.php to find all Posts people gives a thank to me.
How can I do this?

Sorry if this question is solved in postings ago but I´m not keen to read 14 pages.

Andreas
Title: Re: Find all Thank You Postings
Post by: ディン1031 on July 24, 2007, 04:51:47 PM
Quote from: Hondo on July 24, 2007, 04:16:36 PM
Hi,
I want to add the feature to the search.php to find all Posts people gives a thank to me.
How can I do this?

Sorry if this question is solved in postings ago but I´m not keen to read 12 pages.

Andreas
Special to this mod (Hope you don't mean the Thank-O-Matic)?

All postes threads that you created with a thank you?
Hmmm yes it's possible to search, but should the script also search with the option or should it like the show Posts in the Profile?

Bye
DIN1031
Title: Re: Thank You Mod
Post by: Hondo on July 24, 2007, 04:54:36 PM
Hi,
look at my site www.access-o-mania.de/forum and klick on the Suche-Button (Search-Button)
You see the dropdown Box like in vBulletin is.
There's the place for the "show all thank you postings" link.

Only the Postings with a thank you with out any other parameter
Nearly the same as in Profile "show all my Postings" with ... Where thank_you_post = 1 or so.

Andreas



/edit/
no I don't mean thank-o-matic
Title: Re: Thank You Mod
Post by: IrealiTY on July 24, 2007, 04:56:50 PM
hi^^ehm I have a problem:
"Unknown column 'b.thank_you_automatic' in 'field list'"
what should that mean?
Title: Re: Thank You Mod
Post by: ディン1031 on July 24, 2007, 05:02:01 PM
Quote from: IrealiTY on July 24, 2007, 04:56:50 PM
hi^^ehm I have a problem:
"Unknown column 'b.thank_you_automatic' in 'field list'"
what should that mean?
Did you make the db changes?
If not or not sure unpack the install_1.x.x.php upload it to you forum dir and call the file via browser if all correct than it should work after that.

Bye
DIN1031
Title: Re: Thank You Mod
Post by: ディン1031 on July 25, 2007, 10:57:57 AM
Quote from: Hondo on July 24, 2007, 04:54:36 PM
Hi,
look at my site www.access-o-mania.de/forum and klick on the Suche-Button (Search-Button)
You see the dropdown Box like in vBulletin is.
There's the place for the "show all thank you postings" link.

Only the Postings with a thank you with out any other parameter
Nearly the same as in Profile "show all my Postings" with ... Where thank_you_post = 1 or so.

Andreas

/edit/
no I don't mean thank-o-matic
Attached to this posts there is the a Add On to make this possible :)

Version 1.0.0

It's installable over the SMF Parser and need a working Thank You Mod.

I Attached also a Picture what the Add On do ;).

Version 1.0.1

! Removed a Subject Eval Bug =).

Bye
DIN1031
Title: Re: Thank You Mod
Post by: anakmacan on July 29, 2007, 02:48:19 AM
    
QuoteType     Action     Description
1.    Extract File    ./Themes/default/images/english/thank_you.gif    
2.    Extract File    ./Themes/default/images/buttons/thank_you_b.gif    
3.    Extract File    ./Themes/default/images/english/thank_you_add.gif    
4.    Extract File    ./Themes/default/images/english/thank_you_delete.gif    
5.    Extract File    ./Themes/default/images/english/thank_you_lock1.gif    
6.    Extract File    ./Themes/default/images/english/thank_you_lock2.gif    
7.    Extract File    ./Sources/ThankYou.php    
8.    Extract File    ./Themes/default/ThankYou.template.php    
9.    Extract File    ./Themes/default/languages/ThankYou.english.php    
10.    Execute Code    install_1.x.x.php    
11.    Execute Modification    ./index.php    Test successful
12.    Execute Modification    ./Sources/Display.php    Test successful
13.    Execute Modification    ./Sources/Load.php    Test successful
14.    Execute Modification    ./Sources/ManageBoards.php    Test successful
15.    Execute Modification    ./Sources/ManagePermissions.php    Test successful
16.    Execute Modification    ./Sources/ModSettings.php    Test successful
17.    Execute Modification    ./Sources/Post.php    Test successful
18.    Execute Modification    ./Sources/Security.php    Test successful
19.    Execute Modification    ./Sources/Subs-Boards.php    Test successful
20.    Execute Modification    ./Sources/Subs-Post.php    Test successful
21.    Execute Modification    ./Themes/default/Display.template.php    Test failed
22.    Execute Modification    ./Themes/default/ManageBoards.template.php    Test successful
23.    Execute Modification    ./Themes/default/Post.template.php    Test successful
24.    Execute Modification    ./Themes/default/languages/index.english.php    Test successful
25.    Execute Modification    ./Themes/default/languages/ManagePermissions.english.php    Test successful
26.    Execute Modification    ./Themes/default/languages/ManageBoards.english.php    Test successful
27.    Execute Modification    ./Themes/default/languages/Post.english.php    Test successful
28.    Execute Modification    ./Themes/default/languages/ModSettings.english.php    Test successful


my mods are :
Quote1.     Pretty URLs - Base      0.7       [ Uninstall ]  [ List Files ]  [ Delete ]
2.    Topic Ratings    1.03    [ Apply Mod ] [ List Files ] [ Delete ]
3.    SMF 1.0.11 / 1.1.3 Update    1.1    [ Uninstall ] [ List Files ] [ Delete ]
4.    SMF Sitemap    1.2.0    [ Uninstall ] [ List Files ] [ Delete ]
5.    Thank You Mod    1.1.2    [ Apply Mod ] [ List Files ] [ Delete ]
6.    Easy Edit Meta Data    1.0    [ Uninstall ] [ List Files ] [ Delete ]
7. ad management mod
Installed mods: current version

Im using 113, classic yabb theme, Need any help i can get  :P
Title: Re: Thank You Mod
Post by: gmbhneo on August 27, 2007, 08:36:24 AM
hmm sorry im germany and my english isnt that good but i got the prop that there is no thx button on my template ... but i installed it without any errors! ... how can i fix this?
Title: Re: Thank You Mod
Post by: ディン1031 on August 27, 2007, 03:36:24 PM
Did you made the Theme Changes (http://jmusic.ddo.jp/DIN1031/modparser/index.php?action=installMod&smfVersion=1.1.3&name=ThankYouMod112&theme) on your custom theme, also install the extra package for the German Language. And look if you enabled the Mod in the Board Settings and set the permissions for the Mod.

Bye
DIN1031
Title: Re: Thank You Mod
Post by: medflux on September 02, 2007, 05:44:59 PM
does it support 1.1.3 ??? and is there any changes for themes ??? plz help me
Title: Re: Thank You Mod
Post by: ディン1031 on September 04, 2007, 02:37:55 AM
Yes this mod support smf 1.1.3 without problems ;).

Theme Changes for the latest version are -> http://jmusic.ddo.jp/DIN1031/modparser/index.php?action=installMod&smfVersion=1.1.3&name=ThankYouMod112&theme

Bye
DIN1031
Title: Text missing in thankyou mod admin panel
Post by: indonesia on September 19, 2007, 06:38:23 AM
I found nothing in thankyou panel...

my forum using English,

please help...


thank you..
Title: Re: Text missing in thankyou mod admin panel
Post by: ディン1031 on September 19, 2007, 06:39:49 AM
Quote from: dkillers on September 19, 2007, 06:38:23 AM
I found nothing in thankyou panel...

my forum using English,

please help...


thank you..
?_? what do you mean by you found nothing in the Thank You Panel?

Bye
DIN1031
Title: Re: Thank You Mod
Post by: ivo2296 on October 07, 2007, 02:58:05 PM
Hello,
i have installed the mod on smf 1.1.4, i set some boards to support "Thank you", then i allowed post count groups to use the mod. But after 2 hours tests the Admin is the only one who is able to see "Thank you" or "Add thank you" in the posts.

I have used before that mod but now i face the above mentioned problem.

Thank you in advance for your help!


P.S. No errors in the error log.
Title: Re: Thank You Mod
Post by: ivo2296 on October 08, 2007, 12:04:17 PM
After uninstall i see in affected DB tables tracks from the mod like:
Table: smf_boards
field:
thank_you_automatic
thank_you_topics_enable

Would be nice when removing the mod to have reverse procedure in database also. 
Title: Re: Thank You Mod
Post by: jamietje on October 08, 2007, 12:14:37 PM
cool mod thank you
Title: Re: Thank You Mod
Post by: ディン1031 on October 10, 2007, 01:19:45 AM
Quote from: ivo2296 on October 08, 2007, 12:04:17 PM
After uninstall i see in affected DB tables tracks from the mod like:
Table: smf_boards
field:
thank_you_automatic
thank_you_topics_enable

Would be nice when removing the mod to have reverse procedure in database also. 
Nope i will not do this, because most user upgrade by deinstall and install the new one and if i remove this all options are not avaible. And SMF also say that mod author don't need to uninstall database changes.

Bye
DIN1031
Title: Re: Thank You Mod
Post by: ivo2296 on October 10, 2007, 02:12:06 PM
Quote from: ディン1031 on October 10, 2007, 01:19:45 AM
Quote from: ivo2296 on October 08, 2007, 12:04:17 PM
After uninstall i see in affected DB tables tracks from the mod like:
Table: smf_boards
field:
thank_you_automatic
thank_you_topics_enable

Would be nice when removing the mod to have reverse procedure in database also. 
Nope i will not do this, because most user upgrade by deinstall and install the new one and if i remove this all options are not avaible. And SMF also say that mod author don't need to uninstall database changes.

Bye
DIN1031

I was just thinking that it would be better if uninstall, all tracks from a mod to be deleted, but i respect your work and decision.


Thanks a lot!
Title: Re: Thank You Mod
Post by: tlen on October 16, 2007, 04:27:59 PM
Hi,
i tried to install the mod.
In the tests there are no errors.
But after installing and clicking on "Home" i get this error.

Unknown column 'b.thank_you_automatic' in 'field list'

I use SMF 1.1.4, Default Theme, English Language, Last MySql server.

Why's that?

Thanks
Title: Re: Thank You Mod
Post by: Harvester on October 16, 2007, 07:43:35 PM
Quote from: ivo2296 on October 07, 2007, 02:58:05 PM
Hello,
i have installed the mod on smf 1.1.4, i set some boards to support "Thank you", then i allowed post count groups to use the mod. But after 2 hours tests the Admin is the only one who is able to see "Thank you" or "Add thank you" in the posts.

I have used before that mod but now i face the above mentioned problem.

Thank you in advance for your help!


P.S. No errors in the error log.

im having the same issue
Title: Re: Thank You Mod
Post by: ディン1031 on October 18, 2007, 01:29:34 AM
I don't know why but it did not made the sql changes oO.

Look into the install.x.x.php of the mod ;). And look which changes are made.

Bye
DIN1031
Title: Re: Thank You Mod
Post by: ivo2296 on October 18, 2007, 12:29:31 PM
Quote from: Harvester on October 16, 2007, 07:43:35 PM
Quote from: ivo2296 on October 07, 2007, 02:58:05 PM
Hello,
i have installed the mod on smf 1.1.4, i set some boards to support "Thank you", then i allowed post count groups to use the mod. But after 2 hours tests the Admin is the only one who is able to see "Thank you" or "Add thank you" in the posts.

I have used before that mod but now i face the above mentioned problem.

Thank you in advance for your help!


P.S. No errors in the error log.

im having the same issue

I fixed that issue but it is a lot of work if you have large forum, you need to go to each board and each group and see and see the permissions.
Title: Re: Thank You Mod
Post by: iQEM on October 31, 2007, 07:09:15 AM
please, i want to re-install this mod cos it's not appear anymore after i update to SMF 1.1.4 and use custom themes...what can i do to unistall it ? i use SMF 1.1.4 dan Thank you mod version 1.1.2...

when i click Uninstall at Installed Packages it will show
An Error Has Occurred!
This package cannot be uninstalled, because there is no uninstaller!

Please contact the mod author for more information.
Title: Re: Thank You Mod
Post by: ディン1031 on October 31, 2007, 09:48:50 AM
oO you can click uninstall but it has no uninstaller. How can stand there uninstall if there no uninstaller... normal all my mods have a uninstaller. If this not work reupload the packages and try it again.

Bye
DIN1031
Title: Re: Thank You Mod
Post by: iQEM on November 01, 2007, 06:00:40 AM
so, is it okay to re-upload it just like that ?  ::)
Title: Re: Thank You Mod
Post by: ディン1031 on November 01, 2007, 09:29:42 AM
Normal i would say it work, but normal it should also work after a upgrade. ;).

(Depend on how you make the upgrade...).

Bye
DIN1031
Title: Re: Thank You Mod
Post by: TikkA on November 02, 2007, 01:17:21 PM
The mods installed but i cant see it :|
Title: Re: Thank You Mod
Post by: ディン1031 on November 03, 2007, 02:45:28 PM
Theme changes made?
Enabled in the Boards?
Permissions set?

Bye
DIN1031
Title: Re: Thank You Mod
Post by: Harvester on November 09, 2007, 09:34:17 AM
Ive got this mod installed and i have tried the best I can but still some people see it some dont. also some people see the thank you on some threads but not others, even if that board has auto thank you enabled.

Ive been trying to figure thsi one out ofr a while now and i just cant get it to work it seems. I can see it fine and it works fine for me but everyone else is having privlems seeing it.  I am about to give up and remove it.

Please help.
I have SMF 1.1.4
Title: Re: Thank You Mod
Post by: ディン1031 on November 09, 2007, 12:21:55 PM
The automatic option will work only if you user also allow to add thank you to the thread, because if the user not allowed to do this than they can not create new threads with a thank you in it.

Bye
DIN1031
Title: Re: Thank You Mod
Post by: Harvester on November 09, 2007, 12:57:39 PM
Quote from: ディン1031 on November 09, 2007, 12:21:55 PM
The automatic option will work only if you user also allow to add thank you to the thread, because if the user not allowed to do this than they can not create new threads with a thank you in it.

Bye
DIN1031

where and how do I set this option?
Title: Re: Thank You Mod
Post by: tr0y on December 01, 2007, 03:40:48 AM
Same here not working on my side..

I already put theme to default...

Boar permission checked but the thank option is not there...it's visible....

Dunno why its not workingjavascript:void(0);
Sad.....

Any help will be appreciated...

thanks
Title: Re: Thank You Mod
Post by: Harvester on December 01, 2007, 05:58:59 AM
I still cant get this thing to work correctly. Some of my users can see it, some cant. Ive even done screen caps pointing out where the button should be just in case they arent looking in the right spot. Still not all can see it. It seems to be membergroup specific. my high level moderators can see it, i can see it. but no one else can.
Please help.
Title: Re: Thank You Mod
Post by: ディン1031 on December 01, 2007, 01:45:32 PM
New Version with a small new feature ;).

Version 1.1.5 (01.12.07)
- Insert a time stamp when the thank you was given
- Now when you hold the mouse cursor over the user name the time of the thank you will be shown
- Upgrade included

Bye
DIN1031
Title: Re: Thank You Mod
Post by: ディン1031 on December 10, 2007, 12:18:54 PM
Version 1.2.0 (10.12.07)
- Overworked the Thank You List (The Extra page for it, see pictures how it should look like now ;D)
- Add a list array, so that it is better customizable.
- Upgrade included

Bye
DIN1031
Title: Re: Thank You Mod
Post by: lematt on December 11, 2007, 02:55:40 PM
There exists some way of knowing all the times in whole to touched someone in "thank you"?

Perdon for my english
Title: Re: Thank You Mod
Post by: ディン1031 on December 12, 2007, 01:06:56 AM
Quote from: lematt on December 11, 2007, 02:55:40 PM
There exists some way of knowing all the times in whole to touched someone in "thank you"?

Perdon for my english
Yes after the upgrade to Version 1.1.5 and higher ;), than it will be stored in the the database.

It will be shown in the Thank You Overview List, and in if you hold the mouse over the link (Work only in ie and firefox).

But it can not reload old data, because it's not stored before this version ;).

Bye
DIN1031
Title: Re: Thank You Mod
Post by: lematt on December 12, 2007, 10:52:06 AM
Not wise that (1.1.2) are slowed down this way that I am going to install (after adapting it to my language) and assurance that tendre that to wonder again. Thank you very much for the "mod" I like much.

These doing an excellent work

pardon for my english, I use a translator online
Title: Re: Thank You Mod
Post by: Disku on December 30, 2007, 03:44:27 AM
I'v installed the mod but i can't see anywhere the thank you button.....could you help me with that?
Title: Re: Thank You Mod
Post by: ディン1031 on December 30, 2007, 10:32:54 AM
Quote from: Disku on December 30, 2007, 03:44:27 AM
I'v installed the mod but i can't see anywhere the thank you button.....could you help me with that?
First set the permissions for the users in Admin -> Permission.
And than enable it in the Boards where you need this mod.

And if you use a other language than English, than i hope you make a translation for your language (http://jmusic.ddo.jp/DIN1031/modparser/index.php?action=installMod&smfVersion=1.1.4&name=ThankYouMod120&language).

And if you use a special theme than you can look if there are changes need in you theme (http://jmusic.ddo.jp/DIN1031/modparser/index.php?action=installMod&smfVersion=1.1.4&name=ThankYouMod120&theme).

Bye
DIN1031
Title: Re: Thank You Mod
Post by: qubbah on January 04, 2008, 02:43:47 AM
13.     Execute Modification     ./Sources/Display.php     Test failed

i try to find manually with modparser but i cant get it...

what change manually must i have to put in display php....
Title: Re: Thank You Mod
Post by: ディン1031 on January 04, 2008, 02:53:34 AM
Quote from: qubbah on January 04, 2008, 02:43:47 AM
13.     Execute Modification     ./Sources/Display.php     Test failed

i try to find manually with modparser but i cant get it...

what change manually must i have to put in display php....
My mods are not parseable with Daniel15 Modparser ;).

But here is that what i think you wish for:
http://jmusic.ddo.jp/DIN1031/modparser/index.php?action=installMod&smfVersion=1.1.4&name=ThankYouMod120

Bye
DIN1031
Title: Re: Thank You Mod
Post by: Farmacija on January 04, 2008, 04:28:20 PM
why it isn't parseable??
i install it, partional manual, check permissions but i still can't see thank you button??
i use english version of forum.
Title: Re: Thank You Mod
Post by: ディン1031 on January 04, 2008, 05:22:21 PM
Quote from: Farmacija on January 04, 2008, 04:28:20 PM
why it isn't parseable??
i install it, partional manual, check permissions but i still can't see thank you button??
i use english version of forum.
Because i use the Board Mod System ;). And i use a multiple file system in my mods.

Did you enable it in the boards where you want to use it?

Bye
DIN1031
Title: Re: Thank You Mod
Post by: Farmacija on January 04, 2008, 05:40:07 PM
yes i enable it in certain boards and for certain membergroups.
Title: Re: Thank You Mod
Post by: fiver on January 04, 2008, 11:37:22 PM
Hi DIN1031,

I installed this mod successfully yesterday. Today I had a look in the forum error log and found this 1 error:

Quote.... index.php?action=calendar;sa=post;month=11;year=2007;sesc

8: Undefined index:  thank_you_automatic
File: /home/fivearts/public_html/Sources/Post.php
Line: 1069

Using SMF1.1.4. Hope there will be a fix for it.

Thanks.
Title: Re: Thank You Mod
Post by: ディン1031 on January 05, 2008, 05:14:16 AM
Quote from: Farmacija on January 04, 2008, 05:40:07 PM
yes i enable it in certain boards and for certain membergroups.
And it it did not appear on the default theme? :X
Did you make the theme changes for you theme that you use? (Theme Changes (http://jmusic.ddo.jp/DIN1031/modparser/index.php?action=installMod&smfVersion=1.1.4&name=ThankYouMod121&theme)).

Quote from: fivearts on January 04, 2008, 11:37:22 PM
Hi DIN1031,

I installed this mod successfully yesterday. Today I had a look in the forum error log and found this 1 error:

Quote.... index.php?action=calendar;sa=post;month=11;year=2007;sesc

8: Undefined index:  thank_you_automatic
File: /home/fivearts/public_html/Sources/Post.php
Line: 1069

Using SMF1.1.4. Hope there will be a fix for it.

Thanks.

Uhhh this eval bug appear only on one setting XD never used it, this eval bug also happen in wap, wap2 and imode so this is fixed now, too. But it's fixed now with version 1.2.1.



Version 1.2.1 (05.01.08)
! Fix a small eval bug in imode, wap, wap2 mode and one on the Calendar Page
- Upgrade included

Bye
DIN1031

Title: Re: Thank You Mod
Post by: fiver on January 06, 2008, 11:03:53 PM
Hi DIN1031,

Upgraded and tested - no more error.

Thanks ;)
Title: Re: Thank You Mod
Post by: CiOooo on January 10, 2008, 09:09:59 PM
Quote from: ディン1031 on July 25, 2007, 10:57:57 AM
Quote from: Hondo on July 24, 2007, 04:54:36 PM
Hi,
look at my site www.access-o-mania.de/forum and klick on the Suche-Button (Search-Button)
You see the dropdown Box like in vBulletin is.
There's the place for the "show all thank you postings" link.

Only the Postings with a thank you with out any other parameter
Nearly the same as in Profile "show all my Postings" with ... Where thank_you_post = 1 or so.

Andreas

/edit/
no I don't mean thank-o-matic
Attached to this posts there is the a Add On to make this possible :)

Version 1.0.0

It's installable over the SMF Parser and need a working Thank You Mod.

I Attached also a Picture what the Add On do ;).

Bye
DIN1031
what's the wrong?
i installed but i couldt make it like the pic..
the thanks didnt appear on the page..just i can see the link of "thank list button" in the profile page. as i said, template is ok, but i cant see the thanks :(
Title: Re: Thank You Mod
Post by: ディン1031 on January 11, 2008, 03:47:06 AM
Quote from: CiOooo on January 10, 2008, 09:09:59 PM
what's the wrong?
i installed but i couldt make it like the pic..
the thanks didnt appear on the page..just i can see the link of "thank list button" in the profile page. as i said, template is ok, but i cant see the thanks :(
Did you enable it in the boards?
Did you set the Premissions for it?

Bye
DIN1031
Title: Re: Thank You Mod
Post by: wicked1 on January 12, 2008, 07:37:59 PM
would it be possible to enable it on older topics?
i installed it right now and it went fine but there wasnt an option to modify the older threads to add a thank you to it.
Also would it be possible to put the text --  "thank you's:" -- so that people know what the list is supposed to be? Like where it says "No users found in this list" (and after thank yous are added)? Because it will probably confuse new forum users  :-\
Title: Re: Thank You Mod
Post by: ディン1031 on January 13, 2008, 01:45:28 AM
Quote from: wicked1 on January 12, 2008, 07:37:59 PM
would it be possible to enable it on older topics?
i installed it right now and it went fine but there wasnt an option to modify the older threads to add a thank you to it.
Also would it be possible to put the text --  "thank you's:" -- so that people know what the list is supposed to be? Like where it says "No users found in this list" (and after thank yous are added)? Because it will probably confuse new forum users  :-\
If everything is correct installed than "No users found in this list" will appear after you add a Thank You to the Thread, and no one have give a thank you ?_?. It stand also "Thank You" before the Thank You List if some user give a Thank You to the topic.
Even in older Topic it is possible to add a thank, you need only to enable the board option and if someone like to post a "thank you", he/she/it is allowed to add a thank you :x.

Bye
DIN1031
Title: Re: Thank You Mod
Post by: CiOooo on January 14, 2008, 06:26:33 PM
Quote from: ディン1031 on January 11, 2008, 03:47:06 AM
Quote from: CiOooo on January 10, 2008, 09:09:59 PM
what's the wrong?
i installed but i couldt make it like the pic..
the thanks didnt appear on the page..just i can see the link of "thank list button" in the profile page. as i said, template is ok, but i cant see the thanks :(
Did you enable it in the boards?
Did you set the Premissions for it?

Bye
DIN1031

Of course.. do u have any idea for solution :(
Title: Re: Thank You Mod
Post by: ディン1031 on January 15, 2008, 12:54:54 AM
Quote from: CiOooo on January 14, 2008, 06:26:33 PM
Quote from: ディン1031 on January 11, 2008, 03:47:06 AM
Quote from: CiOooo on January 10, 2008, 09:09:59 PM
what's the wrong?
i installed but i couldt make it like the pic..
the thanks didnt appear on the page..just i can see the link of "thank list button" in the profile page. as i said, template is ok, but i cant see the thanks :(
Did you enable it in the boards?
Did you set the Premissions for it?

Bye
DIN1031

Of course.. do u have any idea for solution :(
oO and it work even not on the smf default theme?

Bye
DIN1031
Title: Re: Thank You Mod
Post by: edi67 on January 15, 2008, 03:56:19 AM
you know that even i ask you difficult things, one time i asked you the way for make increase number of posts when one user click the tahnk you button, im not able to do this you can help me ?

i want that clicking thank you the post number increase as one normal topic done.

thx din
Title: Re: Thank You Mod
Post by: ディン1031 on January 15, 2008, 06:45:46 AM
Quote from: edi67 on January 15, 2008, 03:56:19 AM
you know that even i ask you difficult things, one time i asked you the way for make increase number of posts when one user click the tahnk you button, im not able to do this you can help me ?

i want that clicking thank you the post number increase as one normal topic done.

thx din
You mean if someone click on thank you, you want to increase the posts of the on user who click on the thank you?
Should it also reduce the post, if the thank you is deleted? (Than i will be a lot work, if only increasing than it's a one line insert ;D).

Bye
DIN1031
Title: Re: Thank You Mod
Post by: edi67 on January 15, 2008, 07:03:26 AM
Only increase i need :) not important decrease in my forum decrease is not used ;) already

i want only to increase post count
Title: Re: Thank You Mod
Post by: ディン1031 on January 15, 2008, 07:17:32 AM
Than make follow change:

Search in $sourcedir/ThankYou.php for

else
db_query("
INSERT INTO {$db_prefix}thank_you
(ID_TOPIC, ID_MEMBER, memberName, thank_you_time)
VALUES ($topic, $ID_MEMBER, '$user_info[name]', ".time().")", __FILE__, __LINE__);


and replace it with

else {
db_query("
INSERT INTO {$db_prefix}thank_you
(ID_TOPIC, ID_MEMBER, memberName, thank_you_time)
VALUES ($topic, $ID_MEMBER, '$user_info[name]', ".time().")", __FILE__, __LINE__);
updateMemberData($ID_MEMBER, array('posts' => '+'));
}


Bye
DIN1031
Title: Re: Thank You Mod
Post by: edi67 on January 17, 2008, 08:47:36 AM
sorry Din one silly question, but i have many user lazy very lazy so i want ask you if is possible add one NROAML button Thank inside window with hidden content so my user cna find quickkly the thank you button because a lot of times reply where is button i can find it bla bla.

If will be possible i will be glad
thx anyway
Title: Re: Thank You Mod
Post by: ディン1031 on January 19, 2008, 05:31:52 AM
Hmmm thats not so easy :x.
For this i need some changes in the hide tag, and the thank you mod.
Hmmm but i think there could be a way with the help of javascript. ;)
But most user don't like this xD.

Bye
DIN1031
Title: Re: Thank You Mod
Post by: edi67 on January 19, 2008, 07:52:17 AM
Quote from: ディン1031 on January 19, 2008, 05:31:52 AM
Hmmm thats not so easy :x.
For this i need some changes in the hide tag, and the thank you mod.
Hmmm but i think there could be a way with the help of javascript. ;)
But most user don't like this xD.

Bye
DIN1031

and only one button inserted in down part of topic ? i mean after the last word of topic at the end of topic? can be more easy ?
Title: Re: Thank You Mod
Post by: hasnain on January 19, 2008, 12:04:37 PM
My forum is SMF 1.1.4. I download your mod. But it is not working... i can see the mod in my admin panel but i cannot use it in my threads. I am not using my default SMF theme. I am using a "Blue Blaze" theme by Egads Communities. I need help... urjent!!!
Title: Re: Thank You Mod
Post by: ディン1031 on January 20, 2008, 01:46:51 AM
Quote from: hasnain on January 19, 2008, 12:04:37 PM
My forum is SMF 1.1.4. I download your mod. But it is not working... i can see the mod in my admin panel but i cannot use it in my threads. I am not using my default SMF theme. I am using a "Blue Blaze" theme by Egads Communities. I need help... urjent!!!
Look here  there are all the Theme Changes who made by mod. http://jmusic.ddo.jp/DIN1031/modparser/index.php?action=installMod&smfVersion=1.1.4&name=ThankYouMod121&theme

Bye
DIN1031
Title: Re: Thank You Mod
Post by: rdawg on January 20, 2008, 06:24:48 PM
Hello, can you please attach the latest version to some post or something like that, im downloading it but the file seems to be corrupted.

thank you.
Title: Re: Thank You Mod
Post by: ディン1031 on January 21, 2008, 02:34:17 AM
Fixed It... should work now :).

Bye
DIN1031
Title: Re: Thank You Mod
Post by: kosty555 on February 02, 2008, 11:25:27 AM
so, i've installed that mod... everything works except:
- in "Features and Options" menu the tub "THANK you MOD" is present, but when youn click it the tub "Basic Features" loads
How and where can i fix that?
thanks
Title: Re: Thank You Mod
Post by: ディン1031 on February 03, 2008, 01:43:34 AM
I don't know why this happen but sometimes it replace not all strings in the file :x

Look if this to items really everywhere replaced ;).
Change in Filename: $sourcedir/ModSettings.php 
Quote
Search for this

'layout' => array(
'title' => $txt['mods_cat_layout'],
'href' => $scripturl . '?action=featuresettings;sa=layout;sesc=' . $context['session_id'],
),


Replace All with

'layout' => array(
'title' => $txt['mods_cat_layout'],
'href' => $scripturl . '?action=featuresettings;sa=layout;sesc=' . $context['session_id'],
),
'ThankYou' => array(
'title' => $txt['Thank_You_Headline'],
'href' => $scripturl . '?action=featuresettings;sa=ThankYou;sesc=' . $context['session_id'],
),


Search for this

'layout' => 'ModifyLayoutSettings',


Replace All with

'layout' => 'ModifyLayoutSettings',
'ThankYou' => 'ModifyThankYouSettings',

Bye
DIN1031
Title: Re: Thank You Mod
Post by: kosty555 on February 03, 2008, 05:00:48 AM
No.... It is already corrected.... Basically it normally works. Simply I do not understand - why so.
Title: Re: Thank You Mod
Post by: ディン1031 on February 03, 2008, 06:33:33 AM
Quote from: kosty555 on February 03, 2008, 05:00:48 AM
No.... It is already corrected.... Basically it normally works. Simply I do not understand - why so.

oO

now i understand nothing ;P.

Bye
DIN1031
Title: Re: Thank You Mod
Post by: GMCbris on February 15, 2008, 06:48:57 AM
DIN1031

Hi

Great Mod... I have finally made it work (Custom theme :( )

But can you explain to me what "No users found in this list" means - I think it is working OK but when I tested it, this is what I saw

Thanks again... my members are very keen to use this!

GMC
Title: Re: Thank You Mod
Post by: lindawing on February 15, 2008, 09:54:36 AM
I am using the default theme. I installed the mod, and the configuration changes become evident in the board admin center. However, if I click to make the system available to any board and then save, the option to use it does come up SOMETIMES when posting (under Additional Options), but no "Thank You" button appears anywhere, and sometimes even the additional option doesn't happen. If I go back to the board admin area, the option to use the Thank You system is once again UN-checked!

I got frustrated, finally, after many tries, and tried to uninstall the mod, but for some reason, though the INSTALL passed every test and went without a hitch, now the UNINSTALL does NOT pass every test, and I get a dire warning that tells me to "install (not uninstall) at your own risk!"

I don't want to mess up my entire forum. What should I do to uninstall? Or is there a fix so that the whole system will actually work?
Title: Re: Thank You Mod
Post by: ディン1031 on February 18, 2008, 12:50:07 AM
Did you not read my pm?

Bye
DIN1031
Title: Re: Thank You Mod
Post by: GMCbris on February 18, 2008, 10:57:21 PM
Hi 

I have successfully installed this mod, and it works nicely thank you !

I am having trouble with one thing though, and I hope you can guide me.  I run a custom theme, that I didnt create, and I do not have a great deal of knowledge in coding, and the thank you buttons come out as text rather than the custom button

see here

(http://pix.nofrag.com/d/2/8/7aca6c655b955c28ab230d142fc6a.jpg) (http://pix.nofrag.com/d/2/8/7aca6c655b955c28ab230d142fc6a.html)

Can you guide me to where I may have to make the changes to make this look right

GMC

PS I have posted for help in two other sections, but no one has responded :( - so i hope you may be able too.
Title: Re: Thank You Mod
Post by: ディン1031 on February 19, 2008, 01:17:51 AM
Move this files into your default_theme_dir/image/english in your_theme_dir/image/english (if it exists).
thank_you.gif
thank_you_add.gif
thank_you_delete.gif
thank_you_lock1.gif
thank_you_lock2.gif

Bye
DIN1031
Title: Re: Thank You Mod
Post by: GMCbris on February 19, 2008, 02:08:13 AM
Quote from: ディン1031 on February 19, 2008, 01:17:51 AM
Move this files into your default_theme_dir/image/english in your_theme_dir/image/english (if it exists).
thank_you.gif
thank_you_add.gif
thank_you_delete.gif
thank_you_lock1.gif
thank_you_lock2.gif

Bye
DIN1031

Thank you Din

I appreciate the assistance

GMC
Title: Re: Thank You Mod
Post by: sudip on February 21, 2008, 05:02:41 AM
how can i install this mod in other themes except default theme .. please help me.. I'm using smf 1.1.4
Title: Re: Thank You Mod
Post by: ディン1031 on February 22, 2008, 12:16:08 AM
Quote from: sudip on February 21, 2008, 05:02:41 AM
how can i install this mod in other themes except default theme .. please help me.. I'm using smf 1.1.4
Hi

This are the Theme Changes of my Mod (Click Here) (http://jmusic.ddo.jp/DIN1031/modparser/index.php?action=installMod&smfVersion=1.1.4&name=ThankOMatic120&theme)

Bye
DIN1031
Title: Re: Thank You Mod
Post by: gmbhneo on March 24, 2008, 05:22:23 AM
hey din,

i got a little prop when i try to make this work with outher themes ... ive done all changes to the display.template.php and post template.php but i cant find a manage... .php so are thouse changes important? couse it dont work for me at the moment and i checked all changes 3 times so ... im a bit confused ^^" ... can you help me with that? would be nice!

Seems liek all work fine but the "thank you" button dont appear on the page -.-" ... but on the display.template all was fine ... ?!! on the default theme all work .. seems like its a prop with my coustume theme ... but i do all the theme changes .. but as i said the manage ...theme isnt there so i cant do changes .. T_T

Greetings
Gmbhneo
Title: Re: Thank You Mod
Post by: ディン1031 on March 24, 2008, 12:31:47 PM
Quote from: gmbhneo on March 24, 2008, 05:22:23 AM
hey din,

i got a little prop when i try to make this work with outher themes ... ive done all changes to the display.template.php and post template.php but i cant find a manage... .php so are thouse changes important? couse it dont work for me at the moment and i checked all changes 3 times so ... im a bit confused ^^" ... can you help me with that? would be nice!

Seems liek all work fine but the "thank you" button dont appear on the page -.-" ... but on the display.template all was fine ... ?!! on the default theme all work .. seems like its a prop with my coustume theme ... but i do all the theme changes .. but as i said the manage ...theme isnt there so i cant do changes .. T_T

Greetings
Gmbhneo
This template files which not in the theme dir, are allready in the default changed, you need only to change that files who in your theme dir ;).

Bye
DIN1031
Title: Re: Thank You Mod
Post by: Jay Zee on March 27, 2008, 01:35:37 PM
By The Way,
I would like to ask something didn't worked on RocketTheme.
I tried and tried again but nothing special - this may b my fruitless. SMF version is 1.1.4 - theme is based to RocketTheme. Not only "Thank You" mod, most of the mod can't run. But i would like to extremely add "Thank You" mod into SMF forum. Please help me urgently.
So thankfully,
Title: Re: Thank You Mod
Post by: ディン1031 on March 28, 2008, 03:45:45 AM
Quote from: Jay Zee on March 27, 2008, 01:35:37 PM
By The Way,
I would like to ask something didn't worked on RocketTheme.
I tried and tried again but nothing special - this may b my fruitless. SMF version is 1.1.4 - theme is based to RocketTheme. Not only "Thank You" mod, most of the mod can't run. But i would like to extremely add "Thank You" mod into SMF forum. Please help me urgently.
So thankfully,
Uff i know somewhere in the thread is a solution for it...

But you can try to make the Theme changes by hand (But save the files before you do that).
There are the Theme Changes Only -> http://jmusic.ddo.jp/DIN1031/modparser/index.php?action=installMod&smfVersion=1.1.4&name=ThankYouMod121&theme

Bye
DIN1031
Title: Re: Thank You Mod
Post by: terovn on April 17, 2008, 02:05:54 AM
This is one of the most useful mod for SMF that I found. I think being able to "thank" is  very crucial in building a community.

But I wonder why you did not make it for every post instead of per topic? I think it would be even more helpful that way.

Also, thank you for the mod :)
Title: Re: Thank You Mod
Post by: ディン1031 on April 17, 2008, 04:04:09 AM
Quote from: terovn on April 17, 2008, 02:05:54 AM
This is one of the most useful mod for SMF that I found. I think being able to "thank" is  very crucial in building a community.

But I wonder why you did not make it for every post instead of per topic? I think it would be even more helpful that way.

Also, thank you for the mod :)
lol okay if you read the description of the mod you will see there is a extra mod for the post, too.

This mod was created from the phpbb version and in the phpbb version of the mod it's a thread related thank you. The VBStyle Thank You is called Thank-O-Matic -> http://custom.simplemachines.org/mods/index.php?mod=710 (I think i should insert it in Description...)

Bye
DIN1031
Title: Re: Thank You Mod
Post by: terovn on April 17, 2008, 11:48:37 AM
Ok. Sorry I did not read through the description. It was a bit long with info about all different versions.

Thanks
Title: Re: Thank You Mod
Post by: ekene on April 17, 2008, 01:48:08 PM
Please I'm trying to install this mod, but have some problems.

Here is the erro I got when I tried to install it.

Installing this package will perform the following actions:  Type Action Description
1. Extract File ./Themes/default/images/english/thank_you.gif 
2. Extract File ./Themes/default/images/buttons/thank_you_b.gif 
3. Extract File ./Themes/default/images/english/thank_you_add.gif 
4. Extract File ./Themes/default/images/english/thank_you_delete.gif 
5. Extract File ./Themes/default/images/english/thank_you_lock1.gif 
6. Extract File ./Themes/default/images/english/thank_you_lock2.gif 
7. Extract File ./Sources/ThankYou.php 
8. Extract File ./Themes/default/ThankYou.template.php 
9. Extract File ./Themes/default/languages/ThankYou.english.php 
10. Execute Code install_1.x.x.php 
11. Execute Modification ./index.php Test successful
12. Execute Modification ./Sources/Display.php Test successful
13. Execute Modification ./Sources/Load.php Test successful
14. Execute Modification ./Sources/ManageBoards.php Test failed
15. Execute Modification ./Sources/ManagePermissions.php Test successful
16. Execute Modification ./Sources/ModSettings.php Test successful
17. Execute Modification ./Sources/Post.php Test successful
18. Execute Modification ./Sources/Security.php Test successful
19. Execute Modification ./Sources/Subs-Boards.php Test successful
20. Execute Modification ./Sources/Subs-Post.php Test successful
21. Execute Modification ./Themes/default/Display.template.php Test successful
22. Execute Modification ./Themes/default/ManageBoards.template.php Test successful
23. Execute Modification ./Themes/default/Post.template.php Test failed
24. Execute Modification ./Themes/default/languages/index.english.php Test successful
25. Execute Modification ./Themes/default/languages/ManagePermissions.english.php Test successful
26. Execute Modification ./Themes/default/languages/ManageBoards.english.php Test successful
27. Execute Modification ./Themes/default/languages/Post.english.php Test successful
28. Execute Modification ./Themes/default/languages/ModSettings.english.php Test successful


Any help please.
Title: Re: Thank You Mod
Post by: ディン1031 on April 18, 2008, 01:17:25 AM
Quote from: ekene on April 17, 2008, 01:48:08 PM
Please I'm trying to install this mod, but have some problems.

Here is the erro I got when I tried to install it.

23. Execute Modification ./Themes/default/Post.template.php Test failed

Any help please.
First you can install it and make the Missing Changes by Hand ;)
Second you use a other theme than default, and need to do the changes anyway in the other theme *g*
At lwast the Mod should work because the importend changes are made, only the automatic option will not work (if i think correct).

Bye
DIN1031
Title: Re: Thank You Mod
Post by: ekene on April 18, 2008, 06:57:07 AM
QuoteFirst you can install it and make the Missing Changes by Hand

What is the missing change I have to change by hand.

I have not installed it yet, but I need to know the exact change I have to make before I install it.

Title: Re: Thank You Mod
Post by: ディン1031 on April 18, 2008, 08:54:15 AM
Quote from: ekene on April 18, 2008, 06:57:07 AM
QuoteFirst you can install it and make the Missing Changes by Hand

What is the missing change I have to change by hand.

I have not installed it yet, but I need to know the exact change I have to make before I install it.
I can give you only the changes that the mod made in that file ;P.
But not what needed to be changed in your file.

You can look on the mod site there is a parser for it. It show all changes that made by the mod.

Bye
DIN1031
Title: Re: Thank You Mod
Post by: ekene on April 18, 2008, 09:10:59 AM
DIN1301,

Thank you for your reply. Would you just explain it more clearly.

For example, You suggest I go ahead and install the mod, I should go to the file that failed during the installation test and manually modifiy it with the code that will make the mod work properly.

If I'm correct.

Which code will I put in those files, or what is the link to the parser you talked about. 
Title: Re: Thank You Mod
Post by: ekene on April 21, 2008, 10:33:49 AM
I'm still waiting for a solution for the installation of this Mod. Please help.
Title: Re: Thank You Mod
Post by: ディン1031 on April 21, 2008, 01:24:17 PM
http://jmusic.ddo.jp/DIN1031/modparser/index.php?action=installMod&smfVersion=1.1.4&name=ThankYouMod121

This are all Changes that the mod made, search for that what you need. :x.

Or use the parser on the mod page (http://mods.simplemachines.org/index.php?mod=257) it will show the same thing. (It's the button at the bottom of the file list..., select SMF Version and Mod Version and click on submit, and it show all Changes that the mod make).

Bye
DIN1031
Title: Re: Thank You Mod
Post by: disidente de nada on May 10, 2008, 04:21:47 AM
I need this mod translate to spanish language, please! :'(

Thanks, you are very smart!!!
Title: Re: Thank You Mod
Post by: michalss on May 26, 2008, 12:29:00 PM
Hi how can i install it on Babylon theme please. I was trying but theres not same files as default theme has . Please help
Title: Re: Thank You Mod
Post by: MaXiForum.cz on May 29, 2008, 01:40:16 PM
Hallo, ich habe ein Problem.
Ich habe ein Mod instaliert und es funktioniert leider nicht.
Nach dem Klicken auf Thank You Mod ist nichts passiert.
siehe:
(http://megaupload.cz/mini/200/mod.jpg) (http://megaupload.cz/nahled/mod.jpg)
(SMF 1.1.4 - mod ThankYouMod121.zip - Blueace design)
Wo ist das Problem?
Danke für jede Antwort.
PS: URL und Instalation sind in Ordnung  :(
Title: Re: Thank You Mod
Post by: ディン1031 on May 30, 2008, 07:28:47 AM
Quote from: MaxiPes on May 29, 2008, 01:40:16 PM
Hallo, ich habe ein Problem.
Ich habe ein Mod instaliert und es funktioniert leider nicht.
Nach dem Klicken auf Thank You Mod ist nichts passiert.
siehe:
(http://megaupload.cz/mini/200/mod.jpg) (http://megaupload.cz/nahled/mod.jpg)
(SMF 1.1.4 - mod ThankYouMod121.zip - Blueace design)
Wo ist das Problem?
Danke für jede Antwort.
PS: URL und Instalation sind in Ordnung  :(
Erst mal versteh ich net wo du klickst? ;)
Weil das bild sagt mit ganix :x

Gruß
DIN1031
Title: Re: Thank You Mod
Post by: MaXiForum.cz on May 30, 2008, 01:26:53 PM
Danke für deine Antwort  ;)
Nach dem Klicken auf Thank You Mod auf Control Panel erscheint dieses nicht:
(http://megaupload.cz/mini/200/index.php.jpg) (http://megaupload.cz/nahled/index.php.jpg)
Es ist nichts passiert.
Danke für jede Antwort :)
Title: Re: Thank You Mod
Post by: ディン1031 on May 30, 2008, 02:07:13 PM
Öhm das Menü ist doch da?
Oder ist das nur bei deinen Theme so?
Normalerweise ist diese Funktion Theme unabhängig ;).
Somit sollte es auch bei deinen Theme gehen.

Gruß
DIN1031
Title: Re: Thank You Mod
Post by: MaXiForum.cz on May 30, 2008, 03:04:04 PM
Leider ist das im jeden Theme gleich.
Einfach ist es nichts passiert.
more screen:
(http://megaupload.cz/mini/200/zJ1bez-nazvu.jpg) (http://megaupload.cz/nahled/zJ1bez-nazvu.jpg)

(http://megaupload.cz/mini/200/Kmlbez-nazvu2.jpg) (http://megaupload.cz/nahled/Kmlbez-nazvu2.jpg)
Hier ist auch Fehler...  :(
Danke  ;)
Title: Re: Thank You Mod
Post by: ディン1031 on May 31, 2008, 07:57:10 AM
Quote from: MaxiPes on May 30, 2008, 03:04:04 PM
Leider ist das im jeden Theme gleich.
Einfach ist es nichts passiert.
more screen:
(http://megaupload.cz/mini/200/zJ1bez-nazvu.jpg) (http://megaupload.cz/nahled/zJ1bez-nazvu.jpg)

(http://megaupload.cz/mini/200/Kmlbez-nazvu2.jpg) (http://megaupload.cz/nahled/Kmlbez-nazvu2.jpg)
Hier ist auch Fehler...  :(
Danke  ;)
Das sind kein Fehler dir fehlen einfach die Sprachübersetzungen für diese Sprache.
Und wenn nichts passieren täte würden ganz andere Fehler kommen.

Gruß
DIN1031
Title: Re: Thank You Mod
Post by: MaXiForum.cz on May 31, 2008, 08:31:27 AM
Ok
kann dieses Fehler mit dem zusammenhängen, dass es nichts macht?
(http://megaupload.cz/mini/200/qvVbez-nazvu2.jpg) (http://megaupload.cz/nahled/qvVbez-nazvu2.jpg)
(http://megaupload.cz/mini/200/lJ1index.php.jpg) (http://megaupload.cz/nahled/lJ1index.php.jpg)

Dieses Panel funktioniert nich und ich weiss nicht warum...
(http://megaupload.cz/mini/200/index.php.jpg) (http://megaupload.cz/nahled/index.php.jpg)

Im welchen FILE kann ich die Übersetzung reparieren?
hier:
(http://megaupload.cz/mini/200/qvVbez-nazvu2.jpg) (http://megaupload.cz/nahled/qvVbez-nazvu2.jpg)
Danke vielmals ;)
Title: Re: Thank You Mod
Post by: ディン1031 on May 31, 2008, 08:36:22 AM
Überstzungen mußt du nicht reperaieren, sie sind einfach nie für diese Sprach Installiert worden, da der mod diese Sprache nicht hat.

So und hier sind alle Änderungen die der Mod macht:
Theme Änderungen: http://jmusic.ddo.jp/DIN1031/modparser/index.php?action=installMod&smfVersion=1.1.5&name=ThankYouMod121&theme
Sprach Änderungen:
http://jmusic.ddo.jp/DIN1031/modparser/index.php?action=installMod&smfVersion=1.1.5&name=ThankYouMod121&language

Einfach schauen was bei deinen Theme fehlt und die englischen sachen in deine Sprache übertragen.

Gruß
DIN1031


Title: Re: Thank You Mod
Post by: MaXiForum.cz on May 31, 2008, 10:58:31 AM
Ich brauche es nicht in meiner Sprache es zu haben.
Ich dachte dass es damit zusammenhängen könnte.
Ich brauche damit dieses Panel funktioniert...
(http://megaupload.cz/mini/200/index.php.jpg) (http://megaupload.cz/nahled/index.php.jpg)
:(
Die Änderungen sind für enine andere Version. Ich habe 1.1.4.
Danke
Title: Re: Thank You Mod
Post by: ディン1031 on June 01, 2008, 10:10:51 AM
Quote from: MaxiPes on May 31, 2008, 10:58:31 AM
Ich brauche es nicht in meiner Sprache es zu haben.
Ich dachte dass es damit zusammenhängen könnte.
Ich brauche damit dieses Panel funktioniert...
(http://megaupload.cz/mini/200/index.php.jpg) (http://megaupload.cz/nahled/index.php.jpg)
:(
Die Änderungen sind für enine andere Version. Ich habe 1.1.4.
Danke
http://jmusic.ddo.jp/DIN1031/modparser/index.php?action=installMod&smfVersion=1.1.4&name=ThankYouMod121&theme

Dann empfehle ich dir zu schauen ob die Änderungen in deinen Theme umgesetzt worden sind.

Gruß
DIN1031
Title: Re: Thank You Mod
Post by: MaXiForum.cz on June 01, 2008, 11:55:07 AM
Hi,
schon wieder kontrolliert und alles ist in Ordnung.
Ich weiss wirklich nicht was zu tun.
Danke, danke, danke
Title: Re: Thank You Mod
Post by: ディン1031 on June 02, 2008, 12:54:22 AM
Quote from: MaxiPes on June 01, 2008, 11:55:07 AM
Hi,
schon wieder kontrolliert und alles ist in Ordnung.
Ich weiss wirklich nicht was zu tun.
Danke, danke, danke
Hmmm dann ist es für mich auch schwer, schon mal ins Default Theme deines Forums gewechselt und dann geschaut ob das Menü aufrufbar ist? :X Mir gehen die Ideen aus...

Gruß
DIN1031
Title: Re: Thank You Mod
Post by: MaXiForum.cz on June 02, 2008, 01:58:32 AM
Es funktioniert im keinen Theme
Wird auch die Version für SMF 2.0 sein? Ich möchte sowieso übergehen...
Danke...

EDIT:
Ich brauche es für UN/HIDE button.
http://custom.simplemachines.org/mods/index.php?mod=118
Oder ist das andere Lösung für dieses mod?
:) ;)
THX
Title: Re: Thank You Mod
Post by: ディン1031 on June 02, 2008, 05:07:12 AM
Quote from: MaxiPes on June 02, 2008, 01:58:32 AM
Es funktioniert im keinen Theme
Wird auch die Version für SMF 2.0 sein? Ich möchte sowieso übergehen...
Danke...

EDIT:
Ich brauche es für UN/HIDE button.
http://custom.simplemachines.org/mods/index.php?mod=118
Oder ist das andere Lösung für dieses mod?
:) ;)
THX
Also wenn es in keine Theme geht ist Defenetiv etwas bei Installation schief gelaufen, schau mal ob diese
Änderungen gemacht worden sind.


Änderung in Datei: $sourcedir/ModSettings.php
Quote
Suche nach folgenden
'layout' => array(
'title' => $txt['mods_cat_layout'],
'href' => $scripturl . '?action=featuresettings;sa=layout;sesc=' . $context['session_id'],
),

Ersetze alles mit folgenden
'layout' => array(
'title' => $txt['mods_cat_layout'],
'href' => $scripturl . '?action=featuresettings;sa=layout;sesc=' . $context['session_id'],
),
'ThankYou' => array(
'title' => $txt['Thank_You_Headline'],
'href' => $scripturl . '?action=featuresettings;sa=ThankYou;sesc=' . $context['session_id'],
),

Suche nach folgenden
'layout' => 'ModifyLayoutSettings',

Ersetze alles mit folgenden
'layout' => 'ModifyLayoutSettings',
'ThankYou' => 'ModifyThankYouSettings',

Suche nach folgenden
$context['post_url'] = $scripturl . '?action=featuresettings2;save;sa=karma';
$context['settings_title'] = $txt['smf293'];

prepareDBSettingContext($config_vars);
}

Füge danach folgendes ein
function ModifyThankYouSettings()
{
global $txt, $scripturl, $context, $settings, $sc;

$config_vars = array(
//Thank you User Settings?
array('check', 'Thank_You_UserOrder'),
array('check', 'Thank_You_MemberColor'),
array('check', 'Thank_You_AddCounter'),
'',
//ThankYouList or not ;)
array('check', 'Thank_You_LinkListOnly'),
array('check', 'Thank_You_AddLink'),
array('int', 'Thank_You_UserPreview'),
'',
//HideMod DIN1031 Version
array('check', 'Thank_You_ShowHidden'),
//HideMod Leaf Version
array('check', 'Thank_You_ShowHidePostReply'),
);

// Saving?
if (isset($_GET['save']))
{
saveDBSettings($config_vars);
redirectexit('action=featuresettings;sa=ThankYou');
}

$context['post_url'] = $scripturl . '?action=featuresettings2;save;sa=ThankYou';
$context['settings_title'] = $txt['Thank_You_Headline'];

prepareDBSettingContext($config_vars);
}

Ein Änderunge müste zweimal in diser Datei gemacht werden.

Im moment Plane ich nicht diesen Mod in Version SMF 2 zu machen, im moment arbeite ich an einen Konverter der diese Thank You Mod Version in den Thank-O-Matic umwandelt, da in der Version 2 der Thank-O-Matic auch ein reine Thread Danke Funktion unterstützt. (Und dies besser händelt, und somit etwas schneller sein sollte). Somit empfehle ich dir wenn du wirklich die Version 2 von SMF haben möchtest das den Mod Thank-O-Matic verwendest

Gruß
DIN1031
Title: Re: Thank You Mod
Post by: MaXiForum.cz on June 02, 2008, 03:12:53 PM
Danke vielmals ich versuche Thank-O-Matic ;)
Du bist ein wirklicher Simple Machines Hero :)
Ich melde mich noch...
Title: Re: Thank You Mod
Post by: Sakae on June 02, 2008, 06:56:26 PM
Could you guys translate to english if MaxiPes's error is common?
Title: Re: Thank You Mod
Post by: ディン1031 on June 03, 2008, 08:20:16 AM
Quote from: softcore on June 02, 2008, 06:56:26 PM
Could you guys translate to english if MaxiPes's error is common?
No time ;P.
It's not a common error, i don't which error it is and i could not solve it.

Bye
DIN1031
Title: Re: Thank You Mod
Post by: MaXiForum.cz 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:
(http://megaupload.cz/mini/200/F3Fbez-nazvu.jpg) (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
Title: Re: Thank You Mod
Post by: ディン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:
(http://megaupload.cz/mini/200/F3Fbez-nazvu.jpg) (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
Title: Re: Thank You Mod
Post by: MaXiForum.cz on June 03, 2008, 02:25:00 PM
Ok apologize
THX
http://www.simplemachines.org/community/index.php?topic=176565.300
Title: Re: Thank You Mod
Post by: taurean on June 08, 2008, 10:07:03 AM
I have installed in default theme ver 1.1.5. installation was succesful but i cant see the tab in Features & Options in admin panel settings. pls help
Title: Re: Thank You Mod
Post by: ディン1031 on June 09, 2008, 01:04:46 AM
Quote from: taurean on June 08, 2008, 10:07:03 AM
I have installed in default theme ver 1.1.5. installation was succesful but i cant see the tab in Features & Options in admin panel settings. pls help
Did you made the Lanugage Changes for you language?

Bye
DIN1031
Title: Re: Thank You Mod
Post by: GMCbris on June 23, 2008, 09:14:43 AM
Hi

I am doing a manual install on a 1.1.5 forum

My Display.template file is causing a Parse error - would someone please have a look at it asn see what i did wrong

I couldnt find this piece of code :(

else unset($normal_buttons['custom']);

But i jammed the rest of the code in there somewhere - lol

Thanks for helping

GMC



Title: Re: Thank You Mod
Post by: the_shadow on June 23, 2008, 12:20:03 PM
hello ppl i've installed manualy but in the board when i push the button Thnank you mod theres an error

Fatal error: Call to undefined function ModifyThankYouSettings() in /home/cenaseu/public_html/Sources/ModSettings.php on line 164

line 163/164 is written:
// Call the right function for this sub-acton.
   $subActions[$_REQUEST['sa']]();


what can i do???


thnkx shadow
Title: Re: Thank You Mod
Post by: ディン1031 on June 24, 2008, 12:39:17 AM
Quote from: the_shadow on June 23, 2008, 12:20:03 PM
hello ppl i've installed manualy but in the board when i push the button Thnank you mod theres an error

Fatal error: Call to undefined function ModifyThankYouSettings() in /home/cenaseu/public_html/Sources/ModSettings.php on line 164

line 163/164 is written:
// Call the right function for this sub-acton.
   $subActions[$_REQUEST['sa']]();


what can i do???


thnkx shadow
oO what have this function to do with the thank you button ah the thank you button in the mod settings ;).
I think you did not insert the changes into the ModSettings.php.

Look which changes are not made, i think you miss the last one ;).

Bye
DIN1031
Title: Re: Thank You Mod
Post by: the_shadow on June 24, 2008, 12:27:10 PM
no e made all the modifications in all fliles!!!!!!!


i put after the $subActions[$_REQUEST['sa']](); two // and the error is gone but in the board when i push thank you mod nothing happens
Title: Re: Thank You Mod
Post by: ディン1031 on June 25, 2008, 12:44:44 AM
Quote from: the_shadow on June 24, 2008, 12:27:10 PM
no e made all the modifications in all fliles!!!!!!!


i put after the $subActions[$_REQUEST['sa']](); two // and the error is gone but in the board when i push thank you mod nothing happens
No if you did that than this error should not occure...

Bye
DIN1031
Title: Re: Thank You Mod
Post by: the_shadow on June 25, 2008, 04:17:51 PM
ok i dont know what else i can do....don't work for me!!!! i'm sad!!!
Title: Re: Thank You Mod
Post by: ディン1031 on June 26, 2008, 12:58:01 AM
IF you really made all changes correct that the "Call to undefined function ModifyThankYouSettings()" would not come because you insert this part into the file ;).

If you like you can add you ModSettings.php than i can tell you what you did wrong *g*.

Bye
DIN1031
Title: Re: Thank You Mod
Post by: GMCbris on June 27, 2008, 12:41:34 AM
Quote from: GMCbris on June 23, 2008, 09:14:43 AM
Hi

I am doing a manual install on a 1.1.5 forum

My Display.template file is causing a Parse error - would someone please have a look at it asn see what i did wrong

I couldnt find this piece of code :(

else unset($normal_buttons['custom']);

But i jammed the rest of the code in there somewhere - lol

Thanks for helping

GMC





I am sure this isnt hard... if someone could please let me know where I went wrong, I would appreciate it

GMC
Title: Re: Thank You Mod
Post by: Minare on July 11, 2008, 04:01:27 PM
What should be tha path way to Thank You mod management in admin panel. Because I don see thethank you option in admin. I need the path

Thanks
Title: Re: Thank You Mod
Post by: ghostfreak on July 11, 2008, 04:25:29 PM
I am using SMF 1.1.5 and I applied the package but it says that the test failed on the ./Sources/Display.php file - any ideas?
Title: Re: Thank You Mod
Post by: Minare on July 11, 2008, 04:30:52 PM
Quote from: ghostfreak on July 11, 2008, 04:25:29 PM
I am using SMF 1.1.5 and I applied the package but it says that the test failed on the ./Sources/Display.php file - any ideas?

It doesn matter, implement the package and make changes on display.php manually
Title: Re: Thank You Mod
Post by: unformatted_ on July 20, 2008, 05:19:44 PM
Fantastic mod. thank you.

It´s possible to have this simple hand up/down to rate post?

http://www.compojoom.com/index.php/demo.html#CommentForm
Title: Re: Thank You Mod
Post by: ディン1031 on July 21, 2008, 01:19:23 AM
It's a thank you mod, it's not mod to rate a post... it will only say thank you to the thread owner who give this nice information to all user :). The only mod that can be rewriten to do a thing like that is the thank-o-matic, because this mod stores poste related thank you's.

Bye
DIN1031
Title: Re: Thank You Mod
Post by: CrazyHorse80 on July 21, 2008, 05:13:51 PM
Got an error on display.php... It interferes with "rename attachments mod", so I trie to modify thank you mod file to suite my necessity and repack it, reaploaded it, but it always give me a parse error...
What can I do?
Here is my display.php: (didn't fit...)

Here is the piece of code different than the one in the mod file:
if (empty($options['view_newest_first']))
$counter++;
else
$counter--;

//Can Rename Attachments?
$output['can_rename_attachment'] = !empty($output['attachment']) && (allowedTo('rename_attachments_any') || allowedTo('rename_attachments_own') && $ID_MEMBER == $message['ID_MEMBER']);

return $output;

Bye,
PS
Title: Re: Thank You Mod
Post by: ディン1031 on July 22, 2008, 12:38:15 AM
Quote from: CrazyHorse80 on July 21, 2008, 05:13:51 PM
Got an error on display.php... It interferes with "rename attachments mod", so I trie to modify thank you mod file to suite my necessity and repack it, reaploaded it, but it always give me a parse error...
What can I do?
Here is my display.php: (didn't fit...)

Here is the piece of code different than the one in the mod file:
if (empty($options['view_newest_first']))
$counter++;
else
$counter--;

//Can Rename Attachments?
$output['can_rename_attachment'] = !empty($output['attachment']) && (allowedTo('rename_attachments_any') || allowedTo('rename_attachments_own') && $ID_MEMBER == $message['ID_MEMBER']);

return $output;

Bye,
PS
Try the Fixed Packaged Version to install the mod :).
Normal it should work now.

Bye
DIN1031
Title: Re: Thank You Mod (1.2.1)
Post by: Sudhakar Arjunan on July 22, 2008, 02:24:50 AM
Hi DIN1031,

Thank you for this Thank you mod.

I have installed manually.
Had some errors when i went through package manager.
Now everything is up and running good.

I have some small doubts.
1) In post.template.php i have checked these

neededs changes like this at end of the line - </tr>' : '', '

There in the post template file which i found- </tr>' : '';


But i have manually modified and make this </tr>' : '', ' after thank you code.

2) Confused about the usage. - Sorry for it
I have gone to someone's post and clicked add thank you , then i have again click thank you.
So is it every time i have to go and click add thank you in all post made.

3) Could see the thank you only inside the post, does it have any list of thank's you's made my no. of members in board index.

Thanks a lot for this wonderful thank you mod.
Title: Re: Thank You Mod (1.2.1)
Post by: ディン1031 on July 22, 2008, 07:50:59 AM
1) Somehow i'm confused after reading this oO and understand nothing *runs*

2) Enable the Automatic Option ;) but work only if you correct change the Post.template.php.

3) Hmmm nope nothing like that is loaded or built ;). I load only informations what needed. It is possible to do this but i never thought on it.

Bye
DIN1031
Title: Re: Thank You Mod (1.2.1)
Post by: Sudhakar Arjunan on July 22, 2008, 08:23:14 AM
Thanks for your Reply DIN1031.

i have properly modified and its working perfect.

While installing no errors in post.template file, because modified manually.

Will put automatic option in admin.

4) And i have hide mod installed and i dont want users to click thank you and see it. Then which option i have to select in admin.

5) And is it possible to make only one particular user to see the hidden content .(same Doubt i have also asked in your support forum)

Thanks in Advance.
Title: Re: Thank You Mod (1.2.1)
Post by: ディン1031 on July 22, 2008, 08:53:21 AM
4) You need to enable it that user can see it ;) if you nothing enable it will be only shown after a post or the option that you choice if it leafs hide mod.
5) I've no support forum :x i think, i've only the thread here for support ;). Which hide mode do you use? Leaf's version or the hide tag special? ;) The hide tag special have a lot options for this thing, group related evertime showing, post count releated showing and and much more *g*. With leafs mod i can not help i don't know how his mod work.

Bye
DIN1031
Title: Re: Thank You Mod (1.2.1)
Post by: Sudhakar Arjunan on July 22, 2008, 09:07:13 AM
5)Hey i have both Hide Post and Hide Tag is installed.

4) I want to know , which option i want to select in admin Thank mod options.

Show hidden content
(require Hide Mod Special)
Unhide the post of "Hide Post" Mod by Leaf
(Only if set "replay" to unhide)
(require Hide Post)
PLEASE USE ONLY ONE OF THE MODS NOT BOTH AT SAME TIME STRANGE THINGS COULD BE HAPPEN!
Title: Re: Thank You Mod (1.2.1)
Post by: ディン1031 on July 22, 2008, 11:49:22 AM
Quote from: asudhakar on July 22, 2008, 09:07:13 AM
5)Hey i have both Hide Post and Hide Tag is installed.

4) I want to know , which option i want to select in admin Thank mod options.

Show hidden content
(require Hide Mod Special)
Unhide the post of "Hide Post" Mod by Leaf
(Only if set "replay" to unhide)
(require Hide Post)
PLEASE USE ONLY ONE OF THE MODS NOT BOTH AT SAME TIME STRANGE THINGS COULD BE HAPPEN!


Quote4) And i have hide mod installed and i dont want users to click thank you and see it. Then which option i have to select in admin.
4) Like i said no one ;P (Now in short way)

Quote5)Hey i have both Hide Post and Hide Tag is installed.
I hope you never have problems ;P i know there is a variable problem between the two mods 8). You can also not use both at same time to unhidden content with the thank you mod so you should leave the fields untouched!

Bye
DIN1031

Title: Re: Thank You Mod (1.2.1)
Post by: CrazyHorse80 on July 22, 2008, 03:37:06 PM
Quote from: ディン1031 on July 22, 2008, 12:38:15 AM
Quote from: CrazyHorse80 on July 21, 2008, 05:13:51 PM
Got an error on display.php... It interferes with "rename attachments mod", so I trie to modify thank you mod file to suite my necessity and repack it, reaploaded it, but it always give me a parse error...
What can I do?
Here is my display.php: (didn't fit...)

Here is the piece of code different than the one in the mod file:
if (empty($options['view_newest_first']))
$counter++;
else
$counter--;

//Can Rename Attachments?
$output['can_rename_attachment'] = !empty($output['attachment']) && (allowedTo('rename_attachments_any') || allowedTo('rename_attachments_own') && $ID_MEMBER == $message['ID_MEMBER']);

return $output;

Bye,
PS
Try the Fixed Packaged Version to install the mod :).
Normal it should work now.

Bye
DIN1031

I tried but it still doesn't work... I triple checked it but the only different chunk of code is that... I've removed the original package from server, then uploaded my fixed package and still give the same error.
Bye,
PS
Title: Re: Thank You Mod (1.2.1)
Post by: ディン1031 on July 22, 2008, 03:47:49 PM
Quote from: CrazyHorse80 on July 22, 2008, 03:37:06 PM
Quote from: ディン1031 on July 22, 2008, 12:38:15 AM
Quote from: CrazyHorse80 on July 21, 2008, 05:13:51 PM
Got an error on display.php... It interferes with "rename attachments mod", so I trie to modify thank you mod file to suite my necessity and repack it, reaploaded it, but it always give me a parse error...
What can I do?
Here is my display.php: (didn't fit...)

Here is the piece of code different than the one in the mod file:
if (empty($options['view_newest_first']))
$counter++;
else
$counter--;

//Can Rename Attachments?
$output['can_rename_attachment'] = !empty($output['attachment']) && (allowedTo('rename_attachments_any') || allowedTo('rename_attachments_own') && $ID_MEMBER == $message['ID_MEMBER']);

return $output;

Bye,
PS
Try the Fixed Packaged Version to install the mod :).
Normal it should work now.

Bye
DIN1031

I tried but it still doesn't work... I triple checked it but the only different chunk of code is that... I've removed the original package from server, then uploaded my fixed package and still give the same error.
Bye,
PS
Use my fixed packages on the mod site... it use not any more the complete term to find this position ;).

The change now is:
Search for this

Quote if (empty($options['view_newest_first']))
$counter++;


Add before this

//I only add to the first post a Thank You List or the link (at the bottom of the post *grin*)
if($counter == 0 && $context['isThankYou']) {
$output['body'] .= doUBBC('[hr]', FALSE).'<font size="1"><span class="smalltext">'.$context['thank_you']['info'].'</span></font>';
}


And if you like it in you code use the same and it should normal work.

Bye
DIN1031

Title: Re: Thank You Mod (1.2.1)
Post by: CrazyHorse80 on July 22, 2008, 03:56:00 PM
Quote from: ディン1031 on July 22, 2008, 03:47:49 PM
Use my fixed packages on the mod site...

Sorry, I didn't get it... :)
Thanks!
PS
Title: Re: Thank You Mod (1.2.1)
Post by: dboyz on July 25, 2008, 02:13:03 AM
Somebody help pls...  i get error ..


" Unknown column 'b.thank_you_automatic' in 'field list' "


and this at setting board :


Unknown column 'b.thank_you_automatic' in 'field list'
File: C:\wamp\www\Sources\Subs-Boards.php
Line: 1480


in notepad :


1475  b.boardOrder, b.countPosts, b.memberGroups, b.ID_THEME, b.override_theme,
1476  b.thank_you_automatic, b.thank_you_topics_enable,
1477  b.permission_mode, c.ID_CAT, c.name AS cName, c.catOrder, c.canCollapse
1478  FROM {$db_prefix}categories AS c
1479  LEFT JOIN {$db_prefix}boards AS b ON (b.ID_CAT = c.ID_CAT)
1480  ORDER BY c.catOrder, b.childLevel, b.boardOrder", __FILE__, __LINE__);
1481  $cat_tree = array();
1482  $boards = array();
1483  $last_board_order = 0;


what do I had to do???




Title: Re: Thank You Mod (1.2.1)
Post by: ディン1031 on July 26, 2008, 04:05:55 AM
The code of the installer is not called somehow oO.
There is now a missing field on you SQL database.

I'm not sure if it work but normal you should upload the install1.x.x.php and store it into your forums master directory. After that call the file via browser and if it work correct than there should stand something like "DB Changes Made".

It could be possible that the error there also occur if this happen, than i give you the sql querys to fix it.

Bye
DIN1031
Title: Re: Thank You Mod (1.2.1)
Post by: TheDogs1888 on July 30, 2008, 11:41:45 AM
Hi im getting an erro when i install

19.     Execute Modification     ./Sources/Subs-Boards.php     Test failed

Any ideas appreciated
Quote1.     Extract File     ./Themes/default/images/english/thank_you.gif     
2.    Extract File    ./Themes/default/images/buttons/thank_you_b.gif    
3.    Extract File    ./Themes/default/images/english/thank_you_add.gif    
4.    Extract File    ./Themes/default/images/english/thank_you_delete.gif    
5.    Extract File    ./Themes/default/images/english/thank_you_lock1.gif    
6.    Extract File    ./Themes/default/images/english/thank_you_lock2.gif    
7.    Extract File    ./Sources/ThankYou.php    
8.    Extract File    ./Themes/default/ThankYou.template.php    
9.    Extract File    ./Themes/default/languages/ThankYou.english.php    
10.    Execute Code    install_1.x.x.php    
11.    Execute Modification    ./index.php    Test successful
12.    Execute Modification    ./Sources/Display.php    Test successful
13.    Execute Modification    ./Sources/Load.php    Test successful
14.    Execute Modification    ./Sources/ManageBoards.php    Test successful
15.    Execute Modification    ./Sources/ManagePermissions.php    Test successful
16.    Execute Modification    ./Sources/ModSettings.php    Test successful
17.    Execute Modification    ./Sources/Post.php    Test successful
18.    Execute Modification    ./Sources/Security.php    Test successful
19.    Execute Modification    ./Sources/Subs-Boards.php    Test failed
20.    Execute Modification    ./Sources/Subs-Post.php    Test successful
21.    Execute Modification    ./Themes/default/Display.template.php    Test successful
22.    Execute Modification    ./Themes/default/ManageBoards.template.php    Test successful
23.    Execute Modification    ./Themes/default/Post.template.php    Test successful
24.    Execute Modification    ./Themes/default/languages/index.english.php    Test successful
25.    Execute Modification    ./Themes/default/languages/ManagePermissions.english.php    Test successful
26.    Execute Modification    ./Themes/default/languages/ManageBoards.english.php    Test successful
27.    Execute Modification    ./Themes/default/languages/Post.english.php    Test successful
28.    Execute Modification    ./Themes/default/languages/ModSettings.english.php    Test successful
Title: Re: Thank You Mod (1.2.1)
Post by: ディン1031 on July 30, 2008, 04:29:57 PM
I can only say that it not work without ;).

You can try to make the changes manual ;). I think there not much changes.

Bye
DIN1031
Title: uninstalling failed
Post by: Leo Y. on August 12, 2008, 04:12:46 AM
Hi everyone!
I installed the Thank you Mod and the Hide Tag mod aditonally a german languge pack
It worked first but then i wanted to replace the german language pack with an edited german language pack (just replaced "thank you" with "confirm" nothing special).
When i tried to uninstall it showed me that there is an error and that the hellgates might open when i try to do it anyway (something like that ;) )
I thought "well..." and tryed it anywy. After that it didnt worked anymore, i could find the "add Thank you" when i made a new topic but could not see the "thanks" button.
So i tried to completly reinstall and when i tried to uninstall thank you mod again a warning i should better not do it.
I did it again and reinstalled thank you mod (installing all okay without warning) with the sad outcome of the screenshot you see in the attachment.

Can anyone help me to fix my forum (best with workin thank you mod :) ) or tell me what exactly happend? :)

Regards, Leo
Title: Re: uninstalling failed
Post by: ディン1031 on August 13, 2008, 12:38:55 AM
Quote from: Leo Y. on August 12, 2008, 04:12:46 AM
Hi everyone!
I installed the Thank you Mod and the Hide Tag mod aditonally a german languge pack
It worked first but then i wanted to replace the german language pack with an edited german language pack (just replaced "thank you" with "confirm" nothing special).
When i tried to uninstall it showed me that there is an error and that the hellgates might open when i try to do it anyway (something like that ;) )
I thought "well..." and tryed it anywy. After that it didnt worked anymore, i could find the "add Thank you" when i made a new topic but could not see the "thanks" button.
So i tried to completly reinstall and when i tried to uninstall thank you mod again a warning i should better not do it.
I did it again and reinstalled thank you mod (installing all okay without warning) with the sad outcome of the screenshot you see in the attachment.

Can anyone help me to fix my forum (best with workin thank you mod :) ) or tell me what exactly happend? :)

Regards, Leo
Normal the uninstall work, i tested it. It could be possible install any other mod after it?

And you install the german package again?
Do this also happen after you switch back to the english language?

Bye
DIN1031
Title: Re: Thank You Mod (1.2.1)
Post by: Leo Y. on August 13, 2008, 04:02:12 AM
Quote from: ディン1031 on August 13, 2008, 12:38:55 AM
Normal the uninstall work, i tested it. It could be possible install any other mod after it?

And you install the german package again?
Do this also happen after you switch back to the english language?

Bye
DIN1031
I reinstalled Germanlanguage and now its back to normal.
I think the mod tryed to use german but because there was no german langugage package it went blank :)
Thanks anyway for the fast support :)
Regards, Leo
Title: Re: Thank You Mod (1.2.1)
Post by: master2oo8 on August 14, 2008, 08:41:14 PM
Quote
Im moment Plane ich nicht diesen Mod in Version SMF 2 zu machen, im moment arbeite ich an einen Konverter der diese Thank You Mod Version in den Thank-O-Matic umwandelt, da in der Version 2 der Thank-O-Matic auch ein reine Thread Danke Funktion unterstützt. (Und dies besser händelt, und somit etwas schneller sein sollte). Somit empfehle ich dir wenn du wirklich die Version 2 von SMF haben möchtest das den Mod Thank-O-Matic verwendest
Weißt du schon, wann der Konverter fertig sein wird?
Title: Re: Thank You Mod (1.2.1)
Post by: ディン1031 on August 15, 2008, 12:38:41 AM
I don't know. Because my time is limited at the moment.

Bye
DIN1031
Title: Re: Thank You Mod (1.2.1)
Post by: master2oo8 on August 15, 2008, 03:29:45 AM
:(
Can somebody else make a convertor for thank you mod 1.2.1 to thank-o-matic?
I want to update my 1.1.5 to 2.0, i have installed already all local and all runs perfect, i need now only a thx mod (include all old thx-yous).

I think many peoples are looking for it!
Title: Re: Thank You Mod (1.2.1)
Post by: ディン1031 on August 15, 2008, 04:29:11 AM
I sent you a pm, i hope you can help me.

Bye
DIN1031
Title: Re: Thank You Mod (1.2.1)
Post by: ディン1031 on August 15, 2008, 03:58:20 PM
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
Title: Re: Thank You Mod (1.2.1)
Post by: Mr.IT on August 20, 2008, 05:30:32 PM
I'm now using 1.1.5 version I have already all setp finished  but not show thank you help me please
Title: Re: Thank You Mod (1.2.1)
Post by: ディン1031 on August 21, 2008, 12:39:40 AM
Quote from: chitlar on August 20, 2008, 05:30:32 PM
I'm now using 1.1.5 version I have already all setp finished  but not show thank you help me please
Premissionens?
Enabled it in the Board?
Did you make the Theme Changes in the Costum Theme?
Did you make the Lanuage Changes if needed?

Bye
DIN1031
Title: Re: Thank You Mod (1.2.1)
Post by: Mr.IT on August 22, 2008, 11:35:05 AM
Quote from: ディン1031 on August 21, 2008, 12:39:40 AM
Quote from: chitlar on August 20, 2008, 05:30:32 PM
I'm now using 1.1.5 version I have already all setp finished  but not show thank you help me please
Premissionens?
Enabled it in the Board?
Did you make the Theme Changes in the Costum Theme?
Did you make the Lanuage Changes if needed?

Bye
DIN1031

humm
what is Permissionens & what to do ?
I already make Enabled
Yeah , I'm make the Theme Changes in the Costum Theme
Yeah , I'm using my own Language .

Help me anyone Please
Title: Re: Thank You Mod (1.2.1)
Post by: Mr.IT on August 22, 2008, 01:17:15 PM
I'm get thank you button but only show for Admin . Why ?
Title: Re: Thank You Mod (1.2.1)
Post by: ディン1031 on August 23, 2008, 02:15:56 AM
Quote from: chitlar on August 22, 2008, 01:17:15 PM
I'm get thank you button but only show for Admin . Why ?
Admin -> Permissions

There are also Permissions for the Mod, the Admin is allowed to everything ;) so he will see the button.

Bye
DIN1031
Title: Re: Thank You Mod (1.2.1)
Post by: PUMPHOCKEY on August 24, 2008, 07:12:39 PM
Hi Din,

ich nochmal - diesmal mit der richtigen Mod... aber dasselbe Problem. Ich benutze ein anderes Template und finde in den drei zu ändernen Dateien, laut deinem Mod Parser, einfach nicht die zu suchenden Begriffe. Eigentlich, so glaube ich, ist bei meinem Template nur eine Datei zu ändern, da die anderen in dem Templateordner nicht vorhanden sind.

Du schreibst hier -> http://jmusic.ddo.jp/DIN1031/modparser/index.php?action=installMod&smfVersion=1.1.5&name=ThankYouMod121&theme das die Display.template.php, ManageBoards.template.php und die Post.template.php geändert werden müssen. Nur erst genannte Datei befindet sich in dem Ordner von meinem Template (sMOOth-LT115v1 von Padexx).
Ich habe mir erlaubt, die besagte Display.template.php mal anzuhängen und würde dich bitten, ob du nicht einen Blick drauf werden könntest :)

Hab vielen Dank!
Title: Re: Thank You Mod (1.2.1)
Post by: ディン1031 on August 25, 2008, 01:02:16 AM
Uhhh alter 1.0.x Style ;)

Naja die Änderungen sind leicht, aber du musst schauen das im deutschen verzeichniss auch die passenden buttons sind, weil ich bin mir nicht sicher ob ich die noch im packet hinzugefügt habe ;).

Habe sie dir mal angehängt ;). Garantier für garnix ;P.



For all people, the old way of adding the buttons to some themes is:
Änderung in Datei: $themedir/Display.template.php
Quote
Suche nach folgenden
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>';

Füge danach folgendes ein

if (isset($context['thank_you']['premission'])) {
if ($context['thank_you']['premission']['post'])
$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.gif" alt="' . $txt['d_thank_you_post'] . '" title="' . $txt['d_thank_you_post'] . '" border="0" />' : $txt['d_thank_you_post']) . '</a>';
if ($context['thank_you']['premission']['add'])
$buttonArray[] = '<a href="' . $scripturl . '?action=thankyouadd;topic=' . $context['current_topic'] . '.0">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/thank_you_add.gif" alt="' . $txt['d_thank_you_add'] . '" title="' . $txt['d_thank_you_add'] . '" border="0" />' : $txt['d_thank_you_add']) . '</a>';
}

Suche nach folgenden
if ($context['can_remove_poll'])
$moderationButtons[] = '<a href="' . $scripturl . '?action=removepoll;topic=' . $context['current_topic'] . '.' . $context['start'] . '" onclick="return confirm(\'' . $txt['poll_remove_warn'] . '\');">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/admin_remove_poll.gif" alt="' . $txt['poll_remove'] . '" border="0" />' : $txt['poll_remove']) . '</a>';

Füge danach folgendes ein

//Thank You Moderation :)
if(isset($context['thank_you']['premission'])) {
if ($context['thank_you']['premission']['lock'])
$moderationButtons[] = '<a href="' . $scripturl . '?action=thankyoulock;topic=' . $context['current_topic'] . '.0">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/thank_you_lock'.$context['ThankYouLockStatus'].'.gif" alt="' . $txt['d_thank_you_lock'.$context['ThankYouLockStatus']] . '" title="' . $txt['d_thank_you_lock'.$context['ThankYouLockStatus']] . '" border="0" />' : $txt['d_thank_you_lock'.$context['ThankYouLockStatus']]) . '</a>';
if ($context['thank_you']['premission']['delete'])
$moderationButtons[] = '<a href="' . $scripturl . '?action=thankyouremove;topic=' . $context['current_topic'] . '.0" onclick="return confirm(\'' . $txt['d_thank_you_remove_warn'] . '\');">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/thank_you_delete.gif" alt="' . $txt['d_thank_you_remove'] . '" title="' . $txt['d_thank_you_remove'] . '" border="0" />' : $txt['d_thank_you_remove']) . '</a>';
}


If you need to do this in that way, don't forget to add the button images in the theme container ;).

Title: Re: Thank You Mod (1.2.1)
Post by: PUMPHOCKEY on August 25, 2008, 05:50:10 AM
Hi Din,

du bist der Größte :) Hab vielen Dank!!

Hab jetzt noch ein kleines weiteres Problem... und zwar hast du mir damals den Thank you Mod so modifiziert, dass unter dem Thread ein Thx Banner ist. Hier mal ein Screenshot, damit du weißt, was ich meine.
(http://www.grafixlabs.de/support/smf_thankyou.jpg)

Könntest du mir sagen, welche Datei(en) du damals geändert hast? Dann kann ich da nach dem Code suchen oder könntest du mir sagen was ich ändern muss (das wäre wahrscheinlich besser, weil der Thank You Mod ja auch in einer neueren Version als damals ist).


Edit:

Habs gerade gefunden -> $sourcedir/Display.php und dann ca. Zeile 1030 das einfügen

//I only add to the first post a Thank You List or the link (at the bottom of the post *grin*)
     if($counter == 0 && $context['isThankYou']) {
          $link = $context['thank_you']['premission']['post'] ? $scripturl . '?action=thankyoupost;topic=' . $context['current_topic'] . '.0' : $scripturl . '?action=thankyoulist;complete;topic=' . $context['current_topic'] . '.0';
          $output['body'] .= doUBBC('[hr][iurl='.$link.'][img]http://gfx-forge.de/thx[/img][/iurl][br]', FALSE).'<font size="1"><span class="smalltext">'.$context['thank_you']['info'].'</span></font>';
     }


Meine Frage jetzt nur noch an dich Din, ist dieser Code aktuell? Also kann ich den nutzen? Funktionieren tut er ...
Title: Re: Thank You Mod (1.2.1)
Post by: ディン1031 on August 25, 2008, 02:02:50 PM
Sollte gehen :)

Ich würde parse_bbc anstelle von doUBBC benutzen den spätestens in 2.0 ist kein Support mehr für die Funktion vorhanden *g*.

Ob es Zeile 1030 ist kann ich nicht garantieren *g*

Gruß
DIN1031
Title: Re: Thank You Mod (1.2.1)
Post by: Horseman on August 25, 2008, 05:22:01 PM
Ich habe ebenfalls ein Problem
Der Mod wurde über den Paketmanager Installiert und es wurden keine Fehler angezeigt.
Auf der Modseite, Screenshot 4, steht 'Thank You' vorher stand dort 'Add Thank You'
Ich habe nun mal auf 'Add Than You' bei einem Beitrag geklickt.
Erhalte, wie im Screenshot auch die Anzeige 'No Users found in the list.'
ABER ich sehe oben Links nicht das 'Thank you' wie auf dem Screenshot ersichtlich, denke das ist Link zur Liste der Danke sagenden, oder?

Gruß
Horseman
Title: Re: Thank You Mod (1.2.1)
Post by: Mr.IT on August 25, 2008, 05:40:29 PM
Quote from: ディン1031 on August 23, 2008, 02:15:56 AM
Quote from: chitlar on August 22, 2008, 01:17:15 PM
I'm get thank you button but only show for Admin . Why ?
Admin -> Permissions

There are also Permissions for the Mod, the Admin is allowed to everything ;) so he will see the button.

Bye
DIN1031

Already finished all Permissions but not show :( help me
Title: Re: Thank You Mod (1.2.1)
Post by: ディン1031 on August 26, 2008, 12:49:15 AM
Quote from: Horseman on August 25, 2008, 05:22:01 PM
Ich habe ebenfalls ein Problem
Der Mod wurde über den Paketmanager Installiert und es wurden keine Fehler angezeigt.
Auf der Modseite, Screenshot 4, steht 'Thank You' vorher stand dort 'Add Thank You'
Ich habe nun mal auf 'Add Than You' bei einem Beitrag geklickt.
Erhalte, wie im Screenshot auch die Anzeige 'No Users found in the list.'
ABER ich sehe oben Links nicht das 'Thank you' wie auf dem Screenshot ersichtlich, denke das ist Link zur Liste der Danke sagenden, oder?

Gruß
Horseman
Also unten ist der link zu den Dank sagungen.
Wenn du den Thread erstellt hast kannst du dir selbst natürlich kein Danke aussprechen ;).

Quote from: chitlar on August 25, 2008, 05:40:29 PM
Already finished all Permissions but not show :( help me
And you see it? oO
If you not see it did you make the theme changes for your theme?

Bye
DIN1031
Title: Re: Thank You Mod (1.2.1)
Post by: globat on August 26, 2008, 03:30:35 AM
Hi i want to use this mod in outline template
can you help me
how can i do it !
please help Step by Step !
Title: Re: Thank You Mod (1.2.1)
Post by: ディン1031 on August 26, 2008, 07:28:20 AM
Quote from: globat on August 26, 2008, 03:30:35 AM
Hi i want to use this mod in outline template
can you help me
how can i do it !
please help Step by Step !
There are all the themechanges, it's possible that you not need to edit all files ;).
http://jmusic.ddo.jp/DIN1031/modparser/index.php?action=installMod&smfVersion=1.1.5&name=ThankYouMod121&theme

Bye
DIN1031
Title: Re: Thank You Mod (1.2.1)
Post by: globat on August 26, 2008, 08:04:20 AM
thanks
but outline have not Post.template.php,ManageBoards.template.php,Display.template.php
:(
Title: Re: Thank You Mod (1.2.1)
Post by: ディン1031 on August 26, 2008, 08:08:31 AM
Quote from: globat on August 26, 2008, 08:04:20 AM
thanks
but outline have not Post.template.php,ManageBoards.template.php,Display.template.php
:(
Than the mod work in your theme ;).

Bye
DIN1031
Title: Re: Thank You Mod (1.2.1)
Post by: Mr.IT on August 26, 2008, 07:03:43 PM
Quote from: chitlar on August 25, 2008, 05:40:29 PM
Already finished all Permissions but not show :( help me
And you see it? oO
If you not see it did you make the theme changes for your theme?

Bye
DIN1031
[/quote]

no I don't change another theme I'm using default theme & do it. why don't show. Only show ADD THANK YOU . I want one post to one thank you button . How to make ?
Title: Re: Thank You Mod (1.2.1)
Post by: ディン1031 on August 27, 2008, 12:55:25 AM
Quote from: chitlar on August 26, 2008, 07:03:43 PM
no I don't change another theme I'm using default theme & do it. why don't show. Only show ADD THANK YOU . I want one post to one thank you button . How to make ?
... than the mod work correct...

First you need to create the thank you thread, is this done than an user can post thank you's to the thread.

Bye
DIN1031
Title: Re: Thank You Mod (1.2.1)
Post by: Sarge on August 28, 2008, 12:01:15 PM
ディン1031, you should use <?php at the start of ThankYou.php, not <? (not every server has short_open_tag enabled in php.ini, you know...)

I guess the short tag is responsible for the code of ThankYou.php getting spilled out to the screen whenever a member views a board and/or a topic.
Title: Re: Thank You Mod (1.2.1)
Post by: ディン1031 on August 29, 2008, 01:07:58 AM
Quote from: Sarge on August 28, 2008, 12:01:15 PM
ディン1031, you should use <?php at the start of ThankYou.php, not <? (not every server has short_open_tag enabled in php.ini, you know...)

I guess the short tag is responsible for the code of ThankYou.php getting spilled out to the screen whenever a member views a board and/or a topic.
I thought i insert this in all of my Mod php files, thanks for the information.

I will fix it asap =). (And i will look also again trough all my other mod files).

Bye
DIN1031
Title: Re: Thank You Mod (1.2.1)
Post by: Adish - (F.L.A.M.E.R) on August 29, 2008, 06:48:07 AM
I get this error as I go on any board categories... Please help me solve it..

Unknown column 'b.thank_you_automatic' in 'field list'

Anything i can do ?

I did keep the install.x.x file in my main directory (ON A STAND ALONE) But it didnt work out. It just gives me blank screen when i go on that file page.
Title: Re: Thank You Mod (1.2.1)
Post by: ディン1031 on August 29, 2008, 08:49:21 AM
A Blank page and nothing else oO.
Normal there should stand database changes made :x.

You uploaded the install_1.x.x.php and the white page appear?

Hmmmm than you need to insert the database changes via phpmyadmin ;)


CREATE TABLE IF NOT EXISTS {$db_prefix}thank_you (
ID_THX INT(10) UNSIGNED NOT NULL AUTO_INCREMENT ,
ID_TOPIC MEDIUMINT(8) UNSIGNED NOT NULL ,
ID_MEMBER MEDIUMINT(8) UNSIGNED NOT NULL ,
memberName VARCHAR(80) NOT NULL ,
thank_you_time INT(10) UNSIGNED NOT NULL ,
PRIMARY KEY (ID_THX) ,
INDEX (ID_TOPIC, ID_MEMBER)
) TYPE = MYISAM



ALTER TABLE {$db_prefix}topics ADD thank_you TINYINT(4) DEFAULT '0' NOT NULL;
ALTER TABLE {$db_prefix}boards ADD thank_you_automatic TINYINT(4) DEFAULT '0' NOT NULL;
ALTER TABLE {$db_prefix}boards ADD thank_you_topics_enable TINYINT(4) DEFAULT '0' NOT NULL;

You need to replace the {$db_prefix} with your prefix ;).

Bye
DIN1031

Title: Re: Thank You Mod (1.2.1)
Post by: 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
Title: Re: Thank You Mod (1.2.1)
Post by: ディン1031 on September 09, 2008, 03:48:12 AM
...next time can you post it in the correct thread... it will confuse the user...

Thank You Moid is not Thank-O-Matic (Even if it work in the same way in beta 4).

Your Solution...
http://www.simplemachines.org/community/index.php?topic=65339.msg1697859#msg1697859

Bye
DIN1031
Title: Re: Thank You Mod (1.2.1)
Post by: Bancherd on September 09, 2008, 08:47:47 AM
My apologies, thank you for pointing me in the right direction.  :D
Title: Re: Thank You Mod (1.2.1)
Post by: Adish - (F.L.A.M.E.R) on September 09, 2008, 09:04:38 AM
Quote from: ディン1031 on August 29, 2008, 08:49:21 AM
A Blank page and nothing else oO.
Normal there should stand database changes made :x.

You uploaded the install_1.x.x.php and the white page appear?

Hmmmm than you need to insert the database changes via phpmyadmin ;)


CREATE TABLE IF NOT EXISTS {$db_prefix}thank_you (
ID_THX INT(10) UNSIGNED NOT NULL AUTO_INCREMENT ,
ID_TOPIC MEDIUMINT(8) UNSIGNED NOT NULL ,
ID_MEMBER MEDIUMINT(8) UNSIGNED NOT NULL ,
memberName VARCHAR(80) NOT NULL ,
thank_you_time INT(10) UNSIGNED NOT NULL ,
PRIMARY KEY (ID_THX) ,
INDEX (ID_TOPIC, ID_MEMBER)
) TYPE = MYISAM



ALTER TABLE {$db_prefix}topics ADD thank_you TINYINT(4) DEFAULT '0' NOT NULL;
ALTER TABLE {$db_prefix}boards ADD thank_you_automatic TINYINT(4) DEFAULT '0' NOT NULL;
ALTER TABLE {$db_prefix}boards ADD thank_you_topics_enable TINYINT(4) DEFAULT '0' NOT NULL;

You need to replace the {$db_prefix} with your prefix ;).

Bye
DIN1031



That works gr8..
Title: Re: Thank You Mod (1.2.1)
Post by: anicolac on September 09, 2008, 12:06:23 PM
Hello, Thank you for the MOD; D

I have version 1.1.6 and not I get the images / buttons gif

I can not find the option to enable / disable (there?).

You need more data to see if it happens you some idea?

Sorry if already responded, but I am using the Google translator and I find it a bit complicated.

Thank you very much.

http://www.comunidadwindowsmobile.es/index.php?topic=1930.0
Title: Re: Thank You Mod (1.2.1)
Post by: ディン1031 on September 09, 2008, 01:17:36 PM
If you switch back to English on your Spain forum, did you see than the option? (You can do this as Admin over your Profile). If this happen than you need to insert at least the English translation into the Spain files.

It's also possible that you try that -> http://custom.simplemachines.org/mods/index.php?mod=615 <- mod.
Or if you like to translate it correct and find the missing strings you can try this -> http://custom.simplemachines.org/mods/index.php?mod=1071 <- mod.

Bye
DIN1031
Title: Re: Thank You Mod (1.2.1)
Post by: anicolac on September 09, 2008, 02:49:56 PM
Quote from: ディン1031 on September 09, 2008, 01:17:36 PM
If you switch back to English on your Spain forum, did you see than the option? (You can do this as Admin over your Profile). If this happen than you need to insert at least the English translation into the Spain files.

It's also possible that you try that -> http://custom.simplemachines.org/mods/index.php?mod=615 <- mod.
Or if you like to translate it correct and find the missing strings you can try this -> http://custom.simplemachines.org/mods/index.php?mod=1071 <- mod.

Bye
DIN1031

What installed in English and not leaving the buttons (http://www.simplemachines.org/community/index.php?action=dlattach;topic=65339.0;attach=67978;image), selecting the language in profile.

What installed in another forum (domain) and not appear.

Only appears in this picture:

http://custom.simplemachines.org/mods/index.php?action=download;mod=257;id=32396;image

What I feel well, but is not very visible.

Thanks anyway.
Title: Re: Thank You Mod (1.2.1)
Post by: ディン1031 on September 10, 2008, 12:43:48 AM
I think you should copy the button you have into the images/yourlanguage dir :).
I think that this is missing.

Bye
DIN1031
Title: Re: Thank You Mod (1.2.1)
Post by: motorola on September 10, 2008, 05:41:17 AM
can somebody... provide me a manual install instruction for thank-o matic mod, for smf 1.1.5...becouse when i ask in customization in that mod, to give me install instruciton..he gaves me a error...so can somebody please send me manual install instruction
Title: Re: Thank You Mod (1.2.1)
Post by: ディン1031 on September 10, 2008, 02:16:37 PM
Quote from: motorola on September 10, 2008, 05:41:17 AM
can somebody... provide me a manual install instruction for thank-o matic mod, for smf 1.1.5...becouse when i ask in customization in that mod, to give me install instruciton..he gaves me a error...so can somebody please send me manual install instruction
I thought i sent you a pm Oo.

http://jmusic.ddo.jp/DIN1031/modparser/index.php?action=installMod&smfVersion=1.1.5&name=ThankOMatic123

Bye
DIN1031
Title: Re: Thank You Mod (1.2.1)
Post by: Perob on September 13, 2008, 09:41:22 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 versions 1.2.1Fix2 and 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...)
Title: Re: Thank You Mod (1.2.1)
Post by: ディン1031 on September 14, 2008, 10:06:39 AM
Quote from: Perob on September 13, 2008, 09:41:22 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 versions 1.2.1Fix2 and 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...)
... both? *shurg* it will work ;).

So did you enable it on the boards, and did you set up the permissions.

Bye
DIN1031
Title: Re: Thank You Mod (1.2.1)
Post by: Perob on September 14, 2008, 10:27:34 AM
no both in same time  :D I tryed to install first standard thank you(same problem) and after that I tryed to install Omatic...but i have same problem...
See pictures about admin panel and permissions
Title: Re: Thank You Mod (1.2.1)
Post by: ディン1031 on September 14, 2008, 11:20:02 AM
Quote from: Perob on September 14, 2008, 10:27:34 AM
no both in same time  :D I tryed to install first standard thank you(same problem) and after that I tryed to install Omatic...but i have same problem...
See pictures about admin panel and permissions
Are you sure that it install without any errors?
All language strings are missing oO...

Ah did you use english-utf8? :)
I think i should make a package for utf8 <<...

Install the english utf8 translations

http://www.simplemachines.org/community/index.php?action=dlattach;topic=65339.0;attach=68547

Bye
DIN1031
Title: Re: Thank You Mod (1.2.1)
Post by: Perob on September 14, 2008, 04:47:13 PM
Quote from: ディン1031 on September 14, 2008, 11:20:02 AM
Quote from: Perob on September 14, 2008, 10:27:34 AM
no both in same time  :D I tryed to install first standard thank you(same problem) and after that I tryed to install Omatic...but i have same problem...
See pictures about admin panel and permissions
Are you sure that it install without any errors?
All language strings are missing oO...

Ah did you use english-utf8? :)
I think i should make a package for utf8 <<...

Install the english utf8 translations

http://www.simplemachines.org/community/index.php?action=dlattach;topic=65339.0;attach=68547

Bye
DIN1031

Yes,I am sure,without any error.
See picture...
What is nesesary for me in installation process? I installed package which you said(utf8) after uninstall standard version and nothing happen....have not in ACP & permissions...After,I tryed install standard version (fix2) and utf8 package altogether,but I couldn't resolve this problem...moreover I can't open now "Features and Options" write some error "Fatal error: Cannot redeclare modifythankyousettings() (previously declared in /home1/xxxxxxx/public_html/Sources/ModSettings.php:349) in /home1/xxxxxxx/public_html/Sources/ModSettings.php on line 412 " What's happen ?
How we can resolve this? Please tell me step by step how.
Thank's in advance!
Title: Re: Thank You Mod (1.2.1)
Post by: ディン1031 on September 15, 2008, 06:20:21 AM
oO i don't understand it, normal you installed successful the mod, and after that you install the language package. And than it should all thing appear...

And now (and i don't know how :P) you did install the mod 2 times, and that should not be done!

The only way to solve this is to start new or look for each double entry... and remove this... this is a lot work...

Bye
DIN1031
Title: Re: Thank You Mod (1.2.1)
Post by: F4r4Zm0In on September 23, 2008, 02:04:06 PM
I am using smf 1.1.6, using "classic" theme which comes with the default smf installation

while installing Thank You Mod       1.2.1

i have got this >>

QuoteType      Action      Description
1.     Extract File     ./Themes/classic/images/english/thank_you.gif   
2.     Extract File     ./Themes/classic/images/buttons/thank_you_b.gif   
3.     Extract File     ./Themes/classic/images/english/thank_you_add.gif   
4..     Extract File     ./Themes/classic/images/english/thank_you_delete.gif   
5.     Extract File     ./Themes/classic/images/english/thank_you_lock1.gif   
6.     Extract File     ./Themes/classic/images/english/thank_you_lock2.gif   
7.     Extract File     ./Sources/ThankYou.php   
8.     Extract File     ./Themes/classic/ThankYou.template.php   
9.     Extract File     ./Themes/classic/languages/ThankYou.english.php   
10.     Execute Code     install_1.x.x.php   
11.     Execute Modification     ./index.php     Test successful
12.     Execute Modification     ./Sources/Display.php     Test successful
13.     Execute Modification     ./Sources/Load.php     Test successful
14.     Execute Modification     ./Sources/ManageBoards.php     Test successful
15.     Execute Modification     ./Sources/ManagePermissions.php     Test successful
16.     Execute Modification     ./Sources/ModSettings.php     Test successful
17.     Execute Modification     ./Sources/Post.php     Test successful
18.     Execute Modification     ./Sources/Security.php     Test successful
19.     Execute Modification     ./Sources/Subs-Boards.php     Test successful
20.     Execute Modification     ./Sources/Subs-Post.php     Test successful
21.     Execute Modification     ./Themes/classic/Display.template.php     Test failed
22.     Execute Modification     ./Themes/classic/ManageBoards.template.php     Test successful
23.     Execute Modification     ./Themes/classic/Post.template.php     Test successful
24.     Execute Modification     ./Themes/classic/languages/index.english.php     Test successful
25.     Execute Modification     ./Themes/classic/languages/ManagePermissions.english.php     Test successful
26.     Execute Modification     ./Themes/classic/languages/ManageBoards.english.php     Test successful
27.     Execute Modification     ./Themes/classic/languages/Post..english.php     Test successful
28.     Execute Modification     ./Themes/classic/languages/ModSettings.english.php     Test successful

any idead  ???
Title: Re: Thank You Mod (1.2.1)
Post by: ディン1031 on September 24, 2008, 01:09:22 AM
Yes, it's not compatible to the classic theme ;).

For this you need to make the changes postet there -> http://www.simplemachines.org/community/index.php?topic=65339.msg1675432;topicseen#msg1675432

Normal this work on the classic theme.

Bye
DIN1031
Title: Re: Thank You Mod (1.2.1)
Post by: barcelona on October 13, 2008, 03:24:57 PM
Is there an English version of this MOD available?
Title: Re: Thank You Mod (1.2.1)
Post by: ディン1031 on October 14, 2008, 12:40:16 AM
Quote from: barcelona on October 13, 2008, 03:24:57 PM
Is there an English version of this MOD available?
English is standard.

Bye
DIN1031
Title: Re: Thank You Mod (1.2.1)
Post by: chuckoo on October 21, 2008, 05:52:29 AM
Hallo,

wir haben probiert beide mods ( thank-You und Than-o-matic ) auf einem board zu installieren. Die installation läuft , die optionen in der administration sind da, und auch entsprechend gesetzt..aber....nicht zu sehen in den topics/posts

hier smf 1.1.16  und pn.pn theme ..auch 1.1.16 ...

was nuuun...

Title: Re: Thank You Mod (1.2.1)
Post by: ディン1031 on October 21, 2008, 09:19:13 AM
Quote from: chuckoo on October 21, 2008, 05:52:29 AM
Hallo,

wir haben probiert beide mods ( thank-You und Than-o-matic ) auf einem board zu installieren. Die installation läuft , die optionen in der administration sind da, und auch entsprechend gesetzt..aber....nicht zu sehen in den topics/posts

hier smf 1.1.16  und pn.pn theme ..auch 1.1.16 ...

was nuuun...
Okay, please use english ;). (But i know what you mean (only if you've problems with english than i can accept this)).

First did you enable it on the boards? :)

Than you need to make the theme changes on the theme that you use.
This are the current Theme Changes of the Mod.

http://jmusic.ddo.jp/DIN1031/modparser/index.php?action=installMod&smfVersion=1.1.6&name=ThankYouMod121&theme

Other question, why did you install both versions?

Bye
DIN1031
Title: Re: Thank You Mod (1.2.1)
Post by: Rhine on November 15, 2008, 03:59:45 PM
I can't find the thank you button?

and is it possible to make that the thank you option is on by default so the admin decide on which board the thank you button should appear and it appear on every post on that board and regular members has nothing to say about it?
Title: Re: Thank You Mod (1.2.1)
Post by: ディン1031 on November 17, 2008, 01:22:10 AM
Quote from: Rhine on November 15, 2008, 03:59:45 PM
I can't find the thank you button?
First did you setup the permissions for the members?
Did you enable the mod on the boards you need?
Did you make the theme changes on you theme?

Quote
and is it possible to make that the thank you option is on by default so the admin decide on which board the thank you button should appear and it appear on every post on that board and regular members has nothing to say about it?
First on every post is not usefull, because this is a thank you to the thread, not to the post (For this is the Thank-O-Matic).
Default is off and you can enable it only by board. I will not rewrite this, because the mod was created to give on specific boards a thank you. (I think about to add an feature who you can do that in one step, to enable all boards.)

Bye
DIN1031
Title: Re: Thank You Mod (1.2.1)
Post by: ormuz on December 03, 2008, 05:27:24 PM
Where can I translate that thank you text in the display.template menu? It always show thank you in english, I think there is a bug in the display.template code!

This is my text strings in my language index.portuguese.php, and the menu isn't display the

$txt['d_thank_you'] = 'Nomear para &quot;Site do M&ecirc;s&quot;';


$txt['d_thank_you_lock1'] = 'Fechar Nomea&ccedil;&atilde;o';
$txt['d_thank_you_lock2'] = 'Abri Nomea&ccedil;&atilde;o';
$txt['d_thank_you_remove'] = 'Remover Nomea&ccedil;&atilde;o';
$txt['d_thank_you_remove_warn'] = 'Are you sure you want to remove this Nomea&ccedil;&atilde;o from the topic?';
$txt['d_thank_you_post'] = 'Thank You very much!!!';
$txt['d_thank_you_add'] = 'Nomear para &quot;Site do M&ecirc;s&quot;';
$txt['d_thank_you'] = 'Nomear para &quot;Site do M&ecirc;s&quot;';
$txt['d_no_thank_you_board'] = 'The option for Thank you has been diabled for this board!';
$txt['d_remove_thank_you_mem'] = 'Delete this member from the Nomea&ccedil;&atilde;o?';
$txt['d_remove_thank_no_id'] = 'Nomea&ccedil;&atilde;o ID not found!';


http://custom.simplemachines.org/mods/index.php?action=download;mod=257;id=32396;image
Title: Re: Thank You Mod (1.2.1)
Post by: ディン1031 on December 04, 2008, 03:41:31 AM
Normal it should work. :x


//Thank You Button is now where it belongs <<
if (isset($context['thank_you']['premission'])) {
if ($context['thank_you']['premission']['post'])
$normal_buttons['thankyou'] = array('text' => 'd_thank_you', 'image' => 'thank_you.gif', 'lang' => true, 'url' => $scripturl . '?action=thankyoupost;topic=' . $context['current_topic'] . '.0');
elseif ($context['thank_you']['premission']['add'])
$normal_buttons['thankyou'] = array('text' => 'd_thank_you_add', 'image' => 'thank_you_add.gif', 'lang' => true, 'url' => $scripturl . '?action=thankyouadd;topic=' . $context['current_topic'] . '.0');
}


Says to me that it use the correct text vars for this :X. (I know that it work, i use often the German version of the mod)
Title: Re: Thank You Mod (1.2.1)
Post by: ormuz on December 04, 2008, 07:15:33 AM
This is my display.template

//Thank You Button is now where it belongs <<
if (isset($context['thank_you']['premission'])) {
if ($context['thank_you']['premission']['post'])
$normal_buttons['thankyou'] = array('text' => 'd_thank_you', 'image' => 'thank_you.gif', 'lang' => true, 'url' => $scripturl . '?action=thankyoupost;topic=' . $context['current_topic'] . '.0');
elseif ($context['thank_you']['premission']['add'])
$normal_buttons['thankyou'] = array('text' => 'd_thank_you_add', 'image' => 'thank_you_add.gif', 'lang' => true, 'url' => $scripturl . '?action=thankyouadd;topic=' . $context['current_topic'] . '.0');
}


Please take a look at my display.template file, perhaps there is something wrong!
Title: Re: Thank You Mod (1.2.1)
Post by: ディン1031 on December 05, 2008, 02:41:45 AM
No it's correct, but i think how your theme built with the "$normal_buttons" the Links could be the problem. The Strange thing is that it show Thank You... normal if something is wrong it should show d_thank_you...

Can you give me a image how it look in your forum...

Bye
DIN1031
Title: Re: Thank You Mod (1.2.1)
Post by: ormuz on December 05, 2008, 12:52:38 PM
Quote from: ディン1031 on December 05, 2008, 02:41:45 AM
No it's correct, but i think how your theme built with the "$normal_buttons" the Links could be the problem. The Strange thing is that it show Thank You... normal if something is wrong it should show d_thank_you...

Can you give me a image how it look in your forum...

Bye
DIN1031

I'm using default theme... Strange is that it display the first translation, but not the second one! See the attached files.

In the first one, when the thank you isn't active in the topic, the translation is displayed, in the second one, after the thank you been activated, is doesn't show the translation...

First image = "ACTIVAR "SITE DO MÊS"
Second image = "THANK YOU"

It should display the index.language.php right?
$txt['d_thank_you_add'] = 'Activar &quot;Site do M&ecirc;s&quot;';
$txt['d_thank_you'] = 'Nomear para &quot;Site do M&ecirc;s&quot;';


Any ideas?
Title: Re: Thank You Mod (1.2.1)
Post by: ディン1031 on December 08, 2008, 06:44:13 AM
Strange... it's the same as above... so i think it should work... i will  test it... but i'm sure it work...
Title: Re: Thank You Mod (1.2.1)
Post by: xkiller213 on December 14, 2008, 09:24:08 PM
someone help me!

i've installed this mod...

shows no errors...

i've also set the permissions...

but how come nothing happens?

i've used the default theme to see if anything would happen... if it worked then i'd use it on my other theme (Musiconica)...

i've already modded the other theme already, but i can't seem to find the place to put //Thank You Button is now where it belongs <<
if (isset($context['thank_you']['premission'])) {
if ($context['thank_you']['premission']['post'])
$normal_buttons['thankyou'] = array('text' => 'd_thank_you', 'image' => 'thank_you.gif', 'lang' => true, 'url' => $scripturl . '?action=thankyoupost;topic=' . $context['current_topic'] . '.0');
elseif ($context['thank_you']['premission']['add'])
$normal_buttons['thankyou'] = array('text' => 'd_thank_you_add', 'image' => 'thank_you_add.gif', 'lang' => true, 'url' => $scripturl . '?action=thankyouadd;topic=' . $context['current_topic'] . '.0');
}


coz i can't find this:
else
unset($normal_buttons['custom']);


but then i searched before and after that and placed it here:
    // Does this topic have some events linked to it?
    if (!empty($context['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['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']),
        'new_topic' => array('test' => 'can_reply', 'text' => 'smf258', 'image' => 'new_topic.gif', 'lang' => true, 'url' => $scripturl . '?action=post;board=' . $context['current_board'] . '.0'),
    );
   
   
//Thank You Button is now where it belongs <<
if (isset($context['thank_you']['premission'])) {
if ($context['thank_you']['premission']['post'])
$normal_buttons['thankyou'] = array('text' => 'd_thank_you', 'image' => 'thank_you.gif', 'lang' => true, 'url' => $scripturl . '?action=thankyoupost;topic=' . $context['current_topic'] . '.0');
elseif ($context['thank_you']['premission']['add'])
$normal_buttons['thankyou'] = array('text' => 'd_thank_you_add', 'image' => 'thank_you_add.gif', 'lang' => true, 'url' => $scripturl . '?action=thankyouadd;topic=' . $context['current_topic'] . '.0');
}

    // Show the page index... "Pages: [1]".
    echo '
<div style="text-align:right;">', $context['previous_next'], '</div>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
    <tr>
        <td align="left" style="padding-left: 1ex;">
            <table cellpadding="0" cellspacing="0">
                <tr>
                    ', template_button_strip($normal_buttons, 'bottom'), '
                </tr>
            </table>
        </td>
        <td class="middletext" valign="bottom" align="right" style="padding-bottom: 4px;padding-right: 1ex;">', $txt[139], ': ', $context['page_index'], !empty($modSettings['topbottomEnable']) ? $context['menu_separator'] . ' &nbsp;&nbsp;<a href="#lastPost"><b>' . $txt['topbottom5'] . '</b></a>' : '', '</td>
    </tr>
</table>';

    // Show the page information, Number of views, Topic Tools, etc...


please tell me if it'll work..
Title: Re: Thank You Mod (1.2.1)
Post by: ormuz on December 15, 2008, 05:53:28 AM
Do u have activated the mod in the board options?
Title: Re: Thank You Mod (1.2.1)
Post by: JungleBunny on January 26, 2009, 04:04:33 PM
Hi everybody,

can someone give me a good hint how this mod works with sticky postings ?
Works fine in the normal way but when I made this topic sticky, all Thanks are gone in this sticky first posting.
They all exist in the normal first posting but when you have got 7 pages, nobody will see it..

Thanks.
Title: Re: Thank You Mod (1.2.1)
Post by: ディン1031 on January 27, 2009, 01:02:05 AM
Quote from: JungleBunny on January 26, 2009, 04:04:33 PM
Hi everybody,

can someone give me a good hint how this mod works with sticky postings ?
Works fine in the normal way but when I made this topic sticky, all Thanks are gone in this sticky first posting.
They all exist in the normal first posting but when you have got 7 pages, nobody will see it..

Thanks.
oO Normal this should not happen, i've a lot of sticky with thank you posts...
Did you change something for the Sticky posts, or use any mod that extent the sticky options?

Bye
DIN1031
Title: Re: Thank You Mod (1.2.1)
Post by: JungleBunny on January 27, 2009, 04:57:01 AM
Hi Din1031,

jep, I have the mod "Sticky First Post (extends sticky topic)".
Uninstall this mod ?

Thanks
Title: Re: Thank You Mod (1.2.1)
Post by: ディン1031 on January 27, 2009, 03:00:56 PM
Quote from: JungleBunny on January 27, 2009, 04:57:01 AM
Hi Din1031,

jep, I have the mod "Sticky First Post (extends sticky topic)".
Uninstall this mod ?

Thanks
Could you give me a link to the mod? ;)
I will try it, possible I've a idea to solve this. (But i need some time for that, i've some other important things to do :X)

Bye
DIN1031
Title: Re: Thank You Mod (1.2.1)
Post by: JungleBunny on January 27, 2009, 03:23:50 PM
You are my Duke :D :D :D

Link to mod is http://custom.simplemachines.org/mods/index.php?mod=235 (http://custom.simplemachines.org/mods/index.php?mod=235)

Would be great if you could help me.

Thank you
Title: Re: Thank You Mod (1.2.1)
Post by: ディン1031 on January 29, 2009, 11:08:03 AM
Quote from: JungleBunny on January 27, 2009, 03:23:50 PM
You are my Duke :D :D :D

Link to mod is http://custom.simplemachines.org/mods/index.php?mod=235 (http://custom.simplemachines.org/mods/index.php?mod=235)

Would be great if you could help me.

Thank you
So it work like it should... if you go to the first page on the first sticky post the thank you list is shown. (Like it should) ;).

See image.

Bye
DIN1031
Title: Re: Thank You Mod (1.2.1)
Post by: JungleBunny on January 31, 2009, 09:47:39 AM
Hiya 1031,

I see :-X
But I think I known now the problem.
I installed the thank o matic mod previous and wanted to midify theThank You Mod in this kind that it is a participation for events.
They click on the Thank You button ( Participation button ) and their names will be listed for an event described in the topic.
Worked but not for the sticky topic.
But both mods do not work together :( :(

Thanks for your answers.

JungleBunny
Title: Re: Thank You Mod (1.2.1)
Post by: ディン1031 on January 31, 2009, 05:38:47 PM
Quote from: JungleBunny on January 31, 2009, 09:47:39 AM
Hiya 1031,

I see :-X
But I think I known now the problem.
I installed the thank o matic mod previous and wanted to midify theThank You Mod in this kind that it is a participation for events.
They click on the Thank You button ( Participation button ) and their names will be listed for an event described in the topic.
Worked but not for the sticky topic.
But both mods do not work together :( :(

Thanks for your answers.

JungleBunny
I know a lot mods where thank you mod and thank-o-matic work together, or did you mean sticky post does not work together with thank-o-matic?

Bye
DIN1031
Title: Re: Thank You Mod (1.2.1)
Post by: JungleBunny on January 31, 2009, 09:32:16 PM
Thank o matic and sticky = no problem - Thank you user shown in sticky topic :D
Thank You Mod and sticky = no problem - Thank you user shown in sticky topic :D
Thank o matic and Thank You Mod and sticky = problem - Thank o matic Thank You User are shown as a list - No user shown from the Thank You Mod :-X

If it would help then I can make a snapshot.
Title: Re: Thank You Mod (1.2.1)
Post by: ディン1031 on February 01, 2009, 01:42:03 AM
Quote from: JungleBunny on January 31, 2009, 09:32:16 PM
Thank o matic and sticky = no problem - Thank you user shown in sticky topic :D
Thank You Mod and sticky = no problem - Thank you user shown in sticky topic :D
Thank o matic and Thank You Mod and sticky = problem - Thank o matic Thank You User are shown as a list - No user shown from the Thank You Mod :-X

If it would help then I can make a snapshot.
Complex problem. But i will look at it.

Bye
DIN1031
Title: Re: Thank You Mod (1.2.1)
Post by: JungleBunny on February 01, 2009, 02:00:06 AM
That would be really great :-* :-*
And all this  because I want that the members only have to click on a button so that their names are on the list :D
Title: Re: Thank You Mod (1.2.1)
Post by: gilanisoft on February 04, 2009, 07:29:01 PM
hi
i have installed both thank you mod and thank-o-matic mode.but there is no thank you button in topic view or in posts.
please help me.here is my site link.

http://pmdc.gilanisoft.com
Title: Re: Thank You Mod (1.2.1)
Post by: ディン1031 on February 05, 2009, 12:44:58 AM
Quote from: gilanisoft on February 04, 2009, 07:29:01 PM
hi
i have installed both thank you mod and thank-o-matic mode.but there is no thank you button in topic view or in posts.
please help me.here is my site link.

http://pmdc.gilanisoft.com
Did you enable it on the boards?
Did you set up the permissions?
Did you make the costum theme changes if they are needed?

Bye
DIN1031
Title: Re: Thank You Mod (1.2.1)
Post by: sombra on February 05, 2009, 06:55:32 AM
hello. nice mod very usefull

im having a bit of a problem in the maintain secction of the forum wen o go to repair thank you tables shows me an error in the log says this

http://todoilegal.net/index.php?action=admin;area=thankyoupostrepairtable
Apply Filter: Only show the errors with the same message
Wrong value type sent to the database. Integer expected.
Function: updateMemberData
Apply Filter: Only show the errors from this file
Archivo: /home/todoile1/public_html/Sources/Subs.php
Línea: 564

any idea how to fix it

and thanks for this grat mod
Title: Re: Thank You Mod (1.2.1)
Post by: fiver on February 05, 2009, 11:16:59 AM
Hi din1031,

<search for>
        'mark_any_notify',
        'mark_notify',
        'admin_forum',
</search for>

<replace>
        'thank_you_post',
        'thank_you_add',
        'thank_you_lock',
        'thank_you_remove',
        'mark_any_notify',
        'mark_notify',
</replace>


Any consequences without the "admin_forum" part? Is it a typo in the mod?
Title: Re: Thank You Mod (1.2.1)
Post by: ディン1031 on February 05, 2009, 03:03:13 PM
Quote from: sombra on February 05, 2009, 06:55:32 AM
hello. nice mod very usefull

im having a bit of a problem in the maintain secction of the forum wen o go to repair thank you tables shows me an error in the log says this

http://todoilegal.net/index.php?action=admin;area=thankyoupostrepairtable
Apply Filter: Only show the errors with the same message
Wrong value type sent to the database. Integer expected.
Function: updateMemberData
Apply Filter: Only show the errors from this file
Archivo: /home/todoile1/public_html/Sources/Subs.php
Línea: 564

any idea how to fix it

and thanks for this grat mod
Which Mod which version?

Quote from: fivearts on February 05, 2009, 11:16:59 AM
Hi din1031,

<search for>
        'mark_any_notify',
        'mark_notify',
        'admin_forum',
</search for>

<replace>
        'thank_you_post',
        'thank_you_add',
        'thank_you_lock',
        'thank_you_remove',
        'mark_any_notify',
        'mark_notify',
</replace>


Any consequences without the "admin_forum" part? Is it a typo in the mod?
Wow this is a real bug oO i need to fix it asap...

Thank you for the information... i never saw this...

But it should happen nothing ;), you can only give not the premission admin_forum to a group.

But the new version 1.2.2 will fix it :)

Bye
DIN1031
Title: Re: Thank You Mod (1.2.2)
Post by: sombra on February 06, 2009, 09:31:28 AM
im using      Thank-O-Matic      2.0 Beta 8

smf 2.04
Title: Re: Thank You Mod (1.2.2)
Post by: ディン1031 on February 06, 2009, 11:15:30 AM
Quote from: sombra on February 06, 2009, 09:31:28 AM
im using      Thank-O-Matic      2.0 Beta 8

smf 2.04
Hmmm i thought i fixed it ;), but possible that i forgot to insert it :)
I will fix it with the next beta... (a lot things to do) :X

And please next time use the Thank-O-Matic thread for this Information this is a other mod :P.

Bye
DIN1031
Title: Re: Thank You Mod (1.2.2)
Post by: sombra on February 07, 2009, 09:00:43 AM
hehee didint notice sorry for that :o
Title: Re: Thank You Mod (1.2.2)
Post by: keng_113 on February 10, 2009, 04:22:09 AM
Hi anyone can help me with this one?
I'm trying to uninstall this  from my forum but there's always an error before the uninstallation.

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.

Quote1.   Delete File   ./Themes/default/images/english/thank_you.gif   
2.   Delete File   ./Themes/default/images/buttons/thank_you_b.gif   
3.   Delete File   ./Themes/default/images/english/thank_you_add.gif   
4.   Delete File   ./Themes/default/images/english/thank_you_delete.gif   
5.   Delete File   ./Themes/default/images/english/thank_you_lock1.gif   
6.   Delete File   ./Themes/default/images/english/thank_you_lock2.gif   
7.   Delete File   ./Sources/ThankYou.php   
8.   Delete File   ./Themes/default/ThankYou.template.php   
9.   Delete File   ./Themes/default/languages/ThankYou.english.php   
10.   Execute Modification   ./index.php   Test successful
11.   Execute Modification   ./Sources/Display.php   Test successful
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/ModSettings.php   Test failed
16.   Execute Modification   ./Sources/Post.php   Test successful
17.   Execute Modification   ./Sources/Security.php   Test successful
18.   Execute Modification   ./Sources/Subs-Boards.php   Test successful
19.   Execute Modification   ./Sources/Subs-Post.php   Test successful
20.   Execute Modification   ./Themes/default/Display.template.php   Test successful
21.   Execute Modification   ./Themes/default/ManageBoards.template.php   Test successful
22.   Execute Modification   ./Themes/default/Post.template.php   Test successful
23.   Execute Modification   ./Themes/default/languages/index.english.php   Test successful
24.   Execute Modification   ./Themes/default/languages/ManagePermissions.english.php   Test successful
25.   Execute Modification   ./Themes/default/languages/ManageBoards.english.php   Test successful
26.   Execute Modification   ./Themes/default/languages/Post.english.php   Test successful
27.   Execute Modification   ./Themes/default/languages/ModSettings.english.php   Test successful
Title: Re: Thank You Mod (1.2.2)
Post by: ディン1031 on February 10, 2009, 12:13:32 PM
The changes in the file are not difficult to remove :).

Look here at the mod site of this mod and let it parse your version and than you can see what to to in the ModSettings.php.

Bye
DIN1031
Title: Re: Thank You Mod (1.2.2)
Post by: papabill on February 12, 2009, 09:55:23 AM
I'm getting this error whenever I go to ANY topic:

"Unknown column 'b.thank_you_automatic' in 'field list'"
Title: Re: Thank You Mod (1.2.2)
Post by: ディン1031 on February 12, 2009, 03:17:52 PM
Quote from: papabill on February 12, 2009, 09:55:23 AM
I'm getting this error whenever I go to ANY topic:

"Unknown column 'b.thank_you_automatic' in 'field list'"
That mean the code from the install_1.x.x.php is not executed ;).

Upload the file -> install_1.x.x.php and call it with the browser ;).

Bye
DIN1031
Title: Re: Thank You Mod (1.2.2)
Post by: papabill on February 12, 2009, 04:06:49 PM
Still didn't work. I uploaded install_1.x.x.php file into the main directory, ran it, the screen went blank, and nothing happened. I recalled the board, and got the same error.
Title: Re: Thank You Mod (1.2.2)
Post by: ディン1031 on February 12, 2009, 05:26:15 PM
Quote from: papabill on February 12, 2009, 04:06:49 PM
Still didn't work. I uploaded install_1.x.x.php file into the main directory, ran it, the screen went blank, and nothing happened. I recalled the board, and got the same error.
oO... normal this file install and upgrade the database... and blank is not good... normal there should be an information "Database Updated" :x... thats not normal...
Title: Re: Thank You Mod (1.2.2)
Post by: musc on February 14, 2009, 06:21:55 AM
Hi guys.I installed this mod but I get this error:
Fatal error: Unsupported operand types in /home/public_html/forum/Sources/Load.php(1956) : eval()'d code on line 433
What is the problem?Before this happened the mod didn't work well.Can you help me please.I have smf 1.1.8 with 1.22 thank you mod.Thank you.
Title: Re: Thank You Mod (1.2.2)
Post by: ディン1031 on February 14, 2009, 02:25:19 PM
Quote from: musc on February 14, 2009, 06:21:55 AM
Hi guys.I installed this mod but I get this error:
Fatal error: Unsupported operand types in /home/public_html/forum/Sources/Load.php(1956) : eval()'d code on line 433
What is the problem?Before this happened the mod didn't work well.Can you help me please.I have smf 1.1.8 with 1.22 thank you mod.Thank you.
I don't eval any code oO.
I think this come from a different mod... can i see you Load.php?

Bye
DIN1031
Title: Re: Thank You Mod (1.2.2)
Post by: fiver on February 15, 2009, 12:06:03 AM
Hi DIN1031,

I have Thank You Mod version 1.2.1 in SMF1.1.8 (update).  In the forum error log, there are about 6 error messages for each member on each topic page:

Today at 12:53:54 PM
8: Undefined variable: user_profile
File: /....../Themes/default/languages/ThankYou.english.php (main sub template - eval?)
Line: 444

Today at 12:53:54 PM
8: Undefined variable: user
File: /....../Themes/default/languages/ThankYou.english.php (main sub template - eval?)
Line: 444

Today at 12:53:54 PM
8: Undefined index:  ID_MEMBER
File: /....../Themes/default/languages/ThankYou.english.php (main sub template - eval?)
Line: 444

Today at 12:53:53 PM
[/]
8: Undefined variable: user_profile
File: /....../Themes/default/languages/ThankYou.english.php (main sub template - eval?)
Line: 444

Today at 12:53:53 PM
[/]
Undefined variable: user
File: /....../Themes/default/languages/ThankYou.english.php (main sub template - eval?)
Line: 444

Today at 12:53:53 PM
[/]
8: Undefined index:  ID_MEMBER
File: /....../Themes/default/languages/ThankYou.english.php (main sub template - eval?)
Line: 444

I have disabled error logging for now. Please help. Many thanks.
Title: Re: Thank You Mod (1.2.2)
Post by: ディン1031 on February 15, 2009, 04:30:37 PM
oO are you sure this come from my mod, because it's only a language file i do not even have so much line in the file.
I think this come from an other mod, because its happen each time on the same line...

Did you uninstall it and see if this also happen? :X

Bye
DIN1031
Title: Re: Thank You Mod (1.2.2)
Post by: EkSeS on March 04, 2009, 07:34:07 PM


Hi,

The ThankOMatic20Beta9 (2.0 RC1).zip version does not create the table in the database

Table 'xxx.smf_thank_you_post'

Title: Re: Thank You Mod (1.2.2)
Post by: ディン1031 on March 06, 2009, 07:58:14 AM
Quote from: EkSeS on March 04, 2009, 07:34:07 PM


Hi,

The ThankOMatic20Beta9 (2.0 RC1).zip version does not create the table in the database

Table 'xxx.smf_thank_you_post'
This is not the correct thread for this modification you mention!

Thank You Mod != Thank-O-Matic

Bye
DIN1031
Title: Re: Thank You Mod (1.2.2)
Post by: daveaite on March 09, 2009, 02:39:35 AM
Hey I am currently using your mod in version 1. I'm using a custom theme. I applied your parser theme changes. I still don't see the buttons as an admin/guest.

-I activated it in the Admin panel and the boards I wanted. The buttons are just not visible anywhere. :/

Please help! I've spent like all day on this before asking for your help. What exactly do I edit?
Title: Re: Thank You Mod (1.2.2)
Post by: ディン1031 on March 09, 2009, 09:00:09 AM
Quote from: daveaite on March 09, 2009, 02:39:35 AM
Hey I am currently using your mod in version 1. I'm using a custom theme. I applied your parser theme changes. I still don't see the buttons as an admin/guest.

-I activated it in the Admin panel and the boards I wanted. The buttons are just not visible anywhere. :/

Please help! I've spent like all day on this before asking for your help. What exactly do I edit?
Did you enable the boards where the mod should be used?
Did you set up the permissions?

Bye
DIN1031
Title: Re: Thank You Mod (1.2.2)
Post by: Neverhurry on March 27, 2009, 07:01:02 AM
Hello DIN1031,

i installed the mod, everything looks fine, but when i click the thank you button, first it says "No Users found in the list.", i have to click the 2nd time until the username displays. Is it wrong?
Title: Re: Thank You Mod (1.2.2)
Post by: ディン1031 on March 27, 2009, 10:20:00 AM
Quote from: neverhurry on March 27, 2009, 07:01:02 AM
Hello DIN1031,

i installed the mod, everything looks fine, but when i click the thank you button, first it says "No Users found in the list.", i have to click the 2nd time until the username displays. Is it wrong?
It's correct this mod create first the thank you list for the topic, than you can post thank you. ;)
Title: Re: Thank You Mod (1.2.2)
Post by: peterkling on April 02, 2009, 08:52:28 AM
Very good work DIN1031 THANK YOU - o - matic ;-)

Maybe it has been asked before, but I can't find it....

Is there a possibility to combine Thank-O-Matic and Thank You Mod?

BECAUSE: I tried to install Thank-O-Matic for the last 3 days... (ok, I am a newbie, and I simply could not find the "activate"-choice button for the boards in german language (difficult without text ;-) )
I read that Thank You Mod is just for Topics, and I wanted it for POSTS....
Just found the nice pictures of Thank You Mod and hoped Thank-O-Matic just does the same....
SO - what do I have to do, to display the members who "thanked" for the post underneath the post? (like in "Thank You Mod"?)

SMF: 1.1.8
Thank-O-Matic: 1.2.5

PS: your Language File Compare      1.0.1 is VERY nice and helpful!
Title: Re: Thank You Mod (1.2.2)
Post by: befriend on April 02, 2009, 10:01:51 AM
Hi Dear, Thank you very much for ur detailed post. dear i hav a question in this regard please help me, i wanna hide my post through thanks button is it possible?? user can see my post after submitting thanks please reply i m wating;;)
Title: Re: Thank You Mod (1.2.2)
Post by: ディン1031 on April 02, 2009, 10:06:28 AM
Quote from: peterkling on April 02, 2009, 08:52:28 AM
Very good work DIN1031 THANK YOU - o - matic ;-)

Maybe it has been asked before, but I can't find it....

Is there a possibility to combine Thank-O-Matic and Thank You Mod?

BECAUSE: I tried to install Thank-O-Matic for the last 3 days... (ok, I am a newbie, and I simply could not find the "activate"-choice button for the boards in german language (difficult without text ;-) )
I read that Thank You Mod is just for Topics, and I wanted it for POSTS....
Just found the nice pictures of Thank You Mod and hoped Thank-O-Matic just does the same....
SO - what do I have to do, to display the members who "thanked" for the post underneath the post? (like in "Thank You Mod"?)

SMF: 1.1.8
Thank-O-Matic: 1.2.5

PS: your Language File Compare      1.0.1 is VERY nice and helpful!
Yes both mods can be used at the same time.

.... even if it the wrong mod thread... Look inside the Features and Settings, there are the Options for this. The Enable option will be find inside the Boards.

Damit du es auch verstehst ;) am ersten post wäre ein paket angehängt gewesen womit du die deutsche sprache installieren kannst, ich empfehle dir auch allgemein den Load Standard Language Mod zu installieren, damit wird das Problem mit der Sprache geringer werden. (Da zumindest die englische Version immer da ist :D).

Quote from: befriend on April 02, 2009, 10:01:51 AM
Hi Dear, Thank you very much for ur detailed post. dear i hav a question in this regard please help me, i wanna hide my post through thanks button is it possible?? user can see my post after submitting thanks please reply i m wating;;)
There are option in Features and Settings -> Thank You Mod. I think the last three. It depend on which hide tag mod you use, but it will be stand in the description what mod is needed for this and which way it should be shown.

Bye
DIN1031
Title: Re: Thank You Mod (1.2.2)
Post by: peterkling on April 03, 2009, 07:36:45 AM
Thanks for your fast reply -

I am a newbie... therefore I should have checked the theme I use for the changes 
Did them Manually and everything was all right...

All "thank you posts" are there ;-) (wrong topic, but this is very general and fits here, too)

Danke für den hinweis auf Deutsch (thanks for the hint in german)

./Themes/default/Display.template.php is not ./Themes/classic/Display.template.php ;-)
Title: Re: Thank You Mod (1.2.2)
Post by: jabisai on April 03, 2009, 10:01:53 AM
Hello this mod is very nice, but i need your help about my problem, i need modify some word in this mod. look at the pintures for example.

(http://img8.imageshack.us/img8/7568/thankyoumod.jpg)

in a first, I need writte "Members give you thank you"
i the second: "Look at the list thank you"

Please I do not know what file modify??
Title: Re: Thank You Mod (1.2.2)
Post by: ディン1031 on April 04, 2009, 04:12:09 PM
Quote from: jabisai on April 03, 2009, 10:01:53 AM
Hello this mod is very nice, but i need your help about my problem, i need modify some word in this mod. look at the pintures for example.

(http://img8.imageshack.us/img8/7568/thankyoumod.jpg)

in a first, I need writte "Members give you thank you"
i the second: "Look at the list thank you"

Please I do not know what file modify??
I would say you miss the translations :).
Look into the ThankYouModEnglish.xml of the Modification Package, there all changes who done for the english language.

Bye
DIN1031
Title: Re: Thank You Mod (1.2.2)
Post by: jabisai on April 05, 2009, 07:18:49 PM
Quote from: ディン1031 on April 04, 2009, 04:12:09 PM
Quote from: jabisai on April 03, 2009, 10:01:53 AM
Hello this mod is very nice, but i need your help about my problem, i need modify some word in this mod. look at the pintures for example.

(http://img8.imageshack.us/img8/7568/thankyoumod.jpg)

in a first, I need writte "Members give you thank you"
i the second: "Look at the list thank you"

Please I do not know what file modify??
I would say you miss the translations :).
Look into the ThankYouModEnglish.xml of the Modification Package, there all changes who done for the english language.

Bye
DIN1031

Thank for your answer, but my forum is in spanish_es and I do not what modify.

Please tell me!!
Title: Re: Thank You Mod (1.2.2)
Post by: ディン1031 on April 07, 2009, 04:34:59 AM
Quote from: jabisai on April 05, 2009, 07:18:49 PM
Quote from: ディン1031 on April 04, 2009, 04:12:09 PM
Quote from: jabisai on April 03, 2009, 10:01:53 AM
Hello this mod is very nice, but i need your help about my problem, i need modify some word in this mod. look at the pintures for example.

(http://img8.imageshack.us/img8/7568/thankyoumod.jpg)

in a first, I need writte "Members give you thank you"
i the second: "Look at the list thank you"

Please I do not know what file modify??
I would say you miss the translations :).
Look into the ThankYouModEnglish.xml of the Modification Package, there all changes who done for the english language.

Bye
DIN1031

Thank for your answer, but my forum is in spanish_es and I do not what modify.

Please tell me!!
Did you also copy the ThankYou.english.php to ThankYou.spain_es.php? (I don't know the correct language name ;D).

Bye
DIN1031
Title: Re: Thank You Mod (1.2.2)
Post by: javierjp on April 10, 2009, 10:05:10 AM
Very good work DIN1031 thanks man!

Exist any way to have the number of given and receive thanks in "Thank You Mod" ?   

just like this picture
http://custom.simplemachines.org/mods/index.php?action=download;mod=710;id=76119;image


I know your other mod "Thank-O-Matic" has these feature,  but i really like the system used in "thank you mod"  only give thanks to the topic and not to the post.

best reggards


Title: Re: Thank You Mod (1.2.2)
Post by: ディン1031 on April 11, 2009, 04:38:02 AM
It's not possible because i don't cache this information and if insert a query what can make this it will be slow query. But i will think about it possible there will be an easy solution.

Bye
DIN1031
Title: Re: Thank You Mod (1.2.2)
Post by: hellboy78 on April 20, 2009, 05:15:18 PM
I use blacktothefuture theme,

which php I should modify manually??
Title: Re: Thank You Mod (1.2.2)
Post by: hellboy78 on April 20, 2009, 05:17:44 PM
Quote from: ディン1031 on January 16, 2006, 01:23:53 PM
(http://www.din1031.de/bilder/boardspic/thank_you_example.jpg)

A Example what the mod does ;).

Bye
DIN1031

how to post pics in this way inside SMF?
Title: Re: Thank You Mod (1.2.2)
Post by: ディン1031 on April 21, 2009, 12:54:27 AM
I don't understand what you want? :X
Title: Re: Thank You Mod (1.2.2)
Post by: hellboy78 on April 21, 2009, 03:01:04 AM
I use blacktothefuture theme,

which php I should modify manually??
Title: Re: Thank You Mod (1.2.2)
Post by: ディン1031 on April 21, 2009, 12:41:00 PM
Go to the Mod Page of this mod, than select your version than click on parse.

Than you see what the mod change ;). Now search for the things, that changed on the default theme and make this changes on your theme.

Bye
DIN1031
Title: Re: Thank You Mod (1.2.2)
Post by: hellboy78 on April 23, 2009, 11:42:14 AM
Quote from: ディン1031 on April 21, 2009, 12:41:00 PM
Go to the Mod Page of this mod, than select your version than click on parse.

Than you see what the mod change ;). Now search for the things, that changed on the default theme and make this changes on your theme.

Bye
DIN1031

thank you for the info, but I use SMF 1.1.8., blacktothefuture theme,
I've done "parse", for all mods I istalled, also manullay,
but now, "parse" show me php to modify that doen't exist in my theme, or I cannot find them.
if someone known ,
into my theme folder I have
BoardIndex.template.php
index.template.php
MessageIndex.template.php

into languages only
Modifications.english.php

Title: Re: Thank You Mod (1.2.2)
Post by: Ferrin on April 29, 2009, 11:18:02 AM
How do I make the following changes to the WoW-DK Theme Display.template?

FIND:
else
unset($normal_buttons['custom']);



ADD AFTER:

//Thank You Button is now where it belongs <<
if (isset($context['thank_you']['premission'])) {
if ($context['thank_you']['premission']['post'])
$normal_buttons['thankyou'] = array('text' => 'd_thank_you', 'image' => 'thank_you.gif', 'lang' => true, 'url' => $scripturl . '?action=thankyoupost;topic=' . $context['current_topic'] . '.0');
elseif ($context['thank_you']['premission']['add'])
$normal_buttons['thankyou'] = array('text' => 'd_thank_you_add', 'image' => 'thank_you_add.gif', 'lang' => true, 'url' => $scripturl . '?action=thankyouadd;topic=' . $context['current_topic'] . '.0');
}



Thanks for any help  ;)

Title: Re: Thank You Mod (1.2.2)
Post by: ディン1031 on April 30, 2009, 07:06:40 AM
http://www.simplemachines.org/community/index.php?topic=65339.msg1675432;topicseen#msg1675432

Normal this should work ;).

Bye
DIN1031
Title: Re: Thank You Mod (1.2.2)
Post by: Ferrin on April 30, 2009, 07:27:40 AM
Thank you very much  ;)

Title: Re: Thank You Mod (1.2.2)
Post by: aghahamidgol on May 13, 2009, 09:33:59 AM
hello

i want to user this mode : http://custom.simplemachines.org/mods/index.php?mod=257
after doing this tips for version 1.1.8 : http://custom.simplemachines.org/mods/index.php?action=parse

now i can see this mod in my admin panel but when i click on the link it doesnt work and do nothing.

any idea to solve this problem?

tnx a lot
Title: Re: Thank You Mod (1.2.2)
Post by: ディン1031 on May 13, 2009, 12:10:16 PM
Quote from: aghahamidgol on May 13, 2009, 09:33:59 AM
hello

i want to user this mode : http://custom.simplemachines.org/mods/index.php?mod=257
after doing this tips for version 1.1.8 : http://custom.simplemachines.org/mods/index.php?action=parse

now i can see this mod in my admin panel but when i click on the link it doesnt work and do nothing.

any idea to solve this problem?

tnx a lot
You need to replace on of the changes in the Modifcation.php multiple times. (The Package Manager do this automatic).

Bye
DIN1031
Title: Re: Thank You Mod (1.2.2)
Post by: Ferrin on May 19, 2009, 05:00:20 AM
I have problems (WoW-DK Theme) ...


1. Button does not work when click on it. Nothing happens. If I do this manually in the sql table. It works.
    Have used your note to integrate the buttons http://www.simplemachines.org/community/index.php?topic=65339.msg1675432;topicseen#msg1675432

2. Have the same problem as aghahamidgol with the admin panel. How solve?

3. [Not important] What do I need to make change. In order for the "Thank You" button at the top next to "Reply & Notify" appears?



Have my Display.template attached.

I am slightly desperate...


Thanks for your help!  ;)
Title: Re: Thank You Mod (1.2.2)
Post by: ディン1031 on May 19, 2009, 08:36:35 AM
Quote from: Ferrin on May 19, 2009, 05:00:20 AM
1. Button does not work when click on it. Nothing happens. If I do this manually in the sql table. It works.
    Have used your note to integrate the buttons http://www.simplemachines.org/community/index.php?topic=65339.msg1675432;topicseen#msg1675432
What kind of error appear?
And i don't see the thank you mod changes you mention in the file... oO.

Quote
2. Have the same problem as aghahamidgol with the admin panel. How solve?
Look at the post before ;).

Quote
3. [Not important] What do I need to make change. In order for the "Thank You" button at the top next to "Reply & Notify" appears?
You need to change the position in the array ;).

Add the insert after the

if ($context['can_mark_notify'])
$buttonArray[] = '<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']) . '\');">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/notify.gif" alt="' . $txt[131] . '" border="0" />' : $txt[131]) . '</a>';


Bye
DIN1031

Title: Re: Thank You Mod (1.2.2)
Post by: Ferrin on May 19, 2009, 09:51:27 AM
There will no error appear. After click of the button, no thank you will be display and there will nothing write in the SQL table.
I think that perhaps it is the button code.

QuoteAnd i don't see the thank you mod changes you mention in the file... oO.

right. Do this without the changes. Because i think it is easier to make this completely new.

QuoteYou need to replace on of the changes in the Modifcation.php multiple times. (The Package Manager do this automatic).

   
I've read. But not really help me further.


Thanks for your help! ;)
Title: Re: Thank You Mod (1.2.2)
Post by: ディン1031 on May 20, 2009, 12:47:31 AM
Hmmm normal there should be at least an error... could you look into the error log?
I think there must be an error...
Title: Re: Thank You Mod (1.2.2)
Post by: Ferrin on May 20, 2009, 05:12:14 AM
ok. I will look...

What do you mean exactly with "You need to replace on of the changes in the Modifcation.php multiple times" ?
Title: Re: Thank You Mod (1.2.2)
Post by: eclipse245 on May 30, 2009, 10:27:27 PM
How do you make Thank You's  add to reputation?
Title: Re: Thank You Mod (1.2.2)
Post by: rjckE on June 01, 2009, 07:00:08 AM
Hi guys, i'm trying to uninstall Thank You Mod to use Thank-O-Matic but i can't.

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.

QuoteUninstall Actions "Thank You Mod":
Installing this package will perform the following actions:
   Type    Action    Description
1.    Delete File    ./Themes/default/images/english/thank_you.gif    
2.    Delete File    ./Themes/default/images/buttons/thank_you_b.gif    
3.    Delete File    ./Themes/default/images/english/thank_you_add.gif    
4.    Delete File    ./Themes/default/images/english/thank_you_delete.gif    
5.    Delete File    ./Themes/default/images/english/thank_you_lock1.gif    
6.    Delete File    ./Themes/default/images/english/thank_you_lock2.gif    
7.    Delete File    ./Sources/ThankYou.php    
8.    Delete File    ./Themes/default/ThankYou.template.php    
9.    Delete File    ./Themes/default/languages/ThankYou.english.php    
10.    Execute Modification    ./index.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/ModSettings.php    Test failed
16.    Execute Modification    ./Sources/Post.php    Test successful
17.    Execute Modification    ./Sources/Security.php    Test successful
18.    Execute Modification    ./Sources/Subs-Boards.php    Test successful
19.    Execute Modification    ./Sources/Subs-Post.php    Test successful
20.    Execute Modification    ./Themes/default/Display.template.php    Test successful
21.    Execute Modification    ./Themes/default/ManageBoards.template.php    Test successful
22.    Execute Modification    ./Themes/default/Post.template.php    Test successful
23.    Execute Modification    ./Themes/default/languages/index.english.php    Test failed
24.    Execute Modification    ./Themes/default/languages/ManagePermissions.english.php    Test successful
25.    Execute Modification    ./Themes/default/languages/ManageBoards.english.php    Test successful
26.    Execute Modification    ./Themes/default/languages/Post.english.php    Test successful
27.    Execute Modification    ./Themes/default/languages/ModSettings.english.php    Test failed

What should i do?

Thanks
Title: Re: Thank You Mod (1.2.2)
Post by: ディン1031 on June 02, 2009, 05:59:45 AM
First question is there a special reason you like to remove it?


11.    Execute Modification    ./Sources/Display.php    Test failed
15.    Execute Modification    ./Sources/ModSettings.php    Test failed

This could be worse if not succefull. The other two can be ignored ;).
You need to remove that parts by hand...

Bye
DIN1031
Title: Re: Thank You Mod (1.2.2)
Post by: rjckE on June 02, 2009, 08:50:37 AM
Quote from: ディン1031 on June 02, 2009, 05:59:45 AM
First question is there a special reason you like to remove it?


11.    Execute Modification    ./Sources/Display.php    Test failed
15.    Execute Modification    ./Sources/ModSettings.php    Test failed

This could be worse if not succefull. The other two can be ignored ;).
You need to remove that parts by hand...

Bye
DIN1031

I want to use Thank O Matic ;)
And i'm upgrading to 2.0 RC1-1 so i tried to uninstall all mods before upgrading but i couldn't.

Thanks for your reply ;)
Title: Re: Thank You Mod (1.2.2)
Post by: herace on June 06, 2009, 09:34:27 PM
Turkish Language Package is not working in 1.1.9!
Title: Re: Thank You Mod (1.2.2)
Post by: Edin_FMB on June 09, 2009, 06:20:16 AM
is it going to be this mode for smf 2.0 rc1-1???
Title: Re: Thank You Mod (1.2.2)
Post by: ディン1031 on June 10, 2009, 02:39:39 PM
At the Moment this mod is not working with 2.0 RC1. At the moment you can use Thank-O-Matic and the first post only option which is near the same ;). (For this mod i need a lot things to rework before i make a smf 2.0 version.)
Title: Re: Thank You Mod (1.2.2)
Post by: Ferrin on June 15, 2009, 12:53:31 PM
I am again ...

Get with the change in the "Post.template" not out. Would be nice if you perhaps can see a look. Change is there.

And in the admin center I do not get out. That I can make the settings. Would be nice if you could tell me exactly what I must make it work.

Thanks for your help!  ;)
Title: Re: Thank You Mod (1.2.2)
Post by: ディン1031 on June 16, 2009, 01:34:14 AM
somehow i don't understand what you want...

The file is to heavy changes... i don't know how to insert my modification there...
Title: Re: Thank You Mod (1.2.2)
Post by: Ferrin on June 16, 2009, 04:47:58 AM
The problem with the "Post.template" is now fixed.


Now the only problem with the admin panel.

I see the mod in my admin panel. But when i click on the link it doesn't work and do nothing.

What did you mean exactly with:
QuoteYou need to replace on of the changes in the Modifcation.php multiple times. (The Package Manager do this automatic).

Could you me it may be a bit more detail? I have no idea to solved this.


Thanks for your help! ;)


Title: Re: Thank You Mod (1.2.2)
Post by: ディン1031 on June 16, 2009, 05:50:49 AM
Quote from: Ferrin on June 16, 2009, 04:47:58 AM
The problem with the "Post.template" is now fixed.


Now the only problem with the admin panel.

I see the mod in my admin panel. But when i click on the link it doesn't work and do nothing.

What did you mean exactly with:
QuoteYou need to replace on of the changes in the Modifcation.php multiple times. (The Package Manager do this automatic).

Could you me it may be a bit more detail? I have no idea to solved this.


Thanks for your help! ;)
Change in Filename: $sourcedir/ModSettings.php
Quote
Search for this
'layout' => array(
'title' => $txt['mods_cat_layout'],
'href' => $scripturl . '?action=featuresettings;sa=layout;sesc=' . $context['session_id'],
),

Replace All with
'layout' => array(
'title' => $txt['mods_cat_layout'],
'href' => $scripturl . '?action=featuresettings;sa=layout;sesc=' . $context['session_id'],
),
'ThankYou' => array(
'title' => $txt['Thank_You_Headline'],
'href' => $scripturl . '?action=featuresettings;sa=ThankYou;sesc=' . $context['session_id'],
),

Search for this
'layout' => 'ModifyLayoutSettings',

Replace All with
'layout' => 'ModifyLayoutSettings',
'ThankYou' => 'ModifyThankYouSettings',


One of them need to be changed twice ;).
Title: Re: Thank You Mod (1.2.2)
Post by: Ferrin on June 16, 2009, 07:39:58 AM
'layout' => 'ModifyLayoutSettings',
'ThankYou' => 'ModifyThankYouSettings',


Must be changed twice.

Thank you very much for your help. ;) Now it works flawlessly.

Maybe even a little simplification which the texts are concerned.
Would it not perhaps a good thing for all texts of this mod to bring in the "Modifications.language.php" ?

Title: Re: Thank You Mod (1.2.2)
Post by: ディン1031 on June 17, 2009, 06:34:58 AM
Quote from: Ferrin on June 16, 2009, 07:39:58 AM
'layout' => 'ModifyLayoutSettings',
'ThankYou' => 'ModifyThankYouSettings',


Must be changed twice.

Thank you very much for your help. ;) Now it works flawlessly.

Maybe even a little simplification which the texts are concerned.
Would it not perhaps a good thing for all texts of this mod to bring in the "Modifications.language.php" ?
That would be a feature if i've the time to make an update for SMF 2.0 ;).
Title: Re: Thank You Mod (1.2.2)
Post by: DELHI_BOY on July 01, 2009, 05:27:54 AM
I not able to install this mod as due to this error:-

12.     Execute Modification     ./Sources/Display.php     Test failed

14.    Execute Modification    ./Sources/ManageBoards.php    Test failed

I am using smf 1.1.9 with ReDark Theme. When parse manually, i cannot find this code in manageboards.php:-
$boardOptions['posts_count'] = isset($_POST['count']);

Title: Re: Thank You Mod (1.2.2)
Post by: ディン1031 on July 02, 2009, 01:20:02 AM
Quote from: DELHI_BOY on July 01, 2009, 05:27:54 AM
manageboards.php:-
$boardOptions['posts_count'] = isset($_POST['count']);
Arround Line 587.

Bye
DIN1031
Title: Re: Thank You Mod (1.2.2)
Post by: DELHI_BOY on July 02, 2009, 10:26:38 AM
Quote from: ディン1031 on July 02, 2009, 01:20:02 AM
Quote from: DELHI_BOY on July 01, 2009, 05:27:54 AM
manageboards.php:-
$boardOptions['posts_count'] = isset($_POST['count']);
Arround Line 587.

But how to jump to line 587?
Title: Re: Thank You Mod (1.2.2)
Post by: DELHI_BOY on July 03, 2009, 03:36:21 AM
Now there is only one test failed in /sources/display.php file and all test pass sucessfully. I am using smf 1.1.9 with ReDark theme.
Title: Re: Thank You Mod (1.2.2)
Post by: DELHI_BOY on July 08, 2009, 07:20:29 AM
My forum is without thank you mod. I need it urgent. Plz help me.
Title: Re: Thank You Mod (1.2.2)
Post by: ディン1031 on July 09, 2009, 12:21:28 AM
Quote from: DELHI_BOY on July 03, 2009, 03:36:21 AM
Now there is only one test failed in /sources/display.php file and all test pass sucessfully. I am using smf 1.1.9 with ReDark theme.
I can only say parse the mod and do look for this changes in the file... normal this is not very difficult...
Title: Re: Thank You Mod (1.2.2)
Post by: akc42 on July 15, 2009, 05:44:31 AM
I am very carefully manually installing this mod (my setup involves multiple sites and the use of git for version control) and I just came across this.  It looks wrong to me - it seems we are allowing guests to admin the forum.

<edit file>

$sourcedir/ManagePermissions.php

</edit file>

...
<search for>

      'mark_any_notify',

      'mark_notify',

      'admin_forum',

</search for>



<replace>

      'thank_you_post',

      'thank_you_add',

      'thank_you_lock',

      'thank_you_remove',

      'mark_any_notify',

      'mark_notify',

</replace>

Title: Re: Thank You Mod (1.2.2)
Post by: ディン1031 on July 15, 2009, 06:17:35 AM
Quote from: akc42 on July 15, 2009, 05:44:31 AM
I am very carefully manually installing this mod (my setup involves multiple sites and the use of git for version control) and I just came across this.  It looks wrong to me - it seems we are allowing guests to admin the forum.

<edit file>

$sourcedir/ManagePermissions.php

</edit file>

...
<search for>

      'mark_any_notify',

      'mark_notify',

      'admin_forum',

</search for>



<replace>

      'thank_you_post',

      'thank_you_add',

      'thank_you_lock',

      'thank_you_remove',

      'mark_any_notify',

      'mark_notify',

</replace>
I thought i fixed this allready...
they would be only allowed, if you allow it but normal this is not possible...
but you're right...
this must be fixed...
I will fix this with the 1.1.10 update ;).
Title: Re: Thank You Mod (V1.2.3)
Post by: herace on August 09, 2009, 11:16:26 PM
Turkish language pack is fixed!
File is attached!

Türkçe dil yaması düzenlendi.
Dosya ekte.

Title: Re: Thank You Mod (V1.2.3)
Post by: ディン1031 on August 10, 2009, 07:59:28 AM
Quote from: herace on August 09, 2009, 11:16:26 PM
Turkish language pack is fixed!
File is attached!

Türkçe dil yaması düzenlendi.
Dosya ekte.
Thank you i attach it to the first post, thank you =).
Title: Re: Thank You Mod (V1.2.3)
Post by: JungleBunny on August 12, 2009, 05:55:18 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

Thanks
Title: Re: Thank You Mod (V1.2.3)
Post by: ディン1031 on August 13, 2009, 07:32:01 AM
Quote from: JungleBunny on August 12, 2009, 05:55:18 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

Thanks
Are you sure that this is from this mod? Because i don't support any counter on this mod?
Title: Re: Thank You Mod (V1.2.3)
Post by: JungleBunny on August 13, 2009, 10:50:09 AM
Hahahahahaha, lollllllllll.

Sorry, I have 2 forums and at forum one I use your mod and on forum zwo the other one.

Was the other mod who causes an error.

:) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :)

O:) O:) O:) O:) O:) O:) O:) O:) O:) O:) O:) O:) O:)
Title: Re: Thank You Mod (V1.2.3)
Post by: warlock2009 on September 06, 2009, 09:23:53 AM
Why button thank you not appear in smf default theme 1.1.10
how to set that....
Title: Re: Thank You Mod (V1.2.3)
Post by: ディン1031 on September 07, 2009, 06:28:30 AM
Quote from: warlock2009 on September 06, 2009, 09:23:53 AM
Why button thank you not appear in smf default theme 1.1.10
how to set that....
Is it enabled on the board? Permissione set?

Bye
DIN1031
Title: Re: Thank You Mod (V1.2.3)
Post by: maue on October 14, 2009, 11:08:16 PM
I try to install the thank you mod  in version  SMF 1.1.10 but when I successfully installed the mod.. nothing happens i could not see the thank button in the boards even if i already enable it, can anybody please help me how to fix or to install this.. if possible can you give me the step by step tutorials on installing this.. am a newbies to this one.. please guyz help..

I do need it badly.. Guyz I do need your help  any reply will be greatly appreciated.. thanks
Title: Re: Thank You Mod (V1.2.3)
Post by: ディン1031 on October 16, 2009, 09:38:49 AM
Quote from: maue on October 14, 2009, 11:08:16 PM
I try to install the thank you mod  in version  SMF 1.1.10 but when I successfully installed the mod.. nothing happens i could not see the thank button in the boards even if i already enable it, can anybody please help me how to fix or to install this.. if possible can you give me the step by step tutorials on installing this.. am a newbies to this one.. please guyz help..

I do need it badly.. Guyz I do need your help  any reply will be greatly appreciated.. thanks
And you did set the permissions, too?
Also did you make the costom theme changes on you theme? Did it work on the default theme?
Title: Re: Thank You Mod (V1.2.3)
Post by: fightsol on November 02, 2009, 12:51:53 AM
Hello i just installed the mod, and tried to translate the necessary files to spanish. It seems there is no problem with the instalation of the mod, i modified manually one file.

I am trying to use it as the admin, and when i click "add thank you" then i look the post, and it has the message: "No users found in the list". Why doesn't simply put: (1) Admin ??

I think i have put all the permissions correctly: each user must see the thank you list, but i log with a normal user, and it doesn't appear anything for example the thank you button, or the message above (No Users found...)

What happens? Is the any configuration manual for setup correctly this mod after installation? It's a little hard with so much permissions and stuff...
Title: Re: Thank You Mod (V1.2.3)
Post by: ディン1031 on November 02, 2009, 09:41:14 AM
The mod work in that way :).
First you need to create the thank you thread, than you can give a thank you.
Title: Re: Thank You Mod (V1.2.3)
Post by: fightsol on November 02, 2009, 10:08:33 AM
Thank you.

I know that the mod work in that way.  I don't know why if i have done a thank you, why not directly create the thank you for the thread and put my thank you instead of only creating the thank you for the thread, it doesn't make sense because the creator of the thank you thread will not appear as given thank you.

Besides, i try to put  a thank you with a normal user (not admin) and i don't see any option. The permissions for all the users are setted up correctly i think.
Title: Re: Thank You Mod (V1.2.3)
Post by: ディン1031 on November 02, 2009, 11:32:40 AM
At the past it was total logical to do it that way, that the way how it worked in phpBB at the past.

And theres a different between create a Thank You Thread and Thank You post. Normal you need to give a permission to any that anyone can create a thank you thread.
Title: Re: Thank You Mod (V1.2.3)
Post by: okinawaredneck on December 02, 2009, 06:54:28 PM
I'm a total noob and tried to install this package this morning. Now when I click on a topic in a board I get this:


Fatal error: require_once() [function.require]: Failed opening required 'D:\Hosting\4305012\html\ou/Sources/ThankYou.php' (include_path='.;C:\php5\pear') in D:\Hosting\4305012\html\ou\Sources\Display.php on line 762
Title: Re: Thank You Mod (V1.2.3)
Post by: okinawaredneck on December 03, 2009, 10:13:39 PM
I actually fixed this myself. I used the parser and went through and removed ecerything.
Title: Re: Thank You Mod (V1.2.3)
Post by: aktsa on December 12, 2009, 02:05:32 PM
hey i am using version 1.1.11 but when i am going  to apply after installing it says :" The package you are trying to download or install is either corrupt or not compatible with this version of SMF. "

please help me it is supported 1.1.11 then why will this error occurred
Title: Re: Thank You Mod (V1.2.3)
Post by: ExSpirit on December 13, 2009, 12:22:25 AM
This is great mod, but is there any addon which shows who member thanked? 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...

Title: Re: Thank You Mod (V1.2.3)
Post by: ディン1031 on December 14, 2009, 12:49:43 AM
Quote from: aktsa on December 12, 2009, 02:05:32 PM
hey i am using version 1.1.11 but when i am going  to apply after installing it says :" The package you are trying to download or install is either corrupt or not compatible with this version of SMF. "

please help me it is supported 1.1.11 then why will this error occurred
Stange i did a test before upload the Version and it work fine... You should download it again and try a second time.

Quote from: ExSpirit on December 13, 2009, 12:22:25 AM
This is great mod, but is there any addon which shows who member thanked? 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...
Hmmm no i think there is no addon what can show this information... But i can write a small helper for you as admin :).
Title: Re: Thank You Mod (V1.2.3)
Post by: ExSpirit on December 14, 2009, 11:15:43 AM
That would be great. This is really the only feature I am missing :)

Title: Re: Thank You Mod (V1.2.3)
Post by: Organ on December 18, 2009, 11:18:48 AM
Очень кривой и сырой мод. Лучше не ставить.
Title: Re: Thank You Mod (V1.2.3)
Post by: ExSpirit on January 21, 2010, 12:36:35 PM
Quote from: ディン1031 on December 14, 2009, 12:49:43 AM
Quote from: ExSpirit on December 13, 2009, 12:22:25 AM
This is great mod, but is there any addon which shows who member thanked? 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...
Hmmm no i think there is no addon what can show this information... But i can write a small helper for you as admin :).
It's been more than a month so I'm wondering if you already managed to write a small helper or..?  :)
Title: Re: Thank You Mod (V1.2.3)
Post by: easyrider77 on January 23, 2010, 09:40:00 AM
Sorry but i can't see the thank you button   :(

Permissions and board settings added.

specs: SMF 1.1.9 / TinyPortal v1.0 beta 4/default theme
Title: Re: Thank You Mod (V1.2.3)
Post by: bobster on March 31, 2010, 07:27:14 AM
Have installed the mod and it works fine... as a moderator/admin
Nobody else can see it though and I've gone into the permissions and clicked so that everybody can and still no luck.
I also have the Enable Thank You for this Board ticked and nobody but me can see it!

It must be something stupid that I am missing, any help?
Title: Re: Thank You Mod (V1.2.3)
Post by: ディン1031 on April 01, 2010, 03:24:33 AM
Quote from: easyrider77 on January 23, 2010, 09:40:00 AM
Sorry but i can't see the thank you button   :(

Permissions and board settings added.

specs: SMF 1.1.9 / TinyPortal v1.0 beta 4/default theme
Hmmm i don't know if the default tinyportal theme support the mod *g*.

Quote from: bobster on March 31, 2010, 07:27:14 AM
Have installed the mod and it works fine... as a moderator/admin
Nobody else can see it though and I've gone into the permissions and clicked so that everybody can and still no luck.
I also have the Enable Thank You for this Board ticked and nobody but me can see it!

It must be something stupid that I am missing, any help?

Permissions set for the users?

Bye
DIN1031
Title: Re: Thank You Mod (V1.2.3)
Post by: bobster on April 04, 2010, 02:36:40 PM
Quote from: ディン1031 on April 01, 2010, 03:24:33 AM


Quote from: bobster on March 31, 2010, 07:27:14 AM
Have installed the mod and it works fine... as a moderator/admin
Nobody else can see it though and I've gone into the permissions and clicked so that everybody can and still no luck.
I also have the Enable Thank You for this Board ticked and nobody but me can see it!

It must be something stupid that I am missing, any help?

Permissions set for the users?

Bye
DIN1031

Have done that and still nothing.
I as the administrator could see it but nobody else could even when their permissions had been set.
Title: Re: Thank You Mod (V1.2.3)
Post by: josipo on April 10, 2010, 05:55:49 PM
Hello :) Well made mod I was wondering if you could do this...make a counter on the side where the users profile infomation is. Here is what I mean :)
(http://img683.imageshack.us/img683/5601/thanks2p.jpg)

I don't that would be too hard it would be moving 2 variables to the that part of the forum yeh? I don't have too much experience with php sadly.

If you can do this I will <3 you forever :D
Title: Re: Thank You Mod (V1.2.3)
Post by: ディン1031 on April 12, 2010, 03:55:30 AM
The mod is not programmed to give out this value... and i will not made some heave count sql things to show this number...
Title: Re: Thank You Mod (V1.2.3)
Post by: SilverWings on May 05, 2010, 11:45:41 AM
This is fantastic mod. I am using it for a long time but I noticed members started voting for very old topics just to get count up... But the problem is that I can only check what thanks user got and not what thanks he gave... Is there any way to see what thanks user gave?

Title: Re: Thank You Mod (V1.2.3)
Post by: MarkoKg on July 13, 2010, 08:12:25 AM
Hello there,

I just manually installed mod on 1.1.11 version.
Now when i click on Thank You Mod in Admin panel - Features and settings, i got nothing but just reload the same page.
Can you help me with that, i cant get back to all files and look throuht them, i would like to know where code for that is...
Regards.
Title: Re: Thank You Mod (V1.2.3)
Post by: simmi2121 on October 08, 2010, 01:23:20 PM
for 2.0rc3?
Title: Re: Thank You Mod (V1.2.3)
Post by: bretttina on November 17, 2010, 09:53:39 AM
hi i'm using 1.1.12 smf and i want to have this mod i have downloaded it and hit apply but i can't see any buttons or mod

have i got the right file please

cheers

B
Title: Re: Thank You Mod (V1.2.3)
Post by: Herdervriend on December 12, 2010, 10:01:44 AM
When will there be a version for 1.1.12, because I loved these mod, but I hate working with outdated work.
Title: Re: Thank You Mod (V1.2.3)
Post by: Magic-Onno on December 23, 2010, 08:46:57 AM
Will use it at 1.1.12 though!
Give us a new version, pleaze!!!

Regards...
Title: Re: Thank You Mod (V1.2.3)
Post by: keyboard on January 03, 2011, 11:03:01 AM
Hi

I really like this mod alot, but need your expertise.........I am more then willing to make a sizable donation, if you can set it up properly.....Please email me at        rphillipchuk at cogeco.ca
Title: Re: Thank You Mod (V1.2.3)
Post by: TheListener on January 03, 2011, 12:14:34 PM
Quote from: keyboard on January 03, 2011, 11:03:01 AM
Hi

I really like this mod alot, but need your expertise.........I am more then willing to make a sizable donation, if you can set it up properly.....Please email me at        rphillipchuk at cogeco.ca

What do you mean by set it up properly?
Title: Re: Thank You Mod (V1.2.3)
Post by: impreza on January 03, 2011, 02:48:00 PM
A fun twist, I used eggs and is useful
Title: Re: Thank You Mod (V1.2.3)
Post by: cameranutzII on January 18, 2011, 01:22:12 PM
Quote from: Magic-Onno on December 23, 2010, 08:46:57 AM
Will use it at 1.1.12 though!
Give us a new version, pleaze!!!

Regards...

Wondering also if there is a new version for 1.1.12 out there. I really like this Mod and would love to use it again.
Title: Re: Thank You Mod (V1.2.3)
Post by: TheListener on January 18, 2011, 08:32:09 PM
Rather than say you wan the mod to be updated to 1.1.12 why not emulate the version instead?
Title: Re: Thank You Mod (V1.2.3)
Post by: Grosraisin on January 19, 2011, 02:49:47 PM
Hello,

Sorry for my English.

Thank you for your mod.

But cons I encounter a problem with SMF 2.0 RC4 (logic it was not for his mod you tell me)

I do all the manual manipulation of change with a lot of small stuff but "Subs_Boards.php" has the line 1057 SMF tells me an error: Unknown column 'b.thank_you_automatic' in 'field list'
File: / home / prezmeal / public_html / forum / Sources / Subs-Boards.php
Online: 1057

How can we solve problem?

Thank you.
Title: Re: Thank You Mod (V1.2.3)
Post by: TheListener on January 19, 2011, 06:40:24 PM
Quote from: Grosraisin on January 19, 2011, 02:49:47 PM
Hello,

Sorry for my English.

Thank you for your mod.

But cons I encounter a problem with SMF 2.0 RC4 (logic it was not for his mod you tell me)

I do all the manual manipulation of change with a lot of small stuff but "Subs_Boards.php" has the line 1057 SMF tells me an error: Unknown column 'b.thank_you_automatic' in 'field list'
File: / home / prezmeal / public_html / forum / Sources / Subs-Boards.php
Online: 1057

How can we solve problem?

Thank you.

This mod does NOT work on 2.0 it is for 1.1.x ONLY
Title: Re: Thank You Mod (V1.2.3)
Post by: PLAYBOY on April 02, 2011, 05:07:34 PM
Nope. It doesnt install on 1.1.13!
Title: Re: Thank You Mod (V1.2.3)
Post by: JimDevil on April 10, 2011, 01:08:51 PM
I did placed this manually  in 1.1.13
I have only one problem
'Each new generated thread becomes a "Add Thank You".';
that does not work
The button thank you works just fine
maybe a solution to this
Thanks in advance
Title: Re: Thank You Mod (V1.2.3)
Post by: PLAYBOY on April 10, 2011, 10:36:34 PM
Quote from: JimDevil on April 10, 2011, 01:08:51 PM
I did placed this manually  in 1.1.13
I have only one problem
'Each new generated thread becomes a "Add Thank You".';
that does not work
The button thank you works just fine
maybe a solution to this
Thanks in advance


How did you integrated it into 1.1.3?
Title: Re: Thank You Mod (V1.2.3)
Post by: JimDevil on April 11, 2011, 06:16:17 AM
Quote from: PLAYBOY on April 10, 2011, 10:36:34 PM

How did you integrated it into 1.1.3?

Manual Install Instructions for SMF  1.1.11
There is no big change between 1.1.11 and 1.1.13
The files are the same
everything works perfectly now
Title: Re: Thank You Mod (V1.2.3)
Post by: PLAYBOY on April 11, 2011, 02:38:35 PM
If it works perfectly on 1.1.3
Why cant we update it or make it automatic install for 1.1.3?

I am not good with manual installations and you cant uninstall or update easyly if you install manually.
Title: Re: Thank You Mod (V1.2.3)
Post by: Chen Zhen on April 19, 2011, 12:47:30 AM

The attachment will work for SMF 1.1.13+

Please uninstall and delete the older version of this modification from your package manager prior to installing this version if applicable.




Version 1.2.4 (19.04.11)
! Fixed mysql queries for installation
* Removed upgrade option/files (must uninstall and delete old version prior to installing this one)
* Updated for SMF 1.1.13+
* All boards with permission will display the -thank you- button (thank-you-add link omitted)
Title: Re: Thank You Mod (V1.2.3)
Post by: PLAYBOY on April 19, 2011, 04:44:57 AM
I couldnt install it.
It gave an error in ./Sources/Display.php during installation.
Am i doing anything wrong?




UPDATE: Problem Fixed
$posters = array_unique($posters);

$attachments = array();


Change with

$messages = array ($context['single-post']);

$attachments = array();


in ThankYou1.1.x.mod
Title: Re: Thank You Mod (V1.2.3)
Post by: Chen Zhen on April 19, 2011, 05:29:50 AM
Quote from: PLAYBOY on April 19, 2011, 04:44:57 AM
I couldnt install it.
It gave an error in ./Sources/Display.php during installation.
Am i doing anything wrong?

I just tested it again on a fresh smf install and it works fine.
Since you did manual edits prior.. you need to do reverse edits to uninstall the older version.
If you already did this then you must not have made the correct reverse edits (exact) to the Display.php file.

You could always replace that file with the SMF default of it before installing the version I posted assuming you have no other mods that adjusted it.

Once installed make sure to adjust permissions for boards and usergroups.

Title: Re: Thank You Mod (V1.2.3)
Post by: PLAYBOY on April 19, 2011, 05:34:58 AM
Quote from: -Underdog- on April 19, 2011, 05:29:50 AM
Quote from: PLAYBOY on April 19, 2011, 04:44:57 AM
I couldnt install it.
It gave an error in ./Sources/Display.php during installation.
Am i doing anything wrong?

I just tested it again on a fresh smf install and it works fine.
Since you did manual edits prior.. you need to do reverse edits to uninstall the older version.
If you already did this then you must not have made the correct reverse edits (exact) to the Display.php file.

You could always replace that file with the SMF default of it before installing the version I posted assuming you have no other mods that adjusted it.

Once installed make sure to adjust permissions for boards and usergroups.



I was just editing my post :) Problem is fixed on my part. Thank you anyways.
Title: Re: Thank You Mod (V1.2.3)
Post by: PLAYBOY on April 19, 2011, 02:24:18 PM
After the installation i dont see any buttons or any change in my posts/topics
I dont see any change created by the mod.
I use custom theme. What can i do to get it affect the custom theme?

I was gonna do the changes manually in Themes/default/Display.template.php to my theme but I dont have Display.template.php on my custom theme!

Help please!
Title: Re: Thank You Mod (V1.2.3)
Post by: Chen Zhen on April 19, 2011, 09:01:37 PM
Quote from: PLAYBOY on April 19, 2011, 02:24:18 PM
After the installation i dont see any buttons or any change in my posts/topics
I dont see any change created by the mod.
I use custom theme. What can i do to get it affect the custom theme?

I was gonna do the changes manually in Themes/default/Display.template.php to my theme but I dont have Display.template.php on my custom theme!

Help please!

If the file is not in your custom theme then it uses the default's file.
Did you adjust permissions per membergroup?

Admin -> Permissions -> Modify (whichever membergroup) ... scroll down to board permissions where you will see the thank-you mod heading.
Opt View Thank You List and Post Thank You

Quote from: PLAYBOY on April 19, 2011, 04:44:57 AM
$posters = array_unique($posters);

$attachments = array();


Change with

$messages = array ($context['single-post']);

$attachments = array();


in ThankYou1.1.x.mod

??
The default Display.php does not show the code you are posting.
Do you have another mod installed that alters the display source code and template for posts?
Title: Re: Thank You Mod (V1.2.3)
Post by: PLAYBOY on April 19, 2011, 09:11:46 PM
QuoteIf the file is not in your custom theme then it uses the default's file.
Did you adjust permissions per membergroup?

Admin -> Permissions -> Modify (whichever membergroup) ... scroll down to board permissions where you will see the thank-you mod heading.
Opt View Thank You List and Post Thank You

Yes i have set the permissions. The buttons are not visible even for me (as an admin).

QuoteThe default Display.php does not show the code you are posting.
Do you have another mod installed that alters the display source code and template for posts?

Probably. I have so many mods. But i just wanted to write the solution i came up with so it may be helpful to other people.

I have also put the pictures in my custom theme folders like forum/customtheme/images/ etc. that didint affect either. I donno what am i doing wrong here?
Title: Re: Thank You Mod (V1.2.3)
Post by: Chen Zhen on April 19, 2011, 09:27:33 PM
Quote from: PLAYBOY on April 19, 2011, 09:11:46 PM
QuoteThe default Display.php does not show the code you are posting.
Do you have another mod installed that alters the display source code and template for posts?

Probably. I have so many mods. But i just wanted to write the solution i came up with so it may be helpful to other people.

I have also put the pictures in my custom theme folders like forum/customtheme/images/ etc. that didint affect either. I donno what am i doing wrong here?

Temporarily change to the default theme and tell me if the thank-you link appears for the first post of a topic.
Title: Re: Thank You Mod (V1.2.3)
Post by: PLAYBOY on April 19, 2011, 10:36:35 PM
No it doesnt appear on the default theme either.
Title: Re: Thank You Mod (V1.2.3)
Post by: Chen Zhen on April 20, 2011, 12:07:31 AM
Quote from: PLAYBOY on April 19, 2011, 10:36:35 PM
No it doesnt appear on the default theme either.

I forgot to mention...

Did you also set permissions for it per board??

Admin -> Boards -> Modify (Specific Board) -> Enable Thank You for this board
Title: Re: Thank You Mod (V1.2.3)
Post by: PLAYBOY on April 20, 2011, 12:24:51 AM
That was it. Thank you.

But i have more than 200 boards... Is there a way to automatically check Thank you mod options for all of them?
Title: Re: Thank You Mod (V1.2.3)
Post by: Chen Zhen on April 20, 2011, 01:05:11 AM
Quote from: PLAYBOY on April 20, 2011, 12:24:51 AM
That was it. Thank you.

But i have more than 200 boards... Is there a way to automatically check Thank you mod options for all of them?

Also for membergroup permissions enable -> Add Thank You -> Any Thank You per membergroup

File: Sources / Display.php

Find:

function Display()
{
global $scripturl, $txt, $db_prefix, $modSettings, $context, $settings;
global $options, $sourcedir, $user_info, $ID_MEMBER, $board_info, $topic;
global $board, $attachments, $messages_request, $language;


Add AFTER above code:

$board_info['thank_you_topics_enable'] = 1;


Download the attachment and replace: Sources / ThankYou.php

Title: Re: Thank You Mod (V1.2.3)
Post by: PLAYBOY on April 20, 2011, 01:17:50 AM
UPDATING THE POST RIGHT NOW...

QuoteAny Thank You per membergroup

I guess you mean "Add Thank You" > "Any Thank You:" checked.
I did it and it worked but...

nobody else can see the buttons other than admin.
I have set the permissions for membergroups and the board but i am the only one that can see the buttons.

After making the change in display.php and thankyou.php i (as an admin) can see the buttons in every topic. But The permission options are still not checked in boards section in admin panel.

Title: Re: Thank You Mod (V1.2.3)
Post by: Chen Zhen on April 20, 2011, 02:17:06 AM
Quote from: PLAYBOY on April 20, 2011, 01:17:50 AM
I guess you mean "Add Thank You" > "Any Thank You:" checked.
I did it and it worked but...

nobody else can see the buttons other than admin.
I have set the permissions for membergroups and the board but i am the only one that can see the buttons.

After making the change in display.php and thankyou.php i (as an admin) can see the buttons in every topic. But The permission options are still not checked in boards section in admin panel.

The permission options will not be checked in the boards perms as I override them with those last edits.
You said you wanted it enabled for every board so I just did it that way for you.

As for your membergroup perms as long as View Thank You List, Post Thank You and Add Thank You (any) are enabled it should work.
Btw - a user will not see the thank you link in their own topic/thread when they are the OP.





Title: Re: Thank You Mod (V1.2.3)
Post by: PLAYBOY on April 20, 2011, 02:22:23 AM
QuoteYou said you wanted it enabled for every board so I just did it that way for you.

Thank you. But is there a way to disable it for some boards when i need it?

Thank you again for your quick help. Now i will look for dark buttons because the buttons dont match to my forum at all :)
Any advices will be appreciated.
Title: Re: Thank You Mod (V1.2.3)
Post by: Chen Zhen on April 20, 2011, 02:31:22 AM
Quote from: PLAYBOY on April 20, 2011, 02:22:23 AM
QuoteYou said you wanted it enabled for every board so I just did it that way for you.

Thank you. But is there a way to disable it for some boards when i need it?

Thank you again for your quick help. Now i will look for dark buttons because the buttons dont match to my forum at all :)
Any advices will be appreciated.

You would need to get rid of the edits I just gave you and then I would have to write a small mysql routine to set that permission value as 1 in your permissions table for every membergroup id#. Then you will have to disable the boards you wish manually.
Hmm... By any chance do you use Simple Portal? (<- would make it easier with preview php block)

Title: Re: Thank You Mod (V1.2.3)
Post by: PLAYBOY on April 20, 2011, 02:38:09 AM
Yes i do have simple portal. But i wouldnt really wanna go through all that trouble with mysql and such... I am too scared to mess up anything.
Therefore if those little changes gets added to the installation of like a new update, i would love to use it. Otherwise i think i can just leave it the way it is now.
Manual editing scares me so much.

Is there anyway to see which topic has the most thank yous? which user has thanked the most? and which user has been thanked the most?
Title: Re: Thank You Mod (V1.2.3)
Post by: ディン1031 on April 20, 2011, 04:45:37 AM
If someone would like to overtake this mod, i give it free to everyone who like to update, change, overwork or maintain the mod ;)
Title: Re: Thank You Mod (V1.2.3)
Post by: kt84 on April 20, 2011, 08:10:47 AM
Sure :-)

Greetz
Title: Re: Thank You Mod (V1.2.3)
Post by: Chen Zhen on April 20, 2011, 08:04:25 PM
Quote from: PLAYBOY on April 20, 2011, 02:38:09 AM
Yes i do have simple portal. But i wouldnt really wanna go through all that trouble with mysql and such... I am too scared to mess up anything.
Therefore if those little changes gets added to the installation of like a new update, i would love to use it. Otherwise i think i can just leave it the way it is now.
Manual editing scares me so much.

Is there anyway to see which topic has the most thank yous? which user has thanked the most? and which user has been thanked the most?

It won't mess anything up.. I have lots of practice with mysql queries so no worries.. you can always test things on a local prior to your own site you know.  ref. Click Here To Learn Local Installation (http://askusaquestion.net/index.php/topic,5.0.html)

Change the ThankYou.php back to what I attach to this post and go back to my last single edit I gave you and remove it.

Now in a php block put the following code and use Preview.. After it is finished don't bother saving the block.

global $db_prefix;
$boards = array();
$count = 0;
$result1 = db_query("SELECT ID_BOARD FROM {$db_prefix}boards WHERE ID_BOARD > 0 ", __FILE__, __LINE__);
while ($val = mysql_fetch_assoc($result1))
{
if (empty($val['ID_BOARD'])) {continue;}
$boards[$count] = $val['ID_BOARD'];
$count++;
}
mysql_free_result($result1);
$tableName = 'boards';
$columnName = 'thank_you_topics_enable';
$value = 1;

foreach ($boards as $board)
{
$request = db_query("UPDATE {$db_prefix}$tableName SET $columnName = '{$value}' WHERE `{$db_prefix}$tableName`.`ID_BOARD` = {$board} LIMIT 1 ", __FILE__, __LINE__);
}

echo 'Your mysql edits are complete';
            
Title: Re: Thank You Mod (V1.2.3)
Post by: PLAYBOY on April 20, 2011, 08:32:06 PM
Perfect. But how about
"Automatic Thank You Each new generated thread becomes a "Add Thank You". option in boards?
Can we do that one already checked for all the boards too?
Title: Re: Thank You Mod (V1.2.3)
Post by: Chen Zhen on April 20, 2011, 09:16:07 PM
Quote from: PLAYBOY on April 20, 2011, 08:32:06 PM
Perfect. But how about
"Automatic Thank You Each new generated thread becomes a "Add Thank You". option in boards?
Can we do that one already checked for all the boards too?

I already previously adjusted the mod to make every topic/thread display the button if permissions permit.

\\Edit -> Ok.. you mean the other permission setting per board?


global $db_prefix;
$boards = array();
$count = 0;
$result1 = db_query("SELECT ID_BOARD FROM {$db_prefix}boards WHERE ID_BOARD > 0 ", __FILE__, __LINE__);
while ($val = mysql_fetch_assoc($result1))
{
if (empty($val['ID_BOARD'])) {continue;}
$boards[$count] = $val['ID_BOARD'];
$count++;
}
mysql_free_result($result1);
$tableName = 'boards';
$columnName = 'thank_you_topics_enable';
$column2 = 'thank_you_automatic';
$value = 1;

foreach ($boards as $board)
{
$request = db_query("UPDATE {$db_prefix}$tableName SET $columnName = '{$value}' WHERE `{$db_prefix}$tableName`.`ID_BOARD` = {$board} LIMIT 1 ", __FILE__, __LINE__);
$request = db_query("UPDATE {$db_prefix}$tableName SET $column2 = '{$value}' WHERE `{$db_prefix}$tableName`.`ID_BOARD` = {$board} LIMIT 1 ", __FILE__, __LINE__);
}

echo 'Your mysql edits are complete';
            

Title: Re: Thank You Mod (V1.2.3)
Post by: PLAYBOY on April 20, 2011, 09:25:24 PM
No i mean the option in boards in admin panel
"Automatic Thank You Each new generated thread becomes a "Add Thank You"

is not checked. So When a member creates a new topic, they dont see the Thank you button there. The changes we made in the previous post affected the old topics only. Because only this option is selected;
Enable Thank You for this Board Enable the Thank You for this board.

The option right under it, is not selected.
Title: Re: Thank You Mod (V1.2.3)
Post by: Chen Zhen on April 20, 2011, 09:27:44 PM
That Thank-You-Add mysql edit is pointless though... as I said the mod is already adjusted to make every topic/thread that have permissions set will display the actual thank you link.
I adjusted as such because I found having the link you just mentioned redundant. Either the Admin adjusts the board to have the link displayed or not.. whether the OP wants it displayed - or - not.
Also I purposely adjusted it so the OP can not thank their own topic.

Title: Re: Thank You Mod (V1.2.3)
Post by: PLAYBOY on April 20, 2011, 09:32:35 PM
I am sorry. You are right.
I was trying to thank you to my own topic. That is why i didint see the button. Its good now.

Thanks again for all your help.

Now i just need some dark buttons :)
Preferably matching ones with PDX-DX dark theme.
Title: Re: Thank You Mod (V1.2.3)
Post by: Chen Zhen on April 20, 2011, 09:38:36 PM
Quote from: PLAYBOY on April 20, 2011, 09:32:35 PM
I am sorry. You are right.
I was trying to thank you to my own topic. That is why i didint see the button. Its good now.

Thanks again for all your help.

Now i just need some dark buttons :)
Preferably matching ones with PDX-DX dark theme.

If your theme uses images for its buttons then you find and put thank_you.gif in the appropriate theme's image directory where the rest of your buttons are located.
ie. Themes/YOUR_THEME/images/buttons

Google some button generators to create your own images.



Title: Re: Thank You Mod (V1.2.3)
Post by: PLAYBOY on April 21, 2011, 05:25:24 PM
I kinda took care of that problem for now as you said. It could be better but its ok.

1- I have at least one thank you for every topic now and when i look at the thank you list. The name doesnt show for the first thank you. It looks like the first thank you created automatically for every topic or something. Does anybody know what is going on?

2- Is there anyway to see which topic has the most thank yous? which user has thanked the most? and which user has been thanked the most?
Title: Re: Thank You Mod (V1.2.3)
Post by: Chen Zhen on April 22, 2011, 03:29:54 AM
Quote from: PLAYBOY on April 21, 2011, 05:25:24 PM
I kinda took care of that problem for now as you said. It could be better but its ok.

1- I have at least one thank you for every topic now and when i look at the thank you list. The name doesnt show for the first thank you. It looks like the first thank you created automatically for every topic or something. Does anybody know what is going on?

I have a hunch I know what you're talking about  ;)
It shows everyone who thanks the topic and when someone other then the OP reads the thread it auto-sets it as a thank-you topic and displays a line saying... No Users found in the list. .. Is this what you're referring to?
Simply making that variable false in the language file will solve that problem and it does in fact display every person who thanks the OP.
I will attach another install that makes the above text not appear and also it has 2 other options in its settings to auto-set all current boards and membergroups to allow using the thank-you link and viewing the thank-list of each topic (similar to the temporary block I made you).
These options are check-boxes that adjust some database tables and they do not remain checked btw (purposely).

Quote2- Is there anyway to see which topic has the most thank yous? which user has thanked the most? and which user has been thanked the most?

When I have some time I will write you a php block to display what you want.
Title: Re: Thank You Mod (V1.2.3)
Post by: PLAYBOY on April 22, 2011, 03:53:37 PM
QuoteIt shows everyone who thanks the topic and when someone other then the OP reads the thread it auto-sets it as a thank-you topic and displays a line saying... No Users found in the list. .. Is this what you're referring to?

Actually no.
Ok its like this...
Right now, when i want to list the "who thanked this topic" It shows at least one person for each topic... and it doesnt give me a name for that person. This is same no matter who looks at the list of "who thanked this topic"
So none of the topics show "No thank you for this topic yet" all of the topics are ""Thank You" from 1 Member" and when you click ont it it shows a thank you but no membername for it.

Hope this was clear...
Let me know if you want a screenshot...
Title: Re: Thank You Mod (V1.2.3)
Post by: Chen Zhen on April 23, 2011, 12:43:52 AM
Quote from: PLAYBOY on April 22, 2011, 03:53:37 PM
Actually no.
Ok its like this...
Right now, when i want to list the "who thanked this topic" It shows at least one person for each topic... and it doesnt give me a name for that person. This is same no matter who looks at the list of "who thanked this topic"
So none of the topics show "No thank you for this topic yet" all of the topics are ""Thank You" from 1 Member" and when you click ont it it shows a thank you but no membername for it.

Hope this was clear...
Let me know if you want a screenshot...

This does not occur for me.. There is a membergroup permission setting for viewing the thank-you list of each topic.
With the latest install I gave you, go to this mods settings and use the Enable Thank-You link display for all user groups option. The auto-settings from this menu do not adjust guest permissions btw.
If the problem keeps occurring then leave a screenshot.

Title: Re: Thank You Mod (V1.2.3)
Post by: PLAYBOY on April 23, 2011, 04:53:47 AM
I am sorry but i want to ask first before i do anything.
Should i uninstall the previous version and install the one you just gave?
Should i edit back the manual changes we have made before?
Title: Re: Thank You Mod (V1.2.3)
Post by: Chen Zhen on April 23, 2011, 08:51:45 AM
Quote from: PLAYBOY on April 23, 2011, 04:53:47 AM
I am sorry but i want to ask first before i do anything.
Should i uninstall the previous version and install the one you just gave?
Should i edit back the manual changes we have made before?




Quote from: underdog
You would need to get rid of the edits I just gave you and...

Any edits I gave you were supposed to be removed a while ago.
As for the minor edit you did on your own for Display.php during install, you could probably leave it and ignore the error for it on uninstall and again for install (your edit will remain). Assuming that being the only error you receive for uninstall.

Title: Re: Thank You Mod (V1.2.3)
Post by: PLAYBOY on April 23, 2011, 02:40:14 PM
I am still testing it... I ll let you know about the results...
Do you think you can add a turkish language file to the automatic installation? Because there are things missing with no translations in the new update... I have attached the old Turkish language files. I can make the other changes if you tell me what needs to be translated.
Title: Re: Thank You Mod (V1.2.3)
Post by: PLAYBOY on April 23, 2011, 03:02:42 PM
Well i have been testing it but i got some problems so far...

I didint make any changes on the edits again because we have already previously edit them back to normal before. Except the database changes we made from php blocks, i didint know how to edit them back to how it was before. Anyways, i ignored the error about display.php during installation and installed it.

1- There is no Thank you button in any topics now. I have already checked the permissions.
2- When i click "Enable Thank-You permissions for all current boards" and save it, it doesnt stay checked. Same thing for "Enable Thank-You link display for all user groups" The boards and membergroup permissions are set good. But it was good before anyways so i cant tell if the mod made any difference (changes)
3- My own made Thank you buttons are still in their folder but topics dont show any thank you buttons now. Nor any link to list the thank yous. Its like the mod itself is not enabled.
Title: Re: Thank You Mod (V1.2.3)
Post by: Chen Zhen on April 23, 2011, 11:09:54 PM
Quote from: PLAYBOY on April 23, 2011, 03:02:42 PM
Well i have been testing it but i got some problems so far...

I didint make any changes on the edits again because we have already previously edit them back to normal before. Except the database changes we made from php blocks, i didint know how to edit them back to how it was before. Anyways, i ignored the error about display.php during installation and installed it.

1- There is no Thank you button in any topics now. I have already checked the permissions.
2- When i click "Enable Thank-You permissions for all current boards" and save it, it doesnt stay checked. Same thing for "Enable Thank-You link display for all user groups" The boards and membergroup permissions are set good. But it was good before anyways so i cant tell if the mod made any difference (changes)
3- My own made Thank you buttons are still in their folder but topics dont show any thank you buttons now. Nor any link to list the thank yous. Its like the mod itself is not enabled.

1 - As long as you're not the OP of the topic it should appear when the necessary permissions are set for boards and membergroups.
     I have tested this again and it works fine.

2-
Quote from: underdogThese options are check-boxes that adjust some database tables and they do not remain checked btw (purposely).
.. those 2 checkboxes make db changes for your boards and membergroups to enable the option for all members (less guests) and do not remain checked.

3- The link and list appear for me when I test it... may I have a link to your forum please so I may see for myself?

.. was it ever working properly for you during this process since we've been conversing here?
If not.. it may be because some other mod has modified the Post.php file as you have already discovered and is possibly causing the issue.
Title: Re: Thank You Mod (V1.2.3)
Post by: PLAYBOY on April 23, 2011, 11:43:15 PM
Please excuse me but i cant give the adress to my forum because of its special content.

I actually dont have the thank you buttons in any of the topics.
I personally think its an issue in (about) display.php
Do you think you can take a look at it if i just put the display.php here?
Title: Re: Thank You Mod (V1.2.3)
Post by: Chen Zhen on April 24, 2011, 12:35:43 AM
Quote from: PLAYBOY on April 23, 2011, 11:43:15 PM
Please excuse me but i cant give the adress to my forum because of its special content.

I actually dont have the thank you buttons in any of the topics.
I personally think its an issue in (about) display.php
Do you think you can take a look at it if i just put the display.php here?

Oops.. I meant to say Display.php (not Post).. ya sure you can attach it.
What other mods do you have installed regarding posts? There must be another because that file was modified from the default installation.
Title: Re: Thank You Mod (V1.2.3)
Post by: PLAYBOY on April 24, 2011, 02:44:48 AM
Attached is the display.php

Below are all the mods i have installed. I can see only 4 , 16 and 26 are related to posts. But you will know better.

1.    SMFChess    1.1    [ Kaldır ] [ Dosyaları Listele ] [ Sil ]
2.    Invite    1.14    [ Kaldır ] [ Dosyaları Listele ] [ Sil ]
3.    Hide SMF Version    1.0.6    [ Kaldır ] [ Dosyaları Listele ] [ Sil ]
4.    Display Location on posts    1.0    [ Kaldır ] [ Dosyaları Listele ] [ Sil ]
5.    SimplePortal    2.3.3    [ Kaldır ] [ Dosyaları Listele ] [ Sil ]
6.    SMF Canonical Tag    1.2    [ Kaldır ] [ Dosyaları Listele ] [ Sil ]
7.    SMF Sitemap    1.2.2    [ Kaldır ] [ Dosyaları Listele ] [ Sil ]
8.    SMFChess_updater    1.0    [ Kaldır ] [ Dosyaları Listele ] [ Sil ]
9.    SMF 1.0.21 / 1.1.13 Update    1.0    [ Kaldır ] [ Dosyaları Listele ] [ Sil ]
10.    Location on Member List    1.0    [ Kaldır ] [ Dosyaları Listele ] [ Sil ]
11.    SMF 1.0.20 / 1.1.12 Update    1.0    [ Dosyaları Listele ] [ Sil ]
12.    cb|Emailogin    0.52    [ Kaldır ] [ Dosyaları Listele ] [ Sil ]
13.    MessagePreview    1.2    [ Dosyaları Listele ] [ Sil ]
14.    SMF 1.0.19 / 1.1.11 Update    1.0    [ Dosyaları Listele ] [ Sil ]
15.    SMF 1.0.17 / 1.1.9 / 2.0 RC1 Update    1.0    [ Dosyaları Listele ] [ Sil ]
16.    Aeva Media    1.4c    [ Kaldır ] [ Dosyaları Listele ] [ Sil ]
17.    AC in Black Smilies    1.0    [ Kaldır ] [ Dosyaları Listele ] [ Sil ]
18.    SMF 1.0.14 / 1.1.6 Update    1.0    [ Dosyaları Listele ] [ Sil ]
19.    ***    [ Dosyaları Listele ] [ Sil ]
20.    DisableTemplateEval    1.2    [ Kaldır ] [ Dosyaları Listele ] [ Sil ]
21.    PDF Tag    1.1    [ Kaldır ] [ Dosyaları Listele ] [ Sil ]
22.    Increase/Decrease Postbox Size    1.0    [ Kaldır ] [ Dosyaları Listele ] [ Sil ]
23.    SMF 1.0.18 / 1.1.10 / 2.0 RC1-2 Update    1.1    [ Dosyaları Listele ] [ Sil ]
24.    Related Topics    1.3.3    [ Dosyaları Listele ] [ Sil ]
25.    SMF 1.0.13 / 1.1.5 / 2.0 b3.1 Update    1.0    [ Dosyaları Listele ] [ Sil ]
26.    Age on post    1.0    [ Kaldır ] [ Dosyaları Listele ] [ Sil ]
27.    Login Security    1.0.2.2    [ Kaldır ] [ Dosyaları Listele ] [ Sil ]
28.    Ad Managment    2.3.1    [ Kaldır ] [ Dosyaları Listele ] [ Sil ]
29.    Expand Pages Mod    1.0    [ Kaldır ] [ Dosyaları Listele ] [ Sil ]
30.    SimplePortal - Turkish    2.3.3    [ Kaldır ] [ Dosyaları Listele ] [ Sil ]
31.    SMF 1.0.15 / 1.1.7 Update    1.0    [ Dosyaları Listele ] [ Sil ]
32.    AJAX Instant Quick Reply    1.0.1    [ Kaldır ] [ Dosyaları Listele ] [ Sil ]
33.    SMFChess Language Turkish    0.1    [ Kaldır ] [ Dosyaları Listele ] [ Sil ]
34.    SMF Archive    2.0    [ Kaldır ] [ Dosyaları Listele ] [ Sil ]
35.    SMF 1.1.4 Search "brd" Bug Fix (1.0.1)    1.0.1    [ Dosyaları Listele ] [ Sil ]
36.    SMF 1.0.18 / 1.1.10 / 2.0 RC1-2 Update    1.1    [ Dosyaları Listele ] [ Sil ]
37.    SMF 1.0.16 / 1.1.8 Update    1.0    [ Dosyaları Listele ] [ Sil ]
38.    Thank You Mod (Turkish)    1.1.1    [ Kaldır ] [ Dosyaları Listele ] [ Sil ]
39.    Highlight Message Backgrounds    1    

FYI, I just uninstalled the thank you mod thas why you dont see it there now.
Title: Re: Thank You Mod (V1.2.3)
Post by: PLAYBOY on April 27, 2011, 11:55:57 PM
Any news yet?
Title: Re: Thank You Mod (V1.2.3)
Post by: Chen Zhen on April 28, 2011, 07:19:54 PM

Ahh.. I've been busy this week and didn't have a chance to look until today  ;)

It missed one edit because another mod modified the file.

After installing the mod, do the following edit...
Search for:

$posters = array_unique($posters);

// Get the Junk ready.
// Make sure that the list of messages gotten above contains the single post we're after (it always should, but just to double check)
if(isset($context['single-post']) && in_array($context['single-post'], $messages))
$messages = array ($context['single-post']);

$attachments = array();


Add after above code:

//Load The Thank You infomations :)
require_once($sourcedir . '/ThankYou.php');
//Okay This is not the First Page so i need only Settings ;)

if(!$first_msg_found || !$context['isThankYou']) {
thank_you_loadPremission();
$context['isThankYou'] = FALSE;
}
//Oh the First Page :) Nice here i must add this tiny little list or the link :)
else
$context['isThankYou'] = thank_you_list(FALSE);


Title: Re: Thank You Mod (V1.2.3)
Post by: PLAYBOY on April 28, 2011, 07:50:57 PM
So i wanna make sure before i start editing.
This changes will be made on display.php after the installation of the mod eventhough it gives an error during installation for display.php
So i should just override it and install the mod then the manual edit right?
Title: Re: Thank You Mod (V1.2.3)
Post by: Chen Zhen on April 28, 2011, 08:23:21 PM
Quote from: PLAYBOY on April 28, 2011, 07:50:57 PM
So i wanna make sure before i start editing.
This changes will be made on display.php after the installation of the mod eventhough it gives an error during installation for display.php
So i should just override it and install the mod then the manual edit right?

If the only error is for that file then yes you are correct.
Title: Re: Thank You Mod (V1.2.3)
Post by: PLAYBOY on April 28, 2011, 08:31:29 PM
Now everything is perfect. You Da man!
Thank you very much.




Do you think you can make some kind of page to show which topic has the most thank yous? which user has thanked the most? and which user has been thanked the most?
Title: Re: Thank You Mod (V1.2.3)
Post by: PLAYBOY on May 01, 2011, 04:47:49 PM
Well there is this problem, which is still going. Every new topic comes with one thank you in it by an unknown (no mambername) member.
Title: Re: Thank You Mod (V1.2.3)
Post by: datoneer on July 02, 2011, 09:09:33 AM
Can u update this to work with smf 2.0
Title: Re: Thank You Mod (V1.2.3)
Post by: hellboy78 on August 28, 2012, 04:29:05 AM
how to unistall this mod???

is not working for 1.1.16
Title: Re: Thank You Mod (V1.2.3)
Post by: Colin on October 21, 2012, 12:22:04 PM
Quote from: hellboy78 on August 28, 2012, 04:29:05 AM
how to unistall this mod???

is not working for 1.1.16
We will need more than it isn't working. What exactly is happening?
Title: Re: Thank You Mod (V1.2.3)
Post by: ChrisaL27 on November 06, 2012, 07:03:53 AM
I'm all new to mods even though I have an SMF for 3 years now but always someone else used to do the ticking...So, my question is...This mod is compatible with "Forum version: SMF 1.1.16"? And if yes how do I install?

Thanks in advance,
Chrisa
Title: Re: Thank You Mod (V1.2.3)
Post by: mrintech on November 06, 2012, 07:17:05 AM
Quote from: ChrisaL27 on November 06, 2012, 07:03:53 AM
I'm all new to mods even though I have an SMF for 3 years now but always someone else used to do the ticking...So, my question is...This mod is compatible with "Forum version: SMF 1.1.16"? And if yes how do I install?

Thanks in advance,
Chrisa

Yes it is: http://mods.simplemachines.org/index.php?mod=257

You need to install using Package Manager :)
Title: Re: Thank You Mod (V1.2.3)
Post by: ChrisaL27 on November 06, 2012, 08:04:29 AM
Quote from: mrintech on November 06, 2012, 07:17:05 AM

Yes it is: http://mods.simplemachines.org/index.php?mod=257

You need to install using Package Manager :)

Thank You, for you quick respond and help!
Title: Re: Thank You Mod (V1.2.3)
Post by: docfarzad on December 21, 2012, 12:46:46 PM
hi. I've just installed your awesome mod. it's amazing that yours is the only thanking system available! I've been looking for something similar to your mod for a long time. and what I have in mind is pretty rare. I don't know if you accept to add new features or not. I'll just give you an image of what I want and maybe you could help:

1- I want a thanking system for inside SMF (which yours already is). I also want a button to be integrated with the thanking system. It means the button will have an html code which people can put on their webpages. When our forum user clicks that button anywhere on the net, a thank you will be added to the number of thank you's the user has received. If the user was not signed in when clicking the button, they'll have to sign in.
As you can see it's basically like a custom "like" button. Just like the one facebook uses.

2- Can we change the name "Thanks" to a type of custom currency? So, for example user X has received 22 "Hearts". In here "Thanks" have changed to "Hearts"

Are the features possible to add?
Title: Re: Thank You Mod (V1.2.3)
Post by: javierjp on March 13, 2013, 07:34:59 PM
when i click Uninstall at Installed Packages it will show:

QuoteAn Error Has Occurred!
This package cannot be uninstalled, because there is no uninstaller!

Please contact the mod author for more information.

This mod can be uninstallled in any way???? How i can uninstall this manually instead?? i can reverse the files changes but what about reverse the db changes?

i must delete this?

delete smf_thank_you table
delete thank_you_automatic field from smf_boards table
delete thank_you_topics_enable field from smf_boards table
delete thank_you field from smf_topics table
delete ALL the thank_you fields from smf_board_permissions table
delete Thank_You_AddCounter , Thank_You_MemberColor , Thank_You_LinkListOnly, Thank_You_AddLink from smf_settings table

i missed something?

thanks in advance.