Translate
Sub Menu
Links Menu
Online Users

In total there are 81 users online :: 2 registered, 0 hidden and 79 guests

Most users ever online was 366 on Wed Dec 27, 2017 1:32 pm

Registered users: Google [Bot], Majestic-12 [Bot] based on users active over the past 60 minutes

Last Online
In order to view the online list you have to be registered and logged in.



We are a free and open
community, all are welcome.

Click here to Register

Link Detector phpBB2 & phpBB3

General discussion of anything. Discuss a topic in and out of IntegraMOD

Moderator: Integra Moderator

Link Detector phpBB2 & phpBB3

PostAuthor: Michalis » Tue Feb 26, 2008 10:55 am

Hi Guys

I came accross this new mod thats been released that checks Rapidshare.com Links that are posted on your forum.

I have not installed this yet on my Integramod 141 board yet as I am DJ'ing tonight.

thought I would post it here in case any of you are interested & wanna try & see if it works on integramod 141 before I try, when I get back.

If you do try let us know if it works, if not can it be edited to work on integramod 141


______________________________________________________________

PHPBB2 Version

[photo]http://img2.freeimagehosting.net/uploads/830c582881.jpg[/photo]

The 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)

[photo]http://img2.freeimagehosting.net/uploads/460ee330ce.jpg[/photo]

When 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)

[photo]http://img2.freeimagehosting.net/uploads/ead70a5aa8.gif[/photo]

If 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

[photo]http://img2.freeimagehosting.net/uploads/4a9de33679.gif[/photo]

If 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

[photo]http://i31.tinypic.com/29lxsw3.jpg[/photo]

PHPBB3 version

phpBB3 Screenshot

[photo]http://i31.tinypic.com/29lxsw3.jpg[/photo]
[photo]http://i25.tinypic.com/33bfl80.jpg[/photo]
[photo]http://i27.tinypic.com/b8mjvc.jpg[/photo]
[photo]http://i27.tinypic.com/ohsjza.png[/photo]

Download Here

[code]http]
Last edited by Michalis on Wed Feb 27, 2008 2:49 am, edited 1 time in total.
[img=left]http://www.houseofdance.net/images/Banners/HoDbanner2008.gif[/img]
User avatar
Michalis
Integra Member
Integra Member
 
Posts: 138
Joined: Sat Jun 16, 2007 5:37 pm
Location: UK

PostAuthor: Michalis » Wed Feb 27, 2008 2:45 am

right I am back & i am starting to following instructions.

I have come to the first snag in the list for files to edit

includes/usercp_register.php integramod does not have this.

would anyone like to help me get this .script to work with integramod 141.

I do need a bit of guidence
Last edited by Michalis on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[img=left]http://www.houseofdance.net/images/Banners/HoDbanner2008.gif[/img]
User avatar
Michalis
Integra Member
Integra Member
 
Posts: 138
Joined: Sat Jun 16, 2007 5:37 pm
Location: UK

PostAuthor: Michalis » Thu Feb 28, 2008 6:46 am

can anyone help to make this work on integramod please
Last edited by Michalis on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[img=left]http://www.houseofdance.net/images/Banners/HoDbanner2008.gif[/img]
User avatar
Michalis
Integra Member
Integra Member
 
Posts: 138
Joined: Sat Jun 16, 2007 5:37 pm
Location: UK

Re: Link Detector phpBB2 & phpBB3

PostAuthor: Helter » Thu Feb 28, 2008 12:37 pm

usercp_register.php is replaced by PCP, but I dont remember which file is the new one
Last edited by Helter on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4125
Joined: Sat Mar 11, 2006 4:46 pm
Location: Seattle Wa

PostAuthor: Michalis » Fri Feb 29, 2008 7:44 am

thanx HelterSkelter

would anyone else know which file, for those who
are reading this topic. <img>
Last edited by Michalis on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[img=left]http://www.houseofdance.net/images/Banners/HoDbanner2008.gif[/img]
User avatar
Michalis
Integra Member
Integra Member
 
Posts: 138
Joined: Sat Jun 16, 2007 5:37 pm
Location: UK

Re: Link Detector phpBB2 & phpBB3

PostAuthor: obiku » Fri Feb 29, 2008 12:23 pm

You have to look in the

/profilcp/profilcp_board_config.php
Last edited by obiku on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
http://www.familie-smit.nl
http://portfolio.familie-smit.nl

Do not tsunami my inbox... instead use the forums...
Hard work may not kill me, but why take a chance?

[hr]
User avatar
obiku
Dev Team
Dev Team
 
Posts: 218
Joined: Tue May 02, 2006 11:22 am
Location: level 8

