vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vBug Tracker 1.0.3 (https://vborg.vbsupport.ru/showthread.php?t=69600)

ccunnin71 03-06-2005 01:11 AM

How does one do an uninstall? I see that the bottom of 'vbug.install.php' has code for an uninstall but I am not php savy. I am more of the cut&paste guy :) I want to reinstall this mod and start it from scratch. I was hoping to avoid a lot of manual table drops.

Ok... Days later. Support on this mod is sketchy. Will hold out for pro version.

For those who might want to know how-to uninstall the trigger to get the uninstall script to run. Execute the vbug_install.php file from your admincp (yes, you would have to ftp it back up) It will fail right away saying that tables already exist. Just change the step 1 = to uninstall.

I still had to manually pull the seven new tables it created. I like the app but it needs a lot more features. Lets hope the pro version gives us a more robust system.

chow

PitchouneN64ngc 03-20-2005 04:25 PM

I have found some errors in ACP with prefix tables.

In ./admincp/vbugs_admin.php, find:

PHP Code:

 $DB_site->query("
INSERT INTO vbugs 

Replace by:

PHP Code:

 $DB_site->query("
INSERT INTO " 
TABLE_PREFIX "vbugs 

Then, find:

PHP Code:

 $DB_site->query("UPDATE vbugs SET title = '" addslashes($title) . "', description = '" addslashes($description) . "', vbug_statusid = '$vbug_statusid', moderate = '$moderate', adminid = '$adminid', vbug_versionid = '$vbug_versionid', vbug_severityid = '$vbug_severityid', vbug_typeid = '$vbug_typeid', lastedit = '" TIMENOW "', lastreplyuid = '$bbuserinfo[userid]', private = '$private' WHERE vbugs_id = $vbugs_id"); 

Replace by:

PHP Code:

 $DB_site->query("UPDATE " TABLE_PREFIX "vbugs SET title = '" addslashes($title) . "', description = '" addslashes($description) . "', vbug_statusid = '$vbug_statusid', moderate = '$moderate', adminid = '$adminid', vbug_versionid = '$vbug_versionid', vbug_severityid = '$vbug_severityid', vbug_typeid = '$vbug_typeid', lastedit = '" TIMENOW "', lastreplyuid = '$bbuserinfo[userid]', private = '$private' WHERE vbugs_id = $vbugs_id"); 

Then, find:

PHP Code:

 $bugs $DB_site->query("
SELECT * 
FROM vbugs 
LIMIT " 
. (($page 1) * $perpage) . ", $perpage
"
); 

Replace by:

PHP Code:

 $bugs $DB_site->query("
SELECT * 
FROM " 
TABLE_PREFIX "vbugs 
LIMIT " 
. (($page 1) * $perpage) . ", $perpage
"
); 

Then, find:

PHP Code:

 $versions $DB_site->query("
SELECT *
FROM vbug_version
ORDER BY displayorder
"
); 

Replace by:

PHP Code:

 $versions $DB_site->query("
SELECT *
FROM " 
TABLE_PREFIX "vbug_version
ORDER BY displayorder
"
); 

Then, find:

PHP Code:

 $status $DB_site->query_first("
SELECT *
FROM vbug_status
WHERE vbug_statusid = 
$vbug_statusid
"
); 

Replace by:

PHP Code:

 $status $DB_site->query_first("
SELECT *
FROM " 
TABLE_PREFIX "vbug_status
WHERE vbug_statusid = 
$vbug_statusid
"
); 

Then find:

PHP Code:

 $severity $DB_site->query_first("
SELECT *
FROM vbug_severity
WHERE vbug_severityid = 
$vbug_severityid
"
); 

Replace by:

PHP Code:

 $severity $DB_site->query_first("
SELECT *
FROM " 
TABLE_PREFIX "vbug_severity
WHERE vbug_severityid = 
$vbug_severityid
"
); 

Then find:

PHP Code:

 $type $DB_site->query_first("
SELECT *
FROM vbug_type
WHERE vbug_typeid = 
$vbug_typeid
"
); 

Replace by:

PHP Code:

 $type $DB_site->query_first("
SELECT *
FROM " 
TABLE_PREFIX "vbug_type
WHERE vbug_typeid = 
$vbug_typeid
"
); 

And all works ;)

DS MrSinister 03-23-2005 06:30 PM

I got this error when i upgraded to VB 3.0.6. I had ver. 1.0.2 installed.

PHP Code:

Fatal errorCall to undefined function: fetch_state_array() in /includes/adminfunctions_options.php(96) : eval()'d code on line 1 


I thought if i upgraded to ver 1.0.3 might go away Nope..

If i Uninstall this hack it goes away.

any idea on how to fix this?

Dark_Wizard 03-27-2005 10:35 AM

Quote:

Originally Posted by DS MrSinister
I got this error when i upgraded to VB 3.0.6. I had ver. 1.0.2 installed.

PHP Code:

Fatal errorCall to undefined function: fetch_state_array() in /includes/adminfunctions_options.php(96) : eval()'d code on line 1 


I thought if i upgraded to ver 1.0.3 might go away Nope..

If i Uninstall this hack it goes away.

any idea on how to fix this?

When you upgraded you forgot the file edits in admin_functions.php, please read the install.txt file for the vBug Tracker and make the changes.

Dark_Wizard 03-27-2005 10:39 AM

Quote:

Originally Posted by ccunnin71
How does one do an uninstall? I see that the bottom of 'vbug.install.php' has code for an uninstall but I am not php savy. I am more of the cut&paste guy :) I want to reinstall this mod and start it from scratch. I was hoping to avoid a lot of manual table drops.

Ok... Days later. Support on this mod is sketchy. Will hold out for pro version.

For those who might want to know how-to uninstall the trigger to get the uninstall script to run. Execute the vbug_install.php file from your admincp (yes, you would have to ftp it back up) It will fail right away saying that tables already exist. Just change the step 1 = to uninstall.

I still had to manually pull the seven new tables it created. I like the app but it needs a lot more features. Lets hope the pro version gives us a more robust system.

chow

I will look into this and yes the Pro is more robust and has alot more features, new coding and has a new installer/uninstaller. Lastly...support isn't sketchy and has been requested that for faster support please visit vBWar.com. ;)

Dark_Wizard 03-27-2005 10:40 AM

Quote:

Originally Posted by HarryButt
Vbugs.php
Find:

Code:

// pre-cache templates used by all actions
$globaltemplates = array(
        'VBUGS',
        'userfield_select_option'
        );

Replace:

Code:

// pre-cache templates used by all actions
$globaltemplates = array(
        'VBUGS',
        'vbugs_footer',
        'userfield_select_option'
        );


Thanks for the catch....

scottct1 04-17-2005 02:26 PM

Just installed this. :)

How do I change and add selectable versions in the versionid pull down?

Great mod!

Dark_Wizard 06-20-2005 04:22 PM

Quote:

Originally Posted by scottct1
Just installed this. :)

How do I change and add selectable versions in the versionid pull down?

Great mod!

This is done in the admincp.

Dark_Wizard 06-20-2005 04:23 PM

Alot of people have been asking if this will be ported to vbulletin 3.5 and yes it will be...

PitchouneN64ngc 06-20-2005 04:24 PM

Thank you for this answer, I'm waiting for the vB 3.5 version :)


All times are GMT. The time now is 01:40 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.01474 seconds
  • Memory Usage 1,784KB
  • 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
  • (16)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