Jump to content
henri

OSC-Affiliate

Recommended Posts

I second this. I think it would be a great addition. Anyone know how to do this with the existing one release?

 

i'm pretty new to oscommerce *2weeks?*, but i just installed oscaffiliate_vs_1.09_MS2. i think it's a great contribution. many thanks to all who have been working on it. prior to installing, my girlfriend an i had thought or searching for a referal program, and then i found the oscaffiliate. i'm totally unfamiliar with php and all nonhtml coding.. so i ask.. would anyone be able to make a couple additions to the banner concept, would it be possible to integrate a function so that buyers can just enter in a referal # in the order confirmation box? rathern then links. i think it would be a good addition for all these people that are too lazy to take a banner, do the html and all that. this way just talking to someone saying "yeah use my referal number" can earn them credit. also... in the current system, it allows the affiliate to be paid certain ways. check, paypal, i forgot what else. would it be possible to add an option that would allow that person to use that credit as a paying option for items purchased? naturally the current credit would be deducted from what they have. if anyone is able to work this in, i'm sure more then just myself would be pleased. thanks again to all those who have dedicated their efforts to making this contribution available to those of us lacking in the coding dept.

Share this post


Link to post
Share on other sites

I read most of the 50+ pages. and didn't get what I am looking for. The mod is great and I installed it sucessfully.

But is it possible for a customer to put the affiliate's email on the checkout page when they place an order , something like "your referral's email: ". then the order will be credited to the affiliate's account automatically.

Please help! This would be great if a store has several sale reps, and they can get their commission without sending out the links or banners.

Share this post


Link to post
Share on other sites

is it a bug in the code?

 

After I installed osaffiliate modul and tested it on several computers I found something interesting.

I use Norton Internet Security (firewall) on my computer and when it enabled I have a problem with registering new affiliate. I fill all of required field in sugnup page and push "continuie". And now... oops, I get

Error! Unable to determine the page link!

After about 4 days of reading out the code and reinstolling the script and what not I found, if I disable Norton Internet Security the script works.

The thing drave me crazy! I cut hair form my bald spot...

 

Anybody tried to test it with another kind of firewall?

Share this post


Link to post
Share on other sites

When testing the banner display (on an MS2 install) if I use option 2 (click tracking) the image is always broken.

 

I managed to fix all the variables in affiliate_show_banner.php that were not MS2 compliant, so that when debugging the banner display, all the paths and URL's are correct. Everything checks out during debugging except the last check:

 

 

When direct linking the banner (option 1), the banner displays properly. It will not display when using affiliate_show_banner.php.

 

Any ideas? Thanks for any help!

Share this post


Link to post
Share on other sites

Have you sent the fixed code to Henri so he can update the package eeasily?

 

Folks, when you debug something it might be nice to send the fixed code to the author, with notes about what was fixed, so they can update the package available to others instead of having many people have to go and make the same changes :)


[no external urls in signatures please, kthanks]

Share this post


Link to post
Share on other sites

Deborah, it is 'Not Quite' fixed. Hence the post. I am looking for a little help in getting it working right. :)

 

Once I get it working, you can bet I will share it with everyone, but it is a little pointless, since my 'Fixes' still don't actually fix anything yet. The thing that was broke before I started meddling is still broke. :)

Share this post


Link to post
Share on other sites

for some reson when a affiliate cliks logon and goes to the ssl server they hget this error

 

 

 

Warning: main(includes/languages/english/FILENAME_AFFILIATE) [function.main]: failed to create stream: No such file or directory in D:DomainsDiscountSkateShop.comSSLaffiliate_affiliate.php on line 45

 

Fatal error: main() [function.main]: Failed opening required 'includes/languages/english/FILENAME_AFFILIATE' (include_path='.;c:php4pear') in D:DomainsDiscountSkateShop.comSSLaffiliate_affiliate.php on line 45

 

please help you can see at https://web10.trustauthority.net/DiscountSk...e_affiliate.php

Share this post


Link to post
Share on other sites

I could be wrong, but based upon this error you are getting:

 

Warning: main(includes/languages/english/FILENAME_AFFILIATE)

 

