![]() |
vBulletin Project Tools - Color to Indicate Status
Background:
I am a visual person and with the project(s) I will be using using Project Tools with I need to be able to quickly look at my pages to determine if I still have outstanding issues that need to be addressed. This modification makes it easier for me to keep track of the issues that I have to still address. About the Modification: I am posting this here with the hope that vBulletin takes the code and improves it and turns this into a standard feature of project tools. There are lots of ways this script could be improved but java is not my strong suite and I hope by posing this here someone else can help improve this! The Modifications that are needed: Two files must be edited. Install a product file with one small phrase and a small pluggin. Edit one template OK, let the fun begin! STEP 1: Install the Attached Product File! STEP 2: A Bunch of File Edits! OPEN FILE /AdminCP/project.php FIND PHP Code:
PHP Code:
PHP Code:
REPLACE WITH: PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
OPEN FILE includes/class_dm_pt_issuestatus.php FIND: PHP Code:
PHP Code:
NOTE - You can change as many or as few cells in row of each issue. In this example I did the first three as shown in the attached image! FIND: PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
Well, if I didn't scare you off and you are still reading... Just remember to use the color codes as the six digit hexadecimal values with the number sign. Here are the ones I am using: #FFFFFF - White #FFFFCC - Pastel Yellow #CCFFFF - Pastel Blue #FFCCFF - Pastel Pink Note that I use color for issues that need my attention. I use white for the issues that I can ignore... But obviously you can use any colors you want! Now, if you do not add a color value, your site will use the default style colors as well! |
I would really LOVE to get some help intergrating Java directly into the AdminCP like is built into the vBulletin Style Manager. I fought with that code for way too many hours before I decided to release this as is.
I also wanted to rework the main Issue Type Manager Page to show the color on there with a handy little Java script but again, I couldn't get it done! I will not have internet access after tomorrow for about a week because of travel. I will help anybody that needs help until I leave tomorrow and I welcome someone else to help improve this and perhaps we can get this included in the standard code in Project Tools in a future release! No copyrights claimed or otherwise... I really want to see this as a standard feature... |
Good job Quarterbore, this should become a Project Tool Standard.
Colorizing the status makes the tool more easy to use. |
yes!
it should be standard, specialy this is just possible with an fileedit |
I've made all the file edits, template edit and updated my Issue Types (added Hex color values) under the Issue Type Manager, but I don't see anything. I checked the vBulletin Project Tools - Color to Indicate Status install to be sure the table column installed correctly (it did), the install and edits all seem to be ok, but nothing changes.
Note: I also ran the Update Counters within Project Tools just in-case. |
Quote:
Did you remember to edit the template in the style you are looking at? If you have multiple styles, you need to either apply this to the parent style of the rest or hack every style you want this to be shown in. If the color shows in the AdminCP you have the hard parts done corectly! Your issue is either the plugin that pulls the color from the database based on statusid or the template edits that shows the color itself! |
Quote:
Quote:
|
Quote:
Can you post a link to your project tools with some project where it should show colors along with a hint about which status that is shown should have a color code and what the color should be? You may also need to allow guests to see your PT for me to see as well. I want to look at the source code for your project page to see your template edits. You can see it on my sites: http://www.vbclassified.com/project....typeid=feature and http://www.timeshareforums.com/forum...ssuetypeid=bug |
hi,
I would have been much easier if you could use the cpcolorpicker popup to select a color value hex instead of having to surf seperated websites all the time when you need one.I know it has something todo with these vBulletin stuff
the last function should return an input row with a color widget next to it you can double click and that should invoke the colorpickerpopup but i can't get it to work anybody knows how to get it ? |
hi,
We are getting there i just keep on getting a javascript error when i click the button that should popup a DHTML popup colorpicker but i will see if i can find the problem ... Edit:in firefox the colorpicker is showing but when you click a color nothing happens ... allright one step at a time lol |
hi,
IT IS WORKING !!!!!!!!!! look in the screenshot (attched to this post) click that small area next to the input field will bring up vBulletin cpcolorpicker.I managed to "integrate" it into Project Tools.I don't know if i will share it through :p |
actually you can kill one more file edit ....
hook:issuestatusdata_start code PHP Code:
|
hi,
To get the vBulletin default colorpicker working in the Porject Tools admin page (project.php) you need edit step 1 open /admincp/project.php and find PHP Code:
PHP Code:
find (and remove this line) PHP Code:
find this line PHP Code:
PHP Code:
find this lines PHP Code:
PHP Code:
|
Thanks for working on this... I wanted to work on it as well before I left for a trip but I ran out of time. I will help (if you need it) when I get back next week.
|
I am just getting home from a trip so it will take me a while to get back into a routein that I can fight with this... I have added Delphiprogrammi as a Co-Author!
EDIT: OK, I am not sure this is all of the edits but it should be... this will add a small table to the main issue status listing so that the colors for each status will be displayed. All of these edits are in Admin/project.php FIND: PHP Code:
REPLACE WITH: PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
Great mod but it doesn't seem to work for search results. Can it be amended to do so?
|
Quote:
1)open hooks_vbprojecttools.xml (/includes/xml folder from the pt distrubution) and find Code:
<hook>projectsearch_results_groupbit</hook> Code:
<hook>projectsearch_results_bit</hook> 2)create a new plugin with this information
HTML Code:
<td class="alt2" align="center" style="background-color:$issue[background]"> |
Quote:
Also a note to anyone else that the hook is already in the search file but there was a known bug in the xml file where the hook location was missed! |
hi,
or you could "kill" the template edits by doing it like this hook project_issuebit find PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
there is an error in the product uninstall code the MySQL query should be
PHP Code:
|
Does this mod still work with the current version of Project Tools?
|
Sorry I have business to do and need this mod.... so I have to BUMP this question.
Do these edits still work with the current version of Project Tools. I need to know please. If they do then why now update your description so we dont have to waste time asking such questions. ;) THANKS! |
The developer of this seems to be MIA so...
Ok I have now updated this mod to work with the latest version of Project Tools v2.01 and vb3.8.4 There are a ton of extra spaces in the quoted codes which made it a pain in the a$$ to implement all these edits into the latest PT version. All of these instructions are outdated and usually missing a line here or there when it comes to the instructions labeled: "Find" When I get a chance I will post clear updated instructions. This mod and all it's extras needs to be included in default PT! |
no this instructions won't work i have the admincp part but i'm having trouble getting the rows colored i'm a coder i hate designing lol
|
Quote:
I will post the instructions soon... |
Quote:
|
All times are GMT. The time now is 04:11 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:
|