Ask the community

This is a community support forum where you can ask
questions and interact with other PremiumPress Customers.

Wearning: Too much files in thumbs folder

  • Richard Bonk
    Richard Bonk
    Super Guru 2,739 points
    July 27, 2013 at 8:02 am

    Not me, I can speak seven different languages. ๐Ÿ˜Ž

  • Mark Fail
    Mark Fail
    Super Guru 12,821 points
    July 27, 2013 at 8:09 am

    English slang isnt counted :)

  • Richard Bonk
    Richard Bonk
    Super Guru 2,739 points
    July 27, 2013 at 8:19 am

    English is my second language. I can speak Czech, Slovak, Polish, Russian, Hindi, Punjabi, German and little bit English. :roll:

  • Richard Bonk
    Richard Bonk
    Super Guru 2,739 points
    July 27, 2013 at 8:21 am

    Thinking of learning Spanish (so I can talk to Sean ๐Ÿ˜› ) and Chinese.

  • Radek
    Radek
    Newbie 36 points
    July 29, 2013 at 1:59 pm

    Richard Bonk:
    OK I tried to process it, the files move to the new folders, but the links for the images are broken.

    Questions:
    1) And new thumbs are still generating to the “thumb” folder – does it means that I have to run this time to time?

    2) In which folder should be the .htaccess edit it in root or make new in folder ..thumbs/

    This is hard job for me… uff

  • Richard Bonk
    Richard Bonk
    Super Guru 2,739 points
    July 29, 2013 at 2:55 pm

    1) I would think so, as there is no schedule or cron job set to do that.

    2) The .htaccess file should be in the root of your theme (usually where WP is installed) – You just need to add that rule in there. Don’t forget to adjust the url to point to the dirtree.php (unless you place it where the .htaccess file is).

  • Radek
    Radek
    Newbie 36 points
    July 30, 2013 at 7:25 am

    I do something wrong, so I will describe what I do and you maybe can help me.

    1) create folder dirtree in wp-content/themes/directorypress/
    2) create move_files_to_dir_tree.php in wp-content/themes/directorypress/
    3) create dirtree.php in wp-content/themes/directorypress/thumbs
    4) edit .htaccess in root of WP instal. Bellow is the code, I would like to use the path instead of URL because I run more directorypress with different URL but they share one theme (WPMU + domain mapping)

    # BEGIN dirtree
    RewriteEngine On
    RewriteBase /
    RewriteRule www/wp-content/themes/directorypress/thumbs/([^/]+)$ www/wp-content/themes/directorypress/thumbs/dirtree.php?file=$1 [L]
    # END

    Please can you check this?
    Thank
    :)

  • Richard Bonk
    Richard Bonk
    Super Guru 2,739 points
    July 30, 2013 at 8:56 am

    Why don’t you just keep all the customisations (php files and the dirtree directory) under the WP root rather than fiddling with the urls etc.?

  • Radek
    Radek
    Newbie 36 points
    August 2, 2013 at 1:19 pm

    I cant do this job. It is too difficult for me. I recommend to Mark to count with this as e future request.

    What do you mean Mark about this?

    Radek

Viewing 9 posts - 16 through 24 (of 24 total)