PDA

View Full Version : Plugin placement to delete user from another table?


bigtime
09-18-2006, 07:23 PM
Hello,

What plugin hook location do I need to insert the code to delete a user from a non-vb table when deleting the user from the admin panel?

Here is the code I'm using at userdata_delete:



$db->query_write("DELETE from review_users
WHERE username='$username'");



It is resulting in a blank page and the username is not removed from review_users.

Thanks.

ericgtr
09-18-2006, 11:20 PM
I already deleted the other, so I pasted the old thread into this one. :)

bigtime
01-31-2007, 05:10 PM
anyone?

dionsis
01-31-2007, 10:15 PM
id be interested in this information too, if i edit a user in VB, or if a user edits himself, i would like to change information on another table

similar if they delete themselves or i admin delete them , i would like to delete information in the other database

dionsis
02-04-2007, 01:13 PM
is this not possible to program vbulletin to do?

Antivirus
02-04-2007, 10:11 PM
Eric I can't remember hook name off top of my head, but to find it, I would see what script name and branch is in admin dir where users are deleted (I think it's user.php?do=remove but could be wrong), then open that file in dreamweaver or wordpad and use find feature for 'hook' and when you get to the hook(s) within that branch, write down names and try your hode by creating plugin using the hook locationds you found. One of them should be what u need.