2010-12-30, 02:39 PM
(2010-12-30, 01:57 PM)TheGodFather Wrote: [ -> ]@yaldaram, whats wrong with javascript logout confirmation plugin?
@killer, check your headerinclude file.
what should i check in header include?
(2010-12-30, 01:57 PM)TheGodFather Wrote: [ -> ]@yaldaram, whats wrong with javascript logout confirmation plugin?
@killer, check your headerinclude file.
(2010-12-30, 02:45 PM)TheGodFather Wrote: [ -> ]you must see few lines on top as like
<link .....
<link ....
<meta ....
<script ....
and so. check whether the headerinclude have them.
if you have localhost, you can check the contents of default template.
{$metadescription}
{$metakeywords}
<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" />
<script type="text/javascript" src="{$mybb->settin
<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}" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<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}
{$metadescription}
{$metakeywords}
<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" />
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/grey_out.js"></script>
<script type="text/javascript">
function logout_confirmation()
{
grayOut(true);
if (confirm('{$lang->logout_confirmation}'))
{
grayOut(false);
return true;
}
else
{
grayOut(false);
return false;
}
(2010-12-30, 02:54 PM)TheGodFather Wrote: [ -> ]replace it with
<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}" /> <meta http-equiv="Content-Script-Type" content="text/javascript" /> <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}
there is your problem. you have missing template lines.
(2010-12-30, 03:06 PM)TheGodFather Wrote: [ -> ]you said, you have deactivated that plugin?
when ever you deactivate it will remove all the instances of the plugin code.
(2010-12-30, 03:06 PM)TheGodFather Wrote: [ -> ]Ahh... i see that you have codepress ON, right?I'm not sure what is it? How to off it?
(2010-12-30, 03:18 PM)TheGodFather Wrote: [ -> ]acp->home->preferencesok, i off it but still no result.
turn off
code press
i made the plugins by taking the code from the templates while the codepress is off.