MyBB Community Forums

Full Version: Quote Notice
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
(2012-01-02, 11:33 PM)Solidus Wrote: [ -> ]It wasn't there, I added it, no change.

I don't understand?
(2012-01-02, 11:28 PM)pavemen Wrote: [ -> ]odd, its working fine on my production site.

can you check the usercp_options template and look for {$quote_notice_usercp}

^ That Paul. {$quote_notice_usercp} was not in the template, so I added it in, edit options page was still the same.

Looks like a nice plugin pavemen, I'll likely try it soon.
I am not sure what is happening with Solidus's install, perhaps reuploading all the files? Its a rather simple template change I have done before with other plugins for the UserCP.
Done that, checked they are there, and no change.
uploaded in binary instead of ascii? this is the whole of the function to modify the usercp

function quote_notice_templateupdate()
{
	global $mybb, $templates, $quote_notice_usercp, $lang;

	if($mybb->settings['quote_notice_enabled'] == 1)
	{
		$lang->load('quote_notice');

		$quote_notice_useroption = $lang->quote_notice_useroption;
	   
		if($mybb->user['quote_notice'] == "1") 
		{
			$quote_notice_selected = " checked ";
		}
		else
		{
			$quote_notice_selected = " ";
		}

		eval("\$quote_notice_usercp = \"".$templates->get("quote_notice_usercp")."\";");
	}
}
@Solidus: Is it still installed on GFX Forums? If so, I'm not seeing that same page as you in the User CP...
Transfer type is ASCII.
euantor, yes, it is disabled for now.
This is really strange to me. Even if I remove the language file and change the template name I don't get the issue you are seeing. It looks like its trying to output binary, perhaps an image. If you have other user cp related plugins, can you try changing the priority of this one to 20 to see if that helps, if not, set it to 1 and try again
How do I do that?
I have one other usercp plugin, 'Default Thread Title Color' by Yaldaram.
Pages: 1 2 3