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

Reply
 
Thread Tools
Details »»

Version: , by (Guest)
Developer Last Online: Jan 1970 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 11-12-2000 Last Update: Never Installs: 0
 
No support by the author.

since PM hack ain't working with my 1.1.4 upgraded vB, how does one remove the PM added tables etc in the vB database ?

Show Your Support

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

Comments
  #2  
Old 11-12-2000, 05:06 AM
Guest
 
Posts: n/a
Default

can someone check if this is correct ?

Quote:
DROP TABLE privatercvd;
DROP TABLE privatesent;
DROP TABLE pmstats;
ALTER TABLE usergroup DROP canusepm;
ALTER TABLE user DROP ignorelist, DROP pmfolders, DROP receivepm, DROP emailonpm;
DELETE FROM template WHERE title='privmsgsbitlist';
DELETE FROM template WHERE title='privatemsglist';
DELETE FROM template WHERE title='privatelogin';
DELETE FROM template WHERE title='showprivmsg';
DELETE FROM template WHERE title='privmsgbit';
DELETE FROM template WHERE title='sendprivmsg';
DELETE FROM template WHERE title='redirect_pmthanks';
DELETE FROM template WHERE title='redirect_pmdelete';
DELETE FROM template WHERE title='error_pmnosentreply';
DELETE FROM template WHERE title='error_pmivalidrecipient';
DELETE FROM template WHERE title='error_pmcantdelete';
DELETE FROM template WHERE title='error_pmcantview';
DELETE FROM template WHERE title='error_pmcantignoreself';
DELETE FROM template WHERE title='redirect_pmignoreadded';
DELETE FROM template WHERE title='showignore';
DELETE FROM template WHERE title='redirect_pmignoreedited';
DELETE FROM template WHERE title='pmloggedin';
DELETE FROM template WHERE title='pmloggedout';
DELETE FROM template WHERE title='pmshowfolders';
DELETE FROM template WHERE title='error_pmcantmove';
DELETE FROM template WHERE title='redirect_pmmove';
DELETE FROM template WHERE title='redirect_pmfoldersedited';
DELETE FROM template WHERE title='error_pmfullmailbox';
DELETE FROM template WHERE title='pmfullboxemailmsg';
DELETE FROM template WHERE title='pmfullboxemailsubject';
DELETE FROM template WHERE title='pm_nextnewest';
DELETE FROM template WHERE title='pm_nextoldest';
DELETE FROM template WHERE title='pmsentsubject';
DELETE FROM template WHERE title='pmsentmsg';
DELETE FROM template WHERE title='error_pmturnedoff';
DELETE FROM template WHERE title='error_pmnotallowed';
DELETE FROM template WHERE title='error_pmcantmovesent';
DELETE FROM template WHERE title='error_pmrecipturnedoff';
DELETE FROM template WHERE title='error_pmnotchecked';
DELETE FROM template WHERE title='error_pminvalidignores';
3 tables removed, 2 tables altered, and 35 templates removed
Reply With Quote
  #3  
Old 11-12-2000, 05:16 AM
Guest
 
Posts: n/a
Default

after running the above i get this error

Database error in vBulletin Control Panel: Invalid SQL: SELECT usergroupid,title,usertitle,canview,cansearch,cane mail,canpostnew,canreply,canad minedit,canedit,candelete,canopenclose,canmove,can controlpanel,canusepm FROM usergroup WHERE usergroupid=6
mysql error: Unknown column 'canusepm' in 'field list'
mysql error number: 1054

in the usergroup permissions
Reply With Quote
  #4  
Old 11-12-2000, 06:15 AM
Guest
 
Posts: n/a
Default

I'm not sure which file it is in, but you need to remove the fields you just deleted from the SQL queries in the code.
So the one above would become:
Code:
SELECT usergroupid,title,usertitle,canview,cansearch,canemail,canpostnew,canreply,canadminedit,canedit,candelete,canopenclose,canmove,cancontrolpanel FROM usergroup WHERE usergroupid=6
That particular one is in the admin/usergroup.php i believe but there will be more instances of it around the rest of the forum.
Hope that helps!
Reply With Quote
  #5  
Old 11-12-2000, 06:22 AM
Guest
 
Posts: n/a
Default

thanks i got rid of the one in usergroup.php

and reuploaded the previous copy of the other files.. hopefully that's all there is..

Thanks James
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 11:10 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.03931 seconds
  • Memory Usage 2,227KB
  • Queries Executed 18 (?)
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
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (4)postbit
  • (5)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
  • 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