vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Add-On Releases - Advertising Ad Global Below Navbar (https://vborg.vbsupport.ru/showthread.php?t=251585)

wisemasterchief 10-02-2010 10:00 PM

Advertising Ad Global Below Navbar
 
1 Attachment(s)
I am using advertising ad to provide Featured Forum Post thumbnail gallery.

1. create a thumbnail folder on your server.
2. upload thumnail to folder you just created.
3. Go to AdminCP->Advertising->Add New Ad
4. Select 'Below Navbar'
5. Add following code to HTML block.
6. Update code with link to your featured forum thread.
7. Update code with title for your thumbnail.
8. Update code with link to your source thumbnail image
9. Title your ad and activate.
10. Establish criteria for display of your ad, otherwise it will be viewable for all.

Code:

<h2 class="blockhead">Featured Threads - Click on thumbnail to go to forum thread</h2>
<a href="link to forum thread goes here"><img width="140" vspace="2" hspace="1" height="80" border="0" style="background-color: #7192A8" title="title for your thumb goes here" src="link to your thumbnail image goes here">

peace

wisemasterchief 10-03-2010 05:47 PM

I am looking to limit display to FORUMS only.

Veer 10-04-2010 07:34 AM

Nice work.

How about adding a border around it?

wisemasterchief 10-04-2010 11:04 AM

This works for me... I have removed border HEIGHT and WIDTH parameters.

Code:


<h2 class="blockhead">Featured Threads - Click on thumbnail to go to forum thread</h2>
<div style="border: 1px solid #7192a8; overflow: auto;">

YOUR <a href="....    code goes here...

</div>


wisemasterchief 10-04-2010 11:14 AM

Basically, this is just one example of how to exploit EXISTING resources in vBulletin without modifying styles nor templates. Modify the html to your liking

Veer 10-04-2010 03:08 PM

That's really good, superb. :)

Thank you.

wisemasterchief 10-04-2010 04:36 PM

I would like to turn this into thread moderation mod, so we can get away from having to create everything manually.

cagbaazee 10-04-2010 05:30 PM

any demo...

wisemasterchief 10-04-2010 05:46 PM

Quote:

Originally Posted by cagbaazee (Post 2106721)
any demo...

not right now... it is easy enough to install, so go for it

YankForum 10-04-2010 06:06 PM

lol


All times are GMT. The time now is 10:40 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.01226 seconds
  • Memory Usage 1,726KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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