MyBB Community Forums

Full Version: MyBB v1.8.9 - cookie secure flag issue
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
https://gyazo.com/d7914e23d7a50a738407ecd2198f5319
it's normal?
i used soft delete posts
and i put in css

.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;
}
Can OP be edited so that it reflects the proper code?

var cookieSecureFlag = "{$mybb->settings['cookiesecureflag']}";

Has to be (no quotes):

var cookieSecureFlag = {$mybb->settings['cookiesecureflag']};

Had to read the full thread to see that the proper change.
(2016-12-26, 08:30 PM)labrocca Wrote: [ -> ]Can OP be edited so that it reflects the proper code?

var cookieSecureFlag = "{$mybb->settings['cookiesecureflag']}";

Has to be (no quotes):

var cookieSecureFlag = {$mybb->settings['cookiesecureflag']};

Had to read the full thread to see that the proper change.

Thanks that just fixed it for me too (WITHOUT QUOTES!). Otherwise inline moderation wouldnt work
Yes, either need to remove the quotes, or also apply the additional change as per the below:

(2016-12-23, 07:45 PM)Devilshakerz Wrote: [ -> ]
(2016-12-23, 07:42 PM)Matt Wrote: [ -> ]Will need it without the quotes.

Either that or using a more strict comparison: https://github.com/mybb/mybb/pull/2579/c...151cd3d705.
Ive got similar problem, console says:
[attachment=38162]
(2017-01-10, 12:17 PM)czaczawik Wrote: [ -> ]Ive got similar problem, console says:

upgrading to 1.8.10 or manually applying the edits found here should fix that.
Pages: 1 2 3