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.
http://www.philcoradio.com/phorum/
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:

[attachment=38148]

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:

[attachment=38149]

Headerinclude, jscripts.js, and class_page.php changed according to the directions here:
https://community.mybb.com/thread-206896.html

global.css also changed according to the directions found here:
https://blog.mybb.com/2016/12/21/mybb-1-...nt+Blog%29
please see this threads --> [General] Issues with Inline Moderation on 1.8.9

https://community.mybb.com/thread-206896.html

or this threads

https://community.mybb.com/thread-206834...pid1257081
The headerinclude is missing the change, I can see this in your source code:

var cookieDomain = ".philcoradio.com";
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.
Matt

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.

Thanks.
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.
Ziuma

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

Matt

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...

Matt

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.