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)

Suzie 01-09-2007 08:45 PM

When inserting ads into single threads, what if you want one specific ad in individual threads? Can you do that and have several different ads for individual threads and not rotate ads. For instance if you have 3 advertisers that want to advertise in a thread about a specific topic .... and no where else can you set 3 ads about 3 different items and have them show only in the threads specified?

snikle 01-10-2007 02:30 AM

Excellent work, installation was a breeze and it works perfectly thus far. Great job!

Ok, question. ;)
Say I wanted only the ad banners to show up on my very first forum page (forum home), would that be done using the forumbit controls?

RedTyger 01-10-2007 08:19 AM

Quote:

Originally Posted by Suzie (Post 1154928)
When inserting ads into single threads, what if you want one specific ad in individual threads? Can you do that and have several different ads for individual threads and not rotate ads. For instance if you have 3 advertisers that want to advertise in a thread about a specific topic .... and no where else can you set 3 ads about 3 different items and have them show only in the threads specified?

Not with this modification, no. You'd have to edit the postbit template and for each specific thread add this to where you wanted the ad to go:

Code:

<if condition="$thread[threadid] == '12345'">
Adcode for this thread ID
</if>
<if condition="$thread[threadid] == '678910'">
Adcode for this thread ID
</if>

And so on.

Quote:

Originally Posted by snikle (Post 1155155)
Excellent work, installation was a breeze and it works perfectly thus far. Great job!

Ok, question. ;)
Say I wanted only the ad banners to show up on my very first forum page (forum home), would that be done using the forumbit controls?

Forumbit ads would make them show up where the name of each each forum is, yes.

echamberlain 01-10-2007 03:17 PM

Great mod, I have it working with phpAdsNew (I was using another mod with xml-rpc, but have switch to javascript for this mod).

I'd like to add a feature request for the following ad locations:
  • navbar
  • search_results_postbit
and the option to left align postbit ads.

I've manually edited the templates for now, but would like to be able to make the changes in the adminCP.

admin0 01-10-2007 03:51 PM

Yep. This works perfectly with phpAdsNew.

Would love to see more places where ads can be targeted.

RedTyger 01-10-2007 04:07 PM

Quote:

Originally Posted by echamberlain (Post 1155547)
Great mod, I have it working with phpAdsNew (I was using another mod with xml-rpc, but have switch to javascript for this mod).

I'd like to add a feature request for the following ad locations:
  • navbar
  • search_results_postbit
and the option to left align postbit ads.

I've manually edited the templates for now, but would like to be able to make the changes in the adminCP.

Just taken a look at search_results_postbit and I agree. I'll add it to the next version. I didn't include any search templates because of Google's TOS, but of course that doesn't apply to everyone so...

Styling is unlikely to ever be done via the AdminCP. it's very unwieldy, especially since there's no way to hook CSS into the forum's existing stylesheet. And more to the point there's so many ways people might want to format, I could never cover them all. The options would be huge! It's likely to be template edits all the way.

Navbar you can already do if you need. Just change the template edit to $GLOBALS[$header_advertisement] (I think it is, it's discussed earlier in the thread for vBCMPS) and add it to the navbar template instead of the header template. But the thought does occur that I could add perhaps two "miscellanous" adcode sections which can be placed anywhere at all in case someone wants a header template and a navbar template, for instance.

Quote:

Originally Posted by admin0 (Post 1155566)
Yep. This works perfectly with phpAdsNew.

Would love to see more places where ads can be targeted.

Such as? If you don't ask, you don't get...

GFX Brands 01-10-2007 06:56 PM

THis is a great code. But it seem to have one bug i found.

When i do the template edit on the header template while using the rightside advertisement on show thread the sidebar advertisemetn dosent seem to work but on forumhome it does. When i use the default header leftsider advertisement works. So is there any fix.

admin0 01-10-2007 09:40 PM

i am using this via phpadsnew, but for some reasons, cannot get the rotator to work ;)
It works fine when people move from 1 page to another, but staying in the same page, the ads stay the same.
calling the same zone command, exactly as the first one using a , also does not rotate without refresh.

RedTyger 01-11-2007 07:47 AM

Quote:

Originally Posted by GFX Brands (Post 1155680)
THis is a great code. But it seem to have one bug i found.

When i do the template edit on the header template while using the rightside advertisement on show thread the sidebar advertisemetn dosent seem to work but on forumhome it does. When i use the default header leftsider advertisement works. So is there any fix.

Didn't quite follow that, sorry. Could I have a link to see the problem?


Quote:

Originally Posted by admin0 (Post 1155794)
i am using this via phpadsnew, but for some reasons, cannot get the rotator to work ;)
It works fine when people move from 1 page to another, but staying in the same page, the ads stay the same.
calling the same zone command, exactly as the first one using a , also does not rotate without refresh.

It was never intended to rotate without a refresh. It just picks a random advert on page load.

ESADCG 01-11-2007 12:43 PM

I am having an issue.
If I enter a user ID in the "Do NOT display advertisements for UserIDs:"
It turns off ads on the entire forum for everyone.


All times are GMT. The time now is 11:35 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.02049 seconds
  • Memory Usage 1,747KB
  • 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