Pages:
Author

Topic: [Owner gone AWOL] Website Preview: BITADS.NET. Now Pay-Per-Day! - page 19. (Read 33750 times)

legendary
Activity: 1988
Merit: 1007
//Code Here
I guess that you will have to alter the style of the iframe's a bit to match with your website.

Thank you, sir! It works great like that, Smiley. I'm a newbie to JS, lol. So here's the update!

My site:

Old Load Time: 4480 MS
New Load Time: 553 MS

Your site:

Old Load Time: 2900 MS
New Load Time: 1330 MS

This is a MAJOR jump. There is a downside, though... your *total* load time has increased:

Yours is from 2900 MS to 15350 MS (5x increase). Mine is pretty much where it was before. For some reason it's taking your site up to 14s to pull the Bitads.
Well I do not mind the total load time. I prefer to have my webpage visible and ads still loading then that people have to wait for both.

I'm 100% with you on this. I just don't get why it takes Bitads so long to load, :p.

A-Ads takes less than 40ms on average...
copper member
Activity: 3948
Merit: 2201
Verified awesomeness ✔
//Code Here
I guess that you will have to alter the style of the iframe's a bit to match with your website.

Thank you, sir! It works great like that, Smiley. I'm a newbie to JS, lol. So here's the update!

My site:

Old Load Time: 4480 MS
New Load Time: 553 MS

Your site:

Old Load Time: 2900 MS
New Load Time: 1330 MS

This is a MAJOR jump. There is a downside, though... your *total* load time has increased:

Yours is from 2900 MS to 15350 MS (5x increase). Mine is pretty much where it was before. For some reason it's taking your site up to 14s to pull the Bitads.
Well I do not mind the total load time. I prefer to have my webpage visible and ads still loading then that people have to wait for both.
legendary
Activity: 952
Merit: 1000
Group by domain should be on by default. Some sites have more than a page worth of ad spaces, most of them having no bids.
+1

Also, show the average of views and clicks, because I could place 3 or 4 adspaces on the same page and have 4x the views.
vip
Activity: 1316
Merit: 1043
👻
Group by domain should be on by default. Some sites have more than a page worth of ad spaces, most of them having no bids.
legendary
Activity: 1988
Merit: 1007
//Code Here
I guess that you will have to alter the style of the iframe's a bit to match with your website.

Thank you, sir! It works great like that, Smiley. I'm a newbie to JS, lol. So here's the update!

My site:

Old Load Time: 4480 MS
New Load Time: 553 MS

Your site:

Old Load Time: 2900 MS
New Load Time: 1330 MS

This is a MAJOR jump. There is a downside, though... your *total* load time has increased:

Yours is from 2900 MS to 15350 MS (5x increase). Mine is pretty much where it was before. For some reason it's taking your site up to 14s to pull the Bitads.
copper member
Activity: 3948
Merit: 2201
Verified awesomeness ✔
Can you please take a look at this and let me know what's wrong? I originally just added the bottom code and swapped out the ad sizes/id# but that didn't work (just showed blank) so I altered the code a little bit so each block is separate. I still have the same issue: it shows blank.

-snip-
I use this code:

Code:

And then I add this to my page itself:
Code:












I guess that you will have to alter the style of the iframe's a bit to match with your website.
legendary
Activity: 1988
Merit: 1007
Can you please take a look at this and let me know what's wrong? I originally just added the bottom code and swapped out the ad sizes/id# but that didn't work (just showed blank) so I altered the code a little bit so each block is separate. I still have the same issue: it shows blank.

Code:


copper member
Activity: 3948
Merit: 2201
Verified awesomeness ✔
I replaced my ads with dynamic loading ads. Much better.
What do you mean by dynamic? Huh
I mean I replaced my ads with the code he gave us. This one:

That's perfect!

Thanks, Smiley.

No problem!

Also, regarding load times. You can try the following code which loads the ad upon the window loading. Although it made no difference on my end so I will have to do some more tests when I get some time

You will have to replace the two "###" 's with the adspace-id of your ad block, and with with of the iFrame to the correct width/height

With link:
Code:





Without link:
Code:



I changed it a bit, so the ads load as soon as every other content has been loaded.
global moderator
Activity: 3794
Merit: 2612
In a world of peaches, don't ask for apple sauce
I replaced my ads with dynamic loading ads. Much better.
What do you mean by dynamic? Huh
copper member
Activity: 3948
Merit: 2201
Verified awesomeness ✔
I replaced my ads with dynamic loading ads. Much better.
vip
Activity: 1316
Merit: 1043
👻
How does your ad space work? Because I don't see anything. Is it inside the chat or something?
It is displayed in the home / rooms list. Perfect place when someone is looking for something new to try out Smiley
global moderator
Activity: 3794
Merit: 2612
In a world of peaches, don't ask for apple sauce
Just tried to make a withdrawal:

Inputs.io error: "NO_BALANCE"

Sorry about that, had to top up the inputs.io wallet. It's topped up now, just awaiting confirmations.

EDIT: All confirmed, if you try again it should work Smiley

It worked and it was INSTANT. No more waits, Smiley. Thanks!

Now we just need more advertisers on-board again. Looks like all the campaigns had massive drops over the past 12 hours, Sad.
I agree. The only advertiser left my (and apparently every) fauce which he was bidd I bidding on. If there won't be any advertiser's, my faucet will dry out pretty soon.
copper member
Activity: 3948
Merit: 2201
Verified awesomeness ✔
Now we just need more advertisers on-board again. Looks like all the campaigns had massive drops over the past 12 hours, Sad.
Agreed, but what can we do about it? Tongue
legendary
Activity: 1988
Merit: 1007
Just tried to make a withdrawal:

Inputs.io error: "NO_BALANCE"

Sorry about that, had to top up the inputs.io wallet. It's topped up now, just awaiting confirmations.

EDIT: All confirmed, if you try again it should work Smiley

It worked and it was INSTANT. No more waits, Smiley. Thanks!

Now we just need more advertisers on-board again. Looks like all the campaigns had massive drops over the past 12 hours, Sad.
sr. member
Activity: 252
Merit: 250
Just tried to make a withdrawal:

Inputs.io error: "NO_BALANCE"

Sorry about that, had to top up the inputs.io wallet. It's topped up now, just awaiting confirmations.

EDIT: All confirmed, if you try again it should work Smiley
legendary
Activity: 1988
Merit: 1007
Just tried to make a withdrawal:

Inputs.io error: "NO_BALANCE"
copper member
Activity: 3948
Merit: 2201
Verified awesomeness ✔
Dude, don´t allow custom JS script. Really, don´t. I could use that to grab cookie´s, to install malware and so much more.


I am using HTML5's iFrame sandbox feature which prevents this. Basically the iFrame behaves as if it's not from the same domain.
Smart move!
sr. member
Activity: 252
Merit: 250
Dude, don´t allow custom JS script. Really, don´t. I could use that to grab cookie´s, to install malware and so much more.


I am using HTML5's iFrame sandbox feature which prevents this. Basically the iFrame behaves as if it's not from the same domain.
copper member
Activity: 3948
Merit: 2201
Verified awesomeness ✔
Dude, don´t allow custom JS script. Really, don´t. I could use that to grab cookie´s, to install malware and so much more.


I guess in this case what could be done is a "filler code"... like this:
-snip-
Would that help with safety? You could even set the type of input id could be such that it could only be a number.
No I mean, if you allow to insert custom JS when there is no advertisement, that can be abused. Normally it´s safe.

Actually, I think this would be worthless. The custom code is only for our OWN fallback. If we were going to implement something destructive, we could just do that in our own websites, considering we have full access. So there's no reason to add "safety" features to the fallback code.
Well that´s true Tongue
legendary
Activity: 1988
Merit: 1007
Dude, don´t allow custom JS script. Really, don´t. I could use that to grab cookie´s, to install malware and so much more.


I guess in this case what could be done is a "filler code"... like this:

Let's use your Bitads style for the example...



Alright, what you would do is allow inputting the user's id#, such that your code (pseuducode) would be like this:

$bitid = 37;
echo '
';

Would that help with safety? You could even set the type of input id could be such that it could only be a number.



Actually, I think this would be worthless. The custom code is only for our OWN fallback. If we were going to implement something destructive, we could just do that in our own websites, considering we have full access. So there's no reason to add "safety" features to the fallback code.
Pages:
Jump to: