vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Board Optimization - vBMicroStats (https://vborg.vbsupport.ru/showthread.php?t=140449)

Xplorer4x4 03-07-2007 04:21 PM

Quote:

Originally Posted by Lizard King (Post 1198084)
You need to make a full installation so you need to make the file edits also.

Thanks, but that did not work either. :(

TECK 03-07-2007 05:03 PM

Please post a screenshot with what you have displayed on your site, related to the hack.
First, search the html code and tell me if you see in the source:
<!-- {vbmicrostats} -->

Then, go to vBulletin Options > BB MicroStats
Make sure the options you desire are enabled (the first option enables the hack).
We will get this baby working, is something minor ore;se it would not work on previous code edits.

Just for the heck of it, what version you had installed before 1.1.0?
Thanks.

Edit: You still have the problem related to installer? It looks like there are some leftovers in the database, you probably installed over the old old hack, without un-installing first.
Is OK we can clean this.

Just post all details here, I need screenshots to your plugin table.

Xplorer4x4 03-07-2007 05:19 PM

http://img119.imageshack.us/img119/3060/screenvblg2.gif
When i click view source and search for <!-- {vbmicrostats} --> it does not show up(or did you mean in the template?).

I had 1.0.3 installed before 1.1.0.

Plugin table
http://img407.imageshack.us/img407/8616/tablebl7.gif

TECK 03-07-2007 06:03 PM

Ya, in the HTML source, you are all good. :)
Sorry, I was not clear... I presumed you will show me the actual data from the plugin table.
Anyways, the process is really simple to clean your board. Do this:

1. Uninstall the hack.
Plugins & Products > Manage Products > vBMicroStats > Uninstall

2. Revert the footer template to default like before.

3. Upload the original vBulletin 3.6.5 class_core.php and init.php files to your server.
We do this just to make sure there are no code mistakes.

4. Close the board.

5. Open config.php and find the following line:
$config['Misc']['maxheight'] = 1944;

Replace it with:
$config['Misc']['maxheight'] = 1944;
$config['Misc']['debug'] = true;


Mod Debug should be enabled now.
If you have the Admin CP still open, just refresh once (F5) the current admin page in your browser.

6. Run the following queries (yes, you can run them all at once):
[sql]DELETE FROM `phrase` WHERE product LIKE '%vb36_mstats%';
DELETE FROM `product` WHERE productid LIKE '%vb36_mstats%';
DELETE FROM `productdependency` WHERE productid LIKE '%vb36_mstats%';
DELETE FROM `plugin` WHERE product LIKE '%vb36_mstats%';
DELETE FROM `settinggroup` WHERE product LIKE '%vb36_mstats%';
DELETE FROM `setting` WHERE product LIKE '%vb36_mstats%';[/sql]

That will clean your database from all vBMicroStats leftovers. :)

7. Rebuild the bitfields.
vBulletin Options > Rebuild Bitfields

8. Disable Debug Mode.
You can simply set the Debug option to false, it will take care of the rest for you:
$config['Misc']['debug'] = false;

9. Log out and login into Admin CP.

10. Open the board, you are done. :)

Xplorer4x4 03-07-2007 06:09 PM

Do I have to revert the footer or simply delete the code for microstats?

TECK 03-07-2007 06:11 PM

Delete the microstats code.

TECK 03-07-2007 06:16 PM

I forgot to mention, the above procedure, will simply revert your bulletin board to it's original state, before you ever installed vBMicroStats.
It's like my hack was never there.

Also, keep in mind that all errors you get now are not related to my hack.
vBMicroStats does not affect in any way the vBulletin (forum) options or functionality.
But I wanted you to feel better and make sure the database is cleaned properly, in case we have some code left there.

Xplorer4x4 03-07-2007 06:30 PM

2. Revert the footer template to default like before.
My templates will not update because of the bug.

4. Close the board.
It would not even save the status of the board being closed.


6. Run the following queries (yes, you can run them all at once):
[sql]DELETE FROM `phrase` WHERE product LIKE '%vb36_mstats%';
DELETE FROM `product` WHERE productid LIKE '%vb36_mstats%';
DELETE FROM `productdependency` WHERE productid LIKE '%vb36_mstats%';
DELETE FROM `plugin` WHERE product LIKE '%vb36_mstats%';
DELETE FROM `settinggroup` WHERE product LIKE '%vb36_mstats%';
DELETE FROM `setting` WHERE product LIKE '%vb36_mstats%';[/sql]
It claims the data was deleted.

8. Disable Debug Mode.
You can simply set the Debug option to false, it will take care of the rest for you:
$config['Misc']['debug'] = false;
Debug mode is still on despite doing this.

Xplorer4x4 03-07-2007 06:37 PM

Quote:

Originally Posted by TECK (Post 1198214)
I forgot to mention, the above procedure, will simply revert your bulletin board to it's original state, before you ever installed vBMicroStats.
It's like my hack was never there.

Also, keep in mind that all errors you get now are not related to my hack.
vBMicroStats does not affect in any way the vBulletin (forum) options or functionality.
But I wanted you to feel better and make sure the database is cleaned properly, in case we have some code left there.

This is the only hack that modifys debug mode though so i do not see where else it could come from but I guess i will try my other hacks.

Xplorer4x4 03-07-2007 06:47 PM

Oh and another note that when i try to click explain, it simply reloads the page which is the bug I notified you of here

Hell i can not even disable hacks manually in the admin cp. Only by editing config. :(


All times are GMT. The time now is 06:02 PM.

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.01810 seconds
  • Memory Usage 1,746KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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