Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 20 Jan 2009, 01:29
DragonBlade's Avatar
DragonBlade DragonBlade is offline
 
Join Date: May 2006
Disable hooks not disabling?

Hey, I made a big oopsie when adding a plugin, and setting this in "global.php" ain't working:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I still get a database error?

Help, please. >_<

Is 3.8.0 different?

--------------- Added 20 Jan 2009 at 01:29 ---------------

Edit, nevermind. >.> Sorry, please delete. XD

--------------- Added 20 Jan 2009 at 01:30 ---------------

Edit, wait.... I still can't get into AdminCP?

Last edited by DragonBlade; 20 Jan 2009 at 01:30. Reason: Auto-Merged DoublePost
Reply With Quote
  #2  
Old 20 Jan 2009, 01:32
glennybee glennybee is offline
 
Join Date: Feb 2008
I've no idea what you're trying to achieve?

Please be specific about what you're problem is.

To disable hooks, add this to the 2nd line of your config.php file.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

So that it looks like this...


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #3  
Old 20 Jan 2009, 01:42
DragonBlade's Avatar
DragonBlade DragonBlade is offline
 
Join Date: May 2006
Yes, this is what I did.

However, I was still getting a database error when trying to log into the AdminCP. The forum itself was running (hookless), but the AdminCP (where I could turn off the troublesome hook I created) was beyond my reach until I edited that same constant into the admincp/index.php and admincp/plugins.php pages.

>_>

I wasn't aware I had to do it for those pages as well.
Reply With Quote
  #4  
Old 20 Jan 2009, 02:09
nexialys
Guest
 
adding that line is not supposed to be in global.php but in includes/config.php because the first one is used only by the forum, not the admincp or the modcp...
Reply With Quote
  #5  
Old 20 Jan 2009, 06:56
DragonBlade's Avatar
DragonBlade DragonBlade is offline
 
Join Date: May 2006
Ah, sank you, I feel foolish. XD

Hopefully I'll remember that next time I mis-spell a table name on my plugins. >_<
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Disable Search does not disable Get New Posts... Chris M vBulletin 2.x Full Releases 11 26 Oct 2003 05:43



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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


New To Site? Need Help?

All times are GMT. The time now is 23:57.

Layout Options | Width: Wide Color: