Page 1 of 40

EasyMOD alpha3 v0.0.9c released

Posted: Fri Jul 04, 2003 1:09 am
by Nuttzy99
Latest Status:

July 30th - version 0.0.10 is out! go get it:

June 10th: I'm a proud father as of today! Details

-Nuttzy :cool:

Posted: Fri Jul 04, 2003 4:12 am
by Nuttzy99
I am very pleased to announce the release of EasyMOD alpha3 v0.0.9c. With this revision, I suspect EasyMOD (EM) will install for nearly all server configurations.

EM will install EasyMOD Compliant (EMC) MODs and also *try* to install all other MODs as well. In most configurations, MOD installs should now be completely automated. All EM functions are password protected so a board owner need not worry about other admins tampering without permission.

Author's Notes:
Although it has been tested extensively, this is still ALPHA software. If you do not make your own backups of files and DB, then you have no one but yourself to blame if something goes wrong. You might want to see what others are saying about it before choosing to install. That being said, I'm fairly confident it all works decently well.

Lastly, thank you Daz for providing the EM graphics, thanks to Kail, JuniorZ, and Jaeboy for translations (not in-use yet), and special thanks to my 1337 Pre-Release Tester Team: Ptirhiik - RPGnet-fr, wGEric, morpheus2matrix, GPHemsley, LifeIsPain, and DanielT

EM now includes a fully functioning installer. A lot of the tasks from previous installation have been removed (the BBCode stuff), and now the focus is on helping you determine what your settings should be based on your configuration.

Download EM:
[-- LINK REMOVED BY NUTTZY --] (just wait for the next version!!!)

New installs:
1) Extract in your admin directory. The proper directory heirachy should be admin/mods/EasyMOD
2) It is not necessary to "chmod -R 777 mods" as with previous versions. Only do this if 1) you know what chmod is and 2) you don't FTP access and still want the files written on the server. If you don't know what chmod is, don't worry, don't ask, and you don't need or want to know ;)
3) From a web browser, open http: //{YOUR BOARD ADDRESS}/admin/mods/EasyMOD/easymod_install.php The install will guide you through everything and no modifications occur before warning you.
4) You may optionally install the Country Flags MOD (CF) which is included with the download. Do NOT install if you already have CF installed. NOTE: there is an issue with copying the flag images so you will probably need to manually move them into place.

Upgrading from 0.0.8 or later
You may need to remove the old EM and CF directories or even the entire mods directory before moving the files into place. Once they are out of the way, just follow the install instructions above. EM will figure everything else out :D

Upgrading from 0.0.6 or 0.0.7
1) While I do recommend removing the old EM, it probably won't cause many problems if it was left there. Again, I do recommend its removal.
2) Delete any EM files you already have. This includes the files in the admin folder, the "mods" directory, and any templates.
3) You may also choose to remove the entries that were made in lang_admin.php
4) No changes are required of your database.

You and EM:
  • translations of lang_easymod.php needed!!! - EM is going international :D Several translations have already been completed (Swedish, French, and Portuguese)
  • MSSQL (not mySQL) and Postgre testers needed!
  • right now the only "official" EMC MOD is Country Flags. Until I release the standards on what being EMC means please refrain from calling your MOD "EMC". I'll try to write them up soon.
  • there is a *possiblity* that starting with 2.0.5 all MODs submitted to the MODs DB will be required to be EMC (again I'll try to define what that means in the coming weeks)
  • thank you Daz for making the EM graphics! - he's provided a few more which I will also be making available soon
I am not including a changelog from the previous version. This is pretty much a new program although many parts were reused.
  • Choose from some fully automated installation methods and some manual methods as well. You decide what's best for you!
  • the modifed files generated can be:
    • written directly to server (requires write access in the "mods" dir)
    • written to a buffer and FTP'd into place (requires FTP access)
    • downloaded to your local machine
    • written on screen in a seperate browser window (requires you to be sadistic ;))
  • If you are satisifed with the modifications, the files can then be moved into place
    • by the copy command (fully automated: requires write access to ALL dirs from phpBB root downward)
    • FTP'd into place (fully automated: requires FTP access)
    • execute a script (fully automated: requires permission to run scripts)
    • manually loaded (requires your time ;))
  • robust installer (needs some work though ;))
  • the program is ready to accept translations for multiple languages
  • support for ALL MOD Template functions (COPY command needs some work)
  • install MODs to all installed themes
  • install MODs to all installed languages
  • automatically backups up files before modifying (you should still make your own backups though!)
  • continued processing if non-English or non-subSilver file fails - you decide if you want to continue or not
  • password protected - even admins cannot access EM unless the board owner gives them the password
  • object oriented programming - classes could be used in other programs
  • install EMC MODs
  • *try* to install non-EMC MODs
  • settings ACP
  • installed MODs history ACP
  • view MOD script from the install screen (click link)
  • security-conscious every step of the way
  • MOD script line numbers appear where ever they will be helpful
  • convinient install debugger
