News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Auto Link Checker

Started by M-DVD, June 30, 2009, 12:52:38 AM

Previous topic - Next topic

FragaCampos

And filefactory files are no longer checked... :(

ɔɔɔɔɔɔuɥoɾ

Quote from: FragaCampos on March 31, 2010, 09:15:31 PM
Just to warn you guys that RS is no longer listing links in red, instead they're redirecting people to a new page where people can buy movies and games...

More here.

Rapidshare does not list links in anything, if you have posted a link which is dead, the link checker should still work, if you happen to click that link, then you will be directed.


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

elian

Auto Link Checker
Dutch

<file name="$languagedir/Modifications.dutch.php">
      <operation>
         <search position="end" />
         <add><![CDATA[
//   MOD Auto Link Checker
$txt['auto_link_checker_enabled'] = 'zet de Auto Link Checker aan';
$txt['auto_link_checker_enabled_sub'] = 'zet de Auto Link Checker uit';

$txt['auto_link_checker_time'] = 'Nogmaals nazien';
$txt['auto_link_checker_time_sub'] = '0 om altijd na te zien';

$txt['auto_link_checker_error'] = 'Er zijn meer 100 links voor deze FileHost in bericht.<br />
Verwijder links, gebruik een andere filehost of open een nieuwe topic.';

$txt['auto_link_checker_rapi'] = 'Rapidshare.com';
$txt['auto_link_checker_mega'] = 'Megaupload';
$txt['auto_link_checker_file'] = 'Filefactory';

$txt['auto_link_checker_subject'] = 'Notificatie: Dode Links Gevonden';
$txt['auto_link_checker_message'] = "In deze topic %1 zijn dode links gevonden.\n\nHerplaats de files, of verwijder deze topic.\n\nMet dank.\n\nAlpirona Link Checker";

$txt['auto_link_checker_sendpm'] = 'Stuur PM';
$txt['auto_link_checker_pm_op'][0] = 'Uitzetten';
$txt['auto_link_checkec_pm_op'][1] = 'Stuur pm naar poster';
$txt['auto_link_checker_pm_op'][2] = 'Stuur pm naar poster + Moderator';]]></add>
      </operation>
   </file>

grtz
Elian

RockerGr

Hello :) Glad to have joined your community!
I recenlty installed SMF 1.1.11 and after i install the link checker mod , i use some links to test it.. Here is what i get :

Database Error
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server

version for the right syntax to use near '' at line 2
File: /home/lnosight/public_html/bbportal.net/Sources/AutoLinkChecker-x1.php
Line: 127


Can anyone please help me with that?
Thank you!

ishaan

#264


I am using  SMF 2.0 RC3 .

i tried to install Auto Link Checker.

But a error is showing the installion.

Database Error

"Table 'shiningf_shining.messages' doesn't exist
File: /home/shiningf/public_html/Packages/temp/install_2.php
Line: 12"



please help me[/b]

musiclover85

i've 2 questions:
1) can i use it in a phpbb forum?
2) and...can i translate it in italian language?  ;)

Arantor

No, it's a modification for SMF, not phpBB. Though if you're rewriting it to work on phpBB, odds are it'll be enough of a rewrite there won't be any original code left.
Holder of controversial views, all of which my own.


ishaan



I am using  SMF 2.0 RC3 .

i tried to install Auto Link Checker.

But a error is showing the installion.

Database Error

"Table 'shiningf_shining.messages' doesn't exist
File: /home/shiningf/public_html/Packages/temp/install_2.php
Line: 12"



Why people are not  replying me :(

Arantor

Probably because you didn't read the mod page. It says:

QuoteCompatible With: 1.1.9, 2.0 RC1-1

It doesn't say 2.0 RC2 or 2.0 RC3, and the way database stuff is done changed in 2.0 RC2.

The following code fixes the core difference in the installer. I will not guarantee that other things will work as intended; the author appears to have stopped caring about this modification.

<?php/* <id>M-DVD:AutoLinkChecker</id> <name>Auto Link Checker</name> <version>1.0</version>*/global $smcFunc;db_extend('packages');$smcFunc['db_add_column']('{db_prefix}messages', array ('name' => 'checker_time', 'type' => 'INT', 'size' => '10', 'default' => '0'), '', '');$smcFunc['db_create_table']( '{db_prefix}log_link_checker_status', array( array ( 'name' => 'id_msg', 'type' => 'INT', 'size' => '10' ), array ( 'name' => 'url', 'type' => 'VARCHAR', 'size' => '255' ), array ( 'name' => 'life', 'type' => 'TINYINT', 'size' => '1', 'default' => '1' ) ), array( array ( 'columns' => array('id_msg'), 'type' => 'index' ) ), '', 'ignore' );$smcFunc['db_insert']('ignore', '{db_prefix}settings', array('variable' => 'string', 'value' => 'string'), array( array ('auto_link_checker_enabled', '1'), array ('auto_link_checker_time', '2'), array ('auto_link_checker_rapi', '1'), array ('auto_link_checker_mega', '1'), array ('auto_link_checker_file', '1'), array ('auto_link_checker_sendpm', '2'), ), array() );clean_cache();?>
Holder of controversial views, all of which my own.


ishaan

I am very sorry brother..


Also


Thanks alot!

sharks

#270
I also got this error when i installed on SMF 2.0 RC3


Database Error
Table 'sharks_test.messages' doesn't exist
File: /home/sharks/public_html/smf2/Packages/temp/install_2.php
Line: 12

Now, should i first try to uninstall this failed MOD installation and then use your code? Or can just go ahead and edit the code on my live forum installation? But i have no idea in what file to replace the code you so kindly provided,  Arantor. :)

It is a disappointment that the original author of this mod, M-DVD, has decided to give up. Maybe he doesn't know how to upgrade it to make his mod compatible with RC3? :D Anyways, i can only hope that someone takes up the development of this very useful mod.

Arantor

The code I changed is in install.php (or it might be install2.php) in the mod's package.

Uninstall, unpack the mod zip file locally, edit the install php file, zip it, upload it. No guarantee it'll work... but it'll solve the DB installation at least.
Holder of controversial views, all of which my own.


The_Wii_Nes_Boy

For those who are suffering the annoying tendancy for this mod to skip the first when link in a code block here is a simple fix.

Open - Sources/Subs.php and find both instances of the following code
<code class="bbc_code">$1</code>

and change them both to
<code class="bbc_code"> $1</code>

This will but a space at the start of every code block but it lets the link checker work perfectly :D


scenerip2k

Here is the modified version for RC3, enjoy!

DarkValentine

Thanks, but it doesn't work on my end, even with the modified version for 2.0RC3.

During the install, this is what I get coming from the "sources" area, when it runs & fails the test install



Everything else checks out. I may try to parse it, and see what happens from there. It has no problems theme wise. It's just in the sources area that it's having installation problems. The image above makes it clear.

ɔɔɔɔɔɔuɥoɾ

Just looks like you will need to make 5 manual edits, cant be that bad...


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

scenerip2k

Quote from: DarkValentine on June 27, 2010, 01:09:28 AM
Thanks, but it doesn't work on my end, even with the modified version for 2.0RC3.

During the install, this is what I get coming from the "sources" area, when it runs & fails the test install



Everything else checks out. I may try to parse it, and see what happens from there. It has no problems theme wise. It's just in the sources area that it's having installation problems. The image above makes it clear.

you are using a custom theme thats why, the modified version is for the curve theme [main smf theme]

DarkValentine

#277
Problem is, the modified theme is not my default for the forum. The errors that was shown, was for the default main theme. The Modified themes never showed errors.

I'll try it again

To further denote this: I was using the Darkmodern Curve theme as my own personal thing. Everyone else is on the forum default curve.

EDIT: Fixed it. i seen what the problem was. It is not compatible with Antispam Links mod. Because both this, and that, use the exact same line. So only one or the other. Uninstalled it, and it works.

Also, do not install Highlight User Names mod. It too uses the exact same line.

Found this out when I started to do a parse. And started checking stuff that I installed one by one, until those two came up.

Calcricho

Quote from: scenerip2k on June 24, 2010, 03:01:07 PM
Here is the modified version for RC3, enjoy!


Thanks!!!

Cal  ;)

Angel Muñoz

It's a great mod, but consumes many resources on my shared server.

Who does something like that happens?

Advertisement: