Invision Byte: (T31) Tickets System - Invision Byte

Jump to content

Welcome to Invision Byte

Welcome to Invision Byte, like most online communities you must register to view or post in our community, but don't worry this is a simple free process that requires minimal information. Take advantage of it immediately, Register Now or Sign In.

  • Start new topics and reply to others
  • Subscribe to topics and forums to get automatic updates
  • Purchase one of the products available and quickly receive support for it!
  • View and use the shoutbox to communicate
  • Get your own profile and make new friends
  • Customize your experience here
Guest Message by DevFuse
  • 3 Pages +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

(T31) Tickets System

#1
User is offline   terabyte 

  • Administrator
  • PipPipPipPipPipPipPipPip
  • Group: Management
  • Posts: 8,907
  • Joined: 30-September 07
  • Location:Italy
  • IP.Board:3.1.x
  • Current Mood: Current Mood: Insomnious
File Name: (T31) Tickets System
File Submitter: terabyte
File Submitted: 08 Jun 2010
File Updated: 16 Jul 2011
File Category: IP.Board
IP.Board 3.0 Compatible: No
IP.Board 3.1 Compatible: Yes
IP.Board 3.2 Compatible: No

This mod adds to your forum a fully featured Tickets System.

Features:


Click here to download this file
Board Rules - Available Products - Products Faqs - Need a Custom Work?


* Don't PM me for support, post in the forum or submit a ticket from the client area! *
4

#2
User is offline   DawPi 

  • Elite Member
  • PipPipPipPip
  • Group: Premium Members
  • Posts: 395
  • Joined: 13-January 08
  • Location:.pl
  • IP.Board:3.1.x
  • Current Mood: Current Mood: Thinking
Hello! :)

First of all I want to thank you for this mod - best, as always.. :)

I have one questions: is there or will be function to notify staff about new tickets or replies in system by default?
0

#3
User is offline   terabyte 

  • Administrator
  • PipPipPipPipPipPipPipPip
  • Group: Management
  • Posts: 8,907
  • Joined: 30-September 07
  • Location:Italy
  • IP.Board:3.1.x
  • Current Mood: Current Mood: Insomnious
For anyone interested about the question posted by DawPi: we are discussing about it on the IPS forum.
Board Rules - Available Products - Products Faqs - Need a Custom Work?


* Don't PM me for support, post in the forum or submit a ticket from the client area! *
0

#4
User is offline   Breadfan 

  • n00b
  • Pip
  • Group: Members
  • Posts: 5
  • Joined: 28-December 09
  • IP.Board:3.0.x
  • Current Mood: Current Mood: Artistic
I think it's a must. Without it, people have to check their emails in order to tell if they get a ticket/reply or simply check the Tickets from time to time.
I did install the latest update but I saw virtually no change in how tickets are being reported: I saw no "New replies" notification or anything like that?
0

#5
User is offline   Adriano 

  • Advanced Member
  • PipPipPip
  • Group: Premium Members
  • Posts: 150
  • Joined: 14-December 07
  • IP.Board:3.1.x
  • Current Mood: Current Mood: Asleep

View Postterabyte, on 14 June 2010 - 09:01 PM, said:

For anyone interested about the question posted by DawPi: we are discussing about it on the IPS forum.

Yeap, that's what I asked you here: http://community.invisionpower.com/topic/312825-download-t31-tickets-system-110/page__view__findpost__p__1968408

:)
1

#6
User is offline   Guax 

  • n00b
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 05-June 10
  • IP.Board:N/A
  • Current Mood: Current Mood: None Chosen
Good Mod, I'm using in my forum :)
0

#7
User is offline   Fordy 

  • n00b
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 28-July 10
  • IP.Board:3.1.x
  • Current Mood: Current Mood: None Chosen
I just installed this but the link did not appear under "MY APPS" tab in the admin cp.
0

#8
User is offline   The Highlander 

  • Active Member
  • PipPip
  • Group: Premium Members
  • Posts: 44
  • Joined: 03-January 10
  • IP.Board:3.3.x
  • Current Mood: Current Mood: None Chosen
Not all my staff members are appearing on the staff list.. only the ones in the first department.
0

#9
User is offline   occupant 

  • n00b
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 05-January 10
  • IP.Board:3.0.x
  • Current Mood: Current Mood: None Chosen
I am very happy! Posted Image
0

#10
User is offline   Sacred 

  • n00b
  • Pip
  • Group: Premium Members
  • Posts: 7
  • Joined: 24-March 08
  • Location:Egypt - Cairo
  • IP.Board:2.3.x
  • Current Mood: Current Mood: Sick
