[ABD] Easy phpBB3 MODX Generator (v2 - May 28)

Discussion forum for MOD Writers regarding MOD Development.
geoffreak
Registered User
Posts: 591
Joined: Sat Feb 12, 2005 8:39 am

[ABD] Easy phpBB3 MODX Generator (v2 - May 28)

Post by geoffreak »

  • Easy phpBB3 MODX Script Generator

    Dead Snapshot

    Features
  • Quickly and easily create MODX install scripts for phpBB3
  • Save scripts for later use or for maintaining (You must be registered and signed in to use this feature)
  • Download scripts combined with the modx.subsilver.en.xsl file for express mod releases
  • Lightning fast AJAX techniques used for quick usage and minimal waiting time
  • Produces a perfect install file every time :grin:
  • Conforms to all known MODX standards

    Notes:
  • You must have javascript enabled to use this script!
  • The generator should be bug free in both IE and FF. If you can find any bugs, take a screenshot (if applicable) and post it and the compiled file (also if applicable) in this thread along with a detailed explanation of how the bug occurred.
Last edited by geoffreak on Sun Aug 03, 2008 6:52 pm, edited 5 times in total.
Anime Revolution - Your new #1 source for All things anime and manga!
READ MY BLOG ALREADY!
geoffreak
Registered User
Posts: 591
Joined: Sat Feb 12, 2005 8:39 am

Re: [MODX Tool] Easy phpBB3 MODX Generator

Post by geoffreak »

Just a note - I am currently working on a way to allow for a new file for every language and template as specified here

Edit: the generator now follows this rule :D
Last edited by geoffreak on Tue May 22, 2007 3:59 am, edited 1 time in total.
Anime Revolution - Your new #1 source for All things anime and manga!
READ MY BLOG ALREADY!
User avatar
igorw
Former Team Member
Posts: 8024
Joined: Fri Dec 16, 2005 12:23 pm
Location: {postrow.POSTER_FROM}
Name: Igor Wiedler

Re: [MODX Tool] Easy phpBB3 MODX Generator

Post by igorw »

Don't you think this would be better in the mod authors discussion? Since it isn't really a mod ;)
Igor Wiedler | area51 | GitHub | trashbin | Formerly known as evil less than three
User avatar
smithy_dll
Former Team Member
Posts: 7632
Joined: Tue Jan 08, 2002 6:27 am
Location: Australia
Name: Lachlan Smith

Re: [MODX Tool] Easy phpBB3 MODX Generator

Post by smithy_dll »

*nudges in the direction of the topic title prefix rule ;)
Systems Engineering
geoffreak
Registered User
Posts: 591
Joined: Sat Feb 12, 2005 8:39 am

Re: [MODX Tool] Easy phpBB3 MODX Generator

Post by geoffreak »

smithy_dll wrote:*nudges in the direction of the topic title prefix rule ;)
I couldn't decide which to use :?
Anime Revolution - Your new #1 source for All things anime and manga!
READ MY BLOG ALREADY!
geoffreak
Registered User
Posts: 591
Joined: Sat Feb 12, 2005 8:39 am

Re: [MODX Tool] Easy phpBB3 MODX Generator

Post by geoffreak »

eviL<3 wrote:Don't you think this would be better in the mod authors discussion? Since it isn't really a mod ;)
okay ;)
can someone move it then?
Anime Revolution - Your new #1 source for All things anime and manga!
READ MY BLOG ALREADY!
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 28935
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier

Re: [MODX Tool] Easy phpBB3 MODX Generator

Post by Paul »

Moved to MOD writers
User avatar
MHobbit
Former Team Member
Posts: 4761
Joined: Thu Mar 18, 2004 5:32 pm
Location: There and Back Again

Re: [MODX Tool] Easy phpBB3 MODX Generator

Post by MHobbit »

Now this looks interesting. One thing I've noticed is that the third version number field still will trigger an error if a "0" is entered. The generator claims that the field is blank.
Former phpBB MOD Team member
No private support is offered.
"There’s too many things to get done, and I’m running out of days..."
User avatar
smithy_dll
Former Team Member
Posts: 7632
Joined: Tue Jan 08, 2002 6:27 am
Location: Australia
Name: Lachlan Smith

Re: [MODX Tool] Easy phpBB3 MODX Generator

Post by smithy_dll »

Looks good, one problem though.
Field 2 in mod version is blank. Field 3 in mod version is blank.
You seem to think ' 0' is equal to 0 or '\0' or something like that. 1.0.0 is a valid version number. 1.1.1 works though.

E-mail and website are optional so you may also want to look at those.
Systems Engineering
geoffreak
Registered User
Posts: 591
Joined: Sat Feb 12, 2005 8:39 am

Re: [MODX Tool] Easy phpBB3 MODX Generator

Post by geoffreak »

MennoniteHobbit wrote:Now this looks interesting. One thing I've noticed is that the third version number field still will trigger an error if a "0" is entered.
What do you mean :|

@smithy:
I use empty() so it must think that 0 is empty :(
I wasn't aware that email and website were optional. Thanks! :D
Anime Revolution - Your new #1 source for All things anime and manga!
READ MY BLOG ALREADY!
User avatar
igorw
Former Team Member
Posts: 8024
Joined: Fri Dec 16, 2005 12:23 pm
Location: {postrow.POSTER_FROM}
Name: Igor Wiedler

Re: [MODX Tool] Easy phpBB3 MODX Generator

Post by igorw »

do not use !empty(), just convert it to an integer:

Code: Select all

$version = (int) $_REQUEST['version'];
Then a blank field gets converted to 0 automatically ;)
Igor Wiedler | area51 | GitHub | trashbin | Formerly known as evil less than three
User avatar
MHobbit
Former Team Member
Posts: 4761
Joined: Thu Mar 18, 2004 5:32 pm
Location: There and Back Again

Re: [MODX Tool] Easy phpBB3 MODX Generator

Post by MHobbit »

I mean exactly what smithy_dll said, actually. If you enter a version number of 1.2.0 (a completely valid version number), for example, when a compilation run is attempted, "Field 3 in mod version is blank." shows up as an error.
Former phpBB MOD Team member
No private support is offered.
"There’s too many things to get done, and I’m running out of days..."
geoffreak
Registered User
Posts: 591
Joined: Sat Feb 12, 2005 8:39 am

Re: [MODX Tool] Easy phpBB3 MODX Generator

Post by geoffreak »

eviL<3 wrote:do not use !empty(), just convert it to an integer:

Code: Select all

$version = (int) $_REQUEST['version'];
Then a blank field gets converted to 0 automatically ;)
Good idea! :D
Anime Revolution - Your new #1 source for All things anime and manga!
READ MY BLOG ALREADY!
geoffreak
Registered User
Posts: 591
Joined: Sat Feb 12, 2005 8:39 am

Re: [MODX Tool] Easy phpBB3 MODX Generator

Post by geoffreak »

Everything should be fixed up so try now :D
Anime Revolution - Your new #1 source for All things anime and manga!
READ MY BLOG ALREADY!
User avatar
Ash Hi Fi Zone
Registered User
Posts: 409
Joined: Fri Feb 09, 2007 11:55 am

Re: [MODX Tool] Easy phpBB3 MODX Generator

Post by Ash Hi Fi Zone »

Nice Impressive work there geoffreak :D

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