Jump to content

License key warning on localhost

Featured Replies

Posted

I run some development boards on my localhost machine, and one thing that's always been kind of annoying is that they nag me for the license key. On 3.2 this nag has gotten significantly more in-your-face. Would it be possible to block these nags when the board URL is something like http://localhost/ or http://localhost:*?

For folks running just Apache they'd have URLs that are just http://localhost/whatever, but if you run both Apache and IIS like I do your URLs might have the port number in them. Mine are all something like http://localhost:8080/whatever/.

  • Replies 68
  • Views 17.4k
  • Created
  • Last Reply

+1.

And don't forget 127.0.0.1.....

+1
I agree with Michael's comments. If you need to give me a "local only - license key" to keep the real non-license holders at bay - then so be it.

Never bothered me. Firebug ftw.

There must be a way to easily suppress the red banner for test sites. I notice that it hides some popups.


There must be a way to easily suppress the red banner for test sites. I notice that it hides some popups.




There's a bug report on that. It's not supposed to happen.

I also have a habit of setting up a DNS server on my LAN that sets up a fake .dev TLD. I usually will do something like sitename.dev or sitename.com.dev. Perhaps this could be a regular expression in a define() that can be changeable?


^(local[a-z]+|[0-9.]+|.*(?<=\.dev))(\:[0-9]+)?$

Agreed.

You can't even put your license key in it. It keeps saying invalid.

why not have a test key for local dev or dev situations that way we can avoid the nag reminders

I have both of my keys being used and do to this being a test install I did not bother putting either in. So yes I agree.

I sympathize guys, but honestly if we made some sort of "localhost override" or "definable regular expression" or what not....those trying to bypass the license message would simply use that functionality to do so.

I'll see if we can come up with any sort of other ideas here, but giving easy to use bypasses of the message simply defeats the purpose of such a message.

At the very least, it should not hide 90% of each popup that the ACP generates.


At the very least, it should not hide 90% of each popup that the ACP generates.



+1

At the very least, it should not hide 90% of each popup that the ACP generates.




As noted earlier, there is a bug report regarding that issue.

Does it show the same message if your key is expired?

Why dont you just put the message at the top and not make it scroll with you because that is the part that i hate

Just edit the CSS, or use some browser CSS mod to hide it for now?


Why dont you just put the message at the top and not make it scroll with you because that is the part that i hate


Becaus then it wouldn't be annoying enough. :P

Becaus then it wouldn't be annoying enough. :tongue:




if they were to take the software illegally then they would just remove it like i did on my localhost lol

Why dont you just put the message at the top and not make it scroll with you because that is the part that i hate




Because the idea is that it is in your face, to try and get people to insert their license key. When I first installed 3.2 a while ago, the first thing I mentioned was that 'the popup was so annoying, it made me put my license key in straight away'.


Because the idea is that it is in your face, to try and get people to insert their license key. When I first installed 3.2 a while ago, the first thing I mentioned was that 'the popup was so annoying, it made me put my license key in straight away'.




fair i removed my it on my localhost

I just downloaded admin/skin_cp/acp.css and deleted the code below (the message still shows but is at the top and no red and not hiding anything anymore etc) then re-uploaded
And it disappears completely when you edit the templates or css


/* License Nagging CSS */

#license_notice_force {

min-height: 120px;

top: 0px;

background: #; /* Old browsers */

background: -moz-linear-gradient(top, # 0%, # 100%); /* FF3.6+ */

background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#), color-stop(100%,#)); /* Chrome,Safari4+ */

color: #f6edef;

position: fixed;

z-index: 15050;

text-shadow: 0 -1px 0 #80001c;

line-height: 1.4;

border-bottom: 1px solid #80001c;

-webkit-box-shadow: 4px 0 10px rgba(0,0,0,0.3);

padding: 0 10px;

}

#license_notice_force h4 {

  font-size: 20px;

  padding: 10px 10px 0;

  color: #fff;

}

#license_notice_force p {

  padding: 10px;

  font-size: 14px;

}


#license_notice_force a {

  display: inline-block;

  background: #80001c;

  -moz-border-radius: 10px;

  border-radius: 10px;

  padding: 2px 10px;

  color: #fff;

}

#license_notice_expired {

min-height: 70px;

top: 0px;

background: #f7f7f7; /* Old browsers */

background: -moz-linear-gradient(top, #f7f7f7 0%, #e5e5e5 100%); /* FF3.6+ */

background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f7f7f7), color-stop(100%,#e5e5e5)); /* Chrome,Safari4+ */

position: fixed;

color: #575757;

text-shadow: 0px 1px 0px rgba(255,255,255,0.5);

padding: 10px 15px;

line-height: 1.4;

z-index: 15050;

border-bottom: 1px solid #acacac;

-webkit-box-shadow: 4px 0 10px rgba(0,0,0,0.3);

}

#license_notice_expired h4 { font-size: 18px; }

#license_notice_expired div.right {

  position: absolute;

  top: 10px; right: 10px;

}


  #license_notice_expired div.right a {

   background: #575757;

   color: #fff;

   display: inline-block;

   padding: 2px 10px;

   -webkit-border-radius: 10px;

   -moz-border-radius: 10px;

   border-radius: 10px;

   font-size: 11px;

  }

#license_notice_expired p {

  padding-top: 5px;

  font-size: 12px;

}

#ipboard_body.force_license { margin-top: 120px !important; }

#ipboard_body.expired_license { margin-top: 90px !important; }



If you enter your key on a test board then it messes up your live board does it not?

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.