Version: 1.2, by Alan @ CIT
Developer Last Online: Apr 2012
Version: 3.5.0
Rating:
Released: 09-28-2005
Last Update: 11-05-2005
Installs: 83
DB Changes Uses Plugins Template Edits
Additional Files
No support by the author.
If Upgrading from version 1.1, upload all of the files in the Zip, making sure that they overwrite the old ones, then install the product XML.
If upgrading from version 1.0, please follow the instructions in the install guide in the Zip file.
Changelog
Version 1.2
Clicking "Cancel" on the extra text prompt means that the PM will not be sent
Adding an option to display a confirmation popup when the PM has been sent
Fixed a bug with usergroup permission checking (thanks Osmosis)
Version 1.1
Added a global on/off switch for vBPunch
Added the ability to add/remove reputation points when punching
Added usergroup permissions - you can now choose which usergroups are allowed to use vBPunch
Now includes 3 "Punch User" images as well as the text link
What is vBPunch?
vBPunch is a quick way of sending a warning PM to a user, based on a post they have made.
It adds a link to the postbit called "Punch User". When an admin clicks this, vBPunch pops up a textbox letting the admin type a reason (if they wish, it's optional), then it sends the user a PM.
What makes vBPunch so special then???!?
The useful thing about vBPunch is that it does it all in the backgorund using Ajax. That means, no popup windows, no page refreshes, nothing. All the admin does is click the "Punch User" link, enter a reason if needed, then continues reading the thread / post, without being interupted.
Installation
Please read install.html located in the zip file
Un-installation
Please read install.html located in the zip file. Please ensure that you delete the uploaded files, before un-installing the product in the vBulletin AdminCP, otherwise you will recieve errors when you edit a usergroup.
Important: Unfortunately, my leased vBulletin licence has now expired, and I won't be renewing it until September which means I will be unable to reply to this thread, or update this mod until then. I'm hopeful that the great vBulletin.org community will step in to answer any questions in my absence though See you all in early September!
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Personally, I don't like the punch starts even if Cancel is clicked on prompt window... if I click erroneously the user gets punched because I can't undo my action... that's not good for me, not intuitive ("cancel" usually means "cancel action"). I've changed "do_punch" to suit my needs: if (message != null) then punch else don't do anyting
I'll add also an alert box to confirm that punch was sent (no errors) because some browsers (eg. firefox by default) don't allow status bar text changing via javascript
Security checks should be hardened... I was able to send a punch even if I'm not logged in. Try to write the url with the querystring and the user receive a PM from a "non registered" user...
Osmosis: Thanks for pointing that out, I forgot to add "$permissions['vbpunch']" in vbpunch.php - an oversight on my part I'll fix it in the next release.