Welcome, Guest. Please Login or Register.
May 09, 2025, 11:11:20 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 2995 times)
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
XML Version of YaBBSE mods
« on: December 26, 2002, 08:57:01 AM »
Reply with quote

The format for a current mod is SGML-based, but what if it were changed to be more with the times?  An XML version could be parsed by PHP, and accessed through XPath. (just like in XSLT ;D)  This would make it easier to debug and execute mods, esp. without any errors or loops.  Further, it could be used to implement more functionality.

Here's an example:
<?xml version="1.0"?>
<modification xmlns="http://www.yabbse.org/">
 <information>
  <name>XML Version of YaBBpak .mod File</name>
  <version>1.0</version>
  <yabbversion>1.5</yabbversion>
  <description>
   Gives a better standard for creating and deploying a modification.
  </description>
  <readme>
   Important details on the modification.
  </readme>
  <author>
   <name>[Unknown]</name>
   <email>[email protected]</email>
   <website>http://gbaetc.homeip.net/</website>
  </author>
  <website>http://gbaetc.homeip.net/about.page.-.will.have.one.if.anyone.cares.php</website>
 </information>
 <sql><![CDATA[
SELECT "Any SQL to be done could be provided too";
]]>
 </sql>
 <php><![CDATA[
<?php echo 'PHP code to be executed on install';?>
]]>
 </php>
 <file>
  <filename>$sourcedir/somefile.php</filename>
  <search>
   <find><![CDATA[
original text to find....
]]>
   </find>
   <modify type="replace"><![CDATA[
new text to replace into...
can use "replace", "remove", "add after", and "add before."
]]>
   </modify>
  </search>
  <search>
   <find><![CDATA[
multiple searches, etc.
]]>
   </find>
   <modify type="remove" />
  </search>
 </file>
</modification>

Does anyone have any comments on this?

If people would be willing to use it, I would be more than happy to create a modification that would execute it.

Thanks,
-[Unknown]
« Last Edit: December 26, 2002, 09:02:17 AM by [Unknown] » Logged
David
Destroyer Dave
Global Moderator
YaBB God
*****
Posts: 5761


I'm not a llama!

WWW
Re:XML Version of YaBBSE mods
« Reply #1 on: December 26, 2002, 09:38:54 AM »
Reply with quote

Would you write a new copy of the Boardmod program too?  If so then I think it is a great idea.
Logged

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


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:XML Version of YaBBSE mods
« Reply #2 on: December 26, 2002, 10:00:55 AM »
Reply with quote

Well, I would have to work with the creator(s) of Boardmod, (which is, mind you a program I have *NEVER* run or looked at) but being a C++ programmer (just don't tell me it's written in VB *shidders* the humanity), I think I could manage.

-[Unknown]
Logged
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 #3 on: December 26, 2002, 08:51:05 PM »
Reply with quote

Quote from: [Unknown] on December 26, 2002, 10:00:55 AMWell, I would have to work with the creator(s) of Boardmod, (which is, mind you a program I have *NEVER* run or looked at) but being a C++ programmer (just don't tell me it's written in VB *shidders* the humanity), I think I could manage.

-[Unknown]

Might want to contact the devs at http://boardmod.sourceforge.net , and I believe its writtenin Delphi.
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 #4 on: December 26, 2002, 08:58:00 PM »
Reply with quote

Alright, well... I have not learned Delphi, but I might be able to manage....

-[Unknown]
Logged
groundup
Disciple of Joe, Head Cleric
Mod Team
YaBB God
*****
Posts: 2983


Error 309: Please notify the administrator of this

WWW
Re:XML Version of YaBBSE mods
« Reply #5 on: December 26, 2002, 09:43:21 PM »
Reply with quote

it seems to be a relatively easy thing to do in cpp (from what i remember from cpp). So if you wanted, you could just recreate it in cpp
Logged

http://www.fastfinancialfreedom.org - financial freedom is a myth
http://www.fastfinancialfreedom.org - financial freedom is a myth
http://www.fastfinancialfreedom.org - financial freedom is a myth
fastfinancialfreedom.org
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:XML Version of YaBBSE mods
« Reply #6 on: December 26, 2002, 09:46:17 PM »
Reply with quote

