View Full Version : vBAds: Sharing System
Developer
05-09-2006, 10:00 PM
vBAds Sharing System
v.1.0.0
Description::.
This will make a revenue sharing between you and ur members for an example you will put your ads and a user puts his ads, your ads will appears for an example: 50% of the apearance of your ads & the member ads
this hack inspired by this thread (https://vborg.vbsupport.ru/showthread.php?t=80685&highlight=Adsense+Revenue+Sharing) & of course the entire code from my coding.
[Hack Features::.
1-easy yo install
2-Controlable by admin/users
3-display percent for the admin's ads
4-minimum posts before users can use this hack
more features in screen shots
[Planned Features::.
1-add adbrite codes
2-add yahoo publisher codes
3-more restrictation
[See Screen Shots]
Installation::.
1-Import The Product.
2-add new profile field with these settings
Title:AdSense Client ID
Description:Use this to share your OWN adsense ads in your thread note: this won't appear to you it will appear to other members and you can't use this before 2 posts and you you have to be a member for a 20 days. {change the posts, days values as u like}
Default Value: pub-
Max length of allowed user input:30
Display Size:40
Profile Field Type:Single-Line Text Box
Field Required:no
Field Editable by User:yes
Private Field:yes
Field Searchable on Members List:no
Show on Members List:no
Regular Expression:^pub-[0-9]{16}$
Which page displays this option?: options/other
3-Edit Template postbit(_legacy)
Add this at the end <if condition="THIS_SCRIPT == 'showthread'">
<if condition="!$GLOBALS['FIRSTPOSTID']">
$spacer_open
<div style="padding:0px 0px $stylevar[cellpadding]px 0px">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead" align="left"> <if condition="$show['adsense']">$vboptions[bbtitle]$vbphrase[sponsored_links]<else />$post[musername]$vbphrase[sponsored_links]</if></td>
</tr>
<tr>
<td class="alt1" align="center">
<script type="text/javascript"><!--
google_ad_client = "$clientid";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_color_border = "336699";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</if>
</td>
</tr>
</table>
</div>
$spacer_close
</if>
</if>
History::.
1.0.0 On 10. May 2006 Initial Version.
Hack Languages::.
English Only For Now
Details::.
1 plugins, 14 phrases, 6 option, 0 query
Donation::.
Feel Free To https://vborg.vbsupport.ru/external/2010/09/1.gif (https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=filmahosting%40gmail%2ecom&item_name=DEVELOPER&item_number=1&no_shipping=0&no_note=1&tax=0¤cy_code=USD&bn=PP%2dDonationsBF&charset=UTF%2d8)
aT lAsT::.
IF YOu lIkE iT cLIcK INSTALL
vbulletin.orghttps://vborg.vbsupport.ru/ (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=115227)
Support Given For Who Clicked Install {ONLY}
Developer
05-10-2006, 01:02 PM
Screenshots.
soulface
05-10-2006, 01:19 PM
nice this is what i was looking for :D
* soulface installed!
spetactical
05-10-2006, 01:24 PM
Great idea!
sensimilla
05-10-2006, 02:15 PM
looks familiar, I was using cinq one from vbarticles.com, thanks for posting it
yinyang
05-10-2006, 02:39 PM
most excellent.
soulface
05-10-2006, 03:23 PM
OK, working fine. but can this be done that i can put adv any where not only in postbit ?
Brandon Sheley
05-10-2006, 03:51 PM
nice, I may use this soon..
HaYLaZ
05-10-2006, 04:00 PM
great!!!
thanks friend:D
Developer
05-10-2006, 04:08 PM
OK, working fine. but can this be done that i can put adv any where not only in postbit ?
Due to the Damn Exams :D, i'll add more features one by one ;)
nelto
05-10-2006, 04:36 PM
OH MY GOD
Thank you so much for this, gonna test it... I'll let ya know and lcick install later on.
Your a GOD :)
GTAce
05-10-2006, 04:39 PM
I've had lots of people looking for this kind of thing - thanks for releasing it, it's going to help a TON of people!
nelto
05-10-2006, 04:50 PM
So as far as I understand this can be only used in postbit right?
Is there any chance to use this all over the vba or forum itself?
If isnt asking to much is it possible to even iuse this with this hack (https://vborg.vbsupport.ru/showthread.php?t=108136&highlight=google+banner):banana:
Good byt i have one Question y if someone doesnt setup a ad,system apeard google ads??How can i change it to my own.
Edit: I cannot fint the way it works im try to pyt the admin code and i get You did not enter the correct format for the AdSense Client ID field. Please read the field description for the expected format.
Also from were user can set add.
from were Admin can manage...this ads
netdebut
05-10-2006, 05:07 PM
I keep getting "Invalid File Specified." What do I do?
nelto
05-10-2006, 05:22 PM
When you guys built the custome profil field did you put "pub-" there?
From the release thread:
Default Value: pub-
Couse here its working just fine.
Click INSTALL
netdebut
05-10-2006, 05:36 PM
Okay, n/m, I got it to work. I was stupid trying to import it as a template not as a "product." Sorry, it's my first time.
Is there any way to change how many days are required and how many posts? Thanks.
nelto
05-10-2006, 05:39 PM
Okay, n/m, I got it to work. I was stupid trying to import it as a template not as a "product." Sorry, it's my first time.
Is there any way to change how many days are required and how many posts? Thanks.
Menu -> Vbulletin Options scroll down till you see VbAdSharing system
Edit there.
netdebut
05-10-2006, 05:52 PM
I'm getting closer and closer to getting this right.
I added the product, I added the user profile field EXACTLY as instructed.
Then I tried testing it by going to the forum control panel option. I entered my AdSense account id and got this message:
You did not enter the correct format for the AdSense Member ID field. Please read the field description for the expected format.
Any thoughts of what I'm doing wrong?
netdebut
05-10-2006, 05:57 PM
Thanks Nelto for replying, but... I don't see "VBAdShareing system" in the vBulletin Options nor anything that my resemble it.
So sorry for the trouble guys.
Snake
05-10-2006, 06:54 PM
That is cool!
nelto
05-11-2006, 12:09 AM
Thanks Nelto for replying, but... I don't see "VBAdShareing system" in the vBulletin Options nor anything that my resemble it.
So sorry for the trouble guys.
In the left side menu theres a category called VB Options, open it, inside you have a link saying vb options, click it
It should open a page on your right side right?
In there theres a scroll go down till you see vBads sharing system.... DOUBLE click it to open its own options
As for the error that everyone is getting you NEED to put in pub- in the profile field
This command:
Default Value: pub-
in the instructions isnt passing the defautl value to the filed.
So unless the hack releaser gets this little bug worked out YOUR members NEED to put pub-123456789
If the hack was working 100% your members didnt had to put pub- becouse it was already there.... but since it isnt working 100% they HAVE to.
Hope I made myself clear since English aint my prime language and some times its hard to explain what is so simply to me (in my language).
Got that?
SaN-DeeP
05-11-2006, 12:19 AM
yet another great hack for vbulletin.. I am sure this might get selected for HOT hack of month :)
Barakat
05-11-2006, 12:25 AM
love it .... what a nice hack ... thaks again Developer
netdebut
05-11-2006, 03:36 AM
Okay, I made a video recording what I'm doing. Can you guys tell me what I'm doing wrong?
Click Here For Video (http://www.networkersdebut.com/forum/AdShareHelp.html)
I didn't show it, but I did step three and pasted the code for the legacy_postpit
Wronk wronk wronk....
You must klik on the first step IMPORT
MANAGE PRODUCTS----BROWSE-----IMPORT
you browse the file byt you dont import it (you create an empty product)
nelto
05-11-2006, 01:58 PM
LOL you MUST never forget to import.
I was wondering if it was a mess up in your vb
nelto
05-11-2006, 02:00 PM
Okay, I made a video recording what I'm doing. Can you guys tell me what I'm doing wrong?
Click Here For Video (http://www.networkersdebut.com/forum/AdShareHelp.html)
I didn't show it, but I did step three and pasted the code for the legacy_postpit
What prg you used to creat that video' Im looking for something like that.
Can we edit the video to get a ballon with text for exemple?
PM if needs to.
netdebut
05-12-2006, 04:40 AM
D'OH! :confused: LOL. Thanks, rmxs, for pointing that out. It's working now.
nelto, to get a balloon with text? sorry, I'm confused. You can find the program at www.camtasia.com ($299)
An alternative (very cheap) and I heard it's pretty good is... lemme go look for the URL, lol. Okay: http://sourceforge.net/projects/camstudio
Enjoy.
girish.r
05-13-2006, 10:59 AM
it would be really nice if this mod can handle the google ads channel too.
nelto
05-15-2006, 11:47 AM
I just looked to this code (since it was breaking my table threads)<if condition="THIS_SCRIPT == 'showthread'">
<if condition="!$GLOBALS['FIRSTPOSTID']">
$spacer_open
<div style="padding:0px 0px $stylevar[cellpadding]px 0px">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead" align="left"> <if condition="$show['adsense']">$vboptions[bbtitle]$vbphrase[sponsored_links]<else />$post[musername]$vbphrase[sponsored_links]</if></td>
</tr>
<tr>
<td class="alt1" align="center">
<script type="text/javascript"><!--
google_ad_client = "$clientid";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_color_border = "336699";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</if>
</td>
</tr>
</table>
</div>
$spacer_close
</if>
</if>
And Im wonderign hy the tow closing if tags at the bottom since the first 2 if tags are already closed.?
WritersBeat
05-26-2006, 12:21 PM
was breaking mine to
netdebut
05-29-2006, 10:58 AM
I don't really see this working. I was giving it some time and perhaps it would show up... nothing on my end. I may have to look for another hack.
netdebut
05-30-2006, 06:57 AM
Found out it wasn't working when I pasted the script in postbit_legacy, but it works in just postbit.
brady_44
05-30-2006, 10:23 AM
This command:
Default Value: pub-
in the instructions isnt passing the defautl value to the filed.
So unless the hack releaser gets this little bug worked out YOUR members NEED to put pub-123456789
If the hack was working 100% your members didnt had to put pub- becouse it was already there.... but since it isnt working 100% they HAVE to.
Any fix for this? I had it installed briefly, and in several threads there were adsense ads being shown that had absolutely no publisher id... not the thread starters or my own. I would love this if the ads shown were mine by default unless the user specified their adsense code.
netdebut
05-30-2006, 11:33 AM
Yep, I'm experiencing the same thing Brady.
netdebut
05-30-2006, 11:46 AM
Guess what, I figured out why it's popping out (however, I still can't figure out the client id problem yet):
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</if>
</td>
That's an extra </if>! Remove it and it'll be fine!
netdebut
05-30-2006, 11:58 AM
Obviously "$clientid" is not the correct string to display it... please, someone help figure it out. I've been trying to debug it but to no avail. I've only figured out that extra </if> tag.
contactsonia
05-31-2006, 05:26 PM
Any ideas how can we desplay the ADs somewhere else than after first post?
I dispaly an AdSense Ad above quick reply textarea so if there is only one post in the thread than the Ad is show twice in a row which doesn't look good.
kobescoresagain
06-01-2006, 02:26 PM
I haven't downloaded this yet, considering doing it tonight. My question, is it possible to change the amount of ad shows they get? Either in general or by user, usergroup, or some other way? Thanks
brady_44
06-01-2006, 03:27 PM
You can adjust the amount of ad shows they get... but I would wait on this one. There are some bugs that need to be addressed and nobody is around for support.
It seams that this hack is not working i have tried to install it and all but pub-xxxxxxxxxx code is not shown in html not for the user and not for the admin. I have put the filed number right and all but nothing. Sure hope that Developer will make some update on this maybe put some new features. Maybe to let user put his banners in there and not just adsense with one condition that that banner is moderated by admin.
Maybe make some function that could show banners only in some forums...
contactsonia
06-13-2006, 11:37 PM
I hope you did good in your Exams. Developer.
Now get back to work and help us with hack :D
contactsonia
06-23-2006, 05:54 AM
Sorry Developer but have you lost interest in developing this hack further :confused:
thenetbox
07-13-2006, 02:31 PM
Does this still have issues?
dutchbb
07-14-2006, 09:15 PM
I don't think this is allowed by Google... you can get banned for this, no?
thenetbox
07-17-2006, 01:52 AM
I don't think this is allowed by Google... you can get banned for this, no?
Google doesn't allow one page to have ads by multiple publishers but if one page always has ads from one publisher at a time then it is alright.
example: http://senserely.com/ is a revenue sharing site and they have had no trouble. Same with http://forums.digitalpoint.com/
The thing that I'm not sure about is whether or not this hack only has one publisher on one page always.
almukmin
07-31-2006, 05:19 AM
Hi, is this working on 3.6.0?
iatbm
08-09-2006, 03:56 PM
I wonder that too ;)
99SIVTEC
08-14-2006, 06:38 PM
this doesn't seem to work on 3.6.0. Any ideas why? It looks like it doesn't insert the client id into the code before the javascript is printed out.
Luke Beale
09-01-2006, 02:25 PM
I put it on and the adsense seems to appear but its just that im not sure if its working as i put you have to put 10 posts and i made a test user that had 1 post and its adds apear anyway
colochris
09-04-2006, 05:16 PM
So what do we need to add to let the 3.6 use it?
jcodemasters
10-17-2006, 04:09 PM
$clientid is not displaying pub-xxxxxxxx .. can anyone tell me what its not working??
leo1977
10-24-2006, 02:24 PM
When do you think you will be able to implement yahoo? Thanks or is this a way to modify this code to use yahoo now?
Is this revenue sharing OK with yahoo TOS?
wtricks
03-08-2007, 05:17 PM
No one can register now because of this. I will uninstall and install another hack. Didn't work OK :(
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.