Lirae.co.uk

  Skip to content?
 

EasyAsk&Answer - Getting It To Work With WordPress

You'll need to have a plugin called RunPHP installed.
There are other, very similar, plugins available but I personally use & prefer this one. :)

Installing

Step 1

Download the script and unzip the files anywhere on your computer...if you haven't already done so.

Step 2

Open up config.php and edit the variables to fit your information.
Don't know how to create a MySQL database?

Step 3

Upload all files to your server.

Step 4

Load up install.php in your browser, by going to http://yoursite.com/EasyAsk&Answer/install.php, changing the domain to whatever your site's URL is. ;)
If the install was successful, you will get a message saying that the tables have been installed. It will tell you to delete install.php - do it; you won't be able to get any further otherwise. Leaving install.php on the server could be a problem, so it's best to remove it.

Step 5 (Part 1)

Create three new Wordpress pages; one for index.php, one for ask.php and one for search.php.
In each of these pages, use an include to include the appropriate file into the page; <php include("/home/user/public_html/EasyAsk&Answer/index.php");?>
<php include("/home/user/public_html/EasyAsk&Answer/ask.php");>
<php include("/home/user/public_html/EasyAsk&Answer/search.php");?> Before you save / publish the pages, make sure the "run PHP code?" checkbox is checked.

Step 5 (Part 2)

In config.php, change $urltoask, $urltoaskme and $urltosearch to reflect the URLs to the Wordpress pages.

Step 6

Log into the admin panel by going to http://yoursite.com/EasyAsk&Answer/admin/ and entering the username and password you edited in the config.php file.
Answer the question you will have to ensure that the script is working properly and that's it! :)

 
 
 

All content is copyright © 2004-2008 Carlee Tibbs, unless stated otherwise.

Jump To The Top Of The Page