Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
cleaning up the hacks Details »»
cleaning up the hacks
Version: , by Azhrialilu Azhrialilu is offline
Developer Last Online: Jun 2016 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 09-02-2003 Last Update: Never Installs: 0
 
No support by the author.

I've just been looking at my oh-so-messy forum and want to wipe off all the hacks except for vbportal, which I want to keep running.

I'll be reinstalling the hacks, so I'm not too concerned about removing the extra tables from the db, it's just that during my first "play" with the vbulletin forums I messed the hacks up a few times and, although the board works fine, the admin cp is messier than it really needs to be now LOL

So what I need you much-cleverer people than me to tell me is that I can just overwrite the hacked php files with the clean ones LOL ...... at least that's what I hope you're gonna tell me, and not say I need to reinstall.. cos that would just be tiresome I'd really like to be able to do this without closing the site down for ages!

Am I making sense? I know what I mean but I have a tendency to confuse everyone else LOL

Thanx anyway, guys

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 09-02-2003, 06:10 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, normally you can just overwrite your hacked files with fresh ones and everything should work
Reply With Quote
  #3  
Old 09-02-2003, 07:58 PM
Azhrialilu's Avatar
Azhrialilu Azhrialilu is offline
 
Join Date: Aug 2003
Location: Stretton, Derbyshire
Posts: 445
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great, thanx

Okay, I know I'm probably being really annoying now... but what if I decided I needed to clean up the database? LOL ..... I'm getting an error 1136 when I try to add a new user group... apart from that it's not causing any problems, apart from irritating me *grin*
Reply With Quote
  #4  
Old 09-02-2003, 08:20 PM
SmEdD's Avatar
SmEdD SmEdD is offline
 
Join Date: Mar 2003
Location: Ontario, Canada
Posts: 381
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Go though all you hack instructions and reverse the queries

And this I just though of and probley won't work but make 2.3.2 think it is 2.3.0 and upgrade again.

But for ether way definatly BACKUP YOUR DATABASE!!! Expscially for the second way, that probley won't work.

But for the phpmyadmin the added stuff is always the last column(s) in the table.
Reply With Quote
  #5  
Old 09-02-2003, 08:22 PM
Azhrialilu's Avatar
Azhrialilu Azhrialilu is offline
 
Join Date: Aug 2003
Location: Stretton, Derbyshire
Posts: 445
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

now I'm gonna look really thick.. how do I manually reverse queries, is it thru the mysql section on my host?.. I know nothing about databases LOL... the hack I'm having problems with is the warning hack ... it gives an uninstall option, which I tried... but the error keeps on coming LOL
Reply With Quote
  #6  
Old 09-02-2003, 08:34 PM
SmEdD's Avatar
SmEdD SmEdD is offline
 
Join Date: Mar 2003
Location: Ontario, Canada
Posts: 381
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Na man it's no problem, we all were at some point a n00b

If:
Code:
ALTER TABLE table_name 
ADD column_name datatype
Reverse:
Code:
ALTER TABLE table_name 
DROP COLUMN column_name
If:
Code:
CREATE TABLE table_name
Reverse:
Code:
DELETE TABLE table_name
If:
Code:
INSERT INTO table_name
VALUES (some_value)
Reverse:
Code:
DELETE FROM table_name
WHERE column_name = some_value
Reply With Quote
  #7  
Old 09-02-2003, 08:41 PM
Azhrialilu's Avatar
Azhrialilu Azhrialilu is offline
 
Join Date: Aug 2003
Location: Stretton, Derbyshire
Posts: 445
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanx for that I'll give it a go..... expect a howl from somewhere near Heathrow Airport in about 20 minutes when I screw the whole thing up *grin*
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:07 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.04019 seconds
  • Memory Usage 2,261KB
  • Queries Executed 20 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete