vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=34)
-   -   [HTL] & [very simple TXT] vB-Bugs (https://vborg.vbsupport.ru/showthread.php?t=61167)

Andreas 02-05-2004 02:38 PM

Quote:

Originally Posted by Tarion
when i hit the bugnote button in the detailed buglist the skript take me to the edit bug page and not to the bugnote page.

This is a problem with IE not being standards compliant ...

Template bugs_details, FIND
Code:

<form action="bugs.php" method="post" style="margin-bottom: 0px">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="id" value="$bug[id]" />
<button type="submit" name="do" value="addbugnote">$vbphrase[add_bugnote]</button>
<if condition="is_member_of($bbuserinfo, $vboptions[bugadmingroup])">
&nbsp;<button type="submit" name="do" value="editbug">$vbphrase[edit_bug]</button>
</if>
</form>

REPLACE with
Code:

<form action="bugs.php" method="post" style="margin-bottom: 0px">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="id" value="$bug[id]" />
<input type="hidden" name="do" value="addbugnote">
<input type="submit" value="$vbphrase[add_bugnote]">
</form>
<if condition="is_member_of($bbuserinfo, $vboptions[bugadmingroup])">
<form action="bugs.php" method="post" style="margin-bottom: 0px">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="id" value="$bug[id]" />
<input type="hidden" name="do" value="editbug">
<input type="submit" value="$vbphrase[edit_bug]">
</form>
</if>


daFish 02-05-2004 03:50 PM

If you submit a new bug, there is only one choice on the assignment list.
If you edit the bug, there are the names of all administrators in it. Maybe a bug?

Tarion 02-05-2004 04:23 PM

THX worked fine for me nice work

PranK 02-05-2004 08:17 PM

Quote:

Originally Posted by KirbyDE
@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

thanks Kirby, i'll give it a go. :)

Christian

Olate 02-05-2004 08:50 PM

Suggestion: Allow hidden tasks, or an internal task list so this can be used to assign development tasks and track them. See https://vborg.vbsupport.ru/showthread.php?t=61207

GovGaming 02-05-2004 09:19 PM

Step two of install I get this error:
-------------------------------------------------------------
Current Step: Insert Hack Phrases
This step inserts all the new phrases for vB-Bugs. It creates one new phrase group on the language table, phrasegroup_vbbugs.
---------------------------------------------------------------

Could not add a Phrase group in the System!

Link14716 02-05-2004 09:57 PM

Bug resulting in uncached template (fix):

In bug.php, find:
PHP Code:

'showdetails' => array('bugs_bugnote_bugnote'

Replace with:
PHP Code:

'showdetails' => array('bugs_bugnote'


Dark_Wizard 02-05-2004 10:27 PM

It's a shame I can't use this and it would be nice to have but I don't have MySQL 4.x yet and not planning to due to some issues with it. Any chance on making this 3.x complaint?

squawell 02-05-2004 10:50 PM

Quote:

Originally Posted by KirbyDE
@squawell

Lines 163 & 187 in bugsadmin.php

Change
PHP Code:

"WHERE usergroupid IN ($admingroups)" 

Tp
PHP Code:

"WHERE usergroupid=$vboptions[bugadmingroup] OR $vboptions[bugadmingroup] IN (membergroupids)" 


thankz fix that~BUT i have another problem~when i import the phrase file~it successed but cant see the new phrase group name vBugsbut i can find all phrase~and when i go to bug page all phrase did not show up...any idea?thankz:D

daFish 02-06-2004 05:26 AM

Quote:

Originally Posted by Dark_Wizard
It's a shame I can't use this and it would be nice to have but I don't have MySQL 4.x yet and not planning to due to some issues with it. Any chance on making this 3.x complaint?

I'm using the hack with MySQL 3.xx and i'm having no problems with it. :)


All times are GMT. The time now is 10:54 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.01290 seconds
  • Memory Usage 1,749KB
  • 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
  • (2)bbcode_code_printable
  • (4)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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