Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Project Tools Importer for forum threads Details »
Project Tools Importer for forum threads
Mod Version: 1.0.0 b 3, by GameCrash (Member) GameCrash is offline
Developer Last Online: Oct 2012 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.7 Rating: (5 votes - 5.00 average) Installs: 30
Released: 11 Jul 2007 Last Update: 16 Sep 2007 Downloads: 150
Not Supported DB Changes Uses Plugins Template Edits Additional Files Is in Beta Stage  

Beta warning

This is currently in beta stadium. I used it successfully on my forum, but there might be problems with other configurations. See below for current limitations and features not yet implemented.

Note for german speaking users: There will be a german version released and supported on vB GO once this mod reaches Release Candidate stage.


What's this mod for?

I needed a simple to use function to move my forum threads into the vBulletin Project Tools. This Add-on adds a new moderation link to the showthread page that allows you to import the thread into any project and issue type you are allowed to post in.

The source thread can either be left untouched or automatically be converted into a redirector that leads to the created issue. No data in the original thread will be lost, an easy restore function will be implemented in the future. Redirectors can show a prefix (like "Moved:" for thread redirectors) that can display the project title and the issue type.


What's new in Beta 3?

Code rewrite

This is a major rewrite of the whole codebase. The code has been optimized and redundant code has been moved to functions and classes. Please note that this means almost everything is new and this likely means there are new bugs in places that worked before. Use at your own risk!

Attachment import

The most requested functions has been added: You can now import attachments if vBulletin or Project Tools (or both, of course) store attachments in the file system. There's a new setting in the AdminCP where you can specify if attachments that do not meet the current limitations should be imported.

I was only able to test this on Windows based systems, but it should work on *NIX as well.

Other changes

A function has been implemented to allow the creation of a notice stating the issue has been imported (by which user at which date). It's enabled by default, but you can disable it in the AdminCP. See also the new screenshot attached.

There have been other minor changes, see the changelog below.


Functions implemented
  • Import of threads (Issue)
  • Import of posts (Notices)
  • Import of attachments (Filesystem is now supported, too!)
  • Import of subscriptions
  • Create redirector (optional)
  • Create a notice stating this note was imported (optional)
Current limitations

These limitations result on the fact that I created this Add-on mainly for myself and so I left out some features not important to me. They are planned to be fixed in Version 1.0.0.
  • Currently you need the moderator permissions canmanagethreads and canremoveposts to import threads. Should be replaced by a new moderator permission (can convert all threads in a forum) and a new usergroup permission (can convert own threads).
  • Attachments will only be imported if both vBulletin and Project Tools are configured to save attachments in the database. Attachment limits will be ignored.
Functions planned

This functions will probably be added to a version after 1.0.0. Please post suggestions and comments so I can see where to go
  • Allow to hide redirectors based on a global setting or on usergroup permissions
  • Allow to completely delete the source during thread after import
  • Allow to manually delete redirecting threads (imported x days before) using the AdminCP / ModCP
  • Allow to automatically delete redirecting threads using vBCron
  • Allow to associate status changes with posts during import (ex: change status to "Solved" at the same time a it has been posted)
  • Mass import of multiple threads
  • Export issues (back) into threads
Requirements
  • vBulletin 3.6.7
  • vBulletin Project Tools 1.0.0
Installation

These are some fast installation steps. There is a file ptimporter_install.txt in the zip file with more detailed instructions.
  • Upload everything in the "upload" directory into your vbulletin home directory
  • import the product file ./includes/xml/product-db_ptimporter.xml
    Note: select "Allow Overwrite" if upgrading
  • Apply the two small template changes in ptimporter_templates.txt
    Note: Not needed if upgrading from Beta 2
Done.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	moderation_entry.png
Views:	497
Size:	31.8 KB
ID:	66823   Click image for larger version

Name:	step1.png
Views:	248
Size:	21.0 KB
ID:	66824   Click image for larger version

Name:	step2.png
Views:	237
Size:	25.8 KB
ID:	66825   Click image for larger version

Name:	step3.jpg
Views:	301
Size:	26.9 KB
ID:	66826  

Click image for larger version

Name:	issue.jpg
Views:	268
Size:	38.0 KB
ID:	66827   Click image for larger version

Name:	redirector_simple.jpg
Views:	147
Size:	8.8 KB
ID:	66828   Click image for larger version

Name:	redirector_dynamic.png
Views:	179
Size:	8.1 KB
ID:	66829   Click image for larger version

Name:	systemnote_imported.png
Views:	93
Size:	11.4 KB
ID:	69849  

Click image for larger version

Name:	settings.jpg
Views:	137
Size:	73.3 KB
ID:	69850  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
vBulletin Project Tools Project Tools - Create Project Managers who get PM on New or Replies to issues Quarterbore vBulletin 3.6 Add-ons 19 15 Jan 2010 05:33
vBulletin Project Tools CES Last Post on Forum Home (Project Tools Edition) thincom2000 vBulletin 3.6 Add-ons 5 25 Oct 2007 11:43

Comments
  #2  
Old 11 Jul 2007, 09:11
GameCrash GameCrash is offline
 
Join Date: Oct 2001
Real name: Andreas
Changelog

Version 1.0.0 Beta 3

New:
  • Rewritten attachment import to allow import of attachments in the filesystem
  • Added option to create a notice stating this note was imported
Improved:
  • Rewritten almost everything to move redundant code to functions and classes
  • Added template group (Thanks Yves)
  • Some changes in the background to allow new functions in the future
