Bitcoin Forum

Bitcoin => Project Development => Topic started by: SebastianJu on August 09, 2015, 12:21:40 PM



Title: [ANN] Free Bitcointalk Forum Account Potential Activity Counter Bot
Post by: SebastianJu on August 09, 2015, 12:21:40 PM
What a name. :P

Description

This bot counts the potential activity of a forum account on BCT. Thats important for the value of an account.

What is this thread about

The crowdfunding at https://bitcointalk.org/index.php?topic=1144973 was successfull. The code will get released now and this thread should serve as the support/feature request/help thread for this bot.

Download

I uploaded the files, that i got from the dev, on sourceforge so you can download them here: https://sourceforge.net/projects/potential-activity-counter-bot/files/

Install

I created a readme file there that gives short instructions on how to use it. If questions come up or if someone has a good xampp tutorial then i can add that info to the readme too.

Payversion

The developer created a payversion at http://www.satoshiquiz.com/bitcointalk/getactivity.php but you can use this script provided here for free. This script is still working and free. There are a couple of other urls that are free, that were set up by other users. So one either can use this script directly, by using it with localhosters like XAMPP or hosting it yourself on webspace, one can use one of the free offers users created with this script on their webspace or you can use the payversion of the developer at http://www.satoshiquiz.com/bitcointalk/getactivity.php. It's payversion is limited to 10 requests per day.

Identity of developer

The developer of that bot is forum member ak111in (https://bitcointalk.org/index.php?action=profile;u=157468). When you see him writing here then you can be sure that he knows what he talks about. :)

Security

I tested the script on my local host and it works as expected. And i checked out the script before i uploaded it so that i can say that it is safe. I even downloaded simple_html_dom.php from the original website so that i didnt have to check it. Maybe a second person can check the code too.

Feature Requests / Help / Support

In case you want to see new features then i will hold the escrow address, that was used for the fundraising, open. Everything you send to that address will be sent to the developer. You can discuss changes you want to have implemented on here. Maybe some other forum members tip an amount too then for the thing you want to have implemented. So that new features might be implemented then. I already gave the developer a list of all things that might be important for account traders, buyers, escrows or signature campaign overseers.

The escrow address is:

Code:
16N8JZKmb1hLFaErTAz8M3LSPHgwuHQ1YD

Proof of identity:

Code:
-----BEGIN BITCOIN SIGNED MESSAGE-----
20150805 This is the escrow address for the crowdfunding of the potential activity counter bot and the escrow address is 16N8JZKmb1hLFaErTAz8M3LSPHgwuHQ1YD
-----BEGIN SIGNATURE-----
1K2UFGCKyNQNx4h2m5ZRCaw9BWHTBcCZAA
HFUB81CCedOR9tGYtc4TXZSRjkRDspLEksy8TLD2vCHHJ7+zCK5mQG2PdhBjFLxqJQtH3CrhjVlC2UrvBkMzH8I=
-----END BITCOIN SIGNED MESSAGE-----

Message signed with an old address of mine, that i posted may 2013 on bitcointalk. See my Servicethread (https://bitcointalk.org/index.php?topic=1102721).

Tips / Donations

Of course you can tip the developer to the above address simply only because you want to thank him too. :)

In case you want to tip me, see my donation jar in my profile page... (Left side of page... click on my username) or simply scan the QR-Code from my avatar picture. ;)

Have fun!


Title: Re: [ANN] Free Bitcointalk Forum Account Potential Activity Counter Bot
Post by: lastuser on August 09, 2015, 12:27:06 PM
Where is Download link?
VirustotalSCAN url?

I will use your website thanks :)


Title: Re: [ANN] Free Bitcointalk Forum Account Potential Activity Counter Bot
Post by: SebastianJu on August 09, 2015, 12:30:28 PM
Where is Download link?
VirustotalSCAN url?

The download link is in first post. I will make it more orderly...

I did no virustotal link because i checked the code manually. Its only a small script. And the bigger script i downloaded from its original source so that is safe too.


Title: Re: [ANN] Free Bitcointalk Forum Account Potential Activity Counter Bot
Post by: lastuser on August 09, 2015, 12:52:34 PM
Where is Download link?
VirustotalSCAN url?

The download link is in first post. I will make it more orderly...

I did no virustotal link because i checked the code manually. Its only a small script. And the bigger script i downloaded from its original source so that is safe too.

ok found but we have to download file one by one
IF Zip format file uploaded to Some Hosting servers that is good to download easy

Your website is good - http://www.satoshiquiz.com/bitcointalk/getactivity.php


Title: Re: [ANN] Free Bitcointalk Forum Account Potential Activity Counter Bot
Post by: worldinacoin on August 09, 2015, 01:13:42 PM
But I am not sure how do we use it?


Title: Re: [ANN] Free Bitcointalk Forum Account Potential Activity Counter Bot
Post by: SebastianJu on August 09, 2015, 01:20:23 PM
But I am not sure how do we use it?

You enter the forum member id into that formfield and it can show you the potential activity of that forum account then.

Or do you mean how to install?

Where is Download link?
VirustotalSCAN url?

The download link is in first post. I will make it more orderly...

I did no virustotal link because i checked the code manually. Its only a small script. And the bigger script i downloaded from its original source so that is safe too.

ok found but we have to download file one by one
IF Zip format file uploaded to Some Hosting servers that is good to download easy

Your website is good - http://www.satoshiquiz.com/bitcointalk/getactivity.php

I will check how the zip-download can be activated.


Title: Re: [ANN] Free Bitcointalk Forum Account Potential Activity Counter Bot
Post by: SebastianJu on August 09, 2015, 01:24:47 PM
I uploaded a zip-file containing the folder and the readme now. I did not found out how you can enable to download the project in zip file normally on sourceforge. I know thats possible. Maybe someone can tell me.


Title: Re: [ANN] Free Bitcointalk Forum Account Potential Activity Counter Bot
Post by: lastuser on August 09, 2015, 05:34:45 PM
I uploaded a zip-file containing the folder and the readme now. I did not found out how you can enable to download the project in zip file normally on sourceforge. I know thats possible. Maybe someone can tell me.

I have Done On website

go here signup free hosting hostinger

Upload file and done


Title: Re: [ANN] Free Bitcointalk Forum Account Potential Activity Counter Bot
Post by: Jeremycoin on August 09, 2015, 09:40:43 PM
Great, the project is finished.
Whether all of my post is counted, according this one??? ;)


Title: Re: [ANN] Free Bitcointalk Forum Account Potential Activity Counter Bot
Post by: ajareselde on August 09, 2015, 10:49:57 PM
<cut>
Maybe a second person can check the code too.

I have reviewed the code as well from the zipfile (get_activity.php), it's quite simple one really and there's nothing malicious about it.

It's sort of interesting that account trading evolved so much it needs potential activity counter bot :/

cheers


Title: Re: [ANN] Free Bitcointalk Forum Account Potential Activity Counter Bot
Post by: BurgerKill on August 09, 2015, 11:00:08 PM
Thank you to those who participated in the crowdfunding.

I may upload the bot to one of my sites for public use in the future. :)


Title: Re: [ANN] Free Bitcointalk Forum Account Potential Activity Counter Bot
Post by: lastuser on August 10, 2015, 09:28:49 AM
I Created this From your Help but getting error

http://bitcoins.net.in/get_activity.php

check it Please what is error came

Strict Standards: Only variables should be passed by reference in /home/****/public_html/get_activity.php on line 73

Loading page : 1,****8/public_html/get_activity.php on line 106
2,3,


Strict Standards: Only variables should be passed by reference in /home/******/public_html/get_activity.php on line 132


Title: Re: [ANN] Free Bitcointalk Forum Account Potential Activity Counter Bot
Post by: SebastianJu on August 10, 2015, 10:47:24 AM
<cut>
Maybe a second person can check the code too.

I have reviewed the code as well from the zipfile (get_activity.php), it's quite simple one really and there's nothing malicious about it.

It's sort of interesting that account trading evolved so much it needs potential activity counter bot :/

cheers

Yeah, its somewhat interesting. Businesses evolving around bitcoin. Account trading is not a so big business but still... it happens more often than visible in public. I guess theymos is a real libertarian to allow all these side businesses going on on the forum. I think i prefer that against a ruler.


Title: Re: [ANN] Free Bitcointalk Forum Account Potential Activity Counter Bot
Post by: SebastianJu on August 10, 2015, 10:54:41 AM
Thanks for answering ak111in.

Is everyone ok with adding ak111in to the sourceforge project so that he can update his script there? Doing so would mean trusting him that everything he uploads will be not malicious.

Let me know what you think.


