Welcome, Guest. Please Login or Register.
May 09, 2025, 10:22:36 AM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  XML Version of YaBBSE mods « previous next »
Pages: 1 [2] Reply Ignore Print
Author Topic: XML Version of YaBBSE mods  (Read 2994 times)
Shoeb Omar
Disciple of Joe
YaBB God
*****
Posts: 1420


The shrub demands war. I don't. The world doesn't.

ICQ - 69234983clickopedia@hotmail.com WWW
Re:XML Version of YaBBSE mods
« Reply #15 on: December 27, 2002, 10:23:06 AM »
Reply with quote

Yehm he's posted a thread. I'm sure Michael, or Torsten willl answer it as soon as they wake up :).
Logged

"If we all practice an eye for an eye, pretty soon the whole world will be blind" - Gandhi

We need to start listening to advocates of peace in oder to advance society. We have not grown from the prehistoric barbarians we once were.  Will society ever mature?
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:XML Version of YaBBSE mods
« Reply #16 on: January 01, 2003, 12:31:33 AM »
Reply with quote

Alright, they didn't like that idea..... but I've got a new one!

Package.list is not a very well documented file - why not chnage that?  Making it XML would make it much easier to write and would give more features.

Here's my current example.  With this, packages could be easily "updatable" with the click of a link.  Not only that, but some could be only for certain versions of YaBBSE.

<?xml version="1.0"?>
<package-list xmlns="http://www.yabbse.org/" version="0.1">
 <section>
  <title>YaBBSE 1.5.0</title>
  <subsection>
   <modification id="[Unknown]:test">
    <title>Test Modification</title>
    <version>0.1</version>
    <author email="[email protected]">[Unknown]</author>
    <website title="blah">http://gbaetc.homeip.net/yypack/</website>
    <filename>test.mod.yp</filename>
    <description>test</description>
   </modification>
   <avatars id="[Unknown]:avatars">
    <title>Test Avatars</title>
    <version>0</version>
    <author email="[email protected]">[Unknown]</author>
    <website>http://gbaetc.homeip.net/yypack/</website>
    <filename>test.as.yp</filename>
    <description>testing.</description>
   </avatars>
   <language id="[Unknown]:en">
    <title>English</title>
    <version>1.5.0</version>
    <author email="[email protected]">[Unknown]</author>
    <website>http://gbaetc.homeip.net/yypack/</website>
    <filename>english.lng.yp</filename>
    <description>ENGLISH</description>
   </language>
   <theme id="[Unknown]:theme">
    <title>...</title>
    <version>-1.0</version>
    <author email="[email protected]">[Unknown]</author>
    <website>http://gbaetc.homeip.net/yypack/</website>
    <filename>bleh.thm.yp</filename>
    <description>some theme</description>
   </theme>
  </subsection>
  <subsection>
   <title>Bug fixes</title>
   <modification id="[Unknown]:allbugfixes2">
    <title>All Bugfixes 12-29-2002</title>
    <version yabbse="YaBB SE 1.5.0">1.5</version>
    <author email="[email protected]">[Unknown]</author>
    <website>http://gbaetc.homeip.net/yypack/</website>
    <filename>allbugfixes12-29-02.mod.yp</filename>
    <description>Fixes all the bugs found in YaBBSE [b]1.5.0[/b] as of 12-29-2002.</description>
   </modification>
   <modification id="[Unknown]:allbugfixes">
    <title>All Bugfixes 12-27-2002 to 12-29-2002 update</title>
    <version yabbse="YaBB SE 1.5.0">1.5</version>
    <author email="[email protected]">[Unknown]</author>
    <website>http://gbaetc.homeip.net/yypack/</website>
    <filename>bugfixupd12-29-02.mod.yp</filename>
    <description>Fixes all the bugs found in YaBBSE [b]1.5.0[/b] as of 12-29-2002 from previous update.</description>
   </modification>
   <modification id="[Unknown]:allbugfixes">
    <title>All Bugfixes 12-27-2002</title>
    <version yabbse="YaBB SE 1.5.0">1.12</version>
    <author email="[email protected]">[Unknown]</author>
    <website>http://gbaetc.homeip.net/yypack/</website>
    <filename>allbugfixes12-27-02.mod.yp</filename>
    <description>Fixes all the bugs found in YaBBSE [b]1.5.0[/b] as of 12-27-2002.</description>
   </modification>
  </subsection>
 </section>
</package-list>

I've already written a basic php script that is able to display this information in html format, but it's not done.  The other problem is that I'm using a 220k class for the xml parsing. (this is because php's inbuilt xml support isn't that good and can't be depended on.... plus it's usually not installed/configured properly.)

Anyone know of a better one?

-[Unknown]
« Last Edit: January 01, 2003, 12:38:14 AM by [Unknown] » Logged
Joseph Fung
Global Moderator
YaBB God
*****
Posts: 4512


Keep smiling: it makes others nervous.

WWW
Re:XML Version of YaBBSE mods
« Reply #17 on: January 01, 2003, 03:35:46 AM »
Reply with quote

Just a note - I *really* like the idea of having mod files and related data files in an XML format.

