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)
-   -   Add-On Releases - Angular Advertisement System (https://vborg.vbsupport.ru/showthread.php?t=201116)

sunrise2006 01-30-2009 06:51 AM

Quote:

Originally Posted by raugusto (Post 1728291)
I have an issue.
I have installed this (marked as installed also) but I dont have any ads showing.
When looking for the source code I find the css attributes, but no ads showing.
This is workign on default tempalte tho.

PLease let us know, what modifications should we do on our custom templates/skins to get this working.

Regards

Quote:

Originally Posted by icekola (Post 1728745)
Having the same issue. It's showing on the default theme but not on others.

These are template changes.

Template printthread
Find '</head>' , before add:
Code:

<style type="text/css">   
/* Angular Advertisement */
<if condition="!is_browser('ie', '6')">
.angular_advertisement {
    position: fixed;
}
.angadver_left {
    left: 0;
}           
.angadver_right {
    right: 0;
}
.angadver_top {
    top: 0;
}
.angadver_bottom {
    bottom: 0;
}
<else />.angular_advertisement {
    position: absolute;
}
.angadver_left {
    left: 0;
}           
.angadver_right {
    right: 0;
}
.angadver_top {
    top: expression(
        (document.documentElement.scrollTop || document.body.scrollTop) + (this.offsetHeight - this.offsetHeight)
    );
}
.angadver_bottom {
    top: expression(
        ((document.documentElement.scrollTop || document.body.scrollTop) + (this.offsetHeight - this.offsetHeight))+((document.documentElement.clientHeight || document.body.clientHeight) - this.offsetHeight)
    );
}
</if>
</style>

Find '<body class="page">' , after add:
Code:

$angadvers
Template headinclude
Code:

Find '$style[css]' , after add the same code that we extra it to 'printthread' template on couple already level.
Template SHOWTHREAD_SHOWPOST and WHOPOSTED
Find '</body>' , before add:
Code:

$angadvers
Template header
Find '<!-- logo -->' , after add:
Code:

$angadvers
Good Luck

raugusto 01-30-2009 11:08 AM

Great, goona try it out now.
I'll let you know how it goes

raugusto 01-30-2009 12:41 PM

Its working thank you.

sunrise2006 01-30-2009 07:12 PM

Quote:

Originally Posted by raugusto (Post 1729089)
Its working thank you.

You're welcome. I very happy for this news.

I add custom template changes to first post, so it will help to others that have similar problem.

setishock 01-30-2009 08:13 PM

I have an idea and will use this if it can be done.
How about setting it to have a message to sign up showing for guests. Then when they become registered members they don't see it any more.
Possible?

sunrise2006 01-31-2009 12:52 AM

Quote:

Originally Posted by setishock (Post 1729436)
I have an idea and will use this if it can be done.
How about setting it to have a message to sign up showing for guests. Then when they become registered members they don't see it any more.
Possible?

Yes, this is possible. You may check the User is not logged in (Guest) qualification of the ADS.

Vitaly 02-01-2009 01:50 AM

Could you help to make it work with VBSEO skin? Text ad is ok in firefox, but have strange offsent in IE7. May be, because that skin uses ablosute positioning in head.

sunrise2006 02-01-2009 10:13 AM

Quote:

Originally Posted by Vitaly (Post 1730511)
Could you help to make it work with VBSEO skin? Text ad is ok in firefox, but have strange offsent in IE7. May be, because that skin uses ablosute positioning in head.

Please follow this post:

https://vborg.vbsupport.ru/showthrea...49#post1728849

Vitaly 02-01-2009 02:05 PM

Yes, problem is, that $angadvers should be added just after <BODY>, because header postbit can have additional divs before logo.

Why do you insert you html after <!-- logo --> instead prepending header postbit at start? If it's necessary for some reasons, could you add option to disable autotemplates? It's not a problem to insert code via TMS in proper place for each skin.

sunrise2006 02-01-2009 07:03 PM

Quote:

Originally Posted by Vitaly (Post 1730898)
Yes, problem is, that $angadvers should be added just after <BODY>, because header postbit can have additional divs before logo.

Why do you insert you html after <!-- logo --> instead prepending header postbit at start? If it's necessary for some reasons, could you add option to disable autotemplates? It's not a problem to insert code via TMS in proper place for each skin.

In new version I will put this option too. Thanks.


All times are GMT. The time now is 12:19 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.01163 seconds
  • Memory Usage 1,745KB
  • 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
  • (5)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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