The Wayback Machine - https://web.archive.org/all/20060524123908/http://www.phpbb.com:80/phpBB/viewtopic.php?t=379345
PHP Bulletin Board Home
News About Home
Features of phpBB Test drive phpBB Downloads Support for phpBB The phpBB Community Styles for customising phpBB 3rd party modifications to phpBB


[Tool] MOD To MODX Convertor
Goto page 1, 2  Next
 
Post new topic   Reply to topic    phpBB.com Forum Index -> MOD Release Announcements & Support
View previous topic :: View next topic  

Rating:
Excellent!
100%
 100%  [ 4 ]
Very Good
0%
 0%  [ 0 ]
Good
0%
 0%  [ 0 ]
Fair
0%
 0%  [ 0 ]
Poor
0%
 0%  [ 0 ]
Total Votes : 4

Author Message
MOD Database Manager
I'm a bot... don't bother me :)


Joined: 16 Aug 2003
Posts: 8457

PostPosted: Sun Apr 02, 2006 3:57 am    Post subject: [Tool] MOD To MODX Convertor Reply with quote

Classification: 25 MOD Development Tools

MOD Name: MOD To MODX Convertor
Author: smithy_dll
MOD Description: Convert valid MOD Template files to MODX files using this command line utility.

Supports Linux Windows and Mac OSX
(requires the .net framework or mono)

Translations included:
en - English
da - Danish
de - German
nl - dutch
zh-CHS - Chinese Simplified
zh-CHT - Chinese Traditional

please read this to provide extra translations: http://www.phpbb.com/phpBB/viewtopic.php?p=2088305#2088305


MOD Version: 1.0.6 (Updated 04/29/06)
Installation Level: Easy
Installation Time: ~ 1 Minute

Download File: mod_to_modx_1.0.6i.zip
File Size: 90617 Bytes

Security Score: 0

Support for this MOD needs to be asked within this topic. The phpBB Teams are not responsible or required to give anyone support for this MOD. By installing this MOD, the phpBB Support Team or phpBB MODifications Team may not be able to provide support.

This MOD has only been tested by the phpBB MOD Team with the phpBB version in the topic title. It may not work in any other versions of phpBB.
Back to top
View user's profile Send private message
wGEric
MOD Team Leader
MOD Team Leader


Joined: 13 Oct 2002
Posts: 6248
Location: Yesterday

PostPosted: Tue Apr 11, 2006 8:27 pm    Post subject: Reply with quote

MOD Validated/Released

Notes:
Convert your MODs over to the new MODX format using this tool.
_________________
Eric
My Blog || mods.best-dev.com
How to Validate a MOD || MOD Database || MOD FAQ || MOD Docs
Back to top
View user's profile Send private message Visit poster's website
paul999
Registered User


Joined: 04 Dec 2004
Posts: 440
Location: The netherlands.

PostPosted: Wed Apr 12, 2006 8:48 am    Post subject: Reply with quote

I got a error when Iam converting a mod:

The mod is a valid mod follow the mod validator.
He has convert it good, but with this error.
_________________
Really Coding!
Back to top
View user's profile Send private message
Fountain of Apples
MOD Team Member
MOD Team Member


Joined: 11 Jun 2004
Posts: 2791
Location: Most likely at school or at a PTA meeting.

PostPosted: Wed Apr 12, 2006 6:16 pm    Post subject: Reply with quote

Time for the Mac user to try it, and show and tell the errors that he got:
Code:
douglas-ibook:~ douglasbell$ mono ~/Documents/Downloads/mod_to_modx_1.0.1/mod_to_modx.exe
----------------------------------------------------------
pp  pppp    hh          pp  pppp    BBBBBBBB    BBBBBBBB
pppp    pp  hh          pppp    pp  BB      BB  BB      BB
pp      pp  hh          pp      pp  BB      BB  BB      BB
pp      pp  hh          pp      pp  BB      BB  BB      BB
pppppppp    hhhhhhhh    pppppppp    BBBBBBBB    BBBBBBBB
pp          hh      hh  pp          BB      BB  BB      BB
pp          hh      hh  pp          BB      BB  BB      BB
pp          hh      hh  pp          BBBBBBBB    BBBBBBBB
----------------------------------------------------------
The phpBB MOD Team MOD Template to MODX conversion script.
Please enter the filename of a file to convert: ~/Desktop/MODs/advancedversioncheck_305/contrib/easymod_installation/install_part2.txt

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object
in <0x01234> ModTemplateTools.PhpbbMod:WriteXml ()
in <0x000b4> ModTemplateTools.PhpbbMod:WriteFile (System.String FileName, ModFormats Format)
in <0x003c8> mod_to_modx.ModToModx:Main (System.String[] args)

Using Mac OS X 10.4.6.
_________________
Fountain of Apples here, webmacster87 everywhere else
Fountain of Apples phpBB MODs | Webmacster87.info (my blog) | Add a version checker to your MOD!
Info for MOD Authors | SQL Parser | MOD Database Requirements | phpBB Coding Guidelines

Back to top
View user's profile Send private message Visit poster's website
Kellanved
Registered User


Joined: 26 Jan 2005
Posts: 328

PostPosted: Wed Apr 12, 2006 10:43 pm    Post subject: Reply with quote

I noticed that the (very cool) program sometimes uses 'lang="en-GB"' (edit/changelog) and sometimes 'lang="en-gb"' (authors notes, description).

It is really just a minor thing, but as XSL is case-sensitive per default, it can be contraintuitive when filtering out the parts not written in the desired language.
Back to top
View user's profile Send private message
smithy_dll
MOD Team Member
MOD Team Member


Joined: 08 Jan 2002
Posts: 7701
Location: Australia

PostPosted: Thu Apr 13, 2006 7:39 am    Post subject: Reply with quote

I will step though the code and make sure I have all the paths correct one last time.

Also if anyone wants to give me translations of the following strings it would be appreciated.

Quote:
The phpBB MOD Team MOD Template to MODX conversion script.


Quote:
Please enter the filename of a file to convert:


Quote:
mod_to_modx Version 1.0.0\n(C) Copyright 2006, The phpBB MOD Team & smithy_dll\n\nmod_to_modx [-v phpbbversion] file\n -v Specify the target phpBB version\n phpbbversion Replace with the phpBB version being targeted, e.g. 2.0.0\n file MOD Template file to be converted\n\nDescription:\nmod_to_modx is a utility to convert phpBB MOD Template files to the MODX xml modification description format.\nThere is no functional loss in conversion when correct MOD Template files are used. Comments however may be lost.\n\nCan I find out more about MODX:\nYes, at the MODX resource centre at http://www.phpbb.com/mods/


Quote:
Conversion is complete, file saved as\n{0}


Quote:
Please check to make sure everything converted successfully.


edit: typographical error in english version
_________________

600 MODs and counting | Search all MODs. | MOD Development Forum Rules | MOD Studio | Pirate vs Ninja


Last edited by smithy_dll on Sat Apr 15, 2006 9:55 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
eviL<3
Registered User


Joined: 16 Dec 2005
Posts: 909

PostPosted: Thu Apr 13, 2006 8:38 am    Post subject: Reply with quote

German:
Quote:
Der MOD Template zu MODX Konverter des phpBB MOD Teams.


Quote:
Bitte den Dateinamen der zu konvertierenden Datei angeben:


Quote:
mod_to_modx Version 1.0.0\n(C) Copyright 2006, Das phpBB MOD Team & smithy_dll\n\nmod_to_modx [-v phpbbversion] file\n -v phpBB Version angeben\n phpbbversion Mit der phpBB Version ersetzen, z.B. 2.0.0\n file MOD Template Datei, die konvertiert wird:\n\nBeschreibung:\nmod_to_modx ist ein Dienstprogramm, mit dem sich phpBB MOD Template Dateien ins MODX xml Format umwandeln lassen.\nEs gibt keine Verluste, wenn korrekte MOD Template Dateien benutzt werden. Kommentare können jedoch verloren werden.\n\nKann ich mehr über MODX erfahren?\nJa, im MODX Ressourcecenter auf http://www.phpbb.com/mods/


Quote:
Konversion vollständig, Datei gespeichert als\n{0}


Quote:
Bitte stellen Sie sicher, dass alles korrekt umgewandelt wurde.


Hope i didn't make any mistakes Very Happy

edit: some minor stuff by dhn Wink

evil
Back to top
View user's profile Send private message Visit poster's website
ycl6
MOD Team Member
MOD Team Member


Joined: 15 Feb 2003
Posts: 3685
Location: Taiwan

PostPosted: Fri Apr 14, 2006 12:03 pm    Post subject: Reply with quote