PostAuthor: Michalis » Sun Mar 02, 2008 6:51 am

ok obiku

I have time now to try that after my busy weekend dj'ing and doing radio shows on my radio station.

http://www.houseofdance.net
Last edited by Michalis on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[img=left]http://www.houseofdance.net/images/Banners/HoDbanner2008.gif[/img]
User avatar
Michalis
Integra Member
Integra Member
 
Posts: 138
Joined: Sat Jun 16, 2007 5:37 pm
Location: UK

PostAuthor: Michalis » Fri Mar 07, 2008 3:10 pm

ok i cant find the following codes

Code: Select all
Open]) ) ? ( ($HTTP_POST_VARS['notifypm']) ? TRUE : 0 ) : TRUE;Add afterTip: Add these lines on a new blank line after the preceding line(s) to find.  Code:Select All$linkbotpm = ( isset($HTTP_POST_VARS['linkbotpm']) ) ? ( ($HTTP_POST_VARS['linkbotpm']) ? TRUE : 0 ) : TRUE;  FindTip: This may be a partial find and not the whole line.  Code:Select All$sql = "UPDATE " . USERS_TABLE . "                 SET " . $username_sql . $passwd_sql . "user_email = '" . str_replace("'", "''", $email) ."', user_icq = '" . str_replace("'", "''", $icq) . "', user_website = '" . str_replace("'", "''", $website) . "', user_occ = '" . str_replace("'", "''", $occupation) . "', user_from = '" . str_replace("'", "''", $location) . "', user_interests = '" . str_replace("'", "''", $interests) . "', user_sig = '" . str_replace("'", "''", $signature) . "', user_sig_bbcode_uid = '$signature_bbcode_uid', user_viewemail = $viewemail, user_aim = '" . str_replace("'", "''", str_replace(' ', '+', $aim)) . "', user_yim = '" . str_replace("'", "''", $yim) . "', user_msnm = '" . str_replace("'", "''", $msn) . "', user_attachsig = $attachsig, user_allowsmile = $allowsmilies, user_allowhtml = $allowhtml, user_allowbbcode = $allowbbcode, user_allow_viewonline = $allowviewonline, user_notify = $notifyreply, user_notify_pm = $notifypm, user_popup_pm = $popup_pm, user_timezone = $user_timezone, user_dateformat = '" . str_replace("'", "''", $user_dateformat) . "', user_lang = '" . str_replace("'", "''", $user_lang) . "', user_style = $user_style, user_active = $user_active, user_actkey = '" . str_replace("'", "''", $user_actkey) . "'" . $avatar_sql . "                 WHERE user_id = $user_id";Replace WithTip: Replace the preceding line(s) to find with the following lines.  Code:Select All$sql = "UPDATE " . USERS_TABLE . "                 SET " . $username_sql . $passwd_sql . "user_email = '" . str_replace("'", "''", $email) ."', user_icq = '" . str_replace("'", "''", $icq) . "', user_website = '" . str_replace("'", "''", $website) . "', user_occ = '" . str_replace("'", "''", $occupation) . "', user_from = '" . str_replace("'", "''", $location) . "', user_interests = '" . str_replace("'", "''", $interests) . "', user_sig = '" . str_replace("'", "''", $signature) . "', user_sig_bbcode_uid = '$signature_bbcode_uid', user_viewemail = $viewemail, user_aim = '" . str_replace("'", "''", str_replace(' ', '+', $aim)) . "', user_yim = '" . str_replace("'", "''", $yim) . "', user_msnm = '" . str_replace("'", "''", $msn) . "', user_attachsig = $attachsig, user_allowsmile = $allowsmilies, user_allowhtml = $allowhtml, user_allowbbcode = $allowbbcode, user_allow_viewonline = $allowviewonline, user_notify = $notifyreply, user_notify_pm = $notifypm, linkbot_pm = $linkbotpm, user_popup_pm = $popup_pm, user_timezone = $user_timezone, user_dateformat = '" . str_replace("'", "''", $user_dateformat) . "', user_lang = '" . str_replace("'", "''", $user_lang) . "', user_style = $user_style, user_active = $user_active, user_actkey = '" . str_replace("'", "''", $user_actkey) . "'" . $avatar_sql . "                 WHERE user_id = $user_id";  FindTip: This may be a partial find and not the whole line.  Code:Select All$sql = "INSERT INTO " . USERS_TABLE . "  (user_id, username, user_regdate, user_password, user_email, user_icq, user_website, user_occ, user_from, user_interests, user_sig, user_sig_bbcode_uid, user_avatar, user_avatar_type, user_viewemail, user_aim, user_yim, user_msnm, user_attachsig, user_allowsmile, user_allowhtml, user_allowbbcode, user_allow_viewonline, user_notify, user_notify_pm, user_popup_pm, user_timezone, user_dateformat, user_lang, user_style, user_level, user_allow_pm, user_active, user_actkey)                 VALUES ($user_id, '" . str_replace("'", "''", $username) . "', " . time() . ", '" . str_replace("'", "''", $new_password) . "', '" . str_replace("'", "''", $email) . "', '" . str_replace("'", "''", $icq) . "', '" . str_replace("'", "''", $website) . "', '" . str_replace("'", "''", $occupation) . "', '" . str_replace("'", "''", $location) . "', '" . str_replace("'", "''", $interests) . "', '" . str_replace("'", "''", $signature) . "', '$signature_bbcode_uid', $avatar_sql, $viewemail, '" . str_replace("'", "''", str_replace(' ', '+', $aim)) . "', '" . str_replace("'", "''", $yim) . "', '" . str_replace("'", "''", $msn) . "', $attachsig, $allowsmilies, $allowhtml, $allowbbcode, $allowviewonline, $notifyreply, $notifypm, $linkbotpm $popup_pm, $user_timezone, '" . str_replace("'", "''", $user_dateformat) . "', '" . str_replace("'", "''", $user_lang) . "', $user_style, 0, 1, ";Replace WithTip: Replace the preceding line(s) to find with the following lines.  Code:Select All$sql = "INSERT INTO " . USERS_TABLE . "  (user_id, username, user_regdate, user_password, user_email, user_icq, user_website, user_occ, user_from, user_interests, user_sig, user_sig_bbcode_uid, user_avatar, user_avatar_type, user_viewemail, user_aim, user_yim, user_msnm, user_attachsig, user_allowsmile, user_allowhtml, user_allowbbcode, user_allow_viewonline, user_notify, user_notify_pm, linkbot_pm, user_popup_pm, user_timezone, user_dateformat, user_lang, user_style, user_level, user_allow_pm, user_active, user_actkey)                 VALUES ($user_id, '" . str_replace("'", "''", $username) . "', " . time() . ", '" . str_replace("'", "''", $new_password) . "', '" . str_replace("'", "''", $email) . "', '" . str_replace("'", "''", $icq) . "', '" . str_replace("'", "''", $website) . "', '" . str_replace("'", "''", $occupation) . "', '" . str_replace("'", "''", $location) . "', '" . str_replace("'", "''", $interests) . "', '" . str_replace("'", "''", $signature) . "', '$signature_bbcode_uid', $avatar_sql, $viewemail, '" . str_replace("'", "''", str_replace(' ', '+', $aim)) . "', '" . str_replace("'", "''", $yim) . "', '" . str_replace("'", "''", $msn) . "', $attachsig, $allowsmilies, $allowhtml, $allowbbcode, $allowviewonline, $notifyreply, $notifypm, $linkbotpm $popup_pm, $user_timezone, '" . str_replace("'", "''", $user_dateformat) . "', '" . str_replace("'", "''", $user_lang) . "', $user_style, 0, 1, ";  FindTip: This may be a partial find and not the whole line.  Code:Select All     $notifypm = $userdata['user_notify_pm'];Add afterTip: Add these lines on a new blank line after the preceding line(s) to find.  Code:Select All$linkbotpm = $userdata['linkbot_pm'];  FindTip: This may be a partial find and not the whole line.  Code:Select All     display_avatar_gallery($mode, $avatar_category, $user_id, $email, $current_email, $coppa, $username, $email, $new_password, $cur_password, $password_confirm, $icq, $aim, $msn, $yim, $website, $location, $occupation, $interests, $signature, $viewemail, $notifypm, $popup_pm, $notifyreply, $attachsig, $allowhtml, $allowbbcode, $allowsmilies, $allowviewonline, $user_style, $user_lang, $user_timezone, $user_dateformat, $userdata['session_id']);Replace WithTip: Replace the preceding line(s) to find with the following lines.  Code:Select Alldisplay_avatar_gallery($mode, $avatar_category, $user_id, $email, $current_email, $coppa, $username, $email, $new_password, $cur_password, $password_confirm, $icq, $aim, $msn, $yim, $website, $location, $occupation, $interests, $signature, $viewemail, $notifypm, $linkbotpm, $popup_pm, $notifyreply, $attachsig, $allowhtml, $allowbbcode, $allowsmilies, $allowviewonline, $user_style, $user_lang, $user_timezone, $user_dateformat, $userdata['session_id']);  FindTip: This may be a partial find and not the whole line.  Code:Select All     'NOTIFY_PM_NO' => ( !$notifypm ) ? 'checked="checked"' : '',Add afterTip: Add these lines on a new blank line after the preceding line(s) to find.  Code:Select All'LINKBOT_PM_YES' => ( $linkbotpm ) ? 'checked="checked"' : '',         'LINKBOT_PM_NO' => ( !$linkbotpm ) ? 'checked="checked"' : '',FindTip: This may be a partial find and not the whole line.  Code:Select All     'L_NOTIFY_ON_PRIVMSG' => $lang['Notify_on_privmsg'],Add afterTip: Add these lines on a new blank line after the preceding line(s) to find.  Code:Select All     'L_LINKBOT_PM' => $lang['Notify_linkbot_pm'],    


