Update to the MODDB policy for phpBB3.

Discussion forum for MOD Writers regarding MOD Development.
User avatar
Erik Frèrejean
Former Team Member
Posts: 9897
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 » Fri Sep 12, 2008 5:48 pm

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: 2722
Joined: Fri May 06, 2005 5:58 pm
Location: Redding, CA
Contact:

Re: Update to the MODDB policy for phpBB3.

Post by primehalo » Fri Sep 12, 2008 5:56 pm

Ken F. Innes IV
My MODs | My Topics | My Site: Absolute Anime
Experience the wonder of Japanese Animation!

User avatar
Erik Frèrejean
Former Team Member
Posts: 9897
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 » Fri Sep 12, 2008 6:00 pm

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: 9897
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 » Tue Sep 23, 2008 5:17 pm

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!)

User avatar
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 23954
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 » Tue Sep 23, 2008 5:21 pm

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).
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development

User avatar
Erik Frèrejean
Former Team Member
Posts: 9897
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 » Tue Sep 23, 2008 5:26 pm

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: 2722
Joined: Fri May 06, 2005 5:58 pm
Location: Redding, CA
Contact:

Re: Update to the MODDB policy for phpBB3.

Post by primehalo » Tue Sep 23, 2008 7:41 pm

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 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 » Thu Oct 30, 2008 12:21 am

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)

User avatar
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 23954
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 » Thu Oct 30, 2008 9:30 am

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.
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development

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 » Thu Oct 30, 2008 2:18 pm

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 » Thu Oct 30, 2008 6:01 pm

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: 2722
Joined: Fri May 06, 2005 5:58 pm
Location: Redding, CA
Contact:

Re: Update to the MODDB policy for phpBB3.

Post by primehalo » Sat Nov 01, 2008 9:43 pm

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 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 » Sat Nov 01, 2008 11:04 pm

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! :)

User avatar
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 23954
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 » Sun Dec 21, 2008 2:35 pm

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.
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development

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 » Mon Dec 22, 2008 1:46 pm

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”

Who is online

Users browsing this forum: No registered users and 11 guests