<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Module: User Thank/Flame</title>
        <description>Alright, due to the lack of a thanking/flaming module for Phorum and my need for one, I wrote this module.

It puts a star and a fire image in the lower right hand corner of ever post, the star allows the user to thank the author, and the fire to flame him. An overall ranking is shown based on the amount of thanks and flames (the algorithm is simple, thanks - flames = rank).

You can choose whether you want images or text down in the bottom right corner in the module settings page.

On the list page each thread has a rating based on the amount of thanks/flames each message in the thread has. Sorting based on rating doesn&#039;t work.

There is also a &#039;Top Users&#039; page. This may conflict with the Top Users plugin, I am not sure, I have them both running on a test site on my local machine. If you are running both modules, I would recommend changing &#039;TopUsers&#039; in lang/english.php to something else.

I would greatly appreciate any language files people can provide for this module in languages other than english.

For those of you who have installed this before, please re-read the readme in this new version (v0.7) and remove the {INCLUDE &quot;user_thank_flame::css&quot;} from you css.tpl (the css_register hook is now used).

6b.1 includes many, many, bugfixes and index validity checking (no more Undefined index messages)
0.7 should fix all of the foreach() warnings, as well as adding new images (thanks to Ryan), new lang support (French and Swedish, from SchoolAngels and sebdah), and a loophole fix.

Please report any bugs. Thank you.

Credits:
 - Images: [url=http://www.phorum.org/phorum5/profile.php?62,385]Ryan[/url]
 - French Language: [url=http://www.phorum.org/phorum5/profile.php?62,6115]SchoolAngels[/url]
 - Swedish Language: [url=http://www.phorum.org/phorum5/profile.php?62,5904]sebdah[/url]
 - Special Thanks to [url=http://www.phorum.org/phorum5/profile.php?62,830]Maurice Makaay[/url] for all the help he&#039;s given me on this module</description>
        <link>https://www.phorum.org/support/read.php?62,128766,128766#msg-128766</link>
        <lastBuildDate>Tue, 08 Sep 2026 10:06:03 -0500</lastBuildDate>
        <generator>Phorum 6.0.4</generator>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,128766,155065#msg-155065</guid>
            <title>Re: Module: User Thank/Flame</title>
            <link>https://www.phorum.org/support/read.php?62,128766,155065#msg-155065</link>
            <description><![CDATA[ If you want to temporarily disable the mod you would need to wrap all recommended changes in templates with the following<br />
<pre class="bbcode">
{IF mod_user_thank_flame}
...
{/IF}</pre>
<br />
Otherwise you would get php notices about not defines variables/indexes]]></description>
            <dc:creator>deepvision</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Wed, 04 Jun 2014 08:23:19 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,128766,153057#msg-153057</guid>
            <title>Re: Module: User Thank/Flame</title>
            <link>https://www.phorum.org/support/read.php?62,128766,153057#msg-153057</link>
            <description><![CDATA[ This is a good script...too bad...many bugs not fixed yet.]]></description>
            <dc:creator>autoven</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Mon, 07 Jan 2013 06:30:42 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,128766,153019#msg-153019</guid>
            <title>Re: Module: User Thank/Flame</title>
            <link>https://www.phorum.org/support/read.php?62,128766,153019#msg-153019</link>
            <description><![CDATA[ I fixed this error for awhile by going into the template folder and deleting the second if statement and it&#039;s else section in topusers.tpl.  So it didn&#039;t check if there were top users at all,  it just built the table.  That worked for like 7 weeks.  Now all of a sudden I am getting multisort array errors on the top users page stating an issue on user_thank_flame.php line 270.  <br />
<br />
Upon getting the new errors I reinstalled the mod files to their original state,  I wasn&#039;t sure what I had done to the mod to fix the &quot;no users have been thanked yet!&quot;  problem originally.  Now I&#039;ve got that problem again without the multisort errors.  <br />
<br />
I figured out that I deleted that if statement originally to fix this issue,  but it&#039;s not fixing the error this time.  I&#039;m just getting a blank screen with no table at all.  I&#039;m thinking of just deleting the links to the top users page in my header.tpl. Letting the ratings next to the user name stand alone with no reports page.   <br />
<br />
It seems this mod has issues over time.  I&#039;m just annoyed that I had used it for so long.  The users got accustomed to it, and we were using the top users page to promote users to higher statuses. Now I gotta take it away.  That&#039;s never easy when people are used to something.]]></description>
            <dc:creator>agentabstract</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Wed, 02 Jan 2013 22:51:56 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,128766,152973#msg-152973</guid>
            <title>Re: Module: User Thank/Flame</title>
            <link>https://www.phorum.org/support/read.php?62,128766,152973#msg-152973</link>
            <description><![CDATA[ can anyone help us?]]></description>
            <dc:creator>autoven</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Fri, 28 Dec 2012 07:00:56 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,128766,152908#msg-152908</guid>
            <title>Re: Module: User Thank/Flame</title>
            <link>https://www.phorum.org/support/read.php?62,128766,152908#msg-152908</link>
            <description><![CDATA[ I also getting the same issue, top users page always show &quot;No Users have been thanked yet!&quot;. In fact, i did rate some of the posts. Please help.]]></description>
            <dc:creator>autoven</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Mon, 24 Dec 2012 18:52:11 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,128766,152907#msg-152907</guid>
            <title>Re: Module: User Thank/Flame</title>
            <link>https://www.phorum.org/support/read.php?62,128766,152907#msg-152907</link>
            <description><![CDATA[ I also getting the same issue, top users page always show &quot;No Users have been thanked yet!&quot;. In fact, i did rate some of the posts.]]></description>
            <dc:creator>autoven</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Mon, 24 Dec 2012 18:51:42 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,128766,152647#msg-152647</guid>
            <title>Re: Module: User Thank/Flame</title>
            <link>https://www.phorum.org/support/read.php?62,128766,152647#msg-152647</link>
            <description><![CDATA[ Seems I have a weird new bug for you.  My top users page always results in &quot;No Users have been thanked yet!&quot;  Everything else seems to be working fine.  Any ideas?]]></description>
            <dc:creator>agentabstract</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Mon, 26 Nov 2012 13:08:33 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,128766,150856#msg-150856</guid>
            <title>Re: Module: User Thank/Flame</title>
            <link>https://www.phorum.org/support/read.php?62,128766,150856#msg-150856</link>
            <description><![CDATA[ I&#039;ve fixed a litany of bugs trying to get this mod working, but one that is currently stumping me is thanks/flames on the first post in a thread only affecting the user&#039;s count, but not being added to the message or thread&#039;s count. The voting buttons consequently remain visible. I chased this down all the way to the query performed by phorum_db_update_message() and echoed what it&#039;s (should be) doing. The queries (message and thread) seem fine and if I run them manually, it behaves correctly (at least until someone else tries to vote). There are no errors or anything written to the logs when this happens. Any idea what&#039;s up with this?]]></description>
            <dc:creator>SalsaShark</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Mon, 23 Jan 2012 16:17:38 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,128766,150437#msg-150437</guid>
            <title>Re: Module: User Thank/Flame</title>
            <link>https://www.phorum.org/support/read.php?62,128766,150437#msg-150437</link>
            <description><![CDATA[ I&#039;m getting the same error as fevred. Could someone help with this issue ?]]></description>
            <dc:creator>stefcio</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Thu, 24 Nov 2011 06:58:02 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,128766,150343#msg-150343</guid>
            <title>Re: Module: User Thank/Flame</title>
            <link>https://www.phorum.org/support/read.php?62,128766,150343#msg-150343</link>
            <description><![CDATA[ I get the error <br />
<br />
Fatal error: phorum_api_user_save(): missing field &quot;user_id&quot; in user data array in /home/mysite/public_html/forum/include/api/user.php on line 417<br />
<br />
when clicking thank or flame]]></description>
            <dc:creator>fevred</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Sat, 12 Nov 2011 05:00:00 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,128766,149831#msg-149831</guid>
            <title>Re: Module: User Thank/Flame</title>
            <link>https://www.phorum.org/support/read.php?62,128766,149831#msg-149831</link>
            <description><![CDATA[ how to force message caching?<br />
<br />
this mod doesn&#039;t work with caching<br />
<br />
and another problem - after voting input field for subject was cleared :-(]]></description>
            <dc:creator>xelios</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Thu, 13 Oct 2011 05:32:57 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,128766,146894#msg-146894</guid>
            <title>Re: Module: User Thank/Flame</title>
            <link>https://www.phorum.org/support/read.php?62,128766,146894#msg-146894</link>
            <description><![CDATA[ I found a bug. I was checking my event logs and found this:<br />
<br />
PHP notice: Undefined index: thread_id<br />
<br />
PHP notice generated at [site index]/forum/mods/user_thank_flame/user_thank_flame.php:34<br />
<br />
So I went in and checked the hidden input fields that are submitted and realized that there is no &#039;thread_id&#039; name; there&#039;s a &#039;thread&#039; name. This is most likely throwing the error. I suppose it can be fixed one of two ways: change the input field name in the template file, or change the variable name in user_thank_flame.php from <br />
<br />
[code=&quot;php&quot;]<br />
$thread_id = $_POST[&#039;thread_id&#039;];<br />
[/code]<br />
<br />
<br />
to <br />
<br />
[code=&quot;php&quot;]<br />
$thread_id = $_POST[&#039;thread&#039;];<br />
[/code]<br />
<br />
<br />
<br />
This seems to fix the problem on my end.]]></description>
            <dc:creator>rozmichelle</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Tue, 16 Nov 2010 12:46:41 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,128766,146884#msg-146884</guid>
            <title>Re: Module: User Thank/Flame</title>
            <link>https://www.phorum.org/support/read.php?62,128766,146884#msg-146884</link>
            <description><![CDATA[ Fixed. :)<br />
<br />
Thank you!!!]]></description>
            <dc:creator>rozmichelle</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Tue, 16 Nov 2010 09:12:52 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,128766,146876#msg-146876</guid>
            <title>Re: Module: User Thank/Flame</title>
            <link>https://www.phorum.org/support/read.php?62,128766,146876#msg-146876</link>
            <description><![CDATA[ I suspect that there is a &quot;require&quot; or &quot;include&quot; call in the module code that loads the custom_profile_fields.php script. That should have been &quot;require_once&quot; or &quot;include_once&quot; to prevent PHP from loading the file twice, resulting in the error about the redeclaration.<br />
<br />
<i>Edit: I checked the module package and found the likely culprit in user_thank_flame.php:</i><br />
[code=php]<br />
require(&#039;./include/api/custom_profile_fields.php&#039;);<br />
[/code]<br />
change that line to:<br />
[code=php]<br />
require_once &#039;./include/api/custom_profile_fields.php&#039;;<br />
[/code]]]></description>
            <dc:creator>Maurice Makaay</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Tue, 16 Nov 2010 03:00:57 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,128766,146870#msg-146870</guid>
            <title>Re: Module: User Thank/Flame</title>
            <link>https://www.phorum.org/support/read.php?62,128766,146870#msg-146870</link>
            <description><![CDATA[ Hello,<br />
<br />
This module worked perfectly, except for when I tested it after logging out and then back in. When I tried to load the forum after logging in, i get this error:<br />
<br />
Fatal error: Cannot redeclare phorum_api_custom_profile_field_configure() (previously declared in [my_site]/forum/include/api/custom_profile_fields.php:102) in [my_site]/forum/include/api/custom_profile_fields.php on line 234<br />
<br />
When I log out and view the forum, it works fine. Any ideas?]]></description>
            <dc:creator>rozmichelle</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Mon, 15 Nov 2010 21:04:01 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,128766,146730#msg-146730</guid>
            <title>Re: Module: User Thank/Flame</title>
            <link>https://www.phorum.org/support/read.php?62,128766,146730#msg-146730</link>
            <description><![CDATA[ hi..been using the  module for awhile..works great...i would like the non-registered users to be able to thank/flame as well...is that possible?]]></description>
            <dc:creator>tborosak</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Mon, 08 Nov 2010 16:53:01 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,128766,145854#msg-145854</guid>
            <title>Re: Module: User Thank/Flame</title>
            <link>https://www.phorum.org/support/read.php?62,128766,145854#msg-145854</link>
            <description><![CDATA[ Hi, <br />
  I was trying to use this module. I have done all the changes and enabled the module, but when I click the thank or flame image, I am getting an error which reads - <br />
<pre class="bbcode">
An error occurred in the application.
The error was logged to the Phorum event log.</pre>
I checked the phorum event log and found the following there - <br />
  	<pre class="bbcode">
PHP error: phorum_api_user_save(): missing field &quot;user_id&quot; in user data array  	 details
	
User info:

User ID = 2, username = sreesog [ view user&#039;s profile ]
User IP address = 114.143.174.17

Additional details:

Message:

PHP error: phorum_api_user_save(): missing field &quot;user_id&quot; in user data array

PHP error generated at /home/arshainf/public_html/ancientindianastrology.com/group/include/api/user.php:417

Back trace:

Function trigger_error called at
{path to Phorum}/include/api/user.php:417
----
Function phorum_api_user_save called at
{path to Phorum}/mods/user_thank_flame/functions.php:75
----
Function tf_thank called at
{path to Phorum}/mods/user_thank_flame/user_thank_flame.php:51
----
Function mod_user_tf_common called
----
Function call_user_func_array called at
{path to Phorum}/common.php:1691
----
Function phorum_hook called at
{path to Phorum}/common.php:853
----
Function include_once called at
{path to Phorum}/read.php:21
----

Request info:

HTTP_HOST = www.ancientindianastrology.com
HTTP_REFERER = [<a href="http://www.ancientindianastrology.com/group/read.php?2,111" target="_blank"  rel="nofollow">www.ancientindianastrology.com</a>]
REQUEST_URI = /group/read.php?2,111
QUERY_STRING = 2,111</pre>
<br />
 Can you please help me. <br />
Thanks and regards,<br />
Sreenadh]]></description>
            <dc:creator>Sreenadh OG</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Wed, 22 Sep 2010 21:30:43 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,128766,145544#msg-145544</guid>
            <title>Re: Module: User Thank/Flame</title>
            <link>https://www.phorum.org/support/read.php?62,128766,145544#msg-145544</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>tborosak</strong><br />
Hi...thanks for the module..using it for a while....<br />
is there any way to remove/bypass the flame option altogether from the code and leave just the &quot;thank&quot;. kinda like facebook does?<br />
<br />
thanks</div></blockquote>
<br />
You can remove the lines in the templates about flames. I&#039;ll add an option for that sometime in the near future.]]></description>
            <dc:creator>J. David Smith</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Sat, 28 Aug 2010 19:12:08 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,128766,145543#msg-145543</guid>
            <title>Re: Module: User Thank/Flame</title>
            <link>https://www.phorum.org/support/read.php?62,128766,145543#msg-145543</link>
            <description><![CDATA[ Hi...thanks for the module..using it for a while....<br />
is there any way to remove/bypass the flame option altogether from the code and leave just the &quot;thank&quot;. kinda like facebook does?<br />
<br />
thanks]]></description>
            <dc:creator>tborosak</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Sat, 28 Aug 2010 12:27:13 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,128766,143676#msg-143676</guid>
            <title>Re: Module: User Thank/Flame</title>
            <link>https://www.phorum.org/support/read.php?62,128766,143676#msg-143676</link>
            <description><![CDATA[ Well, I&#039;m back from the dead once again with yet another edition of this module. I implemented a fix similar to SchoolAngels&#039; for the line 142 warning (I used isset() instead of != NULL). I also added the french and swedish translations (thank you SchoolAngels and sebdah!) and Ryan&#039;s images (which are far better than mine).<br />
<br />
There is a new option for which imageset to use (plus.png/minus.png or star.png/fire.png) and I fixed every situation that I could find where there was a foreach() warning.<br />
<br />
I also fixed the hack error message (thank you, Ryan and hvella).<br />
<br />
<pre class="bbcode">
v0.7:
	Added Ryan&#039;s Imagesets and setting for them
	Added SchoolAngels&#039; French translation and sebdah&#039;s Swedish translation
	Fixed the line 142 warning and others like it (hopefully)
	Changed formula for top users to take flames into account
	Fixed Possible Hack Detected error
	Fixed multiple-thank/flame loophole
	Set custom fields to Show on the Edit Users page
	Changed fields to install with html_disabled FALSE</pre>
<br />
I hope you guys haven&#039;t given up on me yet, and I hope even more that this update fixes the many warnings you were getting.]]></description>
            <dc:creator>J. David Smith</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Thu, 18 Mar 2010 12:05:16 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,128766,142278#msg-142278</guid>
            <title>Re: Module: User Thank/Flame</title>
            <link>https://www.phorum.org/support/read.php?62,128766,142278#msg-142278</link>
            <description><![CDATA[ OK, I have done :<br />
		<br />
[code=&quot;php&quot;]<br />
		if($item[&#039;meta&#039;][&#039;message_ids&#039;]!=null)<br />
		{<br />
			foreach($item[&#039;meta&#039;][&#039;message_ids&#039;] as $mid) {<br />
[/code]]]></description>
            <dc:creator>SchoolAngels</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Tue, 08 Dec 2009 12:28:55 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,128766,142277#msg-142277</guid>
            <title>Re: Module: User Thank/Flame</title>
            <link>https://www.phorum.org/support/read.php?62,128766,142277#msg-142277</link>
            <description><![CDATA[ If you search in this thread&#039;s page, you&#039;ll see that there are more people that have this issue. I don&#039;t think anybody ever wrote a fix for this though.]]></description>
            <dc:creator>Maurice Makaay</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Tue, 08 Dec 2009 12:00:02 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,128766,142274#msg-142274</guid>
            <title>Re: Module: User Thank/Flame</title>
            <link>https://www.phorum.org/support/read.php?62,128766,142274#msg-142274</link>
            <description><![CDATA[ Hi,<br />
<br />
Has anybody this problem :<br />
<i>Warning: Invalid argument supplied for foreach() in /homez.134/schoolan/www/forum_2/mods/user_thank_flame/user_thank_flame.php on line 142<br />
<br />
Warning: Invalid argument supplied for foreach() in /homez.134/schoolan/www/forum_2/mods/user_thank_flame/user_thank_flame.php on line 142<br />
<br />
Warning: Cannot modify header information - headers already sent by (output started at /homez.134/schoolan/www/forum_2/mods/user_thank_flame/user_thank_flame.php:142) in /var/log/tmp/tpl-emerald-header-2728c3bd19462d0e85332064f23fb8c4.php-stage2 on line 5</i><br />
<br />
The problem appears only with the list.php page (line 142 is about tf_list function).<br />
<br />
Thanks in advance for your help]]></description>
            <dc:creator>SchoolAngels</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Tue, 08 Dec 2009 08:30:34 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,128766,142088#msg-142088</guid>
            <title>Re: Module: User Thank/Flame</title>
            <link>https://www.phorum.org/support/read.php?62,128766,142088#msg-142088</link>
            <description><![CDATA[ Hi,<br />
<br />
This is a first french translation. It may be improved but it can be useful to start :)<br />
<br />
@+]]></description>
            <dc:creator>SchoolAngels</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Wed, 25 Nov 2009 15:27:38 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,128766,141802#msg-141802</guid>
            <title>Re: Module: User Thank/Flame</title>
            <link>https://www.phorum.org/support/read.php?62,128766,141802#msg-141802</link>
            <description><![CDATA[ ah okay, so i also have to change: mini_bar.tpl<br />
<br />
ok, that did work! thanks Ryan :)]]></description>
            <dc:creator>zekuc</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Sun, 08 Nov 2009 16:28:34 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,128766,141800#msg-141800</guid>
            <title>Re: Module: User Thank/Flame</title>
            <link>https://www.phorum.org/support/read.php?62,128766,141800#msg-141800</link>
            <description><![CDATA[ Zekuc, in your template (not the mod&#039;s template but the one you&#039;re using for your board), in read.tpl, if you are using:<br />
<br />
{INCLUDE &quot;user_thank_flame::bar&quot;} then it will utilize the file in mods/user_thank_flame/templates/emerald/bar.tpl<br />
<br />
If you are using<br />
{INCLUDE &quot;user_thank_flame::min_bar&quot;} then it will utilize the file in mods/user_thank_flame/templates/emerald/mini_bar.tpl<br />
<br />
Both have form lines, and whichever one you&#039;re using (or you can just do it to both anyway), make sure {POST_VARS} is listed on the line after where it says &#039;form action=&quot;&quot; method=&quot;post&quot;&#039;. Then make sure they are uploaded to the proper directory (mods/user_thank_flame/templates/emerald/) and view some posts again. Rating a post shouldn&#039;t bring up the hack message anymore.]]></description>
            <dc:creator>Ryan</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Sun, 08 Nov 2009 16:10:46 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,128766,141798#msg-141798</guid>
            <title>Re: Module: User Thank/Flame</title>
            <link>https://www.phorum.org/support/read.php?62,128766,141798#msg-141798</link>
            <description><![CDATA[ i changed both, but i still get the error message]]></description>
            <dc:creator>zekuc</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Sun, 08 Nov 2009 14:24:34 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,128766,141797#msg-141797</guid>
            <title>Re: Module: User Thank/Flame</title>
            <link>https://www.phorum.org/support/read.php?62,128766,141797#msg-141797</link>
            <description><![CDATA[ The one in the directory templates/emerald is not part of the standard distribution, so you added it there. I don&#039;t know why (possibly for some other module that requires copying the template file there, possibly because you accidentally copied the template files in the emerald dir), but I am pretty sure that in this case you&#039; have to edit the one in mods/user_thank_flame/templates/emerald.]]></description>
            <dc:creator>Maurice Makaay</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Sun, 08 Nov 2009 13:52:25 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,128766,141789#msg-141789</guid>
            <title>Re: Module: User Thank/Flame</title>
            <link>https://www.phorum.org/support/read.php?62,128766,141789#msg-141789</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>hvella</strong><br />
Hello Zeduc<br />
<br />
For correct the problem of  possible hack...<br />
<br />
You have to go to the bar.tpl file<br />
<br />
and put a post vars after the beginning of the form.<br />
<br />
eg;<br />
<br />
&lt;form action=&quot;&quot; method=&quot;post&quot;&gt;<br />
{POST_VARS}<br />
<br />
It will work like this<br />
Best regards</div></blockquote>
<br />
doesn&#039;t work for me<br />
btw. there are 2 bar.tpl<br />
mods/user_thank_flame/templates/emerald/bar.tpl<br />
templates/emerald/bar.tpl]]></description>
            <dc:creator>zekuc</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Sun, 08 Nov 2009 06:03:31 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,128766,141786#msg-141786</guid>
            <title>Re: Module: User Thank/Flame</title>
            <link>https://www.phorum.org/support/read.php?62,128766,141786#msg-141786</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>J. David Smith</strong><br />
No, its not abandoned. I&#039;ve just been a bit busy with other things. That and my dev computer died. But I just finished piecing together a new one and will start working on this again soon. I have another module I am going to work on (unpublished, still in concept phase) as well, so everything may not happen immediately</div></blockquote>
<br />
Does anyone have a demo of this up and running, or screenshots?<br />
<br />
Edit: Went ahead and installed this. It&#039;s a very nice module, but there is a loophole. If somebody votes on a post, they can use the back button and vote again, and it will count as an additional vote each time this is done, making it easy for someone to cheat the system. I&#039;m guessing refresh would probably do the same thing.<br />
<br />
Also, I see<blockquote class="bbcode"><div><small>Quote<br /></small><strong></strong><br />    &quot;MsgThanked&quot;				=&gt; &quot;This message has been thanked&quot;,<br />
    &quot;MsgFlamed&quot;				=&gt; &quot;This message has been flamed&quot;,</div></blockquote> in the language file, and I&#039;m assuming this is what would display once a person has voted, but it doesn&#039;t appear to be called from any file. When a person votes, the thank/flame bar just disappears and leaves nothing in its stead.<br />
<br />
On a side note, I figured I&#039;d offer to share these thank/flame icons, if anyone&#039;s interested. The +1 and -1 I made myself, while the other two (star and flame) I shrunk down from free-to-use clipart. Feel free to change them as you&#039;d like.]]></description>
            <dc:creator>Ryan</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Sun, 08 Nov 2009 02:39:30 -0600</pubDate>
        </item>
    </channel>
</rss>
