Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vBug Tracker Lite 3.5.1 Details »»
vBug Tracker Lite 3.5.1
Version: 3.5.1, by Dark_Wizard Dark_Wizard is offline
Developer Last Online: Jun 2014 Show Printable Version Email this Page

Version: 3.5.1 Rating:
Released: 09-24-2005 Last Update: 07-10-2006 Installs: 107
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.

[high]The XSS security flaw reported in this modification has been fixed by Staff and a new zip file (3.5.1a) uploaded.[/high]

Here is a port of my vBug Tracker hack from vb 3.0.x. This mimics the Bug Tracker found at vBulletin.

Details:
  • 7 - table additions
    96 - Phrases Added
    3 - file additions
    2 - xml files
    8 - template additions
    3 - Plugins

Please click install for support! For those interested, the Pro version is in development and should be out soon. It will be released at vb-scripts.com.

Sept 25, 2005
Bug fixes:
  • * Added Missing phrases for editing status, type & severity.
    * Fixed bug in changing displayorder


Sept 26, 2005
Bug Fixes/Changes
  • * Fixed bugcache issue and tested
    * Added admin usergroup permissions

Sept 27, 2005 (Part 1)
Bug Fixes:
  • * Fixed subscribe issues and missing phrases.

Sept 27, 2005 (Part 2)
  • * Complete rewrite of the subscription piece including the unsubscribe.
    * Subscriptions fully tested and working from all aspects!


Nov 7, 2005
  • * Fixed missing table prefix when editing status.
    * Fixed issue when editing severities.
    * Now supports secondary usergroups.

Nov 24, 2005
  • * Fixed extra span tag in list template.
    * Fixed searching on version.
    * Added "unassigned" to dropdown.

Jul 11, 2006
  • * XSS Flaw fixed by Staff.

To upgrade:

Import the product xml and select "Allow Overwrite".
Upload all the files overwriting the old ones.

Lastly... Please follow the instructions exactly as they are outlined in the documents/install.txt and in the order as listed to avoid any problems.

Updated for vBulletin 3.7, Get it here

Show Your Support

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

Comments
  #202  
Old 02-01-2006, 06:53 PM
timmed timmed is offline
 
Join Date: Mar 2005
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dark_Wizard
It completely slipped my mind. This will be resolved in the next update within the next couple of days.
has there been any word on this update? I really need the ability to assign people with multiple usergroups to certain bugs.
Reply With Quote
  #203  
Old 02-03-2006, 12:03 PM
Todi Todi is offline
 
Join Date: Apr 2005
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

PalmNut is correct, the bug won't be displayed in the listing, but it can still be viewed if you know the id (which is easy to guess).

Edit:

I wrote a fix:

vbugs.php

on line 401, between
PHP Code:
$vbug_statusid $bug['vbug_statusid']; 
and
PHP Code:
$assigned iif($bug['adminid'], $bug['adminname'], $vbphrase['vbug_unassigned']); 
add
PHP Code:
        if ($bug['private'] && !($permissions['vbugpermissions'] & $vbulletin->bf_ugp['vbugpermissions']['canadminbugs']))
        { 
            
$vbulletin->url "vbugs.php?do=list";
            eval(
print_standard_redirect('redirect_postthanks'));
        } 
Not sure if it's the best solution, but it works for me anyway, but it probably depends on who can admin your bugs?

Btw, found a bug (irony) in vbugs.php:

line 368, change
PHP Code:
    if (empty($exists))
    { 
        
$url "vbugs.php?do=list";
        eval(
print_standard_redirect('redirect_postthanks'));
    } 
to
PHP Code:
    if (empty($exists))
    { 
        
$vbulletin->url "vbugs.php?do=list"// $vbulletin->url
        
eval(print_standard_redirect('redirect_postthanks'));
    } 
Otherwise it won't redirect to the correct place if the bug id doesn't exist, it will redirect to forumhome instead it seems. Minor, but irritating.
Reply With Quote
  #204  
Old 02-04-2006, 12:09 AM
PalmNut PalmNut is offline
 
Join Date: Dec 2003
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Todi
I wrote a fix:
Good work. I'll use your fix for the private bug gap, which I didn't notice. To keep moderated bugs away from non-admins, the following (very similar) piece of code in vbugs.php works.

After:
PHP Code:
 if ($bug['private'] && !($permissions['vbugpermissions'] & $vbulletin->bf_ugp['vbugpermissions']['canadminbugs']))
        { 
            
$vbulletin->url "vbugs.php?do=list";
            eval(
print_standard_redirect('redirect_postthanks'));
        } 
Add:
PHP Code:
     if ($bug['moderate'] && !($permissions['vbugpermissions'] & $vbulletin->bf_ugp['vbugpermissions']['canadminbugs']))
    {
        
$vbulletin->url "vbugs.php?do=list";
        eval(
print_standard_redirect('redirect_postthanks'));
    } 
Reply With Quote
  #205  
Old 02-04-2006, 07:18 PM
PalmNut PalmNut is offline
 
Join Date: Dec 2003
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, now I see that Todi's private check would work when the privacy flag is set from the admin panel, but doesn't do anything for bugs created from vbugs.php, which doesn't even insert data for that column.

So..... starting at line 650, assuming you've made my changes above for moderation, find:
PHP Code:
  $vbulletin->input->clean_array_gpc('p', array(
      
'title' => TYPE_STR,
      
'vbug_typeid' => TYPE_UINT,
      
'vbug_versionid' => TYPE_UINT,
      
'vbug_severityid' => TYPE_UINT,
      
'description' => TYPE_STR,
      
'subscribe' => TYPE_UINT
      
)); 
and replace with:
PHP Code:
  $vbulletin->input->clean_array_gpc('p', array(
      
'title' => TYPE_STR,
      
'vbug_typeid' => TYPE_UINT,
      
'vbug_versionid' => TYPE_UINT,
      
'vbug_severityid' => TYPE_UINT,
      
'description' => TYPE_STR,
      
'subscribe' => TYPE_UINT,
      
'private' => TYPE_UINT
      
)); 
Then below find:
PHP Code:
    $db->query_write("
    INSERT INTO " 
TABLE_PREFIX "vbug (userid, title, description, vbug_statusid, postdate, vbug_severityid, vbug_typeid, vbug_versionid, moderate, lastedit, lastreplyuid)
    VALUES (" 
$vbulletin->userinfo['userid'] . ", '" $db->escape_string($vbulletin->GPC['title']) . "', '" $db->escape_string($vbulletin->GPC['description']) . "', " $vbug_statusid ", '" TIMENOW "', " $vbulletin->GPC['vbug_severityid'] . ", " $vbulletin->GPC['vbug_typeid'] . ", " $vbulletin->GPC['vbug_versionid'] . ", " $moderate ", " TIMENOW ", " $vbulletin->userinfo['userid'] . ")
    "
); 
and replace with:
PHP Code:
    $db->query_write("
    INSERT INTO " 
TABLE_PREFIX "vbug (userid, title, description, vbug_statusid, postdate, vbug_severityid, vbug_typeid, vbug_versionid, moderate, lastedit, lastreplyuid, private)
    VALUES (" 
$vbulletin->userinfo['userid'] . ", '" $db->escape_string($vbulletin->GPC['title']) . "', '" $db->escape_string($vbulletin->GPC['description']) . "', " $vbug_statusid ", '" TIMENOW "', " $vbulletin->GPC['vbug_severityid'] . ", " $vbulletin->GPC['vbug_typeid'] . ", " $vbulletin->GPC['vbug_versionid'] . ", " $moderate ", " TIMENOW ", " $vbulletin->userinfo['userid'] . ", " $vbulletin->GPC['private'] . ")
    "
); 
Anything else?
Reply With Quote
  #206  
Old 02-07-2006, 10:15 AM
Todi Todi is offline
 
Join Date: Apr 2005
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've included a patched vbugs.php, i think i got all of the fixes.. let me know if i missed anything. I hope this is ok, since no update has been released for 2,5 months?
Reply With Quote
  #207  
Old 02-19-2006, 08:19 AM
netmax's Avatar
netmax netmax is offline
 
Join Date: Feb 2002
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

i have a problem ... in the vbug tracker admin under "bugs" you should be able to modify or delete the bugs - but it always shows only one page with the first 15 bugs :disappointed:

Anyone an idea or a fix how to get more "pages" to access the bugs after the first 15?

Thanks,

Marco
Reply With Quote
  #208  
Old 02-21-2006, 05:28 PM
netmax's Avatar
netmax netmax is offline
 
Join Date: Feb 2002
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Another issue in vBug Tracker:

The sorting of the bugs won't work. Whatever i enter on the bottom of the page - search words, order etc - nothing works and every time the default order (last comment) is being displayed.

Anyone an idea?
Reply With Quote
  #209  
Old 02-21-2006, 10:14 PM
PalmNut PalmNut is offline
 
Join Date: Dec 2003
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've corrected vbugs_admin.php to add previous/next buttons on the main bug page and populate the assignment option box for new bugs. The changes are fairly rough, but appear to work. So far here's what I have:

Find starting at line 313:
PHP Code:
    $pageoptions = array();
    for (
$i 1$i <= $numpages$i++)
    {
        
$pageoptions["$i"] = "$vbphrase[page] $i / $numpages";
    } 
and remove.

At line 370 (now 365), find
PHP Code:
    print_table_break();
    
print_table_footer(6"
        <input type=\"button\" class=\"button\" value=\"" 
$vbphrase['vbug_add_bug'] . "\" tabindex=\"1\" onclick=\"window.location='vbugs_admin.php?$session[sessionurl]do=add';\" />
    "
); 
and replace with
PHP Code:
    print_table_break();

    if (
$vbulletin->GPC['pagenumber'] > 1) {
        
$prevpage $vbulletin->GPC['pagenumber'] - 1;
        
$previous_page "<input type=\"button\" class=\"button\" value=\"" $vbphrase['prev_page'] . "\" tabindex=\"1\" onclick=\"window.location='vbugs_admin.php?$session[sessionurl]do=modify&pagenumber=$prevpage';\" />";
    }
    if (
$vbulletin->GPC['pagenumber'] < $numpages) {
        
$nextpage $vbulletin->GPC['pagenumber'] + 1;
        
$next_page "<input type=\"button\" class=\"button\" value=\"" $vbphrase['next_page'] . "\" tabindex=\"3\" onclick=\"window.location='vbugs_admin.php?$session[sessionurl]do=modify&pagenumber=$nextpage';\" />";
    }
    
    
print_table_footer(6"$previous_page
        <input type=\"button\" class=\"button\" value=\"" 
$vbphrase['vbug_add_bug'] . "\" tabindex=\"2\" onclick=\"window.location='vbugs_admin.php?$session[sessionurl]do=add';\" />
        
$next_page
    "
); 
This only modifies the Bugs view. I'll add fixes for more bugs in separate posts.
Reply With Quote
  #210  
Old 02-21-2006, 10:43 PM
PalmNut PalmNut is offline
 
Join Date: Dec 2003
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

These changes allow you to assign a new bug.

At line 90, find
PHP Code:
    print_select_row($vbphrase['vbug_assigned_to'], 'adminid', array('0' => $vbphrase['vbug_unassigned'], $users['userid'] => $users['username'])); 
and change to
PHP Code:
makeassignmentchooser($vbphrase['vbug_assigned_to'], 'adminid''user''userid''username''username'"WHERE usergroupid IN($userarray[vbuggroupids]) OR FIND_IN_SET('$userarray[vbuggroupids]', membergroupids)"iif($bug['adminid'], $bug['adminid'], -1), $vbphrase['vbug_unassigned']); 
Reply With Quote
  #211  
Old 03-05-2006, 10:34 PM
Boiler98 Boiler98 is offline
 
Join Date: Jan 2006
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Two things I'd really like to see added to this mod:
1) Follow the subscriptions rules of the forum, so I don't have to subscribe each time. Also, don't tell e-mail me when I replied to a bug.
2) Set default search criteria, or allow certain bug types to be hidden by default. For example - I don't want to see the closed and duplicate bugs anymore.

It's a great mod! It does a great job!
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:58 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05818 seconds
  • Memory Usage 2,385KB
  • 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
  • (16)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete