![]() |
vBPunch v1.2 - A Quick Warning System
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
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! :D |
OMG this is the best hack on the vborg Clicks install w00tage Alan-CIT you rock.
|
[high]* Guest190829 punches Alan @ Cit in the face
[/high] :D Great job, can't wait to see this AJAX-licious modification. |
Forgot to mention, vBPunch uses 4 phrases, all in the GLOBAL section, and all begining with vbpunch_ so they should be easy to find.
The PM message that is sent is vbpunch_warning_text if you wish to change it |
lol This is awesome. I think my forum would actually really like to do this to each other. LOL
How would I go about making it so different usergroups can punch someone? |
LOL funny, I like it :D
|
yes in the plugin vBPunch : Template conditional checks change this line:
PHP Code:
PHP Code:
Also edit vbpunch.php on line 25: PHP Code:
PHP Code:
|
Good idea Hawkbizkit, I'll add usergroup permissions in the next release :)
|
Wow this could be a great basis for someone to use to rewrite the vbpager system with.
Using AJAX for that would be awesome too. Nice work Alan! :), I may use this code a lil differently but it's definately extremely useful :) |
Quote:
|
All times are GMT. The time now is 02:45 AM. |
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:
|