EasyMOD alpha3 v0.0.9 released

This forum is now closed as part of retiring phpBB2.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

This forum is now closed due to phpBB2.0 being retired.
Locked
Nuttzy99
Former Team Member
Posts: 4917
Joined: Fri Aug 03, 2001 7:09 am
Location: the 11th dimension
Contact:

EasyMOD alpha3 v0.0.9 released

Post by Nuttzy99 » Tue Jun 03, 2003 3:44 pm

The latest status will always appear here:

July 3rd - New release and new discussion topic moved to here http://www.phpbb.com/phpBB/viewtopic.php?t=116125 . No more discussion on this old topic please unless you are replying to something previously posted.


-Nuttzy :cool:
Last edited by Nuttzy99 on Sun Jul 06, 2003 11:32 pm, edited 12 times in total.
SpellingCow.com - Free spell check service for your forums or any web form!
No Support via PM please!

Nuttzy99
Former Team Member
Posts: 4917
Joined: Fri Aug 03, 2001 7:09 am
Location: the 11th dimension
Contact:

Post by Nuttzy99 » Thu Jun 05, 2003 12:43 am

Introduction:
I am very pleased to announce the release of EasyMOD alpha3 v0.0.9. EasyMOD (EM) will install EasyMOD Compliant (EMC) MODs and also *try* to install all other MODs as well. This version of EM is designed to work on all platforms and configurations. 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:
I resumed work on this project about 2 1/2 months ago and have been slaving away. The project itself has been underway for over a year now. Although I'm a bit drained now, I am also VERY pleased with the results. Please keep in that 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. I'm aware of some bugs and some pieces of code held together with huge bandaides ;) But I wanted to get this thing out the door, bandaides and all :lol: The program has quadrupled in size since alpha2. While overall the program is more complex, the most complex piece of the previous version (the parser) has been simplified.

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


