Modified Version of phpBB Tracker

Created:

24/08/2008

Compatibility:

License:

GPL

Commercial Type:

Non-Commercial

Version:

3

Last Updated:

22/11/2008

Extension:

( 0 Votes )

Documentation:

( 0 Votes )

Support:

( 0 Votes )

Demo:

( 0 Votes )

Hits:

12909

Required Extensions:

phpBB

General
This is a modified version of phpBB Tracker for phpBB with some extra features.
Instructions

Install phpBB.

Copy contents of phpBB Tracker root folder to the phpBB root.

visit http://your domain/tracker_install/install.php and follow the steps until complete.

Delete the tracker_install folder.

Visit the ACP/Users and Groups/Group's Permissions, look up the user type you are applying (I start with Administrators) and click Submit.
Then click on Advanced permissions, and then the phpBB Tracker Tab and allow what you want to.  Then click Apply Permissions.

Then go to the .MODS tab and correct the attachment path (Should be files/tracker) and set any of the other options and then click Submit.

Then click on the Manage Project link on the left to create a project and set the options.

Now you should see a project you can access (If you are logged in as the group you applied earlier) by visiting http://your domain/tracker.php

Select the style you are going to use (ProSilver/SubSilver2) and apply it to the board.

 

 

Now you need to finish off by modifying the files required.

 

If you do not want to use the new button then there are two different ways to solve this based on the chosen style:

ProSilver:

You can change this in the CSS as shown in point number 3 below.

 

SubSilver2:

File: tracker.php

Line: Around 328

Find:

  'TICKET_IMG'     => $user->img('button_ticket_new', $user->lang['TRACKER_POST_TICKET']),

 

 

 

Change to (Or Replace with):

  'TICKET_IMG'     => $user->img('button_topic_new', $user->lang['TRACKER_POST_TICKET']),

 

 

 

1) Copy the NewIssue button to your "styles/your chosen style/imageset/your language" folder.

2) Modify the imageset.cfg in that folder by adding one of the below based on your style choice:

ProSilver:
# Tracker images
img_button_ticket_new = button_ticket_new.gif*25*96

SubSilver2:
# Tracker images
img_button_ticket_new = button_ticket_new.gif

3) Add the CSS, again choose one below based on your style choice:

ProSilver (Can put in common.css):
/* Tracker CSS */
 #col1
 {
  float: left;
  width: 70%;
 }
 

 .tickettext {
 background-color: #109ee5;
 padding: 0 10px;
 margin-bottom: 4px;
 background-repeat: no-repeat;
 background-position: 100% 0;
 }

.tickettext span.corners-top, .tickettext span.corners-bottom {
 margin: 0 -10px;
}


 #col2
 {
  margin-left: 1%;
  float: left;
  width: 29%;
 }
 
 .cleaner {
  clear:both;
  height:1px;
  font-size:1px;
  border:none;
  margin:0; padding:0;
  background:transparent;
 }

 

 .ticketdetail {
 background-color: #cadceb;
 padding: 0 10px;
 margin-bottom: 4px;
 background-repeat: no-repeat;
 background-position: 100% 0;
 }

.ticketdetail span.corners-top, .ticketdetail span.corners-bottom {
 margin: 0 -10px;
}

 .ticketmanage {
 background-color: #cadceb;
 padding: 0 10px;
 margin-bottom: 4px;
 background-repeat: no-repeat;
 background-position: 100% 0;
 }

.ticketmanage span.corners-top, .ticketmanage span.corners-bottom {
 margin: 0 -10px;
}

/* viewtopic fix */
* html .ticket {
 height: 25%;
 overflow: hidden;
}


 ul.menu {
  border-top: 1px solid #cccccc;
  list-style: none;
 }
 ul.menu li {
  padding: 5px 0 4px 0;
  border-bottom: 1px solid #cccccc;
  margin: 0;
 }
 ul.menu li.last {
  border-bottom: none;
 }


/* Only required if you want to change the default "NewTopic" button to the "NewIssue" one.  If you do not then as my template is modded to do so you should replace
the "url("{IMG_BUTTON_TICKET_NEW_SRC}");" with "url("{IMG_BUTTON_TOPIC_NEW_SRC}");" without the quotes */


         .ticket-icon span {
      
         background-image: url("{IMG_BUTTON_TICKET_NEW_SRC}");

}

 .buttons div.ticket-icon {
         width: 96px;
  height: 25px;
}

 


SubSilver2 (stylesheet.css):
/* Tracker CSS */
 #col1
 {
  float: left;
  width: 70%;
 }
 

 .tickettext {
 background-color: #109ee5;
}


 #col2
 {
  margin-left: 1%;
  float: left;
  width: 29%;
 }
 
 .cleaner {
  clear:both;
  height:1px;
  font-size:1px;
  border:none;
  margin:0; padding:0;
  background:transparent;
 }

 

/* The CSS below will change the colour of the lines between the cells, use .row1 & .row2 for the actual background colours of the cells.  .row1 is the
left cells & .row2 is the right cells */ 

 

 .ticketdetail {
 background-color: #A9B8C2;
}

 .ticketmanage {
 background-color: #A9B8C2;
}

 

