Forums

Unfortunately no one can be told what FluxBB is - you have to see it for yourself.

You are not logged in.

#1 2010-02-22 06:52:14

daris
Developer
From: Poland
Registered: 2008-05-09
Posts: 538

[Idea] XML readme

What do you think about putting readme.txt instructions into XML file? It can be something like:

<open src="includes/functions_posting.php">
    <find><![CDATA[            $sql_data[POSTS_TABLE]['sql'] = array(]]></find>
    <action type="after-add"><![CDATA[                'user_agent'        => $_SERVER['HTTP_USER_AGENT'],]]></action>
</open>
<open src="viewtopic.php">
    <find><![CDATA[    $rowset[$row['post_id']] = array(]]></find>
    <action type="after-add"><![CDATA[        'user_agent'            => $row['user_agent'],]]></action>
    <find><![CDATA[    $postrow = array(]]></find>
    <action type="before-add"><![CDATA[    // Browser and OS icons
include_once $phpbb_root_path . 'includes/user_agent.' . $phpEx;]]></action>
    <action type="after-add"><![CDATA[        get_useragent_icons($row['user_agent']),    // USER AGENT]]></action>
</open>

You could just add XSL styling file. I mean about something like phpbb3 has (modx).

Offline

#2 2010-02-22 16:58:56

FSX
Developer
From: NL
Registered: 2008-05-09
Posts: 805
Website

Re: [Idea] XML readme

I don't think that's a good idea. The readme file should be readable and it's not really easy to read XML as plain text.

You could provide this as an "install" file in your mod package.

And how does it handle forums which already got a lot of modifications?

Last edited by FSX (2010-02-22 17:01:02)

Offline

Board footer

Powered by FluxBB 1.5.0