PDA

View Full Version : Adsense & Banner - Posbit


Reminder
11-20-2005, 10:00 PM
[install]
Go to your admin cp, then:
Plugin System -> Manage Products -> [Add/Import Product] -> Select 'product-banner_adsense' from your computer then press 'Import'


[Adsense & Banner settings]
Go to your admin cp, then:
vBulletin Options -> Adsense Banner Settings ->

https://vborg.vbsupport.ru/ (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=101291)

Mastar
11-21-2005, 07:35 PM
how do you get the image with a link?

Lizard King
11-21-2005, 07:41 PM
Where is the adsense in postbit ? This is google adsense after postbit which is released long time ago.

Mastar
11-21-2005, 08:01 PM
Where do I get the google adsense?

michaelbenson
11-21-2005, 08:08 PM
Where do I get the google adsense?
Perhaps you should research what Google Adsense actually is first;
http://www.google.com/adsense?hl=en_US&sourceid=aso&subid=us-et-ads

Dark Riku
11-21-2005, 08:21 PM
Installed :P Thanks

amykhar
11-21-2005, 08:26 PM
Do people actually turn it on and off so that they need a control panel interface for it? I would think putting it in the template code would be sufficient.

dieselpowered
11-21-2005, 08:51 PM
I would tend to agree with Amy, however, the hack does look nice.

Midnight, did you test this with the google adsense and quick reply...I know I had a problem when clicking on quick reply, it would not work. Just thought I would bring it up!

whitetigergrowl
11-21-2005, 09:13 PM
Its not working for me....I entered my adsense code and everything and see no diferences anywhere

romow
11-21-2005, 11:46 PM
hi,
Thanks for the nice mod!

Could you tell me where the adsense ads is located? Is it after the first post?

What is the permission setting in the admin panel about? So the adsense shows for specific user groups?

allwirelesstalk
11-22-2005, 01:03 AM
I would tend to agree with Amy, however, the hack does look nice.

Midnight, did you test this with the google adsense and quick reply...I know I had a problem when clicking on quick reply, it would not work. Just thought I would bring it up!

Same here... www.AllWirelessTalk.com... Any solutions?

-JMG-

Stifler
11-22-2005, 02:02 AM
this doesn't work. you shoulda tested this on a test board first.. /installed and now /uninstalled...

jay007
11-22-2005, 05:14 AM
it does'nt work for me either ....

dieselpowered
11-22-2005, 05:24 AM
@allwirelesstalk, Stifler, and jay007 you have a PM :)

dre
11-22-2005, 05:34 AM
any fix for this?

Saxon
11-22-2005, 08:37 AM
@allwirelesstalk, Stifler, and jay007 you have a PM :)

If you have a fix for this can you share it publically please.

Reminder
11-22-2005, 11:05 AM
I tryed it on my site and the others it's working. But 3.5.0 and the some hack plugging on the forum it's doesn't work.

I wile try to fix it.

MentaL
11-22-2005, 11:27 AM
Works but the table alignment just messes up.

Reminder
11-22-2005, 05:37 PM
if pluin not working

temporary solution

Go to your admin cp, then:
Styles & Templates -> Style Manager -> Current Template
[Edit Templates] -> Select 'postbit->postbit_legacy'

Find


<!-- / post #$post[postid] -->


After


<if condition="$vboptions[Adsense_Banner_setting_onoff]">
<if condition="$post[postcount] % $vboptions[maxposts] == 1">
$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">
<if condition="$vboptions[Adsense_Banner_setting_caption_onoff]">
<tr>
<td class="thead" align="left">$vboptions[Adsense_Banner_setting_caption]</td>
</tr>
</if>
<tr>
<td class="alt1" align="center">
$vboptions[Adsense_Banner_setting_text]

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

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

scottct1
11-22-2005, 07:35 PM
That worked however my tables were all messed up so I had to remove it.

I do hope you can get it working, this could be a hack of the month if working properly. :D

jay007
11-23-2005, 06:49 PM
if pluin not working

temporary solution

Go to your admin cp, then:
Styles & Templates -> Style Manager -> Current Template
[Edit Templates] -> Select 'postbit->postbit_legacy'

Find


<!-- / post #$post[postid] -->


After


