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)

Blaine0002 06-23-2011 06:03 AM

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.

Adrian Schneider 06-23-2011 03:05 PM

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.

Blaine0002 06-23-2011 05:12 PM

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.

Adrian Schneider 06-28-2011 02:00 AM

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?

Marv 06-28-2011 04:52 AM

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.

Adrian Schneider 06-28-2011 04:17 PM

Glad you like it. :D

It has been an enormous help to me on a daily (hourly?) basis.

EquinoxWorld 06-28-2011 06:13 PM

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

Adrian Schneider 06-28-2011 07:18 PM

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

ForumOps 07-08-2011 10:26 PM

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.

Jeff Ledger 07-08-2011 10:47 PM

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 ?


All times are GMT. The time now is 11:06 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.01234 seconds
  • Memory Usage 1,747KB
  • 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_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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