mattread
Forum Replies Created
-
Forum: Installing WordPress
In reply to: Is there a debian package for 2.0 yet?it’s in the unstable branch:
Forum: Installing WordPress
In reply to: Newbie: Install script sends me to Matt’s Googly SiteFireFox is great!
Forum: Installing WordPress
In reply to: Newbie: Install script sends me to Matt’s Googly Sitewhoa! double post! ttttuuurrrn the hhheeat onnn!
Forum: Installing WordPress
In reply to: Newbie: Install script sends me to Matt’s Googly SiteIs there any redirects setup in your server? Maybe a wrong IP/URL? What version of WP? Any plugins installed? Any other files on the server?
Sorry for all the questions to your question… just trying to figure out what happened.
Forum: Installing WordPress
In reply to: Newbie: Install script sends me to Matt’s Googly SiteIs there any redirects setup in your server? Maybe a wrong IP/URL? What version of WP? Any plugins installed? Any other files on the server?
Sorry for all the questions to your question… just trying to figure out what happened.
Forum: Fixing WordPress
In reply to: how to auto intercept the article?Do you mean excerpt?
If so, You could add the
<!--more-->
tag. it’s in the Codex, https://codex.www.ads-software.com/Writing_PostsForum: Fixing WordPress
In reply to: Mats google Sitejohnmryan, Well it certainly wasn’t sent to me (Matt’s Googly Site). I don’t know why it would be redirecting you to my site. Maybe it just loves me ??
What plugins do have installed?
Forum: Everything else WordPress
In reply to: WordPress OPML LinksSure, it hasn’t been updated in a while but here is all the code to do that:
Forum: Plugins
In reply to: Custom Query StringSorry, about the downloads. I’m getting them back up soon. I did some “spring cleaning” but got a little too zealous. ??
here’s the URL:
https://mattread.com/wp-content/dropbox/custom-query-string.zip
@edit: I should note that this is a new version too.
Forum: Plugins
In reply to: Best way to copy and paste code?1. Did you save the file as .php and not .txt? (probably)
2. did you save as plain text?
3. did/can you save/upload as ASCII? and use LF instead of CRLF or CR?
Forum: Themes and Templates
In reply to: non SGML errors . . . lots of themYou have some strange encoding going on with your editor. Which editor do you use?
Forum: Fixing WordPress
In reply to: My Z function is not working, please helpHere is a function I use to get file contents using curl:
function get_file($url)
{
# check for curl...
if ( !extension_loaded('curl') )
die('Curl is not installed.');# initiate curl session...
$ch = curl_init($url) or die('Curl failed to Initiate.');# set curl options...
curl_setopt( $ch, CURLOPT_HEADER, 0 );
curl_setopt( $ch, CURLOPT_HTTPGET, 1 );
curl_setopt( $ch, CURLOPT_FOLLOWLOCATION, 1 );
curl_setopt( $ch, CURLOPT_TIMEOUT, 15);
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, 1 );# execute curl commands...
$curl_result = curl_exec( $ch ) or die('Curl failed to execute GET.');
curl_close($ch);return $curl_result;
}So if you wanted to get the contents of a file on another site, you would do:
$my_file = get_file('https://othersite.com/file.ext');
echo $my_file;
Forum: Fixing WordPress
In reply to: My Z function is not working, please helpthey didn’t stop supporting the include function. They stopped supporting the include function with url’s, like:
include('https://site.com/file.php')
But local paths still work, like:
include('./file.php')
or
include('/home/foo/bar/file.php')
Note the above applies to require() as well. And the above is my understanding of that post.
Forum: Fixing WordPress
In reply to: Need help with Permalinksalso, you need to add/change
AllowOverride All
in the apache config, under <directory />, for rewrites to work.Forum: Fixing WordPress
In reply to: Need help with Permalinkschmod .htaccess 777 so it can write to it. Then chmod 644 when your done writing to it for security.
or use rboren’s simplified rewrites, and never have to change them again ?? ( lost the link, google knows where it is )