in the following file /profilcp/profilcp_board_config.php as suggested before
Last edited by Michalis on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[img=left]http://www.houseofdance.net/images/Banners/HoDbanner2008.gif[/img]
User avatar
Michalis
Integra Member
Integra Member
 
Posts: 138
Joined: Sat Jun 16, 2007 5:37 pm
Location: UK

Re: Link Detector phpBB2 & phpBB3

PostAuthor: jomasaco » Sun Mar 09, 2008 8:52 am

im over this mod too.

I presume that code are on admin/admin_users.php have another file on templates profile_add_body.tpl i presume can be user_edit_body.tpl

btw i can't put this working anyway.

Warning: preg_replace_callback() [function.preg-replace-callback]: Requires argument 2, 'Linkbot', to be a valid callback in /home/jomasaco/public_html/forum/viewtopic.php on line 2393

Warning: preg_replace_callback() [function.preg-replace-callback]: Requires argument 2, 'Linkbot', to be a valid callback in /home/jomasaco/public_html/forum/viewtopic.php on line 2393

show this error on top of the page, and cbtracker blocks the edition on administration, but that cud be made directly on db.

If any progress on that side please advise me, preaphes some expert can give us an help <img>
Last edited by jomasaco on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

jomasaco
Members
Members
 
Posts: 31
Joined: Wed Jun 20, 2007 2:16 am

