vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How to create a Plugin Installer (https://vborg.vbsupport.ru/showthread.php?t=91804)

nevetS 07-07-2005 09:11 PM

How to create a Plugin Installer
 
Hopefully this can turn into a useful thread for everyone, or someone can point me to the already existing thread which covers this topic.

I've created a plugin, and now I want to create an installer to share with others.

My mod has two plugins, which I've downloaded into a single xml file and also requires a minor update to a template. The data in the xml file can change per installation since one of the lines indicates the location of a file on the server.

So what should I do about an installer. I'm thinking a simple web page that asks for a little bit of user input and then imports the xml file into vbulletin, and then spells out some information about how to update the postbit template (rather than try to update it automatically).

Is there an example of a page that automatically install plugins out there? Where do installers typically get uploaded to?

Andreas 07-07-2005 09:34 PM

Well, there are many different ways to create an Installer.
What should this Installer do?

nevetS 07-07-2005 09:59 PM

Sorry that I wasn't more clear:

1) get input from user about 3 things:
carp install location
carp cache location
cache refresh time period
2) dynamically update the xml for the plugin based on these variables.
(this part I can do pretty easily with php code)
3) upload the plugin xml files automatically. (so the user doesn't have to do it in a separate step)
4) display additional configuration information and an installation success/error message.

Andreas 07-07-2005 10:02 PM

Hmm, why not make those variables vBulletin Settings?

nevetS 07-07-2005 10:24 PM

not a bad idea... but I'm a newbie. I'll do a little bit of research and see if I can't figure it out.


All times are GMT. The time now is 04: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.00947 seconds
  • Memory Usage 1,709KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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