thanatica2
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Full domain in links and everything?Let me rephrase then.
Why does WP not generate url’s relative to the website’s root? e.g. beginning with a slash.
Again, this would work completely flawless, and it would greatly improve deployment of a database from one environment to the next.
Plugins like these shouldn’t have to exist:
http://wordpress.org/extend/plugins/root-relative-urls/Forum: Fixing WordPress
In reply to: Full domain in links and everything?No, I think you misunderstand. I’m all for absolute url’s, but not for fully-qualified urls.
This is a fully-qualified url:
http://www.mysite.com/dir/to/a/file.phpThis is an absolute url – relative to the root:
/dir/to/a/file.phpand this is a relative url:
../../to/a/file.phpOf course, relative url’s are not going to work, but absolute files will work *perfectly* in a wordpress environment. Just as long as you’re not using and linking to different domains for one and the same site. Which is almost never the case for wordpress installations.
Forum: Fixing WordPress
In reply to: 403 page not workingIt almost works 🙂
My 403 Page is being served upon requestion forbidden content. As expected. But two things are still a bit sour, iyam:
1) the url in address bar is replaced by the redirection url, so all context for the 403 is lost. It looks as if the 403 Page is forbidden all by itself.
2) I can’t easily move this over to my production environment, which is (obviosuly) on another domain.On a sidenote: your remark about the 302 Found is not correct, it seems. If I omit the 403 headers, it returns a 200 OK instead of a 302.
Forum: Fixing WordPress
In reply to: 403 page not workingWell, I played around with it, but it doesn’t seem to be working still…
I created a page and assigned it a slug “403-access-denied”
In the .htaccess I put this line:
ErrorDocument 403 /403-access-deniedAnd I get the 404 template, not the 403 Page.
The 403 Page is accessible via /403-access-denied perfectly well. So, Big Bagel, while your explanation is thorough, it might not be completely correct… That, or I’m still missing something.
Any help plz?
Forum: Fixing WordPress
In reply to: Add headings to wysiwyg editorFirst one might prove to be helpful… I can see how adding buttons would work. I’ll look into it. Not really a pressing matter right now, but some time in the future, I’ll be needing this again 🙂
Shortcodes are just too user-unfriendly. I happen to know how to work them, but my customers don’t.
The WP-Tables plugin is a nice idea and a nice plugin, but not quite what I need right now 😉
Thanks
Forum: Fixing WordPress
In reply to: 403 page not workingThat’s what I needed to hear. I’ll look into it tonight. Thanks 🙂
I still prefer a more elegant solution, though, but this’ll work until then 🙂
Forum: Fixing WordPress
In reply to: 403 page not workingYou mean a page as in a Page? 🙂
That would help, especially if it were possible to assign a template to that Page other than page.php?
But in any case, don’t we have to put a proper 403 template in WP just like there’s a 404 template? After all, WP does include regions where a 403 is thrown by default, so I think it’s a disspointing that 404 is handled by WP and 403 is not. Hoping for this in the next version.
Or maybe it would be possible to implement proper 403-templates in a plugin of some sort, without it breaking in an upgrade?
Forum: Fixing WordPress
In reply to: 403 page not workingActually I want it to show my normal layout, so I’m not going to make a static 403.html. But when I point ErrorDocument directoly to the 403.php, I get this error:
Warning: main(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '2.0/DST' instead in D:\Inetpub\wwwroot\Home\wp-content\themes\thany\403.php on line 1 Fatal error: Call to undefined function get_header() in D:\Inetpub\wwwroot\Home\wp-content\themes\thany\403.php on line 1It’s understandable that it gives an error, because WordPress is supposed to handle template files. So the question remains how to solve this.
A static html-page is not done. A free-standing php is also not going to work since I need WP-functionality in my 403.
Forum: Fixing WordPress
In reply to: SVG upload not allowed??I’m sure the mimetype for silverlight is not mime/type but rather application/x-silverlight-app 🙂
A plugin named “PJW Mime Config” works quite well, I might add.
Forum: Fixing WordPress
In reply to: SVG upload not allowed??I guess I’ll try the plugin solution then. Thanks for explaining 🙂
Forum: Fixing WordPress
In reply to: SVG upload not allowed??Thanks. I didn’t realize this was workaroundable 🙂
There’s just 2 more things bothering me about this:
1) Doing this in a theme makes uploading SVG dependent on the selected theme. Having to do this for multiple sites produces more boilerplate code, plus a theme is not where this function belongs, iyam.
2) Why is SVG blocked in the first place? (Or rather, looking at the code: why is SVG not whitelisted?)
Forum: Plugins
In reply to: Plugin wants to update to another pluginI found a better solution.
My plugin is too custom to be published, so renaming is is only delaying the problem (that is, until someone creates another plugin with the same name).
I found a trick to make a plugin tell WP not to look for updates on it:
http://developersmind.com/2010/06/12/preventing-wordpress-from-checking-for-updates-for-a-plugin/
It’s dirty, but so is WP. So I’ll allow it 🙂At least it’s more future-proof.
Forum: Fixing WordPress
In reply to: Add headings to wysiwyg editorSo, “customizing the wysiwyg editor” is what I’m looking for… But I don’t know where to start. A little help?
Forum: Plugins
In reply to: Plugin wants to update to another pluginAnyone yet? Problem still persists. Still don’t know what do to about it…
Please help?
Forum: Fixing WordPress
In reply to: Adding to media library not working*facepalm* 🙂
For some reason, it was set at
c:\inetpub\wwwroot\wordpress\wp-content/media(that’s right, mixing slashes and backslashes)… In dunno why, I don’t think I’ve ever touched it. Maybe an upgrade issues.No matter tho, I set it to a relative path
wp-content/mediaand it seems to be working again.Thanks 🙂