Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications

Reply
 
Thread Tools
ADS In Corners ( Angular Advertisement ) Details »»
ADS In Corners ( Angular Advertisement )
Version: 1.00, by VBIran VBIran is offline
Developer Last Online: Jul 2012 Show Printable Version Email this Page

Category: Mini Mods - Version: 4.x.x Rating:
Released: 12-11-2010 Last Update: 02-03-2011 Installs: 22
 
No support by the author.

Hi ,
See example first :

This is one of the easiest way to show your ad in corner.
You can set settings for it too.
Don forget to put Mark as installed if you like my mod .
First go to AdminCP --> Advertising Tab --> Add New Ad
Click on Header 1.
Put this code in HTML :
Code:
  <div style="position:fixed;right:7px;bottom:7px;z-index:1000"> 
  <a href="http://www.vbulletin.com" target="_blank" title="The Official vBulletin Modifications Site"> 
  <img src="https://vborg.vbsupport.ru/images/cstyle/blue/vblogo.gif" border="0" /> 
  </a> 
  </div>
You must change your link with : http://www.vbulletin.com
Change your title with : The Official vBulletin Modifications Site
Change you picture ( that shows in corner ) with : https://vborg.vbsupport.ru/images/cs...lue/vblogo.gif
You can change the position too .
See this code :
Code:
<div style="position:fixed;right:7px;bottom:7px;z-index:1000">
You can change it to left .
You can use 2 code too ! One in left One in right .
You can save now ! But if you have VIP Group you can show this ad just for members and guest for example .
You must choose your settings .
---
If you wanna something like this :

Code:
  <div style="position:fixed;right:0px;bottom:0px;z-index:1000"> 
  <a href="http://www.vbulletin.com" target="_blank" title="The Official vBulletin Modifications Site"> 
  <img src="https://vborg.vbsupport.ru/images/cstyle/blue/vblogo.gif" border="0" /> 
  </a> 
  </div>
Use This Code
---
I attach 4 psd . You can use it to make your corner ads .
Be successful

Download Now

File Type: zip sample_layers_psd.zip (69.0 KB, 83 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
axix20xx

Comments
  #12  
Old 02-04-2011, 10:22 AM
VBIran VBIran is offline
 
Join Date: Nov 2010
Location: Iran
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

---
If you wanna something like this :

Code:
  <div style="position:fixed;right:0px;bottom:0px;z-index:1000"> 
  <a href="http://www.vbulletin.com" target="_blank" title="The Official vBulletin Modifications Site"> 
  <img src="https://vborg.vbsupport.ru/images/cstyle/blue/vblogo.gif" border="0" /> 
  </a> 
  </div>
Use This Code
---
Reply With Quote
  #13  
Old 02-04-2011, 10:24 AM
VBIran VBIran is offline
 
Join Date: Nov 2010
Location: Iran
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I Put 4 PSD'S In First Post . Check It
Reply With Quote
  #14  
Old 02-07-2011, 02:36 PM
q3chap q3chap is offline
 
Join Date: Nov 2009
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you very much for this. I am looking after that for a long time and didnt know how to make it. Maybe I should read the vb4 docs ...

A tip for people like me, who want to place the ad outside of vb4 on top right.

HTML Code:
<div style="position:fixed;right:7px;top:0px;left:1207px;z-index:1000"> 
"left:1207px;" is like padding-left and the number of px bigger than your vb4.


I still have a question: what does this "z-index:1000" means?????

Hoan

***Edit: I clicked on "Mark as installed", but it always open a new browser window ... and it doesnt show that I have installed the mod.
Reply With Quote
  #15  
Old 02-17-2011, 09:22 AM
VBIran VBIran is offline
 
Join Date: Nov 2010
Location: Iran
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

z-index is a CSS property that sets the stack order of specific elements. An element with greater stack order is always in front of another element with lower stack order.
Reply With Quote
  #16  
Old 02-18-2011, 05:10 PM
emath emath is offline
 
Join Date: Sep 2008
Posts: 252
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by VBIran View Post
z-index is a CSS property that sets the stack order of specific elements. An element with greater stack order is always in front of another element with lower stack order.
are u planning to add an option to close the ad ?
Reply With Quote
Reply

Thread Tools

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 09:31 PM.


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.04433 seconds
  • Memory Usage 2,278KB
  • Queries Executed 21 (?)
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
  • (4)bbcode_code
  • (1)bbcode_html
  • (1)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
  • (1)pagenav_pagelink
  • (6)post_thanks_box
  • (1)post_thanks_box_bit
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (1)postbit_attachment
  • (6)postbit_onlinestatus
  • (6)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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