![]() |
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. |
The TABLEPREFIX I know about, what do u mean about the ` error though?
Do u mean it should be `user`." ? -CMX |
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!
|
Which files need editing then?
|
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 |
I've installed the newer version and it's all working fine now. Thanks for the help though both of you.
|
Quote:
|
It deletes fine, no errors came back this time.
|
great thanks!
|
This bug STILL seems to exists and I posted this 3 months ago.
|
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 What am I doing wrong? |
you need to edit plugins/vbplazza_postdata_delete.php
|
All times are GMT. The time now is 06:15 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|