Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Angular Advertisement System Details »»
Angular Advertisement System
Version: 1.0, by sunrise2006 sunrise2006 is offline
Developer Last Online: Jan 2018 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.8.0 Rating:
Released: 01-08-2009 Last Update: Never Installs: 222
DB Changes Uses Plugins Auto-Templates
Additional Files Translations  
No support by the author.

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?
  • Perfect integrating with vBulletin and ability to integrate with third-party scripts
  • Using Administrator's permission system
  • Easily styling the advertisement to be displayed via Advertisements Manager panel without need to additional tools
  • Display advertisements to specific users which have bundle of specific qualification (Set Criteria)
Overall Traits
  • Using vBulletin Options
  • Using Datastore (Cache System) - To optimize load of pages
  • Wholly Phrased
  • Completely Control Panel Help
  • Includes Hooks - To using for third-party scripts
  • Quick and Easy Installation
Installation Guide

Prenotion: This modification work with vBulletin 3.8.0 and also vBulletin 3.7.x
  1. Upload the files in the upload folder to your vBulletin root.
  2. Import the 'angular_advertisements.xml' via Product Manager system.
Notes:
  1. If you have changes on default vBulletin's directory names, please attention to upload each file to pertain location.
  2. Make sure that 'images/angularadvertisement' directory is writeable by your host (CHMOD 777), of course if you would like to upload images for Angular Advertismenets.
Congratulation, you are successfully installed Angular Advertisements system on your board.

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

File Type: zip angular_advertisements.zip (428.2 KB, 1890 views)

Screenshots

File Type: jpg angularadver_options.jpg (80.4 KB, 0 views)
File Type: jpg angularadver_nav.jpg (31.7 KB, 0 views)
File Type: gif angularadver_permission.gif (6.4 KB, 0 views)
File Type: jpg angularadver_manager.jpg (73.4 KB, 0 views)
File Type: jpg angularadver_rebuildcache.jpg (36.8 KB, 0 views)
File Type: gif angadver_edit1.gif (38.6 KB, 0 views)
File Type: gif angadver_edit2.gif (38.8 KB, 0 views)
File Type: gif angularadver_showinaction.gif (46.4 KB, 0 views)
File Type: gif angularadver_showinaction2.gif (49.7 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 01-30-2009, 06:51 AM
sunrise2006's Avatar
sunrise2006 sunrise2006 is offline
 
Join Date: Feb 2006
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by raugusto View Post
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 View Post
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
Reply With Quote
  #53  
Old 01-30-2009, 11:08 AM
raugusto raugusto is offline
 
Join Date: Dec 2006
Location: Portugal
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great, goona try it out now.
I'll let you know how it goes
Reply With Quote
  #54  
Old 01-30-2009, 12:41 PM
raugusto raugusto is offline
 
Join Date: Dec 2006
Location: Portugal
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Its working thank you.
Reply With Quote
  #55  
Old 01-30-2009, 07:12 PM
sunrise2006's Avatar
sunrise2006 sunrise2006 is offline
 
Join Date: Feb 2006
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by raugusto View Post
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.
Reply With Quote
  #56  
Old 01-30-2009, 08:13 PM
setishock setishock is offline
 
Join Date: Feb 2008
Location: Houma, La.
Posts: 1,177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #57  
Old 01-31-2009, 12:52 AM
sunrise2006's Avatar
sunrise2006 sunrise2006 is offline
 
Join Date: Feb 2006
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by setishock View Post
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.
Reply With Quote
  #58  
Old 02-01-2009, 01:50 AM
Vitaly's Avatar
Vitaly Vitaly is offline
 
Join Date: Apr 2004
Location: Russia, St.Petersburg
Posts: 428
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #59  
Old 02-01-2009, 10:13 AM
sunrise2006's Avatar
sunrise2006 sunrise2006 is offline
 
Join Date: Feb 2006
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Vitaly View Post
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
Reply With Quote
  #60  
Old 02-01-2009, 02:05 PM
Vitaly's Avatar
Vitaly Vitaly is offline
 
Join Date: Apr 2004
Location: Russia, St.Petersburg
Posts: 428
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #61  
Old 02-01-2009, 07:03 PM
sunrise2006's Avatar
sunrise2006 sunrise2006 is offline
 
Join Date: Feb 2006
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Vitaly View Post
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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:01 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05115 seconds
  • Memory Usage 2,364KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_code
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete