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)

thenewuser 09-24-2006 01:24 PM

I am having the same problem Mauu was having... I get:

<!-- BEGIN ad 11111111 --><!-- END ad 1111111111 -->


(numbers replaced w/ 1)

instead of the banner coming up. I've done everything correctly, twice now. What gives? :(

Zowners 09-26-2006 01:11 AM

can we get this to work with 3.6.1?

Devices 09-27-2006 08:42 AM

Thanks for this hack. Works perfectly for me after a little messing.

I installed it on VB3.6 and there are no problems after upgrading to VB3.61

On initial set up i tried using it to access PAN on a remote server but no matter what i tried it would not work. As my MySQL is on another remote server. I just installed the PAN files on my forums server. After that local mode worked perfectly. If the load gets to great i will try using the remote setup then.

thenewuser 09-27-2006 11:45 PM

So we don't use the original invocation code anywhere?

libertate 09-28-2006 01:52 AM

I must be a complete imbecile.

I cannot figure out how to do this.

Loaded PAN. But nothing done to vB just yet.

Do I install this module then? Or do I have to mess with some templates first?

There are several references to a thread here which says place the "invocation code" into "PHPINCLUDE_START" template. There is no such template in vB 3.5.4. So where does that invocation code need to be placed?

From what I understand PHPINCLUDE_START was replaced by a "Hook" in the Module system as "global_start". Do I add the invocation code in there?

The above step is where I am stuck.

Will installing this mod replace the step of adding the invocation code, or still require it?

If it does not require it, then I have an issue. Once I installed it (no invocation code in global_start hook), when trying to edit a template to include <a .../>, the save process just seems to hang and returns a blank page after editing the template. When refreshing the edit page, the changes to include the <a... /> code is not there.

thenewuser 09-28-2006 11:56 PM

I too am completely stuck and thus can't launch this site. I might have to go with a pay system instead of this free thing.

I can only generate "remote invocation for javascript" and not local for some reason. I too have NO idea where too add this invocation code.

I wish this free syetm had more support. Sorry, I'm just venting, very frustrating.

Devices 09-29-2006 09:29 AM

I had the missing "local invocation" from the drop down box in phpAdsNew too. After reading here and at the PAN forums i discovered it was because i did not have the correct exact url in my config.inc.php file.

Before i corrected that i would just get the

<!-- BEGIN ad 12345678 --><!-- END ad 12345678 -->

in the soruce code of my web page. As soon as i corrected the URL in the config file i had local invocation and the banners displayed fine.

thenewuser 09-29-2006 10:04 AM

Quote:

Originally Posted by Devices
I had the missing "local invocation" from the drop down box in phpAdsNew too. After reading here and at the PAN forums i discovered it was because i did not have the correct exact url in my config.inc.php file.

Before i corrected that i would just get the

<!-- BEGIN ad 12345678 --><!-- END ad 12345678 -->

in the soruce code of my web page. As soon as i corrected the URL in the config file i had local invocation and the banners displayed fine.

That path is correct.

I have local code now.

Banners aren't showing.

I still get the <!-- BEGIN ad 12345678 --><!-- END ad 12345678 --> error.

Devices 09-30-2006 10:34 AM

Quote:

Originally Posted by thenewuser
That path is correct.

I have local code now.

Banners aren't showing.

I still get the <!-- BEGIN ad 12345678 --><!-- END ad 12345678 --> error.

I am stuck now to advise what to do other than check your path to your pan installation mine is on a windows server and i have the path set to D:\Domains\mydomain.com\www\ads

The fact you are getting the code above i would say the addon is working ok its just not getting the correct info from PAN. So it either cannot find it or PAN is not returning the correct info.

Have you verified your PAN is working normally outside of VB ?

dholt 10-01-2006 03:21 AM

Nice works great
I need a how too to create a add block for this for the right side of my vba.

can someone give me a step by step on inserting a banner on the right or left side in a block.

Thanks in advance


All times are GMT. The time now is 10:56 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.01542 seconds
  • Memory Usage 1,741KB
  • 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