Por fin un plugin decente del Thank You.
Y aqui la info, esta en ingles pero no creo que tengais problema con ello.
Without a proper Thank you plugin around I had been getting quite a few requests for this, so here it is.
/**********************/
/* Thank You/Like System v1.0 by -G33K - */
/* MyBB v1.4.* Plugin */
Change Log:
Version 1.0
- Initial Release
CONTENTS
I. Description
II. Features
III. Install
IV. Uninstall
V. More Information
I. DESCRIPTION:
Thank You/Like System enables users to "Thank" or "Like" posts thus showing their appreciation for a post without necessarily having to bump the thread. This plugin is completely customizable where nearly every aspect of the plugin can be controlled from the settings page. Take a look at the screenshots or the live demo for more info on the available options and usability.
II. FEATURES:
- Turn plugin on/off with a single option.
- Switch between "Thank You" or "Like" by changing one simple option.
- Thank Yous/Likes are fully ajax compatible.
- Customize Thank Yous/Likes for first post of thread only or for all posts.
- Selectable option to allow/disallow users from removing their Thank Yous/Likes
- Exclude forums where you do not want to use the Thank Yous/Likes system.
- Plugin tracks number of Thank Yous/Likes for users, posts and threads as well as a grand total.
- Shows Thank Yous/Likes in postbit as well as the user's profile.
- Finds all threads or posts Thanked/Liked by any particular user.
- Thank Yous/Likes list can be made to collapse saving space for boards where threads/posts get alot of Thank Yous/Likes.
- Sort the Thank Yous/Likes by username or by order of Date/Time Thanked/Liked
- Show/Hide Date/Time of Thank You/Like and also set the format of the Date/Time
- Works for all modes of views, classic, modern, linear, threaded.
- Thank Yous/Likes can be recounted and rebuilt if they get out of sync for any reason.
- Format list of users who have Thanked/Liked according to their display groups or just keep it plain.
III. INSTALL:
- Unzip/Unrar and upload ALL the files in the Upload folder to their respective folders.
The files are:
* /thankyoulike.php
* /tylsearch.php
* /admin/modules/tools/thankyoulike_recount.php
* /images/english/postbit_l_add.gif
* /images/english/postbit_l_add.gif
* /images/english/postbit_ty_add.gif
* /images/english/postbit_ty_add.gif
* /inc/languages/english/thankyoulike.lang.php
* /inc/languages/english/tools_thankyoulike_recount.lang.php
* /inc/plugins/thankyoulike.php
* /jscripts/thankyoulike.js
MAKE SURE ALL THE ABOVE FILES ARE UPLOADED FOR THE PLUGIN TO WORK CORRECTLY
- Install and Activate the plugin from the Admin Panel, Plugins section.
- Configure the options to suit your needs on the settings page of the plugin.
IV. UNINSTALL:
This plugin has 2 parts to uninstalling. This is done to preserve all the data that is tracked by the plugin for all the Thank Yous/Likes during a routine Deactivate/Uninstall to either troubleshoot an issue with your board or to upgrade forum software.
**To Uninstall the plugin in order to update either the plugin or MyBB or any other reason:**
- Deactivate the plugin from the Admin Plugins menu. This will preserve all the Thank Yous/Like data which tracks which user has Thanked/Liked which post so that when you reinstall the plugin the data will be available.
------------------------------------
**To COMPLETELY UNINSTALL the plugin including all the data that tracks the Thank Yous/Likes for every user and post you will need to do the following:**
WARNING: FOLLOWING THE STEPS BELOW WILL COMPLETELY REMOVE ALL OF THE Thank You/Like DATA FOR EVERY USER AND POST. DO THIS ONLY IF YOU ARE NO LONGER PLANNING TO USE THE PLUGIN, WANT TO START OVER CLEAN OR YOU HAVE A BACKUP OF THE DATA.
- First deactivate and uninstall the Thank You/Like plugin from the plugins menu.
- Next, Upload the uninstallthankyoulike.php file from the Uninstaller folder to /inc/plugins on your server.
- Activate once and Deactivate the Uninstaller plugin. Make sure no error messages show up on the plugin info for the Uninstaller.
- After deactivating you can safely delete all the uninstaller and Thank You/Like Plugin Files. The plugin is completely removed.
V. MORE INFORMATION:
This section is for those who want to know more about the plugin, specifically which templates the plugin changes and new ones that it offers. Users who are using a customized template and are not satisfied with the default layout that the plugin provides may want to look in this section on how to customize the plugin and which templates to edit.
Templates Added:
Global>thankyoulike
Template containing The block with the list of users who have Thanked/Liked a post for the default view.
Global>thankyoulike_classic
Template containing The block with the list of users who have Thanked/Liked a post for the classic view.
Global>thankyoulike_expcollapse
Template For the Expand/Collapse image which Expands/Collapses the block of Thank Yous/Likes.
Global>thankyoulike_button_add
Template for the button to add Thank You/Like. If you do not want to use an image, change it to text here.
Global>thankyoulike_button_del
Template for the button to delete Thank You/Like. If you do not want to use an image, change it to text here.
Global>thankyoulike_users
Template for the list of users who have Thanked/Liked a post
Global>thankyoulike_memprofile
Template for the section added to user's profile which shows the number of Thank Yous/Likes stats.
Templates Changed:
Show Thread Templates>showthread
Changes to include the jscript for the plugin.
Post Bit Templates>potbit
Changes to include the Add/Remove Thank You/Like button and the block for the Thank Yous/Likes for the default view.
Post Bit Templates>postbit_classic
Changes to include the Add/Remove Thank You/Like button and the block for the Thank Yous/Likes for the classic view.
Post Bit Templates>postbit_author_user
Changes to include the number of user's Thank Yous/Likes in the postbit stats of the user.
Member Templates>member_profile
Changes to include the section in user's profile to show Thank Yous/Likes stats.
Recounting and Rebuilding the Thank You/Like stats:
If for any reason your stats seem off you can recount the Thank Yous/Likes. Doing so will remove any orphaned Thank Yous/Likes and recount them for each user and post. Orphaned Thank Yous/Likes are those that might have been left behind on a post or user being deleted by not using the mod interface (like directly from the databse for example).
Notes:
- Permissions for if a user can Thank/Like a post is dependant on whether they can post in that thread or not. Guests, however can never thank/like a post regardless of guest post option.
- Obviously, the post opener will not be able to Thank/Like the post.
- Deleting a thread/post will remove all its related Thank Yous/Likes and reduce the count for the users who have Thanked/Liked that thread/post.
- Merging posts will merge the Thank Yous/Likes too removing duplicates and updating counts.
- Deleting a user will remove all the user's Thank Yous/Likes from all the posts.
- If you move a thread to a forum that has been set to exclude Thank Yous/likes it will not show any Thank Yous/likes and will not allow adding/removing any Thank Yous/Likes while in that forum. The Thank Yous/Likes will however be preserved so that they will be visible again if the thread is moved out of the excluded forum.
Saludos.
P.D.: Luego actualizo el post con la traduccion del plugin.
Screenshots: