Update to the MODDB policy for phpBB3.

Discussion forum for MOD Writers regarding MOD Development.
User avatar
Erik Frèrejean
Former Team Member
Posts: 9899
Joined: Tue Oct 09, 2007 9:09 am
Location: The Netherlands, 3.0.x Support Forum
Name: Erik Frèrejean
Contact:

Re: Update to the MODDB policy for phpBB3.

Post by Erik Frèrejean »

And therefor it should be good to change it, cause having the need of a couple of identical XSL files is kinda over done if you ask me :).
Support Toolkit | Support Request Template | Knowledge Base | phpBB 3.0.x documentation
I don't give support via PM or IM! (all unsolicited pms will be trashed!)
User avatar
primehalo
Former Team Member
Posts: 2988
Joined: Fri May 06, 2005 5:58 pm
Location: Redding, CA
Contact:

Re: Update to the MODDB policy for phpBB3.

Post by primehalo »

Ken F. Innes IV
My Extensions | My MODs | My Topics | My Site: Absolute Anime
Experience the wonder of Japanese Animation!
User avatar
Erik Frèrejean
Former Team Member
Posts: 9899
Joined: Tue Oct 09, 2007 9:09 am
Location: The Netherlands, 3.0.x Support Forum
Name: Erik Frèrejean
Contact:

Re: Update to the MODDB policy for phpBB3.

Post by Erik Frèrejean »

Thanks guys :).
Support Toolkit | Support Request Template | Knowledge Base | phpBB 3.0.x documentation
I don't give support via PM or IM! (all unsolicited pms will be trashed!)
User avatar
Erik Frèrejean
Former Team Member
Posts: 9899
Joined: Tue Oct 09, 2007 9:09 am
Location: The Netherlands, 3.0.x Support Forum
Name: Erik Frèrejean
Contact:

Re: Update to the MODDB policy for phpBB3.

Post by Erik Frèrejean »

One more comment on the change in that policy (not sure whether this is the right place, but I think so). MPV still thinks that it is wrong to have the xsl not in the same directory as the xml
Image
Click for full size
Support Toolkit | Support Request Template | Knowledge Base | phpBB 3.0.x documentation
I don't give support via PM or IM! (all unsolicited pms will be trashed!)
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 28616
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Re: Update to the MODDB policy for phpBB3.

Post by Paul »

Erik Frèrejean wrote:One more comment on the change in that policy (not sure whether this is the right place, but I think so). MPV still thinks that it is wrong to have the xsl not in the same directory as the xml
Image
Click for full size
Thats because the policy still says that it should be in the same dir :). we only allow different ways, as long the xml displays in firefox3 (And other browsers ofcourse).
User avatar
Erik Frèrejean
Former Team Member
Posts: 9899
Joined: Tue Oct 09, 2007 9:09 am
Location: The Netherlands, 3.0.x Support Forum
Name: Erik Frèrejean
Contact:

Re: Update to the MODDB policy for phpBB3.

Post by Erik Frèrejean »

Ok thanks for clearing that up Paul :). I assumed that the whole policy was updated on that point.
Support Toolkit | Support Request Template | Knowledge Base | phpBB 3.0.x documentation
I don't give support via PM or IM! (all unsolicited pms will be trashed!)
User avatar
primehalo
Former Team Member
Posts: 2988
Joined: Fri May 06, 2005 5:58 pm
Location: Redding, CA
Contact:

Re: Update to the MODDB policy for phpBB3.

Post by primehalo »

Pretty sure the MODDB policy regarding packaging was updated a couple weeks ago to lessen that restriction:
http://www.phpbb.com/mods/policies/gene ... _packaging
Ken F. Innes IV
My Extensions | My MODs | My Topics | My Site: Absolute Anime
Experience the wonder of Japanese Animation!
User avatar
iEric
Registered User
Posts: 249
Joined: Mon Apr 10, 2006 10:57 pm
Location: Falköping, Sweden
Contact:

Re: Update to the MODDB policy for phpBB3.

Post by iEric »

A question about #item1d
The filename for the MODX XSL must be modx.prosilver.en.xsl
I have a vague memory about reading a discussion some way back about this - that it was OK to rename the xsl file... (even encuraged to do it (sort of)) to avoid missconceptions it's a stylesheet, and not the edits for for prosilver. :roll:
I am probably wrong out this since I can read a "must" in the line now, but I'd like to have mine like: xml/modx.stylesheet.xsl in my folder if that's ok ? ...or is it '#item1d' that goes?
(I think that is a good name)
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 28616
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Re: Update to the MODDB policy for phpBB3.

Post by Paul »

The checklist is incorrect (Can you please report it as bug in the website bugtracker?), its allowed to rename it, but we prefer to keep the default name.
User avatar
iEric
Registered User
Posts: 249
Joined: Mon Apr 10, 2006 10:57 pm
Location: Falköping, Sweden
Contact:

Re: Update to the MODDB policy for phpBB3.

Post by iEric »

OK thanks, and the report has been made. :)
User avatar
iEric
Registered User
Posts: 249
Joined: Mon Apr 10, 2006 10:57 pm
Location: Falköping, Sweden
Contact:

Re: Update to the MODDB policy for phpBB3.

Post by iEric »

primehalo wrote:The Firefox 3 security issue does not allow accessing files that are in a higher level on a file system (as in, if you use "../"), as I have verified on both Windows and Linux, but it has absolutely no problem with lower level access. I have repackaged all of my MODs like this, and Firefox 3 has no trouble with it:
./installation instructions.xml
./contrib/template subsilver2.xml
./contrib/language es.xml
./contrib/language ru.xml
./contrib/xsl/modx.prosilver.en.xsl
I just tested this and it was working on my (mac) FF3.0.3
./install.xml
./contrib/subsilver2/subsilver2.xml
./contrib/updates/update1.xml
./contrib/updates/update2.xml
./contrib/xsl/modx.prosilver.en.xsl

Using "../xsl/modx.prosilver.en.xsl" in the 3 last xml files.
If someone could test this... Will this work on PC too?

- - -
But anyway, what really confuses me :? , and if anyone could please explain why on this...

The FF3-issue:
Having the xsl file in root or in a subfolder within root - then you can't use "../../xsl/modx.prosilver.en.xsl" in your contrib/xx/somefile.xml to call the stylesheet.

But it does work to use ../../ in a linkgroup, when you link back to you main MOD file.

Code: Select all

<link type="dependency" href="../../Install.xml" lang="en">Main MOD file - Install.xml</link>
Why does it work in one situation and not both? What is the difference? :roll:
Not that it matter and we will use what works, but I was just curious on the different behaviours.
User avatar
primehalo
Former Team Member
Posts: 2988
Joined: Fri May 06, 2005 5:58 pm
Location: Redding, CA
Contact:

Re: Update to the MODDB policy for phpBB3.

Post by primehalo »

iEric wrote:
primehalo wrote:The Firefox 3 security issue does not allow accessing files that are in a higher level on a file system (as in, if you use "../"), as I have verified on both Windows and Linux, but it has absolutely no problem with lower level access. I have repackaged all of my MODs like this, and Firefox 3 has no trouble with it:
./installation instructions.xml
./contrib/template subsilver2.xml
./contrib/language es.xml
./contrib/language ru.xml
./contrib/xsl/modx.prosilver.en.xsl
I just tested this and it was working on my (mac) FF3.0.3
./install.xml
./contrib/subsilver2/subsilver2.xml
./contrib/updates/update1.xml
./contrib/updates/update2.xml
./contrib/xsl/modx.prosilver.en.xsl

Using "../xsl/modx.prosilver.en.xsl" in the 3 last xml files.
If someone could test this... Will this work on PC too?
It will work on a webserver, such as if you are viewing the instructions on a localhost: http://localhost/install.xml, but it doesn't work if you are viewing it as a file on the hard drive, such as file:///C:/install.xml... or at least that's how it works on a Windows XP machine.
iEric wrote: But anyway, what really confuses me :? , and if anyone could please explain why on this...

The FF3-issue:
Having the xsl file in root or in a subfolder within root - then you can't use "../../xsl/modx.prosilver.en.xsl" in your contrib/xx/somefile.xml to call the stylesheet.

But it does work to use ../../ in a linkgroup, when you link back to you main MOD file.

Code: Select all

<link type="dependency" href="../../Install.xml" lang="en">Main MOD file - Install.xml</link>
Why does it work in one situation and not both? What is the difference? :roll:
Not that it matter and we will use what works, but I was just curious on the different behaviours.
Because the link is just a link, which you click to take you to another page, while the XSL file is actually loaded by the XML file and affects how it is displayed and how it operates.
Ken F. Innes IV
My Extensions | My MODs | My Topics | My Site: Absolute Anime
Experience the wonder of Japanese Animation!
User avatar
iEric
Registered User
Posts: 249
Joined: Mon Apr 10, 2006 10:57 pm
Location: Falköping, Sweden
Contact:

Re: Update to the MODDB policy for phpBB3.

Post by iEric »

primehalo wrote:It will work on a webserver, such as if you are viewing the instructions on a localhost: http://localhost/install.xml, but it doesn't work if you are viewing it as a file on the hard drive, such as file:///C:/install.xml... or at least that's how it works on a Windows XP machine.
Yes, I noticed the "direct access" didn't work, however... if opening the install.xml first, then it was not a problem to navigate back and forth using the link-groups (assuming they're setup with a parent or depenecy link back to install.xml)... so, I guess it won't work as it suppose to anyway.

Well well.. It's a shame FF messed this up. Of course It can be told to the user to disable this uricheck in the browser, but I hope they come up with a better solution in the future.

Thanks for the answers! :)
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 28616
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Re: Update to the MODDB policy for phpBB3.

Post by Paul »

Hi all,

The MODDB policy @ http://www.phpbb.com/mods/policies/general.php has been updated to include some missing items and some changed items.

We have added a new section regarding XML naming convention, regarding names of the XML files that can be included within a MOD.

We also have updated the section regarding Insta Deny, to include MPV.

We still like to hear feedback or questions from the community regarding the policy.

The phpBB MOD team.
User avatar
poyntesm
Registered User
Posts: 1671
Joined: Tue Jan 18, 2005 11:19 am
Location: Dublin, Ireland
Contact:

Re: Update to the MODDB policy for phpBB3.

Post by poyntesm »

Hi Paul,

Still no guidelines on language imageset files. Seems this file type is often forgotten. :?
Locked

Return to “[3.0.x] MOD Writers Discussion”