<if condition="$vboptions[Adsense_Banner_setting_onoff]">
<if condition="$post[postcount] % $vboptions[maxposts] == 1">
$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">
<if condition="$vboptions[Adsense_Banner_setting_caption_onoff]">
<tr>
<td class="thead" align="left">$vboptions[Adsense_Banner_setting_caption]</td>
</tr>
</if>
<tr>
<td class="alt1" align="center">
$vboptions[Adsense_Banner_setting_text]

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

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



This worked , ADS now showing in Postbit,

But Still No ForumHome Ads.. :ermm:

NineToez
11-24-2005, 05:25 PM
This just didn't work for me period. Nice in theory, but if anyone has any input to get this work, great.MidNight_tr's hack ended up giving me an error in /includes/adminfunctions_template.php

paulius
11-25-2005, 01:31 PM
if pluin not working

temporary solution

Go to your admin cp, then:
Styles & Templates -> Style Manager -> Current Template
[Edit Templates] -> Select 'postbit->postbit_legacy'

Find


<!-- / post #$post[postid] -->


After


<if condition="$vboptions[Adsense_Banner_setting_onoff]">
<if condition="$post[postcount] % $vboptions[maxposts] == 1">
$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">
<if condition="$vboptions[Adsense_Banner_setting_caption_onoff]">
<tr>
<td class="thead" align="left">$vboptions[Adsense_Banner_setting_caption]</td>
</tr>
</if>
<tr>
<td class="alt1" align="center">
$vboptions[Adsense_Banner_setting_text]

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

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


Sorry dude, your fix doesn't work for me. It just results in my browser waiting for the page to update. Maybe some variables are wrong or something.

I'm really looking forward to a working version of this plugin!

Ferbull
11-26-2005, 08:00 PM
Me too. I think that is a nice Idea.

saukwebsolution
11-27-2005, 04:12 AM
wow how nice would this hack be! please fix this :)

Telegon80
11-30-2005, 10:03 PM
ill subscribe but no install yet.

WhatChaMissin
12-01-2005, 07:50 PM
if pluin not working

temporary solution

Go to your admin cp, then:
Styles & Templates -> Style Manager -> Current Template
[Edit Templates] -> Select 'postbit->postbit_legacy'

Find


<!-- / post #$post[postid] -->


After


<if condition="$vboptions[Adsense_Banner_setting_onoff]">
<if condition="$post[postcount] % $vboptions[maxposts] == 1">
$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">
<if condition="$vboptions[Adsense_Banner_setting_caption_onoff]">
<tr>
<td class="thead" align="left">$vboptions[Adsense_Banner_setting_caption]</td>
</tr>
</if>
<tr>
<td class="alt1" align="center">
$vboptions[Adsense_Banner_setting_text]

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

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



thanks that did the trick
*installs*

Snake
12-08-2005, 04:15 PM
Will this work on 3.5.2?

paulius
12-14-2005, 01:01 AM
Sorry dude, your fix doesn't work for me. It just results in my browser waiting for the page to update. Maybe some variables are wrong or something.

I'm really looking forward to a working version of this plugin!

Nevermind. It works now!

It's because there are TWO "<!-- / post #$post[postid] -->" strings and you have to paste in the code after the LAST one. Not the first one on the top!

Smiry Kin's
12-17-2005, 01:42 PM
Yes it works with 3.5.2

but i get this lil problem nothing majour, just a misplacement.

Smiry Kin's
12-17-2005, 11:14 PM
also jsut got it work on 3.5.2 with firefox, weird it only works when i have a certian hack installed, i don't have time to test which ones,

just a little bit out tho!

Great hack

*Install

James T Brock
12-23-2005, 01:00 PM
Doesn't work. Test before release next time.

Smiry Kin's
12-23-2005, 01:11 PM
Doesn't work. Test before release next time.

does work, perfectly. in 3.5.2..

James T Brock
12-23-2005, 01:13 PM
I just added this to the bottom of postbit_legacy and now it works.


$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">
<if condition="$vboptions[Adsense_Banner_setting_caption_onoff]">
<tr>
<td class="thead" align="left">$vboptions[Adsense_Banner_setting_caption]</td>
</tr>
</if>
<tr>
<td class="alt1" align="center">
$vboptions[Adsense_Banner_setting_text]

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

</div>
$spacer_close


I had to remove the opening and closing "if" statements first.

