vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Show Thread Enhancements - Google Adsense Postbit Integration (https://vborg.vbsupport.ru/showthread.php?t=165701)

webgeek247 03-29-2008 01:09 PM

i like it but would prefer to show the add the end of every thread only. not to show straight after the first post.

can someone change it so the add shows at the end of every thread instead = much better :)

onnenkolikko 05-01-2008 09:12 PM

Quote:

Originally Posted by djpassion (Post 1477594)
i like it but would prefer to show the add the end of every thread only. not to show straight after the first post.

can someone change it so the add shows at the end of every thread instead = much better :)

Why cant you do it self? Change "After post #". If you have for instance 20 posts on one page change it to 20.

safakuygur 05-01-2008 09:56 PM

nice hack thanks atakan ;)

nsusa 05-04-2008 12:30 AM

There was another hack for this that inserted it randomly somewhere inside that thread. That would be a great option here, too.

Captain DDL 05-06-2008 02:59 AM

Any chance of you updating this for vB blog integration?

webgeek247 05-06-2008 06:10 AM

i have 20 posts per thread and if i set it to #20 it doesnt even show. though if i set it to #2 it does show. the point is though is that if i set it #2 it only displays after #2 if my posts per page is set to 20and am on the second page of a thread that only has 3 posts in the add wont display because its on #20. get it? :s

i want the link to appear at the bottom of every thread page. how can i do this?

Fungsten 05-09-2008 07:11 PM

Quote:

Originally Posted by djpassion (Post 1510107)
i have 20 posts per thread and if i set it to #20 it doesnt even show. though if i set it to #2 it does show. the point is though is that if i set it #2 it only displays after #2 if my posts per page is set to 20and am on the second page of a thread that only has 3 posts in the add wont display because its on #20. get it? :s

i want the link to appear at the bottom of every thread page. how can i do this?

Set it to 19.

MyZurna 05-14-2008 05:47 PM

Eyw. T?rk Kardeşim ;)

netzrate 05-18-2008 05:56 AM

Thanks Atakan, great Job!

KanmaiseR 05-18-2008 08:32 AM

thanks Atakan KOC, installed :)
very nice hack..
Teşekk?rler ?stad ;)

ayaam 05-21-2008 03:47 PM

Thanks , Done

sinistergaming 05-27-2008 06:41 AM

this works real nice.
i did modify it a bit though.
so i could rotate banners instead of just one.
installed vbbannerrotator
and replaced this code in template gaip_code1
Code:

<div style="padding: $stylevar[cellpadding]px 0px 0px 0px">

<table <if condition="$vboptions[gaiptitle]">class="tborder"</if> cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<if condition="$vboptions[gaiptitle]">
<tr>
    <td class="thead" align="$stylevar[left]">$vbphrase[gapi_sponsor]</td>
</tr>
</if>
<tr>
    <td <if condition="$vboptions[gaiptitle]">class="alt1"</if> align="center">
    $vboptions[gapicode]
    </td>
</tr>
</table>

</div>

with This Code

Code:

<div style="padding: $stylevar[cellpadding]px 0px 0px 0px">

<table <if condition="$vboptions[gaiptitle]">class="tborder"</if> cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<if condition="$vboptions[gaiptitle]">
<tr>
    <td class="thead" align="$stylevar[left]">$vbphrase[gapi_sponsor]</td>
</tr>
</if>
<tr>
    <td <if condition="$vboptions[gaiptitle]">class="alt1"</if> align="center">
    $GLOBALS[bannerads]
    </td>
</tr>
</table>

</div>

now im trying to add it to forumhome under 'What's Going On ?' above the footer.
but nothings coming up.
tried using code

Code:

$template_hook[postbit_end]
any idea's on what i can do there?

FROGGYJ 06-02-2008 04:21 PM

I am using OpenX, any idea how I can setup a rotating banner ad using that?

TrIn@dOr 06-09-2008 01:28 AM

Works great, can u implement the same for others spots?

letsjoy 06-15-2008 10:37 PM

You Rock

Mancia 06-28-2008 06:03 AM

I installed it and set it up with my adsense code, but I can´t see any ad inside the box where I should see it.

any ideas?

Sycoloco1212 06-28-2008 06:49 PM

Quote:

Originally Posted by Mancia (Post 1560977)
I installed it and set it up with my adsense code, but I can?t see any ad inside the box where I should see it.

any ideas?

if you just put ads inside of it then its going to show within a few minutes =)

[ Also i put my post number to 40 and i get ads after first post then under the last post of the page works great =) ]

ShawneyJ 06-29-2008 09:59 AM

thank you ;)

RedGTiVR6 06-30-2008 06:09 PM

works perfectly immediately upon installing!

would be great if you could make a mod that did this everywhere else as well...and worked this flawlessly.

chtdatweb 07-01-2008 07:15 PM

Hi,

Yeah i got this working too, but i want it displayed after post #1 and post #2 any ideas on how this could be achieved?

Thanks

Daniel

The360Place 07-01-2008 08:26 PM

This works awesome! Also I am wondering if there is anyway to add this to a portal? like vbAdvanced?

michaelsilvia 07-28-2008 06:50 AM

Thanks! How about a forumbit version?

michaelsilvia 07-28-2008 06:51 AM

Quote:

This works awesome! Also I am wondering if there is anyway to add this to a portal? like vbAdvanced?
I'm pretty sure you can just ad this anywhere you want it to appear:
$template_hook[postbit_end]

Just try it out!

BigDog56 07-28-2008 07:26 AM

I can't get it to work with only certain user groups. If they are a member of any user group that you have selected as being able to see the ads, they see it. In other words, if they are a "registered user" and a "premium member", if you have the premium member user group not in the groups that can see they ad, they still can (Because registered user group is placed in there.)

andreamarucci 07-29-2008 06:04 AM

Good work! In my forum I use two styles and one of them is for the iphone. I don't want that adsense appear in this style. I've seen these instructions

Quote:

Open template "postbit or postbit_legacy"

Find
PHP Code:
<!-- post $post[postid] popup menu -->

After Add
PHP Code:
$template_hook[postbit_end]
And you suggest to use them only if the mod doesn't works. Fact is that my mod is currently working so I would like to know how can I enable it in one style and disable it in the other (iphone) one.

Thanks!

Ohiosweetheart 07-29-2008 07:32 AM

Excellent! Thanks for making ad placement easier for us.

rapidphim 07-30-2008 04:52 AM

can anyone please let me know why it only shows only the Sponsor Link Bar instead of the whole box/border???? but it did worked fine on FF3?

sergiubarbu 07-30-2008 12:07 PM

this work with vbulletin 3.7.2?

sergiubarbu 07-31-2008 04:22 PM

somebody use that on last vbulletin 3.7.2? is working?

smsalbania 08-01-2008 11:13 AM

Thank you

rapidphim 08-02-2008 05:35 AM

yes, it's working on 3.7.2

sdfaheem 08-04-2008 02:16 AM

its showing two ad boxes

everekli38 08-15-2008 07:35 AM

Teşekkürler..Thank you

hamidkh 08-21-2008 07:22 PM

i install this add-on !
but google only show 4 adsens ! not more ! after 2 days only give me 4 link ! it's don't change!!!!
what must i do ?

tggbrokenwings 08-22-2008 03:43 PM

installed works like a CHARM!

audidiy 08-28-2008 05:25 AM

Was wondering if there is any way to make this show after the first post, as it does, AND after the last post? Or can it be modified and reinstalled to work after the last post, or is there another plugin i need to install to have it identicle and after the last post too?

Ronseal 09-09-2008 05:08 PM

Can somebody tell me if this Mod works with Secondary Usergroups?

I want my Registered Users to see Ads unless they are in a Secondary 'Paid Members' Group, in which case they have paid to use the site so I want them to see the site without Ads.

Ron

SIINSI 09-10-2008 11:23 AM

Anyway of excluding this from certain forums?

Ronseal 09-12-2008 10:41 AM

Quote:

Originally Posted by Ronseal (Post 1618366)
Can somebody tell me if this Mod works with Secondary Usergroups?

I want my Registered Users to see Ads unless they are in a Secondary 'Paid Members' Group, in which case they have paid to use the site so I want them to see the site without Ads.

Okay, so nobody wants to answer the above... so here's another idea.

To get this Mod to work how I want I think I?m going to have to change my 'Paid Members' secondary/custom usergroup so it is a primary group for those who have paid to use the site, because this Mod has no way of dealing with secondary usergroups.

So as far as I see it:
- First task will be to set all the 'Paid Usergroup' permissions to the same as the ?Registered Users?,
- Then there?s the task of moving all the 'Paid Users'. Not sure if there?s an easy way to do this, or if I have to do user at a time?

Has anybody had this same problem, if so how did it go... am I on the right track?

Cheers
Ron

ryancooper 09-16-2008 11:48 PM

Quote:

Originally Posted by sinistergaming (Post 1532588)
this works real nice.
i did modify it a bit though.
so i could rotate banners instead of just one.
installed vbbannerrotator
and replaced this code in template gaip_code1
Code:

<div style="padding: $stylevar[cellpadding]px 0px 0px 0px">

<table <if condition="$vboptions[gaiptitle]">class="tborder"</if> cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<if condition="$vboptions[gaiptitle]">
<tr>
    <td class="thead" align="$stylevar[left]">$vbphrase[gapi_sponsor]</td>
</tr>
</if>
<tr>
    <td <if condition="$vboptions[gaiptitle]">class="alt1"</if> align="center">
    $vboptions[gapicode]
    </td>
</tr>
</table>

</div>

with This Code

Code:

<div style="padding: $stylevar[cellpadding]px 0px 0px 0px">

<table <if condition="$vboptions[gaiptitle]">class="tborder"</if> cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<if condition="$vboptions[gaiptitle]">
<tr>
    <td class="thead" align="$stylevar[left]">$vbphrase[gapi_sponsor]</td>
</tr>
</if>
<tr>
    <td <if condition="$vboptions[gaiptitle]">class="alt1"</if> align="center">
    $GLOBALS[bannerads]
    </td>
</tr>
</table>

</div>

now im trying to add it to forumhome under 'What's Going On ?' above the footer.
but nothings coming up.
tried using code

Code:

$template_hook[postbit_end]
any idea's on what i can do there?

Great idea I did the same thing!! Thanks


All times are GMT. The time now is 12:35 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.01359 seconds
  • Memory Usage 1,823KB
  • 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
  • (6)bbcode_code_printable
  • (7)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
  • (40)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