To Do List before Beta 1:
Since EM is not feature complete yet, it must be considered an alpha version. The beta version will be feature complete with most features fully-functioning. Features to add:
  • perform DB alterations - code is written for this but needs to be revamped.
  • uninstaller - still thinking about ideas for this; considering having the program create a MOD script which can uninstall the MOD.
  • code the INCREMENT command for dealing with colspan and other situations
  • write the EMC standards
  • have installer also process future EM upgrades
  • a debug mode where the proposed modified files are written to the screen so you can inspect the changes that will be made very easily
  • make a option for having or not having ".txt" on the end - GPHemsley
  • I'm sure there are a couple of other things :P
Known 0.0.9c Issues:
  • lots of things like (file path issues) are sloppy and held together with bandaides - I think it all works though :roll:
  • the COPY command needs some work - creating dirs and handling *.* are issues
  • Postgre and MSSQL need testing - I'm pretty sure they do NOT work correctly
  • There is an issue with incorrectly parsing the MOD Author info
Bug Tracker:
Thanks to previous bug reporters:
Ptirhiik - RPGnet-fr, wGEric, GPHemsley, Super Saiyan Gecko, Snover, morpheus2matrix

Bug // Reporter // status
---no 0.0.9c bugs submitted yet --

Version History:
v0.0.9c - 7/03/03
error message in modio_open for 'server' reported wrong filename
error message in modio_close for 'tmp' reported wrong filename
bug fix, now when ftp'ing, cd to a dir before putting a file
bux fix, removed trialing slash when making a dir - GrMa
fixed potential bug with performing find, init a variable - Thoth
fixed a minor bug with installation confirmation file version check
now when FTP'ing, use relative path from phpBB instead of absolute path
eliminated the need for tmp directory write access!!!

(9b was not released)

v0.0.9 - 6/03/03
fixed bug, complete_file_repro not throwing an error on failed close
fixed bug, in strip_whitespace when only one line was wanted
FIND improperly deals with whitespace // Ptirhiik - RPGnet-fr // found 5/27
fixed bug, passwords not working // wGEric // found 5/24
use PRE on process screen // Ptirhiik - RPGnet-fr // found 5/24

reposition DEFINE // GPHemsley // found 5/25
improper path in err msg // Snover // found 5/26
properply delete tmp file after tmp/ftp fails
fixed up get_phpbb_version
str_replace ' with '' on EM insert // Super Saiyan Gecko // found 5/26
fixed chmod close error on post_process files
fixed chown close error on server post_process file
fixed put error on ftp post_process file

fixed the cross-site scripting exploit on installer
made scan tests into seperate and independent functions
fixed ordering of some tests
fixed the mkdir fail message
check copy access on phpBB root, not EM dir
do not recommend write server if cannot mkdir
using $lang entries when selecting access methods
fixed bug, recommend manual move if not writing to server
recommend copy only if have root_write and copy access
fixed bug on mkdir access, had forgotten $ on var name
verifies FTP access on tmp write
fixed bug, complete_file_repro not throwing an error on failed close
added expanded debug info
added confirmation page
added EM upgrade ability
fixed the incidental display of \n on an sql error
allow for lowcase of EM dir // Ptirhiik - RPGnet-fr // found 5/24

v0.0.8 - 5/24/03
+ Too many changes to track! Complete overhaul.

v0.0.7 - 9/2/02
+ fixed all known bugs
+ solved quick bbcode buttons known issue
+ implemented standardized quick bbcode buttons for ALL mods :roll:
+ added admin_mod_functions.php to enable code reuse
+ implemented multi language support in templates

v0.0.6 - 8/14/02
+ first testable version- the true baseline

v0.0.4 - 4/14/02
+ proof of concept release

lang_easymod changes from 0.0.9 to 0.0.9c

