MyBB Community Forums

Full Version: Hide content from guests[4.0][UPD 2017 August]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Latest one in 4.0!! Check if you have downloaded the correct build..
i got this error

public_html/inc/plugins/hidecontent.php on line 84
(2016-12-06, 04:02 PM)Harshit Wrote: [ -> ]Latest one in 4.0!! Check if you have downloaded the correct build..

Hi this also working on 1.8.9 ?

And Im confused a bit.

(2016-12-06, 04:02 PM)Harshit Wrote: [ -> ]Latest one in 4.0!! Check if you have downloaded the correct build..

I checked version 4.0. Ye this working.

But I didnt understand a point.

When I go Configuration / Bottom of Board Settings / Plugin Settings. It show 2 section. So One have (0 settings). When I click to this. This saying : No settings were found for the specified search phrase.

When I click to other (10 Settings ) -( This works very well ). No Problem.

So why have ı 2 section ? Have I a error or ?

This looks like this :

[Image: MoB78M.jpg]
Updated the plugin fixing the bugs
After uploading the 2 files to the correct places I get the following error on my ACP Plugins page:

Fatal error: Can't use function return value in write context in /home/xxxxxxxx/xxxxxx.xxx/inc/plugins/hidecontent.php on line 83


EDIT - Figured this out, you must use PHP 5.5 or higher with this plugin. Something to do with the way "empty" is handled changed between PHP 5.4 and 5.5.

This is from the PHP docs:

Quote:Note: Prior to PHP 5.5, empty() only supports variables; anything else will result in a parse error. In other words, the following will not work: empty(trim($name)). Instead, use trim($name) == false.
I found that this plugin, hidden in the content threads to the guest to the FORUM.
But if the visitor clicks on PORTAL the topics can be seen by the guest.
In other words, if your forum is:
http://myforum.com (The plugin will hide the content of the threads to the guest)

But
http://myforum.com/portal.php (The plugin will not hide the content of the threads to forum guest)
Please help

(2016-02-28, 12:22 PM)SAEED.M Wrote: [ -> ]Why this plugin don't work for me Confused
I really need to this Confused
i use mybb 1.8.6 and test this on 1.8 and 1.8.6 but not work on both.
my guest's group id is 1 !
Can anyone help me?

I was reviewing some error problems and it was by empty (), some do not accept by the PHP version.


Try this code and comment.

Copy all the code and replace in the original file hidecontent.php

<?php

// Plugin : Hide content from guest 4.0
// Author : Harshit Shrivastava
// 2016-2017

// Disallow direct access to this file for security reasons

if(!defined("IN_MYBB"))
{
	die("Direct initialization of this file is not allowed.<br /><br />Please make sure IN_MYBB is defined.");
}
$plugins->add_hook("postbit", "hidecontent_postbit");
$plugins->add_hook("printthread_post", "hidecontent_print");
$plugins->add_hook("archive_thread_post", "hidecontent_archive");
$plugins->add_hook("syndication_get_posts", "hidecontent_syndicate");

function hidecontent_info()
{
	return array(
		"name"			=> "Hide content from guest",
		"description"	=> "Hide your thread content from guests & users",
		"website"		=> "http://mybb.com",
		"author"		=> "Harshit Shrivastava",
		"authorsite"	=> "mailto:[email protected]",
		"version"		=> "4.0",
		"guid" 			=> "dcda923d29ec5dfb852a993160ca8356",
		"compatibility" => "18*"
	);
}

function hidecontent_validate($fid)
{
	global $mybb;
	if($mybb->settings['hidecontent_exclude'])
	{
		$fids = explode(",", $mybb->settings['hidecontent_exclude']);
		if(in_array($fid, $fids))
		{
			return False;
		}
	}
	return True;
}
function hidecontent_userboardvalidate($fid)
{
	global $mybb;
	if($mybb->settings['hidecontent_userexclude'])
	{
		$fids = explode(",", $mybb->settings['hidecontent_userexclude']);
		if(in_array($fid, $fids))
		{
			return False;
		}
	}
	return True;
}
function hidecontent_usergroupvalidate($gid){
	global $mybb;	
	if($mybb->settings['hidecontent_user_groupexclude'])
	{
		$gids = explode(",", $mybb->settings['hidecontent_user_groupexclude']);
		if(in_array($gid, $gids) || $gid == 4 || $gid == 3)
		{
			return False;
		}
	}
	else
	{
		if($gid == 4 || $gid == 3)
			return False;
	}
	return True;
}
function hidecontent_checkUserAgent(){
	$userAgents = array("Googlebot", "Slurp", "MSNBot", "ia_archiver", "Yandex", "Rambler","bingbot","GurujiBot","Baiduspider","facebook");
	return preg_match('/' . strtolower(implode('|', $userAgents)) . '/i', strtolower($_SERVER['HTTP_USER_AGENT']));
}

