vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   vBAds: Sharing System (https://vborg.vbsupport.ru/showthread.php?t=115227)

Developer 05-09-2006 10:00 PM

vBAds: Sharing System
 
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 https://vborg.vbsupport.ru/external/2010/09/1.gif
aT lAsT::.
IF YOu lIkE iT cLIcK INSTALL
vbulletin.orghttps://vborg.vbsupport.ru/

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

[high]* soulface installed![/high]

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

Quote:

Originally Posted by soulface
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 ;)


All times are GMT. The time now is 02:29 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01153 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete