Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
  #1  
Old 08 Jul 2006, 06:45
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
tableprefix bugs

Hey there, just upgrading to 1.5.7 and there are 2 typos I have come across that prevent deleting data. They are in:
plugins/vbplaza_threaddata_delete
plugins/vbplaza_postdata_delete

You have TABLEPREFIX instead of TABLE_PREFIX

This causes db errors when deleting data.

Thanks

on another note:

your ` around the column names errors out the deletion process too.

Last edited by The Geek; 08 Jul 2006 at 06:53. Reason: Automerged Doublepost
Reply With Quote
Comments
  #2  
Old 13 Jul 2006, 21:41
CMX_CMGSCCC CMX_CMGSCCC is offline
 
Join Date: Sep 2003
The TABLEPREFIX I know about, what do u mean about the ` error though?

Do u mean it should be `user`." ?

-CMX
__________________
http://www.cmgsccc.com/
Reply With Quote
  #3  
Old 15 Jul 2006, 09:10
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
you fully qualified the columns including prefixes like: `user.points` which says that its a column called `user.points` instead of a column called user.points (not sure if that makes sense!
Reply With Quote
  #4  
Old 25 Jul 2006, 23:32
Neal-UK's Avatar
Neal-UK Neal-UK is offline
 
Join Date: Feb 2004
Real name: Neal
Which files need editing then?
__________________
talkGEEK | Burnley Online
Reply With Quote
  #5  
Old 07 Aug 2006, 17:16
Omega Prime's Avatar
Omega Prime Omega Prime is offline
 
Join Date: Sep 2002
I just noticed this issue moments ago. Neal-UK, you'd need to edit the 2 files that The Geek mentioned and change the following:

In "vbplaza_postdata_delete.php", remove the " ` " from the following line so that it looks like this:


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

In "vbplaza_threaddata_delete", do the same as above, as well as changing "THREADPREFIX" to "THREAD_PREFIX".
Reply With Quote
  #6  
Old 07 Aug 2006, 17:34
Neal-UK's Avatar
Neal-UK Neal-UK is offline
 
Join Date: Feb 2004
Real name: Neal
I've installed the newer version and it's all working fine now. Thanks for the help though both of you.
__________________
talkGEEK | Burnley Online
Reply With Quote
  #7  
Old 08 Aug 2006, 01:54
Omega Prime's Avatar
Omega Prime Omega Prime is offline
 
Join Date: Sep 2002
Originally Posted by Neal-UK
I've installed the newer version and it's all working fine now. Thanks for the help though both of you.
Odd, because I'm using both vBPlaza 1.5.8 and GARS 2 and had to do the above edits to get deleting to work.
Reply With Quote
  #8  
Old 08 Aug 2006, 01:59
Neal-UK's Avatar
Neal-UK Neal-UK is offline
 
Join Date: Feb 2004
Real name: Neal
It deletes fine, no errors came back this time.
__________________
talkGEEK | Burnley Online
Reply With Quote
  #9  
Old 23 Aug 2006, 07:25
MissKalunji's Avatar
MissKalunji MissKalunji is offline
 
Join Date: Aug 2003
Real name: Mj Bain
great thanks!
__________________
____________
BossLady
Reply With Quote
  #10  
Old 12 Sep 2006, 09:21
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
This bug STILL seems to exists and I posted this 3 months ago.
Reply With Quote
  #11  
Old 07 Oct 2006, 00:27
VTXCafe.com VTXCafe.com is offline
 
Join Date: Jul 2005
Ok, I'm not sure what I'm missing here but....

I am looking at the plugin and I'm looking to make the above edits but the text show above is not inside the plugin. Here is what is inside the plugin:

Edit Plugin vbBux / vbPlaza - Delete Post Data

// include the vbplaza_postdata_delete.php
include(DIR . '/plugins/vbplaza_postdata_delete.php');


What am I doing wrong?
Reply With Quote
  #12  
Old 15 Jun 2007, 22:37
Phatback Phatback is offline
 
Join Date: Feb 2005
you need to edit plugins/vbplazza_postdata_delete.php
Reply With Quote
Reply

Similar Mod
Mod Developer Type Replies Last Post
New Posting Features [HTL] & [TXT] Request/Bugs Tracker (formally vB-Bugs) Shane Modification Graveyard 144 08 Mar 2005 11:37



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

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 15:55.

Layout Options | Width: Wide Color: