![]() |
[HTL] & [very simple TXT] vB-Bugs
OK, this is my first Hack release, so please forgive me if it's crap.
vB-Bugs Version: 0.1f Alpha vB-version: 3.0.0 Release Candidate 2 Developer: Kirby Install difficulty: Easy File edits: 1 Template edits: 0 Description of the Hack: This is a basic vBulletin-powered Bug-Tracker It is based on vB-Todolist originalli created by RekiM who kindly gave me permission to make this "port". Features
Requirements
Please note that this is an alpha release only and I can't and won't take any responsibilities. Use it as-is at you own risk. 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_addbug bugs_addbugnote bugs_listbit bugs_bugnote bugs_details bugs_list BUGS New DB tables for this Hack: bugs bugnotes bugtypes bugseverities bugstates This post was generated by the Hack Tracking Log |
FIRST
Thank you SOOOOO much!!! /me clicks install Greetings Star |
I need a little help!
I installed the HTL file works like a charm BUT the index.php change did not! I get this error: admincp/index.php on line 561 line 561 Code:
if (is_member_of($bbuserinfo, $vboptions['bugadmingroup']) { one thing to improve your readme.txt instructions It would be better to separate the htl from the normal instructions this a) b) thing is confusing StarBuG |
Can we see SS's? :)
So I don't have to install, then go "Hey, this ain't what I want." Shaz |
Glad to things like these
|
@StarBug
Seems like a copy & Paste Error. Try PHP Code:
Must go now, i'm already too late. @Cyricx https://vborg.vbsupport.ru/showpost....5&postcount=28 |
Very niiice. I'm definately installing.
|
And one other thing.
(your fixe worked by the way) Could you please give some instructions how to use it I found the options settings for vBugs and changed it to my usergroup (can there be more then one usergroup specified? I would need this!) But where do I say wich forums are my support forums (I have 2 so I would need to specify 2 forums. Is this possible?)? Where do I specify wich different kind of bug status i can offer and such? We need Instructions! :D Greetings Star |
And there is more
Code:
error_reporting(7); I think that was not itendet to and makes the file not working! Code:
Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /somepath/forum/admincp/bugsadmin.php on line 8 Code:
StarBuG |
Change
PHP Code:
This step needs to be added to the instructions :p |
Quote:
Cause what about "todoconfig.php" it was not included in the zip it kinda looks like his todo If you remove the line (include.. ) and change path the first part of the error is gone but the db error stays MORE errors: Bug-States - modify: Warning: Invalid argument supplied for foreach() in /somepath/forum/admincp/bugsadmin.php on line 376 Bug-States - sort: Warning: Invalid argument supplied for foreach() in /somepath/forum/admincp/bugsadmin.php on line 411 Bugs - Modify: Warning: halt(./includes/functions_log_error.php) [function.halt]: failed to create stream: No such file or directory in /somepath/forum/includes/db_mysql.php on line 370 Bug-Severities - Modify: Warning: Invalid argument supplied for foreach() in /somepath/forum/admincp/bugsadmin.php on line 549 Bug-Severities - Sort: Warning: Invalid argument supplied for foreach() in /somepath/forum/admincp/bugsadmin.php on line 584 Bug-Types - Modify: Warning: Invalid argument supplied for foreach() in /somepath/forum/admincp/bugsadmin.php on line 723 Bug-Types - Sort: Warning: Invalid argument supplied for foreach() in /somepath/forum/admincp/bugsadmin.php on line 759 Greetings Star |
How do I import the vbbugs_settings.xml file? I've imported the templates and phrases...just need to do the settings.
Hack looks great...read-me could use a little work, though. |
excellen! will def. install
|
Screenshots :)?
|
Screenshots are in the zip file. Note that if you install this its pretty un-useable at the moment as not all the templates are in the XML file for starters. Also no mater which method you install from the datastore isn't setup correctly so you get lots of errors everywhere from that too.
|
May I ask, what exactly is so complicated about this that it requires MySQL 4 ?????
|
I believe it uses MySQL 4's fulltext search.
|
thanks for the info NTLDR ... I think I'll wait just a little bit.
It sounds good. |
This hack doesn't even work for ++++ing sakes, at least not the admin part.
First of all, you chdir to the admincp directory (but it's an invalid path for everyone else). Why? You might as well have included files in the includes directory. Secondly, todoconfig.php doesn't even exist in the zip, so you can change whatever path you want, but it won't matter. And lastly, the big fat MySQL error that will probably go away if todoconfig.php existed: Code:
Database error in vBulletin 3.0.0 Release Candidate 3: |
Hehe, looks like I messed up everything.
todoconfig.php isn't really needed, that was smth. left over from vB-Todolist ... and I forgot to remove it. That's also the reason the chdir was in place. I've modified the setup and removed those unnecessary things. Should be working now, update-instructions are in the ZIP. Sorry @ all. Slap me please :D @KuraFire Because the search function uses fulltext-search in boolean mode, which is only available in mySQL-Versions > 4.0.2 @StarBug > can there be more then one usergroup specified? I would need this! No. May I ask why you would need more then 1 group? > But where do I say wich forums are my support forums > I have 2 so I would need to specify 2 forums. Is this possible? Hmm. Seems like I don't understand this question. Which forums do you want to specify? And what for? > Where do I specify wich different kind of bug status i can offer and such? In the ACP under Bug-States. |
i got this error when i click add bug in admincp
Code:
Database error in vBulletin 3.0.0 Release Candidate 3: |
you can have fulltext searches in mysql 3 :)
providing you know how to hack mysql and write that in yourself. :D *sigh* ahwell, guess I can't use this then, and neither can EvB then... |
awesome!
/me clicks install! Thanks! |
@squawell
Lines 163 & 187 in bugsadmin.php Change PHP Code:
PHP Code:
Why not just upgrade mySQL? ;) I think this would be good anyway (=> Query Cache, reduced load on our server significantly). You could also use this with mySQL 3 with some modifications: - modify the definition for table bugs in the setup - change bugs.php sql |
Sorry but after i deleted the hack in the HTL menu and updated as you said I still get this mysql errer when i go to:
Bugs - Add Code:
Invalid SQL: SELECT userid,username FROM user WHERE usergroupid IN () ORDER BY username Where do I specify WICH FORUMS are the bug forums????? It?s not in Options, it?s not in Manage Forums, it?s not an admin menu like you added 4 so where do I have to look? Quote:
First I need to know where to specify the Forums and I realy would need to have these 2 Forums both as bug Forums if you wanna have a look http://www.hiphop-battles.com/forum/index.php Quote:
And I will have a support Crew in the future where I defenetly don?t want to give them admin rights or let them see our Developer Forums in full but I would like to have them decide what kind of bug it is, if they can help help users then change the status of the bug so I don?t have to do all the work alone. Can?t be to hard to make it possible to define more then one usergroup and more then one bug forum!! PLEASE ;) Is this possible? Greetings Star |
Quote:
|
DOH :D
But I found another bug I added a few Bug Types and wanted to remove one. After clicking yes i got this: Invalid SQL: DELETE FROM bugtypes WHERE typeid= mysql error: You have an error in your SQL syntax near '' at line 1 The Type is still there! Also when I go to by forum on bugs.php?do=add Then I have a big button "Reset Fields" below my textbox but only a tinywiny submitbutton (I think it is submitt because you forgott the text for the button) Greetings Star |
Quote:
Quote:
Quote:
Nevertheless i'll modify the code to allow several groups. An updated ZIP will come later. > Can?t be to hard to make it possible to define more then one usergroup Yes. As stated above i'll do that. > and more then one bug forum!! PLEASE ;) I'm sorry but this is not possible (I even don't understand what you want to achieve). |
the forum thing was because i did not understand the idea completly now i do :D
But I have more bugs: when I go to by forum on bugs.php?do=add Then I have a big button "Reset Fields" below my textbox but only a tinywiny submitbutton (I think it is submitt because you forgott the text for the button) If I click on Edit Bug I get an empty page just the navbar and your copyright text. Add Bugnote is also not possible same as above I added a few Bug Types and wanted to remove one. After clicking yes i got this: Invalid SQL: DELETE FROM bugtypes WHERE typeid= mysql error: You have an error in your SQL syntax near '' at line 1 The Type is still there! Greetings Star |
Quote:
Take a look at template bugs_addbug: Code:
<input type="submit" value="$vbphrase[submit]" name="submit" /> > If I click on Edit Bug I get an empty page just the navbar and your copyright text. > Add Bugnote is also not possible same as above Hmm. Not reproducable here. Do you have Template Names as comments in HTML turned on? If so would it be possible to check if the template bugs_addbug or bugs_adbugnote actually get's called? |
I have the code you said in bugs_addbug but there is no submit
http://www.hiphop-battles.com/forum/bugs.php?do=add see for yourself your second fix also does not work I still get Invalid SQL: DELETE FROM bugtypes WHERE typeid= mysql error: You have an error in your SQL syntax near '' at line 1 when I click remove then yes when I click on edit bug with template names turned on i get this: Code:
<!-- END TEMPLATE: navbar --> Greetings Star |
Quote:
2) mysql 4's Query Cache is really not all that bright, so I'm hearing. It helps, sure, but not as much as it could have with more intelligent implementation. (for details on that, though, you'll have to bug my boss cos he's the database expert - for instance, he wrote mysql 3 Fulltext indexes himself :)). I think I'll wait a bit, thanks though :) |
> I have the code you said in bugs_addbug but there is no submit
You are right. RC2 does not have "submit" in phrasegroup GLOBAL, RC3 does - DOH! To fix this: Add a phrase submit with text Submit to phrasegroup vB-Bugs or GLOBAL. I'll take a look into the other problems. @KuraFire Uh? "MySQL 4.0 Downloads [...] This is the current production release of the MySQL database server. It is recommended for most users" So i'd assume this is the current stable production release? We also use woody and don't have any problems with the database. |
Thx for your quick support!
I´ll wait for the other fixes. Greetings Star |
Kirby - sorry to harrass you, but i get this;
Invalid SQL: SELECT userid,username FROM user WHERE usergroupid IN () ORDER BY username mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY username' at line 1 i read your other posts and tried to do the fix you suggested, however there is no ""WHERE usergroupid IN ($admingroups)"" on line 163, or anywhere else in the code according to dreamweaver/homesite and phpED... Any suggestions? Thanks in advance! Christian |
Quote:
|
@PranK
The line numbers depend on the Version you have. But the text should be there. Nevertheless, i've also uploaded a new ZIP which should contain the fixes already. Just replace bugs.php and bugsadmin.php |
Quote:
|
This is awesome. Will install soon.
|
Quote:
|
All times are GMT. The time now is 04:48 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:
|