Forum Replies Created

Viewing 11 replies - 16 through 26 (of 26 total)
  • sounds good that’s fixed in the new ver. , ringmaster. I am still wondering about editing the caption after the post has been saved…

    sounds like the new version will be even more awesome
    1) my thoughts about the permission stuff:
    deletion from inside wordpress/exhibit could be enough, that depends on how much time you want to spend on the code of course. BUT I think it would be good if a user could not only set chmod for t-folders (like now, in the config file) but ALSO for other created subfolders with exibit. do you see what I mean, ringmaster? just wanna be sure we’re understanding each other here πŸ™‚ because that chmod-stuff in the config file is working fine with the t-folders.
    2) my question about not being able to modify captions/previews when editing a post, is that fixed in the new version? you said something about a preview bug that’s been fixed, is this what you meant?
    thank you so much for the plugin, you’re doing a fantastic job here.

    andrew, I tried a couple of dats what you suggested about deleting but at least that didn’t work for me. I had to ask my host about deleting those folders plus modify exhibit to give me enough permissions in the future

    Forum: Plugins
    In reply to: Idea for the links category

    I list recent links & blogs I read on my index page, with a separate page for all links. see http://blog.trubbel.com
    and http://blog.trubbel.com/links.php

    valiot, this is because the owner of the files is not set to you and permissions are by default 755 or something like that which means you only get a “5” I’ve posted one solution above (see umask). to remove the folders you have now, you have to contact your host who has root access and can delete them.

    uhm. I created a post with some exhibit-stuff, it looks great. but if I go back to edit the post once published, it won’t let me remove pictures or change the caption…what’s wrong?

    yea, I know where the thumbnils are created in the php-file, it’s more where chgrp should be added to the other subfolder-function that confuses me πŸ™‚
    664 is not a problem, the problem was that the folders were created with 755 permissions…I could change that to 664 or whatever preferred with umask.
    I definitely think an unlink feature would be good. I miss deletion of files from inside exhibit now when I can upload them πŸ˜€

    I’ve been thinking about this chgrp thing. it’d be really useful if it could be set to the group “whatever my username is or something” and this could be set in the config file or something like that so it’d be easy for people to change the group.
    the thing is that I’ve done a search on chgrp and I see how to add this to the t-folder code sort of because I understand that part of the code. but I don’t really know how to add it to the code where the user creates folders because I don’t know enough php. πŸ™‚ like, if I am not getting this totally wrong, you have to define which folder to change the group of, and I don’t know how to define that folder.
    there’s also the problem that if I add a chgrp to the thumb-folder-code, I get “operation not permitted” (chgrp). is this because the t-folder is inside my imagefolder which have my username set as the group while exhibit seem to “belong” to group 99 (and user 99) and therefore cannot change group of files/folders inside my imagefolder.
    could that be fixed in some way? otherwise is umask the only solution that I can see :/

    ok, I DID IT πŸ˜€
    around line 1472 before the @mkdir – added umask(0000);
    line 1453 before $abspath – added umask(0000);
    this gives me permissions 777 on created subdir’s & t-folders. doesn’t have to be 777 of course, this was just a test to see if it was possible. it was! I can now delete created folders heh.
    this also works:
    @mkdir(“{$path}/t”,0777);

    yea, I know I have to ask my host to remove the pictures but for the future, it’d be better if the script could just give “me” enough permissions for deleting as well since lots of people don’t have root access and would have to get help from their webhost everytime something was to be deleted. I know this is possible to do (through a search on google) with a php script but I don’t know enough php to fix it.

    I found the solution for the problem with “create dir/upload” didn’t show up – I had image upload permissions set to 10 and I my user (I’m admin) was a ten – but when I changed permission for uploading to 9 (that is, one below my level), it worked! great – except for the chmod stuff πŸ™‚
    the chmod thing doesn’t work with neither 0664 or 664 but I’ll try a little bit more…

Viewing 11 replies - 16 through 26 (of 26 total)