Dec
14
2008
0

External login using the WordPress 2.7 login system

– Note, this is updated to work with WordPress 2.7 –

I needed a way of letting users in a Wordpress blog be able to login to a different website on the same domain (for example, if you want to host a web portal of some kind that shares the user system of your hosted wordpress blog, making it easier for your users to only need one account on your site). Googled the idea and found nothing, so worked it out for myself.

These are the steps for WordPress 2.7. There is only one difference, and that is in editing the login.php file to work with logging out.

First, your site needs to include the wp-config.php file.

include_once($_SERVER['document_root'].”/blog/wp-config.php”);

Then, edit your config file to contain the following extra lines (note, users will have to log in again after doing this): (more…)

Written by Jamie in: CubeShack.co.uk | Tags: , , ,
Oct
19
2008
0

Wordpress 2.7

Admin panel starting to look good :)

http://wordpress.org/development/2008/10/the-visual-design-of-27/

Wasn’t a fan of it until they added then styles to the LHS menu

Written by Jamie in: CubeShack.co.uk |
Oct
09
2008
4

Using a WordPress login on a different site

This has been updated for WordPress 2.7: Using the WordPress 2.7 login system

I needed a way of letting users in a Wordpress blog be able to login to a different website on the same web host. Googled the idea and found nothing, so worked it out for myself. I’m using 2.6 in this example. It’s all quite straight forward.

First, your site needs to include the wp-config.php file.

include_once($_SERVER['document_root'].”/blog/wp-config.php”);

Then, edit your config file to contain the following extra lines (note, users will have to log in again after doing this): (more…)

Written by Jamie in: CubeShack.co.uk | Tags: , , ,
Sep
14
2008
0

IE sucks

I hate how true this is

I hate how true this is

Every time I decide to do some web development, there’s a small voice in the back of my head that is whispering a prayer that maybe… just maybe… whatever I try and make, after checking it complies with W3C standards and testing the code exhaustively… maybe maybe… it might work in Internet Explorer… but no…

I’ve seen this image a lot of times over the last few years… I always go in search of it each time I finish a project to make me feel better and that I’m not the only person Internet Explorer hates. (more…)

Written by Jamie in: CubeShack.co.uk | Tags: , , , , ,
Aug
21
2008
0

.htaccess alias setup

I’ve got this situation:

I own 4 domains, they all point to the same hosting space. So, each domain would load exactly the same pages. I.e, example1.com/home/ is exactly the same as example2.com/home/

I’ve searched forever to find a .htaccess script to do this, and I finally have it. (more…)

Written by Jamie in: CubeShack.co.uk | Tags: ,
Aug
05
2008
0

New Site

CubeShack.co.uk is having a major redesign and different direction.

Stay tuned ;)

Written by Jamie in: CubeShack.co.uk | Tags:

Powered by WordPress | Aeros Theme | TheBuckmaker.com