vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   vBSupport v2.0.0 Beta 2 (https://vborg.vbsupport.ru/showthread.php?t=94023)

evenmonkeys 10-24-2005 09:18 PM

Is there a place that describes how to use this? I'm a little confused on the Add Category part. "Allowed Usergroups" "Allowed Technician Usergroups" It's all too confusing for my feeble mind.

mtha 10-26-2005 11:28 PM

Small bug:

When UPDATE a ticket, if both "Close/Open ticket" AND "Assignment" AND Category are checked, only one of them work.

I'd remove the standard_redirect in the following sections:
if ($vbulletin->GPC['closeticket'])
if ($vbulletin->GPC['openticket'])
if ($vbulletin->GPC['assignedtechid'] != $ticket['assignedtechid'])

// $_REQUEST['do'] = 'newreply';
$vbulletin->url = 'vBSupport.php?' . $vbulletin->session->vars['sessionurl_q'] . 'do=showticket&ticketid=' . $vbulletin->GPC['ticketid'];
eval(print_standard_redirect('support_rebuilt_info '));

Also, the $_REQUEST['do'] = 'newreply'; need to be replaces by

PHP Code:

//    $_REQUEST['do'] = 'newreply';
$vbulletin->url 'vBSupport.php?' $vbulletin->session->vars['sessionurl_q'] . 'do=showticket&ticketid=' $vbulletin->GPC['ticketid'];
    eval(
print_standard_redirect('support_rebuilt_info')); 

otherwise, there'll be alot of templates not cached.


Also, Close/Open and Delete ticket can not be check both at the same time. if you delete ticket, close and open mean nothing, so, you may just want to make it Radio or dropdown instead of checkboxes



In tickets list, only those who have permission to delete ticket can see the delete selected ticket options
Should have additional options to open/close tickets there, for those who has permission to mass close/open tickets.

klaush 10-27-2005 01:39 PM

Quote:

Originally Posted by mtha
Small bug:

When UPDATE a ticket, if both "Close/Open ticket" AND "Assignment" AND Category are checked, only one of them work.

I'd remove the standard_redirect in the following sections:
if ($vbulletin->GPC['closeticket'])
if ($vbulletin->GPC['openticket'])
if ($vbulletin->GPC['assignedtechid'] != $ticket['assignedtechid'])

// $_REQUEST['do'] = 'newreply';
$vbulletin->url = 'vBSupport.php?' . $vbulletin->session->vars['sessionurl_q'] . 'do=showticket&ticketid=' . $vbulletin->GPC['ticketid'];
eval(print_standard_redirect('support_rebuilt_info '));

Also, the $_REQUEST['do'] = 'newreply'; need to be replaces by

PHP Code:

//    $_REQUEST['do'] = 'newreply';
$vbulletin->url 'vBSupport.php?' $vbulletin->session->vars['sessionurl_q'] . 'do=showticket&ticketid=' $vbulletin->GPC['ticketid'];
    eval(
print_standard_redirect('support_rebuilt_info')); 

otherwise, there'll be alot of templates not cached.


Also, Close/Open and Delete ticket can not be check both at the same time. if you delete ticket, close and open mean nothing, so, you may just want to make it Radio or dropdown instead of checkboxes



In tickets list, only those who have permission to delete ticket can see the delete selected ticket options
Should have additional options to open/close tickets there, for those who has permission to mass close/open tickets.


Could you please name the files, where are these changes to do.

Not everybody here is an advanced coder.

Thank you!

mtha 10-28-2005 04:16 AM

I basically post the above msg for CMX, so that he can make the changes.


ok. here's what you need to do

Edit vBSupport.php

line 854 + 855:
Remove (or comment) these line:
PHP Code:

            $vbulletin->url 'vBSupport.php?' $vbulletin->session->vars['sessionurl_q'];
            eval(
print_standard_redirect('support_ticket_closed'truetrue)); 


Line 891, 892:
Remove (or comment) these line:
PHP Code:

            $vbulletin->url 'vBSupport.php?' $vbulletin->session->vars['sessionurl_q'] . 'do=showticket&ticketid=' $vbulletin->GPC['ticketid'];
            eval(
print_standard_redirect('support_ticket_opened'truetrue)); 

Line 924+925

Remove (or comment) these line:
PHP Code:

            $vbulletin->url 'vBSupport.php?' $vbulletin->session->vars['sessionurl_q'];
            eval(
print_standard_redirect('support_ticket_assigned'truetrue)); 

Line 940 + 941
replace
// reshow the ticket
$_REQUEST['do'] = 'showticket';

by
PHP Code:

    // reshow the ticket
//    $_REQUEST['do'] = 'newreply';
    
$vbulletin->url 'vBSupport.php?' $vbulletin->session->vars['sessionurl_q'] . 'do=showticket&ticketid=' $vbulletin->GPC['ticketid'];
    eval(
print_standard_redirect('support_rebuilt_info')); 


rubzebest 10-30-2005 02:43 AM

Quote:

Originally Posted by ILTK
Is there anyway to allow non-registered users to submit tickets?

The unregistered users with problems are realy the most important ones to support.

I agree, for the registered users I can just as well create a private forum :ermm: ...
It seems in category permissions I can add the "unregistered" usergroup, so why can't they post?

mtha 10-30-2005 03:11 PM

Quote:

Originally Posted by rubzebest
I agree, for the registered users I can just as well create a private forum :ermm: ...
It seems in category permissions I can add the "unregistered" usergroup, so why can't they post?

In general helpdesk system, people usually use EMAIL and ticketid, to login and check status for some ticket.

Assume that guest can post ticket (with their email), they, at a later time, can check back the ticket, with the email they entered, and ticket id number (sent to their email).

that's the idea to go with.

rubzebest 11-01-2005 12:05 PM

Quote:

Originally Posted by mtha
In general helpdesk system, people usually use EMAIL and ticketid, to login and check status for some ticket.

Assume that guest can post ticket (with their email), they, at a later time, can check back the ticket, with the email they entered, and ticket id number (sent to their email).

that's the idea to go with.

Actually I don't seem to be able to post a ticket as guest :ermm:. IMHO that doesn't make sense.

CommuneZoom 11-03-2005 01:49 AM

I was testing this out and on install, it seems the phrases are installed, although the options do not appear when choosing a usergroup in the admin CP to edit ho can do what.

Any ideas?

hydrostatic 11-03-2005 02:26 AM

This hack does not work for vBulletin 3.5.1. At least the usergroup permission system does not.

CommuneZoom 11-03-2005 04:18 AM

Quote:

Originally Posted by hydrostatic
This hack does not work for vBulletin 3.5.1. At least the usergroup permission system does not.

Yeah, that is what I was gathering. Imay have to check the systems. I didn't really look at the coding before checking whether it would comply with 3.5.1 or not. Needless to say, it doesn't hurt anything, it just doesn't work yet :).


All times are GMT. The time now is 11:51 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.01472 seconds
  • Memory Usage 1,768KB
  • 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
  • (6)bbcode_php_printable
  • (5)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