function hidecontent_checkUser(&$post, $type){
	global $mybb, $lang, $postCount, $thread, $postCount;
	$lang->load("hidecontent");
	$postCount++;
	if ($mybb->settings['hidecontent_show'] == 1 && $mybb->user['uid'] == 0 && hidecontent_validate($post['fid']) && !hidecontent_checkUserAgent() && (($mybb->settings['hidecontent_hidemode'] == "post" && $postCount == 1) || ($mybb->settings['hidecontent_hidemode'] == "replies" && $postCount > 1) || ($mybb->settings['hidecontent_hidemode'] == "both")))
		if($type == "syn")
			return trim($mybb->settings['hidecontent_code'])==false?true:false;
		else
			return trim($mybb->settings['hidecontent_code'])==false?$lang->hide_guest_msg:$mybb->settings['hidecontent_code'];
	if ($mybb->user['uid'] != 0 && $mybb->settings['hidecontent_usershow'] == 1 && $mybb->settings['hidecontent_userpost'] > $mybb->user['postnum'] && $thread['uid'] != $mybb->user['uid'] && $post['uid'] != $mybb->user['uid'] && hidecontent_usergroupvalidate($mybb->user['usergroup']) && hidecontent_userboardvalidate($post['fid']) && !hidecontent_checkUserAgent() && (($mybb->settings['hidecontent_userhidemode'] == "post" && $postCount == 1) || ($mybb->settings['hidecontent_userhidemode'] == "replies" && $postCount > 1) || ($mybb->settings['hidecontent_userhidemode'] == "both")))
		if($type == "syn")
			return trim($mybb->settings['hidecontent_code'])==false?true:false;
		else
			return trim($mybb->settings['hidecontent_usercode'])==false?$lang->sprintf($lang->hide_user_msg, $mybb->user['username'], $mybb->settings['hidecontent_userpost']):$mybb->settings['hidecontent_usercode'];
}
$postCount=0;
function hidecontent_postbit(&$post)
{
	$temp = hidecontent_checkUser($post,"");
	if(!$temp==false) {
		$post['attachments'] = "";
		$post['message'] = $temp;
	}
}
function hidecontent_print()
{
	global $postrow;
	$temp = hidecontent_checkUser($postrow,"");
	if($temp==false) $postrow['message'] = $temp;
	
}
function hidecontent_archive()
{
	global $post;
	$temp = hidecontent_checkUser($post,"");
	if(!$temp==false) $post['message'] = $temp;
}
function hidecontent_syndicate()
{
	global $firstposts, $post;
	if(hidecontent_checkUser($post, "syn") == true)	$firstposts = null;
}
function hidecontent_activate()
{
global $db;
$hidecontent_group = array(
        'gid'    => 'NULL',
        'name'  => 'hidecontent',
        'title'      => 'Hide content from guests',
        'description'    => 'Hide your thread content from guests',
        'disporder'    => "1",
        'isdefault'  => "0",
    ); 
$db->insert_query('settinggroups', $hidecontent_group);
$gid = $db->insert_id(); 
// Enable / Disable
$hidecontent_setting1 = array(
        'sid'            => 'NULL',
        'name'        => 'hidecontent_show',
        'title'            => 'Enable on board',
        'description'    => 'If you set this option to yes, this plugin will hide content from the posts.',
        'optionscode'    => 'yesno',
        'value'        => '1',
        'disporder'        => 1,
        'gid'            => intval($gid),
    );
$hidecontent_setting2 = array(
        'sid'            => 'NULL',
        'name'        => 'hidecontent_code',
        'title'            => 'Enter Message',
        'description'    => 'You can enter HTML code',
        'optionscode'    => 'textarea',
        'value'        => '',
        'disporder'        => 2,
        'gid'            => intval($gid),
    );
$hidecontent_setting3 = array(
        'sid'            => 'NULL',
        'name'        => 'hidecontent_exclude',
        'title'            => 'Forum ID without this mod',
        'description'    => 'If you do not want to use this mod on a forum or forums put ID separated by comma. Ex. 2,5,7',
        'optionscode'    => 'text',
        'value'        => '0',
        'disporder'        => 3,
        'gid'            => intval($gid),
    );
$hidecontent_setting4 = array(
        'sid'            => 'NULL',
        'name'        => 'hidecontent_hidemode',
        'title'            => 'Post Hide Mode',
        'description'    => 'Select the mode to hide the post.',
        'optionscode'    => 'select
both=Hide both post & replies
post=Hide only post
replies=Hide only replies
',
        'value'        => '1',
        'disporder'        => 4,
        'gid'            => intval($gid),
    );
	
$hidecontent_setting5 = array(
        'sid'            => 'NULL',
        'name'        => 'hidecontent_usershow',
        'title'            => 'Enable for users',
        'description'    => 'If you set this option to yes, this plugin will hide content from the posts for the registered users.',
        'optionscode'    => 'yesno',
        'value'        => '1',
        'disporder'        => 5,
        'gid'            => intval($gid),
    );

$hidecontent_setting6 = array(
        'sid'            => 'NULL',
        'name'        => 'hidecontent_userpost',
        'title'            => 'Minimum number of post to show message',
        'description'    => 'Enter number of posts',
        'optionscode'    => 'text',
        'value'        => '2',
        'disporder'        => 6,
        'gid'            => intval($gid),
    );
	
$hidecontent_setting7 = array(
        'sid'            => 'NULL',
        'name'        => 'hidecontent_usercode',
        'title'            => 'Enter Message for users',
        'description'    => 'You can enter HTML code',
        'optionscode'    => 'textarea',
        'value'        => '',
        'disporder'        => 7,
        'gid'            => intval($gid),
    );
	
$hidecontent_setting8 = array(
        'sid'            => 'NULL',
        'name'        => 'hidecontent_userexclude',
        'title'            => 'Forum ID without this mod',
        'description'    => 'If you do not want to use this mod on a forum or forums put ID separated by comma. Ex. 2,5,7',
        'optionscode'    => 'text',
        'value'        => '0',
        'disporder'        => 8,
        'gid'            => intval($gid),
    );
$hidecontent_setting9 = array(
        'sid'            => 'NULL',
        'name'        => 'hidecontent_userhidemode',
        'title'            => 'Post Hide Mode',
        'description'    => 'Select the mode to hide the post.',
        'optionscode'    => 'select
both=Hide both post & replies
post=Hide only post
replies=Hide only replies
',
        'value'        => '1',
        'disporder'        => 9,
        'gid'            => intval($gid),
    );

$hidecontent_setting10 = array(
        'sid'            => 'NULL',
        'name'        => 'hidecontent_user_groupexclude',
        'title'            => 'Group ID without this mod',
        'description'    => 'If you do not want to use this mod on a group or groups put ID separated by comma. Ex. 2,5,7',
        'optionscode'    => 'text',
        'value'        => '0',
        'disporder'        => 10,
        'gid'            => intval($gid),
    );
$db->insert_query('settings', $hidecontent_setting1);
$db->insert_query('settings', $hidecontent_setting2);
$db->insert_query('settings', $hidecontent_setting3);
$db->insert_query('settings', $hidecontent_setting4);
$db->insert_query('settings', $hidecontent_setting5);
$db->insert_query('settings', $hidecontent_setting6);
$db->insert_query('settings', $hidecontent_setting7);
$db->insert_query('settings', $hidecontent_setting8);
$db->insert_query('settings', $hidecontent_setting9);
$db->insert_query('settings', $hidecontent_setting10);
  rebuild_settings();
}
function hidecontent_deactivate()
{
  global $db;
  $db->query("DELETE FROM ".TABLE_PREFIX."settings WHERE name = 'hidecontent_show'");
  $db->query("DELETE FROM ".TABLE_PREFIX."settings WHERE name = 'hidecontent_code'");
  $db->query("DELETE FROM ".TABLE_PREFIX."settings WHERE name = 'hidecontent_exclude'");
  $db->query("DELETE FROM ".TABLE_PREFIX."settings WHERE name = 'hidecontent_hidemode'");
  $db->query("DELETE FROM ".TABLE_PREFIX."settings WHERE name = 'hidecontent_usershow'");
  $db->query("DELETE FROM ".TABLE_PREFIX."settings WHERE name = 'hidecontent_usercode'");
  $db->query("DELETE FROM ".TABLE_PREFIX."settings WHERE name = 'hidecontent_userpost'");
  $db->query("DELETE FROM ".TABLE_PREFIX."settings WHERE name = 'hidecontent_userexclude'");
  $db->query("DELETE FROM ".TABLE_PREFIX."settings WHERE name = 'hidecontent_user_groupexclude'");
  $db->query("DELETE FROM ".TABLE_PREFIX."settings WHERE name = 'hidecontent_userhidemode'");
  $db->query("DELETE FROM ".TABLE_PREFIX."settinggroups WHERE name='hidecontent'");
  rebuild_settings();
}
?>
when i upload plugin all plugin not showing in admincp
(2017-11-21, 06:25 AM)paxlook9 Wrote: [ -> ]when i upload plugin all plugin not showing in admincp

The problem is because of the PHP version that does not accept an internal EMPTY() function.

Edit the hidecontent.php file and erase everything, and paste the following code

<?php

// Plugin : Hide content from guest 4.0
// Author : Harshit Shrivastava
// 2016-2017
// updated by AMERICAN TEAM
// Disallow direct access to this file for security reasons

if(!defined("IN_MYBB"))
{
    die("Direct initialization of this file is not allowed.<br /><br />Please make sure IN_MYBB is defined.");
}
$plugins->add_hook("postbit", "hidecontent_postbit");
$plugins->add_hook("printthread_post", "hidecontent_print");
$plugins->add_hook("archive_thread_post", "hidecontent_archive");
$plugins->add_hook("syndication_get_posts", "hidecontent_syndicate");

function hidecontent_info()
{
    return array(
        "name"            => "Hide content from guest",
        "description"    => "Hide your thread content from guests & users",
        "website"        => "http://mybb.com",
        "author"        => "Harshit Shrivastava",
        "authorsite"    => "mailto:[email protected]",
        "version"        => "4.0",
        "guid"             => "dcda923d29ec5dfb852a993160ca8356",
        "compatibility" => "18*"
    );
}

function hidecontent_validate($fid)
{
    global $mybb;
    if($mybb->settings['hidecontent_exclude'])
    {
        $fids = explode(",", $mybb->settings['hidecontent_exclude']);
        if(in_array($fid, $fids))
        {
            return False;
        }
    }
    return True;
}
function hidecontent_userboardvalidate($fid)
{
    global $mybb;
    if($mybb->settings['hidecontent_userexclude'])
    {
        $fids = explode(",", $mybb->settings['hidecontent_userexclude']);
        if(in_array($fid, $fids))
        {
            return False;
        }
    }
    return True;
}
function hidecontent_usergroupvalidate($gid){
    global $mybb;    
    if($mybb->settings['hidecontent_user_groupexclude'])
    {
        $gids = explode(",", $mybb->settings['hidecontent_user_groupexclude']);
        if(in_array($gid, $gids) || $gid == 4 || $gid == 3)
        {
            return False;
        }
    }
    else
    {
        if($gid == 4 || $gid == 3)
            return False;
    }
    return True;
}
function hidecontent_checkUserAgent(){
    $userAgents = array("Googlebot", "Slurp", "MSNBot", "ia_archiver", "Yandex", "Rambler","bingbot","GurujiBot","Baiduspider","facebook");
    return preg_match('/' . strtolower(implode('|', $userAgents)) . '/i', strtolower($_SERVER['HTTP_USER_AGENT']));
}

