Sublime directory Surf the web anonymous Pagerank Monitor


Help with the clickbank contextual script pls

tpo
Fri 29 June 2007, 01:55 pm GMT +0200
Hi, I needed a script that uses the clickbank xml feed and displays contextual text ads based on my web page content. Thinking that it appears like the best suited contextual clickbank script for my new article directory I purchased the clickbank contextual script a few nights ago.

However, its not working like I hoped it would.
It displays text ads just fine, however is not displaying ads related to keywords in my web pages.

The update goes fine as there is no error and I have clickbank ads in my database.


But when I go to run the maintenance script I get this:

Example....
Found 1 record.
www.theprintoffice.com/Article/The-Google-Patent-Reveals-The-Secret-To-Great-Site-Ranking/39899


Warning:  curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /home/theprint/public_html/ccs/includes/context.fun.php on line 45

That is the exact error I get when the maintenance script finds web pages I have put clickbank contextual script ads are in.
Anyone have any idea what the problem could be?

Also I have the impression if this maintenance script finishes its job successfully I'll get ads based on my page content. Is this correct? Or did I buy this script for the wrong reason?

My web site is www.theprintoffice.com if anyone needs to have a closer look at the way the clickbank contextual script is running. Its in all the article pages. Right now it is nothing more than a text ad banner rotator.

Mark


olaf
Fri 29 June 2007, 03:11 pm GMT +0200
Quote
Warning:  curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /home/theprint/public_html/ccs/includes/context.fun.php on line 45

you need a (mature) webserver with the php value safe_mode = On

Nikolas
Mon 2 July 2007, 04:05 pm GMT +0200
Hello tpo and sorry for the delay from me as I was out of the city for a few days.

In order to have contextual ads (based on your content) you should have the maintenance script working. Now the problem you have is because of the safe mode, but I have just fixed it, and mailed it to you. Please tell me if it works.

tpo
Tue 3 July 2007, 11:05 pm GMT +0200
I was to just replace the context.fun.php you emailed me with the one on my server right? well....it didn't work.
I tried to view another page on my site (that I have clickbank contextual script in), then tried to preform some more maintenance but I get the same error:
Warning:  curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /home/theprint/public_html/ccs/includes/context.fun.php on line 45.

If I'm to understand right this is a PHP problem? that started around php 4.0.2 in an effort to make PHP more secure?



Nikolas
Tue 3 July 2007, 11:09 pm GMT +0200
I have already tested this on safe mode and it works. Are you sure you've replaced the file?

If the problem persists I can logon to your ftp and fix it for you. Please let me know how do you want to proceed.

tpo
Wed 4 July 2007, 12:25 am GMT +0200
I know I replaced the file.

whats the best way to send you my ftp info?

I hope you can fix it.

Nikolas
Wed 4 July 2007, 07:52 am GMT +0200
You can pm the info here. Don't worry about the problem it will be fixed :)

tpo
Thu 5 July 2007, 08:19 pm GMT +0200
Thanks Nikolas, I am no longer having the error when running the maintenance script, however after running maintenance, the ads appear no more relevant to the content, than they were before I run maintenance. Why is this?

Nikolas
Thu 5 July 2007, 08:40 pm GMT +0200
In order to get relevant ads before running the maintenance script you should have first a pageview in the page.

The process is this :

Pageview -> If there are assigned keywords to this page show relative ads. Else it will use the default keywords until the next maintenance.

Now if there are words that appear frequently in a page and you want to remove them open the settings.php and add this :

$EXCLUDED_KEYWORDS = array ( 'keyword1''keyword2''keywordX');
?>


Those keywords will not be used by the maintenance script.

tpo
Fri 6 July 2007, 10:15 am GMT +0200
Since I only want the contextual script relevant to the current article on the page, is it possible to put in a few lines (like google adwords) - 1 before the article 1 after the article?

This would make it much easier than removing all the keywords as I don't want the script to use the rest of the page to base its relevant ads on.

Nikolas
Fri 6 July 2007, 11:33 am GMT +0200
That's not possible but I will add it to the next version (thanks for the nice idea) :)

tpo
Sat 7 July 2007, 12:28 pm GMT +0200
Any idea when the next version will be out?

Nikolas
Sat 7 July 2007, 12:33 pm GMT +0200
I can't say right now, but I think it will be somewhere in the next 1-2 months.

We are going to add some major changes in order to make the script convert more sales, but those things require a lot of time to develop.

tpo
Sun 8 July 2007, 10:52 am GMT +0200
Understandable.
It should be worth the wait. :)

tpo
Wed 11 July 2007, 06:32 pm GMT +0200
What am I doing wrong? I have added a list of keywords to eliminate from the script in settings.php and I still cant get this script working in contextual mode. The ads simply are not relevant to the content.

cstamets
Wed 11 July 2007, 07:39 pm GMT +0200
Have you looked at the actual database through phpMyAdmin or whatever?

I just recently set the script up for the first time and had a similar problem, although it looked like everything was set up fine. When I looked at the data in the database, there were only about 100 items. I updated the database again and things worked much better after that.


Nikolas
Wed 11 July 2007, 07:45 pm GMT +0200
Have you looked at the actual database through phpMyAdmin or whatever?

I just recently set the script up for the first time and had a similar problem, although it looked like everything was set up fine. When I looked at the data in the database, there were only about 100 items. I updated the database again and things worked much better after that.

The update process take a long time to finish. Maybe that was the problem?

tpo
Sat 14 July 2007, 11:08 am GMT +0200
Nope. I just ran the update again (for about the 8th time) and the contextual ads are no more relevant than before. The only difference is that I have more ads in the database.
I do notice though that the most keywords in the contextual part of the database mainly say article & articles but the funny thing is I omitted those words through settings.php.
Also the maintenance I just run after the update show no key words.

Nikolas
Sat 14 July 2007, 01:55 pm GMT +0200
Please give me some time to check this.

Nikolas
Sat 14 July 2007, 08:02 pm GMT +0200
Try to truncate the table first. The maintenance script updates the keywords for a page only if some days pass (regullarly 7 days)

web.nospam
Sat 18 August 2007, 06:47 am GMT +0200
I have the same problem as tpo in Reply #17. Ads are totally irrelevant, and providing default keywords makes no difference. How can I to turn the contextual mode off? The settings.php doesn't provide a clue. Please help.

Nikolas
Sat 18 August 2007, 08:05 am GMT +0200
Just choose keywords in the ad setup, and the script will display ads for these keywords.

BTW contextual mode requires to run the maintenance script in order to get relevant ads.

web.nospam
Sat 18 August 2007, 06:08 pm GMT +0200
Right, I did so, but it doesn't matter. Whether with keywords in the ad setup or without, it still displays marketing and business related ads, though my site is health and wellness related? Can you email me please? I'll give you access details to take a look. Thanks.

Nikolas
Sat 18 August 2007, 09:07 pm GMT +0200
Of course I can take a look. Just pm me the details and I will check it.

Nikolas
Sun 19 August 2007, 11:47 am GMT +0200
web.nospam got your details and I am checking now. It looks like everything is working fine, but the database was not filled (now I am filing it again)

In general when there is no ad for the keywords you want, the script serves random ads.

Archive for SMF v1.00 by N.P. Valid XHTML 1.0 Transitional