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)
-   -   Randomly positioned ad in between postbits in showthread (https://vborg.vbsupport.ru/showthread.php?t=98057)

ThorstenA 12-05-2006 09:51 PM

Quote:

Originally Posted by Andreas (Post 792954)
What about:
Show Adsense in (or under, above) first unread Post of a Thread.
I think this is the place that would get the most user attention?

That's a nice idea. I also tried to find a solution for that. For what variable should I search for?

UK Jimbo 01-16-2007 05:36 PM

Quote:

Originally Posted by ThorstenA (Post 1132807)
That's a nice idea. I also tried to find a solution for that. For what variable should I search for?

We tried this but after a week of research putting it there and a week of placing it randomly between the postbits we found that we got a better CTR from the randomly positioned one.

I'd urge you to do some similar research on your site to see if the same's true.

Putting the adsense after the first post would just require a template change.

jw00dy 01-17-2007 03:09 AM

Thanks, for this. Install was a snap

Installed.

ThorstenA 01-17-2007 08:56 AM

Quote:

Originally Posted by UK Jimbo (Post 1160756)
We tried this but after a week of research putting it there and a week of placing it randomly between the postbits we found that we got a better CTR from the randomly positioned one.

I'd urge you to do some similar research on your site to see if the same's true.

Putting the adsense after the first post would just require a template change.

I'd think that your research would be very interesting for so much people here, I would be glad to hear more about what you tried and what you think is more successfull. Do you also put adsense for registered users on showthread? How do your link units work out? I was f.e. never sure, if my link units hurt my forum more than they earn money.

Installed.

ThorstenA 01-19-2007 04:26 PM

After playing some days, for me placement after #1 posts works better for me than random placements.

azn_romeo_4u 01-19-2007 09:38 PM

I might be doing this wrong but it doesn't work for my 3.64 version

ThorstenA 01-20-2007 08:08 AM

Quote:

Originally Posted by azn_romeo_4u (Post 1163059)
I might be doing this wrong but it doesn't work for my 3.64 version

Place code after postbit or postbit_legacy tamplate.

Stoneyreef 01-22-2007 02:22 AM

This is my code, not only do you get a google ad in there, but you can also direct your users to sign up for a paid subscription!


Code:




<!-- / random ad code, in to add usergroups add numbers to array(1) -->
<if condition="is_member_of($bbuserinfo,array(1,2,6))">
<if condition="$GLOBALS['adsense_position'] == $post['postcount'] && $GLOBALS['adsense_position'] > 0">
$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">Sponsored Links</td>
</tr>
<tr>
        <td class="alt1" align="center">

<!-- ad code goes here -->
</script>
<p><center>Would you like to get rid of these ads?&nbsp; Then purchase a higher level of
membership!&nbsp; Click <b><font size="4">
<a href="http://www.yourwebsite.com/forum/payments.php">here</a></font></b>
to find a membership that will work for you!</center></p>

        </td>
</tr>
</table>

</div>
$spacer_close
</if>
</if>


wtrk 02-06-2007 01:36 AM

it works fine randomly, it works fine to display after the first post, but if i wanted it display after the first unread post what do i need to change? thanks!

Cicada 10-02-2013 09:13 PM

would this work in vb4?


All times are GMT. The time now is 11:56 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.01254 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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