I wish I'd thought of the idea.  And I would definitely put my mods in that format were it supported.
Logged

[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:XML Version of YaBBSE mods
« Reply #18 on: January 01, 2003, 03:53:29 AM »
Reply with quote

Quote from: Joseph Fung on January 01, 2003, 03:35:46 AMJust a note - I *really* like the idea of having mod files and related data files in an XML format.

I wish I'd thought of the idea.  And I would definitely put my mods in that format were it supported.

Thanks!

I'll see what I can do about making sure the processing doesn't take a 200 kb source file.... but, I think that the big thing I could introduce is 'updatable' mods...

Every mod would have an ID, assigned by the author.  They would looks like "[Unknown]:mymod" or "Joseph Fung:hismod".  When you go to update your mods, the script checks for newer versions of your mods (using the id attribute and the version element) that work with the current YaBBSE version.  (the yabbse attribute of version, something like "YaBBSE 1.5.0" or "YaBBSE 1.4.0/YaBBSE 1.4.1" I'm still thinking on that...)  It then prompts you with checkboxes, and uninstalls, redownloads, and reinstalls the mods you selected.

Or something similar.... I'm still working out the details.

-[Unknown]
Logged
tdodnz
Sr. Member
****
Posts: 275


Asleep zzzzz (Snore Snore)

ICQ - 166370583cnd_nz@go.com WWW
Re:XML Version of YaBBSE mods
« Reply #19 on: January 01, 2003, 05:15:20 AM »
Reply with quote

Yeah Yeah this mod would rule but problem is I don't know XML :(

You would have to release a new tutorial on writing packages or have both set up
« Last Edit: January 01, 2003, 05:17:14 AM by tdodnz » Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:XML Version of YaBBSE mods
« Reply #20 on: January 01, 2003, 05:16:26 AM »
Reply with quote

They would both work, and I would write a tutorial.

-[Unknown]
Logged
tdodnz
Sr. Member
****
Posts: 275


Asleep zzzzz (Snore Snore)

ICQ - 166370583cnd_nz@go.com WWW
Re:XML Version of YaBBSE mods
« Reply #21 on: January 01, 2003, 05:18:52 AM »
Reply with quote

man that was quick well anyway I should get back to writing my mods i took a break last night played games cudn't be bothered need more sleep ill work on em 2morrow got no work  ;D
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:XML Version of YaBBSE mods
« Reply #22 on: January 01, 2003, 04:07:03 PM »
Reply with quote

Alright take a look....

http://gbaetc.homeip.net/yypack/xml/index.php
http://gbaetc.homeip.net/yypack/xml/test.xml

So far so good?

-[Unknown]
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
More XML Progress
« Reply #23 on: January 02, 2003, 06:26:57 AM »
Reply with quote

Take a look at a screenshot of a xml based package.list working in YaBBSE.

http://blackswordqb.tripod.com/xmltest.html

It's still missing some features... but I think IMHO it's looking good....

Should I store the installed/update list in the mysql or on the server?

ie.
CREATE TABLE {$db_prefix}modifications (
   id TINYTEXT NOT NULL,
   filename TINYTEXT NOT NULL,
   version TINYTEXT,
);

Or something... then I would be able to check if the uninstall pak was the same version, and give a warning... plus, I could use the id for updating.

Any ideas?

-[Unknown]
« Last Edit: January 02, 2003, 07:42:54 AM by [Unknown] » Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:XML Version of YaBBSE mods
« Reply #24 on: January 02, 2003, 05:33:13 PM »
Reply with quote

Put up another purdy picture for anyone who cares..

http://blackswordqb.tripod.com/xmltest.html

[update: put in doUBBC for the desc... had forgotten :-[ ]

-[Unknown]
« Last Edit: January 02, 2003, 05:41:04 PM by [Unknown] » Logged
tdodnz
Sr. Member
****
Posts: 275


Asleep zzzzz (Snore Snore)

ICQ - 166370583cnd_nz@go.com WWW
Re:XML Version of YaBBSE mods
« Reply #25 on: January 02, 2003, 08:33:08 PM »
Reply with quote

Hey i appreciate it  ;D

man how long you been doing mods for this it never takes u long, it takes me ages, cause im sorta new to php, but there all good in the end, well sorta new means like 6 months, but i don some pretty hardcore stuff wit it.

Latest project me and my mate are working on.
A MSN Messenger made in Flash MX using the Flash MX communications server, its got games animations the lot
Logged
Shindou Hikaru
Honinbou
YaBB Crony
YaBB God
*****
Posts: 1358


ICQ - 152652980mephidmann@emulation-inc.com WWW
Re:XML Version of YaBBSE mods
« Reply #26 on: January 06, 2003, 09:10:16 PM »
Reply with quote

I actually proposed a similar system to Micheal and the BM gang a long time ago but they turned it down.
Logged

Please do not message me for support, use the support boards
Amazon Wishlist | ThinkGeek Wishlist | My Blog
Pages: 1 [2] Reply Ignore Print 
YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  XML Version of YaBBSE mods « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.037 seconds with 20 queries.