MyBB Community Forums

Full Version: Delete post redirects to Edit post
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
It also happens in Chrome here.

Okay, let's try this:
1) Disable all plugins
2) Go to AdminCp > Templates & Style > Templates > (your theme) > Ungrouped Templates
3) Open up headerinclude and replace the complete template 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=1603"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/general.js?ver=1603"></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}
4) Save the template
5) Make sure if it works now
6) If so, enable the plugins again
7) Verify if it is still working
Hmmm, the problem still happens with the new headerinclude and when making a reply to a thread, the 'Loading, Please Wait' message stays on the screen with the headerinclude you provided
As I thought the problem is caused by your theme. Did you revert the headerinclude back to the default already because it is still the same headerinclude as before?
Can you post you current headerinclude template, please?
It's still the same header as before, when I first installed the theme because it was installed after I applied the 1.6.3 update. Apart from the newsbar CSS which I put there.

Here is my current HeaderInclude

<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=1603"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/general.js?ver=1603"></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>
<script type="text/javascript" src="jscripts/thx.js"></script>
{$newpmmsg}    
<style type="text/css">.newsbar {	
background: #D6ECA6;	
border-top: 2px solid #8DC93E;	
border-bottom: 2px solid #8DC93E;	
text-align: center;	
margin: 10px auto;	
padding: 5px 20px;	
font-weight: bold;}
</style>
Try this:
<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=1603"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/general.js?ver=1603"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/popup_menu.js?ver=1603"></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>
<!--<script type="text/javascript" src="jscripts/thx.js"></script>-->
{$newpmmsg}    
<style type="text/css">.newsbar {    
background: #D6ECA6;    
border-top: 2px solid #8DC93E;    
border-bottom: 2px solid #8DC93E;    
text-align: center;    
margin: 10px auto;    
padding: 5px 20px;    
font-weight: bold;}
</style> 

I commented the thx.js file for the time being. See if it works now. Do you have "Thank you/Like" plugin of G33K? Did you upgrade that plugin after upgrading to 1.6.3? Because the prior version of the plugin has a few problems with the version of MyBB.
Er, where is Justin's copyright notice on that theme?
(2011-05-09, 11:04 AM)Aries-Belgium Wrote: [ -> ]I commented the thx.js file for the time being. See if it works now. Do you have "Thank you/Like" plugin of G33K? Did you upgrade that plugin after upgrading to 1.6.3? Because the prior version of the plugin has a few problems with the version of MyBB.

That thx.js file is for the other thanks plugin, not mine. He's not using my thanks plugin.

He's banned the test user so I assume he has his problem sorted out or has run off after getting caught without the theme copyright :p
(2011-05-10, 09:00 AM)- G33K - Wrote: [ -> ]That thx.js file is for the other thanks plugin, not mine. He's not using my thanks plugin.

Sorry, I wasn't sure Smile
The copyright must have been removed by accident as I actually didn't realise it had gone - It's back on now.

As already stated, I wasn't using the plugin by G33K and I've tried the header code you've gave me but the problem still persists. I banned the test account just to stop people from accessing it, I can unban it if it's needed.
Not much use having a test account if we can't access it... Smile
Pages: 1 2 3