/* viewtopic fix */
* html .ticket {
 height: 25%;
 overflow: hidden;
}


 

 

4) Add the new button to the styles file as below:

File: ROOT/includes/acp/acp_styles.php

Find:
   'buttons' => array(
    'icon_back_top', 'icon_contact_aim', 'icon_contact_email', 'icon_contact_icq', 'icon_contact_jabber', 'icon_contact_msnm', 'icon_contact_pm', 'icon_contact_yahoo', 'icon_contact_www', 'icon_post_delete', 'icon_post_edit', 'icon_post_info', 'icon_post_quote', 'icon_post_report', 'icon_user_online', 'icon_user_offline', 'icon_user_profile', 'icon_user_search', 'icon_user_warn', 'button_pm_forward', 'button_pm_new', 'button_pm_reply', 'button_topic_locked', 'button_topic_new', 'button_topic_reply',
   ),

 


Change to (Or Replace With):
   'buttons' => array(
    'icon_back_top', 'icon_contact_aim', 'icon_contact_email', 'icon_contact_icq', 'icon_contact_jabber', 'icon_contact_msnm', 'icon_contact_pm', 'icon_contact_yahoo', 'icon_contact_www', 'icon_post_delete', 'icon_post_edit', 'icon_post_info', 'icon_post_quote', 'icon_post_report', 'icon_user_online', 'icon_user_offline', 'icon_user_profile', 'icon_user_search', 'icon_user_warn', 'button_pm_forward', 'button_pm_new', 'button_pm_reply', 'button_topic_locked', 'button_topic_new', 'button_topic_reply', 'button_ticket_new',
   ),


5) Add the new button to the database as below:

Add to the database (REPLACE phpbbmod WITH YOUR TABLE NAME, AND CHANGE phpbb_ IF YOU HAVE CHANGED THE DATABASE PREFIX FROM THE DEFAULT.  ALSO CHANGE THE IMAGESET ID TO SUIT THE TEMPLATE YOU ARE USING, WHICH YOU CAN SEE IF YOU HOVER OVER THE DETAILS LINK IN THE ADMIN/STYLES AREA IN THE STATUS BAR LIKE &ID=2 ON THE END. ASWELL AS YOUR LANGUAGE SHOWN HERE AS EN FOR ENGLISH):

INSERT INTO `phpbbmod`.`phpbb_styles_imageset_data` (`image_id`, `image_name`, `image_filename`, `image_lang`, `image_height`, `image_width`, `imageset_id`) VALUES (NULL, 'button_ticket_new', 'button_ticket_new.gif', 'en', '0', '0', '2');

 

6) Add a link to the Tracker by following the instructions in the /templates folder based on your style. 

 

7) Refresh all the parts of your style in admin/styles and clear the cache on the admin home page.

Screenshots



Changelog

Changes - 21/09/2008
Added another option in the ACP to set the default view of the ticket index.  The default is disabled which is "Open Tickets Only", but now you can change this to "All Tickets" in the ACP (This does not affect users that have "Manage" permissions for the tracker, they are always "Open Tickets Only").  May change this to User Level preferences in future.


Changes - 14/09/2008
This has not been added to the standard modified package yet, but these buttons can be swapped for the current ones if desired before i add them as standard in the next release.  These buttons were created for the phpBB Tracker by bonelifer, hopefully other buttons to follow aswell as ones for the German language added by Felix in the forum here.

Changes - 13/09/2008
Fixed the Edit Reason not showing on the comments part as i posted here.
Changed the SubSilver2 template so the actual ticket part, the ticket detail & the manage part can all be styled differently if required.
Changed both the ProSilver & SubSilver2 templates to show the actual ticket with different CSS in the Previous Posts part when replying to a post.  This to make the ticket stand out from the comments as requested by statm1 in this request.
Changed the ProSilver template so the Previous Posts are shown with the same alternative colours as when the comments are shown in the normal view.


Other Changes
I have added 2 extra drop-downs (Currently called Custom1 & Custom2, but can be changed to suit in the language files) that can be used if required for things like "Operating System" but if they are not populated then they do not appear, you also have the choice in the admin area to show these extra fields in the ticket list view aswell as the ticket detail view.

I have changed the "NewPost" button to the phpBB "NewIssue" button, currently only a good button for ProSilver (Although it says Issue instead of Ticket, but if someone tellls me how to change them using the SDK then i will).

I have changed some of the tags as the component & version parts were visible in the ticket detail even if they were not used.

I have added an option in the admin area to disable the "Environment" section completely from the add/edit ticket and ticket detail.

Changed the ProSilver template so the actual ticket part, the ticket detail & the manage part can all be styled differently if required.

Downloads
DownloadsDate AddedDate UpdatedFile SizeHits
File Icon phpBB Tracker Mod V3 01/05/2010 01/05/2010129.22 kB 1148
File Icon New Ticket Button for SubSilver2 01/05/2010 01/05/20101.8 kB 258
File Icon New Ticket Button for ProSilver 01/05/2010 01/05/20102.69 kB 264
File Icon New Ticket Button 01/05/2010 01/05/20102.7 kB 258
Comments