vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   phpAdsNew Banner Ads integration (advertisements, classified ads, Adsense, etc.) (https://vborg.vbsupport.ru/showthread.php?t=100229)

LincolnForums 11-07-2005 04:18 AM

its hard to download that xml file using Firefox.

any chance of getting a zipped package?

The M.I.P. 11-07-2005 05:09 AM

Quote:

Originally Posted by LincolnForums
its hard to download that xml file using Firefox.
any chance of getting a zipped package?

For your convenience, MIME-type of phpadsnew-1.0.xml is now set to application/octet-stream which should make your browser ask to save the file instead of open it.

BTW:
There's also a "save as" dialogue in the context menu of your browser.

dreck 11-07-2005 12:04 PM

sweet.. I just install phpAdsNew just the other day.
This will definally come in handy.

Now I just have to figure out how to use it. ;)

/install

LincolnForums 11-07-2005 09:04 PM

Quote:

Originally Posted by The M.I.P.
For your convenience, MIME-type of phpadsnew-1.0.xml is now set to application/octet-stream which should make your browser ask to save the file instead of open it.

BTW:
There's also a "save as" dialogue in the context menu of your browser.

thank you very much

tamborinegal 11-08-2005 02:07 AM

This looks like just what I need, but can I place an ad anywhere else or only in the header template? I'd love it if I could use it after the first post in a thread for example.

Thanks :)

jimporter 11-08-2005 09:41 AM

Quote:

Originally Posted by tamborinegal
This looks like just what I need, but can I place an ad anywhere else or only in the header template? I'd love it if I could use it after the first post in a thread for example.

Thanks :)

Tamborinegal, see this post How To Show A Banner After The First Post In A Thread and amend accordingly.

Milez 11-08-2005 11:05 AM

Testing this on a busy board. Problem is my ads will not display and since they display normally on non vbulletin pages I am assuming it is the setting in the admincp for the path to PAN. Since my PAN install is outside of the vbb document root the setting does not seem to work: /web/adserve. I have tried ../web/adserve and no go either.

Anyone run into this?

What a shame. I really do not want to guinea pig the XML-RPC method.

The M.I.P. 11-08-2005 12:03 PM

Quote:

Originally Posted by tamborinegal
This looks like just what I need, but can I place an ad anywhere else or only in the header template? I'd love it if I could use it after the first post in a thread for example.

You can use the <ad ... /> tags anywhere in your templates. When using multiple <ad ... /> tags on a page, you should define an own zone for each ad in phpAdsNew - see the phpAdsNew user guide for more infos.

Milez 11-08-2005 12:55 PM

Strange still no go. I used a relative path like /web/adserve. I added a banner in my header template like: <ad what="zone:2" />

Q: Have you tested this for anything beyond .html banners I see you are using above? My banners are all images but I did not think that would make a difference.

Milez 11-08-2005 02:03 PM

Sorry...Banners are displaying now.

My issue now is that the options for the <ad> tags are not bringing up the right zones. <ad what="zone:2" /> is a rotating 468x60 banner with a few image banners but other unrelated banners are being displayed for some reason. I tried targetting specific banners with clientid="x" as well but no dice.

From looking at your code this really should be working.


All times are GMT. The time now is 05:56 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.01801 seconds
  • Memory Usage 1,740KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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