thanatica2
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Adding to media library not workingSorry, this is windows, so chmod is not going to cut it.
And like I said, updates are working fine (meaning WP can write files perfectly fine) and “everyone” has “full control”. Can’t give more permissions than that…
Second.
Putting the width in an inline style is rediculous, or just silly at least. Inline styles are hard to override, and this particular style does absolutely nothing that cannot be done with proper styling.
Simply giving the image it contains a
display:blockand 5px of margin on either side, will produce exactly the same effect in proper CSS that does not need to be generated by an unmodifyable hardcoded blackbox 😉Forum: Fixing WordPress
In reply to: White Screen, no errorsDB should be easy as pie.
If the server is all yours, you *should* know how to create a database and make a username/password for it. If not, find someone who knows what he’s doing 😉
If it’s a shared hosting environment, then your hoster should provide a DB-server address (could be localhost, but may as well be an IP-address), database-name, username and password.
Fill it in and it should work.
Funny thing is, if it doesn’t work, WP should tell you what’s wrong, afaik.
Forum: Fixing WordPress
In reply to: I get a "0" added at the start of each postSo you chose a broken theme for your website… Theme-builders will never learn, apparantly.
If you don’t want to fiddle with braces and brackets, then don’t. Let someone do it who knows his business. That’s what front-end developers are for 😉
Forum: Fixing WordPress
In reply to: I get a "0" added at the start of each postStart by validating your HTML and fix those errors. The HTML is a horrorshow, sorry to be so blunt. Being as it is, the HTML may well be the source of your issue.
ALWAYS make sure your code validates, before getting confused over erronously rendered content.
Forum: Fixing WordPress
In reply to: Add headings to wysiwyg editorSorry for the late reply… but I still kind of need this. I did find the kitchen sink button, and I did find that it hides a dropdown with all kinds of styles. But I don’t know how to customize it. Basically what I want to constrain the user in what he can do in terms of elements/styling.
For instance, no <h1> in the content, but I do want to add a button to indicate that a blok of text is javascript, and have some class added to it. Or how about inserting simple tables, or a button to put special classes and elements on a link to make it appear as a fancy button. I could go on.
Forum: Fixing WordPress
In reply to: White Screen, no errorsbefore we start yelling to reconfigure your server to output PHP errors/warnings (which you can setup in your php.ini), it might be a good idea to sum up the things you tried…
or at least put a php file with this in it, in your WP installation:
<?php phpinfo(); ?>And open that with the browser. It’ll tell you what’s what.
Forum: Fixing WordPress
In reply to: Triple dot conversionYes, that would work. But it’s highly superfluous, because wordpress is doing its best to make “nice” characters (and there are a lot more than ellipses) and I’m undoing all that. Seems like a lot of wasted CPU cycles for absolutely nothing.
I dug in the code a little bit, and soom found out that
wptexturizeis responsible for replace a whole buttload of characters and expressions by prettier things. Yes, prettier, but *not* what I type. I want to have control.So my search went on to find out why it was being called at all, because it isn’t. Not for content anyway. Seems that wordpress abuses php’s functionality of calling functions by name rather than reference, for plugin-ish functionality. Really oldskool.
Anyway, in the end, this fixes things:
remove_filter('the_content', 'wptexturize');And presto. Normal characters again.
(Actually there are a LOT of filters for which
wptexturizeis added, but I won’t sum them all up, they’re indefault-filters.php)Forum: Fixing WordPress
In reply to: Triple dot conversionSorry that doesn’t do it. I think you misunderstood me by thinking I meant the ellipsis at the end of an excerpt.
I was talking about three dots anywhere in a page/post, written with the default editor (no matter if using HTML or wysiwyg). So when displaying the page or post normally (not as excerpt), three dots, anywhere in the content, are convert to an ellipsis.
That’s the one I’d love to have disabled 🙂
Forum: Fixing WordPress
In reply to: Triple dot conversionAlright, cool, so how do I disable it?
Forum: Themes and Templates
In reply to: Post Comment button as a buttonI was afraid of “why”-questions. I’m a skilled frontend-developer, and I know what I’m doing. I also know quite well what I want for my HTML, and why I want it that way.
A background image is one of worst ways of working around it, especially knowing there has to be a good solution. Something spits out <input>, and all I want it to have it spit out <button>. Don’t care much how.
Forum: Themes and Templates
In reply to: Relative urls please?Well, it would only strip off the domain. The rest is left alone… It would probably keep working, right?
Forum: Themes and Templates
In reply to: Relative urls please?If a custom permalink is something like:
/year/month/day/title
Then it becomes
/2011/01/21/Try-this
As a relative url.This will work fine, because when a visitor goes to a permalink, the browser will recognize that the domain has to be the same as in the address bar. When using it for bookmarking, the browser will, again, recognize that it needs to prepend the protocol and domain to make it fully-qualified.
Only when using permalinks for pingbacks and such, you’re probably better of with absolute urls, but those are special and are probably generated on the fly.
Forum: Themes and Templates
In reply to: Relative urls please?So if my site is http://example.com/ I could just strip off “http://example.com” from each and every link to make them work (as in: make them deployable to a new domain). That will make them relative [to the root of the website], and is 100% predictable, even when the wordpress core somehow doesn’t know which url it is at.
Weird. I wonder if I could put together a plugin that fixes this 🙂
Forum: Themes and Templates
In reply to: Relative urls please?Really, why? Does wordpress really, absolutely, indisputably need to include the full http-part and domain part? Why why why? Not a single non-wordpress site I’ve ever built (quite a few) needed them to link to within the same site.
I’d love to be convinced otherwise, but a simple “wordpress need them”, or something like that, is no reason 😉