You are not logged in.

#1 2009-05-28 2:05 pm

davert
Member
Registered: 2009-05-28
Posts: 17

Easy Invisionboard (IPB) 2.x modification

We have set up moderator approval of new accounts (after they verify e-mail. An easy update to allow for manual StopForumSpam checks on suspicious accounts (like anything using a generic email account) is this:

Modify   skin_acp/IPB2_Standard/acp_skin_html/cp_skin_member.php

Look for  <td class='tablerow1'>{$r['email']}</td>

Change the line(s) immediately above, which normally prints out the email, to read:

<td class='tablerow2'><a href='{$this->ipsclass->vars['board_url']}/index.php?showuser={$r['id']}'><strong>{$r['members_display_name']}</strong></a>{$r['_coppa']}
<div class='desctext'>IP: <a href='{$this->ipsclass->base_url}&section=content&act=mtools&code=learnip&ip={$r['ip_address']}'>{$r['ip_address']}</a>
<a href='http://www.stopforumspam.com/api?ip={$r['ip_address']}' target='_blank'>ForumSpammer?</a> | <a href='http://www.ip-adress.com/ip_tracer/{$r['ip_address']}' target='_blank'>Location</a></div></td>

This will allow people to click on the IP address or the word ForumSpammer? to find out where the IP address is located (via ip-adress.com) and to get StopForumSpam brief results. Obviously you can change the IP address service to whatever you like. I have no particular attachment to that one.

I think this represents a quick and easy way to use these resources while minimizing your impact and keeping control of the situation. 'Course it only works when you have a small volume.

Last edited by davert (2009-05-28 2:07 pm)

Offline

#2 2009-06-03 7:09 pm

davert
Member
Registered: 2009-05-28
Posts: 17

Re: Easy Invisionboard (IPB) 2.x modification

...I'd rather this be automated to check first and show the results in the list, but I can't figure out how to do that.

I'm hoping IPB 3 has this built in.

Offline

#3 2009-06-04 4:39 pm

davert
Member
Registered: 2009-05-28
Posts: 17

Re: Easy Invisionboard (IPB) 2.x modification

I've tried adding this:

$IPBHTML2 .=  file_get_contents('http://www.stopforumspam.com/api?ip={$r['ip_address']}');

Can anyone figure out what's wrong? The rest of it works.

Offline

#4 2009-07-22 9:49 pm

davert
Member
Registered: 2009-05-28
Posts: 17

Re: Easy Invisionboard (IPB) 2.x modification

Apparently IPB had stopforumspam integrated into their software before they decided to hold up Lifetime/Perpetual licensees for $50/year instead. So any thoughts on integrating the API into IPB>

Offline

#5 2009-07-22 9:52 pm

davert
Member
Registered: 2009-05-28
Posts: 17

Re: Easy Invisionboard (IPB) 2.x modification

Aha! Just found the answer on the forums. Here's what I ended up with:

//===========================================================================
// Member: validating
//===========================================================================
function member_validating_row( $r="" ) {
$IPBHTML = "";
//--starthtml-- cp_skin_member.php//

$ipzzz = $r['ip_address'];
$filez = file_get_contents('http://www.stopforumspam.com/api?ip='.$ipzzz);

$IPBHTML1 .= <<<EOF
<tr>
  <td class='tablerow2'><a href='{$this->ipsclass->vars['board_url']}/index.php?showuser={$r['id']}'><strong>{$r['members_display_name']}</strong></a>{$r['_coppa']}
<div class='desctext'>IP: <a href='{$this->ipsclass->base_url}&section=content&act=mtools&code=learnip&ip={$r['ip_address']}'>{$r['ip_address']}</a>
EOF;
$IPBHTML3 .= <<<EOF
{$filez}
<a href='http://www.ip-adress.com/ip_tracer/{$r['ip_address']}' target='_blank'>Location</a></div></td>
  <td class='tablerow1'>{$r['email']}</td>
  <td class='tablerow1'><span style='color:green'>{$r['_where']}</span><br />{$r['_entry']}<div class='desctext'>{$r['_days']} days and {$r['_rhours']} hours ago</div></td>
  <td class='tablerow1' align='center'>{$r['posts']}</td>
  <td class='tablerow1'>{$r['_joined']}</td>
  <td class='tablerow1' align='center'><input type='checkbox' id="mid_{$r['member_id']}" name='mid_{$r['member_id']}' value='1' /></td>
</tr>
EOF;

Offline

#6 2011-07-28 2:57 pm

davert
Member
Registered: 2009-05-28
Posts: 17

Re: Easy Invisionboard (IPB) 2.x modification

This obviously doesn't work in IPB 3. I did locate the file that would need to be modified but it's beyond me to do it. Anyone?

/applications/members/sources/adminSearch.php is I think the one you'd need to list stopforumspam status.

I'd happily pay a reasonable fee to see this done.

Offline

#7 2011-07-29 9:09 pm

insektenfang
Member
From: UK
Registered: 2009-04-18
Posts: 442
Website

Re: Easy Invisionboard (IPB) 2.x modification

There is a hook available for 3.1. Doubt it has been updated for 3.2 yet as it has only been released this week.


insektenfang plants
carnivorous plant nursery

Offline

#8 2011-07-29 9:16 pm

davert
Member
Registered: 2009-05-28
Posts: 17

Re: Easy Invisionboard (IPB) 2.x modification

I believe the hook only stops them from registering. I have a large backlog to clear up. I guess I "might" end up giving up my "perpetual" license and going year by year, and hoping IPB doesn't decide to make it all "enterprise" (multiply the price by 100).

Offline

#9 2011-08-03 5:31 pm

davert
Member
Registered: 2009-05-28
Posts: 17

Re: Easy Invisionboard (IPB) 2.x modification

This is pretty sad but --

find public function memberListRow( $member, $extraColumn=false )

Go down to
$IPBHTML .= <<<HTML

BEFORE that line, put in:

$emzzz = $member['email'];
$filez = file_get_contents('http://www.stopforumspam.com/api?email='.$emzzz);

REPLACE the line that starts with

<td><a href='{$this->settings['base_url']}&amp;module=members&amp;section=members&amp;do=viewmember&amp;member_id={$member['member_id']}'><img src='{$member['pp_thumb_photo']}' s

with this:

<td>{$filez}</td>

That is a VERY basic way to check emails.

Offline

#10 2011-08-19 12:58 pm

davert
Member
Registered: 2009-05-28
Posts: 17

Re: Easy Invisionboard (IPB) 2.x modification

davert wrote:

This is pretty sad but --

find public function memberListRow( $member, $extraColumn=false )

Go down to
$IPBHTML .= <<<HTML

BEFORE that line, put in:

$emzzz = $member['email'];
$filez = file_get_contents('http://www.stopforumspam.com/api?email='.$emzzz);

REPLACE the line that starts with

<td><a href='{$this->settings['base_url']}&amp;module=members&amp;section=members&amp;do=viewmember&amp;member_id={$member['member_id']}'><img src='{$member['pp_thumb_photo']}' s

with this:

<td>{$filez}</td>

That is a VERY basic way to check emails.


Note: you may want to ignore the memberlistrow section and apply this to the section for those seeking approvals.  Also, it really slows down display...

Offline

#11 2011-08-23 3:51 am

Shady
Member
Registered: 2011-02-04
Posts: 24
Website

Re: Easy Invisionboard (IPB) 2.x modification

insektenfang wrote:

There is a hook available for 3.1. Doubt it has been updated for 3.2 yet as it has only been released this week.

The hook is updated for 3.2.  I know because I'm the one that wrote it.  smile  I did it before the release but had to fight with IPS before I could upload the new one because I couldnt see the support thread for my own hook because I have a perpetual license and have no need to pay for support.  They gave me my access back thankfully.

davert wrote:

I believe the hook only stops them from registering. I have a large backlog to clear up. I guess I "might" end up giving up my "perpetual" license and going year by year, and hoping IPB doesn't decide to make it all "enterprise" (multiply the price by 100).

You are correct that it only checks new registrations.  I am working on one to clear out old backlogs of addys or when you ban someone to report them as a spammer.  Havent had much time for it lately tho as I have some other projects going on.

Offline

Board footer

Powered by FluxBB

Close
Close