MyBB Community Forums

Full Version: Achivements 2.4
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
(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 Toungue
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.
[attachment=26086]why?_???

@Edson Ordaz
I'm working on the upgrade which involves the solution of that error
Need help with this plugin, can you help me out please.

http://community.mybb.com/thread-117336.html
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 Toungue
(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 Toungue

No, that specific function is from the rss2post plugin by Dennis Tsang.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20