Gossamer Forum
Home : Products : DBMan : Customization :

JPDs User-friendly html.pl

Quote Reply
JPDs User-friendly html.pl
Hi,
first : excuse my poore english ;-) greetings from germany.

I use the "User-friendly html.pl" and I did't get managed to activate the "lookup_form" to get the password mailed to the user who has forgotten his password.
What do I have to modify?

thanks for your help

JK

Quote Reply
Re: JPDs User-friendly html.pl In reply to
You will need to install the password lookup mod, which is at http://www.jpdeni.com/...s/secure_lookup.html.

I should probably take that subroutine out of the file so folks don't get confused. I'm glad you mentioned it.

Tschuess!

JPD
http://www.jpdeni.com/dbman/
Quote Reply
Re: JPDs User-friendly html.pl In reply to
Hi JPD,
thanks for your help!
One more question: Where do I change a field to hidden?
It may be a "stupid" question, but I searched for this
through all the files ..maybe I'm blind ;-)

cu
JK

P.S.: I visited your website, even the private ones, and I was deeply impressed about the way you get along with your fate.

Quote Reply
Re: JPDs User-friendly html.pl In reply to
Actually, the best thing to do is to use the Configurator on my site to create your .cfg file and the form and display subroutines. Sometimes these things are a little hard to explain, but the Configurator will do it for you.

In Reply To:
I visited your website, even the private ones, and I was deeply impressed about the way you get along with your fate.
Thank you. We all have to do the best we can.



JPD
http://www.jpdeni.com/dbman/
Quote Reply
Re: JPDs User-friendly html.pl In reply to
I've been there allready! It's great, and the .cfg is now ok, beside some little things like that. Going back and creating a new .cfg und html.pl would cause a lot of additional work. In html.pl I changed these fields (e.g. ID, user, e-mail) already into hidden, but they still appear in the forms. So please give me a short hint, where I have to look for this configuration.
Thanks
JK

Quote Reply
Re: JPDs User-friendly html.pl In reply to
I don't understand how they would appear if they are hidden.

The best thing is for me to look at your html.pl file. Please copy it to a web-accessible directory (one where you would place .html files) and rename the file to html_pl.txt. Then come back here and tell me where I can find it. I'll take a look at it and see if I can figure out what's going on.

(I am going to go to bed soon, though, so I won't be back online for a while. Smile)

JPD
http://www.jpdeni.com/dbman/
Quote Reply
Re: JPDs User-friendly html.pl In reply to
Hi JPDeni,
first let me thank you for your support :-)
You can find my html.pl under:
http://www.fotografenmeister.de/innung/test/html_pl.txt
Please be aware, that I've translated it into german.
But i think you can handle this.
One more problem: after my last ftp-upload, I recieved a error form the server, that at the end of html.pl is missing a bracket. So I added a second though in the original file I can find only one on this place.
What's wrong with my brackets?
Thanks a lot !
cu
JK
P.S. Now it's time for me to go to bed (11.45 PM)
Gre aus Ludwigsburg (Greetings from Ludwigsburg nearby Stuttgart in the south of Germany)

Quote Reply
Re: JPDs User-friendly html.pl In reply to
In Reply To:
Please be aware, that I've translated it into german. But i think you can handle this.
Well, I know what German looks like and I know a few words. But I mainly look at the actual code. Smile

I see that you have several hidden fields already, or at least "admin-only" fields -- ID and user. The fields will only show up if the user has "admin" permission. Did you want to change this to be hidden all the time? Or did you want to hide other fields?

In Reply To:
So I added a second though in the original file I can find only one on this place.
If this happens again, please don't just add a bracket unless you know where it should go. It's much harder to figure out where the problem is if there's an extra one. (Well, I have to figure out where the one should go and then figure out where your extra one is.)

...(A little later.)

I found the bracket you added. Smile

In sub html_add_form, you need to add a ; to the end of the line:

$page_title = "Neuen Eintrag hinzufügen";

In sub html_change_password_success, is where your missing bracket was:

Code:

if ($auth_lookup) {
print qq|
<$font>Wenn Sie Ihr Benutzername oder Ihr Passwort vergessen haben, koenen Sie es sich
<a href="$db_script_url?db=$db_setup&lookup_form=1">zumailen lassen.</a></font>
|;
}
(Greetings from Kent, near Seattle, in the northwest of the US. Smile)

JPD
http://www.jpdeni.com/dbman/
Quote Reply
Re: JPDs User-friendly html.pl In reply to
Hi JPDeni,
the changes are made! ...Thanks!
While doing the changes I found out that I have 2 different (yes two) html_change_password_success in my code!
Which do I have to delete?

The fields "ID" and "user" should be admin_only and not displayed for others. But they are displayed as you can see here:
http://www.fotografenmeister.de/...w_records=1&ID=*
The records are only "dummies"! Also i want to take your advice and set e-mail to admin_only!

Solutions are leading to new questions Smile

cu
JK