vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   HelpDesk v1.63 (https://vborg.vbsupport.ru/showthread.php?t=77155)

freebase69 05-13-2005 05:19 AM

/installed with no issues.

Love it.

Thanks

deta 05-13-2005 05:30 AM

Quote:

Originally Posted by WhSox21
I have no idea what you mean by this?

If a new ticket is provided, which the Admin or entitled person is informed by pn about it.

cu Deta

mpadc 05-13-2005 10:01 AM

Quote:

Originally Posted by deta
If a new ticket is provided, which the Admin or entitled person is informed by pn about it.

cu Deta

Great one

u know what happened lol

for department settings i accidenetly set registered usergroups under the department settings

everytime someoen wrote/replied to a ticket it mass pmed all several thousand of my forum members lol! then the members seeing this went to the helpdesk and started replying to the ticket as if it was some sort of thread which sent out more MASS pms!
:up:
got it sorted though

nice addition to the hack :)

mpadc 05-13-2005 10:11 AM

ok one thing how do u change the default PM sender?

at the moment its set to 1 which is an administrator

however i wanna create a bogus account which sends out the helpdesk notificatiosn PM

what do i modify exactly?

MattKeys 05-14-2005 06:35 PM

Well, I've seen a few things that I think should be changed/fixed. As there are already 33 pages of this thread I don't have time to go read all of the posts to see if someone mentioned this already, if it is just ignore me.

Fix:
Well, this most likely won't effect many people now that I think about it, but it may be better to fix anyway. If you are the only person in your group to get the ticket, and you send the ticket yourself (i was testing it out), you will get permission denied.

Sugguestion:
Make it pm everyone in the group that there is a *NEW* ticket, not just updated one.

I made both these fixes myself so it doesn't matter much to me, but for everyone else's sake. Before I did the fix I was telling everyone to submit it, then hit reply and say something else so that it would PM me and I didn't need to go look every 5 min. lol.



Oh, and mpadc:

Open helpdesk.php
Find: ('1'
Replace: ('insert userid here'


Edit:
Eh, I'll post what I did so you don't need to think so hard, btw, love the Addon.

The "Fix":
Open "helpdesk.php" (duh)
Find:
PHP Code:

    $updatequery $DB_site->query("SELECT DISTINCT userid, username, pmpopup FROM " TABLE_PREFIX "user AS user WHERE (".$condition." OR userid = $ticketusergroups[postuserid]) AND userid <> $bbuserinfo[userid]"); 

Replace With:
PHP Code:

    $updatequery $DB_site->query("SELECT DISTINCT userid, username, pmpopup FROM " TABLE_PREFIX "user AS user WHERE (".$condition." OR userid = $ticketusergroups[postuserid])"); 

Find:
PHP Code:

    while ($userinfo $DB_site->fetch_array($updatequery))
    {
        
sendprivatemessage ($userinfo'The following ticket has been updated:
[URL]'
.$vboptions[bburl].'/helpdesk.php?do=ticket&tid='.$_REQUEST['tid'] . '[/URL]''HelpDesk Ticket Update');
    } 

Replace With:
PHP Code:

    while ($userinfo $DB_site->fetch_array($updatequery))
    {
        if (
$bbuserinfo[userid] != $userinfo[userid]){
            
sendprivatemessage ($userinfo'The following ticket has been updated:
[URL]'
.$vboptions[bburl].'/helpdesk.php?do=ticket&tid='.$_REQUEST['tid'] . '[/URL]''HelpDesk Ticket Update');
        }
    } 

Thats it for the fix.

Haven't done php in a while, if this is wrong just lemme know so I can take it down so I don't mess people up (works for me though).

Julie 05-16-2005 09:06 PM

MattKeys, would your above post fix the issue of a update-pm being sent to everyone, not just the Administrator? Or is it for something else?

WhSox21 05-16-2005 09:16 PM

Quote:

Originally Posted by Julieh
MattKeys, would your above post fix the issue of a update-pm being sent to everyone, not just the Administrator? Or is it for something else?

No that's not a fix for that. Nor is that a bug. That is a misconfiguration on your part of the Departments. If you configure them correctly then users will not recieve that PM.

MikeWarner 05-17-2005 11:31 AM

One major item is missing from this great hack.

Many tickets ask things like "Why can't I post?", "Can I change my username?" etc. This means I have to go to the admin CP and do a search for their username.

If their username whenever shown in the Help Desk was linked to their public profile, it would make things much easier to admin. I hope this can be added into a future release.

Thanks.

rokkyu 05-18-2005 03:12 PM

Hey I wanted to say great hack!! Now I am missing one thing.. how do you take the ticket over? I thought maybe replying would do the trick but I am not sure how this works. Other then that it works peachy!

rokkyu

WhSox21 05-18-2005 03:34 PM

You must use the drop down and click claim ownership. Once you do that it's in your ownership. :)


All times are GMT. The time now is 06:28 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
  • Page Generation 0.01594 seconds
  • Memory Usage 1,758KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete