Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

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
  #52  
Old 09-01-2006, 02:25 PM
Luke Beale Luke Beale is offline
 
Join Date: Nov 2005
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

So what do we need to add to let the 3.6 use it?
Reply With Quote
  #54  
Old 10-17-2006, 04:09 PM
jcodemasters jcodemasters is offline
 
Join Date: Aug 2006
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

$clientid is not displaying pub-xxxxxxxx .. can anyone tell me what its not working??
Reply With Quote
  #55  
Old 10-24-2006, 02:24 PM
leo1977's Avatar
leo1977 leo1977 is offline
 
Join Date: Sep 2006
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #56  
Old 03-08-2007, 05:17 PM
wtricks's Avatar
wtricks wtricks is offline
 
Join Date: Aug 2006
Posts: 109
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No one can register now because of this. I will uninstall and install another hack. Didn't work OK
Reply With Quote
Reply

Thread Tools

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 10:47 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.03912 seconds
  • Memory Usage 2,252KB
  • Queries Executed 20 (?)
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
  • (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
  • (2)pagenav_pagelink
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (6)postbit_onlinestatus
  • (6)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