function hidecontent_checkUser(&$post, $type){
    global $mybb, $lang, $postCount, $thread, $postCount;
    $lang->load("hidecontent");
    $postCount++;
    if ($mybb->settings['hidecontent_show'] == 1 && $mybb->user['uid'] == 0 && hidecontent_validate($post['fid']) && !hidecontent_checkUserAgent() && (($mybb->settings['hidecontent_hidemode'] == "post" && $postCount == 1) || ($mybb->settings['hidecontent_hidemode'] == "replies" && $postCount > 1) || ($mybb->settings['hidecontent_hidemode'] == "both")))
        if($type == "syn")
            return trim($mybb->settings['hidecontent_code'])==false?true:false;
        else
            return trim($mybb->settings['hidecontent_code'])==false?$lang->hide_guest_msg:$mybb->settings['hidecontent_code'];
    if ($mybb->user['uid'] != 0 && $mybb->settings['hidecontent_usershow'] == 1 && $mybb->settings['hidecontent_userpost'] > $mybb->user['postnum'] && $thread['uid'] != $mybb->user['uid'] && $post['uid'] != $mybb->user['uid'] && hidecontent_usergroupvalidate($mybb->user['usergroup']) && hidecontent_userboardvalidate($post['fid']) && !hidecontent_checkUserAgent() && (($mybb->settings['hidecontent_userhidemode'] == "post" && $postCount == 1) || ($mybb->settings['hidecontent_userhidemode'] == "replies" && $postCount > 1) || ($mybb->settings['hidecontent_userhidemode'] == "both")))
        if($type == "syn")
            return trim($mybb->settings['hidecontent_code'])==false?true:false;
        else
            return trim($mybb->settings['hidecontent_usercode'])==false?$lang->sprintf($lang->hide_user_msg, $mybb->user['username'], $mybb->settings['hidecontent_userpost']):$mybb->settings['hidecontent_usercode'];
}
$postCount=0;
function hidecontent_postbit(&$post)
{
    $temp = hidecontent_checkUser($post,"");
    if(!$temp==false) {
        $post['attachments'] = "";
        $post['message'] = $temp;
    }
}
function hidecontent_print()
{
    global $postrow;
    $temp = hidecontent_checkUser($postrow,"");
    if($temp==false) $postrow['message'] = $temp;
    
}
function hidecontent_archive()
{
    global $post;
    $temp = hidecontent_checkUser($post,"");
    if(!$temp==false) $post['message'] = $temp;
}
function hidecontent_syndicate()
{
    global $firstposts, $post;
    if(hidecontent_checkUser($post, "syn") == true)    $firstposts = null;
}
function hidecontent_activate()
{
global $db;
$hidecontent_group = array(
        'gid'    => 'NULL',
        'name'  => 'hidecontent',
        'title'      => 'Hide content from guests',
        'description'    => 'Hide your thread content from guests',
        'disporder'    => "1",
        'isdefault'  => "0",
    ); 
$db->insert_query('settinggroups', $hidecontent_group);
$gid = $db->insert_id(); 
// Enable / Disable
$hidecontent_setting1 = array(
        'sid'            => 'NULL',
        'name'        => 'hidecontent_show',
        'title'            => 'Enable on board',
        'description'    => 'If you set this option to yes, this plugin will hide content from the posts.',
        'optionscode'    => 'yesno',
        'value'        => '1',
        'disporder'        => 1,
        'gid'            => intval($gid),
    );
$hidecontent_setting2 = array(
        'sid'            => 'NULL',
        'name'        => 'hidecontent_code',
        'title'            => 'Enter Message',
        'description'    => 'You can enter HTML code',
        'optionscode'    => 'textarea',
        'value'        => '',
        'disporder'        => 2,
        'gid'            => intval($gid),
    );
$hidecontent_setting3 = array(
        'sid'            => 'NULL',
        'name'        => 'hidecontent_exclude',
        'title'            => 'Forum ID without this mod',
        'description'    => 'If you do not want to use this mod on a forum or forums put ID separated by comma. Ex. 2,5,7',
        'optionscode'    => 'text',
        'value'        => '0',
        'disporder'        => 3,
        'gid'            => intval($gid),
    );
$hidecontent_setting4 = array(
        'sid'            => 'NULL',
        'name'        => 'hidecontent_hidemode',
        'title'            => 'Post Hide Mode',
        'description'    => 'Select the mode to hide the post.',
        'optionscode'    => 'select
both=Hide both post & replies
post=Hide only post
replies=Hide only replies
',
        'value'        => '1',
        'disporder'        => 4,
        'gid'            => intval($gid),
    );
    
$hidecontent_setting5 = array(
        'sid'            => 'NULL',
        'name'        => 'hidecontent_usershow',
        'title'            => 'Enable for users',
        'description'    => 'If you set this option to yes, this plugin will hide content from the posts for the registered users.',
        'optionscode'    => 'yesno',
        'value'        => '1',
        'disporder'        => 5,
        'gid'            => intval($gid),
    );

$hidecontent_setting6 = array(
        'sid'            => 'NULL',
        'name'        => 'hidecontent_userpost',
        'title'            => 'Minimum number of post to show message',
        'description'    => 'Enter number of posts',
        'optionscode'    => 'text',
        'value'        => '2',
        'disporder'        => 6,
        'gid'            => intval($gid),
    );
    
$hidecontent_setting7 = array(
        'sid'            => 'NULL',
        'name'        => 'hidecontent_usercode',
        'title'            => 'Enter Message for users',
        'description'    => 'You can enter HTML code',
        'optionscode'    => 'textarea',
        'value'        => '',
        'disporder'        => 7,
        'gid'            => intval($gid),
    );
    
$hidecontent_setting8 = array(
        'sid'            => 'NULL',
        'name'        => 'hidecontent_userexclude',
        'title'            => 'Forum ID without this mod',
        'description'    => 'If you do not want to use this mod on a forum or forums put ID separated by comma. Ex. 2,5,7',
        'optionscode'    => 'text',
        'value'        => '0',
        'disporder'        => 8,
        'gid'            => intval($gid),
    );
$hidecontent_setting9 = array(
        'sid'            => 'NULL',
        'name'        => 'hidecontent_userhidemode',
        'title'            => 'Post Hide Mode',
        'description'    => 'Select the mode to hide the post.',
        'optionscode'    => 'select
both=Hide both post & replies
post=Hide only post
replies=Hide only replies
',
        'value'        => '1',
        'disporder'        => 9,
        'gid'            => intval($gid),
    );

$hidecontent_setting10 = array(
        'sid'            => 'NULL',
        'name'        => 'hidecontent_user_groupexclude',
        'title'            => 'Group ID without this mod',
        'description'    => 'If you do not want to use this mod on a group or groups put ID separated by comma. Ex. 2,5,7',
        'optionscode'    => 'text',
        'value'        => '0',
        'disporder'        => 10,
        'gid'            => intval($gid),
    );
$db->insert_query('settings', $hidecontent_setting1);
$db->insert_query('settings', $hidecontent_setting2);
$db->insert_query('settings', $hidecontent_setting3);
$db->insert_query('settings', $hidecontent_setting4);
$db->insert_query('settings', $hidecontent_setting5);
$db->insert_query('settings', $hidecontent_setting6);
$db->insert_query('settings', $hidecontent_setting7);
$db->insert_query('settings', $hidecontent_setting8);
$db->insert_query('settings', $hidecontent_setting9);
$db->insert_query('settings', $hidecontent_setting10);
  rebuild_settings();
}
function hidecontent_deactivate()
{
  global $db;
  $db->query("DELETE FROM ".TABLE_PREFIX."settings WHERE name = 'hidecontent_show'");
  $db->query("DELETE FROM ".TABLE_PREFIX."settings WHERE name = 'hidecontent_code'");
  $db->query("DELETE FROM ".TABLE_PREFIX."settings WHERE name = 'hidecontent_exclude'");
  $db->query("DELETE FROM ".TABLE_PREFIX."settings WHERE name = 'hidecontent_hidemode'");
  $db->query("DELETE FROM ".TABLE_PREFIX."settings WHERE name = 'hidecontent_usershow'");
  $db->query("DELETE FROM ".TABLE_PREFIX."settings WHERE name = 'hidecontent_usercode'");
  $db->query("DELETE FROM ".TABLE_PREFIX."settings WHERE name = 'hidecontent_userpost'");
  $db->query("DELETE FROM ".TABLE_PREFIX."settings WHERE name = 'hidecontent_userexclude'");
  $db->query("DELETE FROM ".TABLE_PREFIX."settings WHERE name = 'hidecontent_user_groupexclude'");
  $db->query("DELETE FROM ".TABLE_PREFIX."settings WHERE name = 'hidecontent_userhidemode'");
  $db->query("DELETE FROM ".TABLE_PREFIX."settinggroups WHERE name='hidecontent'");
  rebuild_settings();
}
?>
(2014-11-04, 07:00 AM)sksk Wrote: [ -> ]Has any tried this plugin ??? no reviews ???

Will this plugin hide content from search engine as well ?? coz that might effect search engine results.

I made a group especially for bots... that way even if I limit views it will not effect them
Hello there, I'm getting this error, I'm using MyBB Version 1.8.14

MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1366 - Incorrect integer value: 'NULL' for column 'gid' at row 1
Query:
INSERT INTO mybb_settinggroups (`gid`,`name`,`title`,`description`,`disporder`,`isdefault`) VALUES ('NULL','hidecontent','Hide content from guests','Hide your thread content from guests','1','0')
Pages: 1 2 3