Title: Re: [ANN] Free Bitcointalk Forum Account Potential Activity Counter Bot
Post by: lastuser on August 10, 2015, 03:50:16 PM
Thanks for answering ak111in.

Is everyone ok with adding ak111in to the sourceforge project so that he can update his script there? Doing so would mean trusting him that everything he uploads will be not malicious.

Let me know what you think.


Yes Script updated and and Working fine now Yes we trust
ak111in Sir


Title: Re: [ANN] Free Bitcointalk Forum Account Potential Activity Counter Bot
Post by: wadili89 on August 11, 2015, 01:04:41 AM
Thanks for answering ak111in.

Is everyone ok with adding ak111in to the sourceforge project so that he can update his script there? Doing so would mean trusting him that everything he uploads will be not malicious.

Let me know what you think.


Yes Script updated and and Working fine now Yes we trust
ak111in Sir

your website http://bitcoins.net.in/get_activity.php is not working i tried couple of times but when i press submit query button it just keeps on loading for like 20 sec and then show nothing just adds no status please check it

please can someone make a working site for this i need to check a status verry bad


Title: Re: [ANN] Free Bitcointalk Forum Account Potential Activity Counter Bot
Post by: lastuser on August 11, 2015, 09:35:51 AM
Thanks for answering ak111in.

Is everyone ok with adding ak111in to the sourceforge project so that he can update his script there? Doing so would mean trusting him that everything he uploads will be not malicious.

Let me know what you think.


Yes Script updated and and Working fine now Yes we trust
ak111in Sir

your website  is not working i tried couple of times but when i press submit query button it just keeps on loading for like 20 sec and then show nothing just adds no status please check it

please can someone make a working site for this i need to check a status verry bad

Firstly i changed my hosting provider now
I came to this now- Free hosting But its good ---- http://bitcoin.coxslot.com/get_activity.php

And second this Checker is Good working with paid hosting

and your account has 36+ pages Which means 72+ sec Waiting time to get result as I said its free hosting and free service so it works for 400+ activity only


Title: Re: [ANN] Free Bitcointalk Forum Account Potential Activity Counter Bot
Post by: SebastianJu on August 11, 2015, 11:12:03 AM
For now i updated the script with the code ak111in gave in the thread. I uploaded the new files on sourceforge including the zip.

I think it won't take long until someone is hosting it on a website for public use. But please note that the forum has a 1 second request restriction. More than 2 users using the bot at the same time would not be possible. That's why it's good that it's open source and everyone can use it on it's own.

Another thing with such a website would be. When you use the service then the owner might note down which accounts were tested. If you don't want to reveal that you sell an account then having your own script is better.

By the way... the easiest way for me seems to be to host it locally on your pc and use it there anyway. You can control everything there.


Title: Re: [ANN] Free Bitcointalk Forum Account Potential Activity Counter Bot
Post by: SebastianJu on August 12, 2015, 12:02:38 PM
I Created this From your Help but getting error

http://bitcoins.net.in/get_activity.php

check it Please what is error came

Strict Standards: Only variables should be passed by reference in /home/****/public_html/get_activity.php on line 73

Loading page : 1,****8/public_html/get_activity.php on line 106
2,3,


Strict Standards: Only variables should be passed by reference in /home/******/public_html/get_activity.php on line 132


It is php warning which you can suppress by adding the following line at the top just before ini_set('max_execution_time', 1200); on new line:
Code:
error_reporting(E_ERROR | E_PARSE);

or you can use the updated script as below which is fixed
 
Code:
<?php
ini_set
('max_execution_time'1200); //set at 20 minutes
date_default_timezone_set("UTC");
?>

<html>
<head>
</head>
<body>
<center><strong>BitcoinTalk User Potential Activity Calculator</strong><br/><br/>
<form action="" method="POST">
<strong>Userid (Number) :</strong> <input type="text" name="userid">
<input type="submit">
</form>

<?php
/*  ****HELP*** 
>Place this(get_activity.php) file and simple_html_dom.php file in the same folder to get this running.
>Ensure that the server allows the script to run for long periods of time. It is set to 20 min in line 2 which should be good for around 12K posts for delay set at 2 seconds.
>Min allowed delay between access for bitcointalk.com is 1 second,but to be safe it is set at 2 seconds at line 107 for this script.
>In case of any issue or another script requirement you can PM ak111in at bitcointalk or email satoshiquiz@gmail.com
>Demo : http://www.satoshiquiz.com/bitcointalk/getactivity.php
*/




if($_SERVER['REQUEST_METHOD'] == 'POST')
{
include_once(
'simple_html_dom.php');
$userid=test_input($_POST["userid"]);
$url="https://bitcointalk.org/index.php?action=profile;u=$userid;sa=showPosts";
$opts = array('http' => array('header' => "User-Agent:Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36\r\n"));
$context stream_context_create($opts);
$html file_get_html($urlFALSE$context);
if(
$html=="")
{
echo "Cannot connect";
    die;
}
else
{
//read all posts
ob_end_flush();
ob_start();
$postcontent=$html->find('#bodyarea',0);
if($postcontent=="")
{echo "Cannot connect";die;}

//get total pages
$pagescontent=$postcontent->find('table',0);
$pagesrow=$pagescontent->find('.catbg3',0);
$pageslist=preg_match('/Pages:.*?<\/td>/'$pagesrow$matches);


$pageslist=preg_replace('/<span class=\"prevnext\">.*?<\/span>/','',($matches[0]));

$pageslist=trimpreg_replace('/[^\d. ]/','',strip_tags($pageslist)));

$maxpage=explode(" ",$pageslist);

$temppages=array_values($maxpage);
$maxpageval=end($temppages);

//Can be used to set limit on total posts allowed
if(false && $maxpageval>10)
{echo "Sorry max posts allowed is 200";die;}

//for everypage get all posts
$timestamps=array();$k=0;
echo "<br/><strong>Loading page :</strong> ";
$topics=array();
for($i=0;$i $maxpageval;$i++)
{
echo ($i+1).",";
if(($i+1)%50==0) echo "<br/>";
ob_flush();
    
flush(); 
$allposts=$postcontent->find('table',0)->find('tbody tr td',0)->children();

for($j=1;$j<sizeof($allposts)-1;$j++)
{
$temptimestamp=trim(strip_tags(preg_replace('/on:/','',$allposts[$j]->find('.titlebg2',0)->find('.middletext',-1))));

if (strpos($temptimestamp,'Today') !== false) {
$temptimestamp=preg_replace('/Today at/',date('F j, Y,'),$temptimestamp);
}

$timestamp=strtotime($temptimestamp);
$timestamps[$k]=$timestamp;

$k++;
preg_match('/.*\//'strip_tags($allposts[$j]->find('.titlebg2',0)->find('td',1)), $tmatches);


if(!array_key_exists("$tmatches[0]"$topics))
    {$topics["$tmatches[0]"]=1;}
    else
    {$topics["$tmatches[0]"]=$topics["$tmatches[0]"]+1;}
}

//Can be reduced to 1 second currently set at 2 seconds 
sleep(2);
$pageid=($i+1)*20;
$url="https://bitcointalk.org/index.php?action=profile;u=$userid;sa=showPosts;start=$pageid";
$context stream_context_create($opts);
$html file_get_html($urlFALSE$context);
if($html=="")
{echo "Cannot connect";die;}
$postcontent=$html->find('#bodyarea',0);
if($postcontent=="")
{echo "Cannot connect";die;}

}

echo "<br/><br/><strong>Total Posts=</strong>".sizeof($timestamps);

//count activity
$basetime=strtotime("8/4/2015 12:06:40");
$weekduration=1210000;
//get starting range value
$temptimestamps=array_values($timestamps);
$mintime=end($temptimestamps);
if($mintime<=$basetime)
$startingtime=$basetime-$weekduration*ceil(($basetime-$mintime)/$weekduration);
else
$startingtime=$basetime+$weekduration*floor(($basetime-$mintime)/$weekduration);

$rstart=$startingtime;
$rend=$rstart+$weekduration;
sort($timestamps);$p=0;$rangecount=array();

foreach ($timestamps as $ts
{
    if($ts>$rend)
    {
    while($ts>$rend)
    {
    $rstart=$rstart+$weekduration;
    $rend=$rend+$weekduration;
    }     
    }
    if($ts<=$rend)
    {
    $rstartkey=date("F j, Y, g:i a",$rstart); 
    $rendkey=date("F j, Y, g:i a",$rend); 
    if(!array_key_exists("$rstartkey to $rendkey"$rangecount))
    {$rangecount["$rstartkey to $rendkey"]=1;}
    else
    {$rangecount["$rstartkey to $rendkey"]=$rangecount["$rstartkey to $rendkey"]+1;}
    }
}
echo "<br/>";


foreach ($rangecount as $key => $value) {
    echo "$key : $value<br/>";
}

//calculate activity
$potentialactivity=sizeof($rangecount)*14;
echo "<br/><strong>Potential Activity=$potentialactivity</strong>";

echo "<br/><br/><strong>Topic Analysis</strong><br/>";
foreach ($topics as $key => $value) {
    echo "$key : $value<br/>";
}


}
}
function 
test_input($data)

