Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[ForumOps] vBulletin Development Environment Details »»
[ForumOps] vBulletin Development Environment
Version: 2.1, by ForumOps ForumOps is offline
Developer Last Online: May 2012 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 4.x.x Rating:
Released: 06-01-2011 Last Update: Never Installs: 35
Uses Plugins
Re-useable Code Code Changes Additional Files Translations  
No support by the author.



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.

Download Now

File Type: zip forumops_vde.zip (10.5 KB, 183 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 06-23-2011, 06:03 AM
Blaine0002's Avatar
Blaine0002 Blaine0002 is offline
 
Join Date: Jul 2003
Location: Wisconsin.
Posts: 1,350
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes, i dont seem to be getting the use of $vboptions or $vbulletin->options for products with VDE

filename: vbay_seller_usergroups.php
PHP Code:
<?php

$option 
= array(
    
'title'          => 'Seller Usergroups',
    
'description'    => 'Usergroup IDs for people that can post auctions, seperated by commas',
    
'datatype'       => 'free',
    
'optioncode'     => 'input',
    
'displayorder'   => 1,
    
'defaultvalue'   => "",
    
'value'          => "9"
);
$vboptions[vbay_seller_usergroups] in any template returns nothing.
Reply With Quote
  #33  
Old 06-23-2011, 03:05 PM
Adrian Schneider's Avatar
Adrian Schneider Adrian Schneider is offline
 
Join Date: Jul 2004
Posts: 2,528
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ah, yes.

PHP Code:
<?php return array(
     
// stuff here
);
Let me know if that fixes it for you. The documentation @ GitHub has been updated as well, FYI.


@Brendon, there were two projects I did around the same time, but yours was one of them, yes. Yours was the first of the two, so it was a little slower, but the second one was super quick.

And guys, I'm guilty. I still have to push some updates and update the packages as well.
Reply With Quote
  #34  
Old 06-23-2011, 05:12 PM
Blaine0002's Avatar
Blaine0002 Blaine0002 is offline
 
Join Date: Jul 2003
Location: Wisconsin.
Posts: 1,350
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oh good! i was thinking i was just having a derp moment and missing a semicolon or bracket somewhere

edit: and yes that fixed it for me. thanks muchly.
Reply With Quote
  #35  
Old 06-28-2011, 02:00 AM
Adrian Schneider's Avatar
Adrian Schneider Adrian Schneider is offline
 
Join Date: Jul 2004
Posts: 2,528
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would you guys be interested in some sort of mechanism to allow you to have all of your files + projects directory OUT of vBulletin, for the sake of easier (and lighter) versioning?

Phase 1 would be support for the projects to live outside of vBulletin. Have a command line function to copy all of the files into vBulletin. (or for power users, rsync or similar to keep the directories in sync)

Phase 2 would be a PHP-based solution for this, though I'm not really sure what that would look like yet in terms of linux + windows compatibility...

Any thoughts?
Reply With Quote
  #36  
Old 06-28-2011, 04:52 AM
Marv Marv is offline
 
Join Date: Jun 2002
Location: Germany
Posts: 372
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Jesus christ, what a mod! Adrian, we germans call that the eierlegende Wollmilchsau (a funnier version of one-does-it-all)! Great work, much appreciated. Nominated.
Reply With Quote
  #37  
Old 06-28-2011, 04:17 PM
Adrian Schneider's Avatar
Adrian Schneider Adrian Schneider is offline
 
Join Date: Jul 2004
Posts: 2,528
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Glad you like it.

It has been an enormous help to me on a daily (hourly?) basis.
Reply With Quote
  #38  
Old 06-28-2011, 06:13 PM
EquinoxWorld EquinoxWorld is offline
 
Join Date: Nov 2009
Location: Naples
Posts: 354
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Adrian, I am somewhat a noob at coding and at developing software, would this be a good place to start with? Would it be easy for me to start developing my own mod with this tool? I have owned and managed my website for over 2 years and do all of the "technical" stuff but haven't really put myself to learn the actual development; in the last weeks I have dived in , literally dived in to a warm delicious pool of codes and variables and I must say I LOVE IT! Any pointers for a noob to start playing with this mod to get a better handle on how vb modification come about? Or any light in the right direction for that matter would be awesome. Thanks Adrian!

P.S.: Anyone looking to be a mentor for a "natural" (wishful thinking) coder please let me know.
P.S.: Joined Github - EquinoxAW
Reply With Quote
  #39  
Old 06-28-2011, 07:18 PM
Adrian Schneider's Avatar
Adrian Schneider Adrian Schneider is offline
 
Join Date: Jul 2004
Posts: 2,528
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

VDE adds a small layer of complexity on top of what exists already, so I can't say whether or not it will help you understand programming.

However, if you use it to convert a downloaded product into actual files you can look at it, you will be able to get your hands dirtier a lot faster since you can edit a file, save it, and see what happens.

Best advise I can give you is to ask a ton of questions. The private coders discussion forum is probably your best bet for vBulletin stuff.

Cheers
Reply With Quote
Благодарность от:
EquinoxWorld
  #40  
Old 07-08-2011, 10:26 PM
ForumOps's Avatar
ForumOps ForumOps is offline
 
Join Date: May 2011
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Next planned features:

Include other files in a release - Immediately - Add a way to include other files as part of the release that don't go in 'upload'. This will probably be a new subfolder per project so you can create folders such as "do_not_upload" or "docs" in there.

Merging Automatic Template Compiler with VDE - Several Weeks - ATC is a similar modification to VDE, but instead of running things from filesystem and injecting into memory, it actually persists the templates properly into a style. This is fantastic for style development, or if you are working on an actual site and not just a product you want to distribute.

I'm working on a large new forum / skin / etc. right now, and I've created a original_templates and customized_templates inside of my project folder. If I want to customize a stock vBulletin template, then I copy it from original into customized, and as soon as I edit it, it will actually edit the template inside vBulletin. This allows us to still export the style as we normally would.

I plan on doing something similar for stock phrases, stylevars, etc. since when working on an actual site, it is crucial to modify this stuff.

Who here would find this useful? If not, I'll keep doing it how I'm doing it and not further develop it.
Reply With Quote
  #41  
Old 07-08-2011, 10:47 PM
Jeff Ledger Jeff Ledger is offline
 
Join Date: Jun 2011
Location: Dresden - Germany
Posts: 140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Merging Automatic Template Compiler with VDE - Several Weeks - ATC is a similar modification to VDE, but instead of running things from filesystem and injecting into memory, it actually persists the templates properly into a style. This is fantastic for style development, or if you are working on an actual site and not just a product you want to distribute.
I'm a lot interested in this one, any chance to get a test account ?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:22 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.13186 seconds
  • Memory Usage 2,362KB
  • Queries Executed 29 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (14)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete