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)

ForumOps 06-01-2011 10:00 PM

[ForumOps] vBulletin Development Environment
 
1 Attachment(s)
https://vborg.vbsupport.ru/

vBulletin Development Environment

vBulletin Development Environment (VDE) is a tool that allows you to build vBulletin products entirely from the filesystem. By using the filesystem, it allows you to follow best practises such as using version control, and simply working on actual files. Having to switch between browser windows and copy/paste is extremely inefficient.

This product has been updated to work with with vBulletin 3.5 and up to the latest 4.x series.

Runtime Environment

Assuming all of your files are in place, VDE checks your ./projects directory on every page load, and injects all of your projects' templates, plugins, etc. into memory and runs them as if they were natively installed into vBulletin.

Product Builder

VDE also comes with a project builder, which allows you to export your project into a standard product XML, and also any associated files with your project.

Open Source

This product is open source, and I encourage everyone who uses it to contribute back via GitHub.

Installation Instructions

Short version: upload files, import product XML. There are slightly different instructions based on whether or not you are running vBulletin 3 or 4.

Full instructions can be found at:
https://github.com/ForumOps/vBulleti...nt-Environment

I will not be posting any change logs or detailed instructions here, because they may change heavily with each version. Please refer to the GitHub page.

Disclaimer: this product was originally developed by SirAdrian / Adrian Schneider, who is part of our staff, and the primary maintainer of the product still.

TheLastSuperman 06-02-2011 05:10 PM

Awesome Adrian, thanks for releasing! - Installed!

If I weren't on staff I would nominate and vote for motm ;).

ForumOps 06-02-2011 05:17 PM

My pleasure.

Please note, I will be posting some simple modifications built with this over the next week or two to try and provide more useful examples as there is a bit of a learning curve the first time around.

Adrian Schneider 06-03-2011 12:47 AM

Would anyone be interested in having the ability to generate the filesystem stuff based on the product data in vBulletin? (reverse the build process)

Usage would be something like,
Code:

php vde.php import product_id
I need it myself, so will probably start that soon, but speak up if it's also useful for you so I can bump it up in the priority list.

Blaine0002 06-03-2011 02:31 AM

yes! copying phrases from the admin into seperate text files is a big PAIN!

Andreas 06-03-2011 07:24 AM

Awesome stuff :)

I thought about building smth. similar for a long time but never had enough time / interest to actually start developing.

You could avoid the file edit by changing
PHP Code:

vBulletinHook::$pluginlist[$hook] = 'global $vdeRuntime;' .
"\n" '$vdeRuntime->listenAtHook("' $hook '");' .
"\n" $hookObj->pluginlist[$hook]; 

to

PHP Code:

$this->_registry->pluginlist[$hook] = 'global $vdeRuntime;' .
"\n" '$vdeRuntime->listenAtHook("' $hook '");' .
"\n" $this->_registry->pluginlist[$hook];
vBulletinHook::setPluginlist($this->_registry->pluginlist); 


Guest190829 06-03-2011 03:36 PM

Nice, I'll try this out on my next vB project. :up:

Sayid 06-03-2011 03:51 PM

interesting mod, will try it soon in the summer holiday :D

Adrian Schneider 06-03-2011 03:56 PM

Thanks, Andreas. :up: I'll try to get that updated soon, as I hate file edits.

Brandon Sheley 06-03-2011 04:11 PM

Quote:

Originally Posted by TheLastSuperman (Post 2202755)
If I weren't on staff I would nominate and vote for motm ;).

I voted for ya :up:


All times are GMT. The time now is 11:39 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.01268 seconds
  • Memory Usage 1,741KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (1)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
  • (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