Post an automatic message on click of a "thanks" button |
A "Thanks" button is already included by Forumotion, and allows the author of a subject to thank one of the members who responded to their subject. This tutorial allows respondents to thank the author, such a system does not exist, but with this tutorial, you can add a "Thanks" button to the first post of a topic; on click of this button, a "Thank you" message will be posted automatically in the following topic. Installing Go to Administration Panel > Modules > JavaScript Codes Management and create a new script. Title : Your choice Placement : In the topics Paste the code below :
Modifications You can modify the first 3 variables in the script : version : The version of your forum ( the values accepted are phpbb2, phpbb3, punbb, invision ) url_image : The url of your button ( by default this is the image displayed ) message : The message that will be posted on click of the button ( by default : "Thank you !" ) |
This tutorial was written by WhyNot of the French Support Forum, Translated to English and optimized by Ange Tuteur. |