MOD To MODX Convertor

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in here. No new MODs will be accepted into the MOD Database for phpBB2
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.

Rating:

Excellent!
6
100%
Very Good
0
No votes
Good
0
No votes
Fair
0
No votes
Poor
0
No votes
 
Total votes: 6

Extensions Robot
Extensions Robot
Extensions Robot
Posts: 28271
Joined: Sat Aug 16, 2003 7:36 am

MOD To MODX Convertor

Post by Extensions Robot »

Modification name: MOD To MODX Convertor
Author: smithy_dll
Modification 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
fr - French
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/community/viewtopi ... 5#p2088305
Modification version: 1.0.8
Tested on phpBB version: See below

Download file: mod_to_modx_1.0..zip
File size: 97515 Bytes

Modification overview page: View


Selected tags:
  1. category
    1. Tools
  2. phpbb
    1. 2.0.22
Support for this modification needs to be asked within this topic. The phpBB Team is not responsible or required to give anyone support for this modification. By installing this MOD, you acknowledge that 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 listed in the topic. It may not work in any other versions of phpBB.
Last edited by Extensions Robot on Sat Dec 15, 2007 5:38 pm, edited 2 times in total.
(this is a non-active account manager for the phpBB Extension Customisations Team)
wGEric
Former Team Member
Posts: 8805
Joined: Sun Oct 13, 2002 3:01 am
Location: Friday
Name: Eric Faerber
Contact:

Post by wGEric »

MOD Validated/Released

Notes:
Convert your MODs over to the new MODX format using this tool.
Eric
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 26257
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Post by Paul »

I got a error when Iam converting a mod:
http://rommel.paulscripts.nl/modx.PNG
The mod is a valid mod follow the mod validator.
He has convert it good, but with this error.

edit: remove broken image, smithy_dll
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development
User avatar
webmacster87
Former Team Member
Posts: 3758
Joined: Fri Jun 11, 2004 2:30 am
Location: San Mateo, CA
Name: Douglas Bell
Contact:

Post by webmacster87 »

Time for the Mac user to try it, and show and tell the errors that he got:

Code: Select all

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.
User avatar
Kellanved
Former Team Member
Posts: 2635
Joined: Wed Jan 26, 2005 2:48 pm
Location: Meta-level

Post by Kellanved »

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.
User avatar
smithy_dll
Former Team Member
Posts: 7630
Joined: Tue Jan 08, 2002 6:27 am
Location: Australia
Name: Lachlan Smith
Contact:

Post by smithy_dll »

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.
The phpBB MOD Team MOD Template to MODX conversion script.

Please enter the filename of a file to convert:

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/

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

Please check to make sure everything converted successfully.


edit: typographical error in english version
Last edited by smithy_dll on Sat Apr 15, 2006 9:55 am, edited 1 time in total.
Systems Engineering
User avatar
igorw
Former Team Member
Posts: 8024
Joined: Fri Dec 16, 2005 12:23 pm
Location: {postrow.POSTER_FROM}
Name: Igor Wiedler

Post by igorw »

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

Bitte den Dateinamen der zu konvertierenden Datei angeben:

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/

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

Bitte stellen Sie sicher, dass alles korrekt umgewandelt wurde.


Hope i didn't make any mistakes :D

edit: some minor stuff by dhn ;)

evil
ycl6
Translator
Posts: 5696
Joined: Sat Feb 15, 2003 10:35 am
Location: Taiwan
Contact:

Post by ycl6 »

Traditional Chinese
phpBB 外掛小組的外掛模版與 MODX 的轉換程式

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

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/

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

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



Simplified Chinese
phpBB 外挂小组的外挂模版与 MODX 的转换程式

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

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/

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

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


~Mac
Vic D'Elfant
Former Team Member
Posts: 6203
Joined: Sun May 02, 2004 6:21 pm
Location: NL, Maastricht
Contact:

Post by Vic D'Elfant »

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

Vul de bestandsnaam in van het te converteren bestand:

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/

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

Verzeker u ervan dat alles correct is geconverteerd.
midd.ag • DTP, web development & printing
http://www.midd.ag
dsdarling
Registered User
Posts: 9
Joined: Tue Mar 28, 2006 5:12 pm

Doesn't work for me

Post by dsdarling »

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
User avatar
Kellanved
Former Team Member
Posts: 2635
Joined: Wed Jan 26, 2005 2:48 pm
Location: Meta-level

Post by Kellanved »

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?
ycl6
Translator
Posts: 5696
Joined: Sat Feb 15, 2003 10:35 am
Location: Taiwan
Contact:

Post by ycl6 »

MOD Updated to version 1.0.5
See first post for Download Link
User avatar
AlleyKat
Registered User
Posts: 1037
Joined: Wed Jul 16, 2003 5:06 pm
Location: Odense, Denmark
Contact:

Post by AlleyKat »

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


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

Indtast venligst filnavnet på filen der skal konverteres:

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/

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

Check venligst at alt er konverteret korrekt.
User avatar
webmacster87
Former Team Member
Posts: 3758
Joined: Fri Jun 11, 2004 2:30 am
Location: San Mateo, CA
Name: Douglas Bell
Contact:

Post by webmacster87 »

MOD Updated to version 1.0.6
See first post for Download Link
User avatar
webmacster87
Former Team Member
Posts: 3758
Joined: Fri Jun 11, 2004 2:30 am
Location: San Mateo, CA
Name: Douglas Bell
Contact:

Post by webmacster87 »

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.
Post Reply

Return to “[2.0.x] MOD Database Releases”