Member
Member
terriann   20-10-2008, 04:44
#1

I think it would be great to separate the form for gallery logins to a template file rather than automatically created. I'd like to be able to customize my form and add a message to my clients including a graphic about where they get their username / password.

Does anyone else think this would be a valuable addition or modification?

Member
Member
sbillard   20-10-2008, 17:28
#2

There is no reason why you cannot do this on your own. Just create a form of your desire including the components needed for the login.

Member
Member
terriann   20-10-2008, 20:49
#3

I was referring more to the form that automatically pops up for a protected album than a form that I would just link to or use on an existing page or template.

Member
Member
sbillard   20-10-2008, 21:51
#4

Ok, I understand, but still you can do this yourself--just a little bit of work.

insert
`
if (checkforPassword(true) {

}
`
at the front of your theme scripts.

Member
Member
terriann   21-10-2008, 17:53
#5

Oh can't believe I missed that! I'll have to give that a whirl later tonight, thanks!

Member
Member
imelik   06-09-2009, 23:15
#6

Hi. Where i find a default album password form. In which file? I need replace "The page you are trying to view is password protected" and "password" words. Thank you

Member
Member
sbillard   07-09-2009, 01:42
#7

If you are running the current version of zenphoto that form is either part of your theme (for the ones distributed with zenphoto). If you are not using one of the standard themes, copy the password.php form from them and modify it to your desire.

Member
Member
imelik   07-09-2009, 13:58
#8

I use default dark theme. password.php include only

beside album name and footer.
No form. Where i find checkforPassword()function ?
Thank you

Administrator
Administrator
acrylian   07-09-2009, 14:10
#9

And a few lines above is the line " "The page you are trying to view is password protected".

Member
Member
imelik   07-09-2009, 14:59
#10

Show me.

        Mina , mu pere ja hobid

[list]
Albumid
Minust
Kontakt
Blogi
[/list]

    " title="">
     | 
Administrator
Administrator
acrylian   07-09-2009, 16:17
#11

You already replace that sentence with "Sisesta parool" it seems.

Member
Member
sbillard   07-09-2009, 17:04
#12

You should invest in a tool that will allow you to search files. That is the easiest way to find function code.

Member
Member
imelik   07-09-2009, 17:15
#13

1."Sisesta parool" is replacement for "A password is required to access this page".

2."You should invest in a tool that will allow you to search files". It seems like a only option.

I found it. Form is in template-functions.php

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.