MyBB Community Forums

Full Version: HeaderInclude script messed up
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I think I might have messed up a line of code here when editing it for a favicon.

<link rel="alternate" type="application/rss+xml" title="{$lang->latest_threads} (RSS 2.0)" href="{$mybb->settings['bburl']}/syndication.php" /><link rel="alternate" type="application/atom+xml" title="{$lang->latest_threads} (Atom 1.0)" href="{$mybb->settings['bburl']}/syndication.php?type=atom1.0" /><meta http-equiv="Content-Type" content="text/html; charset={$charset}" /><link rel="shortcut icon" href="favicon.ico"><meta http-equiv="<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/prototype.js?ver=1600"></script><script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/general.js?ver=1600"></script><script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/popup_menu.js?ver=1600"></script>{$stylesheets}<script type="text/javascript"><!--	var cookieDomain = "{$mybb->settings['cookiedomain']}";	var cookiePath = "{$mybb->settings['cookiepath']}";	var cookiePrefix = "{$mybb->settings['cookieprefix']}";	var deleteevent_confirm = "{$lang->deleteevent_confirm}";	var removeattach_confirm = "{$lang->removeattach_confirm}";	var loading_text = '{$lang->ajax_loading}';	var saving_changes = '{$lang->saving_changes}';	var use_xmlhttprequest = "{$mybb->settings['use_xmlhttprequest']}";	var my_post_key = "{$mybb->post_code}";	var imagepath = "{$theme['imgdir']}";// --></script>{$newpmmsg}

I accidently deleted some code and im not familar with php. I only added the one line to add a favicon. So the next line is the one I do believe I messed up. If anybody has the defualt php code for the headerinclude that would be cool so I can get this fixed.

Basicly what is happening is I cant use any of the "Inline Moderartion Tools" and for some reason cant use any smilies.


Thanks for reading,
Algorithm
First off, it's HTML, not PHP Smile

You can revert a template to default in the ACP to get the original version back.
lol, to add a favicon all you have to do in upload one to your db

why would you go into the header include file for that?
(2010-11-11, 10:29 PM)MattRogowski Wrote: [ -> ]First off, it's HTML, not PHP Smile

You can revert a template to default in the ACP to get the original version back.

Thanks that took care of everything.Big Grin And yeah it is html not php lol my goof.