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)

Eagle Creek 05-02-2006 07:30 AM

Quote:

Originally Posted by robert_2004
compatibility_mode HAS to be set to true. the problem you are talking about, already being upgraded, is phpAds being broken.

if you disable compatibility_mode, then vB can't find the database for phpAds.

also, don't use Safe_mode - it's not actually fixing your situation, it's just supressing your errors.

SO: go to phpadsnew.com and do a search on how to fix your program not letting you log in. do a serch like 'already upgraded' or what ever the error is displayed.

I was having problems with this script, because i was going straight to Google adsense, and wondering why it wasn't displaying - when the whole time it's my adsense code that is broken (still waiting on google to fix my account).

Nobody is respondig overthere :surprised:

Tru2Chevy 05-03-2006 02:07 PM

Quote:

Originally Posted by Eagle Creek
Nobody is respondig overthere :surprised:

I had the exact same error that you did, and I finally got someone to help me over there, but the problem was never solved. When I tried to use this hack I ran into the same exact problems that you did, and no one here or over on their forums seems to have any clue how to fix it.

I wish I could use this hack, but my ads display fine using just the invocation code from PAN, see: http://www.njfboa.org

- Justin

PS - Here is the thread I started on their forum: http://forum.openads.org/index.php?showtopic=10405&hl=

Eagle Creek 05-03-2006 06:48 PM

Hi Justin,

thanks for your reply.
I like the ads-system but their support is poor.

Can you tell me how you solved the problem; otherwise said: what did you do so your forum is showing ads now?

My 1st thought was also that the table was missing. But vB is working perfect, and the problem starts to apperar only when enabeling the comp. mode.

Nick0r 05-03-2006 07:02 PM

Hello,

Excellent plugin.

One (small) problem.

I like to use text directly below my images and when adding banners to phpadsnew this is possible. Now, you can usually tick the 'yes' box when creating the remote innvocation javascript code, but if you use your plugin you're unable to select 'yes' for that, would it be possible to add an option for it?

Tru2Chevy 05-03-2006 09:22 PM

Quote:

Originally Posted by Eagle Creek
Hi Justin,

thanks for your reply.
I like the ads-system but their support is poor.

Can you tell me how you solved the problem; otherwise said: what did you do so your forum is showing ads now?

My 1st thought was also that the table was missing. But vB is working perfect, and the problem starts to apperar only when enabeling the comp. mode.

The only way I could get it to work was to abandon this hack altogether. I just generate the invocation code from within PAN and copy it into the forum template where I want it displayed (same place that I would have placed the <ad> tags that this hack creates).

- Justin

DomP 05-03-2006 11:53 PM

y're missing the best part:
The features of phpAdsNew combined with the power of vBulletin's templating system gives you the possibility to place ads for specific user groups, forums, and keywords.

Eagle Creek 05-04-2006 11:11 AM

Quote:

Originally Posted by DomP
y're missing the best part:
The features of phpAdsNew combined with the power of vBulletin's templating system gives you the possibility to place ads for specific user groups, forums, and keywords.

You're talking to who?

Eagle Creek 05-04-2006 11:33 AM

Quote:

Set $phpAds_config['compatibility_mode'] = true; in phpAdsNew config file, to prevent problems when phpAdsNew uses a database different from the one used by your vBulletin board.
Ok... So I have PHPAds installed in the same database as my forums.
Let's move on.. Going to try some things out..

robert_2004 05-05-2006 05:10 AM

eagle creek;
it doesn't have to be in the same folder. i have:
.com/phpads/
.com/forums/

then i have compatibilty mode on.
What i was trying to say before was, reupload your files, i think a file might be incorrect.
then also reupload the files for this modification.
add the <ad zone 1> code, and make an add that's just simple text.

Otherwise, send me a PM, and i'll take a look at your phpads admin if you want - you may have it incorreclty set up.

Eagle Creek 05-05-2006 08:34 AM

When I fist installed it, it wasn't. (and btw, it stil isn't). I use two seperata folders, /forum and /ads.
And it didn't work.

I reuploaded all the files and re?nstalled the whole program but still I'm in a loop :(.

I got it working by now and I don't want to screw up the intire installation again. Is there any simple solution then?

MrDiaz 05-06-2006 05:14 PM

this is just about what I was looking for. Thanks!

Smiry Kin's 05-16-2006 03:41 AM

doesnt really want to work with me on 3.5.4 the style wont save :S wen added
<ad what="zone:1" /> etc etc :( shame really

Deimos 05-20-2006 05:53 PM

It's odd, I moved servers, imported the database etc aok, but now the ad's don't show up?
Same setup on this server as far as Apache/mysql and PHP go, tried reinstalling the plugin, no joy

Deimos 05-20-2006 06:04 PM

heh ok, now it's working again
I deleted all the files on the server, reuploaded a fresh set, uploaded the previous config file, now they show up

djwins 05-23-2006 08:00 AM

I'm giving this a shot today...thanks!
EDIT: Is anyone having problems tracking AdClicks?
AdViews seem to be working, but I have 0 AdClicks, and I clicked on a few for testing purposes.

EDIT: probably a remotely hosted flash ad issue...

arindra 05-26-2006 09:22 AM

hi , i am new and looking forward to installing this mod on my 3.5.4 forum . will it work in it ?

djwins 05-26-2006 03:29 PM

It works on my 3.5.4...

gamelandz 05-26-2006 03:31 PM

can you configure phpadnews to display certain banners for certain forums?

orphan 05-27-2006 03:40 AM

Quote:

Originally Posted by Smiry Kin's
doesnt really want to work with me on 3.5.4 the style wont save :S wen added
<ad what="zone:1" /> etc etc :( shame really


I have the same problem
Everythings seems to run smoothly uptil when i try to add <ad what="zone:2" /ad> to a template, the it refuses to save it

Im running the board & the PAM in the same Db
I have set $phpAds_config['compatibility_mode'] = true;

Any ideas ?

orphan 05-27-2006 07:54 AM

Working now :banana:

By adding the URL (http://mydomain/adserver) instead of ../adserver
it solved my problems but im not sure why :cross-eyed:

arindra 05-27-2006 01:45 PM

Hi All
i have one more question .
I have the phpadsnew latest version installed but on a DIFFERENT DOMAIN , BUT in the SAME SERVER .

What mode would i be using local mode or by remote invocation ?
thanks in adv

arindra 05-27-2006 03:46 PM

finally got it to work :D

jcerious 05-29-2006 01:50 PM

I don't want to ad banners I just want to run short lines of text. Does anyone know if you can do that with this?

jerx 05-29-2006 02:20 PM

Yes, you can use text only ads. phpAdsNew is very powerful and can handle all kinds of ads. Here is the website:
http://phpadsnew.com/two/

arindra 05-29-2006 09:01 PM

yes u can , i just tried it with text fiorst , then banner ... as well

hdraye 05-30-2006 02:26 PM

Great Hack Thanx

I am using this on my site:
Code:

            <if condition="$foruminfo['forumid']==3 OR $foruminfo['forumid']==6">
  <ad what="fol" />
<else />
  <ad what="zone:3" />
</if>

and it works great, but what if I have 30 forums and eache will have a different key word, can I have the code figure out the forum id variable and use the related keyword (I would set it in PNA as forum id, just the number)? and if yes how please?

TIA

Hani

floydian1 05-31-2006 08:31 PM

I'm an idiot... don't understand how to load this thing.

I click on the download and I'm taken to a webpage that starts like this. What am I looking at here?

<?xml version="1.0" encoding="ISO-8859-1" ?>
- <product productid="mip_phpadsnew" active="1">
<title>phpAdsNew Integration</title>
<description>Integrates phpAdsNew into the template system</description>
<version>1.0.3</version>
<codes />
<templates />
- <plugins>
- <plugin active="1">
<title>view_ad function</title>
<hookname>init_startup</hookname>
- <phpcode>
- <![CDATA[
if (!function_exists('view_ad'))
{

SuperJETT 06-01-2006 12:34 PM

I'm going to throw out my experience and how I have went about setting it up after running into some issues after a server move.

I went from a php5/mysql5 server to a php4/mysql4 box and had several issues. I could get PAN working straight up, but not integrated no matter what combination of compatibility mode settings and other things.

So, I got it back to working by itself, dumped the db, then imported the tables into my vbulletin db, changed the config to reflect the db change, imported the product again, and it works fine just like before.

The only difference is my vb db is a bit bigger, but in the end it's probably simpler than having 2 separate db's to take care of.

One other note for Linux newbies (which I was not long ago): setting the local path to PAN, mine ended up being /abc/def/username/www/phpadsnew with no trailing slash. I have no access to /abc/def/ but it still needs to be included because that's the true path to the folder on the local machine.

drgonzo120 06-02-2006 06:13 AM

will this also work under 3.5.4 ????

thanks

drgonzo120 06-02-2006 06:15 AM

Quote:

Originally Posted by floydian1
I'm an idiot... don't understand how to load this thing.

I click on the download and I'm taken to a webpage that starts like this. What am I looking at here?

<?xml version="1.0" encoding="ISO-8859-1" ?>
- <product productid="mip_phpadsnew" active="1">
<title>phpAdsNew Integration</title>
<description>Integrates phpAdsNew into the template system</description>
<version>1.0.3</version>
<codes />
<templates />
- <plugins>
- <plugin active="1">
<title>view_ad function</title>
<hookname>init_startup</hookname>
- <phpcode>
- <![CDATA[
if (!function_exists('view_ad'))
{

that's the contents of the xml file, save it as an xml file ... or copy the content and paste it into an empty file which you save as *.xml ...

drgonzo120 06-02-2006 07:13 AM

Quote:

MySQL Error : Table 'ads.template' doesn't exist
the tables are in the database ADS but they have "phpads_" how can i make the script find the databases? just setting the compatibility to true ??? will that solve the "phpads_" problem too ???:


Quote:

phpads_acls 1 MyISAM 3,1 KB
phpads_adclicks 0 MyISAM 1,0 KB
phpads_adstats 1.438 MyISAM 76,1 KB
phpads_adviews 0 MyISAM 1,0 KB
phpads_affiliates 1 MyISAM 2,1 KB
phpads_banners 5 MyISAM 9,4 KB
phpads_cache 5 MyISAM 7,2 KB
phpads_clients 8 MyISAM 2,8 KB
phpads_config 1 MyISAM 2,2 KB
phpads_images 5 MyISAM 353,4 KB
phpads_session 3 MyISAM 6,8 KB
phpads_targetstats 0 MyISAM 1,0 KB
phpads_userlog 2 MyISAM 2,5 KB
phpads_zones 1 MyISAM 4,1

and if i put the url of the ads directly : http://myserver.com/ads in the settings i get this error:

Quote:

Warning: view_ad(/home/virtual/site3/fst/var/www/html/forum/includes/lib-xmlrpc-class.inc.php): failed to open stream: No such file or directory in /includes/init.php(292) : eval()'d code on line 68
thanks

thenewuser 06-02-2006 10:04 AM

I am a bit lost here. I installed Ads sense in mysite.com/forums/adserv. in the server setttings menu I put http://www.mysite.com/forums/adserv & I tried just /adserv.

When I just add /adserv, then set up my little test banner for zone one, then I add <ad what="zone:1" /> to footer template and when I click on save it does nothing, it attempts to saves but doesn't fully save it and comes up with a blank screen.

What am I doing wrong? :)

thenewuser 06-02-2006 11:08 AM

Fixed! /install.

drgonzo120 06-02-2006 12:49 PM

Quote:

Originally Posted by thenewuser
Fixed! /install.


i have the same problem, what did you do ????



the screen remained blank .... and said nothing, o please answer !!!:bunny:

did you copy the 2 php files in the root of the forum???

drgonzo120 06-02-2006 04:35 PM

<font size="3">i seem to have totally ++++ed up my phpqdsnew installation without even touching it:banana: </font>

Sarthek 06-03-2006 06:11 PM

What is the point in installing this plugin?

I just put phpads banner code to header template. That's it.

JazzleBug 06-03-2006 11:38 PM

I love the ad tags and the installation was a breeze. Awesome plugin - thanks!

drgonzo120 06-05-2006 10:37 AM

Quote:

Originally Posted by JazzleBug
I love the ad tags and the installation was a breeze. Awesome plugin - thanks!


hello,

can you explain what steps you followed please ???


thanks

puregraf 06-06-2006 11:59 PM

hey im getting this error when i go to import style xml file called :

lib-xmlrpc-class.inc.php

i get this error:

XML Error: xml declaration not at start of external entity at Line 1

drgonzo120 06-09-2006 03:49 PM

almost there, local it works !!!! great

but on my website it makes my forumpage go blank ???

i don't seem to be able to put it in another style either, ...

help me please, i depend on the income,

will give money if succeeds


All times are GMT. The time now is 05:46 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.02008 seconds
  • Memory Usage 1,830KB
  • 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
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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