Installation:
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 --- (go get the newer 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
  • 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
Features:
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 the server /tmp dir and FTP'd into place (requires /tmp dir write access and 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.9 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
  • You know, I just don't feel like writing out all the rest of the issues :P
Bug Tracker:
Thanks to previous bug reporters:
Ptirhiik - RPGnet-fr, wGEric, GPHemsley, Super Saiyan Gecko, Snover, morpheus2matrix

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


Version History:
alpha3
v0.0.9 - 6/03/03
admin_easymod.php:
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

admin_easymod_functions.php:
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

easymod_install.php:
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.


alpha2
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

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


lang_easymod changes from 0.0.8 to 0.0.9

$lang['EM_err_no_write'] added
$lang['EM_err_secondary'] added
$lang['EM_step1'] modified
$lang['EM_step2'] modified
$lang['EM_step3'] modified
$lang['EM_step4'] modified
$lang['EM_step5'] added
$lang['EM_EM_status'] added
$lang['EM_new_install'] added
$lang['EM_update_from'] added
$lang['EM_admin_panel'] modified (change 'then' to 'now')
$lang['EM_debug_* added (the entire section)
$lang['EM_ifinding'] added
$lang['EM_iafter'] added
$lang['EM_confirm'] added
$lang['EM_confirming_mod'] added
$lang['EM_confirmed'] added
$lang['EM_confirm_lang'] added
$lang['EM_confirm_admin'] added
$lang['EM_confirm_exist'] added
$lang['EM_confirm_failed'] added
$lang['EM_confirm_fix'] added
$lang['EM_install_completed'] modified


-Nuttzy :cool:
Last edited by Nuttzy99 on Sun Jul 06, 2003 11:20 pm, edited 2 times in total.
SpellingCow.com - Free spell check service for your forums or any web form!
No Support via PM please!

User avatar
GPHemsley
Registered User
Posts: 1475
Joined: Fri Apr 18, 2003 3:12 am
Location: Long Beach, NY
Name: Gordon Hemsley
Contact:

Post by GPHemsley » Thu Jun 05, 2003 12:55 am

Woo hoo! This is great stuff Nuttzy! I'm so very proud to have been on the Pre-Tester team, and I'm very glad we were able to get out that many bugs! Thanks again for this great "software". :P :lol:

Nuttzy99
Former Team Member
Posts: 4917
Joined: Fri Aug 03, 2001 7:09 am
Location: the 11th dimension
Contact:

Post by Nuttzy99 » Thu Jun 05, 2003 12:59 am

Thank you and thanks to all the Pre-Release Test Team members:

Ptirhiik - RPGnet-fr, wGEric, morpheus2matrix, GPHemsley, LifeIsPain, and DanielT :D

-Nuttzy :cool:
SpellingCow.com - Free spell check service for your forums or any web form!
No Support via PM please!

Kazer0
Registered User
Posts: 876
Joined: Sun Nov 10, 2002 2:05 am
Location: {postrow.POSTER_FROM}
Contact:

Post by Kazer0 » Thu Jun 05, 2003 1:31 am

(formatted for forum posting)
EM installer v0.0.9 wrote: phpBB version: 2.0.4
Working Dir: /home/shiftxd/public_html/try/admin/mods/EasyMOD
Install Step: 3
Mode:
The Error wrote: Critical Error

Could not open [language/lang_english/lang_admin.php.txt] for writing.


Permissions: (including system errors)
read access :: OK
write access :: OK
root path write :: failed
chmod access :: OK
unlink access :: OK
mkdir access :: OK
tmp path write :: failed
FTP extension :: OK
copy access :: OK



Recommendations:
write: server
move: automated FTP

Selected settings:
write: server
move: ftpa
ftp dir: public_html/try/

CWD Listing:

Code: Select all

drwxrwxrwx . 
drwxrwxrwx .. 
drwxrwxrwx includes 
−rwxrwxrwx admin_easymod_functions.php 
−rw−r−−r−− easymod.gif 
−rwxrwxrwx easymod_install.php 
−rwxrwxrwx lang_easymod.php 
−rw−r−−r−− WS_FTP.LOG 
drwxrwxrwx processed 
drwxrwxrwx backups 

Not testing FTP since it is not being used.


You should ahve included a tester with php safe mode... ie.. me...

anyways, thats server-server-auto-ftp. Ill try a diffrent way.
Andrew Charron || alexis support forum || Specializing in phpBB website template integration
Hurry up, my feash is siek.
AndrewCharron.com version 5 released!

Nuttzy99
Former Team Member
Posts: 4917
Joined: Fri Aug 03, 2001 7:09 am
Location: the 11th dimension
Contact:

Post by Nuttzy99 » Thu Jun 05, 2003 1:39 am

Go ahead and post up bugs and problems and I'll take a look at them tomorrow morning. ;) I'll be sure to look at your's first thing tomorrow, Kazer0 ;)

-Nuttzy :cool:
Last edited by Nuttzy99 on Thu Jun 05, 2003 1:40 am, edited 1 time in total.
SpellingCow.com - Free spell check service for your forums or any web form!
No Support via PM please!

Kazer0
Registered User
Posts: 876
Joined: Sun Nov 10, 2002 2:05 am
Location: {postrow.POSTER_FROM}
Contact:

Post by Kazer0 » Thu Jun 05, 2003 1:40 am

Im trying manual, but i cant get the lang_admin file to go. Its not in the EasyMOD folder, so how can I move it?
Andrew Charron || alexis support forum || Specializing in phpBB website template integration
Hurry up, my feash is siek.
AndrewCharron.com version 5 released!

Kazer0
Registered User
Posts: 876
Joined: Sun Nov 10, 2002 2:05 am
Location: {postrow.POSTER_FROM}
Contact:

Post by Kazer0 » Thu Jun 05, 2003 1:46 am

Ok, I chose download, and downloaded the lang_admin.php file, and uploaded it. It still says error next to lang_admin...

And it works in my admin panel now, except I never chose a password. But I click on access easymod, it just takes me to a screen that says "all MODs have been processed' and I can't install a MOD.

Even when I make a password, it still says that. Im still looking and cant find where to install the mod..
Last edited by Kazer0 on Thu Jun 05, 2003 1:50 am, edited 1 time in total.
Andrew Charron || alexis support forum || Specializing in phpBB website template integration
Hurry up, my feash is siek.
AndrewCharron.com version 5 released!

StarCast
Registered User
Posts: 2
Joined: Thu Jun 05, 2003 1:47 am

Post by StarCast » Thu Jun 05, 2003 1:49 am

Hey Nuttzy, great work your doing :D
I'm having an issue installing it on step 3 though.

(formatted for forum posting)
EM installer v0.0.9 wrote: phpBB version: 2.0.4
Working Dir: /home/virtual/site6/fst/var/www/html/sd.munl3y.com/forum/admin/mods/EasyMOD
Install Step: 3
Mode:
The Error wrote: Critical Error

Could not open [language/lang_english/lang_admin.php.txt] for writing.


Permissions: (including system errors)
read access :: OK
write access :: OK
root path write :: failed
chmod access :: OK
unlink access :: OK
mkdir access :: OK
tmp path write :: failed
FTP extension :: OK
copy access :: OK



Recommendations:
write: server
move: automated FTP

Selected settings:
write: server
move: ftpa
ftp dir: /var/www/html/sd.munl3y.com/forum

CWD Listing:

Code: Select all

drwxrwxrwx . 
drwxrwxrwx .. 
drwxrwxrwx includes 
−rwxrwxrwx admin_easymod_functions.php 
−rwxrwxrwx easymod.gif 
−rwxrwxrwx easymod_install.php 
−rwxrwxrwx lang_easymod.php 

Not testing FTP since it is not being used.

User avatar
GPHemsley
Registered User
Posts: 1475
Joined: Fri Apr 18, 2003 3:12 am
Location: Long Beach, NY
Name: Gordon Hemsley
Contact:

Post by GPHemsley » Thu Jun 05, 2003 2:09 am

This is from Questions' forums... I'm helping him install....
EM installer v0.0.9 wrote: phpBB version: 2.0.4
Working Dir: /home/sicclyri/public_html/war_zone2/admin/mods/EasyMOD
Install Step: 3
Mode:
The Error wrote: FTP ERROR: could not write tmp file [/tmp/cfguPuuDh] to [/home/sicclyri/public_html/war_zone2/admin/mods/
EasyMOD/./processed/language/lang_english/lang_admin.php.txt]


Permissions: (including system errors)
read access :: OK
write access :: OK
root path write :: failed
chmod access :: OK
unlink access :: OK
mkdir access :: OK
tmp path write :: OK
FTP extension :: OK
copy access :: OK



Recommendations:
write: server
move: automated FTP

Selected settings:
write: tmp
move: ftpa
ftp dir: public_html/war_zone2

CWD Listing:

Code: Select all

drwxrwxrwx .
drwxrwxrwx ..
drwxr-xr-x includes
-rw-r--r-- easymod_install.php
-rw-r--r-- lang_easymod.php
-rw-r--r-- admin_easymod_functions.php
-rw-r--r-- easymod.gif

Testing FTP access...

1) Logged in successfully
2) CD to EasyMOD path successfully
3) wrote to phpBB root successfully

