[rejected] "Turn off password" select

Want to share what MODs you've gotten to work with EM? Happy about all the time your're saving? Want to say "thanks"? Here's the place.
Forum rules
DO NOT give out any FTP passwords to anyone! There is no reason to do so! If you need help badly enough, create a temporary FTP account that is restricted to only the files that you need help with and give the information for that. Giving out FTP information can be very dangerous!
Locked
EVoskamp
Registered User
Posts: 5
Joined: Tue Jan 06, 2004 11:47 pm

Re: "Turn off password" select

Post by EVoskamp »

LLKwerv wrote:Here's the mod, very simple:
http://www.zorfox.net/easymod_pass_remove.txt
" target="_blank
In 0.0.11a of EasyMOD, this does not work because of the md5 encryption: a blank password is not an empty string.
Use this instead (the mod, with md5() encryption of the empty string to compare against):

Code: Select all

############################################################## 
## MOD Title: No EM Pass Screen If Password Unset
## MOD Author: LLKwerv < zorfox2002@yahoo.com > (Zorfox) n/a
## MOD Description: If your EasyMOD password is not set (set as nothing) there will be no password authentication screen.
## MOD Version: 0.0.1
## 
## Installation Level: Easy 
## Installation Time: ~1 Minute 
## Files To Edit: admin/admin_easymod.php
## Included Files: N/A
############################################################## 
## For Security Purposes, Please Check: http://www.phpbb.com/mods/" target="_blank for the 
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code 
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered 
## in our MOD-Database, located at: http://www.phpbb.com/mods/" target="_blank 
############################################################## 
## Author Notes: You MUST have EasyMod 0.0.10a installed for this to work. Other versions of EM might work, but this is only tested on 0.0.10a. 
## 
############################################################## 
## MOD History: 
## 
## 2003-09-09 - Version 0.0.1 
## - first release
## 
############################################################## 
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
############################################################## 
# 
#-----[ OPEN ]------------------------------------------ 
# 
admin/admin_easymod.php
# 
#-----[ FIND ]------------------------------------------ 
# 
//
// password authentication page
//
if ($get_password)
# 
#-----[ IN-LINE FIND ]------------------------------------------ 
# 
$get_password
#
#-----[ IN-LINE BEFORE, ADD ]------------------------------------
#
# This is for versions of EasyMod that do not insert leading whitespace
#
(
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------
#
) && (get_em_pw() != md5(''))
# 
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ 
# 
# EoM

User avatar
GPHemsley
Registered User
Posts: 1617
Joined: Fri Apr 18, 2003 4:01 am
Location: Long Beach, NY
Contact:

Re: [rejected] "Turn off password" select

Post by GPHemsley »

What was the point of that post? This isn't a test forum, you know.... :|

EVoskamp
Registered User
Posts: 5
Joined: Tue Jan 06, 2004 11:47 pm

Re: [rejected] "Turn off password" select

Post by EVoskamp »

GPHemsley wrote:What was the point of that post? This isn't a test forum, you know.... :|
Earlier in this thread, LLKwerv posted a little mod to implement the rejected feature. It did not work for me, so I thought I'd share what I'd had to do to fix it, on the thread where I found that mod.
If this is not appropriate, what would you suggest?

User avatar
GPHemsley
Registered User
Posts: 1617
Joined: Fri Apr 18, 2003 4:01 am
Location: Long Beach, NY
Contact:

Re: [rejected] "Turn off password" select

Post by GPHemsley »

Oh wait... you edited it? I don't think anyone could tell by the way you made your post... It was just a quote of stuff.... No message or anything... ;)

EVoskamp
Registered User
Posts: 5
Joined: Tue Jan 06, 2004 11:47 pm

Re: [rejected] "Turn off password" select

Post by EVoskamp »

I see what happened: there is a closing quote, part of which got eaten.
Odd, I'll have to try and quote that post again, see what happened.

User avatar
GPHemsley
Registered User
Posts: 1617
Joined: Fri Apr 18, 2003 4:01 am
Location: Long Beach, NY
Contact:

Re: [rejected] "Turn off password" select

Post by GPHemsley »

OK, I see what you meant now... Sorry about that. :oops: :P

LLKwerv
Registered User
Posts: 81
Joined: Mon May 26, 2003 5:27 pm
Location: Wherever I am.
Contact:

Re: [rejected] "Turn off password" select

Post by LLKwerv »

Sorry. I was using, like, 0.0.9 when I wrote that, and since, EM's been pretty much overhauled... I've given up on this anyway... I see it's been retitled "rejected"
hello

User avatar
GPHemsley
Registered User
Posts: 1617
Joined: Fri Apr 18, 2003 4:01 am
Location: Long Beach, NY
Contact:

Re: "Turn off password" select

Post by GPHemsley »

Ptirhiik wrote:
GPHemsley wrote:/me shakes head at Ptirhiik....
That I won't allow :evil:
/me shakes head at Ptirhiik quicker.

:mrgreen: :mrgreen: :mrgreen:


EDIT: Wow, that was a long time ago. :oops:

Locked