forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: gabbadude on March 13, 2006, 08:40:23 pm
-
Hey Guys,
I was hoping someone could help me out with a small mod.
I have my CPG configured to "Allow unlogged users (guest or anonymous) acces" = "No".
Therefore as you know, I it always shows the login page first. What I want to do is put an image on either side of the login table but I don't want it to show once am logged in. the user is logged in. I only want it to show when the login page is displayed.
I have searched the code to try and figure this out myself but I am not good with PHP coding.
Can someone help me please?
Thanks in advance. :)
gabbadude
-
open login.php in your editor and find
starttable('-1', $lang_login_php['enter_login_pswd'], 2);
below is the html that generates the login form. Modify it to your needs
backup the file first
-
Thanks for this but if I do this it will also show up once I have logged in.
As I said before, PHP and me are not good together. :S
Can you help?
-
??? once you're logged in you don't see the login.php form anymore and there's no more link to it????
I don't get what you want / need