The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Angular Advertisement System Details »» | |||||||||||||||||||||||||||||||||||||||||||||
Angular Advertisement System
New Generation of vBulletin's Advertisement Systems In the Internet world, advertisements had a special place, because of than we see most of Internet web sites have assign special sectors of their pages to this affair, so I thought to design this system for vBulletin with a new idea, of course. What is my purpose of angular? I choose 'angular' prefix for this system, because general purpose of Angular Advertisement System is display some information in each fourth angles of the screen with a fixed position, so vBulletin's administrators may use this system to display important advertisements, notices, thoughts and etc to users by a powerful inform way. What are features of Angular Advertisement System?
Prenotion: This modification work with vBulletin 3.8.0 and also vBulletin 3.7.x
If you have using Style's that not support Auto-Template, you may read this post. If you want to have an feature to limitation of displaying advertisement for specified date range, you may click here. I say thank you to cgine for this change. My Note: I hope this modification will be useful for you and I say already thank you to people who using this hack. Please don't forget if you have installed this modification, click Mark as Installed to aid me to more support this modification in the next releases. Thank you, Hamed Haddadian Download Now
Screenshots
Supporters / CoAuthors Show Your Support
|
Comments |
#52
|
||||
|
||||
Quote:
Quote:
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> Code:
$angadvers Code:
Find '$style[css]' , after add the same code that we extra it to 'printthread' template on couple already level. Find '</body>' , before add: Code:
$angadvers Find '<!-- logo -->' , after add: Code:
$angadvers |
#53
|
|||
|
|||
Great, goona try it out now.
I'll let you know how it goes |
#54
|
|||
|
|||
Its working thank you.
|
#55
|
||||
|
||||
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. |
#56
|
|||
|
|||
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? |
#57
|
||||
|
||||
Yes, this is possible. You may check the User is not logged in (Guest) qualification of the ADS.
|
#58
|
||||
|
||||
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.
|
#59
|
||||
|
||||
Quote:
https://vborg.vbsupport.ru/showthrea...49#post1728849 |
#60
|
||||
|
||||
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. |
#61
|
||||
|
||||
Quote:
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|