vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Administrative and Maintenance Tools - Mail Admin When fail to login to admincp V2 (https://vborg.vbsupport.ru/showthread.php?t=229231)

sticky 03-08-2010 09:09 AM

I just can't get this to work, I added the charset, still doesn't. Have no clue what I'm doing wrong.

Videx 03-08-2010 12:42 PM

Quote:

Originally Posted by sticky (Post 1999702)
I just can't get this to work, I added the charset, still doesn't. Have no clue what I'm doing wrong.

Can we assume your email is working? i.e., when you send a test message from AdminCP>Maintenance>Diagnostics>Email it works? Also I guess you tried the things people mentioned earlier, like modifying the url?

archet1337 03-08-2010 01:15 PM

1 Attachment(s)
Installed and working perfectly. Thanks :)

Seeing so many people having problems with this, note that the admin usernames you specify in options are CASE SENSITIVE. I.e you want to have both admin,Admin,administrator,Administrator,yourname,Y ourname for it to work.

At least that did the trick for me.

----------------

If you want a more fancy message, you can use this:

https://vborg.vbsupport.ru/

Code:

<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="180"><img src="http://www.URL TO YOUR IMAGE.com" width="180" height="160" />&nbsp;</td>
    <td width="10">&nbsp;</td>
    <td><p style="font-weight: bold; font-size: x-large; color: #36F;">Login to admin panel failed. </p>
    <p>The administrators have been sent an email with your IP address and other information.</p>
    <p>If you have any questions contact the administrator here:<br/> <a href="mailto:yourmail@address.com">yourmail@address.com</a> or <a href="private.php?do=newpm&u=1">Click Here</a> to send PM</p></td>
  </tr>
</table>


Just upload the image to your server, change the image url in the code, the mailto:url / text and specify admin userID if not 1

Videx 03-08-2010 02:32 PM

Really nice. The only problem is, aside from us when we're testing it, the only people/machines that will see that fancy message are the bastards trying to break in, and I have a feeling it will be wasted on them.

Interesting note about case sensitivity. Curious, I just checked mine and that is not the case and it works fine regardless. I have our two admin names entered in all lowercase, but the Members List shows us both as being capitalized.

archet1337 03-08-2010 03:26 PM

If I were a bot, I would appreciate a neat error message ^^
On a more serious note though, I was just playing around and figured I'd share it.

How weird that yours does not have case sensitivity. Mine refused to display the message when I tried Admin instead of admin.

AliMadkour 03-08-2010 05:26 PM

Quote:

Originally Posted by archet1337 (Post 1999810)
Installed and working perfectly. Thanks :)

Seeing so many people having problems with this, note that the admin usernames you specify in options are CASE SENSITIVE. I.e you want to have both admin,Admin,administrator,Administrator,yourname,Y ourname for it to work.

At least that did the trick for me.

----------------

If you want a more fancy message, you can use this:

https://vborg.vbsupport.ru/

Code:

<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="180"><img src="http://www.URL TO YOUR IMAGE.com" width="180" height="160" />&nbsp;</td>
    <td width="10">&nbsp;</td>
    <td><p style="font-weight: bold; font-size: x-large; color: #36F;">Login to admin panel failed. </p>
    <p>The administrators have been sent an email with your IP address and other information.</p>
    <p>If you have any questions contact the administrator here:<br/> <a href="mailto:yourmail@address.com">yourmail@address.com</a> or <a href="private.php?do=newpm&u=1">Click Here</a> to send PM</p></td>
  </tr>
</table>

Just upload the image to your server, change the image url in the code, the mailto:url / text and specify admin userID if not 1

great edit!

Quote:

Originally Posted by archet1337 (Post 1999871)
If I were a bot, I would appreciate a neat error message ^^
On a more serious note though, I was just playing around and figured I'd share it.

How weird that yours does not have case sensitivity. Mine refused to display the message when I tried Admin instead of admin.


please wait the next version !

Manoel J?nior 03-09-2010 12:33 AM

Quote:

Originally Posted by archet1337 (Post 1999810)
Installed and working perfectly. Thanks :)

Seeing so many people having problems with this, note that the admin usernames you specify in options are CASE SENSITIVE. I.e you want to have both admin,Admin,administrator,Administrator,yourname,Y ourname for it to work.

At least that did the trick for me.

----------------

If you want a more fancy message, you can use this:

http://www.digi-tech.org/images/diverse/adminfail.png

Code:

<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="180"><img src="http://www.URL TO YOUR IMAGE.com" width="180" height="160" />&nbsp;</td>
    <td width="10">&nbsp;</td>
    <td><p style="font-weight: bold; font-size: x-large; color: #36F;">Login to admin panel failed. </p>
    <p>The administrators have been sent an email with your IP address and other information.</p>
    <p>If you have any questions contact the administrator here:<br/> <a href="mailto:yourmail@address.com">yourmail@address.com</a> or <a href="private.php?do=newpm&u=1">Click Here</a> to send PM</p></td>
  </tr>
</table>


Just upload the image to your server, change the image url in the code, the mailto:url / text and specify admin userID if not 1

What template modify?

archet1337 03-09-2010 01:01 AM

Quote:

Originally Posted by Manoel J?nior (Post 2000145)
What template modify?

No template edits, just copy-paste the code into the box in admincp options.

Remember to change the image url in the code, the mailto:url / text and specify admin userID if not 1

Skyrider 04-01-2010 09:03 PM

Weird, I copy/pasted the code and border="0" doesn't work, It still shows the border.

gchristo 06-03-2010 03:01 PM

Working nicely, just wondering, there used to be a version for 3.0 maybe 3.5 that also showed if it was possibly a member allready of the site as well as password tried.
Is it possibly to incorporate that into this?


All times are GMT. The time now is 11:08 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01218 seconds
  • Memory Usage 1,751KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete