Not Solved ThankYou 3.0.7 Find All Thanked Posts
#1
Not Solved
Option Find All Thanked Posts not works. When I choose this option results is all member posts.
Reply
#2
Not Solved
Have you tried to PM the author of the plug in?

Which thanked post plug in are you using? I think there is more then one.
Reply
#3
Not Solved
http://mods.mybboard.net/view/thankyou
I find only this plugin.
Author of the plugin is TechMiX. I send PM, but, Last Visit is 5-12-2009 10:03 PM.
Reply
#4
Not Solved
I will try and look at the mod at some point later today and see if I can find the issue. While oyu are waiting for a fix you could always remove the link from the template.
It looks like it might take some work to fix it. I would suggest removing the link till the author fixes it.
Reply
#5
Not Solved
Came here looking for a solution to the same problem Sad
Reply
#6
Not Solved
Hi everyone ,

This problem occurs when you use this plugin on version that are greater than 1.4.4 . @ first I designed this feature for 1.4.4 , but then in the greater versions , search.php got some changes that made this feature unusable ... I can fix it for later versions , but it will stop working for older ones ...

I'm thinking how to figure this out .. till then, use this trick to bring it alive :

Open thx.php in inc\plugins folder of your forum , find this line :

global $mybb,$where_sql,$db,$searcharray;

replace with:

global $mybb,$where_sql,$db,$searcharray,$pids,$options;

also search for this :

$searcharray["querycache"] = $db->escape_string($where_sql);

replace it with this piece of code :

$query = $db->simple_select("posts", "pid", "{$where_sql}", $options);
$pids = "";
$comma = "";
while($pid = $db->fetch_field($query, "pid"))
{
	$pids .= $comma.$pid;
	$comma = ",";
}
$searcharray["posts"] = $db->escape_string($pids);

by the way , srry for my bad attendance !
Reply
#7
Not Solved
Quote:MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1054 - Unknown column 'p.thx' in 'where clause'
Query:
SELECT pid FROM xxxx WHERE uid='1' AND NOT p.thx='0' ORDER BY dateline DESC
doesnt work
<signature too big>
Reply
#8
Not Solved
any fix from the author? Sad
<signature too big>
Reply
#9
Not Solved
Well...I changed the code as the author suggested and...the search still goes to all the posts and not only the "Thanked posts".
Reply
#10
Not Solved
(2009-08-12, 07:57 AM)AndrewPH Wrote: any fix from the author? Sad
TechMiX is the author.

(2009-08-13, 08:13 PM)Sammyed Wrote: Well...I changed the code as the author suggested and...the search still goes to all the posts and not only the "Thanked posts".
Same problem.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)