help me plz dle prob

Status
Not open for further replies.

fahadzaman66

Banned
Banned
1,074
2010
86
0
hi\
i want to know that if any way in dle that if some post duplicated post which already in my website and its not publish again any script or any module availble in dle plz tel me
i mean to say if like movie mission impossible already available in my website and some again posting mission impossible than its not come again publish plz tel me and help me thx
no duplicated content publish in my website any way
please help me guys
 
10 comments
This will check for the title

If there is a news present with the same tilte then it will disallow the news from posting

1. Open engine/modules/addnews.php

Search
PHP:
if( trim( $short_story ) == "" or ! $short_story ) $stop .= $lang['add_err_5'];
Add after:
PHP:
$row = $db->super_query ("SELECT COUNT(*) as count FROM dle_post WHERE title = '$title'");

if ($row['count']) $stop .= $lang['add_err_9'];
2. Open language/English/website.lng

Search for:
PHP:
'add_err_8'        =>    "Only registered user can publish articles.",
Add after:
PHP:
'add_err_9'             =>      "This news is already exist sorry but we can not add the repeated news!",
 
so what happens if i submit these titles :
avatar 2009 xvid
avatar 2009 xvid something
or avatar.2009.xvid
or avatar.2009.xvid.someshit
 
^^ Hmm!

It will not work as cgworld says

But it shouldn't be much difficult

DLE automatically generates random keywords, desc for a news automatically

You can amend the codes to see if there is match in title and in keywords too

Then can refuse to accept it :)
 
its not working and also this code is not available
'add_err_8' => "Only registered user can publish articles.",

please try to solve it out
how this will work
 
its not working and also this code is not available
'add_err_8' => "Only registered user can publish articles.",

please try to solve it out
how this will work

Instead of Find: 'add_err_8' => "Only registered user can publish articles.",

But Search for: 'add_err_8'

All other steps are the same....
 
Status
Not open for further replies.
Back
Top