RobotHero
Forum Replies Created
-
Forum: Everything else WordPress
In reply to: rewriterule and reg. expressionsRewriteCond %{QUERY_STRING} 1&([0-9]+)
RewriteRule ^list2.cgi$ /hp/index.php?%1 [R]Forum: Themes and Templates
In reply to: How to line these up?I found a solution to my own problem.
This is in the style:
h4 {
font-size:25px;
text-align:left;
margin: 0px 40% 0px 5%;
}
.meta {
margin: -22px 2% 10px 60%;
text-align:right;
font-size:16px;
}
This is in the body:
<h4 id="post-123">Time to Rock</h4>
<div class="meta">Filed under: Musicby rrh @ 11:31 am</div>
It has a two pixel variation between browsers, but it’s consistent enough for my tastes, uses no tables, and linearizes correctly.Forum: Themes and Templates
In reply to: How to line these up?I need to retain the
<h4>tags. It loses structural markup without it.
And I’m kind of hoping for an approach that doesn’t use tables.Forum: Fixing WordPress
In reply to: Hacker Hits BlogIt opens a message window that says “test”, which is pretty harmless in itself.
Those plugins will prevent problems caused by people who forget to close their tags.
It would still be possible to include JavaScript, though its placement is a little more restricted.Forum: Fixing WordPress
In reply to: Hacker Hits BlogCafeRg, the file name is just kses.php.
I made a simple plugin that can be used to remove html tags from posts. (Tested only in 1.2)
If you use this in conjunction with the BBcode plugin, it will limit the number of things that can go wrong.
It will still be possible to postthough, so you might want to do something further to prevent that.Forum: Fixing WordPress
In reply to: Hacker Hits BlogI would be surprised if nobody has written a plugin that filters out html tags. I tried looking, but didn’t turn one up.
Forum: Fixing WordPress
In reply to: Sidebar: Can I make it sit still?Or ‘fixed positioning.’
Forum: Plugins
In reply to: Visisble to Friends?Thanks. It looks like I can take that and change the criteria in the should_be_hidden() function.
And of course, it means you have to be logged in before you can see any posts.Forum: Themes and Templates
In reply to: Multiple columns with different categoriesYou know, I’m thinking of making a plugin that will make this easier.
What I would do in the meantime is use a cheap work-around via SSI.
Use the XBitHack so the SSI is processed in index.html.
Create an index2.php file where you’ve removed most of the html except that which appears inside the Loop.
In an index.html file, make the three columns contain this code:
< !--#include virtual="/wordpress/index2.php?cat=1" -->
< !--#include virtual="/wordpress/index2.php?cat=2" -->
< !--#include virtual="/wordpress/index2.php?cat=3" -->Forum: Themes and Templates
In reply to: IE displays half scrollbarOkay. I added
body {
margin: 0px;
}
and that fixed it.Forum: Themes and Templates
In reply to: IE displays half scrollbarI already had 100%. I’ve found that changing it to 99.6% brings most of the scrollbar back into view, but that’s by far not a perfect solution.
The tricky part is, I gather, that the width of my .fixed class is 100%, which I do to make sure that I can centre its contents. If I were able to centre the .fixed div itself, then I could set its width to something smaller that wouldn’t cause this problem.Forum: Fixing WordPress
In reply to: Connecting WordPress with already made website.Actually, in this case, you might be better off adding rewrite rules to .htaccess
Forum: Installing WordPress
In reply to: “View Site” problemYour wp-config.php file should have the name and password for your database. Contact your host to find out how you can access it.
Forum: Fixing WordPress
In reply to: Connecting WordPress with already made website.Well, what I was suggesting is really just a kluge using SSI. Google for XBitHack and you’ll find a page that will explain the details.
But to get those pages to look different from the blog itself, you might also want to create an index2.php that’s been modified accordingly. I don’t have an example on-hand, but you’ll mostly be modifying the .html, anyways.Forum: Fixing WordPress
In reply to: Connecting WordPress with already made website.I did something like this. I used the XBitHack and then for each .html file I want editable, I put something like:
< !--#include virtual="/wordpress/index.php?cat=3" -->
only I changed the value of cat for each page.
Then, when they want to change the page, your clients just need to edit the post in the category associated with that page.