Thread: Major Additions - vB Ad Management 4
View Single Post
  #1345  
Old 07-28-2007, 07:59 AM
RedTyger's Avatar
RedTyger RedTyger is offline
 
Join Date: Nov 2006
Location: UK
Posts: 1,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by grahamsmythe View Post
Thanks for coming back to me RedTyger

Let's start with what we want to do - perhaps once I've got an idea of how to do that, the rest will fall into place.

I have a banner to size 234 x 60 that I'd love to put on the header of our forum. The file I have is a JPG. How do I insert that?

Graham
Ah. That's really beyond the scope of a manual for this modification, that's general internetness.

Code:
<a href="LINK" /><img src="IMGLINK" alt="IMGDESCRIPTION" /></a>
LINK = Where you want to send people who click on the banner.
IMGLINK = Where the location of the image is.
IMGDESCRIPTION = A description of what the image is.

Put that in the header adcode section of the options, and ensure that it's enabled just above that. In general settings, the default is set to show advertisements to administrators only for testing (it says 6 in the usergroup settings, which is admin's usergroup id) so when you're ready you will have to adjust the numbers listed in that setting.


Quote:
Originally Posted by MomentumInc View Post
I'm sorry if this has been asked before, but there are 90 pages to go through and I didn't find anything with a quick search.

Is there an easy way to use this plugin to put different ads on each forum (based on forum id)? Right now, we have this plugin installed on several sites, but still have to resort to putting a long list of conditionals in the templates in order to put specific ads on specific forums.

I know about the feature to only put ads on certain forums, but we need ads on every forum... just different code for each.

Thanks.
Currently, no. Next version, almost certainly. But it will still be a long list of conditionals, there's really no other way to do it.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01059 seconds
  • Memory Usage 1,768KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete