ARGENTOP2P

Soporte, Ayuda y Consultas => Programación en General => Mensaje publicado por: 4kstore en Mayo 07, 2008, 01:25:15

Título: Adaptar un mod de phpbb a smf alguien me ayuda!?
Publicado por: 4kstore en Mayo 07, 2008, 01:25:15
CitarCreditos: hawke / warez-bb.org


Hi Guys just thought id post some info on a script that ive been writing, as its now fully working on my tes site :)

(Scripts are at bottom of post!)

Basically its a script that, does everything WBB_LinkChecker does and possibly a little more...

Admin Panel
(http://img2.freeimagehosting.net/uploads/830c582881.jpg)
CitarThe whole script, is configured via the admin panel, so you dont ned to ftp into your script and change any details.

  • Give Your Bot a Username To Be Displayed in its Comments and Post Replies and Pm's
  • Enter The Percentage of Dead Links Before The Script is classed as Dead and Moved to the Bin Forum
  • Enter The ForumID of Your Bin Forum
  • Customise The Message and Topic TitleThe Bot Replies with When it finds a post with dead links in it. (You can also use (BOT_PERCENT) to have the script post the percentage set in his reply)
  • Customise The Private Message and the PM Title The Bot Sends to the user when dead link are found and thread is moved. (You can also use (BOT_PERCENT) AND (EDIT_URL) to give the user the edit link to his post, if they wish to edit their links)

Main Forum
(http://img2.freeimagehosting.net/uploads/460ee330ce.jpg)
CitarWhen a user submits their rapidshare links, the links are added to a database, which is checked via a cron script, which ive set at every 40mins.
When the script checks the links, it will then post a comment underneath the thread stating when it checked them and the percentage of dead links in the post, it will also give a visual representation of the validitity of the links as seen in the screnshot.
Also if you roll the mouse over the links it will give the exatc time in minutes from when it was last checked (e.g Links were checked 21 minutes ago)

Bot Replies
(http://img2.freeimagehosting.net/uploads/ead70a5aa8.gif)
CitarIf The script finds more than the set percentage of dead links it will automatically move the thread to te Bin forum setup in Admin Panel, it will also reply to the Thread informing the user the reason why it was moved etc

PM Sent
(http://img2.freeimagehosting.net/uploads/4a9de33679.gif)
CitarIf tHE script does find the set amount of dead links, it will automatically PM the Poster leting them know instantly, it wil also provide a link for the poster to edit there links if they wish to, once the links are edited they can report it to a Mod to reinstate the thread.
The Message displayed within The Private Message, is setup via the Admin Panel.

So as you can see from the screenshots and descriptions above, the script is basically like WBB_LinkChecker, Im Still not sure wether or not i will release this script, spent a good amount of time on it, tho i do plan on doing a vbulletin version, which i WILL release here,
This script as with warez-bb's script is based on code by "Get Perpendicular"
Anyway hope you like the script, ill let you all know what happens depending on if i release it or not

Oh Yea The Script is Called.......

The Link Detective <--Like it :)

(http://img2.freeimagehosting.net/uploads/81603acda1.gif)

Love to Hear Some Comments

Hawke

UPDATE
CitarGot a Good Question from el33t..."What happens if the uploaders are heavy uploaders and they get bombarded with PM's when there links die?

My answer to that question was have the option in the User Panel where they can select wether they would like PM's from Link Detective or Not.. (bearing in mind that not all their links will die at the same time)
This is now complete and active :)

Thank You el33t :)
Another Update to the script
CitarHave now added a Checker to ensure Rapidshare is alive before testing the links, the script will attempt to connect to rapidshare and establish a connection, if connection is successful it will then run thru list of links. this way if Rapidshare goes down again the Bot will not bin every post it checks
Update
Citar
Ive started coding this for phpbb3! Very Happy
It is currently only 50-60% done, the script is working (manually) just have to recode for the reply and moving the post, and the pm sending, also still have to code the admin panel intergration part. But apart from that its going well

Update- 30/01/08
Citar
PhpBB3 version is 95% complete, just some minor things left to do tho the script works at the moment, still have alot of testinng to do on it.
will post some screens soon.

Update - PhpBB3 Screenshots
CitarHeres some screenshots from the phpBB3 version of Link Detective

User Control Panel
(http://i31.tinypic.com/29lxsw3.jpg)

Admin Control Panel
(http://i25.tinypic.com/33bfl80.jpg)

Private Message
(http://i27.tinypic.com/b8mjvc.jpg)

Topic
(http://i27.tinypic.com/ohsjza.png)


Not Much more to do, just finalising theh installation instructions and then passing onto the people who have offered to helkp me test the installation etc

Also Have started doing some coding on vbulletin 3.6.8 for Link Detective :) (Thats for you FoxyFLS :) )

----------------------------------
Scripts Released
----------------------------------
ok guys i made a big mess of the installation script, wrong instructions and missing files :( (sorry this is my first installation script)

if you have installed a version before this please reinstall your backup files, and run the uninstall sql inside teh insal file. Then start from scratch,
I have tested these installations and both phpbb2 and phpbb3 are working.

phpbb2
http://rapidshare.com/files/95216462/LinkDetective.php2.rar

phpbb3
http://rapidshare.com/files/94976948/phpbb3.LinkDetective.rar

Sorry again

Hawke



Password for Both Files
hawke@warez-bb.org

Just uplaod the files to your server and goto yourserver.com/install.xml and follow the instruction.

enjoy guys ope you like it.

(ps Remember your site must be Curl enabled)

Hawke

EDIT:
new links added, with ficed files, please redownload


Bueno vi este mod y me intereso realmente muchisimo y queria saber si alguien me podria ayudar a ver si se puede adaptar para smf 1.1.4 , ya que lo veo muy interesante.

gracias!
Título: Re: Adaptar un mod de phpbb a smf alguien me ayuda!?
Publicado por: cazador en Mayo 07, 2008, 07:05:29
En si es como un detective de linsk, que chequea que esten bien, y no muertos, si mal no entendi, actua como un bot dejando mensajitos tambien.

Es algo asi??
Título: Re: Adaptar un mod de phpbb a smf alguien me ayuda!?
Publicado por: 4kstore en Mayo 07, 2008, 11:50:13
Cita de: cazador en Mayo 07, 2008, 07:05:29
En si es como un detective de linsk, que chequea que esten bien, y no muertos, si mal no entendi, actua como un bot dejando mensajitos tambien.

Es algo asi??

claro, pone a los links de color rojo o verde según el estado de los mismos y deja un color. Pero esta desarrollado para phpbb , y yo quería ver si alguien me ayuda a armarlo para smf.

Saludos!
Título: Re: Adaptar un mod de phpbb a smf alguien me ayuda!?
Publicado por: cazador en Mayo 07, 2008, 12:35:05
y en la web de smf o en el foro de ellos no hay nada parecido, ya andube buscando
Título: Re: Adaptar un mod de phpbb a smf alguien me ayuda!?
Publicado por: 4kstore en Mayo 08, 2008, 00:15:32
Cita de: cazador en Mayo 07, 2008, 12:35:05
y en la web de smf o en el foro de ellos no hay nada parecido, ya andube buscando

si yo tambien busque y nada, solo encontre scripts apartes links checker y nada mas!  :(