Traditional Chinese

Quote:
phpBB 外掛小組的外掛模版與 MODX 的轉換程式


Quote:
請輸入一個要轉換的檔案名稱:


Quote:
mod_to_modx 版本 1.0.0\n(C) Copyright 2006, The phpBB MOD Team & smithy_dll\n\nmod_to_modx [-v phpbbversion] file\n -v 請註明鎖定的 phpBB 版本\n phpbbversion 取代為鎖定的 phpBB 版本, 例如. 2.0.0\n file 要轉換的外掛模版\n\n描述:\nmod_to_modx 是一個轉換 phpBB 外掛模版成 MODX xml 外掛描述規格的工具.\n當使用正確的外掛模版檔案時, 轉換並不會造成功能上的損失. 不過, 附註的留言可能會有遺失的現象.\n\n我可以更加瞭解 MODX 嗎:\n是的, 你可以到 MODX 資源中心 http://www.phpbb.com/mods/


Quote:
轉換已經完成, 檔案儲存為\n{0}


Quote:
請檢查並確保所有檔案都轉換成功.



Simplified Chinese

Quote:
phpBB 外挂小组的外挂模版与 MODX 的转换程式


Quote:
请输入一个要转换的档案名称:


Quote:
mod_to_modx 版本 1.0.0\n(C) Copyright 2006, The phpBB MOD Team & smithy_dll\n\nmod_to_modx [-v phpbbversion] file\n -v 请注明锁定的 phpBB 版本\n phpbbversion 取代为锁定的 phpBB 版本, 例如. 2.0.0\n file 要转换的外挂模版\n\n描述:\nmod_to_modx 是一个转换 phpBB 外挂模版成 MODX xml 外挂描述规格的工具.\n当使用正确的外挂模版档案时, 转换并不会造成功能上的损失. 不过, 附注的留言可能会有遗失的现象.\n\n我可以更加了解 MODX 吗:\n是的, 你可以到 MODX 资源中心 http://www.phpbb.com/mods/


Quote:
转换已经完成, 档案储存为\n{0}


Quote:
请检查并确保所有档案都转换成功.


~Mac
_________________

Docs: How to Validate a MOD | Insta-Deny? Checklist | Security Checks & Security Score | Securing MODs
My Links: phpBB | phpBB Chinese | MacphpBBMod | My Weblog | B.I.S.S.
Back to top
View user's profile Send private message Visit poster's website
Vic D'Elfant
Website Team Member
Website Team Member


Joined: 02 May 2004
Posts: 5376
Location: NL, Maastricht

PostPosted: Sat Apr 15, 2006 9:50 am    Post subject: Reply with quote

nl-NL
Quote:
Converteren van het phpBB MOD Template naar het MODX XML formaat.


Quote:
Vul de bestandsnaam in van het te converteren bestand:


Quote:
mod_to_modx Versie 1.0.0\n(C) Copyright 2006, Het phpBB MOD Team & smithy_dll\n\nmod_to_modx [-v phpbb-versie] bestand\n -v phpBB versie\n phpbb-versie Vervang 'phpbb-versie' met de phpBB versie waar deze MOD voor is gemaakt, bijv. 2.0.0\n bestand Het MOD Template bestand dat geconverteerd moet worden\n\nOmschrijving:\nmod_to_modx is een hulpmiddel waarmee phpBB MOD Template bestanden kunnen worden geconverteerd naar het MODX XML formaat.\nEr zullen geen gegevens verloren gaan wanneer MOD Template bestanden worden gebruikt waarvan de syntax correct is. Commentaar dat in het MOD Template bestand is geschreven kan echter wel verloren gaan.\n\nVoor meer informatie over MODX, zie het MOD Resource Centre op http://www.phpbb.com/mods/


Quote:
Conversie succesvol afgerond, het bestand is opgeslagen als\n{0}


Quote:
Verzeker u ervan dat alles correct is geconverteerd.

_________________

