Version: , by habu (Guest)
Developer Last Online: Jan 1970
Version: Unknown
Rating:
Released: 06-07-2001
Last Update: Never
Installs: 0
No support by the author.
Its looks as if many vBulletin users also use phpAdsNew.
The far best way to use phpAdsNew is the local mode with the view() function.
Using the remote invocation with JavaScript is slow and the direct <IMG> Tag doesn't work with some IE versions, doesn't support html-banners and other features of phpAdsNew.
However if you use the view() or view_raw() function in the "PHP parsed code' section within the styles configuration in the control panel, you're doing a big mistake!
As pointed out by fastforward in this post: http://161.58.84.213/forum/showthrea...new#post121891
the counting of adview is wrong. Embarrising toward your advertising customer and bag for the click ratio.
We have a problem to solve.
Bad publicity on wrong banner counts on forums is not good for any of us.
Let's get together and think of the easiest, most compatible way to work with phpAdsNew in local mode.
My first idea is to create a new template wich will only be parsed on every static page. A static page does not include the intermediate, redirecting pages after searches or posts.
The bad thing about it is that one would have to hack just about every .php script.
Is it possible to use the dooutput() function for this?
Can we hook the evaluation of our second, page related, php parsed template to this function?
I'm not to far into the code of vBulletin, but this aproach looks ok to me.
What do the vB-Pro say?
Does anyone have a better idea how to tackle the problem?
____________________
phpAdsNew is a very vivid OpenSource project and I guess worth supporting.
BTW, it's a pitty vB isn't OpenSource. I bet you could by now make a living by distributing hacks. You have many people supporting vB with hacks. THEY are making it a better product, too. Don't just use them. But that's a different topic - Please only reply to the phpAdsNew topic to keep this thread 'clean'.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
one simple way i can think of to create a php file for your included stuff (phpads stuff), and then in forumhome.php, showthread.php, forumdisplay.php, private.php, usercp.php, search.php, misc.php and a few others, just require it. Yes it is a bit of work but not something that will take more than 5 minutes.
We serve over 150,000 banner views a day with phpADSNEW using the JavaScript option and it runs just fine for us. Not slow at all.
same here just upgraded to phpadsnew beta 4 from beta 2 and server just under 100,000 banner views/day but some sites use remote invocation with javascript and some without... no probs here
Well, ok, I didn't say JavaScript is *death slow*, but it is of course slower that the local mode. If you use html-ads and have about 10 text-ads, the page is significant slower than in local mode.
Anyway, and if its only for the sports of it, there might be an easy way to get it done in local mode.
Yes, Chrispadfield, hacking all those php scripts will do. And your right it won't take to long. But the thing is one would have to do it after every upgrade. Even more critical: you have to think about it for every upgrade, since the upgrade might introduce new 'outputs'.
That's why i thought of putting it into the output() function. It's at a central place there and should be caught every time an output is performed.?
Is it ok to do it there? Is there a catch to it, or a better function to hook it onto?