MyBB Community Forums

Full Version: Searchbot Identifier v1.1 Error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I have just installed the Searchbot_Identifier_v1_1 modification i have no line errors but when you view the online list here http://www.sugarrushforums.com/online.php the guests or search bots just have no name at all when viewing the online list.... Why is this and how can i fix it?
Tryed redoing it and got this error:

Could not create table mybb_botoptions
Could not insert default options in table mybb_botoptions.
You have encountered errors while trying to update the database.

Why is this?
DannyGlass Wrote:Tryed redoing it and got this error:

Could not create table mybb_botoptions
Could not insert default options in table mybb_botoptions.
You have encountered errors while trying to update the database.

Why is this?
That's because the table wasn't deleted and so it gives an error because the same name already exists. Don't worry, that's not the problem.

DannyGlass Wrote:I have just installed the Searchbot_Identifier_v1_1 modification i have no line errors but when you view the online list here http://www.sugarrushforums.com/online.php the guests or search bots just have no name at all when viewing the online list.... Why is this and how can i fix it?
It's already a long time ago I finished that mod. And it'll take some time on finding that mistake. I'm sure I've had it before, but I can't remember how I solved it. Are you sure you installed the mod correctly?
So ignore the sql php file? Yes i think i did, do you want me to attach online.php and index.php here? The admin/index.php works but not the online.php and i think the index also works.
Do you have any other mods installed? Otherwise you could use the files in this thread: http://mods.mybboard.com/forum/showthrea...07#pid2107
I thought about that but didnt know if i should, dont think i installed any mods Confused ill backup just incase!
Now the admin options for bots has gone and it wont even reappear when i reupload it, so what the?

Update: Can view the options if i go straight to the link of which the file is located now ive got wait for a bot to come online... or i could change the ip for a test Smile

Update Two: Did a test and it works gj!
DannyGlass Wrote:Now the admin options for bots has gone and it wont even reappear when i reupload it, so what the?

Update: Can view the options if i go straight to the link of which the file is located now ive got wait for a bot to come online... or i could change the ip for a test Smile

Update Two: Did a test and it works gj!
Great, so it must be an error while installing the mod. For the link in the adminCP, you'll probably have to redo that. You can see what you have to do in the install.html file (at the bottom). There you'll see what you have to add in admin/index.php. If it is already there, you should verify if it is the correct link.
When a bot is online, it says a number next the the bot name/bot image, what part of the code would i take away in which file to make it go away.
That number is to show you how much of that type bots are currently online. The bots are then shown in groups. You can also show them seperately by going to the Bot Options page in your AdminCP. It's better not to change the code, but if you really want it removed, do this:
Open index.php and find:
Code:
        $user['username'] = "</a>".$googlecount." <a href=\"\">".$gbot.$botsuffix;
and replace it with
Code:
        $user['username'] = "</a> <a href=\"\">".$gbot;
After that, find:
Code:
        $user['username'] = "</a>".$msncount." <a href=\"\">".$mbot.$botsuffix;
and replace it with
Code:
        $user['username'] = "</a> <a href=\"\">".$mbot;
After that, find:
Code:
        $user['username'] = "</a>".$altacount." <a href=\"\">".$avbot.$botsuffix;
and replace it with
Code:
        $user['username'] = "</a> <a href=\"\">".$avbot;
After that, find:
Code:
        $user['username'] = "</a>".$askcount." <a href=\"\">".$ajbot.$botsuffix;
and replace it with
Code:
        $user['username'] = "</a> <a href=\"\">".$ajbot;
After that, find:
Code:
        $user['username'] = "</a>".$yahoocount." <a href=\"\">".$ybot.$botsuffix;
and replace it with
Code:
        $user['username'] = "</a> <a href=\"\">".$ybot;
You're done.
Pages: 1 2
Reference URL's