Forum Replies Created

Viewing 14 replies - 1 through 14 (of 14 total)
  • Thanks, that solved my need, too!

    Thread Starter laurim

    (@laurim)

    Found 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;

    Thread Starter laurim

    (@laurim)

    I’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.

    Thread Starter laurim

    (@laurim)

    I 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.

    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!

    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.

    Thread Starter laurim

    (@laurim)

    I 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.

    Thread Starter laurim

    (@laurim)

    Zap! Quick solution. Thanks!

    I 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.

    I 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.

    I 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: Plugins
    In reply to: WP phpBB

    oops, looks like I’ll have to replace get_userdata after all. still get an error when someone tries to post a topic.

    Forum: Plugins
    In reply to: WP phpBB

    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.

    Doesn’t work for me in Firefox/mac

Viewing 14 replies - 1 through 14 (of 14 total)