FTP access test :: successful
Last edited by GPHemsley on Thu Jun 05, 2003 2:57 pm, edited 1 time in total.

LLivingLarge
Registered User
Posts: 37
Joined: Mon May 19, 2003 3:20 am

Post by LLivingLarge » Thu Jun 05, 2003 2:17 am

How can I fix this?

Fatal error: Call to undefined function: get_phpbb_version() in easymod_install.php on line 804
Official Guinea Pig of Nuttzy99...

libertate
Registered User
Posts: 79
Joined: Tue Jul 30, 2002 11:13 pm
Location: Kiritimati
Contact:

Post by libertate » Thu Jun 05, 2003 2:32 am

I have the same errors as GPHemsley. (slightly diff. rights)
EM installer v0.0.9 wrote: phpBB version: 2.0.4
Working Dir: /home/libertate/www/phpBB/admin/mods/EasyMOD
Install Step: 3
Mode:
The Error wrote: FTP ERROR: could not write tmp file [/tmp/cfg3NxP0t] to [/home/libertate/www/phpBB/admin/mods/EasyMOD/./processed/language/lang_english/lang_admin.php.txt]


Permissions: (including system errors)
read access :: OK
write access :: failed
root path write :: failed
chmod access :: unattempted
unlink access :: unattempted
mkdir access :: unattempted
tmp path write :: OK
FTP extension :: OK
copy access :: OK



Recommendations:
write: tmp write & ftp
move: automated FTP

Selected settings:
write: tmp
move: ftpa
ftp dir: /www/phpBB/

CWD Listing:

Code: Select all

drwxr−xr−x .
drwxrwxrwx ..
drwxr−xr−x includes
−rw−r−−r−− easymod_install.php
−rw−r−−r−− lang_easymod.php
−rw−r−−r−− easymod.gif
−rw−r−−r−− admin_easymod_functions.php

Testing FTP access...

1) Logged in successfully
2) CD to EasyMOD path successfully
3) wrote to phpBB root successfully

FTP access test :: successful

Josh Windu
Registered User
Posts: 377
Joined: Sun Jul 14, 2002 3:14 am
Location: Australia
Contact:

Post by Josh Windu » Thu Jun 05, 2003 2:50 am

well done nuttzy!!

My error mod now installs and I will now make it emc :D

The only prob i did have was that when it copyed my template body it only went into one of my 2 themes... subsilver worked but my other theme didnt...
Nitrotech - Alpha stage... Your own fully customisable forum! and site!

Jesse_tyler
Registered User
Posts: 103
Joined: Wed Apr 02, 2003 9:00 pm
Location: Idaho
Contact:

Post by Jesse_tyler » Thu Jun 05, 2003 11:16 am

Aww and i just got situated with 0.0.8 too! :lol: *goes to FTP*

jeep
Registered User
Posts: 93
Joined: Mon May 19, 2003 8:57 pm

Post by jeep » Thu Jun 05, 2003 12:08 pm

Well, I was able to get easymod and the country flags to install without any real issues.

I was fiddling with some other mods and would like know how easymod picks up that there is a mod to install.

I installed mini-cal 1.1.11 (which was flagged as easymod compliant) and found that it doesn't install w/o changes. It has copies like so:
copy mods/index.html to mods/
which fails. I added in the filename and it worked great.

With some fiddling I was able to install:
  • Mini Cal 1.1.11
    Quick Reply with Quote 1.1.3
    Admin Userlist 1.1.0
    Quick Search 1.0.0
    Statistics Mod 3.0.0
    Country Flags 2.2.0
    EasyMOD 0.0.9
The only current issue is getting others to be recognized...

Thanks!

-JEEP

Locked

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