{

  
$data trim($data);
  
$data stripslashes($data);
  
$data htmlspecialchars($dataENT_QUOTES);
  return 
$data;

}


?>

</center>
</body>
</html>

You posted the script with the demo settings outcommented. I changed the code in the script and uploaded the files again on sourceforge.

That line was the only restriction, right?


Title: Re: [ANN] Free Bitcointalk Forum Account Potential Activity Counter Bot
Post by: SebastianJu on August 13, 2015, 11:19:47 AM
You posted the script with the demo settings outcommented. I changed the code in the script and uploaded the files again on sourceforge.

That line was the only restriction, right?

The condition test for

Code:
if(false && $maxpageval>10)
{echo "Sorry max posts allowed is 200";die;}

will always be false and hence the restriction will not work, so I did not comment it. To add the restriction the user has to remove false and change the statement to

Code:
if($maxpageval>10)
{echo "Sorry max posts allowed is 200";die;}
and restriction will work.

So commenting it is not required but I guess commenting makes it more clear.

Yeah, i notice now. I helped someone setting it up and he had the errormessage that only 200 posts were allowed. I checked the code and found that and did not really check and outcommented it.

At the end he did try to run the demo site only. :) I helped him make it work.


Title: Re: [ANN] Free Bitcointalk Forum Account Potential Activity Counter Bot
Post by: jacktheking on August 15, 2015, 10:05:31 AM
Look like a good project. Downloaded the source code and noticed a error.

Quote
>Min allowed delay between access for bitcointalk.com is 1 second,but to be safe it is set at 2 seconds at line 107 for this script.

It should be line 102 and not 107 for the newest version.


Title: Re: [ANN] Free Bitcointalk Forum Account Potential Activity Counter Bot
Post by: SebastianJu on August 17, 2015, 08:04:01 PM
Look like a good project. Downloaded the source code and noticed a error.

Quote
>Min allowed delay between access for bitcointalk.com is 1 second,but to be safe it is set at 2 seconds at line 107 for this script.

It should be line 102 and not 107 for the newest version.

I guess if someone can go so far to edit the timeout then he has the ability to find the line too. You changed the settings or did you only read the code and found that info?

Anyway... looks like the bot works so far.

Thank you Dev... guess you helped a couple of account traders, buyers and escrows out. :)


Title: Re: [ANN] Free Bitcointalk Forum Account Potential Activity Counter Bot
Post by: whywefight on August 21, 2015, 06:25:42 PM
I uploaded the files, didnt change anything. I get:

Cannot connect

whats wrong?

EDIT: okay, its my hosting.


Title: Re: [ANN] Free Bitcointalk Forum Account Potential Activity Counter Bot
Post by: guitarplinker on August 21, 2015, 06:33:46 PM
I uploaded the files, didnt change anything. I get:

Cannot connect

whats wrong?

EDIT: okay, its my hosting.
Where you able to figure the problem out, or are you still having it?


Title: Re: [ANN] Free Bitcointalk Forum Account Potential Activity Counter Bot
Post by: whywefight on August 21, 2015, 06:39:20 PM
I uploaded the files, didnt change anything. I get:

Cannot connect

whats wrong?

EDIT: okay, its my hosting.
Where you able to figure the problem out, or are you still having it?


its running fine on my root servers, but not on the webhosting where i would like to use it. i have to check how to set my own php.ini values. found a faq, trying it now


Title: Re: [ANN] Free Bitcointalk Forum Account Potential Activity Counter Bot
Post by: jacktheking on August 22, 2015, 01:49:39 AM
Look like a good project. Downloaded the source code and noticed a error.

Quote
>Min allowed delay between access for bitcointalk.com is 1 second,but to be safe it is set at 2 seconds at line 107 for this script.

It should be line 102 and not 107 for the newest version.

I guess if someone can go so far to edit the timeout then he has the ability to find the line too. You changed the settings or did you only read the code and found that info?

Anyway... looks like the bot works so far.

Thank you Dev... guess you helped a couple of account traders, buyers and escrows out. :)

Well. I dont understand what you are saying. Anyway, I wanted to change the timeout from the default 2 seconds to 1 second. So I read the comments and when I went to line 107, I noticed there's nothing which say '2'. I looked a bit up and down and found that it is line 102 which have the number '2'.


Title: Re: [ANN] Free Bitcointalk Forum Account Potential Activity Counter Bot
Post by: ColderThanIce on August 22, 2015, 08:41:38 PM
Just tried this one and work flawlessly on my localhost.
maybe devs can add text animation while this bot counting the potential activity (like loading... / progressing...)
I thought this bot did not work because no sign while counting
Adding onto what Lannister mentioned, if someone does want to implement something like this, this project (https://github.com/achow101/BitcointalkAccountPricer) would probably be of use when trying to implement such a feature. It mentions what page of posts the bot is on currently when calculating the account's value, so it's definitely doable.


Title: Re: [ANN] Free Bitcointalk Forum Account Potential Activity Counter Bot
Post by: SebastianJu on August 23, 2015, 11:02:22 AM
Just tried this one and work flawlessly on my localhost.
maybe devs can add text animation while this bot counting the potential activity (like loading... / progressing...)
I thought this bot did not work because no sign while counting
Adding onto what Lannister mentioned, if someone does want to implement something like this, this project (https://github.com/achow101/BitcointalkAccountPricer) would probably be of use when trying to implement such a feature. It mentions what page of posts the bot is on currently when calculating the account's value, so it's definitely doable.

That project is written in javascript so the requests are done from the browser directly not from the server like with this project.

This project here can post the pages it requests. But i don't know which server setting is needed to make the flush commands working. Normally it can post 1... then 2 and so on.

Maybe the developer can say something about?

Regardless of that... the script could be changed anytime. You only need to tip the address i posted for him in the first post. If he gets enough tips to make the work then he might want to implement everything requested.

I agree though that the script should say... when it starts... something like Loading pages... but server side code is normally so that the server does everything he has to and then sends the total result. Except this setting is done that allows that the server sends signs not in one rush but continually. Maybe the dev can explain which setting is needed on php.

Alternative a warning under the form that says that after sending it takes some time and everything is ok as long as the page shows loading.


Title: Re: [ANN] Free Bitcointalk Forum Account Potential Activity Counter Bot
Post by: achow101 on August 23, 2015, 01:13:54 PM
Just tried this one and work flawlessly on my localhost.
maybe devs can add text animation while this bot counting the potential activity (like loading... / progressing...)
I thought this bot did not work because no sign while counting
Adding onto what Lannister mentioned, if someone does want to implement something like this, this project (https://github.com/achow101/BitcointalkAccountPricer) would probably be of use when trying to implement such a feature. It mentions what page of posts the bot is on currently when calculating the account's value, so it's definitely doable.

That project is written in javascript so the requests are done from the browser directly not from the server like with this project.

This project here can post the pages it requests. But i don't know which server setting is needed to make the flush commands working. Normally it can post 1... then 2 and so on.

Maybe the developer can say something about?

Regardless of that... the script could be changed anytime. You only need to tip the address i posted for him in the first post. If he gets enough tips to make the work then he might want to implement everything requested.

I agree though that the script should say... when it starts... something like Loading pages... but server side code is normally so that the server does everything he has to and then sends the total result. Except this setting is done that allows that the server sends signs not in one rush but continually. Maybe the dev can explain which setting is needed on php.

Alternative a warning under the form that says that after sending it takes some time and everything is ok as long as the page shows loading.
Actually it is written in Java which is translated to javascript for some of it. The server does all of the work which also runs into a problem of ip bans from Bitcointalk. I solved this by using a queue, but it doesn't always prevent the ban. The browser cannot do the requests itself due to same origin policy.


Title: Re: [ANN] Free Bitcointalk Forum Account Potential Activity Counter Bot
Post by: SebastianJu on August 24, 2015, 01:26:47 PM
Since some people are having issues running the bot, I have set up full version at http://www.satoshiquiz.com/bitcointalk/getactivity.php
How it works:
Step 1:You enter the userid and submit.
Step 2:You get a "Code" and a time estimate 't' in min after which the account report will be ready.
Step 3:After 't' min, enter the code and you can see account report.

Limits: 5 lookups per ip per day.

Thanks

Sounds good to have an alternative for using it on ones own hosting or computer. Though everyone should realize that it might give hints about accounts to be sold or already sold. Though i doubt ak111in would use that data.

I will upload the new script later.


Title: Re: [ANN] Free Bitcointalk Forum Account Potential Activity Counter Bot
Post by: SebastianJu on August 24, 2015, 01:28:28 PM
Just tried this one and work flawlessly on my localhost.
maybe devs can add text animation while this bot counting the potential activity (like loading... / progressing...)
I thought this bot did not work because no sign while counting
Adding onto what Lannister mentioned, if someone does want to implement something like this, this project (https://github.com/achow101/BitcointalkAccountPricer) would probably be of use when trying to implement such a feature. It mentions what page of posts the bot is on currently when calculating the account's value, so it's definitely doable.

That project is written in javascript so the requests are done from the browser directly not from the server like with this project.

This project here can post the pages it requests. But i don't know which server setting is needed to make the flush commands working. Normally it can post 1... then 2 and so on.

Maybe the developer can say something about?

Regardless of that... the script could be changed anytime. You only need to tip the address i posted for him in the first post. If he gets enough tips to make the work then he might want to implement everything requested.

I agree though that the script should say... when it starts... something like Loading pages... but server side code is normally so that the server does everything he has to and then sends the total result. Except this setting is done that allows that the server sends signs not in one rush but continually. Maybe the dev can explain which setting is needed on php.

Alternative a warning under the form that says that after sending it takes some time and everything is ok as long as the page shows loading.
Actually it is written in Java which is translated to javascript for some of it. The server does all of the work which also runs into a problem of ip bans from Bitcointalk. I solved this by using a queue, but it doesn't always prevent the ban. The browser cannot do the requests itself due to same origin policy.

It might be that, when you really did not send requests more often than each second, that you misinterprete forum error messages as a ban. The forum comes up with all kind of error messages randomly too. And it is not always an IP ban. Maybe, when this happens, try to wait for 5 seconds and do another try for the last request. It might work in most cases.


Title: Re: [ANN] Free Bitcointalk Forum Account Potential Activity Counter Bot
Post by: SebastianJu on August 27, 2015, 03:43:38 PM
I updated the project on sourceforge.net with the updated code ak111in provided. The link is: https://sourceforge.net/projects/potential-activity-counter-bot/

If you want something to be changed, or if you want to tip the developer, then check out the first post for the tipping addresses. Or wait... here it is again:
Code:
16N8JZKmb1hLFaErTAz8M3LSPHgwuHQ1YD


Title: Re: [ANN] Free Bitcointalk Forum Account Potential Activity Counter Bot
Post by: achow101 on September 04, 2015, 09:58:31 PM
What is the license on this? I'm starting to see some people creating their own sites with the script and posting them in the services section. This should have a license on it so any of their changes can be merged if there is any improvement. I would recommend using Affero General Public License from here: https://www.gnu.org/licenses/agpl-3.0.en.html if it doesn't already have a license.


Title: Re: [ANN] Free Bitcointalk Forum Account Potential Activity Counter Bot
Post by: SebastianJu on September 16, 2015, 10:19:04 PM
What is the license on this? I'm starting to see some people creating their own sites with the script and posting them in the services section. This should have a license on it so any of their changes can be merged if there is any improvement. I would recommend using Affero General Public License from here: https://www.gnu.org/licenses/agpl-3.0.en.html if it doesn't already have a license.
As part of the crowfunding of this project, no restrictions were put on the use of code, so using "Affero General Public License" as suggested will restrict the users to share their changes with everyone, which I think is not fair. Thus users of this script are free to use it the way they like and make whatever changes they want. It is completely upto the users if they want to share their changes.

Regarding the licence, I think MIT Licence is best for this script:
https://opensource.org/licenses/MIT

I think SebastianJu will agree to this.

Yes, i think the fundraising was started for an open source project from the start. I don't think that many users would pay for a service using that script when the script is freely available. And some users hosted it for free on their webspace too. So theoretically it is possible to use the script without any knowledge.

I think these users should at least mention that the code is from ak111in, since he is the developer, though it is open source and so i think it's ok.

I don't know if the MIT-Licence has restrictions though i wonder if it would change much when we would add a licence to the code now.


Title: Re: [ANN] Free Bitcointalk Forum Account Potential Activity Counter Bot
Post by: RussianRaibow on September 20, 2015, 10:00:17 PM
Since some people are having issues running the bot, I have set up full version at http://www.satoshiquiz.com/bitcointalk/getactivity.php
How it works:
Step 1:You enter the userid and submit.
Step 2:You get a "Code" and a time estimate 't' in min after which the account report will be ready.
Step 3:After 't' min, enter the code and you can see account report.

Limits: 5 lookups per ip per day.

Thanks
Has this stopped working? The Key field appears to be blank by default!


Title: Re: [ANN] Free Bitcointalk Forum Account Potential Activity Counter Bot
Post by: achow101 on September 20, 2015, 10:10:46 PM
Since some people are having issues running the bot, I have set up full version at http://www.satoshiquiz.com/bitcointalk/getactivity.php
How it works:
Step 1:You enter the userid and submit.
Step 2:You get a "Code" and a time estimate 't' in min after which the account report will be ready.
Step 3:After 't' min, enter the code and you can see account report.

Limits: 5 lookups per ip per day.

Thanks
Has this stopped working? The Key field appears to be blank by default!
You need click generate key and pay 0.001 btc in order to use it. The key is lifetime though.


Title: Re: [ANN] Free Bitcointalk Forum Account Potential Activity Counter Bot
Post by: RussianRaibow on September 20, 2015, 11:09:24 PM
Since some people are having issues running the bot, I have set up full version at http://www.satoshiquiz.com/bitcointalk/getactivity.php
How it works:
Step 1:You enter the userid and submit.
Step 2:You get a "Code" and a time estimate 't' in min after which the account report will be ready.
Step 3:After 't' min, enter the code and you can see account report.

Limits: 5 lookups per ip per day.

Thanks
Has this stopped working? The Key field appears to be blank by default!
You need click generate key and pay 0.001 btc in order to use it. The key is lifetime though.
Will the time limit to search multiple user IDs, IP restrictions still hold ?


Title: Re: [ANN] Free Bitcointalk Forum Account Potential Activity Counter Bot
Post by: SebastianJu on September 21, 2015, 12:17:09 PM
Since some people are having issues running the bot, I have set up full version at http://www.satoshiquiz.com/bitcointalk/getactivity.php
How it works:
Step 1:You enter the userid and submit.
Step 2:You get a "Code" and a time estimate 't' in min after which the account report will be ready.
Step 3:After 't' min, enter the code and you can see account report.

Limits: 5 lookups per ip per day.

Thanks
Has this stopped working? The Key field appears to be blank by default!

You refer to the website the developer created by using his script. Though this thread is not about this url, it is about the script itself. And this script is still working and free. There are a couple of other urls that are free, that were set up by other user. So you either can use this script directly, by using it with XAMPP or hosting it yourself somewhere, you can use one o the free offers users created with this script or you can use the payversion of the developer.

Edit: I think will change the OP to make this more clear.


Title: Re: [ANN] Free Bitcointalk Forum Account Potential Activity Counter Bot
Post by: oni.saori on September 23, 2015, 05:47:41 PM
lease change the thread name it is Free Bitcointalk Forum ---------

and your site is no more free

Free Bitcointalk Forum Account -------------

use paid word in exchange of this free word

http://www.satoshiquiz.com/bitcointalk/getactivity.php


Title: Re: [ANN] Free Bitcointalk Forum Account Potential Activity Counter Bot
Post by: Razerglass on September 23, 2015, 07:19:06 PM
lease change the thread name it is Free Bitcointalk Forum ---------

and your site is no more free

Free Bitcointalk Forum Account -------------

use paid word in exchange of this free word

http://www.satoshiquiz.com/bitcointalk/getactivity.php

If reading the OP is too much work atleast read the post just above yours before posting.

Signature spam  :(



Tryna build up that post history :p


Title: Re: [ANN] Free Bitcointalk Forum Account Potential Activity Counter Bot
Post by: SebastianJu on September 25, 2015, 12:35:48 PM
lease change the thread name it is Free Bitcointalk Forum ---------

and your site is no more free

Free Bitcointalk Forum Account -------------

use paid word in exchange of this free word

http://www.satoshiquiz.com/bitcointalk/getactivity.php

ak111in is right... it should be easy to find out that the script is still free. Though maybe i should add free links to the script and list them there?

Can you guys tell me the currently working free hosted versions that everyone can use?