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)

BiReL41r 12-16-2005 07:42 PM

I might try this...looks like a good hack.

dreamer81 12-16-2005 08:03 PM

ok it works now, but how do i cloak my urls????

i mean REAL cloaking, i currently have a cool javascript that i created myself, that cloaks the url. even when u right click on the link. Most cloaking software fails on this, but not my script, so how do i implement that?

dreamer81 12-17-2005 10:21 AM

ok huge bug!!

this line will only show the first ad
PAN ad: <ad what="zone:2" /> <ad what="zone:1" />

for some reason, i cannot show two ads on the same line in the template. I have no idea why..... can you fix this?

Smiry Kin's 12-17-2005 05:39 PM

Very Nice System! excatly what im looking for! :)

The M.I.P. 12-18-2005 12:54 AM

Quote:

Originally Posted by dreamer81
this line will only show the first ad
PAN ad: <ad what="zone:2" /> <ad what="zone:1" />
for some reason, i cannot show two ads on the same line in the template. I have no idea why..... can you fix this?

Thx for reporting this. It was caused by a buggy regular expression and is fixed in version 1.0.3 of this product. Please see upgrade section in my first post.

Quote:

Originally Posted by fbastello
Basically, I added the following line just before return "<!-- BEGIN ad {$adcomment} -->{$ad['html']}<!-- END ad {$adid} -->";
in the view_ad function plugin:
$phpAds_context[] = array('!=' => 'bannerid:'.$ad['bannerid']);

This basically will allow you to have several <ad what="zone:1" /> anywhere in your templates and be sure that the same banner is not displayed twice.

I also thought about this before, but didn't implement it, because in my eyes, a zone denotes a location and therefore should be unique on page.
But as it might be useful for some people, I added this to version 1.0.3 introducing a new setting "Banner Dupe Check". However - I don't recommend using the same zone repeatedly on a page.

fbastello 12-18-2005 12:36 PM

Brilliant! Thanks for the update!

apfparadise 12-20-2005 06:56 AM

Great Mod, INSTALLED!!!! Working flawlessly.

tanyeri24 12-26-2005 01:16 AM

I getting this error if I put the <ad ..> tag on header template:
Fatal error: Call to a member function scalarval() on a non-object in /home/security/public_html/includes/lib-xmlrpc.inc.php on line 729

I have remote phpadsnew and copied the 2 files to my forum includes (describted like on your NOTES..)

Thx for helping in advance

Masiello 12-26-2005 05:37 PM

Fantastik Thread and Mod, Thanks!

Masiello 12-26-2005 05:56 PM

I have found a code to set a schedule Tasks to work on vbulletin, but it seems not working really after the time I have set and dont working in general, anyone Have any idea how to set fine in Schedule Tasks of vbulletin?


All times are GMT. The time now is 08:49 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.02802 seconds
  • Memory Usage 1,734KB
  • 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
  • (2)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