vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   New Posting Features - [HTL] & [TXT] Request/Bugs Tracker (formally vB-Bugs) (https://vborg.vbsupport.ru/showthread.php?t=63964)

Shane 04-15-2004 10:00 PM

[HTL] & [TXT] Request/Bugs Tracker (formally vB-Bugs)
 
Request/Bugs Tracker
Version: 1.0.0
vB-version: 3.0.0
Developer: ^BuGs^ (Shane on vB.org), ixian, and Kirby (Original)
Install difficulty: Easy
File edits: 1
Template edits: 0

Description of the Hack:
This is a basic vBulletin-powered Request/Bugs Tracker like the one on vBulletin.com

HACK INSTALLATION DETAILS:
New files for this Hack:
bugs.php
admincp/bugsadmin.php

Files modified for this Hack:
admincp/index.php

New templates for this Hack:
bugs_search_no_results
bugs_addbug
bugs_addbugnote
bugs_listbit
bugs_bugnote
bugs_details
bugs_list
BUGS

New DB tables for this Hack:
bugs
bugnotes
bugtypes
bugseverities
bugstates


Read the readme.txt file if you are updating from vB-Bugs!!!!

As of 4/17/04, 9:21am EST
Fixed: Warning: Invalid argument supplied for foreach() in /home2/bear/public_html/forums/includes/sessions.php on line 262 - vvbugs_settings.xml (new exported data from the HTL generator)
Fixed: https://vborg.vbsupport.ru/showpost....4&postcount=22 (add the function inside bugs.php to help it cashe the bugs types everytime you load the page if a new one is not in the list.
Updated: readme.txt (a few grammer issues that I overlooked.)

As of 4/17/04, 9:47am EST
Fixed: bugs.php where if you edited a bug report and left the assigment to "unassigned" it owuld stop. This is now fixed where it will stay at unassiigned.

As of 4/20/04, 1:38am EST
Fixed: bugsadmin.php had had a program with the "add" and "edit" fuctions.

Sourceforge.net - New home for this hack under the direction of the group "vBulletin Modification Packages". Visit us at: https://sourceforge.net/projects/vbmodificatiopk/ . (Best place to post bug reports. Ironic isn't it?)

teksigns 04-16-2004 05:41 PM

whats the diff. between versions ?

what does this do that the original dont .....

Shane 04-16-2004 05:48 PM

Quote:

Originally Posted by teksigns
whats the diff. between versions ?


what does this do that the original dont .....

Private "reports" that only can be seen by admins.
Lots of bugs fixes... that I can't even list them all.
Sorting problems worked out....

New Features in devlopment:
WYSIWUG editor for the reports
Attachements
Email Notification
(Addon of: MySQL-3 Support)

Boofo 04-16-2004 05:58 PM

I'm getting an invalid error on the settings and templates file for the phrases. Any ideas?

Shane 04-16-2004 06:04 PM

Quote:

Originally Posted by Boofo
I'm getting an invalid error on the settings and templates file for the phrases. Any ideas?

I might. I think I set the file version to 3.0.1 when it works on 3.0.0 in the HTL file. Just try chaning the names on the XML files I will update the zip right now..

Shane 04-16-2004 06:05 PM

The settings XML shouldn't have any problems. There is no version number thing. Try it now (just updated the zip)

Boofo 04-16-2004 06:10 PM

I just got this error when I tried to import the settings file:

Warning: Invalid argument supplied for foreach() in /home2/bear/public_html/forums/includes/sessions.php on line 262

And now I can't even get into the admin cp or my board.

Shane 04-16-2004 06:14 PM

I can't seem to reproduce this. I just "upload" the settings XML file again and I got no errors. I might be because I already have it install, but.. umm...

Sessions.php? No idea. bugs.php and bugsadmin.php only use the sessions from global.php.

Shane 04-16-2004 06:26 PM

Try uploading your base files again ....as I try to get msn conencted...

Boofo 04-16-2004 06:26 PM

I had something to do with the serttings xml file. It only happened after I ran that. I need to go to phpmyadmin and do something, but what?

Boofo 04-16-2004 06:40 PM

Here's the code for the error:

PHP Code:

    // get default language
    
$phraseinfo $DB_site->query_first("
        SELECT languageid" 
fetch_language_fields_sql(0) . "
        FROM " 
TABLE_PREFIX "language
        WHERE languageid = " 
intval($vboptions['languageid']) . "
    "
);
    foreach(
$phraseinfo AS $_arrykey => $_arryval)
    {
        
$bbuserinfo["$_arrykey"] = $_arryval;
    }
    unset(
$phraseinfo); 

The foreach line is where the error occurs.

Shane 04-16-2004 07:04 PM

Quote:

Originally Posted by Boofo
Here's the code for the error:

PHP Code:

    // get default language
    
$phraseinfo $DB_site->query_first("
        SELECT languageid" 
fetch_language_fields_sql(0) . "
        FROM " 
TABLE_PREFIX "language
        WHERE languageid = " 
intval($vboptions['languageid']) . "
    "
);
    foreach(
$phraseinfo AS $_arrykey => $_arryval)
    {
        
$bbuserinfo["$_arrykey"] = $_arryval;
    }
    unset(
$phraseinfo); 

The foreach line is where the error occurs.

I will check it out once I get back this evening. Mom arrived to my school and I am taking her out.

Zelda-King 04-16-2004 07:37 PM

I've been getting that error too.

tilight 04-16-2004 07:57 PM

Quote:

This invloves altering table language to have a new column
phrasegroup_vbbugs and to insert a new record in into table phrasetypes.
I don't know what this means in the instructions, I am doing a New Install.

thanks, and great version BTW except for the error :(

Boofo 04-16-2004 08:02 PM

Quote:

Originally Posted by Zelda-King
I've been getting that error too.

I can't even get on my site now. I get that error in the admin cp AND the board.

squawell 04-16-2004 08:16 PM

Quote:

Originally Posted by Boofo
I can't even get on my site now. I get that error in the admin cp AND the board.

bob maybe u can try this to fix ur problem

http://www.vbulletin.com/forum/showp...68&postcount=7

Boofo 04-16-2004 08:24 PM

Quote:

Originally Posted by squawell
bob maybe u can try this to fix ur problem

http://www.vbulletin.com/forum/showp...68&postcount=7


Bingo! That fixed it. I can get on the site. What does that do and did I lose anything? I run RC3.

squawell 04-16-2004 08:42 PM

Quote:

Originally Posted by Boofo
Bingo! That fixed it. I can get on the site. What does that do and did I lose anything? I run RC3.

bob,one of my friend have this problem when he upgrade from 2.x to 3.0,so im not sure how could it happened?maybe the process make something mess up just a guess. :p

Boofo 04-16-2004 08:46 PM

Well, whatever it was, you fixed it. I owe you one. You are the man! ;)

squawell 04-16-2004 08:51 PM

Quote:

Originally Posted by Boofo
Well, whatever it was, you fixed it. I owe you one. You are the man! ;)

Glad that help u,Bob;)

P.Jackson 04-16-2004 09:27 PM

would there be anyway to change this from bugs to help requests? i.e Technical help

Zelda-King 04-16-2004 11:07 PM

Here're the errors I've noticed:

If I go to bugs.php I get;

Warning: Invalid argument supplied for foreach() in /home/gamercr/public_html/bb/bugs.php on line 122

Warning: Invalid argument supplied for foreach() in /home/gamercr/public_html/bb/bugs.php on line 128

Warning: Invalid argument supplied for foreach() in /home/gamercr/public_html/bb/bugs.php on line 134


(Been posted but I'm verifying.)

Most of the dropdowns have only the top option to choose from (even though I did the 'save data upgrade' and my settings are still in the Admin CP. The faulty dropdowns are;

Show only bugs with status:
Type:
Status:
Severity:


I can view existing bugs but if I submit one it won't submit. I get taken to a post error screen I can't see.

The following templates are uncached for that error screen;

newpost_error_message
newpost_preview

Oh, and while I'm still in the middle of posting this I tested the 'edit bug' and since then everything seems functional. O_O

Boofo 04-16-2004 11:17 PM

Sounds like this still needs a lot of work. ;)

I'm not going to re-install this until everyone else seems to have it working. And those xml files definately need some work. If they messed my system up, someone else will get messed up, too. ;)

Shane 04-17-2004 01:53 AM

Quote:

Originally Posted by Boofo
Sounds like this still needs a lot of work. ;)

