Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vBAds: Sharing System Details »»
vBAds: Sharing System
Version: 1.0.0, by Developer Developer is offline
Developer Last Online: Nov 2010 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 05-09-2006 Last Update: 05-09-2006 Installs: 48
Uses Plugins Template Edits
 
No support by the author.

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 & 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
Code:
<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
aT lAsT::.
IF YOu lIkE iT cLIcK INSTALL
vbulletin.org

Support Given For Who Clicked Install {ONLY}

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 05-10-2006, 04:36 PM
nelto nelto is offline
 
Join Date: Sep 2004
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #13  
Old 05-10-2006, 04:39 PM
GTAce GTAce is offline
 
Join Date: Nov 2005
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #14  
Old 05-10-2006, 04:50 PM
nelto nelto is offline
 
Join Date: Sep 2004
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:banana:
Reply With Quote
  #15  
Old 05-10-2006, 04:51 PM
rmxs rmxs is offline
 
Join Date: Apr 2006
Posts: 419
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #16  
Old 05-10-2006, 05:07 PM
netdebut netdebut is offline
 
Join Date: May 2006
Location: Japan
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I keep getting "Invalid File Specified." What do I do?
Reply With Quote
  #17  
Old 05-10-2006, 05:22 PM
nelto nelto is offline
 
Join Date: Sep 2004
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #18  
Old 05-10-2006, 05:36 PM
netdebut netdebut is offline
 
Join Date: May 2006
Location: Japan
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #19  
Old 05-10-2006, 05:39 PM
nelto nelto is offline
 
Join Date: Sep 2004
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by netdebut
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.
Reply With Quote
  #20  
Old 05-10-2006, 05:52 PM
netdebut netdebut is offline
 
Join Date: May 2006
Location: Japan
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:

Quote:
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?
Reply With Quote
  #21  
Old 05-10-2006, 05:57 PM
netdebut netdebut is offline
 
Join Date: May 2006
Location: Japan
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:34 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.10925 seconds
  • Memory Usage 2,307KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete