Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-08-2003, 04:59 AM
TechTalk TechTalk is offline
 
Join Date: Dec 2001
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
Reply With Quote
  #2  
Old 03-08-2003, 03:24 PM
TechTalk TechTalk is offline
 
Join Date: Dec 2001
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bump.

Anyone use this site anymore?
Reply With Quote
  #3  
Old 03-08-2003, 11:09 PM
TechTalk TechTalk is offline
 
Join Date: Dec 2001
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Man this site had turned to crap. Used to get a reply in a matter of minutes
Reply With Quote
  #4  
Old 03-08-2003, 11:35 PM
Tigga's Avatar
Tigga Tigga is offline
 
Join Date: Dec 2001
Location: Atlanta
Posts: 1,061
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 03-09-2003, 12:01 AM
TechTalk TechTalk is offline
 
Join Date: Dec 2001
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
Reply With Quote
  #6  
Old 03-09-2003, 01:26 AM
VampireMan VampireMan is offline
 
Join Date: Jan 2003
Location: Leicestershire uk
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #7  
Old 03-09-2003, 01:08 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #8  
Old 03-09-2003, 01:29 PM
TechTalk TechTalk is offline
 
Join Date: Dec 2001
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #9  
Old 03-09-2003, 08:46 PM
rstark rstark is offline
 
Join Date: May 2002
Location: Honolulu, HI
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got it working with the javascript code as well. For some reason, I couldn't get the PHP code working.
Reply With Quote
  #10  
Old 03-10-2003, 04:02 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

- miSt
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:52 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.04064 seconds
  • Memory Usage 2,256KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete