vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Administrative and Maintenance Tools - [ForumOps] vBulletin Development Environment (https://vborg.vbsupport.ru/showthread.php?t=264621)

Adrian Schneider 06-03-2011 07:05 PM

I actually needed the ability to port an existing product into VDE today so it has been written! I'll update Github first within the next few days (maybe sooner) and the actual packages a bit later as time permits.

ForumOps 06-04-2011 07:42 PM

Update: you can now specify entire directories by name rather than having to list each of their files in a project's config.php file.

Example,

Code:

array('files' => array(
    '/my_dir'
));

Is automatically expanded to

Code:

array('files' => array(
    '/my_dir'/index.php',
    '/my_dir/another_file.php'
));


Also, you can now import existing products into VDE automatically, by using the 'port' command:

Code:

php vde.php port existing_product_id projects/save_here
Next up is adding is removing the required edit as per Andreas' comment above. The latest code is on GitHub - I will only have time to update the official packages once per week or so.

Has anyone had a chance to build a plugin from scratch with this yet? Would love some feedback, especially on the documentation side of things as it was quite rushed. I've been using this method for years, so my steps are probably lacking.

TheLastSuperman 06-04-2011 10:00 PM

Quote:

Originally Posted by Brandon Sheley (Post 2203121)
I voted for ya :up:

TY TY!

And Adrian coming along even better I should have been eying this closer per your comments on messenger... I believe Adrian said it took them 3 hours to port a product that should have normally taken 30+ hours via the admincp (huge btw) so all-in-all this is killer imo! I still have not tested this myself however I have installed it on the forum some of us Advisors here use as I thought it might be helpful to BirdofPrey5 and DigitalJedi if they wanted to utilize it and well me too eventually.

Just plain awesome :cool:.

Hareth 06-04-2011 10:04 PM

Great work Adrian,, Thank you!

Hareth 06-05-2011 08:55 PM

Not working with me!

Warning: scandir([path]/projects) [function.scandir]: failed to open dir: No error in [path]\includes\vde\runtime.php on line 115

Warning: scandir() [function.scandir]: (errno 0): No error in [path]\includes\vde\runtime.php on line 115

Warning: Invalid argument supplied for foreach() in [path]\includes\vde\runtime.php on line

TheLastSuperman 06-06-2011 12:07 AM

Quote:

Originally Posted by Hareth (Post 2203987)
Not working with me!

Warning: scandir([path]/projects) [function.scandir]: failed to open dir: No error in [path]\includes\vde\runtime.php on line 115

Warning: scandir() [function.scandir]: (errno 0): No error in [path]\includes\vde\runtime.php on line 115

Warning: Invalid argument supplied for foreach() in [path]\includes\vde\runtime.php on line

You've uploaded the files and made the proper file edit (different for 3.x than it is 4.x please note) mentioned in the README.txt on GitHub correct?

https://github.com/ForumOps/vBulleti...nt-Environment

Adrian Schneider 06-06-2011 03:29 PM

Quote:

Originally Posted by Hareth (Post 2203987)
Not working with me!

Warning: scandir([path]/projects) [function.scandir]: failed to open dir: No error in [path]\includes\vde\runtime.php on line 115

Warning: scandir() [function.scandir]: (errno 0): No error in [path]\includes\vde\runtime.php on line 115

Warning: Invalid argument supplied for foreach() in [path]\includes\vde\runtime.php on line

You need to create a 'projects' directory in your forum path. Let me know if that doesn't fix it... will mend instructions if this is the case.

Cheers

nhawk 06-06-2011 07:16 PM

Getting an error when trying to port an existing mod..

From the style of the command, I would assume this needs to be run from a terminal window.

Code:

php vde.php port advapp projects/advapp
Invalid command.  Use build or run


Adrian Schneider 06-06-2011 07:25 PM

The download package here is old... I will be updating it today. We've made few updates since it was released.

If you download the latest version from GitHub it should solve your problems.

Cheers

nhawk 06-06-2011 08:28 PM

Thanks, that worked.

But, I must be missing something really simple....

With the development environment enabled, my mod stops working completely. Disable the development environment and it works fine.


All times are GMT. The time now is 06:15 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.01204 seconds
  • Memory Usage 1,740KB
  • 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
  • (4)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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