vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   plugin installation. (https://vborg.vbsupport.ru/showthread.php?t=287503)

vsforums 09-05-2012 05:53 PM

plugin installation.
 
Hi,

Is there a way to make one plugin install another plugin during installation ? Maybe something that can be added to the <installcode> section in the plugin ??

Any idea ?

Scanu 09-05-2012 07:45 PM

Do you mean a product? If so you can use a query in the installcode

vsforums 09-06-2012 01:16 PM

Example: I want to install ten products and i want to use only one to install them all(so i dont have to go one by one), i know the path to all products, it is always the same.

What kind of query ?

Scanu 09-06-2012 01:36 PM

It is very long to do a query for install ten products since they contain a lot things like phrases, plugins, templates, settings, infos etc... What you could do is to 'fuse' them.. you can copy all the plugin and the other things of each xml and put them in one unique xml. Or i don't know if is it possible but you can even try to copy all the product tag of a xml and copy it at the end of another xml. Just like this
Code:

<?xml version="1.0" encoding="ISO-8859-1"?>
<product productid="product1" active="1">
All the code of the product One
</product>
<product productid="product2" active="1">
All the code of the product Two
</product>



All times are GMT. The time now is 05:02 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.01046 seconds
  • Memory Usage 1,710KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete