vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   adsense revenue sharing for vb 3.5x (https://vborg.vbsupport.ru/showthread.php?t=100809)

romow 11-14-2005 08:18 PM

adsense revenue sharing for vb 3.5x
 
hi,

i'm looking for adsense revenue sharing mod for vb 3.5x.

basically adsense revenues are shared between forum admin and thread starters/last posters.
it would be good if the sharing ratio could be configurable.

please help me!!!

lsgworldl 11-15-2005 12:17 AM

might be against TOS

cinq 11-15-2005 01:46 AM

I can help port this over, if you can get permission from the author first.

MrGeeK 11-15-2005 04:26 AM

cinq: I managed to get that one working under vb3.5 yesterday, first vb mod I've ever done and it's probably not perfect but it works.

I've pm'd the author and got the ok to post my version so long as I reference the orginal version.

I'm sure you'd do a better job of it than I did, so if you want to do a version I'm happy to step back.

romow 11-15-2005 04:42 AM

great! i'll look forward to the mod release.

romow 11-23-2005 07:52 PM

any update for porting the adsense hack to 3.5?

Domenico 12-15-2005 10:49 AM

Hi,

Can anyone give me a status update on this? I would really like to use this on our forum.

Smiry Kin's 12-17-2005 11:28 PM

Hi, anyway to display Ad-sense revenue?

romow 12-18-2005 03:08 AM

it's available here:
http://vbarticles.com/forum/showthread.php?t=100

but i still cannot make the mod work on our board. seems to have some problem with it.

saxonian 12-20-2005 07:49 PM

Quote:

Originally Posted by romow
it's available here:
http://vbarticles.com/forum/showthread.php?t=100

but i still cannot make the mod work on our board. seems to have some problem with it.

Its working nicely for me, nice one, is there a way to get it on every page of results?

like the second item on every page of the thread?


Cheers

romow 12-24-2005 02:37 AM

after you install it, make sure to check the source of thread page and see if it displays client_id field correctly. the critical bug is that it shows blank client_id field..

Quote:

Originally Posted by saxonian
Its working nicely for me, nice one, is there a way to get it on every page of results?

like the second item on every page of the thread?


Cheers


cd1986 12-28-2005 06:10 PM

Quote:

Originally Posted by saxonian
Its working nicely for me, nice one, is there a way to get it on every page of results?

like the second item on every page of the thread?


Cheers

Say you have x posts shown per page, change the line in the template edit:
Code:

<if condition="$post[postcount] == 1">
To:
Code:

<if condition="$post[postcount]%x == 1">
So if your board shows 10 posts per page, just add %10 and ads will appear under the 1st post of every page. Note that this means the 1st poster on each page will now have a chance to earn.


All times are GMT. The time now is 03:07 AM.

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.01183 seconds
  • Memory Usage 1,733KB
  • 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
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (12)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete