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)

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 ...


All times are GMT. The time now is 03:54 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.01271 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
  • (1)bbcode_code_printable
  • (1)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