Fixed:
  • Fixed bug not allowing to choose issue type
  • Reduced the amount of queries executed using caching
Version 1.0.0 Beta 2
  • First public release
__________________
GameCrash

Project Tools Importer for forum threads
Current Version: 1.0.0 Beta 3

Last edited by GameCrash; 16 Sep 2007 at 02:32. Reason: Updated changelog to Version 1.0.0 Beta 3
Reply With Quote
  #3  
Old 11 Jul 2007, 09:54
radarhunter radarhunter is offline
 
Join Date: Jul 2006
shucks missed it
Reply With Quote
  #4  
Old 11 Jul 2007, 11:31
captainslater's Avatar
captainslater captainslater is offline
 
Join Date: Dec 2005
Real name: Dominic
I'll check this later today but I think you saved my life with this
__________________
If you need a translation to german - I'm your man!
Reply With Quote
  #5  
Old 11 Jul 2007, 13:07
PitchouneN64ngc's Avatar
PitchouneN64ngc PitchouneN64ngc is offline
 
Join Date: Aug 2002
Real name: Yves
This can help a lot of customers who want to convert some threads into issues for Project Tools

Thanks for this
__________________
Administrator of http://forum.vbulletin-fr.org/

vBulletin QA Engineer / Lead Project Tools Developer
Reply With Quote
  #6  
Old 11 Jul 2007, 17:22
beduino's Avatar
beduino beduino is offline
 
Join Date: Dec 2005
Real name: Joao
Looks fantastic - will be a wonderful way to integrate vB and PT.
tks a lot
Beduino
Reply With Quote
  #7  
Old 11 Jul 2007, 17:34
morrow's Avatar
morrow morrow is offline
 
Join Date: Mar 2002
What is 'project tools'?
__________________
-=morrow=-
Reply With Quote
  #8  
Old 11 Jul 2007, 18:00
PitchouneN64ngc's Avatar
PitchouneN64ngc PitchouneN64ngc is offline
 
Join Date: Aug 2002
Real name: Yves
Originally Posted by morrow View Post
What is 'project tools'?
http://www.vbulletin.com/features_project.php

For the beta test, I'm surprised this mod works very well

Just missing to add templates into cache ($globaltemplates) and add 14 queries for that :/
__________________
Administrator of http://forum.vbulletin-fr.org/

vBulletin QA Engineer / Lead Project Tools Developer

Last edited by PitchouneN64ngc; 11 Jul 2007 at 19:13.
Reply With Quote
  #9  
Old 11 Jul 2007, 22:26
captainslater's Avatar
captainslater captainslater is offline
 
Join Date: Dec 2005
Real name: Dominic
Feature Request: By moving thread possibility to choose to create new issue (currently) or to create new task, or new feature.
__________________
If you need a translation to german - I'm your man!
Reply With Quote
  #10  
Old 11 Jul 2007, 23:01
GameCrash GameCrash is offline
 
Join Date: Oct 2001
Real name: Andreas
Originally Posted by captainslater View Post
Feature Request: By moving thread possibility to choose to create new issue (currently) or to create new task, or new feature.
Well, you should rename this to Bug Report... this would be possible if I hadn't forgotten a silly break; in the script I used for testing.

Just open ptimporter.php and remove the break; from Line 208.

Now you should be able to select the issue type if you have permission to create an issue in more than one...

Will also be fixed in the next beta, of course.
__________________
GameCrash

Project Tools Importer for forum threads
Current Version: 1.0.0 Beta 3
Reply With Quote
  #11  
Old 12 Jul 2007, 12:53
Hornstar's Avatar
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Real name: Matt
This will be very popular, something which vb should have made default. nice work.
Reply With Quote
  #12  
Old 16 Jul 2007, 05:23
GameCrash GameCrash is offline
 
Join Date: Oct 2001
Real name: Andreas
Originally Posted by PitchouneN64ngc View Post
Just missing to add templates into cache ($globaltemplates) and add 14 queries for that :/
I'm sorry, I missed this edit before...

As far as I see there is only one templates missing (optgroup) which adds one query for the add issue page. The others are in $globaltemplates and $actiontemplates. Am I missing something here?

I know there is potential for optimizations for using the datastore / $specialtemplates. But that part will be somewhat rewritten anyway.
__________________
GameCrash

Project Tools Importer for forum threads
Current Version: 1.0.0 Beta 3
Reply With Quote
  #13  
Old 16 Jul 2007, 13:40
PitchouneN64ngc's Avatar
PitchouneN64ngc PitchouneN64ngc is offline
 
Join Date: Aug 2002
Real name: Yves
The only thing I can suggest is to make a group for templates in hook template_groups
__________________
Administrator of http://forum.vbulletin-fr.org/

vBulletin QA Engineer / Lead Project Tools Developer
Reply With Quote
  #14  
Old 17 Jul 2007, 19:43
thincom2000 thincom2000 is offline
 
Join Date: Jun 2006
Real name: Ted
Thanks for making this. It has come in quite handy for moving all the support threads.

Never mind. I missed something somehow.

Last edited by thincom2000; 17 Jul 2007 at 23:13.
Reply With Quote
  #15  
Old 30 Jul 2007, 17:33
captainslater's Avatar
captainslater captainslater is offline
 
Join Date: Dec 2005
Real name: Dominic
Hy,

any news on this?
__________________
If you need a translation to german - I'm your man!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 10:45.

Layout Options | Width: Wide Color: