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)
-   -   Adsense & Banner - Posbit (https://vborg.vbsupport.ru/showthread.php?t=101291)

Reminder 11-20-2005 10:00 PM

Adsense & Banner - Posbit
 
[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/

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

Quote:

Originally Posted by Mastar
Where do I get the google adsense?

Perhaps you should research what Google Adsense actually is first;
http://www.google.com/adsense?hl=en_...ubid=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

Quote:

Originally Posted by xtremeoff-road
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

Quote:

Originally Posted by xtremeoff-road
@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

Code:

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

Code:

<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

Quote:

Originally Posted by MidNight_tr
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

Code:

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

Code:

<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

Quote:

Originally Posted by MidNight_tr
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

Code:

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

Code:

<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

Quote:

Originally Posted by MidNight_tr
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

Code:

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

Code:

<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

Quote:

Originally Posted by paulius
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

Quote:

Originally Posted by James T Brock
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.

Code:

$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

Quote:

Originally Posted by James T Brock
I just added this to the bottom of postbit_legacy and now it works.

Code:

$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...


All times are GMT. The time now is 05:05 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.01315 seconds
  • Memory Usage 1,828KB
  • 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
  • (10)bbcode_code_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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