The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
pring_delete_confirmation help
I'm trying to use the print_delete_confirmation function, but can't seem to get it work.
Per the vbulletin API, I've learned that it uses 8 inputs as such: Quote:
PHP Code:
I assume that the 'id' is automatically added by the function. But it appends it to table like it does, I don't know. Does anyone have any ideas or can lend any help or advice? |
#2
|
||||
|
||||
In vBulletin the primary ID field of a table is usually the table name with "id" tacked on the end (see post, thread, etc.). This is why it automatically adds the ending onto the field.
|
#3
|
|||
|
|||
Thanks for the help. With your input and a look at some of the other vbulletin tables, I got that figured out.
But I can't seem to figure out how to add a custom message to the confirmation box? I just get a yes and no option. I thought the string $extra should show the message? |
#4
|
||||
|
||||
Have a look in the actual function file to see what happens - it would probably be better than me explaining it.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|