vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   phpadsnew integration? (https://vborg.vbsupport.ru/showthread.php?t=49805)

TechTalk 03-08-2003 04:59 AM

phpadsnew integration?
 
I am going for the same look as:
http://sitepointforums.com/forumdisplay.php?forumid=16

Anyone have a page that explains how to get phpadsnew integrated like this? I have seen the same ad setup on many sites and assumed it was a template hack someone release.

Thanks

TechTalk 03-08-2003 03:24 PM

Bump.

Anyone use this site anymore?

TechTalk 03-08-2003 11:09 PM

Man this site had turned to crap. Used to get a reply in a matter of minutes :(

Tigga 03-08-2003 11:35 PM

I think it's more of a case that phpAdsNew is crap. Granted it has some nice features, but it adds 10+ queries to every page for each ad. That might be why nobody has spent too much time trying to integrate it. ;)

TechTalk 03-09-2003 12:01 AM

You're killing me.

A lot of people use phpads new with theit vb forums, and I just need to know how to integrate it like they have on sitepoint. Notice how they only have the ads on the forum pages and not the main page? So its not a header thing...

VampireMan 03-09-2003 01:26 AM

I use phpads new.
it has it's own db & doesnt add 10 querys to my vb site either.

most people go for the php intergration .. yeah that will add 10 querys to a site.

But this doesnt.... (in my header where $banner was going to be)

PHP Code:

 <script language='JavaScript' type='text/javascript'>
<!--
   if (!
document.phpAds_useddocument.phpAds_used ',';
   
document.write ("<" "script language='JavaScript' type='text/javascript' src='");
   
document.write ("http://www.xxxxxxxxx.co.uk/phpads/adjs.php?n=a421fca7");
   
document.write ("&amp;what=zone:2&amp;target=_blank");
   
document.write ("&amp;exclude=" document.phpAds_used);
   
document.write ("'><" "/script>");
//-->
</script><noscript><a href='http://www.xxxxxxxxx.co.uk/phpads/adclick.php?n=a421fca7' target='_blank'><img src='http://www.xxxxxxxxxx.co.uk/phpads/adview.php?what=zone:2&amp;target=_blank&amp;n=a421fca7' border='0' alt=''></a></noscript


Dean C 03-09-2003 01:08 PM

Sitepoint doesn't use phpadsnew. They use a modified version of this hack i believe:

https://vborg.vbsupport.ru/showthrea...threadid=26818

Details on how to do something similar are outlined in posts in the thread somewhere.

- miSt

TechTalk 03-09-2003 01:29 PM

I got it working by using php in the control panel.

Mist,
I think that hack adds the small images on the forum home page for each forum. I am taling about the big ads

rstark 03-09-2003 08:46 PM

I got it working with the javascript code as well. For some reason, I couldn't get the PHP code working.

Dean C 03-10-2003 04:02 PM

TechTalk - like i said it is a modification from that hack. i can guarentee it :)

- miSt


All times are GMT. The time now is 12:39 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.01134 seconds
  • Memory Usage 1,736KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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