Because This system is one of the very few proper applications in IPB Community, I always use it on all my sites

and because of that i have my self the liberty to add few stuff to it i "thought" they were missing to make it the perfect application! (I Hope you do not mind tera!)

One of the most important features for me was the fURL that was missing in some parts of the system

like adding new ticket / ticket urls / staff page and application home page (app=tickets)
with my edits these links are no longer dynamic link "app=tickets&module=tickets&section=tickets&do=new_ticket" its now "http://website.com/tickets/addnew"

Anyways Lets start adding the new stuff

A- File Edits

  • you need to create a new file and call it
    furlTemplates.php

  • Copy the following codes, paste and save it inside that furlTemplates.php file

    <?php
    /**
     * Invision Byte
     * (T31) Tickets System v1.1.0 - (Sacred fURL Edits)
     *
     * BBCode Management - Determines if bbcode can be used in this section
     * Last Updated: $Date: 2010-06-05 18:27:11 +0200(sab, 05 giu 2010) $
     *
     * @author		$Author: Terabyte $
     * @copyright	(c) 2006 - 2010 Terabyte
     * @package		(T31) Tickets System
     * @link		http://www.invisionbyte.net/
     * @since		21/06/2009
     * @version		$Revision: 165 $
     */
    $_SEOTEMPLATES = array(
    
    	
    		'showticket' => array(
    		'app'			=> 'tickets',
    		'allowRedirect'	=> 1,
    		'out'			=> array( '#app=tickets&amp;showticket=(.+?)(&|$)#i', 'tickets/tkt/$1-#{__title__}/$2' ),
    		'in'			=> array( 
    			'regex'			=> "#/tickets/tkt/(\d+?)-#i",
    			'matches'		=> array( 
    				array( 'app'		, 'tickets' ),
    				array( 'module'		, 'tickets' ),
    				array( 'section'	, 'view' ),
    				array( 't'		, '$1' )
    			)
    		)	
    	),
    
    	
    	
    			'addnew' => array(
    		'app'			=> 'tickets',
    		'allowRedirect'	=> 1,
    		'out'			=> array( '#app=tickets&amp;module=tickets&amp;section=post&amp;do=new_ticket#i', 'tickets/addnew' ),
    		'in'			=> array( 
    			'regex'			=> "#/tickets/addnew#i",
    			'matches'		=> array( 
    				array( 'app'		, 'tickets' ),
    				array( 'module'		, 'tickets' ),
    				array( 'section'	, 'post' ),
    				array( 'do'	, 'new_ticket' )
    			)
    		)	
    	),
    	
    		
    	'staff' => array(
    		'app'			=> 'tickets',
    		'allowRedirect'	=> 1,
    		'out'			=> array( '#app=tickets&amp;module=tickets&amp;section=list&amp;do=staff#i', 'tickets/staff' ),
    		'in'			=> array( 
    			'regex'			=> "#/tickets/staff#i",
    			'matches'		=> array( 
    				array( 'app'		, 'tickets' ),
    				array( 'module'		, 'tickets' ),
    				array( 'section'	, 'list' ),
    				array( 'do'	, 'staff' )
    			)
    		)	
    	),
    	
    		'subscriptions' => array(
    		'app'			=> 'tickets',
    		'allowRedirect'	=> 1,
    		'out'			=> array( '#app=tickets&amp;module=tickets&amp;section=list&amp;do=subs#i', 'tickets/subscriptions' ),
    		'in'			=> array( 
    			'regex'			=> "#/tickets/subscriptions#i",
    			'matches'		=> array( 
    				array( 'app'		, 'tickets' ),
    				array( 'module'		, 'tickets' ),
    				array( 'section'	, 'list' ),
    				array( 'do'	, 'subs' )
    			)
    		)	
    	),
    	
    	
    	
    	'app=tickets'	=> array( 
    		'app'			=> 'tickets',
    		'allowRedirect' => 1,
    		'out'			=> array( '#app=tickets$#i', 'tickets/' ),
    		'in'			=> array( 
    			'regex'			=> "#/tickets($|\/)#i",
    			'matches'		=> array( array( 'app', 'tickets' ) )
    		) 
    	)
    );
    


  • After Saving the file upload it with any FTP Client to you host / server in this location
    /public_html/admin/applications_addon/other/tickets/extensions


  • Then Open /public_html/admin/applications_addon/other/tickets/extensions/coreVariables.php

    and Find:

    # Disguise
    if ( isset($_REQUEST['showticket']) && intval($_REQUEST['showticket']) > 0 )
    {
    	$_RESET['module']  = 'tickets';
    	$_RESET['section'] = 'view';
    	$_RESET['t']       = intval($_REQUEST['showticket']);
    }
    


    Add After:

    
    
    if ( $_REQUEST['addnew'] )
    {
    	$_RESET['app']     = 'tickets';
    	$_RESET['module']  = 'tickets';
    	$_RESET['section'] = 'post';
    	$_RESET['do']      = 'new_ticket';
    }
    
    if ( $_REQUEST['staff'] )
    {
    	$_RESET['app']     = 'tickets';
    	$_RESET['module']  = 'tickets';
    	$_RESET['section'] = 'list';
    	$_RESET['do']      = 'staff';
    }
    
    if ( $_REQUEST['subscriptions'] )
    {
    	$_RESET['app']     = 'tickets';
    	$_RESET['module']  = 'tickets';
    	$_RESET['section'] = 'list';
    	$_RESET['do']      = 'subs';
    }
    
    


  • Save and Close!!

  • Open /public_html/admin/applications_addon/other/tickets/modules_public/tickets/list.php
    Find
    break;
    


    Add after :
    case 'subs':
    				$this->viewSubs();
    				break;
    


    Find:
    /**
    	 * Lists all the available tickets for the member
    


    Add ABOVE!!:
    //----------------------
    	// START: SACRED Stuff
    	//------------------------
    	function viewSubs()
    	{
    	
    	  $this->registry->output->silentRedirect( 
    	  $this->settings[ 'base_url' ] . 'app=core&amp;module=usercp&amp;tab=tickets&amp;area=ticketSubs' );
    	}
    


  • Save and Close!!


  • Open /public_html/admin/applications_addon/other/tickets/sources/classes/library.php
    Find
    $this->registry->output->addNavigation( $this->appTitle, 'app=tickets'
    


    Add after IN SAME LINE:
    , 'tickets'
    

  • Save & Close



B - Template Edits


  • Goto ACP > Look & Feel > Skin Name > skin_tickets > listTicketsWrapper
    Find TWICE:
    {parse url="module=tickets&amp;section=post&amp;do=new_ticket"

    add in same line:
     seotitle="addnew" template="addnew" 


    Find:
    {parse url="module=tickets&amp;section=list&amp;do=subs" 

    Add in same line
    seotitle="subscriptions" template="subscriptions" 
    

    Find:
    "{parse url="showticket={$data['t_id']}"
    

    Add in same line
     seotitle="{IPSText::makeSeoTitle( $data['t_title'])}" template="showticket" 
    [code]
    
    Find:
    [code]
    "module=tickets&amp;section=list&amp;do=staff"

    Add in same line :
     seotitle="staff" template="staff" 


  • Then goto skin_tickets_other > staffList

    Find:
    href='{parse url="app=tickets"


    Add in same line:
     seotitle="tickets" template="tickets" 




C - Final Step - Rebuild Cache
  • Goto ACP > System [Tab] > Manage Applications & modules -> Rebuild FURL



Thats It!

This post has been edited by Sacred: 18 August 2010 - 05:32 PM

My Paypal was stolen, lost $4800 USD, Any Donations would be much much appreciated

Posted Image

Big Thanks for those who already donated!
Posted Image
1

#11
User is offline   blackant 

  • n00b
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 21-September 10
  • IP.Board:3.1.x
  • Current Mood: Current Mood: None Chosen
I noticed a problem, I can get notification for new ticket but not so for any replies to the tickets.
Is it just me or is this a bug?

Thanks.
0

#12
User is offline   terabyte 

  • Administrator
  • PipPipPipPipPipPipPipPip
  • Group: Management
  • Posts: 8,907
  • Joined: 30-September 07
  • Location:Italy
  • IP.Board:3.1.x
  • Current Mood: Current Mood: Insomnious
Someone else said the same thing, I'm trying to reproduce but it's hard to track down :(
Board Rules - Available Products - Products Faqs - Need a Custom Work?


* Don't PM me for support, post in the forum or submit a ticket from the client area! *
0

#13
User is offline   UGG Ultimate 

  • n00b
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 26-November 10
  • IP.Board:3.1.x
  • Current Mood: Current Mood: None Chosen
*BUG*

I have IP.Board 3.1.3 and each time I enable the Tickets System I get this error on my page:

"
Warning: Invalid argument supplied for foreach() in /mnt/r0511/d12/s15/b030a73e/www/ultimategenerationgaming.com/Forum/admin/applications_addon/other/tickets/modules_public/ajax/memberBar.php on line 80

Warning: Cannot modify header information - headers already sent by (output started at /mnt/r0511/d12/s15/b030a73e/www/ultimategenerationgaming.com/Forum/admin/applications_addon/other/tickets/modules_public/ajax/memberBar.php:80) in /mnt/r0511/d12/s15/b030a73e/www/ultimategenerationgaming.com/Forum/admin/sources/classes/output/formats/html/htmlOutput.php on line 109

Warning: Cannot modify header information - headers already sent by (output started at /mnt/r0511/d12/s15/b030a73e/www/ultimategenerationgaming.com/Forum/admin/applications_addon/other/tickets/modules_public/ajax/memberBar.php:80) in /mnt/r0511/d12/s15/b030a73e/www/ultimategenerationgaming.com/Forum/admin/sources/classes/output/formats/html/htmlOutput.php on line 120

Warning: Cannot modify header information - headers already sent by (output started at /mnt/r0511/d12/s15/b030a73e/www/ultimategenerationgaming.com/Forum/admin/applications_addon/other/tickets/modules_public/ajax/memberBar.php:80) in /mnt/r0511/d12/s15/b030a73e/www/ultimategenerationgaming.com/Forum/admin/sources/classes/output/formats/html/htmlOutput.php on line 129

Warning: Cannot modify header information - headers already sent by (output started at /mnt/r0511/d12/s15/b030a73e/www/ultimategenerationgaming.com/Forum/admin/applications_addon/other/tickets/modules_public/ajax/memberBar.php:80) in /mnt/r0511/d12/s15/b030a73e/www/ultimategenerationgaming.com/Forum/admin/sources/classes/output/formats/html/htmlOutput.php on line 130

Warning: Cannot modify header information - headers already sent by (output started at /mnt/r0511/d12/s15/b030a73e/www/ultimategenerationgaming.com/Forum/admin/applications_addon/other/tickets/modules_public/ajax/memberBar.php:80) in /mnt/r0511/d12/s15/b030a73e/www/ultimategenerationgaming.com/Forum/admin/sources/classes/output/formats/html/htmlOutput.php on line 134"
0

#14
User is offline   terabyte 

  • Administrator
  • PipPipPipPipPipPipPipPip
  • Group: Management
  • Posts: 8,907
  • Joined: 30-September 07
  • Location:Italy
  • IP.Board:3.1.x
  • Current Mood: Current Mood: Insomnious

View PostUGG Ultimate, on 27 November 2010 - 10:31 PM, said:

*BUG*

I have IP.Board 3.1.3 and each time I enable the Tickets System I get this error on my page:

"
Warning: Invalid argument supplied for foreach() in /mnt/r0511/d12/s15/b030a73e/www/ultimategenerationgaming.com/Forum/admin/applications_addon/other/tickets/modules_public/ajax/memberBar.php on line 80

Warning: Cannot modify header information - headers already sent by (output started at /mnt/r0511/d12/s15/b030a73e/www/ultimategenerationgaming.com/Forum/admin/applications_addon/other/tickets/modules_public/ajax/memberBar.php:80) in /mnt/r0511/d12/s15/b030a73e/www/ultimategenerationgaming.com/Forum/admin/sources/classes/output/formats/html/htmlOutput.php on line 109

Warning: Cannot modify header information - headers already sent by (output started at /mnt/r0511/d12/s15/b030a73e/www/ultimategenerationgaming.com/Forum/admin/applications_addon/other/tickets/modules_public/ajax/memberBar.php:80) in /mnt/r0511/d12/s15/b030a73e/www/ultimategenerationgaming.com/Forum/admin/sources/classes/output/formats/html/htmlOutput.php on line 120

Warning: Cannot modify header information - headers already sent by (output started at /mnt/r0511/d12/s15/b030a73e/www/ultimategenerationgaming.com/Forum/admin/applications_addon/other/tickets/modules_public/ajax/memberBar.php:80) in /mnt/r0511/d12/s15/b030a73e/www/ultimategenerationgaming.com/Forum/admin/sources/classes/output/formats/html/htmlOutput.php on line 129

Warning: Cannot modify header information - headers already sent by (output started at /mnt/r0511/d12/s15/b030a73e/www/ultimategenerationgaming.com/Forum/admin/applications_addon/other/tickets/modules_public/ajax/memberBar.php:80) in /mnt/r0511/d12/s15/b030a73e/www/ultimategenerationgaming.com/Forum/admin/sources/classes/output/formats/html/htmlOutput.php on line 130

Warning: Cannot modify header information - headers already sent by (output started at /mnt/r0511/d12/s15/b030a73e/www/ultimategenerationgaming.com/Forum/admin/applications_addon/other/tickets/modules_public/ajax/memberBar.php:80) in /mnt/r0511/d12/s15/b030a73e/www/ultimategenerationgaming.com/Forum/admin/sources/classes/output/formats/html/htmlOutput.php on line 134"

That error appears because you don't have any department setup in your ACP, I've added a bug report in the tracker for it anyway: http://community.invisionbyte.net/tracker/issue-59-warning-invalid-argument-in-the-hook-with-0-departments/
Board Rules - Available Products - Products Faqs - Need a Custom Work?


* Don't PM me for support, post in the forum or submit a ticket from the client area! *
0

#15
User is offline   Effektiv 

  • n00b
  • Pip
  • Group: Members
  • Posts: 2
  • Joined: 03-June 10
  • IP.Board:3.1.x
  • Current Mood: Current Mood: Stressed
This is kind of question and a support request.
1) is there meant to be a notification next to the tickets tab.
2) If so it doesn't show (regardless of what dept. permissions you have etc etc.) The default ipb skin is being used and I have tried reinstalling the hook. The file edits for the hook are also in the skin set.
0

#16
User is offline   terabyte 

  • Administrator
  • PipPipPipPipPipPipPipPip
  • Group: Management
  • Posts: 8,907
  • Joined: 30-September 07
  • Location:Italy
  • IP.Board:3.1.x
  • Current Mood: Current Mood: Insomnious
No, the notification text is meant to be near the "View New Content" link and it appears only if there are unread tickets.

But I see several peoples confused by that as they expect to see the number near the TAB like the one for IP.Chat, I'll see to change that in the next release which is planned after I'm done with the group format mod.
Board Rules - Available Products - Products Faqs - Need a Custom Work?


* Don't PM me for support, post in the forum or submit a ticket from the client area! *
0

#17
User is offline   Effektiv 

  • n00b
  • Pip
  • Group: Members
  • Posts: 2
  • Joined: 03-June 10
  • IP.Board:3.1.x
  • Current Mood: Current Mood: Stressed
Ok thanks, i also forgot to mention that the link on the mod homepage for the download and support forums are wrong. They both when i last checked directed to very old versions.
0

#18
User is offline   DJ ZAh 

  • n00b
  • Pip
  • Group: Members
  • Posts: 2
  • Joined: 03-February 10
  • IP.Board:3.0.x
  • Current Mood: Current Mood: None Chosen
Any idea on why Attachments option isn't showing up? Currently I am unable to add any attachments to the tickets and that's tough.

LOVE the mod and thank you for developing it.
0

#19
User is offline   DJ ZAh 

  • n00b
  • Pip
  • Group: Members
  • Posts: 2
  • Joined: 03-February 10
  • IP.Board:3.0.x
  • Current Mood: Current Mood: None Chosen

View PostDJ ZAh, on 21 December 2010 - 10:31 PM, said:

Any idea on why Attachments option isn't showing up? Currently I am unable to add any attachments to the tickets and that's tough.

LOVE the mod and thank you for developing it.


Disregard.. I figured out the permissions problem.

I still have an issue trying to utilize the links at the bottom of a ticket which all I get when I click on them is [#4-TICKETS-0102] You are not allowed to view this ticket


Save this ticket: Print Download (HTML) Download (WORD)

This post has been edited by DJ ZAh: 22 December 2010 - 12:28 AM

0

#20
User is offline   CommanderMadi 

  • n00b
  • Pip
  • Group: Members
  • Posts: 2
  • Joined: 23-December 10
  • IP.Board:3.1.x
  • Current Mood: Current Mood: None Chosen
I do not receive Notifications :( Neither E-mail, inline, PM or even Mobile Notifications however I checked them in my settings panel to notify me when there is a new ticket or when there is a new reply to an already submitted ticket. I know that I must watch a specific ticket to get notifications for replies to it, but I want to receive a notification once a new ticket is created. Ideas please?

This post has been edited by CommanderMadi: 24 December 2010 - 04:27 AM

0

Share this topic:


  • 3 Pages +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

7 User(s) are reading this topic
0 members, 7 guests, 0 anonymous users