The Arcive of vBulletin Modifications Site. |
|
tableprefix bugs Details »»
|
|||||||||||||||||||||||||
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. Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
The TABLEPREFIX I know about, what do u mean about the ` error though?
Do u mean it should be `user`." ? -CMX |
|
#3
|
||||
|
||||
|
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!
|
|
#4
|
||||
|
||||
|
Which files need editing then?
|
|
#5
|
||||
|
||||
|
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: Code:
user." . $vbulletin->options['vbbux_pointsfield'] . " = user." . $vbulletin->options['vbbux_pointsfield'] . " + post.vbbux |
|
#6
|
||||
|
||||
|
I've installed the newer version and it's all working fine now. Thanks for the help though both of you.
|
|
#7
|
||||
|
||||
|
Quote:
|
|
#8
|
||||
|
||||
|
It deletes fine, no errors came back this time.
|
|
#9
|
||||
|
||||
|
great thanks!
|
|
#10
|
||||
|
||||
|
This bug STILL seems to exists and I posted this 3 months ago.
|
![]() |
|
|