MyBB Community Forums

Full Version: [1.8.9] Custom Theme Soft Delete Issue
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello, in my forum after I upgraded to 1.8.9,  when I soft delete a message, it becomes invisible. I am sure I am not removing it entirely, i am just soft deleting it. (logs say I soft removed) but once I soft delete it it's nowhere to be found. 

I applied 
Quote:
.deleted_post_hidden {
	border-top: 2px solid #ccc;
	padding: 15px;
}

.deleted_post_collapsed {
	border-top: 3px solid #333;
	padding: 15px;
}

.deleted_post_collapsed .show_deleted_post {
	margin-top: -15px;
}

.deleted_post_collapsed .show_deleted_post a.button span {
	background-position: 0 -400px;
}

codes to my global.css file. Nothing changed.
It's a problem with upgrade 1.8.9...

Go in postbit_classic and add after
{$ignore_bit}
this
{$deleted_bit}

off-topic : do you have problem with general.js and cookieflag?
I added 2nd code after 1st code or I change it ?

Yes Matt helped me with general.js, I can tell you what to do if you need.
yes add {$deleted_bit}, don't delete {$ignore_bit}

should to appear in postbit_classic like :

 {$ignore_bit}{$deleted_bit}

how to solve the problem cookieflag/general.js?
Use this fix :

https://github.com/mybb/mybb/pull/2579/c...151cd3d705
in general.js
Find:
secure: cookieSecureFlag,

Replace:

secure: cookieSecureFlag == true,
Do you solve soft delete?
ty
Yes, in addition your fix needs to be applied to postbit template too (postbit classic is only for classic mode, postbit is default mode)

Thank you