Smiry Kin's
12-23-2005, 01:14 PM
I just added this to the bottom of postbit_legacy and now it works.


$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">
<if condition="$vboptions[Adsense_Banner_setting_caption_onoff]">
<tr>
<td class="thead" align="left">$vboptions[Adsense_Banner_setting_caption]</td>
</tr>
</if>
<tr>
<td class="alt1" align="center">
$vboptions[Adsense_Banner_setting_text]

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

</div>
$spacer_close


I had to remove the opening and closing "if" statements first.

i added that also, because the hack was messing up.. :) but it still works great..

murrtex
01-06-2006, 12:46 AM
thanks its works but table width="100%" , it does not works in Adsense_Banner template,table is small on me..

how can we fix it?

thanh
04-01-2006, 02:35 AM
what does parmision mean in this hack? i'm tried to allow only admin group ( 6 ) see but seem have no thing happen

thanh
04-01-2006, 02:35 AM
nothing different

Justin761985
04-01-2006, 10:58 PM
Is there anyway that I can get this to work on my forum index as well?

Thanks,
Justin.

ShadowOne
04-11-2006, 08:16 PM
<a href="https://vborg.vbsupport.ru/showthread.php?t=109448" target="_blank">Google Ads Enhanced Forumhome</a>
There You Go Justin...

Damien2005
04-25-2006, 08:43 PM
Hi all.. great hack but one problem..
When i add this code in my CSS
.element_inner_border {
width: 99%;
border-left: 1px solid #6783c3;
border-right: 1px solid #6783c3;
margin-left: auto;
margin-right: auto;
}

Then the table is f*cked up.. any fix for this???

Cheerzzz

Replicators
05-10-2006, 03:57 AM
Great idea, but this really does a woosy to my template layout.

So for now i will have it uninstalled until it is fixed or w/e.

stonner
06-06-2006, 11:53 AM
great hack! installed in 5seconds and works fine.

It appears after the first post. can I also let it appear after the last post on each page if i have 20 posts per page?

thank you

hubix
07-11-2006, 08:59 AM
Hello!

Thx for the Hack :) After including the "temporary solution" it works...

But the function "Adsense Banner Settings" - "Permison" doesn?t works :( We will not shown up the google-ad for our Admins and Mods. So i remove the "6" and "7" for the admin/mods-usergroups, but the google-ad is still to see...

Have everyone the same problem? Can somebody fix it?

greetz :)
hubix

*EDIT* Hm, the "Quick Reply" also doesn?t works... We install the plugin at some forums of us and the plugin do in all of them the same problems :(

dostborsa
07-13-2006, 03:05 PM
very very good

mükemmel bir plugin başarılar

dostborsa
07-13-2006, 04:36 PM
ilk mesajdan sonra 1 kere çıkıyor tamam

sonra 21. mesajdan sonra ard arda 7-8 tane çıkıyor.

ReadOrDie
07-21-2006, 01:13 AM
This hack doesn't work for me either. I'm not sure why it's even posting if it doesn't work for the majority of the people here...

Follie Folli
08-23-2006, 02:24 PM
It works with vb 3.6 ?
If not, can you update it ? Thanks:cool:

Nathan2006
09-12-2006, 07:41 AM
Thanks Reminder,

Install

Just one small problem, I don't know how to add a little space above the ad?

I have added a screenshot

Thank you for any help :)

oldfan
09-28-2006, 06:27 PM
it messing up my page format http://www.metallifukinca.com/showthread.php?t=3361&page=2
I cannot seen to fix it, anyone got any ideas?

beansbaxter
09-29-2006, 05:18 AM
I am running 3.6.1 and it worked fine for me. The only problem is there is no space above it compared to the space below, the same problem as outlined in post 49 of this thread.

Works for me though, first try.

