Topic: Playing with Extension

Hi PunBB Dev Team wink

I'd like to know if you could provide us the schema of a xml file of an extension ?

i mean something like that (i'm not sure to have correclty read the xml.php file wink :

<extension>
<id> </id>
<title> </title>
<version> </version>
<author> </author>
<description> </description>
<hooks>
    <hook id=111>
      <content></content>
    </hook>
</hooks>
</extension>

and what kind of value do we have to put in each node.

Kind Regards.

Re: Playing with Extension

This was posted on the blog by Rickard:

<?xml version="1.0" encoding="utf-8"?>

<extension>
  <id>pm</id>
  <title>Private Messaging</title>
  <version>1.0</version>
  <description>Allows board members to send each other private messages.</description>
  <author>PunBB Development Team</author>

  <install><![CDATA[
    // Install code here
  ]]></install>

  <uninstall><![CDATA[
    // Uninstall code here
  ]]></uninstall>

  <hooks>
    <hook id="fn_navlinks"><![CDATA[
        // Hook code here
    ]]></hook>

    <hook id="hd_visit"><![CDATA[
        // Hook code here
    ]]></hook>

    <hook id="agr_section_permissions"><![CDATA[
        // Hook code here
    ]]></hook>
  </hooks>
</extension>

3 (edited by foxmask 2007-02-23 15:46)

Re: Playing with Extension

thanks wink

do you know if punxs is able to produce the manifest.xml itself ?
i mean ; after having modified the source code of punBB 1.3 for our own usage, does punxs is able to export the modifications we made and "build" the manifest and thus be able to provide what it has became our extension ?

kind regards.

Re: Playing with Extension

Does punxs run on wine is my greatest concern. Java, or wxwidgets (Even MFC, since MFC is a wrapper for the functions that wine already supports) would have been a much more OS independent way to develop punxs tongue Guess I'll wait till there's a binary download to try it out.

echo "deadram"; echo; fortune;

Re: Playing with Extension

PunXS is meant to do that tongue

Re: Playing with Extension

deadram wrote:

Does punxs run on wine is my greatest concern. Java, or wxwidgets (Even MFC, since MFC is a wrapper for the functions that wine already supports) would have been a much more OS independent way to develop punxs tongue Guess I'll wait till there's a binary download to try it out.

.net and mfc wrap the same functions.  you'll need to probably make sure wine is configured for .net 2.0.

Re: Playing with Extension

MadHatter wrote:

.net and mfc wrap the same functions....

I ran away from windows around the time of .net 1, and haven't run into any .net based config panels for games I play, so I figured I'd go on the aggressive tongue Apologies to the punxs dev team smile

echo "deadram"; echo; fortune;