vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Integration with vBulletin - Ain - Advanced Google AdSense (https://vborg.vbsupport.ru/showthread.php?t=205713)

R0L3X 10-02-2010 11:14 PM

Hi, i would like add a skyscraper at the right side but in which template I add de code?

bada_bing 10-04-2010 01:32 AM

Quote:

Originally Posted by bada_bing (Post 2103905)
Can someone please help me with a quick question please. I want to insert my banner ads in my members PM's and I know I can use "$ain_adsense[AddID] but what template do I place this in and what is the correct code ?

Anyone help please

bada_bing 11-03-2010 02:22 AM

Quote:

Originally Posted by bada_bing (Post 2106505)
Anyone help please

OMG seriously no one can help me with this? I am willing to pay for some help.

jimsflies 11-03-2010 12:25 PM

Quote:

Originally Posted by bada_bing
OMG seriously no one can help me with this? I am willing to pay for some help.

In postbit template:
Find: $post[message]

And add this....
Code:

<if condition="THIS_SCRIPT == 'private'">
$ain_adsense[AddID]
</if>

...be sure to substitute in your AddID! Glad your sponsors are getting their money's worth over there! ;)

bada_bing 11-03-2010 01:50 PM

Quote:

Originally Posted by jimsflies (Post 2117438)
In postbit template:
Find: $post[message]

And add this....
Code:

<if condition="THIS_SCRIPT == 'private'">
$ain_adsense[AddID]
</if>

...be sure to substitute in your AddID! Glad your sponsors are getting their money's worth over there! ;)

Thanks Jim...
I had tried that but I believe the postbit is the wrong template. I did get it working on the PM_newpost though.. thanks...

jimsflies 11-03-2010 03:04 PM

Quote:

Originally Posted by bada_bing (Post 2117469)
Thanks Jim...
I had tried that but I believe the postbit is the wrong template. I did get it working on the PM_newpost though.. thanks...

You've got to cache the template/data to display on the page. Private.php doesn't cache all the information necessary to display the ads. You could do this with a manual edit to the private.php file or changing the hook location for the adsense mod.

Alternatively you could just add the html code contained in the template between the conditional statement so that it just calls it directly.

Dave84311 12-17-2010 04:35 PM

There is a problem with this plugin... it randomly adds fields to my userfield table... Right now I have like 3,000 adsense sharing fields, even with the feature disabled.

I had to comment out the "/* ADD NEW PROFILEFEILD */" block

jazzybones 02-29-2012 03:24 PM

Hi I've just installed this mod to my forums but I get this error when going to my forums homepage. Does this conflict with any other plug-ins?

Parse error: syntax error, unexpected T_VARIABLE in /home/extreme/public_html/forum.php(563) : eval()'d code on line 37

Installed products below.

Ain - Advanced Google AdSense 7.0
GeekyDesigns Default Avatar 2.0.2
Google Adsense Postbit Integration
KeyCAPTCHA 3.6.0
Plus Mood 1.0.2
Separate Sticky and Normal Threads 2.0.0
vBadvanced CMPS 3.2.3
vBSEO :: Sitemap Generator

I tried with the other ad sense product disabled and it's still the same. :confused:

ehd 03-25-2012 06:29 AM

Hi,

is there a way to display ads inside the posts not only in the first post but also in post 2 and 3 instead of the ads between posts.

This would be in ShowThread-page.

Thanks for your help!

ChiNa 08-05-2012 04:05 AM

Good, but dont you think you have used so much time on this great addon, and the attachments looks horrible! Please re upload the attachment images, please!


All times are GMT. The time now is 09:28 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.01274 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
  • (2)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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