![]() |
Quote:
|
I've gone back and forth with this issue (photo links being broken) and using this mod. How hard is it, if a member asks to have his or her photos removed to remove them from the server? I think the members still own the copyright to their photos and if they wish to pull it, it ultimately is their prerogative, right?
|
In my terms of service (and just about every forum TOS I ever saw) the simple act of posting anything on your forum be it text or picture grants you an irrevocable lifetime license to do with the content as you please. If the user owns the copyright they grant you a license to display it forever. The issue arises when a user posts an image they don't own the copyright to... in that case what is supposed to happen is the copyright holder sends you a take down notice you must comply with or face a lawsuit in which case you should comply.
However there is one well known company skipping the take down notice and going right to the lawsuits so it is a tough call. |
Quote:
|
Quote:
If I do delete posts (rarely), I hide the whole thread the author has started, but will not touch any of quoted and otherwise copied posts. Including photos. As for the Terms of Service (TOS), I never will delete any post. It has been saving me several times from getting sued by forum fighters ;) |
y2ksw, if you're taking feature requests, here is some code I made to keep the original file names...
1) It takes only the file name, not the path- 2) It strips all non alpha-numeric characters besides underscores 3) It sets a max length and truncates any characters over the max length 4) It still appends an integer number to the end so there will never be any file name conflicts. I added 1 new function replacing iei_getfile_index with: PHP Code:
PHP Code:
Feel free to use some, all, or none of this as you see fit. :up: |
Quote:
Second, any idea how long you think it would take to run a 150,000 post forum through this process at 10 posts per shot? Regards, Doug |
Quote:
curl but I really should be enabled |
Quote:
|
Question:
Wouldn't this eat bandwidth? I mean technically speaking, the more photos on your site that have to load... The slower things become, right? I'm sure this helps in some way... I just lack the vision at this moment to see it. Not to add the idea that it would add to your file system? |
It would use more of your own bandwidth but you stop "stealing" other people's bandwidth and you have total control over the images so if someone decides to delete or change them one day you still have them.
I know I have a user who posts a weather map graphic from time to time. It gets updated every few minutes, so if I do end up using this on my live forum I should remember to put whatever domain it's from on the ignore list else the image will never update. |
Maybe I'm evil... But I'd rather eat someone else's bandwidth / server load time.
If I could find a cheap (yet fast) way of loading images on another server... I think I would. |
Not sure if this has been said before but if you are installing this mod, please be careful about copyrights. Inline image links *might* save you a court date but actually downloading and serving these from your server will def. get you in trouble.
google "righthaven lawsuits" and you will know why I am posting this caution. |
Quote:
So iei_getfile_index I replace with all the code you posted? As for the last part, sorry what am I replacing exactly? What is the call to function? |
thanks for a great mod.
How do I add more tags into this mod? Right now we can only use [img] tag. I do have [IMGL] and [IMGR] on my forum to align images to the left or to the right of the post. Thanks again for a great mod. |
Quote:
As for the copyright, you don't steal images by copying them into your site. Google Images would do a great damage to all the sites they copy images from, in order to show them to everybody, don't you agree? You steal them from the moment you are using them improperly. For this reason I am a bit concerned about importing images from CMS posts, since the authors are usually administrators and thus should not steal images from other sites to make their own site nice and interesting ;) |
Quote:
|
Quote:
As for the "call to the function" it's the line directly under the comment //Get File Index Replace the line: PHP Code:
PHP Code:
PHP Code:
|
Quote:
$SQL = "SELECT postid, " . TABLE_PREFIX . "post.dateline, pagetext, forumid FROM " . TABLE_PREFIX . "post join " . TABLE_PREFIX . "thread on (" . TABLE_PREFIX . "post.threadid = " . TABLE_PREFIX . "thread.threadid) WHERE iei_parsed = 0 AND threadid=28420 AND pagetext LIKE '%[/IMG]%' ORDER BY postid"; When I did that with your PHP file, I get an SQL error, while the same piece of code addition in y2ksw's code executed correctly ONLY against that thread ID? :confused: I like the idea of keeping the original filenames (or a variant thereof) and thank you for showing us that method, but I wanted to ensure it would work cleanly on our site before I turned it ON live against our whole forum. Ami I missing something? Sorry, I'm not a programmer ... :D Regards, Doug |
Quote:
|
Quote:
But this is my last post on this issue- this is not my mod, I'm not supporting any changes... I released my code so someone who knew what they were doing could implement it at their risk if they chose. I'm not going to pollute this mod's thread with my own code support- if the author chooses to implement and/or support it that is his business. |
I have updated this product with a BETA 1.0.4 version (1.0.2 is stable), in order to allow testing the new features, such as multiple tags, reverse order, forum ID's, original file names and so stuff.
I have tested this on my production site with 800.000+ posts and it worked. However, until I have tested this on another, much larger board, I will not make it an official release. Thanks to all who have made contributions and have tried it so far :) |
FYEAH! Thanks! I will test it :)
|
OH my cant belive i missed this one Thanks muchy :)
|
Installed, and it works fine for now :3
Thanks allot for this update! |
Hmm am not sure if its working or not lol. Does it not Cache external images than am confused :(
|
Quote:
It's not immediate, the task runs every 10 minutes and if you have a backlog of posts it could be days or weeks before you catch up to recent posts. |
Quote:
Seems not to be working for me tho Not sure if its because me forums is off tho |
Yeah it would probably only work with forums turned on because scheduled tasks won't run if off. You could manually run the scheduled task.
|
Quote:
|
Quote:
After checking, disable the logging because it may flood your logs with a tremedous number of entries, depending on the number of pasted images ... ;) And of course, tasks are not running until forums are on. |
Can you explain more about the "cache" option in the new Beta?
|
Quote:
|
Any estimate on what you'd consider a "huge amount" of images? 100,000? 1,000.000? 10,000,000? More than that?
|
Quote:
On one site we have 120.000+ images and it continues to work, thus maybe that's not huge. But we also give unlimited memory to the PHP processes and the server can hold up to 16 GB. Maybe a million is huge, in this context :) |
Thanks.
|
1 Attachment(s)
Went live today with 1.04 .... :up:
Crossed my fingers and opened up most of our forums to start importing 10 posts at a time from the oldest to newest .... :D First few runs seemed quicker with this ordering (old to new) than the testing we did with (new to old)... also turned OFF logging after first few runs ... Let's see how long it takes to get through our site to the latest ... y2ksw and BirdOPrey5 ... thanks for all the help from both of you ... :) Regards, Doug Update: Ok, I started the live execution yesterday at about 4:00 pm (same time as this original post) and checked the first few logs. Everything seemed to be working according to the logs and the earliest threads seemed to be processed. Out of curiosity to see where it was at this morning, I turned LOGGING back ON and waited until cycle for cron had past. I checked logs and there wasn't anything there at all. So, I manually ran the process and watched it (see pic attached). It's been sitting like that for almost 15 minutes, just supposedly processing 10 posts, so I suspect it's hung and I have no idea how long it hasn't been running since I started it at 4:00 pm yesterday. I also don't know if there's been any database damage or not due to the hanging, but the vBulletin error logs don't show any SQL errors and the board seems to be running fine. I assume I should quite the processing on the screen attached and do what next? :confused: Update to update: In checking actually file storage on the server under /imported, it appears that the last pics imported happened at about 5:05 pm, so it appears that the import mod ran just over an hour after I had originally started it before it stopped working .... and hasn't worked since. Another update: I have tried turning OFF the cache and that didn't make any difference. Another update: For info purposes, we are running on a dedicated private host and Safe Mode is OFF, so that shouldn't be a time out problem. y2ksw suspects the job is timing out, so I've asked him for some debug code to be built into a test version of the cron job for manual run testing, so we can see where this is failing and perhaps why. |
I have just tested this and it's got a serious bug.
I have set "Forum URL replacement" to http://static.domain.com and alot of images get replaced with just that domain. For example there was an image "http://www.angelfire.com/oz/gbeze/images/circuit.gif" and it got replaced with "http://static.domain.com/ Apart from that great mod. |
Quote:
Could you please attach a setting with which I may reproduce this behaviour? Thanks |
It would be better if there was an option to exclude forums instead of include forums. :-) Looking forward to have that option also in the feature version. A super and nice plugin. I love it.. Thanks a lot friend.. :-)
|
All times are GMT. The time now is 05:00 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|