Solved: 4 Years, 2 Months ago [1.8.9] Custom Theme Soft Delete Issue
#1
Solved: 4 Years, 2 Months ago
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.
Reply
#2
Solved: 4 Years, 2 Months ago
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?
Reply
#3
Solved: 4 Years, 2 Months ago
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.
Reply
#4
Solved: 4 Years, 2 Months ago
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?
Reply
#5
Solved: 4 Years, 2 Months ago
Use this fix :

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

Replace:

secure: cookieSecureFlag == true,
Reply
#6
Solved: 4 Years, 2 Months ago
Do you solve soft delete?
ty
Reply
#7
Solved: 4 Years, 2 Months ago
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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)