Why don't you use the returned arrays while fetching them from Mysql? $id=mysql_query('SELECT * FROM miners'); for ($i=0; $i<mysql_num_rows($id); $i++) { $r=mysql_fetch_array($id, MYSQL_ASSOC); echo $r['name']."<br />\n"; }
Or use PDO, it has a fetchAll statement (and prepare/execute is nicer too)
|
|
|
I'm starting this thread to bring advertisers and affiliates together. So if you offer a referral/affiliate program, post some details about it here, for example: URL: http://example.com/?ref=<btcaddress> Payment: 0.1btc per 100 daily unique visitors IFrame: http://example.com/ad.php?ref=<btcaddress> Payment: 0.2btc per 1000 impressions URL: http://example.com/shop.php?ref=<btcaddress> Payment: 5% of each sale/deposit I guess it's easier to collect that information in one thread than affiliates having to search for sites and ask every webmaster.
|
|
|
Write the program in any language you want and compile it if needed. Then just call it from within a batch script by using "START". Or maybe I don't see your problem here...
|
|
|
Actually if advertiser pays commission for successful visits and you want to show a text link for particular advertiser, then you can just put your bitcoin address into his/her URL. For example Bitcoin Darts accepts links of form " http://bitcoindarts.movoda.net/?partner=<bitcoin address here>". Just put your address there and you don't even need to use Anonymous Ads. True, however every affiliate would have to work out a deal with every advertiser. An advertiser on AA made it public that he pays for traffic, so for affiliates there is no need to ask. It would be some sort of aggregation service that brings them both together without any special deals. Should be rather trivial to implement even.
|
|
|
Bringing up text links again... It would be relatively easy for affiliates to create text-only links if the ids could be used, for example: http://anonymousads.com/go/<affiliate id>/<ad id>/ So any affiliate can easily pick the target site he wants and place a simple text link on a website/forum/email/etc. It somewhat goes against your approach of a payment-balanced system though.
|
|
|
I decided to store this data on the client side because browser knows when it's session is over. And that is crucial to ensure that visitors get redirected to sites that correspond to the images they see in their browsers. I don't rely on server here because I am not sure how/when it clears session data after clients gets disconnected.
I think I solved the issue (fixed cookie path). Please let me know if you still can reproduce it. Thank you very much for participation.
PHP too has the ability to manage session expire times (look at session_cache_expire() and session.gc_maxlifetime). Plus, you can set up an hourly find in cron to look for old sessions stored in the tmp directory and clean them up. Seems to work in FF5 and Opera11 now.
|
|
|
Probably browser refuses cookies due to some security issues. I can't control browser's behavior, some users may have cookies disabled at all. I've implemented the work-around: if redirection link is not found, then user will be redirected to the list of ads for that affiliate (the wanted ad should be there).
I downloaded the most recent Opera and did a standard install on a clean XP without any adjustments. The cookie still gets set only partially. Did you test it too? If that's something that happens with all Opera and older Firefox installs, it really needs to be fixed. Besides, the cookie stores successfully the session id, so you can as well handle the rest of the data server-side in the $_SESSION array after doing the session_start(). No need to store all the other information on the client side.
|
|
|
By the way, what's with the "Sorry, couldn't find the redirection link." message? I get that every time I click the link in your sig.
|
|
|
User 51 has 1560 unique impressions and 1223 unique clicks. I don't want to say anything about user 51 since I don't know who he/she is and how did he achieve this ratio. But it looks suspicious and he/she could receive ban instead of money from Adsense.
Guaranteed payments for clicks or impressions give strong incentive for fraudent clicks and impressions. If I knew the minimal cost of fraudent click or impression, maybe I could set up a guaranteed payments below that cost.
Yeah that's what I was thinking about fraud too. Also AdSense pays me over £0.50 a click. I can't see this scheme paying as much per click but I think its ads are more relevant being BitCoin related.
Adsense bans quickly, but they also pay nicely for good traffic. It just needs a few clicks of your own to get their attention, so user 51 would already be gone from Adsense. It's really not worth the effort to fake because the payment for "real" clicks is quite high and if you have a decent website, those clicks happen naturally. You could always ban that user and see who complains, and what explanation he/she gives
|
|
|
I'm keeping a bit of an eye on this since the idea behind it is interesting and it's easy to implement. But as a webmaster there is no way to even roughly estimate your earnings.
The spread seems to get even bigger: user 51 has 1223 click, which earned him 0.00004360btc, while user 43 received 0.00092286btc for only 3 clicks. That's an about 21 times bigger payment for only approximately 0.25% of the clicks.
While I'm in no position to tell you how to run your project, I can say that webmasters want to be able to do some rough guessing. I know it's unfair to compare it to Adsense, but there I can do some estimations. Here I see differences of up to a factor of 8545, which, if applied to Adsense, would mean earning either $0.01 or $85.45 per click.
From my position as a webmaster it would help to have at least a guaranteed minimum earning, even if it's just 0.001btc per click.
|
|
|
Theoretically, it's not the coins which are lost, but the key. Although chances are as close to zero as one could imagine, you could accidentally generate a key which holds "lost" coins. In reality, less coins increase the value of the other coins. Like when there is suddenly 10% less gold in existance, the value of the other 90% goes up.
|
|
|
That is why ads' links are being appended with bitcoin address: it enables advertisers to evaluate visits and to pay to affiliates that brought successful visits to them.
Just to be sure: an advertiser can also decide not to pay the traffic he receives, correct? I'm aware that this seems to decrease the chances of his ads to be shown, but it would still work with new affiliates; or he could just create another advertiser account if the old one has been burned. If I see the ad above placed by the The Lucky Coin Casino by Anonymous Ads, which part of this anonymous don't I understand? I took the liberty to click several ads and, once I was on those sites, I was able to tell who placed the ads, unless there's a Supper PAC somewhere paying for the ads, I'm pretty sure that the sites I arrived at were linked by their owner's paid ads.
You see the target. It's unknown who pays for these ads; although it's pretty sure the guy running the site pays, it still could be someone else. For example, you promise webmaster W to deliver X hits for a payment of Y. You place the ad to W on anonymousads and pay Z for the traffic until X is reached. Then Y-Z is what you earn from this. The affiliate is somewhat obvious though. It's usually the guy running the website showing the ads, or the poster who has the ads in his signature. I'd say it's not truly anonymous. More semi-anonymous, just like Bitcoin itself.
|
|
|
Out of interest, I analyzed the data you provide. Is there any way to estimate the earnings for an affiliate? For example, the users 52 and 9 both earned 0.00001090 BTC, but one has 9 clicks while the other one just needed one click. The difference is even bigger between user 19 and 32: both earned almost the same, but user 19 needed 563 clicks vs only 2 for user 32. With the same BTC/click rate, user 19 would have made 0.77321294 BTC instead of just 0.00273585 BTC. There's a giant spread (factor 6812.6) between minimum and maximum. So with the best click conversion, an affiliate could make 6812.6 times more than with the worst click conversion. ID Impres Clicks Earned BTC BTC/Click 1 297831 3741 0.10873000 0.00002906 2 10027 54 0.07410517 0.00137232 3 76787 224 0.20017407 0.00089363 4 17 9 0.00611797 0.00067977 5 6 6 0.00381872 0.00063645 6 37 12 0.02471977 0.00205998 7 3 3 0.02090105 0.00696702 8 8 4 0.00090105 0.00022526 9 8 9 0.00001090 0.00000121 10 1003 31 0.06168051 0.00198969 11 5 4 0.00180210 0.00045053 12 3 5 0.00090105 0.00018021 13 223 15 0.06473561 0.00431571 15 735 13 0.00562082 0.00043237 16 18 6 0.00090105 0.00015018 17 798 26 0.04599130 0.00176890 18 10016 22 0.12127520 0.00551251 19 883 563 0.00273585 0.00000486 20 5 6 0.00118898 0.00019816 21 13 12 0.00476338 0.00039695 22 407 19 0.02230186 0.00117378 23 6 4 0.00184572 0.00046143 24 35 3 0.00750279 0.00250093 25 2 1 0.00091195 0.00091195 26 155 6 0.01213538 0.00202256 28 652 8 0.01964711 0.00245589 29 1 1 0.00172349 0.00172349 30 1538 10 0.08243245 0.00824324 31 5 1 0.00361510 0.00361510 32 7 2 0.00274676 0.00137338 33 2 1 0.00091195 0.00091195 35 266 7 0.01346220 0.00192317 36 60 13 0.00772088 0.00059391 37 1227 22 0.02582616 0.00117392 41 4 4 0.00181301 0.00045325 42 1 1 0.00090105 0.00090105 44 60 1 0.00594058 0.00594058 46 3 1 0.00092286 0.00092286 47 200 6 0.00198445 0.00033074 48 115 3 0.00110122 0.00036707 49 106 1 0.00109034 0.00109034 50 61 40 0.00061059 0.00001526 51 4 4 0.00004360 0.00001090 52 1 1 0.00001090 0.00001090
Minimum/Click: 0.00000121 BTC (User 9) Maximum/Click: 0.00824324 BTC (User 30) Total earned: 0.96827695 BTC Total clicks: 4925 Total impres: 403344 Avg BTC/Click: 0.00019660
|
|
|
$days=floor($elapsed/86400); $time=gmdate('H:i:s', $elapsed%86400);
|
|
|
Yes, this should be expected (but it depends on how much advertisers pay and how their payments appear in blocks). Is it good or bad? Both. Good because you quickly get your payment. Bad because lots of small transactions make it harder to keep track. A solution would be to let users decide to use "auto payout" or "manual payout". This could be a solution. But here are some issues: 1) allowing to modify information is always a security risk 2) if users get used to control their accounts, then "password recovery" feature would be required... that means the system would have to store emails or other private data 3) some of the internal algorithms rely on the assumption that user data is constant.. so would need to rewrite it
So, it is an open question if it is worth of implementing.. Maybe should hide the database backups and allow to specify email & password, because it is convenient sometimes to change something or to have email notifications.
1) Only allow modifying non-critical information, like the filter level but never the payout address/password. Let users trigger a payout. That way an account cannot be hijacked even if the password has leaked. 2) Password recovery is not an important requirement. Right now the system is designed so that you just make a new account anyway if you need to change something. If a user forgot the password, he can make a new account.
|
|
|
If we are talking about BBCode, then image is important: it shows the ad to the visitor and saves relay id in browser's cookie, thus allowing redirection to that particular ad. Without an image, a text link would redirect to random advertiser's site (this option is not supported though, is there any sense in it?).
There are cases where images are not possible: you already noticed that the forum here doesn't allow images in signatures anymore. Also if you plan to add a link into your email signature, remote images are usually blocked. They are triggered automatically as soon as 0.011 is confirmed (or maybe with delay of several minutes). Though it can be changed in future to minimize or even remove withdrawal fees. Added hints to the affiliate's page.
So if an affiliate with a big site joins, he would more or less constantly receive 0.01btc transactions? It kinda contradicts idea of secure anonymous service with public database backups. Though maybe this idea is not as important as user experience.
The transparency sure is an interesting part of it. But I think you'll have to deal with users who would like to make changes to their account. It can still be anonymous though: just require users to sign up with a Bitcoin address plus a password which is stored as a salted SHA512. Publishing those checksums might still be risky though.
|
|
|
Can affiliates use text-only links too, or is it required to display the image? For example: <a href=' http://anonymousads.com/...'>Take a look</a> How are withdrawals triggered? Will the affiliate receive a transaction as soon as the 0.011 are reached? Or once a day/week/month? While I'm impressed by the openness of the system, a user interface would be nice. Affiliates could e.g. edit the filtration level without having to change every published ad. They also could trigger a payout manually.
|
|
|
this is a great way if someone want to collect a good working emails. pay so nothing - 1 email per week but get so much emails for sale after this.
When I start getting spam on the address I'll simply drop the alias and then the address is dead. I don't even have to bother with opting out; the spammer can waste his resources with another dead email. So what are you so butthurt about? Angry because someone pays more for reading emails than you do?
|
|
|
As soon as he decides to keep it though, other trolls will jump in and insist that Shakaru is now the scammer. It's kind of a catch-22, and it is a shame that Shakaru has to be in the middle of it.
That's why I suggested to donate it. Shakaru could select a few organizations and let people here vote; then the scammer's money gets donated.
|
|
|
I would at least let him pay for your costs. If you lost 250usd because of his fuckup, return 250usd less to him. It's already more than generous of you to return his money; no reason to make a loss from it. Besides, he should be happy that you don't bill him for the hours you wasted on all this. Not to mention the harm of your reputation. Honestly, I would probably keep it. I'm not too fond of scammers and doubt that he will learn from it. Well, maybe he learns that if you whine enough things get better. Ever thought about donating it for something good instead? That way you don't make a profit from it and he still learns his lesson.
|
|
|
|