View Full Version : Delete Visitor Message
Infinity101
09-29-2011, 04:36 AM
Hello, I've been working on a link to delete a visitor message on a profile rather than doing it the default way. Currently, I have been using a iframe to a template which uses the form code, however for obvious reasons I would rather use a href.
I've tried several variations, however the output page is bank with a 0.
Example of what I've tried.
a href="visitormessage.php?{vb:raw session.sessionurl}u={vb:raw userinfo.userid}&do=deletemessage?rb_del_hard&vmid={vb:raw message.vmid}"
Any ideas on how to get this to work? Thanks.
souperman
09-29-2011, 04:40 AM
How are you accessing the url? you need to be an admin or mod. Also, what template are you putting that code on?
hoangserip
09-29-2011, 05:28 AM
ChipLove.9xpro - Quick delete all Visitor Messages
Link mod: http://thuthuat.chiplove.biz/post-517/mod-vb3-vb4-chiplove-9xpro-quick-delete-all-visitor-messages.html
:( and need help me: https://vborg.vbsupport.ru/showthread.php?t=271026
Infinity101
09-30-2011, 03:53 AM
How are you accessing the url? you need to be an admin or mod. Also, what template are you putting that code on?
It's an href link and you only need to be the owner of the profile to delete your visitor message. The link is being attached to every visitor message - next to the edit link.
ChipLove.9xpro - Quick delete all Visitor Messages
Thanks, but never heard of the website and am receiving a warning when clicking on the link. I'm not looking to delete all messages either, however I'm sure it wouldn't be hard to edit the code.
- Edit - Got it to work using the onload element and creating a custom template for the editor. Thanks.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.