![]() |
Project Tools - Create Project Managers who get PM on New or Replies to issues
I am a new customer to vBulletin Project tools but I was very disapointed to discover that there was no notification when a new issue was added or replied to in vBulletin Projects.
What does this do? This modification will create a new field in your projects database where "project managers" as determined by their username is stored. These "project managers" will get PMs when a new issue is added to the system and/or they will get a PM when a reply is posted to a topic that they are the project manager for. How do I install this? Step 1: Download the attached product file and install it like you install any vBulletin product file. Step 2: Then you need to perform the following code edits: OPEN FILE: admincp/projects.php FIND: PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
OPEN FILE: includes/class_dm_pt_project.php FIND: PHP Code:
PHP Code:
Version History: Version 1.0 - First Release Version 1.1 - Now a project manager will not get a PM about their OWN new posts or replies to posts. |
Reserved for version history or ???
|
I'm receiving the following error when I try to access the Project Manager under the Admincp > Project Toosl > Project Manager
Code:
Parse error: syntax error, unexpected T_STRING in /home/neosmutc/public_html/vb/admincp/project.php on line 2282 |
Quote:
The code hack is the first set of FIND and REPLACE posted above in the /admincp/project.php file. The code on your site should look like this: PHP Code:
|
What file versions are you editing? I was able to re-apply the the file edits and import the project xml, but I don't see anything when editing or adding a project.
My project.php file version is: RCS: $Revision: 17792 $ My class_dm_pt_project.php file version is: RCS: $Revision: 17792 $ |
Hmmm, looks like I forgot to add a file edit...
I have updated the directions in the original post. Note that I added the code where it says "ADD AFTER" and this will give you a field where you can actually add the Project Managers. Sorry for the confusion! |
This is a very userful add-on. Thanks!
|
OK, I updated the script so that now it will check if the new topic or the reply to the topic was posted by one of project managers. If the post was made by one of the project managers, that project manager will now NOT get a notification that they posted a new topic or reply :erm:
|
I narrowed this issue down to this mod...
When assigning a username to a Task or a Feature, I get the following Fatal Error: Code:
Fatal error: If I disable the mod, all's well. |
I am traveling this week and I can't look at this here. I will look at it when I get back home (my work laptop is limited)...
|
All times are GMT. The time now is 09:36 PM. |
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:
|