Forums / Developer / phpadsnew extension

phpadsnew extension

Author Message

Brendan Pike

Monday 21 February 2005 3:17:52 am

[updated]

Concerning http://ez.no/community/contribs/3rd_party/extension_phpadsnew_pubsvn

Has anyone successfully upgraded their phpadsnew extension to support the latest phpadsnew 2.0.3 release? I started to look at this extension but found the copy of phpadsnew that was included wouldn't install for me at all, possibly due my own server environment? However the latest version installed fine, so I am keen to keep the latest version if at all possible.

Also if anyone is willing to share their installation experiences I am keen to compile them and try and put together some more detailed installation instructions that may help any future users of this excellent extension.

I believe input that covers the following areas would be of most benefit.
- Very basic phpadsnew install instruction that is accompanied by rewrite rule modifications etc.
- phpadsnew database setup / export / and (possible) re-inclusion back into eZ publish's database.
- Working template code that covers both where code can be placed and what personalization is needed.
- Details about any eZ publish alterations that are needed or can enhance the user, for example adding keywords to classes
- Typical usage scenarios (eZ publish specific hints and tips to get the most out of it)

With over 250 downloads to date (excluding svn) there has to be some willing people. Once I feel we have a well covered install guide I will submit it back to Björn for inclusion into the svn.

I can also be emailed if you have written content that may not present well in a forum, ( brendan [at] dbinformatics [dot] com [dot] au )

www.dbinformatics.com.au

We are always interested in hearing from experienced eZ PHP programmers and eZ template designers interested in contract work.

Björn Dieding@xrow.de

Monday 21 February 2005 3:27:42 am

Yes you can do that and those lines to http://pubsvn.ez.no/community/trunk/extension/phpadsnew/phpadsnew/config.inc.php

if (! @include("../../../settings/phpadsnew.php") )
@include("settings/phpadsnew.php");

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Christiane Kloss

Thursday 17 March 2005 3:37:19 am

Hi Brendan,

I'm also very interested in phpadsnew.

Had the same installation-problems:
phpadsnew from the extension-package was not working, fresh download from sourceforge did.

Changed RewriteRule (There is one bracket missing, just count the opening and closing brackets).
Dumped the tables via shell into the eZ database:
mysqldump -h <host> -u <user> -p<password> <adsnew-database> | mysql -h <host> -u <user> -p<password> <eZ-datbase>

So now I can work on this tables with phpadsnew by accessing <mydomain>/extension/phpadsnew/phpadsnew/admin/index.php

...and should be able to use the banners in eZ as well.

The lines Björn is mentioning were already inserted.
Tried the template-examples: no error, no warning, no result.
This is were I'm stuck in the moment.
Maybe it's just a point of how to configure the banners in phpadsnew?!?
Havn't had time yet to explore that in a systematic way.

In the moment phpadsnew has not my highest priority, but it will in about 3 weeks.
I hope, I can get Sören's help on this. If so or if I figure it out of my own I promise to keep you updated.

Did you make any progress in the meantime?

Cheer up, sooner or later we will succeed!

Christiane
kloss[at]neueraeume[dot]net

John Smith

Friday 01 April 2005 2:14:22 am

Have any body tried the template-examples: no error, no warning, no result.

This is were I'm stuck in the moment.

Maybe it's just a point of how to configure the banners in phpadsnew?!?

Please help.

cheers.

Christiane Kloss

Friday 01 April 2005 3:22:57 am

Hi John;

I got stuck at the same point and
phpadsnew is still waiting for me...

There are still so much other things to do..

But I will post here when I'll have any progress

Greetings
Christiane

Xavier Dutoit

Friday 08 April 2005 11:40:42 am

I've been able to make it work. I had to install a downloadable version of phpAds (not the one from their cvs) and use it to configure the database.

However, still haven't been able to use the zones (only direct calls).

Digging...

X+

http://www.sydesy.com

Brendan Pike

Tuesday 10 May 2005 12:30:48 am

Has anyone who may be monitoring this thread had any success in the use of the PAN extension? If so could you please share with the rest of us?

www.dbinformatics.com.au

We are always interested in hearing from experienced eZ PHP programmers and eZ template designers interested in contract work.

Christiane Kloss

Tuesday 10 May 2005 3:48:14 am

Hi Brendan,

sorry - I'm still busy with so many other eZ-stuff...

But I'll go online today with the "easy" parts of the new site.
After that the phpadsnew-problem is nearly on top of my priority-list...;-)))

I'll keep you updated!

Christiane

Brendan Pike

Tuesday 10 May 2005 7:28:02 am

No problem Christiane

Sounds like your priority list was similiar to mine, I was hoping someone has beat me to it :)

www.dbinformatics.com.au

We are always interested in hearing from experienced eZ PHP programmers and eZ template designers interested in contract work.

Lazaro Ferreira

Monday 17 October 2005 1:41:28 am

Hi,

What about using external phpadsnew server and its XML-RPC invocation mode ?

Lazaro
http://www.mzbusiness.com

Sofie Johansson

Friday 09 June 2006 1:11:33 am

Hi

I am trying to figure out how to use phpadsnew and I have come to the point where my ads are shown using this code:

{let data=phpadsnew( '3', 'html')}
             {$data.html}
{/let} 

This picks up the ad with the ID 3, and works fine. However. I would like to be able to place an ad in a zone and pick it up without knowing the ID of the ad, just the zone.

I think the way of using the ads ID is to nondynamic and would like more flexibilty by using zones. Can anyone help?

I also wonder how to loop over 2 ads in one zone..

Best Regards
/Sofie

Developer, Novitell AB

Pascal Specht

Wednesday 20 June 2007 4:19:50 am

I rewrote a new extension to use openAds (aka max media server or phpAds 2.3.x ) as a template function and custom tag.

it can be found here:

http://ez.no/community/contribs/template_plugins/openads_2_3_max_media_manager_template_plugin

-Pascal