2006-03-02, 04:18 PM
2006-03-02, 07:13 PM
Uni work again . Sorry for late reply
For those having difficulty with the recount page
I've still not been able to replicate the problem.
As a workaround, if you have set the poll amount in each forum to -1 (take global default value), then find the line
Before that line, put
monologist
I keep meaning to release a patch for Advanced Plugins that replaces "Auto Install" with "Install Update". "Auto Install" means that it will install any updates for the chosen plugin, if there any available. You don't need to "Auto Install" to install Cash Mod. You just need to click the activate button (if you haven't already pressed it) next to the cash mod plugin.
However, I'm concerned that it's saying Adv plugins hasn't been installed when you can see the "Auto Install" link....hmm
Storm
I replied to your post but you didn't reply until now. What do you expect me to do? If you want to give me access to your forums, be forewarned I might need access to the files themselves (via FTP) to fix any problems you have. It's up to you.
For those having difficulty with the recount page
I've still not been able to replicate the problem.
As a workaround, if you have set the poll amount in each forum to -1 (take global default value), then find the line
$db->query("UPDATE " . TABLE_PREFIX . "polls SET polls_cash = " . $cash_mod_poll . " WHERE pid = '" . $poll['pid'] . "'");
or
$db->query("UPDATE " . TABLE_PREFIX . "polls SET polls_cash = '" . $cash_mod_poll . "' WHERE pid = '" . $poll['pid'] . "'");
in inc/plugins/cash_mod.phpBefore that line, put
$cash_mod_poll = [i]your amount[.i]
replacing your amount with the value you have specified in the settings. This is only a workaround and not a fix mind you.monologist
I keep meaning to release a patch for Advanced Plugins that replaces "Auto Install" with "Install Update". "Auto Install" means that it will install any updates for the chosen plugin, if there any available. You don't need to "Auto Install" to install Cash Mod. You just need to click the activate button (if you haven't already pressed it) next to the cash mod plugin.
However, I'm concerned that it's saying Adv plugins hasn't been installed when you can see the "Auto Install" link....hmm
Storm
I replied to your post but you didn't reply until now. What do you expect me to do? If you want to give me access to your forums, be forewarned I might need access to the files themselves (via FTP) to fix any problems you have. It's up to you.
2006-03-02, 08:18 PM
ha.... it *does* work
2006-03-03, 04:44 AM
Still receive an error.
mySQL error: 1064
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE aid = 204' at line 1
Query: UPDATE mybb_attachments SET attach_cash = WHERE aid = 204
2006-03-03, 10:36 AM
Ok... so it's not getting the cash values for some reason.
If you could do some debugging for you, I'd much appreciate it.
If you open inc/plugins/cash_mod.php and find
If you could do some debugging for you, I'd much appreciate it.
If you open inc/plugins/cash_mod.php and find
cm_loadCashValues($forum_cache[$row['fid']]);
and before it add if(!isset($temp)){
print_r($row);
echo "<hr/><hr/>";
print_r($forum_cache);
$temp = "set";
}
and then either paste the results here or attach them as text file that'd be great. 2006-03-03, 04:43 PM
Thanks. I'll give it a try this evening.
2006-03-03, 07:29 PM
Ok ill leave it i got to many problems wid the forum after installing mods
2006-03-04, 04:49 AM
decswxaqz Wrote:and then either paste the results here or attach them as text file that'd be great. :)
Here you are:
Array ( [fid] => 18 [tid] => 56 [pid] => 282 [uid] => 2 [message] => I cant play sports worth feces. :( [replyto] => 0 [visible] => 1 ) Array ( [18] => Array ( [fid] => 18 [name] => Sports Center [description] => Booya! [linkto] => [type] => f [pid] => 25 [parentlist] => 25,18 [disporder] => 30 [active] => yes [open] => yes [threads] => 265 [posts] => 2985 [moderators] => [lastpost] => 1141433912 [lastposter] => Jester [lastposttid] => 2756 [allowhtml] => no [allowmycode] => yes [allowsmilies] => yes [allowimgcode] => yes [allowpicons] => yes [allowtratings] => yes [status] => 1 [usepostcounts] => yes [password] => [showinjump] => yes [modposts] => no [modthreads] => no [modattachments] => no [style] => 0 [overridestyle] => no [lastthreadtid] => 0 [rulestype] => 0 [rulestitle] => [rules] => [cash_mod_per_character] => -1.00 [cash_mod_per_thread] => -1.00 [cash_mod_per_reply] => -1.00 [cash_mod_per_poll] => -1.00 [cash_mod_per_poll_vote] => -1.00 [cash_mod_per_poll_vote_multi] => -1.00 [cash_mod_per_attachment] => -1.00 ) ) mySQL error: 1064
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE aid = 204' at line 1
Query: UPDATE mybb_attachments SET attach_cash = WHERE aid = 204
LOL @ it quoting that post.
2006-03-04, 12:50 PM
I'm sending you a PM IMPAQ
2006-03-05, 12:52 AM
is there any way that i removed this massage :this post is worth xxxxx.....
tanx
tanx