vb.org Archive

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

RedTyger 03-19-2009 10:07 PM

Quote:

Originally Posted by kronnos (Post 1770435)
Hey RedTyger,

Would it be possible to make the following additions to this mod:

For example if you have 5 ads in one space for rotation and you want ad1 to show 50% of the time, would there be some other option then having to paste ad1 5 times and the other ads just once each?

Thanks

Not at the moment, and there's a similar problem with using conditionals which means lots of repeated ads for complicated setups.

The problem had occurred to me before, but I couldn't come up with a convincingly simple and flexible way to address it, although yours is an easier problem to deal with. I'll mull it over.



Quote:

Originally Posted by RedGTiVR6 (Post 1770566)
Great! So happy to see this released!

Just have one question. When the branding is added to the footer, it's added in line with the forum copyright information.

I can't figure out how to get it to move to the next line. Can anyone direct me on how to do this?

One more question: If I wanted to add a link to let folks know that they can get rid of the ads by registering, is that a function that might be supported by this plug-in or would I be better off adding that notice via another plug-in and making it visible only to those individuals who are not registered?

You can just add a link to http://redtyger.co.uk into your forum yourself where you'd prefer it to go, if it's there already the modification will not add it again.

If you wanted to do that, there's no reason you couldn't just use an adcode block for a notice instead of an advertisement. Or use <phrase 1="$vboptions[bburl]">$vbphrase[vbam_remove_ads]</phrase> in your templates, it points to the registration page and says "Remove advertisements" by default.




Quote:

Originally Posted by kronnos (Post 1772182)
ok, tried to get the brand free version but it said i should register at the site first. Can't find where to register, can you please point me in the right direction, thanks!

http://redtyger.co.uk/discuss/register.php

DarkStarr 03-19-2009 10:48 PM

I am trying to implement this and would like to know if it is possible to have the "Sponsored Links" section appear under the nav bar instead of the footer. Do I have to create a hook somewhere or how does that work?

Also, I would like to have the section display "Sponsors" instead of "Sponsored links".

Thank you!

scrapableowner 03-20-2009 01:44 AM

I am very green when it comes to coding.

I want to have my banners rotate on my forum but, I truly have no idea how to do the coding.

<a href="http://www.scrapable.net/shop/home.php"><img src="http://i49.photobucket.com/albums/f288/quiltermommy/scrapable/Scrapable_Banner2_218k.gif" alt="" border="0" /></a>
<a href="http://www.scrapable.net/shop/manufacturers.php?manufacturerid=39"><img src="http://i49.photobucket.com/albums/f288/quiltermommy/scrapable/sdsscrapablebanner.gif" alt="" border="0" /></a>|
<a href="http://www.scrapable.net/shop/manufacturers.php?manufacturerid=54"><img src="http://i49.photobucket.com/albums/f288/quiltermommy/scrapable/fe_knelson_minibanner.gif" alt="" border="0" /></a>

that is the code I have in and it shows the first two banners but, they never rotate out.....What do I need to add?

kronnos 03-20-2009 07:42 AM

Quote:

Originally Posted by RedTyger (Post 1772213)
Not at the moment, and there's a similar problem with using conditionals which means lots of repeated ads for complicated setups.

The problem had occurred to me before, but I couldn't come up with a convincingly simple and flexible way to address it, although yours is an easier problem to deal with. I'll mull it over.

Hmm, would this be an easy enough way to do it? Just let the user enter the amount of different ads hes going to use and thats how many fields would appear like in VB voting. After entering a different add code in each of the fields, next to the field make another small field to enter the number of times that add should be multiplied. So if you would want for example to make an add show up 99% of time you would not need to enter the same code 99 times. LIke;

adcode1 : 99
adcode2 : 1

RedTyger 03-20-2009 12:40 PM

Quote:

Originally Posted by DarkStarr (Post 1772231)
I am trying to implement this and would like to know if it is possible to have the "Sponsored Links" section appear under the nav bar instead of the footer. Do I have to create a hook somewhere or how does that work?

Also, I would like to have the section display "Sponsors" instead of "Sponsored links".

Thank you!

You'd have to edit the product code, look for the Sponsors section in the main product file. Where it says footer, try changing it to navbar. No promises though.

All of the text in the modification is an editable phrase, just search the phrase database and change it to what you want.

Quote:

Originally Posted by scrapableowner (Post 1772295)
I am very green when it comes to coding.

I want to have my banners rotate on my forum but, I truly have no idea how to do the coding.

<a href="http://www.scrapable.net/shop/home.php"><img src="http://i49.photobucket.com/albums/f288/quiltermommy/scrapable/Scrapable_Banner2_218k.gif" alt="" border="0" /></a>
<a href="http://www.scrapable.net/shop/manufacturers.php?manufacturerid=39"><img src="http://i49.photobucket.com/albums/f288/quiltermommy/scrapable/sdsscrapablebanner.gif" alt="" border="0" /></a>|
<a href="http://www.scrapable.net/shop/manufacturers.php?manufacturerid=54"><img src="http://i49.photobucket.com/albums/f288/quiltermommy/scrapable/fe_knelson_minibanner.gif" alt="" border="0" /></a>

that is the code I have in and it shows the first two banners but, they never rotate out.....What do I need to add?

Rotation is not "live" it will pick a random banner per page load. To use live rotation, you should use the ajax refresh which works just the same way, but will change it every X seconds.

Quote:

Originally Posted by kronnos (Post 1772400)
Hmm, would this be an easy enough way to do it? Just let the user enter the amount of different ads hes going to use and thats how many fields would appear like in VB voting. After entering a different add code in each of the fields, next to the field make another small field to enter the number of times that add should be multiplied. So if you would want for example to make an add show up 99% of time you would not need to enter the same code 99 times. LIke;

adcode1 : 99
adcode2 : 1

Long story short...easy for you, hard for me. It wouldn't work with the way the backend is set up.

kronnos 03-20-2009 02:45 PM

Quote:

Originally Posted by RedTyger (Post 1772522)
Long story short...easy for you, hard for me. It wouldn't work with the way the backend is set up.

Sorry, have no idea on the difficulty level with coding here. In plain words it just seemed simple:)

BTW, please check the contact form in regards the BF version and donation.

Thanks

Mojito 03-20-2009 07:54 PM

Sorry for the dumb question, but how do you place the ad banner on the header to the right side of the logo picture? If I choose the header end location it puts the banner under the logo.
Also, how do you use pull down menu? I have to type the location code manually, the pull down doesn't seem to do anything if I choose another location?

Icy 03-21-2009 10:30 AM

Everything works just fine as far as I'm concern but the header ads :( The preview in ACP is ok but in my forums nothing showes! Any help?

abdulbasitsaeed 03-22-2009 12:33 AM

Thank you very much for the modification, RedTyger.

*marked as installed*

myown 03-22-2009 09:29 AM

auto refresh dont work .. i am using vbseo


All times are GMT. The time now is 04:14 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.01688 seconds
  • Memory Usage 1,757KB
  • 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
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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