PostAuthor: Michalis » Sun Mar 09, 2008 5:20 pm

jomasaco

nice to see that your interested in getting this work for integramod.

so lets keep are fingers crosed that this will get others interested & maybe wanna help in their own way <img>
Last edited by Michalis on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[img=left]http://www.houseofdance.net/images/Banners/HoDbanner2008.gif[/img]
User avatar
Michalis
Integra Member
Integra Member
 
Posts: 138
Joined: Sat Jun 16, 2007 5:37 pm
Location: UK

Re: Link Detector phpBB2 & phpBB3

PostAuthor: jomasaco » Mon Mar 10, 2008 4:06 am

But im out, way... Curl are disabled on my host.

I Install an phpbb2 forum and clone the db and install that mod, returns me an error.
Warning: curl_exec() has been disabled for security reasons in /home/jomasaco/public_html/bot/linkbot.php on line 70
Last edited by jomasaco on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

jomasaco
Members
Members
 
Posts: 31
Joined: Wed Jun 20, 2007 2:16 am

Re: Link Detector phpBB2 & phpBB3

PostAuthor: obiku » Mon Mar 10, 2008 12:40 pm

I think we have to search in de profilcp/def directory.

The def_userfields.php is, I think, for readingout the usertable of the database. It is for making arrays, which are needed for the output. Then other files have functions which the profilcp can use.

This is what I know about the profilcp, so if someone has some more info we can use...., and a way to process this mod...
Please be welcome
Last edited by obiku on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
http://www.familie-smit.nl
http://portfolio.familie-smit.nl

Do not tsunami my inbox... instead use the forums...
Hard work may not kill me, but why take a chance?

[hr]
User avatar
obiku
Dev Team
Dev Team
 
Posts: 218
Joined: Tue May 02, 2006 11:22 am
Location: level 8

Re: Link Detector phpBB2 & phpBB3

PostAuthor: jomasaco » Thu Mar 27, 2008 4:06 am

btw this mod have lots of small errors.
i can't explain them tecnly but, on phpbb3 wen an topic are moved, this change the statics of the board to equal at the number of topics moved.
And almost on every check time, returns an error, or the "page header already send by..." "max execution time.." error connecting whit db"....

Was an great mod... but need more work on it.
Last edited by jomasaco on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

jomasaco
Members
Members
 
Posts: 31
Joined: Wed Jun 20, 2007 2:16 am


Return to General Discussion

Who is online

Registered users: Google [Bot], Majestic-12 [Bot]

cron