I'm not going to re-install this until everyone else seems to have it working. And those xml files definately need some work. If they messed my system up, someone else will get messed up, too. ;)

This is all very werid. I done three dozen removes and installs of it and I havn't gotten any errors. I'll export thee seettings once more, but I don't know if that will fix a problem in sessions.

Warning: Invalid argument supplied for foreach() in /home/gamercr/public_html/bb/bugs.php on line 122

Warning: Invalid argument supplied for foreach() in /home/gamercr/public_html/bb/bugs.php on line 128

Warning: Invalid argument supplied for foreach() in /home/gamercr/public_html/bb/bugs.php on line 134

I just noticed that now. I am adding the fixes. Sorry all, but I thought this was stable enough for release!

ixian 04-17-2004 03:24 AM

This hack needs a checkbox to hide/unhide closed tickets - reduces the clutter. Let me know if you want me to do that one after you upload the lastest fixes. I will need to add a row in the bugs table for hide state, FYI.

I am going to add the color-coding as a separate mini-hack, since not everyone may want that.

Shane 04-17-2004 04:03 AM

rgr

Boofo 04-17-2004 05:02 AM

Are the fixes posted for this yet?

ixian 04-17-2004 05:23 AM

I don't believe so. At least the CVS hasn't been updated. Shane has the master copy and I am sure he will get it up this weekend. I will add my additions after that.

We are working on email notification but that feature will wait until the next release, after this one is fixed.

Link14716 04-17-2004 05:25 AM

How about having it count how many bugs are in each state (unconfirmed, confirmed, etc.). I know it's not too hard to do, as I hacked this functionality into vB-Bugs.

tilight 04-17-2004 05:33 AM

Quote:

Originally Posted by Link14716
How about having it count how many bugs are in each state (unconfirmed, confirmed, etc.). I know it's not too hard to do, as I hacked this functionality into vB-Bugs.

I agree thats a good idea.

ixian 04-17-2004 05:39 AM

Quote:

Originally Posted by Link14716
How about having it count how many bugs are in each state (unconfirmed, confirmed, etc.). I know it's not too hard to do, as I hacked this functionality into vB-Bugs.


I was thinking more like "x new bugs since your last visit" but this is along the same lines, and yes it'd be easy to do.

Right now, on my side of things, I am working on the hide/show closed bugs, color-coding bugs by state (i.e. critical bugs red, moderate blue, etc - this is a feature found in just about every other ticket system out there and it makes a huge difference when you are trying to prioritize a lot of bugs) and the big one, email notification, which IMHO is the one major feature this hack has always lacked.

If you want to do a simple mod to do the above then by all means please do, especially if you've already done it. We're not credit hogs here; we just want a good hack to get even better and if you have something useful to add don't let us hold ya back:)

Vivi Ornitier 04-17-2004 05:45 AM

it's actually workin fine for me. Except sometimes, when I add a bug, i mess aroudn with the options and I can't add it. All i get in the confirmation page is a table strip. Oh well, good job!

Shane 04-17-2004 12:43 PM

boho, try clicking on 'Make new settings Volatile?' in HTL. That forces the script to do it's stuff.

Boofo 04-17-2004 12:49 PM

I don't use HTL. Never did and never will. ;)

Shane 04-17-2004 12:56 PM

Quote:

Originally Posted by Link14716
How about having it count how many bugs are in each state (unconfirmed, confirmed, etc.). I know it's not too hard to do, as I hacked this functionality into vB-Bugs.

What to send me your vB-Bugs and I can add it to the CVS changes. bugs at bugssite dot org

Shane 04-17-2004 12:59 PM

boofoo, how do you update the settings? :) Cause I uninstalled HTL on my live forums and I can't get the XML uploaded. All I know there is a way how and I don't know :)

Shane 04-17-2004 01:05 PM

Allright. I am going home this weekend (at college). I thnk I fixed all the major errors for now. I am hoping by the time I get home the CVS repository has propergrated. Untill then, I will have to make my changes untill I get back monday night (late).

I know this is bad saying this, but if you are having major problems don't use it right now cause I won't be able to do anything till I get back. Sorry. :(

Boofo 04-17-2004 01:30 PM

I uninstalled it all until the xml problem is fixed. Keep me posted.

Just do an install file all in one shot instead of the 3 xml files.

tilight 04-17-2004 02:49 PM

Just installed everything brand new, and I got this error when I tried to go to Request/Bugs Tracker Types in my AdminCP:

Parse error: parse error

in /home2/volvinet/public_html/forums/admincp/bugsadmin.php on line 75

Also when I go to bugs.php I get thie at the top of the page (before my header):

Warning: Invalid argument supplied for foreach() in /home2/volvinet/public_html/forums/bugs.php on line 138

Warning: Invalid argument supplied for foreach() in /home2/volvinet/public_html/forums/bugs.php on line 144

Warning: Invalid argument supplied for foreach() in /home2/volvinet/public_html/forums/bugs.php on line 150

Shane 04-18-2004 12:45 AM

Quote:

Originally Posted by tilight
Just installed everything brand new, and I got this error when I tried to go to Request/Bugs Tracker Types in my AdminCP:

Parse error: parse error

in /home2/volvinet/public_html/forums/admincp/bugsadmin.php on line 75


Also when I go to bugs.php I get thie at the top of the page (before my header):

Warning: Invalid argument supplied for foreach() in /home2/volvinet/public_html/forums/bugs.php on line 138

Warning: Invalid argument supplied for foreach() in /home2/volvinet/public_html/forums/bugs.php on line 144

Warning: Invalid argument supplied for foreach() in /home2/volvinet/public_html/forums/bugs.php on line 150

Change:
PHP Code:

foreach($bugcache[$tablename] as $id => $currow)
    {
        if (
$selvalue == $id)
        {
            echo 
"<option value=\"$id\" selected=\"selected\">$currow[$titlefield]</option>\n";
        } else {
            echo 
"<option value=\"$id\">$currow[$titlefield]</option>\n";
        }
} else {
        
$result=$DB_site->query("SELECT $idfield,$titlefield FROM $tablename $filter ORDER BY $order");
        while (
$currow=$DB_site->fetch_array($result))
        {
            if (
$selvalue==$currow[$idfield])
            {
                echo 
"<option value=\"$currow[$idfield]\" selected=\"selected\">$currow[$titlefield]</option>\n";
            } else {
                echo 
"<option value=\"$currow[$idfield]\">$currow[$titlefield]</option>\n";
            }
        }
    } 


to

PHP Code:

foreach($bugcache[$tablename] as $id => $currow)
    {
        if (
$selvalue == $id)
        {
            echo 
"<option value=\"$id\" selected=\"selected\">$currow[$titlefield]</option>\n";
        } else {
            echo 
"<option value=\"$id\">$currow[$titlefield]</option>\n";
        }
}
    
$result $DB_site->query("SELECT $idfield,$titlefield FROM $tablename $filter ORDER BY $order");
    while (
$currow $DB_site->fetch_array($result))
    {
        if (
$selvalue == $currow[$idfield])
        {
            echo 
"<option value=\"$currow[$idfield]\" selected=\"selected\">$currow[$titlefield]</option>\n";
        } else {
            echo 
"<option value=\"$currow[$idfield]\">$currow[$titlefield]</option>\n";
        }
    } 

I had that
PHP Code:

} else { 

with a closed }

like if the for statement was an if statement. Stupid mistake :) As for the second error, I don't see how that can be possaible. The "cashe" is built before those lines are even ran. Try the bugs.php file again. At the top of the file should just be $Id$. Going to put in revesion tags so I can keep track of what people have. :)

@ixian: What is your SF username?!


All times are GMT. The time now is 04:47 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
  • Page Generation 0.01496 seconds
  • Memory Usage 1,864KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_php_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete