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)

imported_infitech 11-21-2006 05:05 AM

This is ONE of the only 3 mods i have installed on my forums right now... Great job.

picardtux 11-22-2006 07:24 AM

this mod is great!

it work with 3.6.x

many thX coder ;)

TECK 12-11-2006 05:01 AM

It's working good in 3.6.4.
I have a PhpAdsNew question.
If I use on the same page 2 tags:
<ad what="zone:1" /> and <ad what="zone:2" />
I want to display the same banner type in both areas.

Basically, the zone 1 is a 468x60 banner and zone 2 is a 120x600 banner.
So, when I refresh the page I would like to have both banners displayed from the same clientid.

Any tips on how to do this?
Is there a way to insert into the <ad what /> tag a specific variable?
Something like:
Code:

<ad what="zone:1|$clientid" />
Thanks for your help.

ferreo 12-11-2006 04:53 PM

For some reason, I can not get my Admin CP to save the phpadsnew location. When I am logged in and try to save the new location, the ACP repeatedly keeps on asking for me to log in - and the location doesn't get saved.

Any idea why this is happening?

Thanks!

TECK 12-11-2006 05:37 PM

I hardcoded the path into script, that's why I probably don't have this error.

ferreo 12-12-2006 01:44 AM

I resolved the problem. The newest phpadsnew lib files weren't present in the includes folder of the forum. After copying them over, it works like a charm.

TECK 12-12-2006 04:36 AM

I resolved my problem also, I uninstalled the hack and wrote my onw version. :)
Not the same solution, but works really good, plus less code to process.

criscokid 12-16-2006 12:10 PM

I'd like to use a conditional that excludes ads being shown based on one of the user' cutom profile field. More specifically ads that are targetted to men shouldn't be shown to women and vice versa.

The profile field is either: Male / Female
The ads that are for men contain this keyword: MenOnly
The ads that are for women contain this keyword: WomenOnly

The install instructions suggest using this invocation using template conditionals:
<if condition="$bbuserinfo['usergroupid']==1"><ad what="" /></if>

Based on that what would the conitional be that I'd need to use for:
don't show banners containing "MenOnly" if the profile field = Female
don't show banners containing "WomenOnly" if the profile field = Male

criscokid 12-16-2006 12:36 PM

It is recommended to set $phpAds_config['compatibility_mode'] = true; in phpAdsNew config file.

I need to change the setting to try get this this plugin to work - if it's set as 'false' then the forum stops with a mySQL error when I edit the templates.

I've already got PAN running ok without this plugin. The moment change the setting in the config file all of the banner ads stop displaying. What could be the cause of this?

Rob D 12-18-2006 09:00 PM

GREAT MOD!!! First mod I've installed on vBulletin and it couldn't be much simpler. Thanks for the great work! (Once I get my site up and running I plan to express my gratitude with a small portion of the ad revenue:D )


All times are GMT. The time now is 11:50 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.01708 seconds
  • Memory Usage 1,733KB
  • 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
  • (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