I do not offer support for phpBB through PM, e-mail or MSN! (unless you're willing to pay for it)
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
dsdarling
Registered User


Joined: 28 Mar 2006
Posts: 9
Location: Spokane

PostPosted: Sat Apr 15, 2006 9:52 pm    Post subject: Doesn't work for me Reply with quote

I've tried Command mode window, drag and drop on the .exe and it always errors out.

Yes I have .net 1.1 installed. Win XP pro SP2 p4 3.2 etc.

I tried it with the Firefox mod the Footer Tweak mod. Just a couple small mods but both error out with some exception error.

Scotty
Back to top
View user's profile Send private message
Kellanved
Registered User


Joined: 26 Jan 2005
Posts: 328

PostPosted: Sat Apr 15, 2006 10:21 pm    Post subject: Reply with quote

Well, I got some exceptions each time as well, although the tool did create output nonetheless.

Question: what licence does this use and where can I find the source code?
Back to top
View user's profile Send private message
ycl6
MOD Team Member
MOD Team Member


Joined: 15 Feb 2003
Posts: 3685
Location: Taiwan

PostPosted: Wed Apr 19, 2006 11:16 am    Post subject: Reply with quote

MOD Updated to version 1.0.5
See first post for Download Link

_________________

Docs: How to Validate a MOD | Insta-Deny? Checklist | Security Checks & Security Score | Securing MODs
My Links: phpBB | phpBB Chinese | MacphpBBMod | My Weblog | B.I.S.S.
Back to top
View user's profile Send private message Visit poster's website
AlleyKat
Registered User


Joined: 16 Jul 2003
Posts: 754
Location: The Future

PostPosted: Wed Apr 19, 2006 9:40 pm    Post subject: Reply with quote

smithy_dll wrote:
[...] if anyone wants to give me translations of the following strings it would be appreciated.


Danish (Dansk) - da-DK
Quote:
phpBB MOD Team MOD skabelon til MODX konverteringsscript.


Quote:
Indtast venligst filnavnet på filen der skal konverteres:


Quote:
mod_to_modx Version 1.0.0\n(C) Copyright 2006, The phpBB MOD Team & smithy_dll\n\nmod_to_modx [-v phpbbversion] fil\n -v Angiv phpBB mål-version\n phpbbversion Erstattes med phpBB versionsnummeret hvortil moddet er beregnet, f.eks. 2.0.0\n fil MOD skabelonfil der skal konverteres\n\nBeskrivelse:\nmod_to_modx er et værktøj til at konvertere phpBB MOD skabelonfiler til MODX xml modifikationsbeskrivelses-formatet.\nDer er intet funktionelt tab ved konverteringen når der anvendes korrekte MOD skabelonfiler. Kommentarer kan til gengæld gå tabt.\n\nHvor finder jeg mere om MODX:\nI MODX ressourcecenteret på http://www.phpbb.com/mods/


Quote:
Konvertering fuldført, filen gemt som\n{0}


Quote:
Check venligst at alt er konverteret korrekt.
Back to top
View user's profile Send private message Visit poster's website
Fountain of Apples
MOD Team Member
MOD Team Member


Joined: 11 Jun 2004
Posts: 2791
Location: Most likely at school or at a PTA meeting.

PostPosted: Sat Apr 29, 2006 4:38 pm    Post subject: Reply with quote

MOD Updated to version 1.0.6
See first post for Download Link

_________________
Fountain of Apples here, webmacster87 everywhere else
Fountain of Apples phpBB MODs | Webmacster87.info (my blog) | Add a version checker to your MOD!
Info for MOD Authors | SQL Parser | MOD Database Requirements | phpBB Coding Guidelines

Back to top
View user's profile Send private message Visit poster's website
Fountain of Apples
MOD Team Member
MOD Team Member


Joined: 11 Jun 2004
Posts: 2791
Location: Most likely at school or at a PTA meeting.

PostPosted: Sat May 06, 2006 8:52 pm    Post subject: Reply with quote

I'd like to request that this convertor outputs a meta tag which indicates that MODX files were generated using this convertor, similar to how MOD Studio adds a "Generator" line. This would also help track bugs in the convertor if we find them in submitted MODs.
_________________
Fountain of Apples here, webmacster87 everywhere else
Fountain of Apples phpBB MODs | Webmacster87.info (my blog) | Add a version checker to your MOD!
Info for MOD Authors | SQL Parser | MOD Database Requirements | phpBB Coding Guidelines

Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    phpBB.com Forum Index -> MOD Release Announcements & Support All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


News | Features | Demo | Downloads | Support | Community | Styles | Mods | Merchandise | About | Home
Web Hosting | Host Department Web Hosting | Cheap last minute holidays | Online Sportsbook | Web Hosting | Free Poker Money

Powered by phpBB © 2001, 2003 phpBB Group

SourceForge Logo