GrendelKhan{TSU
10-01-2006, 04:47 PM
didn't work for mine.
v3.6.0

well..worked...but totally messed up the template. :(
I have a custom skin though...maybe that's teh problem for most people here. oh well.

daloosaa
10-19-2006, 11:19 AM
Works perfect with vB 3.6.2.

I had to add

<if condition="$vboptions[Adsense_Banner_setting_onoff]">
<if condition="$post[postcount] % $vboptions[maxposts] == 1">
$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">
<if condition="$vboptions[Adsense_Banner_setting_caption_onoff]">
<tr>
<td class="thead" align="left">$vboptions[Adsense_Banner_setting_caption]</td>
</tr>
</if>
<tr>
<td class="alt1" align="center">
$vboptions[Adsense_Banner_setting_text]

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

</div>
$spacer_close
</if>
</if>
in 'postbit_wrapper' after
<!-- / post #$post[postid] -->

gamesmastervide
10-20-2006, 10:38 AM
https://vborg.vbsupport.ru/external/2006/10/10.jpg

this is an annoying problem the 3rd post and every post after it is extremly stretched and quick fix for this?

Spermy
10-21-2006, 01:29 PM
Works perfect with vB 3.6.2.

I had to add

<if condition="$vboptions[Adsense_Banner_setting_onoff]">
<if condition="$post[postcount] % $vboptions[maxposts] == 1">
$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">
<if condition="$vboptions[Adsense_Banner_setting_caption_onoff]">
<tr>
<td class="thead" align="left">$vboptions[Adsense_Banner_setting_caption]</td>
</tr>
</if>
<tr>
<td class="alt1" align="center">
$vboptions[Adsense_Banner_setting_text]

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

</div>
$spacer_close
</if>
</if>
in 'postbit_wrapper' after
<!-- / post #$post[postid] -->

Works great on 3.62 with that, but it isn't using the usergroup permissions like it is suppose to.
Any ideas?

farooqaaa
10-23-2006, 05:17 PM
AMAZING!! one thanks alot!

TheRed
11-03-2006, 12:50 AM
Correct code, deleted an unneeded </if> that was causing a few table glitches


<if condition="$vboptions[Adsense_Banner_setting_onoff]">
<if condition="$post[postcount] % $vboptions[maxposts] == 1">
$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">
<if condition="$vboptions[Adsense_Banner_setting_caption_onoff]">
<tr>
<td class="thead" align="left">$vboptions[Adsense_Banner_setting_caption]</td>
</tr>
</if>
<tr>
<td class="alt1" align="center">
$vboptions[Adsense_Banner_setting_text]

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

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

sebbe
11-05-2006, 11:04 AM
This plugin will make the multi-quote system brake. At least I had this problem and heard of a few others. Anyone with a solution to this?

adnedarn
01-08-2007, 08:07 AM
V. 3.6.4
My install did nothing. I tried the edit below, and it did not work still. So I deleted the edit.

if pluin not working

temporary solution

Go to your admin cp, then:
Styles & Templates -> Style Manager -> Current Template
[Edit Templates] -> Select 'postbit->postbit_legacy'

Find


<!-- / post #$post[postid] -->


After


<if condition="$vboptions[Adsense_Banner_setting_onoff]">
<if condition="$post[postcount] % $vboptions[maxposts] == 1">
$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">
<if condition="$vboptions[Adsense_Banner_setting_caption_onoff]">
<tr>
<td class="thead" align="left">$vboptions[Adsense_Banner_setting_caption]</td>
</tr>
</if>
<tr>
<td class="alt1" align="center">
$vboptions[Adsense_Banner_setting_text]

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

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


I then tried this edit below, and it seems to be working perfectly. Thanks!

Correct code, deleted an unneeded </if> that was causing a few table glitches


<if condition="$vboptions[Adsense_Banner_setting_onoff]">
<if condition="$post[postcount] % $vboptions[maxposts] == 1">
$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">
<if condition="$vboptions[Adsense_Banner_setting_caption_onoff]">
<tr>
<td class="thead" align="left">$vboptions[Adsense_Banner_setting_caption]</td>
</tr>
</if>
<tr>
<td class="alt1" align="center">
$vboptions[Adsense_Banner_setting_text]

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

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

adnedarn
01-09-2007, 04:10 AM
Well, it was working. Now it seems it has moved down to about the 8th posts. And yes, it broke the multi quote feature. You can only select the first post to quote. Quick reply still seems to work though. (as I can tell, testing an "closed" board) Any one figured out something for this? Untill then.. Removed. :-( I really liked it too.

adnedarn
01-09-2007, 11:30 PM
Uninstalled. Instead installed item: https://vborg.vbsupport.ru/showthread.php?t=131150&highlight=adsense Seems to work VERY well, gives lots of options and more places to fit codes. (shown for 3.6)
Andrew