laurim
Forum Replies Created
-
Forum: Themes and Templates
In reply to: password protect a templateThanks, that solved my need, too!
Forum: Plugins
In reply to: changing upload url, now not uploadingFound it! I didn’t realize ABSPATH was the path to WP. When I replaced that with $_SERVER[‘DOCUMENT_ROOT’] it works and I don’t even have to set anything in the config file:
function wp_upload_dir() {
$siteurl = get_settings('home');
$path = get_settings('upload_path');
$dir = trailingslashit($_SERVER['DOCUMENT_ROOT']) . $path;
$url = trailingslashit($siteurl) . $path;Forum: Plugins
In reply to: changing upload url, now not uploadingI’ve found if I hardcode the desired directory path into functions-post it works. Naturally, this isn’t an ideal method since I’d like to just change the config file for each client rather than hack the include file.
Forum: Plugins
In reply to: changing upload url, now not uploadingI tried that I’m afraid. Images still go into the WP directory in whatever subfolder I specified.
If I don’t change functions-post to use the “home” reference instead of the “siteurl” reference, anything I put in the config file gets tacked onto the end of https://www.mysite.com/wp (https://www.mysite.com/wp/../images/filename.jpg for your example) and gets uploaded within the wp directory.
I can’t find a method that will get me to https://www.mysite.com/_media that ACTUALLY uploads the file to that folder. WP creates the correct url that gets used when I add the image to a post but doesn’t actually upload the file and I don’t get an error to tell me what the problem is.
None of my site’s content files are in the WP directory because I’m using it as a CMS, not using the templates. I’d like ALL the site files to reside outside the WP directory just as a matter of consistency and to make it easy to upgrade without accidentally deleting my uploaded files.
Forum: Installing WordPress
In reply to: option miscellaneous allow-file-upload WHERE?i have 2.0 where that isn’t possible. I just discovered that 2.02 fixes the upload feature so now I need to carefully update to get it. thanks!
Forum: Installing WordPress
In reply to: option miscellaneous allow-file-upload WHERE?why would they remove the option of changing where the files get uploaded to? That stinks. I don’t want uploaded files to go into the wp space when I’m using it as a content management system that doesn’t use WP templates and such. I want images and media files to go into my main site directory space. Guess I have to hack the admin files and I don’t like doing that because I’ll have to remember where the hack is for the next client and so on. Please give us back control over where uploaded files go and ideally, I would like to specify different folders in the upload form so I can segment by pictures, video, etc.
Forum: Fixing WordPress
In reply to: dynamically retrieving a single post from the url variableI guess I could go on the template system just for Videos, make a category-7.php template and use an if (is_category (7) ) statement to serve a special single_video.php page for single video pages. Is this what you mean? Sure would be easier if I could just get the post from the url variable and keep reusing the same main page. I suppose if I knew MySQL better I could extract the data from the database without WP.
Forum: Fixing WordPress
In reply to: post code in archive different (loses <li>, <ul> and <ol>Zap! Quick solution. Thanks!
Forum: Fixing WordPress
In reply to: Comments to multiple email addressesI need this functionality, too. I want to be able to have several people screen all comments and get notified/approve other’s posts on one blog. I think the administrator should be able to delegate maintenance tasks so you can keep the blog running while you are unavailable to moderate. Setting up a special admin email acccount that’s forwarded to several people is a partial solution but not a good one for those with limited domain control.
Forum: Fixing WordPress
In reply to: Comments to multiple email addressesI need this functionality, too. I want to be able to have several people screen all comments and get notified/approve other’s posts on one blog. I think the administrator should be able to delegate maintenance tasks so you can keep the blog running while you are unavailable to moderate.
Forum: Fixing WordPress
In reply to: Comments to multiple email addressesI need this functionality, too. I want to be able to have several people screen all comments and get notified/approve other’s posts on one blog. I think the administrator should be able to delegate maintenance tasks so you can keep the blog running while you are unavailable to moderate.
oops, looks like I’ll have to replace get_userdata after all. still get an error when someone tries to post a topic.
I found a conflict with the function make_clickable in the phpBB file “includes/bbcode.php”. I think all it does is identify when someone writes a url and makes it clickable. Apparently, WP has the same function. I didn’t need it in my message board so I commented it out, rather than renaming it and finding where it’s called. I also found a conflict with the board’s User Groups (something about a member object) so I commented out that link in the overall_header.tpl. Kind of slapdash I know, but as long as I don’t need the functions, it was the easiest thing to do so I could use my site’s header include with a menu managed by WP inside my message board’s template.
Forum: Fixing WordPress
In reply to: Bookmarklet using MacintoshDoesn’t work for me in Firefox/mac