It appears as though you do not have the FILENAME_AFFILIATES defined in your english/default.php file.

 

Looks like if you correct this it should clear up either part of your problem or all of it.

 

Good luck!


Sincerely,

Bruce

 

19 contributions submitted

Share this post


Link to post
Share on other sites

Hi

 

Can someone help me please.

 

Os affilaite is installed on my website. I cretaed a bogus affiliate link, made purchases however no sales totals are being registered in the stats.

 

Has anyone got any idea how i can fix this.

 

Thanks

Share this post


Link to post
Share on other sites

Is this Contribution compatible with osC 2.2 MS2?


Samuel Mateo, Jr.

osC 2.2 MS2

Installed Mods:

WYSIWYG HTMLArea 1.7 | Basic Template System 1.0 | osC-Affiliate | OSC-SupportTicket

Featured Products 1.3 | LoginBox 5.2 | LatestNews 1.1.3 | Extras for IE

Share this post


Link to post
Share on other sites

Nevermind, Found the answer!


Samuel Mateo, Jr.

osC 2.2 MS2

Installed Mods:

WYSIWYG HTMLArea 1.7 | Basic Template System 1.0 | osC-Affiliate | OSC-SupportTicket

Featured Products 1.3 | LoginBox 5.2 | LatestNews 1.1.3 | Extras for IE

Share this post


Link to post
Share on other sites

Q: The Build A Link Feature is to complicated

A: You can insert a link for the affiliate in the product_info.php:

 

below is the code i used on lines 210-219

<tr>

<tr>

  <td>

       <?php

 if (tep_session_is_registered('affiliate_id')) {

	 ?>

         <a href="<? echo tep_href_link(FILENAME_AFFILIATE_BANNERS,"individual_banner_id=".$product_info_values['products_id']); ?>"><?php echo tep_image_submit('button_affiliate_build_a_link.gif', IMAGE_BUILD_A_LINK); ?></a>

	 <?php

 }

       ?>

which doesn't work could some help with the code so the build a link will work correctly as of now when click build a link no product is listed


Signs of desperation wishing, hoping, praying, crossing fingers, toes, arms, legs, crossing eye?s, now tied in knots and can?t see if it did work. Is there a chiropractor available.

Share this post


Link to post
Share on other sites

Hi guys,

 

just installed the osc affiliate on my MS2 release demo store. Found some of the same things.

 

Don't know if anyone else posted this elsewhere, but there is seemingly a problem in affiliate_show_banner.php which causes the banner images not work.

 

Tracked it down to this line:

 

$pic = DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG . DIR_WS_IMAGES . $banner;

 

DIR_FS_DOCUMENT_ROOT constant doesn't seem to exist anymore in MS2, so I changed the line to:

 

$pic = DIR_FS_CATALOG . DIR_WS_IMAGES . $banner;

 

and now the images appear :D

 

Cheers,

 

 

Mark

Share this post


Link to post
Share on other sites
Hi

 

Can someone help me please.

 

Os affilaite is installed on my website. I cretaed a bogus affiliate link, made purchases however no sales totals are being registered in the stats.

 

Has anyone got any idea how i can fix this.

 

Thanks

 

