Go Back   vb.org Archive > vBulletin Modifications > Premium Modifications > vBulletin Open Source Products > Project Tools
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
suggestion : thread to issue !!! Details »»
suggestion : thread to issue !!!
Version: , by baghdad4ever baghdad4ever is offline
Developer Last Online: Jun 2013 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 05-05-2010 Last Update: Never Installs: 0
 
No support by the author.

hi

i suggest to add this option to the thread tool by which we can transform any thread from forum to issue in the pt

like this



thanks

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 05-05-2010, 01:14 PM
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Location: PA
Posts: 3,872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This suggestion will be placed in our tracker.
Reply With Quote
  #3  
Old 05-06-2010, 04:36 PM
cloferba cloferba is offline
 
Join Date: Apr 2009
Posts: 437
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes! very important =)
Reply With Quote
  #4  
Old 05-10-2010, 10:19 AM
PitchouneN64ngc's Avatar
PitchouneN64ngc PitchouneN64ngc is offline
Senior Member
 
Join Date: Aug 2002
Location: France
Posts: 515
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I already adapted it to vB4 for my needs, it could be easy to integrate it as default feature.
Reply With Quote
  #5  
Old 05-18-2010, 10:27 AM
cevou cevou is offline
 
Join Date: Nov 2009
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to convert a thread into an issue?
I used a forum for my bugs before and want to use project tools now.
Reply With Quote
  #6  
Old 05-18-2010, 07:56 PM
PitchouneN64ngc's Avatar
PitchouneN64ngc PitchouneN64ngc is offline
Senior Member
 
Join Date: Aug 2002
Location: France
Posts: 515
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This feature is not implemented actually, and could be added in a later release. We need to discuss about suggested features between devs
Reply With Quote
  #7  
Old 05-19-2010, 10:39 AM
baghdad4ever baghdad4ever is offline
 
Join Date: Apr 2007
Location: baghdad
Posts: 443
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by PitchouneN64ngc View Post
This feature is not implemented actually, and could be added in a later release. We need to discuss about suggested features between devs
i think it is very usefull and someone make it but for 3.8

i hope to see it implemented in 2.1.1

thanks
Reply With Quote
  #8  
Old 05-27-2010, 04:41 PM
cevou cevou is offline
 
Join Date: Nov 2009
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Until it's implemented I wrote a code snippet, that copies threads into project tools.

PHP Code:
<?php

    
//MySQL Server-Data
    
$server "localhost";
    
$db        "db";
    
$user    "user";
    
$pass    "pass";
    
    
$fromforum 19;
    
$saveastype "bug";
    
$projectid 1;
    
    
//Create connection and connect
    
$conn mysql_connect($server,$user,$pass);
    
    
//Select database
    
mysql_select_db($db,$conn);
    
    
$res mysql_query("SELECT * FROM thread WHERE forumid=".$fromforum);
    
    while (
$r mysql_fetch_array($res)) {
        
mysql_query("INSERT INTO pt_issue (projectid,issuetypeid,title,submituserid,submitusername,submitdate) 
        VALUES ("
.$projectid.",'".$saveastype."','".$r['title']."','".$r['postuserid']."','".$r['postusername']."','".$r['dateline']."')");
        
$res2 mysql_query("SELECT * FROM post WHERE threadid=".$r['threadid']." ORDER BY dateline");
        
$issueid mysql_insert_id();
        while (
$r2 mysql_fetch_array($res2)) {
            
mysql_query("INSERT INTO pt_issuenote (issueid,dateline,pagetext,userid,username)
            VALUES ('"
.$issueid."','".$r2['dateline']."','".$r2['pagetext']."','".$r2['userid']."','".$r2['username']."')");
        }
        
mysql_query("UPDATE pt_issue SET lastpost='".$r2['dateline']."', lastactivity='".$r2['dateline']."', lastpostuserid='".$r2['userid']."', lastpostusername='".$r2['username']."' WHERE issueid=".$issueid);
    }

?>
Reply With Quote
  #9  
Old 05-27-2010, 05:33 PM
PitchouneN64ngc's Avatar
PitchouneN64ngc PitchouneN64ngc is offline
Senior Member
 
Join Date: Aug 2002
Location: France
Posts: 515
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Added into 2.1.1.
Reply With Quote
  #10  
Old 05-27-2010, 06:13 PM
baghdad4ever baghdad4ever is offline
 
Join Date: Apr 2007
Location: baghdad
Posts: 443
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by PitchouneN64ngc View Post
Added into 2.1.1.
thank you very much
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 12:24 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
  • Page Generation 0.04439 seconds
  • Memory Usage 2,310KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (5)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete