(2012-04-19, 03:33 AM)Omar G. Wrote: [ -> ] (2012-04-18, 06:25 AM)Dragon_Void Wrote: [ -> ]Cool plugin, but the task file "achievements.php" is not included?
It is suppose to be generated.
Thanks, working perfectly now that I chmodded the inc/tasks drectory, and re installed
Would this conflict with MyAwards?
Language errors:
Descriptionón => Description
Achivements for Tie Online => Achivements for Time Online
Achievements maxima of postbit = > Maximum achievements on postbit
Also;
Enter the maximium number of achievements that will be displayed in the user\'s postbit.
(2012-04-21, 03:51 PM)iHydra Wrote: [ -> ]Would this conflict with MyAwards?
I've never tried MyAwards so I can not give an answer to it.
I'm working on the upgrade which involves the solution of that error
function achievementss_handle_error(&$pmhandler)
{
global $cache;
$errors = $cache->read("rss2post_errors");
if($errors === false)
{
$errors = '';
}
$errors .= 'Date: ' . gmdate('r') . "\n";
$datahandler_errors = $pmhandler->get_errors();
ob_start();
print_r($datahandler_errors);
$errors .= ob_get_clean();
$errors .= "\n\n===========================================\n\n";
$cache->update('achievementss_errors', $errors);
}
Reading from one cache, writing to another. It's also nice if you comment in where you got the function from instead of just modiying it.
(2012-04-22, 04:35 AM)Nathan Malcolm Wrote: [ -> ]function achievementss_handle_error(&$pmhandler)
{
global $cache;
$errors = $cache->read("rss2post_errors");
if($errors === false)
{
$errors = '';
}
$errors .= 'Date: ' . gmdate('r') . "\n";
$datahandler_errors = $pmhandler->get_errors();
ob_start();
print_r($datahandler_errors);
$errors .= ob_get_clean();
$errors .= "\n\n===========================================\n\n";
$cache->update('achievementss_errors', $errors);
}
Reading from one cache, writing to another. It's also nice if you comment in where you got the function from instead of just modiying it.
I think it is a function from another plugin he owns.
You must know sometime we just over copy our own code
(2012-04-22, 04:39 AM)Omar G. Wrote: [ -> ]I think it is a function from another plugin he owns.
You must know sometime we just over copy our own code
No, that specific function is from the rss2post plugin by Dennis Tsang.