i have the same problem:( please help Thanks

Share this post


Link to post
Share on other sites

Please dont bump topics, it hasnt even been 24 hrs yet. People are busy and it is the weekend, give it at least 24 hrs before posting again with more info.


Feel free to ask me for help

beep... beep....My Pager

Share this post


Link to post
Share on other sites

Hi,

 

I am having problems with the images displaying & other questions.

 

1. When I build a link on the http://www.justdofit.com/affiliate_banners.php page it gives the code but the image doesn't show...just a box with a red x in it.

I saved the page to my harddrive to look at the code and this is all there is:

<img src="http://www.justdofit.com/images/" border="0" alt="Electronic Inversion System"> which clearly shows the image name is not in there.

 

2. In affiliate_configure.php if I set:

define('AFFILIATE_KIND_OF_BANNERS','1');

define('AFFILIATE_SHOW_BANNERS_DEBUG', 'false');

define('AFFILIATE_SHOW_BANNERS_DEFAULT_PIC', '');

to 1 the banner images show up on the http://www.justdofit.com/affiliate_banners.php page.

 

If I set it to "2" with the same settings the banner doesn't show up on the

http://www.justdofit.com/affiliate_banners.php page.

 

I have changed the affiliate_show_banner.php according to the forum:

$pic = DIR_FS_CATALOG . DIR_WS_IMAGES . $banner;

on line 75 and line 124 to see if it would work and it doesn't.

 

Does anyone have a solution for this? It is on a live site.

 

With the setting at "1" where the banner is showing as above the click thrus & sales show up and also in the admin. When product is delivered the sales show up in the affiliate section of the store for that particular affliate.

 

3. How does the payment report work? The sales show in the admin but no payments. I put "all payments" in the drop down box and click on "start billing" and get this message:

"Your Affiliates have been sucessfully billed" but no email so how does this work?

 

4. How do you change the commission rate of each individual affiliate or is this possible?

 

Thanks!

Share this post


Link to post
Share on other sites
4.  How do you change the commission rate of each individual affiliate or is this possible?

You can change the global settings in the Configuration section of the Admin. Should be right under Sessions.

 

You can change individual percentages when you select an affiliate member and select edit.


Samuel Mateo, Jr.

osC 2.2 MS2

Installed Mods:

WYSIWYG HTMLArea 1.7 | Basic Template System 1.0 | osC-Affiliate | OSC-SupportTicket

Featured Products 1.3 | LoginBox 5.2 | LatestNews 1.1.3 | Extras for IE

Share this post


Link to post
Share on other sites
ahy one ???? :?:

Which version of osC are you running and which version of osC-Affiliate did you download?

 

If you follow the instruction correctly for osC 2.2 MS2 and osC-Affiliate 1.09 for MS2 you should be all set. I myself had a problem but it was that I did not upload one file. Make sure you have followed the instruction correctly.


Samuel Mateo, Jr.

osC 2.2 MS2

Installed Mods:

WYSIWYG HTMLArea 1.7 | Basic Template System 1.0 | osC-Affiliate | OSC-SupportTicket

Featured Products 1.3 | LoginBox 5.2 | LatestNews 1.1.3 | Extras for IE

Share this post


Link to post
Share on other sites
2. In affiliate_configure.php if I set:

define('AFFILIATE_KIND_OF_BANNERS','1');

define('AFFILIATE_SHOW_BANNERS_DEBUG', 'false');

define('AFFILIATE_SHOW_BANNERS_DEFAULT_PIC', '');

to 1 the banner images show up on the http://www.justdofit.com/affiliate_banners.php page.

 

If I set it to "2" with the same settings the banner doesn't show up on the

http://www.justdofit.com/affiliate_banners.php page.

 

I have changed the affiliate_show_banner.php according to the forum:

$pic = DIR_FS_CATALOG . DIR_WS_IMAGES . $banner;

on line 75 and line 124 to see if it would work and it doesn't.

 

I have exactly the same problem when I installed this mod today, can any body help??

Share this post


Link to post
Share on other sites

Hi all,

 

somethings just come to me here which might be relevant and then again it might not....

 

I remember that when I first installed MS2 I found that there was a .htaccess file causing me problems. I think the purpose was to stop any of the files in and below the /catalog/includes folder being loaded into a browser directly, but they were causing problems with one of my contribs and so I changed them.

 

I just wonder if this is why I am not seeing the problems that others are where osC Affiliate is concerned?

 

Like I say, could be a red herring, but worth a look!

 

Mark

Share this post


Link to post
Share on other sites
I remember that when I first installed MS2 I found that there was a .htaccess file causing me problems. I think the purpose was to stop any of the files in and below the /catalog/includes folder being loaded into a browser directly, but they were causing problems with one of my contribs and so I changed them.

 

I just wonder if this is why I am not seeing the problems that others are where osC Affiliate is concerned?

 

Like I say, could be a red herring, but worth a look!

 

Hi Mark,

Thanks for your suggestions. I tried that, but it is still not working.

 

There is also one more bug I found out now:

 

When somebody click the affiliate link, the page loaded have very funy layout. The main table in the middle seems to have a width of around 60% only. But if you click from the main catalog index page, the layout is normal.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×