pftq.com
August 3rd, 2007
Posted by pftq

Coppermine Anti-Copy Mod

Not a plugin sorry :( I didn’t feel like reading up on how to make one :P It’s close enough to one however, you only directly modify two files. The rest is added on. Yes, yes, now what am I talking about?

If you visit the Gallery, you will notice that right-clicking any image will not allow you to save it. You end up with a blank image or worse… a VIRUS (just kidding :P). Along the way, each image has an automated caption, that even if you did manage to copy it, all would know you downloaded it from pftq.com

Some may notice I’ve already had this feature on my site for some time. I just never got around to cleaning up the code (I want to remain presentable thank you! :P ) and packing it up into something I can upload. It’s also taken a while to get the bugs out (unlike PHP, Wordpress, Java, or any other language I know, I can’t find a code reference for Coppermine!! :( )

Anyways, enough talk… here’s the full list of features! :D

- Basic Protection: Overlay a blank image over all pictures (prevent right-click copying)

- Hiding Links: Pass all picture addresses through an image-generating file:
–* Requires random code from server to generate an image.
—-* Random code generated from timestamp + offset from any resource of your choosing
–* Optional caption on generated images.
–* Optional resizing on the fly.
–* Image-generator and its features usable independently from mod and gallery (see CUSTOMIZATION)

- For those with Apache: Deny access to files
–* Deny direct access to all image files (specify types in .htaccess file)
–* Forward those who find the images to a page of your choice.
–* Allow you to rename the image-generating file to any name and extension.

- Copying Permissions: Specify specific users and groups to allow copying
–* Enter the user id # or group name into the Gallery Description or Album Password Hint
–* Seperate with commas, no spaces (unless part of group name)
–* Place a negative in front to deny. ex -1, -banned
–* Denying has priority over allowing.
–* Optional removal of caption for those allowed to copy, see CUSTOMIZATION

- Extra features I added to my own gallery and am too lazy to undo:
–* Categories with no visible albums (to the user) and no thumbnail/description become hidden from view.
–* Videos default to 640×480 dimensions
–* Non-image files can now use custom intermediate images if uploaded (default normal_ prefix)

DOWNLOAD! And enjoy :D

91 unique view(s)
August 2nd, 2007
Posted by pftq

News and Forums Joined, Site Fully Combined

Something I’ve been trying to get to ages ago. The site is finally properly combined. Register on either the news, blabberbox, gallery, or forums and it registers for the entire site. Log in on one section and it logs in for all, etc.

The plugin I used for the SMF/Wordpress bridge is not completely stable and I had to do some modifications to get it to work right. Let me know if you find any quirks when logging in or editing your site account.

Finally the forum has one final layout change. News header which was removed long ago has been added back in and blended in. Ads have been moved to between the news and boards, fitted into its own cubby hole in the forums.

Overall it’s pretty crowded but hopefully better than before. Let me know if the new layout bothers anyone. Suggestions welcome.

90 unique view(s)
July 31st, 2007
Posted by pftq

New and Faster Forum Skin

        I’ve been noticing some lag in the forum.   It turns out to have been the theme I was using, which I have using since I first started the site.   Obviously some of the code is not as refined as it should be; I went through and started a new theme from scratch.   Hopefully the forums look a bit cleaner (although much the same) and run much faster.   Let me know if you find anything that looks out of place to you.

80 unique view(s)
July 22nd, 2007
Posted by pftq

File Renamers

  I finally taught myself enough Java to make something useful (to me anyways).   Have not done any real programming in ages - this really took alot more effort than it should have, but here they are:

  I use these two programs primarily to rename photos and videos I take on camera.   The EXIF Renamer renames your photo based on the date it was taken.   The File Renamer uses the Last Modified Date (for videos and other files which lack EXIF data).   These programs have helped me rename over 15000 files; I hope others find some use of it as well.

86 unique view(s)
July 13th, 2007
Posted by pftq

Gallery Updates

At the request of a friend, I’m working on some code that should cause a gallery to “hide” the photo files  it shows you.     You can view photos but not copy or download them (not from the site anyways).   For testing, I’ve applied it to my own gallery.   Over the next few days, I will tweak and hopefully improve the code further.

Please let me know if you find any breaches and are able to copy/download photos. :P Of course, it’s not going to prevent indirect copying (recording the screen and cropping) but you won’t get the full original files that way.

83 unique view(s)