To password protect a wordpress 3 blog with a single password use this script:
http://www.spiders-design.co.uk/password-protect-wordpress-blog/
Archive for the ‘Uncategorized’ Category
Password protect wordpress 3 blog
July 2nd, 2010, posted in UncategorizedCache blog for faster access
April 18th, 2010, posted in Uncategorized, website design / hostingYou can now cache spiders-design for faster access. We use google gears to cache all images and scripts and posts.
You can see the status in the green box in the footer of the page.
Block all adverts whilst you browse the web
April 18th, 2010, posted in UncategorizedAdverts are annoying and clutter up your screen. If you hate adverts then download these:
Internet explorer: download this
Firefox: download this (requires you to be using firefox now)
Chrome: download this
Hope this helps remove annoying adverts from your life.
Speed up internet browsing by using google DNS servers
March 27th, 2010, posted in UncategorizedFirstly you must access your router configuration page. To do this first try the 2 links below if these don’t work follow the 3rd link to find out the IP address of your router.
http://router.spiders-design.co.uk
http://router2.spiders-design.co.uk
http://compnetworking.about.com/od/workingwithipaddresses/f/getrouteripaddr.htm
You then need to find out how to change the DNS servers (have a look around – should be in broadband settings or equivalent) if you can’t find it then google change dns dervers followed by the make and model of your router.
To change these settings you usually have to login to your router. To find out your routers default password google router make and model followed by default password.
Then change primary DNS server to 8.8.8.8 and the secondary to 8.8.4.4 this will speed up your day to day browsing but not downloads. For information as to why this speeds it up read on.
Every time your browser visits a new site google.com or yahoo.com it has to Ping a DNS server to find out the physical IP address of the server that the site is being hosted on by using google’s DNS servers you speed up this service (because google is awesomely quick)
this wouldn’t however speed up downloads as the ping has to be done only once per site.
Google chrome upload percentage
March 7th, 2010, posted in UncategorizedBest free hosting site
March 3rd, 2010, posted in UncategorizedHostcell.net This company is very good and has extremely good service and great specs. Slightly more fussy over signups though as each is individually verified but still very nice and great support.
Password protect wordpress blog
February 21st, 2010, posted in UncategorizedPlace this at the top of header.php
1: session_start();
2: if(isset($_SESSION['authenticated'])){
3: if($_SESSION['authenticated'] == "yes") {
4: $authenticated = "yes";
5: }
6: else{
7: $authenticated = "no";
8: }
9: }
10: else{
11: $authenticated = "no";
12: }
13:
14: if($authenticated != "yes"){
15:
16: echo <<<EOT
17: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
18: <html>
19: <head>
20: <title>Redirecting</title>
21: <meta http-equiv="REFRESH" content="0;url=http://chatfieldfamily.co.uk/login.php"></HEAD>
22: <BODY>
23: Not authenticated - redirecting...
24: </BODY>
25: </HTML>
26: EOT;
27: exit();
28: }
29: ?>
And save this as login.php
1: <?php
2: session_start();
3: if(isset($_REQUEST['password'])){
4: $password = $_REQUEST['password'];
5: if($password == "password") {
6: $_SESSION['authenticated'] = "yes";
7: $do = "redirect";
8: }
9: else {
10: $do = "incorrect";
11: }
12: }
13: else{
14: $do = "showform";
15: }
16: //done processing
17: if($do == "showform"){
18: $formhtml = <<<EOT
19: <html>
20:
21: <head>
22: <title>Your Site | Login</title>
23: <style type="text/css">
24: body {
25: background: url(images/1.jpg) no-repeat;
26: background-size: 100%;
27: font-family:Verdana, Geneva, sans-serif;
28: }
29: #form {
30: opacity: 0.5;filter:alpha(opacity=50);zoom:1;
31: }
32: #form:hover {
33: opacity: 0.8;filter:alpha(opacity=80);zoom:1;
34: }
35: </style>
36: </head>
37:
38: <body>
39: <div align="center" id="form" class="form"style="margin-top:400px; margin-left:40%; margin-right:40%;; background-color:#000; color:#FFF"><h2>Chatfield Family Login</h2>
40: <form action="http://chatfieldfamily.co.uk/login.php" method="post">
41: Password: <input type="password" name="password"></input><br></br>
42: <input type="submit"></input></form></div>
43:
44:
45:
46: </body>
47:
48: </html>
49: EOT;
50: echo($formhtml);
51: }
52: else if($do == "incorrect") {
53: $formhtml = <<<formhtml
54: <html>
55:
56: <head>
57: <title>Your Site | Login</title>
58: <style type="text/css">
59: body {
60: background: url(images/1.jpg) no-repeat;
61: background-size: 100%;
62: font-family:Verdana, Geneva, sans-serif;
63: }
64: #form {
65: opacity: 0.5;filter:alpha(opacity=50);zoom:1;
66: }
67: #form:hover {
68: opacity: 0.8;filter:alpha(opacity=80);zoom:1;
69: }
70: </style>
71: </head>
72:
73: <body>
74: <div align="center" id="form" class="form"style="margin-top:400px; margin-left:40%; margin-right:40%;; background-color:#000; color:#FFF"><h2>Chatfield Family Login</h2>
75: <form action="http://yoururl/login.php" method="post">
76: <div style="color:#F00" >Incorrect password</div>
77: Password: <input type="password" name="password"></input><br></br>
78: <input type="submit"></input></form></div>
79:
80: //Creating an array of images you want to change between each other
81: var bg = new Array('url(images/1.jpg)', 'url(images/2.jpg)', 'url(images/3.jpg)');
82: var imgIndex=0;
83: //Starting function
84: function changeBg()
85: {
86: $(document).ready(function(){
87: $("div.bg")
88: .fadeTo( 100, 1) //can use any other effect to animate the transition
89: .fadeTo( 100, 1)
90: .css("background-image", bg[imgIndex]);//changing the style
91: });
92: imgIndex = (imgIndex + 1) % bg.length; //looping
93: }
94: setInterval("changeBg()", 1116);//interval between each transition
95:
96: </body>
97:
98: </html>
99:
100: formhtml;
101: echo($formhtml);
102: }
103: elseif($do == "redirect") {
104: echo <<<redirect
105: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
106: <html>
107: <head>
108: <title>Redirecting</title>
109: <meta http-equiv="REFRESH" content="0;url=http://loggedinurl.com"></HEAD>
110: <BODY>
111: Authenticated - redirecting...
112: </BODY>
113: </HTML>
114: redirect;
115: }
116: ?>
see it in use at www.chatfieldfamily.co.uk
How to set up windows live writer
February 20th, 2010, posted in UncategorizedGo to chatfieldfamily.co.uk. You should see a screen similar to the one below or “You are accessing this site from the Chatfield household” in the top left.![]()
Login with the password. You should now see:
Click on Login on the bottom of the sidebar.You should now see:
Login With your username (your name) and your password (default is password).
At the top right after logging in click on your name. Then scroll down and set your password.
Click Start then type “windows live writer” or until it appears, click on it.
You should see:
Click next then select other blogging service and click next again.
type in chatfieldfamily.co.uk and fill out your username and pasword
The blog type is wordpress 2.2+
the publishing url is http://chatfieldfamily.co.uk/xmlrpc.php
After it has set up click finish
How To Make A Window Stay Always On Top in Windows 7 | Windows 7 hacker
February 17th, 2010, posted in Uncategorized
There are times it’s convenient when having one window always stay on top of any otherwindows on your windows desktop, especially on a dual monitor setup. And that’s exactly whyPowerMenu comes in play.
It’s a small free utility that only does one thing, adding a few extra menu options in addition to the standard “Close”, “Maximize”, etc options. Besides Always on Top, it also offersTransparency and Minimize to Tray.
The tool was developed originally for Windows 2000, but works quite well in all other versions, including Windows 7. However, because of the new task bar in Windows 7 that doesn’t have Window options, the only way to make it work is to use the top frame of the Window. Just right-click and pick one of the three extra options.

And here is what the Live Writer looks like when the Transparency was set to 40%, with the big green leaf as the wallpaper at the background.

That’s it, and enjoy.
Download PowerMenu on Abstract Path
Buzz
February 11th, 2010, posted in UncategorizedGoogle has released google buzz an alternative to twitter.
Also check out wakoopa.