MyBB Community Forums

Full Version: Cannot permanently delete soft deleted posts
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Upgrade from 1.8.6 to 1.8.9

None of the moderators or administrators - not even the admin account - on my forum can permanently delete posts that were soft deleted by a user since the upgrade from 1.8.6 to 1.8.9.

There is a new button where a soft deleted post was - this button was not there before the upgrade:


Clicking that button opens the soft deleted post with a checkbox as before. Checking that checkbox and then selecting Delete Posts Permanently next to Inline Post Moderation brings up this error message now:


Headerinclude, jscripts.js, and class_page.php changed according to the directions here:

global.css also changed according to the directions found here:
please see this threads --> [General] Issues with Inline Moderation on 1.8.9

or this threads
The headerinclude is missing the change, I can see this in your source code:

var cookieDomain = "";
var cookiePath = "/phorum/";
var cookiePrefix = "";
var deleteevent_confirm = "Are you sure you want to delete this event?";

The addition should be after the cookie prefix.

So the only way I know to find the headerincludes is to go to Admin CP > Templates & Styles > Templates.

My code does not look like what you posted above, however. It looks like this:

var cookieDomain = "{$mybb->settings['cookiedomain']}";
var cookiePath = "{$mybb->settings['cookiepath']}";
var cookiePrefix = "{$mybb->settings['cookieprefix']}";
var cookieSecureFlag = "{$mybb->settings['cookiesecureflag']}";
var deleteevent_confirm = "{$lang->deleteevent_confirm}";

Should I be looking somewhere else for headerinclude code that looks like what you posted, and if so, where?

Please note: I can handle HTML and CSS but this stuff is frankly over my head.

It's appearing in the source code now - did you re-save the template? Either way, see if the original issue is still there now.

Please reread my initial post. I have already done the steps you indicated.


I saved what I posted above in the Admin CP which is the only way I know how to do this...I will check and report back...


Whatever I did, it worked!

I noticed when I went into the Admin CP to doublecheck the headerinclude code, it had not saved the changes I had made previously. I changed it again and made sure I clicked the Save and Return to Listing button. That must have taken care of it. I logged in as one of my mods and was able to permanently delete a post.

Thank you, very much appreciated.