![]() |
i made a litle mod that will allow given department mods to recieve pms about new tickets that submitted to their dep.
note this mod will add a few queries . run this query to add option to the CP: Code:
INSERT INTO setting (varname, grouptitle, value, defaultvalue, optioncode, displayorder, advanced, volatile) VALUES ('helpdesk_pm_notify', 'helpdesk', '1', '0', '<select name=\\\"setting[$setting[varname]]\\\" tabindex=\\\"1\\\" class=\\\"bginput\\\"> find Code:
// lets send an email instead Code:
if ($vboptions['helpdesk_pm_notify'] == 1) Code:
$DB_site->shutdown_query("UPDATE ".TABLE_PREFIX."user SET pmtotal = pmtotal + 1, pmunread = pmunread + 1, pmpopup = " . $userinfo['pmpopup'] . " WHERE userid = '" . $userinfo['userid'] . "'"); Code:
function sendprivatemessage_group ($group_ids, $message, $subject) Code:
function sendprivatemessage_group ($group_ids, $message, $subject) Code:
$bbuserinfo[m_subj]=addslashes(htmlspecialchars_uni($_REQUEST['title'])); enjoy |
Live Demo has been updated.
red_baron2000 - I'll install this and see how she works. If it works good and if there is no way for me to optimize the code (which there might be) I'll release an update tomorrow. |
Wow that looks really good. Great work. Could be useful for me in the future.
|
ok,
coming in late on this hack could some one tell me which one to install and what to edit step by step please thanks hc |
Obviously you're goign to want to download the latest version. I'll remove the old one. I left it up there for people before. Like stated in the first post there are no file edits! The installation can be found in the zip file.
|
I need to upgrade, but want to wait until the moderator notification from the last page is incorporated into the mod. Any idea when (if) that will be ready? Also, are there any other additions planned for the next rollout?
Awesome, awesome work. |
Is it possible for the person who submitted the original ticket to receive an email when his or ticket receives a reply from a mod/admin?
|
Very nice addon WhSox21 but, I have a permissions problem I can't get sorted out... All members can see the Administer Block and view tickets other than their own.. Also Tickets that I have claimed ownership of are never listed in "My Tickets"
example: My Registered Users Group permissions are set to only; Can Create Tickets = Yes Can Resolve Tickets = Yes All others = No Registered users can still view every ticket... Any Ideas?? |
Quote:
Quote:
Quote:
Quote:
cheers for all the hard work |
Quote:
In your AdminCP then to vBulletin Options then HelpDesk... Usergroups With Department Access - make sure this list (seperated by commas) only gives the usergroups you want to have access to those areas. |
All times are GMT. The time now is 12:40 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:
|