Yes.... but, what I want to know is would anyonw care?

I'm not going to put the time into it if no one will use it.

-[Unknown]
Logged
groundup
Disciple of Joe, Head Cleric
Mod Team
YaBB God
*****
Posts: 2983


Error 309: Please notify the administrator of this

WWW
Re:XML Version of YaBBSE mods
« Reply #7 on: December 26, 2002, 09:55:49 PM »
Reply with quote

create the documentation and create a mod or 2 so we can see what it will be like, might use it. You should go over to boardmod and talk to them about it
Logged

http://www.fastfinancialfreedom.org - financial freedom is a myth
http://www.fastfinancialfreedom.org - financial freedom is a myth
http://www.fastfinancialfreedom.org - financial freedom is a myth
fastfinancialfreedom.org
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:XML Version of YaBBSE mods
« Reply #8 on: December 27, 2002, 01:48:28 AM »
Reply with quote

Alright, I converted the Collapsable YaBB mod for 1.4.1 to the xml format...

http://gbaetc.homeip.net/xmlmod/

-[Unknown]
Logged
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 #9 on: December 27, 2002, 02:13:18 AM »
Reply with quote

Quote from: [Unknown] on December 27, 2002, 01:48:28 AMAlright, I converted the Collapsable YaBB mod for 1.4.1 to the xml format...

http://gbaetc.homeip.net/xmlmod/

-[Unknown]

please do contact the boarmdod developers, I'm sure they'd look into such an idea...
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?
David
Destroyer Dave
Global Moderator
YaBB God
*****
Posts: 5761


I'm not a llama!

WWW
Re:XML Version of YaBBSE mods
« Reply #10 on: December 27, 2002, 02:19:55 AM »
Reply with quote

1 more and you are at 1000 posts Omario! ;D ;D

I also see this as being the next version of YaBBPack.
Logged

groundup
Disciple of Joe, Head Cleric
Mod Team
YaBB God
*****
Posts: 2983


Error 309: Please notify the administrator of this

WWW
Re:XML Version of YaBBSE mods
« Reply #11 on: December 27, 2002, 02:33:29 AM »
Reply with quote

I wish boardmod had more modify types.. replace all, replace all in [file,file,file,file], etc would be such cool options
Logged

http://www.fastfinancialfreedom.org - financial freedom is a myth
http://www.fastfinancialfreedom.org - financial freedom is a myth
http://www.fastfinancialfreedom.org - financial freedom is a myth
fastfinancialfreedom.org
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:XML Version of YaBBSE mods
« Reply #12 on: December 27, 2002, 02:40:50 AM »
Reply with quote

Okay, how about this:

[edit: darn it I meant to add "all" also]
<find number="first|last|##|all">(where the number could be 5 to indicate the fifth occurance)


Quote from: David on December 27, 2002, 02:19:55 AM1 more and you are at 1000 posts Omario! ;D ;D

I also see this as being the next version of YaBBPack.

Thank you very much!  Now if I can just get someone to say that "if this was integrated into YaBBSE I would use it to make mods."

-[Unknown]
« Last Edit: December 27, 2002, 02:49:16 AM by [Unknown] » Logged
Manco
Beta Tester
Sr. Member
****
Posts: 420


WWW
Re:XML Version of YaBBSE mods
« Reply #13 on: December 27, 2002, 03:09:34 AM »
Reply with quote

Sounds like a good thing to do. I'm sure people would use it.

I personally dont user BoardMod or YabbPack - find it just soooo much easier and better for me anyway, to just edit the code.  ;)
Logged

groundup
Disciple of Joe, Head Cleric
Mod Team
YaBB God
*****
Posts: 2983


Error 309: Please notify the administrator of this

WWW
Re:XML Version of YaBBSE mods
« Reply #14 on: December 27, 2002, 10:20:03 AM »
Reply with quote

well.. did you contact the boardmod devs?
Logged

http://www.fastfinancialfreedom.org - financial freedom is a myth
http://www.fastfinancialfreedom.org - financial freedom is a myth
http://www.fastfinancialfreedom.org - financial freedom is a myth
fastfinancialfreedom.org
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.166 seconds with 20 queries.