Dudz

+Clients
  • Content count

    17
  • Joined

  • Last visited


Dudz's Activity

  1. Dudz added a post in a topic: Strip exif data at time of upload?   

    bump
  2. Dudz added a post in a topic: [RESOLVED] Male/Female User Groups?   

    Good post, Andy!


    As long as whether they tell the truth, or lie, about their gender doesn't make a difference to you, that should work well. :)
  3. Dudz added a post in a topic: How to manage default secondary groups, and promotion?   

    Post #2 and #4 are the ones that best fit your purpose.

    You will find use for #5 later down the road.
  4. Dudz added a post in a topic: How to manage default secondary groups, and promotion?   

    You can also have someone listed as a "member" (or whatever) as their primary, and put their secondary group as something with higher privs ...and it won't show. They will get all the privs of their primary group, plus anything extra the secondary group allows.
    For example: a "member" with moderator privs, but it still shows as a regular member.

    Unfortunately, it doesn't work in reverse.
  5. Dudz added a post in a topic: How to manage default secondary groups, and promotion?   

    Yep :smile:

    You can set up lots of groups and have it auto-promote to a higher one as they post more and more if you want. Newbie, member, senior member, etc ...or whatever it is you desire to call them.

    P.S. I added some stuff to the above post while you were writing your response.
  6. Dudz added a post in a topic: How to manage default secondary groups, and promotion?   

    If your primary group permissions/settings allow the users more freedom, they will override the secondary group permissions/settings and give your "new members" the same privileges as the regular ones.

    I would suggest giving the new members their own usergroup and permissions, and auto-promote them after "x" number of posts. Just post a thread on your board that explains the various groups/ranks, so your members can all understand how your system works and you won't be fielding questions about it constantly. You have to protect against spammers and your members should understand .....and if you want to promote someone early, you can do it manually in about 10 seconds.
  7. Dudz added a post in a topic: Guidance needed in server selection (or moving to VPS) and sustain all my hardwork   

    P.S.

    If you'd like a copy of the file I reference in my post, I can email it to you. Just provide an address.
    You can edit it to your own preferences with any text editor, such as notepad.
  8. Dudz added a post in a topic: Guidance needed in server selection (or moving to VPS) and sustain all my hardwork   

    I think Grumpy is referring to my recent post regarding shrinking pics and stripping the exif data.
    I did solve the problem and built a script to do the job. In the end, I gained nearly 30% of my space back.
    Now our site can wait another 6 months to a year before we need more disk space.

    Check this:
    http://community.inv...s/#entry2296866
  9. Dudz added a post in a topic: Strip exif data at time of upload?   

    I have been running a cron job to strip exif data from photos, but would really like to strip it out at the time of upload instead of batching them at night ....to better protect the privacy of our members. With "smart" devices these days, way too much information is attached to pics.


    Anyone have any bright ideas???

    P.S. Please forgive me if this is posted in the wrong area, and feel free to relocate it.
  10. Dudz added a post in a topic: Shrink existing pics?   

    [quote name='.Nuno.' timestamp='1344195594' post='2294054']
    Look for comand line scripts inside the tools folder, supposing you are talking about the gallery.

    [quote name='Grumpy' timestamp='1344314534' post='2294591']
    Well... one method would be...

    [quote name='Gary.' timestamp='1344334326' post='2294633']
    Before you run the cmd for imagemagic make sure your in the right directory as when it finishes your forum could look rather funky if it's done wrong.

    Done it before :tongue:. Not good !!!



    I just want to thank you guys for your help ...and offer to the masses, my solution to the problem. I do not take full credit for this, I did have some additional help from another friend in the creation of it.

    Although I did not directly use your suggestions, they did help point me in the right direction.
    Here is what I ended up doing, via the cron system, and it works like a champ!

    I have a .sh file, placed in the root folder, with cron executing it as shown in this pic.



    Here is the code contained in the file:



    Please feel free to copy/share this information in other areas of the board where appropriate.
    #!/bin/bash # this script strips the exif data from already uploaded jpg photos # using mogrify. Mogrify is part of the ImageMagick suite of tools # 8-13-2012 added more script to resize the images, while keeping the original aspect ratio intact # it will not look inside subfolders so you must add each folder you wish it to search through, like i have done # it will reduce to the specified pixel size but will not affect any image which is already smaller # you can adjust the pixel size to your liking for i in `ls -R $HOME/public_html/uploads/*.jpg`; do mogrify -resize 800x800> -strip $i > /dev/null ; done for i in `ls -R $HOME/public_html/uploads/monthly_01_2012/*.jpg`; do mogrify -resize 800x800> -strip $i > /dev/null ; done for i in `ls -R $HOME/public_html/uploads/monthly_02_2012/*.jpg`; do mogrify -resize 800x800> -strip $i > /dev/null ; done for i in `ls -R $HOME/public_html/uploads/monthly_03_2012/*.jpg`; do mogrify -resize 800x800> -strip $i > /dev/null ; done for i in `ls -R $HOME/public_html/uploads/monthly_04_2012/*.jpg`; do mogrify -resize 800x800> -strip $i > /dev/null ; done for i in `ls -R $HOME/public_html/uploads/monthly_05_2012/*.jpg`; do mogrify -resize 800x800> -strip $i > /dev/null ; done for i in `ls -R $HOME/public_html/uploads/monthly_06_2012/*.jpg`; do mogrify -resize 800x800> -strip $i > /dev/null ; done for i in `ls -R $HOME/public_html/uploads/monthly_07_2012/*.jpg`; do mogrify -resize 800x800> -strip $i > /dev/null ; done for i in `ls -R $HOME/public_html/uploads/monthly_08_2012/*.jpg`; do mogrify -resize 800x800> -strip $i > /dev/null ; done for i in `ls -R $HOME/public_html/uploads/monthly_12_2011/*.jpg`; do mogrify -resize 800x800> -strip $i > /dev/null ; done for i in `ls -R $HOME/public_html/uploads/monthly_11_2011/*.jpg`; do mogrify -resize 800x800> -strip $i > /dev/null ; done for i in `ls -R $HOME/public_html/uploads/monthly_10_2011/*.jpg`; do mogrify -resize 800x800> -strip $i > /dev/null ; done for i in `ls -R $HOME/public_html/uploads/monthly_09_2011/*.jpg`; do mogrify -resize 800x800> -strip $i > /dev/null ; done for i in `ls -R $HOME/public_html/uploads/monthly_08_2011/*.jpg`; do mogrify -resize 800x800> -strip $i > /dev/null ; done for i in `ls -R $HOME/public_html/uploads/bgimages/*.jpg`; do mogrify -resize 800x800> -strip $i > /dev/null ; done for i in `ls -R $HOME/public_html/uploads/gallery/album_1/*.jpg`; do mogrify -resize 800x800> -strip $i > /dev/null ; done for i in `ls -R $HOME/public_html/uploads/gallery/album_7/*.jpg`; do mogrify -resize 800x800> -strip $i > /dev/null ; done for i in `ls -R $HOME/public_html/uploads/gallery/album_8/*.jpg`; do mogrify -resize 800x800> -strip $i > /dev/null ; done for i in `ls -R $HOME/public_html/uploads/gallery/album_13/*.jpg`; do mogrify -resize 800x800> -strip $i > /dev/null ; done for i in `ls -R $HOME/public_html/uploads/gallery/album_15/*.jpg`; do mogrify -resize 800x800> -strip $i > /dev/null ; done for i in `ls -R $HOME/public_html/uploads/gallery/album_18/*.jpg`; do mogrify -resize 800x800> -strip $i > /dev/null ; done for i in `ls -R $HOME/public_html/uploads/gallery/album_19/*.jpg`; do mogrify -resize 800x800> -strip $i > /dev/null ; done for i in `ls -R $HOME/public_html/uploads/gallery/album_20/*.jpg`; do mogrify -resize 800x800> -strip $i > /dev/null ; done for i in `ls -R $HOME/public_html/uploads/gallery/album_21/*.jpg`; do mogrify -resize 800x800> -strip $i > /dev/null ; done for i in `ls -R $HOME/public_html/uploads/gallery/album_22/*.jpg`; do mogrify -resize 800x800> -strip $i > /dev/null ; done for i in `ls -R $HOME/public_html/uploads/gallery/album_23/*.jpg`; do mogrify -resize 800x800> -strip $i > /dev/null ; done for i in `ls -R $HOME/public_html/uploads/gallery/album_24/*.jpg`; do mogrify -resize 800x800> -strip $i > /dev/null ; done exit;
  11. Dudz added a post in a topic: Shrink existing pics?   

    Anyone? We're running out of server space :(
  12. Dudz added a post in a topic: Shrink existing pics?   

    [quote name='.Nuno.' timestamp='1344195594' post='2294054']
    Look for comand line scripts inside the tools folder, supposing you are talking about the gallery.


    Pics uploaded in forum posts are more of an issue than than the gallery, but both would be nice.
  13. Dudz added a post in a topic: Shrink existing pics?   

    We have a lot of oversize pics on our server that we need to shrink down to save space.

    Just wondering if anyone has seen a tool around that can be used to shrink the existing oversize pics that were uploaded prior to changing to settings so it shrinks them at the time of upload. Doing them one by one manually would be a major PITA.

    Thanks in advance for any help,
    Dudz

About Me

Status Feed