Cotonti / Open Source PHP Content Management FrameworkContent Management Framework

Forums / Cotonti / Extensions / Report Broken Link / Page Plugin

Plugin for users to report broken download links or report rule breaking pages

singh336
#1 2014-01-30 04:14

I tried to search up and down and maybe i missed it, but surely, there must be a plugin / extension somewhere out there for users to report broken DL links and other such?

 

We have many pages on the site with download links, thousands I think.  So its really hard to keep track of everything when images in the description or file links for the download do not work anymore, users just comment over and over that the link is broken, but that doesn't help us.

 

I was thinking maybe to make a "REPORT BROKEN LINK" button and have it PM a list of users with administration rights.

But the problem with this is, I would like to standardize the message on the pm title and body text.. as well as include the link tot he DL page... I can't rely on the users reporting the page to remember to do all of that.. they just simply will mess anything up given the chance.

 

Any idea?

<a href="http://www.streetlegalmods.com/">http://www.streetlegalmods.com/</a>
Macik
#2 2014-01-30 09:58

Simply, the algorithm is (for page text links): 

  • select pages / forum / something else content (can be done in several steps if you had huge amount of data)
  • parse it for links with RegExp 
  • [optional] save in cache list of links and pages modified date 
  • list it in admin tools window
  • check it alive with http request by curl 
  • show results and links to source page to modify it if neccessary
  • [optionally] you can PM or save list

For DL links it even simplier:

  • select DL link from pages
  • check file is exists (file_exists for local files and curl for external)
  • show results 
https://github.com/macik
правильный хостинг — https://goo.gl/fjCa1F
singh336
#3 2014-01-30 19:44

A lot of times the , hopefully everytime.. the file link is linked for example to "mediafire" account where you click and then go to media fire website and then again press Download.. i don't think this script can tell that?

 

I cannot afford the bandwidth to host any of this files on the servers we have.

<a href="http://www.streetlegalmods.com/">http://www.streetlegalmods.com/</a>
sarakhan
#4 2014-12-17 09:24

nice and good post

sara