28, May 2012

Help with the clickbank contextual script pls - webmaster forum

 
Webdigity webmaster forums
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  WebDigity Community  >  HumanWorks network news & feedback  >  Clickbank Contextual Script Support
Topic: Help with the clickbank contextual script pls
« previous next »
Pages: [1] 2 Print
Instabuck - The easy way to sell digital products online

Author Topic: Help with the clickbank contextual script pls  (Read 3745 times)
I love Pokemon
*
Posts: 13
86 credits
Members referred : 0


« on: Jun 29, 2007, 01:55:56 pm »

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

Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #1 on: Jun 29, 2007, 03:11:06 pm »

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

I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5799
46391 credits
Members referred : 3



« Reply #2 on: Jul 02, 2007, 04:05:51 pm »

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.

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
I love Pokemon
*
Posts: 13
86 credits
Members referred : 0


« Reply #3 on: Jul 03, 2007, 11:05:09 pm »

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?


I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5799
46391 credits
Members referred : 3



« Reply #4 on: Jul 03, 2007, 11:09:30 pm »

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.

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
I love Pokemon
*
Posts: 13
86 credits
Members referred : 0


« Reply #5 on: Jul 04, 2007, 12:25:02 am »

I know I replaced the file.

whats the best way to send you my ftp info?

I hope you can fix it.
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5799
46391 credits
Members referred : 3



« Reply #6 on: Jul 04, 2007, 07:52:37 am »

You can pm the info here. Don't worry about the problem it will be fixed Smiley

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
I love Pokemon
*
Posts: 13
86 credits
Members referred : 0


« Reply #7 on: Jul 05, 2007, 08:19:09 pm »

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?
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5799
46391 credits
Members referred : 3



« Reply #8 on: Jul 05, 2007, 08:40:09 pm »

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.

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
I love Pokemon
*
Posts: 13
86 credits
Members referred : 0


« Reply #9 on: Jul 06, 2007, 10:15:02 am »

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.
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5799
46391 credits
Members referred : 3



« Reply #10 on: Jul 06, 2007, 11:33:37 am »

That's not possible but I will add it to the next version (thanks for the nice idea) Smiley

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
I love Pokemon
*
Posts: 13
86 credits
Members referred : 0


« Reply #11 on: Jul 07, 2007, 12:28:28 pm »

Any idea when the next version will be out?
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5799
46391 credits
Members referred : 3



« Reply #12 on: Jul 07, 2007, 12:33:26 pm »

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.

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
I love Pokemon
*
Posts: 13
86 credits
Members referred : 0


« Reply #13 on: Jul 08, 2007, 10:52:50 am »

Understandable.
It should be worth the wait. Smiley
I love Pokemon
*
Posts: 13
86 credits
Members referred : 0


« Reply #14 on: Jul 11, 2007, 06:32:47 pm »

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.
Just another rainy day
*
Posts: 1
6 credits
Members referred : 0


« Reply #15 on: Jul 11, 2007, 07:39:25 pm »

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.

I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5799
46391 credits
Members referred : 3



« Reply #16 on: Jul 11, 2007, 07:45:58 pm »

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?

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
I love Pokemon
*
Posts: 13
86 credits
Members referred : 0


« Reply #17 on: Jul 14, 2007, 11:08:13 am »

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.
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5799
46391 credits
Members referred : 3



« Reply #18 on: Jul 14, 2007, 01:55:53 pm »

Please give me some time to check this.

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5799
46391 credits
Members referred : 3



« Reply #19 on: Jul 14, 2007, 08:02:59 pm »

Try to truncate the table first. The maintenance script updates the keywords for a page only if some days pass (regullarly 7 days)

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=6863
Tags : help clickbank contextual scrip curl Bookmark this thread : Digg Del.icio.us Dzone more....

Pages: [1] 2 Print 
Webdigity Webmaster Forums  >  WebDigity Community  >  HumanWorks network news & feedback  >  Clickbank Contextual Script Support
Topic: Help with the clickbank contextual script pls
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 10:03:52 pm





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!






Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2012 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.