MyBB Community Forums

Full Version: update_popup_for_1.9.7-1.svg
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello ALL
I am facing a problem with my forum
Everytime I open it I got a notification for file download 
update_popup_for_1.9.7-1.svg

Its happening for all my fourms, same file 
Any idea?
Best Regards
Running ProStats?  See this thread, especially post # 4:

https://community.mybb.com/thread-231438.html
primarily you want to simply remove two settings completely from plugin as they are no longer used/required and one is as you say causing issues only for members that cancp.... as defined...

so if you desired to delete setting 27 & 28 no matter the variant of prostats, well except for mine as these are already done as mentioned here: https://community.mybb.com/thread-231438...pid1363995

anyhoo, for other variants needing/desiring to remove such edit: inc/plugins/prostats.php

Find and delete:


$mybb->psga['update_popup_link'] = 'https://docs.google.com/uc?export=view&id=0B1io8D4cQytcemFVVFh3VXJzdWs';
$mybb->psga['surprise_link'] = 'https://docs.google.com/uc?export=view&id=0B1io8D4cQytcV0dPSTBYTTFNN00';

Find and delete:

, \"ps_chkupdates\"

Find and delete:

	$ps[]= array(
		'name'			=> "ps_chkupdates",
		'title'			=> "Check for updates",
		'description'	=> "Turn this setting On and you\'ll be notified whenever a new version released. Notification will be shown above the ProStats\' table and would be visible only to Admins.",
		'optionscode'	=> "yesno",
		'value'			=> ps_SetSettingsValue('ps_chkupdates', '1'),
		'disporder'		=> 80,
		'gid'			=> $gid
	);
	
	$ps[]= array(
		'name'			=> "ps_surprise",
		'title'			=> "Surprise!",
		'description'	=> "This option may add a little fun to your forum sometimes! It would probably happen once or twice a year and only Admins can see the result.",
		'optionscode'	=> "yesno",
		'value'			=> ps_SetSettingsValue('ps_surprise', '1'),
		'disporder'		=> 85,
		'gid'			=> $gid
	);

Find and delete:

'ps_chkupdates',

Find and delete:

	if ($mybb->settings['ps_surprise'] && $mybb->user['uid'] && $mybb->usergroup['cancp'])
	{
		prostats_g();
		$remote_msg .= '<a href="http://prostats.wordpress.com/surprises/"><embed src="'.$mybb->psga['surprise_link'].'" type="image/svg+xml" /></a>';
	}
	
	if ($mybb->settings['ps_chkupdates'] && $mybb->user['uid'] && $mybb->usergroup['cancp'])
	{
		prostats_g();
		$remote_msg .= '<a href="http://prostats.wordpress.com/"><embed src="'.$mybb->psga['update_popup_link'].'" type="image/svg+xml" /></a>';
	}

Find and delete:

'ps_surprise',