vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Administrative and Maintenance Tools - vBH-Bot's ~ Your site a better effective at search engine (https://vborg.vbsupport.ru/showthread.php?t=153773)

Michael Biddle 07-31-2007 12:25 AM

this mod is crap and should be removed by staff.

csavern 07-31-2007 02:21 AM

i will have to agree whitemike cant belive vbulletin is leaving this hack on the board
but maybe be best to block it and leave the topic open untill we get a fix

bolly.beats 07-31-2007 04:15 AM

Quote:

Originally Posted by V-T-H (Post 1305695)
for the moment to make your sites work go to plug in manager and make those plug ins not to be active the , i am also unable to uninstall that hack but after doing that at least site is up and is working fine

Agreed, thanks a lot Bro... atleast Site is working fine now. Still wondering how to remove this hack. Also i admit, i made a mistake by not taking the backup. My kind request to the coders of vb.org is that "Can some one please look into the xml file, change da codes so that it could be uninstalled"...

flindersredclaw 07-31-2007 04:48 AM

Well I ended up installed a clean 3.6.8 on a subdomain and used impex to import the active database. That has removed it. I had two tables in the old database called "bots" and the other was "bot" I had another mod installed that made search engines see the pages like registered users so that would have been one of the tables and the other must have been for this hack.

I would suggest delete the bots table from your database and see what you get. Remember to at least back up first. No harm in trying. I will be better than the entire rebuild.....

rjmjr69 07-31-2007 04:58 AM

Quote:

Originally Posted by flindersredclaw (Post 1305204)
Matter of fact I can not uninstall, disable, edit or do anything through the manage products. Forum view is showing this error at the top of the page

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /global.php(554) : eval()'d code on line 394


I have the same issue I had to delete the plugins manually whats the deal?

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /global.php(554) : eval()'d code on line 26


WOW 22 votes look at that level? This has to be the worste I've ever seen here

flindersredclaw 07-31-2007 05:08 AM

The thing will still be resident in your database tables - I think the hack works (not sure exactly what it does as the info is limited) but I think the main issue is it is not compatable with anything other than 3.6.8 and it will conflict with several other hacks. Which ones I am not sure.

I have to say that in my short time here, I have downloaded and used a great many hacks and this is the only one to have given me this type of grief. Very disappointed in the developer for not replying to any of my requests nor the one pm I sent. Personally, "Developer" should be removed along with anything else it has produced.

BigJimTheLug 07-31-2007 05:12 AM

*Installed because you are from Turkey* and the mod is okay.

Next time, more testing.:)

Burach,

cehennem , mutlu etmek kullanma online terc?me hizmet --dan İngiliz -e doğru T?rk , benim arkadaş. ?zg?r

http://www.translationbooth.com/tb/a...eeTranslation/




Hello, please use online translation services from English to Turkish, my friend.

Free!

It is free.

Sorry I have bad Turkish. :) just trying to help. :)

http://www.translationbooth.com/tb/a...eeTranslation/

chatpalace24 07-31-2007 07:15 AM

hi there,
just try to deaktivate the product and the plugins with a sql statement like this :

The Plugins :
UPDATE `vb_plugin` SET `active` = '0' WHERE `product ` = 'vBH-Bot\'s';


And the same for the product :

update `vb_product` set `active` ='0' where `productid` ='vBH-Bot\'s';

replace the vb_ with your table prefix.

Not testet, but i tink it works. :)

Marco van Herwaarden 07-31-2007 08:11 AM

Those that have this modification installed (version 2.0) might have problems to uninstall or disable the product.

This is caused by the use of an invalid product-id:
- Current product-id is "vBH-Bot's"
- No product should ever use a product-id that starts with "vb" as this is reserved to official Jelsoft products.
- The product-id should be lowercase and only alphanumeric characters and underscore. Using a single-quote (') in the productid will break some javascript that is needed when uninstalling/disabling the product.

We strongly suggest not to install this product until the author releases an updated version.

For those who already have installed this product and need to disable or remove it, the attached script should correct the product-id by changing it from "vBH-Bot's" to "burach_bot_070731". This should allow for normal uninstall.

Please note that running the attached script might break the functioning of this modification, so only use the attached script if you plan on uninstalling the modification.

Place the following script in your 'admincp' directory and point your browser to http://myboard.com/admincp/fix_quoted_prodid.php

The script will not ask for a confirmation and will immediate make the needed changes. Once completed please remove the script again.

PS:
- This script has been undergoing a limited test. Use at own risk!
- If you have 2 boards installed in a single database, 1 without table-prefix and 1 with a table-prefix, then running this script for the board without a table-prefix might result in also the tables for the prefixed board to be updated (if this modification was also installed there)

As this modification has now been withdrawn by the author, the attachment is not downloadable anymore. If you still need this solution, please copy and paste the script below into a file named fix_quoted_prodid.php and place this file in your admincp directory.
PHP Code:

<?php
// ######################## SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);

// #################### settings for this script ######################
// The product-id to search for
$prod_find "vBH-Bot's";
// The product-id to use as replacement
$prod_replace "burach_bot_070731";
// #################### PRE-CACHE TEMPLATES AND DATA ######################
$phrasegroups = array();
$specialtemplates = array();
// ########################## REQUIRE BACK-END ############################
require_once('./global.php');
// loop thru all table names
$tables $db->query_read("SHOW TABLES LIKE '" TABLE_PREFIX "%'");
while (
$tablename $db->fetch_array($tablesDBARRAY_NUM))
{
 
// Check for columnname 'productid'
 
$tbl_columns $db->query_read("SHOW COLUMNS FROM $tablename[0] LIKE 'productid'");
 if (
$db->num_rows($tbl_columns) > 0)
 {
  
replace_productid($tablename[0], 'productid');
 }
 
 
// Check for columnname 'product'
 
$tbl_columns $db->query_read("SHOW COLUMNS FROM $tablename[0] LIKE 'product'");
 if (
$db->num_rows($tbl_columns) > 0)
 {
  
replace_productid($tablename[0], 'product');
 }
}
function 
replace_productid($tablename$column)
{
 global 
$db$prod_replace$prod_find;
 
 echo 
"<br />Updating table: " $tablename;
 
 
$result $db->query_write("UPDATE $tablename SET $column = '" $db->escape_string($prod_replace) . "' WHERE $column = '" $db->escape_string($prod_find) . "'");
 
 echo 
"<br />Updated " $db->affected_rows() . " row(s).";
 
}
?>


hoangminh 07-31-2007 08:31 AM

<font color="Red">Do not install on vb 3.6.7 or you'll get trouble with this hack. This hack can not be uninstall or disable via AdminCP. BE CAREFUL!</font>


All times are GMT. The time now is 04:30 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04275 seconds
  • Memory Usage 1,765KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete