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)

al3bed 11-04-2009 08:17 PM

ok, try this:

open 'postbit_lagecy' template find:
HTML Code:

<!-- message -->
above it add:
HTML Code:

<if condition="$post[postcount] == 1"><div><div style="float:right; margin-left: 5px;">$ain_adsense[id]</div></if>
then find:
HTML Code:

$template_hook[postbit_signature_end]
above it add:
HTML Code:

<if condition="$post[postcount] == 1"></div></if>
this should work :)
you can customize your options there... for the float ,margin, ad unit id or postcount

good luck

elwachiman 11-04-2009 08:33 PM

Pronto Lo Instalo

rgvtruck 11-04-2009 08:45 PM

Quote:

Originally Posted by al3bed (Post 1910278)
ok, try this:

open 'postbit_lagecy' template find:
HTML Code:

<!-- message -->
above it add:
HTML Code:

<if condition="$post[postcount] == 1"><div><div style="float:right; margin-left: 5px;">$ain_adsense[id]</div></if>
then find:
HTML Code:

$template_hook[postbit_signature_end]
above it add:
HTML Code:

<if condition="$post[postcount] == 1"></div></if>
this should work :)
you can customize your options there... for the float ,margin, ad unit id or postcount

good luck

I still get a gap :D

alahmed 11-04-2009 11:03 PM

hello al3bed

Thank you so much for this fantastic product

i am using version 6 , and i want to ask if the issues i am going to talk about is still in version 7 or not


i have two questions i want to ask:

1- in Ain - Advanced Google Ad Sense - Main Options ===>> choose alignment for ads

you could control the direction of the ads , Right , left or middle

This options controls all ads whatever the size or the type is or the location

i want to be able to control each type separately, either to move them right or left or leave them in the middle , even you could say each location could be controled separatly.

http://img41.imageshack.us/img41/323...5761585157.jpg


2- The square ad inside the subject is not above the subject , in some case on the same line as the 1st line of the message

http://img41.imageshack.us/img41/820...6081575159.jpg

http://img41.imageshack.us/img41/784...5771575160.jpg

bada_bing 11-05-2009 02:05 AM

Quote:

Originally Posted by al3bed (Post 1903341)
I think it's possible to do it, a page controlled by showing a template for specific reason make sense sure.

Hey bud just wondering if you plan on adding these addons in a near new version?

al3bed 11-05-2009 08:00 AM

Quote:

Originally Posted by bada_bing (Post 1910386)
Hey bud just wondering if you plan on adding these addons in a near new version?

yes sure.. I like the idea ;)

Quote:

Originally Posted by rgvtruck (Post 1910293)
I still get a gap :D

gap between sig & post exist even if you don't use these stuff? or it's only there is a gap because the ad unit? :)

Quote:

Originally Posted by alahmed (Post 1910346)
hello al3bed

Thank you so much for this fantastic product

i am using version 6 , and i want to ask if the issues i am going to talk about is still in version 7 or not

i have two questions i want to ask:
1- in Ain - Advanced Google Ad Sense - Main Options ===>> choose alignment for ads
you could control the direction of the ads , Right , left or middle

This options controls all ads whatever the size or the type is or the location

i want to be able to control each type separately, either to move them right or left or leave them in the middle , even you could say each location could be controled separatly.

2- The square ad inside the subject is not above the subject , in some case on the same line as the 1st line of the message

hi, it's better to upgrade to v7.0 .. v6.0 somehow bugy

1. no, even with new version you need to setup each ad unit manually if you want to control each location separatly.

2. it's depend on your choice for adsense inside first post. check the display option for ads in first post and change it to 'below the title'. .. you can find arabic version of this hack in traidnt.net/vb

alahmed 11-05-2009 10:06 AM

Thank you ..

i did not find the Arabic version 7.0 in Traident.

1- if Google ads (links) on the same side as the thread titles it would perfect , So adding at least an option to control the links ads alone in showthread template is a good option as i think.

2- its already chosen " below the title" while i am have this little problem.
how to add at least one line between the square ad the beginning of the threads ( the message)

have a nice day

KURTZ 11-07-2009 10:14 AM

this is a SUPERB add-on, but i need to know if i can put my personal banners into the rotation or under/over the google ads ... it's possible? how?

TIA

Scalemotorcars 11-07-2009 12:01 PM

Im not sure if this is a bug or if its me.

First I reported that the links in the side column don't actually link to the options in the VB-options panel. Not a big deal I can always just go to the vb-options to edit.

This is the bug or problem I'm having.

With this hack enabled I cannot edit most of the standard VB features in the vb-options panel. Things like changing the human verification will not reset if I remove or add options.

If I disable and turn off the hack I can edit the options. Back on I cant edit options so its this modification in the admin cp that's causing it to hang and return a blank panel.

Not a white page but If I click save the frame forwards to a blank options panel with only the sidebar. I have to go back to the VB-Options tab to get the frame back.

Hope this is clear I really want to use the mod but If I have to disable it every time I edit VB-options its going to get old quick. :(

al3bed 11-07-2009 09:31 PM

Quote:

Originally Posted by alahmed (Post 1910509)
Thank you ..

i did not find the Arabic version 7.0 in Traident.

.... So adding at least an option to control the links ads alone in showthread template is a good option as i think.

there you go: http://www.traidnt.net/vb/showthread.php?t=1358616

sorry I can't add more options for displaying ads.

Quote:

Originally Posted by KURTZ (Post 1911275)
i need to know if i can put my personal banners into the rotation or under/over the google ads ... it's possible? how?

you can only if you put them there manually but without rotate .. rotate will be more effecitve with the next version of this mod :)

Quote:

Originally Posted by Scalemotorcars (Post 1911296)
Im not sure if this is a bug or if its me.

First I reported that the links in the side column don't actually link to the options in the VB-options panel. Not a big deal I can always just go to the vb-options to edit.

This is the bug or problem I'm having.

With this hack enabled I cannot edit most of the standard VB features in the vb-options panel. Things like changing the human verification will not reset if I remove or add options.

If I disable and turn off the hack I can edit the options. Back on I cant edit options so its this modification in the admin cp that's causing it to hang and return a blank panel.

Not a white page but If I click save the frame forwards to a blank options panel with only the sidebar. I have to go back to the VB-Options tab to get the frame back.

Hope this is clear I really want to use the mod but If I have to disable it every time I edit VB-options its going to get old quick. :(

I just checked that with 3.6.12 and .. no problems with other vb options


search for deleted products that still have xml files in includes/xml folder. if there any non defualt, please let me know so I can help you if it's a problem of compatibility otherwise all are running good :)


All times are GMT. The time now is 08:04 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.01244 seconds
  • Memory Usage 1,762KB
  • 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
  • (8)bbcode_html_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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