PDA

View Full Version : Google Adsense on top of full picture-attachments


zlos
02-04-2007, 08:35 PM
Hi

I have been looking for a mod, which would change the behaviour of vB graphical attachment view.

When I click on a thumbnail I get a new tab/window opened with a direct header() php function. I don't like it - I would like to put there some advertisement. So instead of just picture I would have some html and then picture.

I have over 1.000.000 of attachments (jpegs and gifs), which are very popular and I have nothing but costs for yet another 10Mbps pipe to serve something like 5 TB of files monthly. If I think about Adsense revenue I could generate while giving these picures to the public...

Anyhow - do you have any clue where shall I start?

Has anybody had such idea already implemented?


Regards
Tom

bump :)

fasteddie
02-06-2007, 06:10 PM
Yes, I too would like a mod that would allow Google ads as well! Anyone out there??? :)

PoetJA-1975
02-07-2007, 05:04 PM
Interesting - Subscribing to thread :)
Sounds like a novel idea.

Jacquii.

RedTyger
02-07-2007, 09:02 PM
I had a brief look at this but it's not as easy as it sounds and the built-in functionality rather relies on there being no content other than the attachment. It's all a bit messy...

fasteddie
02-17-2007, 04:42 PM
I would assume many forum owners can benefit greatly from such a mod. Perhaps if a few of us pooled together to pay a developer for such a project we could get it done? Any interest in that?

zlos
02-17-2007, 08:51 PM
I had a brief look at this but it's not as easy as it sounds and the built-in functionality rather relies on there being no content other than the attachment. It's all a bit messy...
I am also mid-advanced coder and after investigating what would have to be done I decided to pay some really big brains ;) to get it done well.
I would assume many forum owners can benefit greatly from such a mod. Perhaps if a few of us pooled together to pay a developer for such a project we could get it done? Any interest in that?
I intend to share it with all of you after having the coder paid.

fasteddie
02-18-2007, 08:09 PM
Wow, that's very generous of you zlos, did the coder just start the project? Look forward to the results! Thanks in advance! :)

StarBuG
02-19-2007, 02:39 AM
/me subscribes 2

zlos
02-22-2007, 05:15 AM
Wow, that's very generous of you zlos, did the coder just start the project? Look forward to the results! Thanks in advance! :)
Not yet. I've found so far nobody really pushing on making a product for this... :(

I am ready to pay for this!

magnus
02-22-2007, 06:14 PM
This doesn't seem all that difficult, I'll take a look at it when I have some time. I can't imagine doing this as a product/plug-in though. Most likely it would require code modification.

RichieBoy67
02-22-2007, 06:44 PM
I was trying to figure something out for this myself but it was taking me too long with poor results.....

If you have time please share your ideas and thinking on this and I will share mine.....

Thanks

fasteddie
02-23-2007, 05:12 AM
I talked with my sysadmin and he said it is not an easy fix, because of the way vB currently serves up attachments. If it was easy, he could have done it by now himself, though he is not a coder.

Hopefully someone will come out with something, there IS definitely an interest in this! So any coders out there... here's a challenge!

magnus
02-23-2007, 10:23 AM
I talked with my sysadmin and he said it is not an easy fix, because of the way vB currently serves up attachments. If it was easy, he could have done it by now himself, though he is not a coder.

Hopefully someone will come out with something, there IS definitely an interest in this! So any coders out there... here's a challenge!

Easy is relative. :)

zlos
02-24-2007, 04:36 PM
This doesn't seem all that difficult, I'll take a look at it when I have some time. I can't imagine doing this as a product/plug-in though. Most likely it would require code modification.
Then, let all of us talking to vB.com on changing some code ;)

deathemperor
02-24-2007, 04:53 PM
this is partically not very hard to do :)

RichieBoy67
02-24-2007, 07:28 PM
I hear some talk... now lets see some code. Whoever claims this is easy should volunteer their time... Shouldn't take too long? Heh?
Easy or not it would be a good mod...

zlos
02-25-2007, 07:27 AM
I hear some talk... now lets see some code. Whoever claims this is easy should volunteer their time... Shouldn't take too long? Heh?
Easy or not it would be a good mod...
:D

Yeap. If it's soooo ;) easy, why nobody has coded it so far? :)

magnus
02-25-2007, 08:43 PM
Because it's a niche modification. Until someone who CAN code it NEEDS it, it will get done at the time and leisure of whomever decides to tackle it.

Also, keep in mind this request is NOT posted in the Paid Modifications section. I can't speak for anyone else, but I check this section last. I only visit here when I have no paid work that needs finishing.

I'm not promising anything, but if you take a look at my posting record in this section you'll see that I make good on most of my offerings.

RichieBoy67
02-25-2007, 10:34 PM
That's good... I just don't see why someone would want to come into a thread where everyone is saying how hard it is and mention that it is so easy. I guess it makes people feel stupid... why mention it is easy unless you want to prove it..... otherwise the fact that someone said it was easy means nothing. Just words....

Just my opinion anyways... I know I am low on the totem poll in here as far as coding goes and I have no problem admitting it. I try as hard as I can and I study daily... That all being said, I could not figure this out. I did have some ideas but they seemed to complicated for me to implement....

Who ever does this I would love to know how it was done.....

How about this? Who ever mentioned that this is easy can at least explain the way in which this can be accomplished. Then maybe some of us can try and put it together.. I think I could do it with some instruction and direction...

Thanks.....

Yeah, It is true that things seem to get much easier when in the paid request forum......lol

magnus
02-25-2007, 10:39 PM
I never said how easy it was, I simply said it doesn't seem too difficult and that I'd gladly take a look at it when I get time. Nothing more, nothing less.

RichieBoy67
02-25-2007, 10:52 PM
It's all good Magnus.. I am not trying to argue with you. Just some friendly ball busting.. Nothing more.....lol

If you do ever have time and decide to do it I would love to hear how. If you don't want to do it feel free to pm me and let me know what you are thinking at least....

Thanks... :D

zlos
02-26-2007, 09:39 PM
Because it's a niche modification. Until someone who CAN code it NEEDS it, it will get done at the time and leisure of whomever decides to tackle it.

Also, keep in mind this request is NOT posted in the Paid Modifications section. I can't speak for anyone else, but I check this section last. I only visit here when I have no paid work that needs finishing.

I'm not promising anything, but if you take a look at my posting record in this section you'll see that I make good on most of my offerings.
Then please note that I do offer cash for this hack :)
Independently from forum where it is posted...

zlos
03-16-2007, 03:13 PM
Settled - paid - and got it working.

https://vborg.vbsupport.ru/showthread.php?p=1204772#post1204772

QsKGlobal.com
03-16-2007, 04:03 PM
Thanks very much for paying him for this, hopefully it will benefit everyone :)

PoetJA-1975
03-16-2007, 07:05 PM
Settled - paid - and got it working.

https://vborg.vbsupport.ru/showthread.php?p=1204772#post1204772

Nice! So are you gonna share it?
If yes = AWESOME! If no, perhaps and/or maybe = Congrats on a working solution ;)

Jacquii.

zlos
03-17-2007, 07:42 AM
Here is a proof that it works:

http://pretty.wizaz.pl/forum/attachment.php?attachmentid=833139&d=1174060225

First impressions:
- my Google Analytics shows extra 25% of page impressions (!!!)
- my Google Adsense has given me extra 10% income (!!!)
- no speed downgrade

Technical:
- works as product
- fully customizable through template

Releasing this hack:
- I will talk to the author so he will release this freely (he has promised that to me)

EDIT:
Done! It will be released soon :)

deathemperor
03-17-2007, 09:49 AM
I released it here:

https://vborg.vbsupport.ru/showthread.php?p=1205491

:)

zlos
03-17-2007, 10:09 AM
I released it here:

https://vborg.vbsupport.ru/showthread.php?p=1205491

:)
Great :D
Have fun & cash, guys!

PoetJA-1975
03-18-2007, 03:05 AM
Very nice - Thanx for the release.

Jacquii.

kenfuzed
03-18-2007, 04:16 AM
Looks good, but does this violate Google's TOS? I'm wondering if they would have a problem with their ads appearing on a page without any content.

zlos
03-18-2007, 07:18 AM
Looks good, but does this violate Google's TOS? I'm wondering if they would have a problem with their ads appearing on a page without any content.
Without any content? Attachment is considered as "no content"? Strange way of thinking, especially knowing that google indexes graphics, too...

EDIT: It is up to you, if the page has no content. Simply fill in the template and voilla :)