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)

Xstreamist 12-10-2005 07:54 PM

By the way... are we supposed to paste the invocation code somewhere? I tried to and got an sql error.... I'm running this off a local server, not remote...
I seriously need help with this or I'm gonna lose my sponsors and therefore lose my site......

DomP 12-10-2005 07:59 PM

go read the phpadsnew tut's and you're fine ;)

BOTH of em

Xstreamist 12-10-2005 09:11 PM

I HAVE read them.. all THREE of them. And I'm NOT fine.

DomP 12-10-2005 09:27 PM

Is it working for you without this ? (phpadsnew)

Xstreamist 12-10-2005 09:39 PM

What do you mean is it working with out this??? Is what working without what?

DomP 12-10-2005 09:43 PM

Just trying to help you ;)

I'm wondering if you are able to get the banners at your site without "phpAdsNew Integration 1.0.1 for vBulletin 3.5.x"

Xstreamist 12-10-2005 09:47 PM

Yes I can. But I need to rotate banners. If there's an easier way to rotate banners on vBulletin 3.5.1 please let me know... This method has just been a major headache since I downloaded it. I don't need all the bells and whistles of click tracking or anyhting.. just need to be able to rotate banners.

DomP 12-10-2005 09:55 PM

pm'd you ;)

Xstreamist 12-10-2005 10:38 PM

Still not fixed :disappointed:

yayvb 12-11-2005 02:52 AM

Quote:

Originally Posted by DomP
Did U try to get it to work without the plugin first ?

If not, create an invocation code (java) copy and paste that somewhere in your header template and see if its works.

Then start fiddling with this

Yep this works fine, but like I said after everything that I said I did, but if I put this <ad what="zone:1" /> in my header template instead of the javascript it doesn't show. Any help would be appreciated.

Xstreamist 12-12-2005 03:59 PM

Is there no support for this??? The support option for this plugin is checked off.. if there's no support it should be unchecked.... I still don't have this working and I just lost two sponsors yesterday because of it.... My remaining 4 sponsors are threatnening to leave as well.... Should I just uninstall this nightmare plugin or is there going to be support??????

ConqSoft 12-12-2005 04:19 PM

Quote:

Originally Posted by Xstreamist
Is there no support for this??? The support option for this plugin is checked off.. if there's no support it should be unchecked.... I still don't have this working and I just lost two sponsors yesterday because of it.... My remaining 4 sponsors are threatnening to leave as well.... Should I just uninstall this nightmare plugin or is there going to be support??????

I think you have already answered your own question. If I was having a problem with it, I would have switched to another method WELL before losing a sponsor over it. That sounds like poor handling of the situation on your part, but that's just my opinion.

tgmorris 12-12-2005 04:27 PM

Quote:

Originally Posted by Xstreamist
Is there no support for this??? The support option for this plugin is checked off.. if there's no support it should be unchecked.... I still don't have this working and I just lost two sponsors yesterday because of it.... My remaining 4 sponsors are threatnening to leave as well.... Should I just uninstall this nightmare plugin or is there going to be support??????

I don't know what to say. I had it working on my test board and then put 3.5.2 on my live forum. I installed this there the same as on my test board and it wouldn't work. I did get it working so I thought I'd found the problem. However when I went to confirm this the change made no difference and things continued to work.

At the moment I have this running on my live forum via xml and it's serving ads fine. I also added a conditional so that the AdSense stuff doesn't violate the TOS for my google ads by creating 2 zones that are the same except one doesn't include the google ads.

In theory this is supposed to work if phpAdsNew is in a separate db but that generates errors so I'm using the xml interface. My board's low traffic so that's OK. It apparently does work fine if the phpAdsNew db is the same as the vb db.

Xstreamist 12-12-2005 05:04 PM

Quote:

Originally Posted by ConqSoft
I think you have already answered your own question. If I was having a problem with it, I would have switched to another method WELL before losing a sponsor over it. That sounds like poor handling of the situation on your part, but that's just my opinion.

Way to shift the blame Conq. This is SUPPOSED to be a supported plugin. The blame for not getting support does NOT lay with me.

ConqSoft 12-12-2005 05:07 PM

You're the one trying to blame the author of a FREE hack for the loss of your sponsors. That's BS. That's all on you for not having it tested and confirmed to be working in a test environment before going live.

The M.I.P. 12-13-2005 01:16 PM

Version 1.0.2 is out with a minor fix towards PHP 5.1.1 compatibility.
Please make sure to have set $phpAds_config['compatibility_mode'] = true; in phpAdsNew config file, as this resolves problems with a local phpAdsNew installation when phpAdsNew's tables are in a database different from the one used by your vBulletin board.

Xstreamist 12-13-2005 01:51 PM

Quote:

Originally Posted by ConqSoft
You're the one trying to blame the author of a FREE hack for the loss of your sponsors. That's BS. That's all on you for not having it tested and confirmed to be working in a test environment before going live.

Whether it's free or not is NOT relevant at all. The FACT that the "SUPPORTED" option is checked and I have receiver NO support IS!!!!!!!!!! If I had received the support I am suppose to receive to get it working I would NOT have lost sponsors. If the support option was not checked off I wouldn't have posted for support here in the first place. I probably wouldn't even have installed it. But given the fact that it is SUPPOSED to be supported I felt reasonably safe in installing it expecting I would receive assistance if needed. The entire issue at hand is that the author is misleading people by saying he supports the plugin when he doesn't. END OF STORY!!!!

ConqSoft 12-13-2005 01:56 PM

He seems to be supporting it just fine... He even posted another update.

Again, you put a hack onto your production site without testing it and confirming it was working first, so losing the sponsors was completely YOUR fault, no matter how you would like to try to twist it around.

The M.I.P. 12-13-2005 02:36 PM

@Xstreamist:
"Supported" means that I look after this thread, fix reported bugs (those with useful descriptions, not ones like "it doesn't work") and make sure it works as per description on clean installations of recent versions of vBulletin and phpAdsNew.
It does not mean that I'm giving free personal assistance for a user.

Dollah 12-13-2005 03:44 PM

will also try this

Xstreamist 12-14-2005 01:05 PM

Quote:

Originally Posted by The M.I.P.
@Xstreamist:
"Supported" means that I look after this thread, fix reported bugs (those with useful descriptions, not ones like "it doesn't work") and make sure it works as per description on clean installations of recent versions of vBulletin and phpAdsNew.
It does not mean that I'm giving free personal assistance for a user.


Gimme a break Mips. You know damn well I gave you a hell of a better description of the problem then that. Just go backl to my earlier posts.
You say you make sure it works as per description?? Well it's NOT working as per youor description. I've asked for help and given you very good details of the problem. Yet I have not gotten any support from you and the plugin still doesn't work properly.

Conq, go blow it out your ass. You have absolutely no clue what support is and all your interested in is covering your buddy's ass when he screws up.

At least now I'll know where NOT to go in the future for any plugins.

tgmorris 12-14-2005 01:56 PM

Quote:

Originally Posted by The M.I.P.
Version 1.0.2 is out with a minor fix towards PHP 5.1.1 compatibility.
Please make sure to have set $phpAds_config['compatibility_mode'] = true; in phpAdsNew config file, as this resolves problems with a local phpAdsNew installation when phpAdsNew's tables are in a database different from the one used by your vBulletin board.

I've got this installed and working in local mode now w/separate db's. However I still had the problem whereby after the install no ads were being shown and then after some poking around, without changing any parameters or settings, ads began being shown and continue to do so. Very strange indeed.

Guest190829 12-14-2005 05:49 PM

No coder is required to give support, even if they have clicked the support tag. Please understand that coders are distributing and supporting modification on their own time, they are not obligated to do any of this. I understand that it could be frustrating during a debugging phase of a modification, but it's important that everyone remains as patient as possible. :)

Also, do not insult any members; it will not be tolerated on vb.org.

fbastello 12-16-2005 11:59 AM

Hi There and thanks for this great plugin!
I managed to get the whole thing working in no time thanks to the detailed installation guidelines and screenshots.
I have however a little question please, when you the generate invocation code button, you can beforehand choose a few options like:
Don't show a banner from the same campaign again on the same page
Don't show the banner again on the same page

In the screengrab, they are set to no, will the <ad tag display the same banner if invocated with several <ad what="zone:1" on the same page? It doesn't seem to respect the rule at them moment for me.
I think it's probably because there a lot of the invocation code that is missing in the <ad tag so I'm just checking that it is the case.

fbastello 12-16-2005 12:50 PM

OK, I think I cracked it
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've just done it so it's not quite well tested yet, I'm sure that the whole thing could be improved via the ad tag (something like <ad what="zone:1" duplicate_banner_id="1" /> or <ad what="zone:1" duplicate_banner_id="0" /> to switch the option on or off).

Hope this help and thanks again for this great plugin!
F

Jiggles 12-16-2005 01:36 PM

I get a blank page. Also get mysql errors. I use vb in a different db. Could this be the reason. Where is the config option to set true in plugin for using a seperate db?

tgmorris 12-16-2005 02:28 PM

Quote:

Originally Posted by Jiggles
I get a blank page. Also get mysql errors. I use vb in a different db. Could this be the reason. Where is the config option to set true in plugin for using a seperate db?

This is from an earlier post...
Please make sure to have set $phpAds_config['compatibility_mode'] = true; in phpAdsNew config file, as this resolves problems with a local phpAdsNew installation when phpAdsNew's tables are in a database different from the one used by your vBulletin board.
Doing this resolved the problem I had w/mysql errors when running in local mode while using a separate db.

Jiggles 12-16-2005 03:20 PM

Quote:

Originally Posted by tgmorris
This is from an earlier post...
Please make sure to have set $phpAds_config['compatibility_mode'] = true; in phpAdsNew config file, as this resolves problems with a local phpAdsNew installation when phpAdsNew's tables are in a database different from the one used by your vBulletin board.
Doing this resolved the problem I had w/mysql errors when running in local mode while using a separate db.

Yeah I saw that but where do I set that option? I don't know where to find the $phpAds_config setting.

fbastello 12-16-2005 03:28 PM

Quote:

Originally Posted by Jiggles
Yeah I saw that but where do I set that option? I don't know where to find the $phpAds_config setting.

You can find it in the config.inc.php file in phpadsnew

tgmorris 12-16-2005 03:31 PM

Quote:

Originally Posted by Jiggles
Yeah I saw that but where do I set that option? I don't know where to find the $phpAds_config setting.

Look for config.inc.php in the folder where phpAdsNew is installed. In there you'll find all the settings including the one for compatibility_mode.

PHP Code:

.
// Database compatibility mode to insure phpAdsNew
// won't disturb an available database connection
$phpAds_config['compatibility_mode'] = true

Alternatively, you may use phpAdsNew to change the setting via the Admin interface.

Jiggles 12-16-2005 03:37 PM

Quote:

Originally Posted by tgmorris
Look for config.inc.php in the folder where phpAdsNew is installed. In there you'll find all the settings including the one for compatibility_mode.

PHP Code:

.
// Database compatibility mode to insure phpAdsNew
// won't disturb an available database connection
$phpAds_config['compatibility_mode'] = true

Alternatively, you may use phpAdsNew to change the setting via the Admin interface.


OK thanks.

Jiggles 12-16-2005 03:46 PM

OK Now I don't get the error but no ads either.

The code is displaying this

Code:

<!-- BEGIN ad 105168249 --><!-- END ad 105168249 -->
Where the ad should be. They worked when doing jscript.

Jiggles 12-16-2005 03:52 PM

Quote:

Originally Posted by Jiggles
OK Now I don't get the error but no ads either.

The code is displaying this

Code:

<!-- BEGIN ad 105168249 --><!-- END ad 105168249 -->
Where the ad should be. They worked when doing jscript.


Also phpadsnews is telling me I need to upgrade then says it doesn't, then won't let me back to home. just keeps trying to upgrade.

tgmorris 12-16-2005 03:52 PM

Quote:

Originally Posted by Jiggles
OK Now I don't get the error but no ads either.

The code is displaying this
Code:

<!-- BEGIN ad 105168249 --><!-- END ad 105168249 -->
Where the ad should be. They worked when doing jscript.

How are you invoking the ad? With zones? If so, do you have zones set up in PAN?

Jiggles 12-16-2005 04:01 PM

Quote:

Originally Posted by tgmorris
How are you invoking the ad? With zones? If so, do you have zones set up in PAN?

PAN? They are in zones but have no idea what PAN is.

tgmorris 12-16-2005 04:22 PM

Quote:

Originally Posted by Jiggles
PAN? They are in zones but have no idea what PAN is.

PAN = phpAdsNew

Jiggles 12-16-2005 04:25 PM

Quote:

Originally Posted by tgmorris
PAN = phpAdsNew


LOL ok. Yeah they are in zones.

Jiggles 12-16-2005 05:26 PM

Everytime I change that line in conf for phpadsnew I get redirected to the upgrade section, and it nevers lets me login.

tgmorris 12-16-2005 07:18 PM

Quote:

Originally Posted by Jiggles
Everytime I change that line in conf for phpadsnew I get redirected to the upgrade section, and it nevers lets me login.

You might try the phpAdsNew support forums.

dreamer81 12-16-2005 07:33 PM

Can someone tell me how to crate a simple text banner in PAN? I really can't find that invocation code that i need to put in my <ad> tag


All times are GMT. The time now is 01:02 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.02020 seconds
  • Memory Usage 1,846KB
  • 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
  • (3)bbcode_code_printable
  • (2)bbcode_php_printable
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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