$lang['EM_modio_move_tmp'] changed to ['EM_modio_close_tmp']
$lang['EM_modio_close_chdir'] added
$lang['EM_modio_prep_chdir'] added
$lang['EM_modio_mkdir_chdir'] added
$lang['EM_modio_close_chdir'] changed ("not")
$lang['EM_write_tmp'] = 'tmp write & ftp' ; REMOVED
$lang['EM_write_tmp'] is a second instance that needs to remain
$lang['EM_write_ftp'] added
$lang['EM_err_acc_tmp_exp'] REMOVED
$lang['EM_confirm_write_ftp'] added
$lang['EM_confirm_write_tmp'] REMOVED
$lang['EM_err_acc_tmp'] REMOVED
$lang['EM_modio_open_tmp'] REMOVED
$lang['EM_modio_close_ftp'] added
$lang['EM_modio_close_tmp'] REMOVED

-Nuttzy :cool:

Posted: Fri Jul 04, 2003 4:23 am
by GPHemsley
Well, I've installed this on my localhost and on a server that was previously having a problem, and all seems to have gone well.

Here's to Beta 1! *cheers*

Posted: Fri Jul 04, 2003 5:00 am
by Jesse_tyler
Now to install it on my fresh forums! :P

Posted: Fri Jul 04, 2003 5:39 am
by Aexoden
I'm having a problem running it on my web hosting, related to FTP access. It seems that my FTP server doesn't permit certain combinations of directory changes.

For instance, "CWD admin/mods/" and "CWD ../../" both work. However, when I try a "CWD admin/mods/../../", I get an error about that operation not being permitted. I don't know if this a common error, but it's preventing me from installing EasyMOD on my web space. (The local install went great, though. ;))

Posted: Fri Jul 04, 2003 6:17 am
by Nuttzy99
Hrmmm... that's odd. Before I take action on that I'd like to see how many others have that problem. I think getting rid of all the ../../ will be a nice thing to do for 0.0.10 though ;)

-Nuttzy :cool:

Posted: Fri Jul 04, 2003 7:20 am
by PHPnubileperson
Hey Nuttzy when is EasyMod going to be included with phpBB?
I know some say that it's a bad idea as people would then bomb this board with support questions, but what if it came as an optional component avaiable when you first install phpBB?

Posted: Fri Jul 04, 2003 8:57 am
by Ptirhiik
Aexoden wrote: I'm having a problem running it on my web hosting, related to FTP access. It seems that my FTP server doesn't permit certain combinations of directory changes.
Try a CDW "./admin/mods/../../" : it should prevent the system to detect you're going from a point to the same point. Note it's just a guess ;).

Posted: Fri Jul 04, 2003 9:18 am
by Josh Windu
well done to everyone behind this project!!!

works greatly!

The only problem is that EM didnt copy my files correctly :?

I am using php4 (something :P) mysql 4 on apache running windows XP pro.

I am using:

I installed phpbb fresh 2.0.5 and fresh EM ;)


Posted: Fri Jul 04, 2003 12:33 pm
by Nuttzy99
@JW: I need more info. Please post the entire error message, complete with all the debugging info. Or did you not get an error message? If not then tell my what files were not copied properly and what happened to them.

-Nuttzy :cool:

Posted: Fri Jul 04, 2003 12:55 pm
by Nuttzy99
PHPnubileperson wrote: Hey Nuttzy when is EasyMod going to be included with phpBB?
I'm not sure if this will ever happen. Firstly, I would need reach 1.0.0 of course ;) But beyond that, it would take quite a bit of convincing to persaude the devs to include it. I would not even consider asking them until everything works just about flawlessly.

And then there's the support nightmare you mentioned. If 0.0.9c proves to be as stable as I hope then it will be added to the MODs DB. I'm sure we'll see some real morons coming out of the wood work when I do that :P

-Nuttzy :cool:

Posted: Fri Jul 04, 2003 1:01 pm
by thelolman

Posted: Fri Jul 04, 2003 1:02 pm
by DanielT
congrats on the baby!.. if i was old enough i would buy you a cigar.. but im only 16..oh..hang on..i can :P

i will get back to you after i update

Posted: Fri Jul 04, 2003 4:31 pm
by morpheus2matrix
good job Nuttzy :wink:

Posted: Fri Jul 04, 2003 5:14 pm
by Jaeboy
Will try it!