Duplicate URL warning if story is discarded

Register an Account
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 03-16-2008, 11:28 AM
Constant Pligger
 
Join Date: Apr 2007
Posts: 1,042
I just learned that the duplicate URL warning at submit_step_1 checks only queued and published story URLs but NOT discarded ones.

If you have Admin - OutGoing - Outgoing links:title a klick on the title could lead you to the discarded story. That happened to me a few minutes before.

If this is fixed I will add 'If search is unable to find a result please contact the administrator or write an editoral with the URL at the top of the text.' to PLIGG_Visual_Submit2Errors_DupeArticleURL_Instruct of lang.conf.
Reply With Quote
  #2 (permalink)  
Old 03-19-2008, 09:23 AM
Constant Pligger
 
Join Date: Apr 2007
Posts: 1,042
To integrate discarded stories into the test, just skip AND link_status != 'discard' at the duplicate function of libs/link.php.

Furthermore, I´ve learned that the search function of the duplicate warning at submit_step_1 provides a search that is not related to the URL but to the whole domain: http://forums.pligg.com/bug-report/1...in-result.html

Last edited by tbones; 03-19-2008 at 09:30 AM.
Reply With Quote
  #3 (permalink)  
Old 03-23-2008, 07:56 AM
Constant Pligger
 
Join Date: Apr 2007
Posts: 1,042
I just learned another side effect: If you edit the story of the non-discarded article the next screen will show you the discarded one. The display of the non-discarded will keep the old text.

Therefore I strongly recommend you to change link.php if you have the above mentioned setting
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Duplicate story title check web20guy Questions and Comments 3 07-24-2009 06:56 PM
Permissioning required for backup to work? Swakoo Questions and Comments 4 04-02-2009 12:22 PM
upgrading to 9.6 yathosho Questions and Comments 6 07-08-2007 08:05 AM
cann't vote in pligg (buliding 802) haxhax Questions and Comments 27 03-10-2007 07:53 AM
ERROR: my_base_url is not set. Please correct this using the admin panel. Then refres search Questions and Comments 7 11-14-2006 11:35 PM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development