News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Thank You Mod (V1.2.3)

Started by ディン1031, January 11, 2006, 12:29:00 PM

Previous topic - Next topic

ディン1031

Link to Mod

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

German Languagepack (Deutsches Sprachpacket) is attached to this post, also the Turkish Translation is attached to this post

If you like a Version Thank You to Posts like VBStyle than use this mod.

If you like to donate me some Money. Click Here

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

saedxploid

Thanks :)
Very Good.
But I cann't install on SMF v1.1RC2 :(
and Button languge id German :(

xtremecruiser

So can this hide a post unless a members does the "thank You"  ?  This is how the IPB does it.

ディン1031

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

guppy

working great on 1.0.5  ;) thank you!

aussieholden

how long till we can use it on smf1.1 rc2 ?

ディン1031

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

SexonthebeacH

Thanks for this mod. But I cannot install it to my 1.1RC1 :(

xtremecruiser

I look forward to using this once it's updated.  I really like your mods :D
Thanks

Mert

thank you :)

when would you finish making it for SMF 1.1 RC1 ? :)

ディン1031

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

Benqo

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.

edi67

this i need but i have SMF 1.1 RC1 is possible have version working for 1.1 RC1 too ?

thanc din
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

ディン1031

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

Xarcell

Any screenshots or demos? I'm confused about what this mod does.

ディン1031



A Example what the mod does ;).

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

There's a Ferret

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?

ディン1031

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

Bigguy

Nice work I installed it on RC2 with no erros, so far it works great. Thank you. :)

ディン1031

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

Advertisement: