vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - vB Ad Management 4 (https://vborg.vbsupport.ru/showthread.php?t=131150)

nanaimobar 01-16-2007 05:02 PM

Quote:

Originally Posted by RedTyger (Post 1160626)
Sorry, don't follow you? You don't need to worry about anything like that, just the AdminCP settings. global_start just means run on every page load.




Yes, that's right. You must use HTML, any will work. I can't help you out with that too much there's a lot of different code you can use, but for a basic image/link combination it will look like this:

Code:

<a href="WHEREYOUWANTTOLINKTO1"><img src="LOCATIONOFIMAGE1" border="0" alt="DESCRIPTIONOFIMAGE2" /></a>,
<a href="WHEREYOUWANTTOLINKTO2"><img src="LOCATIONOFIMAGE2" border="0" alt="DESCRIPTIONOFIMAGE2" /></a>

That's for a random rotation, note the comma which goes between every section of code and that there is NO comma with the last one. You can read up more about HTML here: http://www.w3schools.com/html/default.asp

Much appreciated, RedTyger. Code seems simple enough. Going to w3school site now to read up on HTML. Punzhu Puzzles

Reece^B 01-17-2007 10:28 AM

Thanks for your support so far, this hack is really good, saves alot of time and template editing in the long run. :)

Back to my problem though, the code you said to stick in hasnt made any difference. :(

Phooey 01-17-2007 11:31 AM

Very nice hack, thanks! I'm only displaying ads after the first post in each thread, but this is extremely scalable and customizable.

*installed*

RedTyger 01-17-2007 11:59 AM

Quote:

Originally Posted by Reece^B (Post 1161316)
Thanks for your support so far, this hack is really good, saves alot of time and template editing in the long run. :)

Back to my problem though, the code you said to stick in hasnt made any difference. :(

Bah. Ok, well there's a sizable update coming out shortly so when that's done and I've got time I'll dig in and try to work it out on my test forum.

Quote:

Originally Posted by Phooey (Post 1161367)
Very nice hack, thanks! I'm only displaying ads after the first post in each thread, but this is extremely scalable and customizable.

*installed*

That was the idea! Glad you like it, thank you.

sim10 01-17-2007 07:14 PM

Love this mod..but is there now a way to not display adverts in headers and footers in certain forums/boards

SolPal 01-18-2007 12:48 PM

Hi, i love this mod, thank you very much.

one problem, i relized today, that only registered users can see the ads (i have the ad to show on the footer and threads). I would like it to show to all. how to do that ?

thank you

SolPal 01-18-2007 12:50 PM

Quote:

Originally Posted by sim10 (Post 1161625)
Love this mod..but is there now a way to not display adverts in headers and footers in certain forums/boards


you go to vB options then go to "VB Ad Management global Settings" then go to "Display advertisements in ForumIDs:" and set that there

sim10 01-18-2007 01:20 PM

this is what it says:

Quote:

Enter the IDs of the forums in which you do NOT want to display the advertisements, separated by commas. (i.e. 16,17,18) Leave blank to not exclude forums.

This setting does not apply to the header or footer or side columns.
That's why i'm asking has someone come up with a way now to stop it displaying in header/footer?

echamberlain 01-18-2007 11:09 PM

Quote:

Originally Posted by RedTyger (Post 1157350)
Oh right, didn't realise it was optional. Ok I won't change it then. :D

I use javascript in my ad rotations, so using some other character (or combination of characters that doesn't appear in html or javascript) than the comma for separation would be nice.

Lordy 01-19-2007 12:00 AM

just checked thread again, thanks a lot redtyger for your response ;) was damn fast, didnt think i'd get it less than half an hour.


All times are GMT. The time now is 12:19 AM.

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.02027 seconds
  • Memory Usage 1,745KB
  • 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
  • (1)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (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