Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MyBB: Difference between revisions

From iFixWiki
No edit summary
No edit summary
 
Line 13: Line 13:


''"compatibility" => "16*",''
''"compatibility" => "16*",''
== Sorry, but you did not select any posts to perform inline moderation on, or your previous moderation session has expired (Automatically after 1 hour of inactivity). Please select some posts and try again. ==
This issue occurs because a line of code is missing from the templates headerinclude file.<ref>https://community.mybb.com/thread-207320-post-1259335.html#pid1259335</ref>
'''Solution'''
# Open the MyBB admin panel
# Navigate to Templates & Style -> Templates
# Click on your active template
# Scroll down and click Ungrouped
# Click headerinclude
# CTRL+F var cookiePrefix = "{$mybb->settings['cookieprefix']}";
# Copy and paste this line after it: var cookieSecureFlag = "{$mybb->settings['cookiesecureflag']}";
= References =
[[Category:Website Software]]
[[Category:Website Software]]

Latest revision as of 21:15, 9 August 2017

MyBB, short for MyBulletinBoard, is a free forum software similar to phpBB and vBulletin.

Issues Solved[edit]

This plugin is incompatible with MyBB x.x.xx[edit]

This issue occurs when an old plugin is installed onto a new version of MyBB. It does not necessarily mean the plugin is not compatible with MyBB, but fixing the issue will not guarantee the plugin will work.

Solution

  1. Open the plugin (php file) in a code editor
  2. Find the following line: "compatibility" => "xx*",
  3. Change the number xx to your MyBB major version

The number listed contains no dots and does not contain the minor versions, i.e. 1.6.14, rather the first 2 numbers are used. So if your MyBB version is 1.6.14, you would change the compatibility number to 16:

"compatibility" => "16*",

Sorry, but you did not select any posts to perform inline moderation on, or your previous moderation session has expired (Automatically after 1 hour of inactivity). Please select some posts and try again.[edit]

This issue occurs because a line of code is missing from the templates headerinclude file.[1]

Solution

  1. Open the MyBB admin panel
  2. Navigate to Templates & Style -> Templates
  3. Click on your active template
  4. Scroll down and click Ungrouped
  5. Click headerinclude
  6. CTRL+F var cookiePrefix = "{$mybb->settings['cookieprefix']}";
  7. Copy and paste this line after it: var cookieSecureFlag = "{$mybb->settings['cookiesecureflag']}";

References[edit]