Many thanks,
That's a great idee !!!!!!
This little plug could be something very great for mybb......
And a must be for the future.
As said Labrocca the board could be very slow if there is a search request for all new post with url.
How about a mybb_database [link, #post, member, date] ?
I don't how it works exactly but i think, search request for this plug could be fast in big forums.
Many mods could be usefull with a database only for links in post.....
Create a badlist of links, forbid external link etc...
[/hr]
This plug is very interesting because we have a lot of edk link on my board.
ed2k://|file|Carte%20Seveso%20France%202003%20-%20Netcha%C3%AFev.gif|158493|6F5AAA292760418D4975
FA401083A434|h=UZ6IFKLL4F6QOTZ7RHOBSE2BX7S5XXHT|/
The bolded part is the most important to check, because this kind of files can have many names for the same file or hash.
Carte%20Seveso%20France%202003%20-%20Netcha%C3%AFev.gif
The red parts never change.
I think the change could be done there :
Is it possible ?
Because for now the search is in all the post of the board, it could be interesting to choose the category where to search.
Maybee there :
I would like a search only in forums : fid=8 , fid=13 for exemple.
And only in the first post of the thread.
Are these possible ?
And to finish : In case the search found the link already exist then submit the error with "link already existe in this post : [link to this post]
I thinks that's all
Thanks
That's a great idee !!!!!!
This little plug could be something very great for mybb......
And a must be for the future.
As said Labrocca the board could be very slow if there is a search request for all new post with url.
How about a mybb_database [link, #post, member, date] ?
I don't how it works exactly but i think, search request for this plug could be fast in big forums.
Many mods could be usefull with a database only for links in post.....
Create a badlist of links, forbid external link etc...
[/hr]
This plug is very interesting because we have a lot of edk link on my board.
ed2k://|file|Carte%20Seveso%20France%202003%20-%20Netcha%C3%AFev.gif|158493|6F5AAA292760418D4975
FA401083A434|h=UZ6IFKLL4F6QOTZ7RHOBSE2BX7S5XXHT|/
The bolded part is the most important to check, because this kind of files can have many names for the same file or hash.
Carte%20Seveso%20France%202003%20-%20Netcha%C3%AFev.gif
The red parts never change.
I think the change could be done there :
//Search
$query=$db->simple_select(TABLE_PREFIX."posts", "message", "message LIKE '%{$url}%'");
$result = $db->fetch_field($query, "message");
Is it possible ?
Because for now the search is in all the post of the board, it could be interesting to choose the category where to search.
Maybee there :
global $mybb,$db;
$post=$mybb->input['message'];
$start=strpos($post,"=");
$url=substr($post,$start+1);
$end=strpos($url,"]");
$url=substr($url,0,$end);
I would like a search only in forums : fid=8 , fid=13 for exemple.
And only in the first post of the thread.
Are these possible ?
And to finish : In case the search found the link already exist then submit the error with "link already existe in this post : [link to this post]
I thinks that's all

Thanks
