PHP Applications
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me



Go Back   Codewalkers ForumsPHP RelatedPHP Applications

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
Old April 12th, 2006, 04:22 PM
plaverty plaverty is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 1 plaverty User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Editing phpMyAdmin Login Page?

I want to put a message on my phpMyAdmin login page, but I can't find where to put the message. Has anyone done this? I think it's the index.php file, but that file is also the one used *after* you log in. I can't figure out exactly where to put the text of my message that I want to appear on the login screen.

Has anyone configured this before?

Thanks.

Reply With Quote
Old April 15th, 2011, 04:35 AM
lucb1e lucb1e is offline
Registered User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2011
Posts: 1 lucb1e User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 19 m 16 sec
Reputation Power: 0
PHPMyAdmin login page source modify edit

First of all, sorry for bumping this very old thread. I know the topicstarter won't be looking for an answer anymore, but this is the only thread on the web I could find about this topic. All others were about 'omgomg i forgot my root pwd' and 'how do i get the logon screen instead of autologin'. To get the answer to the problem out somewhere findable by Google, I'll reply here.

After about two hours of searching, I finally found out after going through all the files and libraries the PHPMyAdmin index.php included. When your auth_type (see config.inc.php) is set to 'cookie', the file is:
/phpmyadmin/libraries/auth/cookie.auth.lib.php
(This was the case in both my local server on my laptop and one I have running 24/7 at home)
Any other auth_type makes it include/require (idk) this file:
/phpmyadmin/libraries/auth/[$auth_type].auth.lib.php
(So replace the [] by whatever you have as auth_type in the config).

Then, around line 260, the login fields are. I needed this to put in an https warning (not force ssl/https, like possible via the config, only warn). Incase someone else wants to do that too, replace line 259 by:
PHP Code:
<?php }
      if( empty(
$_SERVER["HTTPS"]) )
      { 
        echo 
"<h3><font color='darkred'>Waarschuwing: Geen HTTPS verbinding</font></h2>";
      }
?>
(That first } is from another if on line 254: if($GLOBALS['cfg']['AllowArbitraryServer']) )


I hope this will be helpfull to someone else on the web (hence the post title), again sorry for the big topic bump. If you do not reply to this, the topic will go down and disappear fastest ;) I would much appreciate if this post and topic would not be deleted, it would have saved me a lot of time.

Good luck!

PS. My PHPMyAdmin version is 3.2.4

Last edited by lucb1e : April 15th, 2011 at 04:37 AM.

Reply With Quote
Old December 11th, 2012, 12:28 PM
edgar_eacg edgar_eacg is offline
Registered User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Dec 2012
Posts: 1 edgar_eacg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 m 11 sec
Reputation Power: 0
one more thing

Thanks a lot. This has been the only post over all the web I've found usefeul.

But, please, I need you to write some help about changing the left_logo which appears on the upper left corner once you've logged in.
I've tried overwriting the left_logo.png and pma_logo.png files with my own pictures (same file name) but nothing happensa.

And again, thanks a lot.

Reply With Quote
Old December 29th, 2012, 07:24 PM
Rich3nold Rich3nold is offline
Registered User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Dec 2012
Posts: 6 Rich3nold User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 12 m 23 sec
Reputation Power: 0
I can't figure out exactly where to put the text of my message that I want to appear on the login screen.

Reply With Quote
Old May 24th, 2013, 01:24 AM
amish159 amish159 is offline
Registered User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: May 2013
Location: Ahmedabad 380009 India
Posts: 2 amish159 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 24 m 32 sec
Reputation Power: 0
Send a message via Skype to amish159
Facebook
Short while agter submitting My post, I found information online regarding the PHPmyadmin configuration file. After the re-installation the authentication type was set to "config". I changed it to "cookie" and the PHPmyadmin login screen began to operate again as I expected.
___________________
Cresco Solution
IT Project Training in Ahmedabad & Gandhinagar

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Applications > Editing phpMyAdmin Login Page?


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.

© 2003-2014 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap