rustindy
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: WordPress and ASPOn top of that, if your server has more than one IP address or you don’t need IIS (and by extension ASP) for anything, then remove IIS and install Apache (http://www.apache.org) instead. It really is a better web server.
Forum: Fixing WordPress
In reply to: WordPress and ASPWordPress doesn’t use ASP at all. You can install PHP in a Windows server without trouble though – just go to http://www.php.net, download the latest version (4 or 5, doesn’t matter – WP works with both) and install it into IIS (use the manual installation steps, you’ll end up with a much better system that way). Then boogey over to http://www.mysql.com and download MySQL 4.1 and install it. Make sure PHP is set to support MySQL (read the PHP installation text file to find out how to turn it on – PHP4 is done automatically, but PHP5 requires a quick change to the
php.inifile) and go for broke 🙂In short, WP can live very happily on a Windows server. It ignores ASP completely.
Forum: Themes and Templates
In reply to: get_sidebar() questionYup, that does look better, thanks 🙂
Once I’ve styled things a little more and added this list of links and articles I’ve collected, it’ll hopefully look a bit more like a real site 🙂
Forum: Themes and Templates
In reply to: get_sidebar() questionAAAAG! I completely forgot about that damn text-align thing. Thanks Root 😀
I know what causes the 3pixeljog, but I decided that in this case I wasn’t too concerned about it since it won’t be noticable to anyone. At some point over the next day or two, I’ll be doing my best to kill it 🙂
Thanks 🙂 When I got to this point I realized how much it resembled so many other blog templates (at least the top half) – post on the left, menu on the right. Oh well. Maybe my next one will be more creative.
On the plus side, this layout means I only run the Loop once to get all the posts. There’s a little PHP in the template that decides the
classfor the postdivand whether it has anh3orh4. Very convenient.Thanks again!
Forum: Themes and Templates
In reply to: get_sidebar() questionOh, it works in IE 4, 5, 5.5, and 6, and Firefox (so presumably all recent Gecko browsers). I haven’t tested Opera, and have no access right now to Linux or Mac boxes to test it on. The only existing issue that kills me is that the site isn’t centered in IE 4 or 5.x.
Forum: Themes and Templates
In reply to: get_sidebar() questionThe way the site is laid out (or planned to be, more accurately) is so that the front page will be two columns for the duration of the latest post (shown in full), and then 3 columns underneath to show a couple of certain categories of links and excerpts from the most recent posts. Pretty much every other page will be 2 columns, lacking the two
divs that make up the two columns at the bottom of the page.http://www.digitalrights.ca is the address of the site. It’s in a VERY early stage right now, and ugly as hell, but it works (except that there is currently *only* the 2/3 column template, no 2 column pages yet). The CSS is very unorganized, and I did have to make a single concession to IE 5.x’s 3-pixel-jog bug, but it is otherwise entirely hack free.
Please feel free to let me know if I’m on the right track with this 🙂
Forum: Themes and Templates
In reply to: get_sidebar() questionYou would be partially correct sir! Actually, this particular site template is looking like a cross between http://www.ifelse.co.uk/ and http://www.wp-blogger.com/blog/ (or http://www.atthe404.com). So it’ll be a 3-2 column theme in the end.
Forum: Themes and Templates
In reply to: get_sidebar() questionThanks, I’ll give that a shot.
(I’m making a theme – needs two sidebars with different content, but it seemed like a good idea to keep all of it in one
sidebar.phpfile so it would be easy to find.)You don’t need PHP to do an include command. Just find out whether they are using an IIS or Apache server (or whatever server software – there are quite a few web server programs out there) and find out the syntax for a “server-side include” command. The example I gave will work on a Windows server running the IIS web server.
A “cron job” is a scheduled job on an operating system. For instance, you could write (or find) a script that would run read your RSS feed and write the results to an HTML file. Then schedule it using Cron (or the Windows Task Scheduler if you’re hosted on a Windows server) to run every 15 minutes, or hour, or 6 hours, or whatever.
Using the technique above (server-side includes) has one drawback – every time their site is viewed, your site will execute the script. This could create an unwanted load on your server, depending on how busy their sites are. If you use the cron job to write an HTML file and they
includethe HTML file instead of the script, then your server only runs the script according to the cron schedule, which would be a lot easier on your server.If their host supports server-side includes, then they can include a file (CGI, PHP, ASP, whatever) from your site.
For example, if their site is on a windows server, they can add the following line to their site:
<!-- #include file="http://www.MYDOMAINNAME.com/rss2html.php?XMLFILE=http://www.MYDOMAINNAME.com/wp-rss.php&TEMPLATE=http://www.MYDOMAINNAME.com/sample-template.html&MAXITEMS=15" -->I don’t offhand remember the syntax for a server-side include under Apache, but it’d be easy enough to look up.
Supporting “server-side includes” is something that is up to the web server software itself – no scripting language is needed on their website, just the website where the
phpfile is being called from (in this case, your site).Forum: Plugins
In reply to: WordPress on PDANow what about a posting program that doesn’t use the proprietary .Net framework? PalmOS is still the “big guy” on the PDA campus, doncha know 😉
Have a cron job running on your server every, maybe, 15 minutes, that runs a script that takes your RSS feed and writes an HTML version of it. Then give people the location of that HTML file and they can
includeit on their websites using server-side includes or an iframe or whatever.Check the codex at http://codex.wordpress.org/Enable_Sending_Referrers for information. The “sending referrers” problem is pretty common, and can happen for about a thousand different reasons. All of the common causes and solutions are in the codex link above 🙂 If you check that, then try installing a different browser (like Firefox or Opera) and see if that makes a difference. If it’s still broken, then hit this thread again and let us know.
Forum: Themes and Templates
In reply to: Download Spring Fairy themeThe $30 is not for licensing the fairy image used in the original theme, it’s to recreate the theme with a *different* image.