vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Plugin XML format, RFC from dev/plugin authors (https://vborg.vbsupport.ru/showthread.php?t=83157)

tamarian 06-15-2005 05:12 PM

Plugin XML format, RFC from dev/plugin authors
 
Hi folks,

I think the plugin XML file could be greatly enhanced with a few new fields and some extra functionality.

There's already a couple of hacks to enhance it, but I really think it's best done from the source (vb.com), otherwise upgrading would be complicated if plugin authors and users need to keep porting those hacked plugin changes with each upgrade.

Please add any fields you think are useful, or any comments. Who knows, it may show up in the next beta :)

Proposed new optional fields to the XML file format:

Plugin Description: With so many plugins listed, it would be helpful to the users to have a summary of what this is for. Already avaialble as new hack

Plugin version: Would be a good reference for support from the author. Already available as new hack

Plugin version check: This offers the option of checking for the latest version of the plugin. Already available as new hack

Plugin author: Author's name or username

Plugin source URL:
Mostly the plugins's support thread

Plugin credits: For earlier version if ported, or any co-authors.

Plugin License: Useful if there are any special terms.

etc...

Plugin group: This would identify the main plugin, for multiple plugin hacks and would help organizing the hierarchy for plugins (like template groups). It can also be useful if vB implements an "all or nothing" option for large plugin sets, that have to be used together (a single On/Off-Switch for one hack - even if it uses multiple Hooks.). This, of course, is not just a format change :) I just have the feeling vB will do soemthing like this anyway.

---

Any way, that's a draft. What do you think?

Andreas 06-15-2005 05:16 PM

All of these things are useful.
IMHO the most important thing would be the possibility to have a single On/Off-Switch for one hack - even if it uses multiple Hooks.
Currently it is a real PITA having to disable/delete a hack that uses multiple hooks.

tamarian 06-15-2005 05:19 PM

Quote:

Originally Posted by KirbyDE
IMHO the most important thing would be the possibility to have a single On/Off-Switch for one hack - even if it uses multiple Hooks.
Currently it is a real PITA having to disable/delete a hack that uses multiple hooks.

That what I meant by "all or nothing" option. But I like the way you put it better :) So I add it.

Marco van Herwaarden 06-15-2005 07:27 PM

This should really be posted at vb.com.

There is a thread about hook enhancement requests there.

tamarian 06-15-2005 07:48 PM

Quote:

Originally Posted by MarcoH64
This should really be posted at vb.com.

That was the intention, when the input is collected from plugin authors. At the rate things are going, we'll end up with 10 different hacks for these fields.

Quote:

There is a thread about hook enhancement requests there.
That thread is for "hook location requests", but I posted a link there anyway. If they say it's off-topic, I'll rat on you ;)

Marco van Herwaarden 06-15-2005 08:50 PM

hehe, i am used to being used as a scapegoat, no problem.

I don't even know how that thread is going atm. So much short on time right now, that i haven't even had the chance to have a decent dive into 3.5. :(

And then to know that the month before 3.5 came out i had all time of the world.

eXtremeTim 06-15-2005 09:48 PM

I dont ever see them making a plugin version checker. I could see them doing the plugin version stuff.

Paul M 06-15-2005 10:59 PM

Version check, credits and licence do not worry me, the rest seem useful.

I really would like the group facility to tie plugins together, like styles and child styles.

Marco van Herwaarden 06-16-2005 06:25 AM

In my opinion a group function is really a must.


All times are GMT. The time now is 11:44 AM.

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.01127 seconds
  • Memory Usage 1,731KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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