Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

OSC-Affiliate


henri

Recommended Posts

Hmmmm, strange.

 

It's all right on mine. Did you put in the fix for the missing </table> tag in index.php?

 

 

http://www.oscommerce.com/community/contributions,1452

 

 

Mark

Link to comment
Share on other sites

I changed (in affiliate_show_banner.php)

 

$pic = DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG .

DIR_WS_IMAGES . $banner;

 

to

 

$pic = DIR_FS_CATALOG . DIR_WS_IMAGES . $banner;

 

and (affiliate_banners.php)

 

<img src="' . HTTP_SERVER . DIR_WS_CATALOG .

FILENAME_AFFILIATE_SHOW_BANNER . '?ref=' .

$affiliate_id . '&affiliate_pbanner_id=' .

$individual_banner_id . '" border="0" alt="' .

$affiliate_pbanners['products_name'] . '">

 

to

 

<img src="' . HTTP_SERVER . DIR_WS_HTTP_CATALOG .

FILENAME_AFFILIATE_SHOW_BANNER . '?ref=' .

$affiliate_id . '&affiliate_pbanner_id=' .

$individual_banner_id . '" border="0" alt="' .

$affiliate_pbanners['products_name'] . '">

 

but it still not works

Link to comment
Share on other sites

Hi Henri,

Me again :)

Hey I tested the forgot password feature and did not get an email with the new password.

 

Is this an issue that was brought up already?

 

I'm working right now so I did not want to read through the 60 or so pages in this thread. :roll:

 

Thanks. :D

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

Link to comment
Share on other sites

Hi Henri,

Me again :)  

Hey I tested the forgot password feature and did not get an email with the new password.  

 

Is this an issue that was brought up already?  

 

I'm working right now so I did not want to read through the 60 or so pages in this thread. :roll:  

 

Thanks. :D

 

that is why there is a search function :)

[no external urls in signatures please, kthanks]

Link to comment
Share on other sites

I had problems with the affiliate_show_banner.php files. My banner image would not show.

I did turn on the debug by editing the ..../catalog/includes/affiliate_configure.php file.

 

Then type

http://www.yourdomain.com/catalog/affiliat...ate_banner_id=Y

assuming that your catalog dir = catalog

and X and Y should come from your

http://www.yourdomain.com/catalog/affiliat...ate_banners.php

page where you do NOT see the image.

 

 

OK, when you browse to

http://www.yourdomain.com/catalog/affiliat...ate_banner_id=Y , you will see a nice table that explains the SQL run to figure out the img src and the path for it.

 

In my case, I was missing

 

 

DIR_FS_DOCUMENT_ROOT and

DIR_WS_CATALOG

variables in my configuration file.

 

hope this helps.

GALATASARAY RULES!

ultrAslan - ultrAslan - ultrAslan

Link to comment
Share on other sites

I have read through this post and tried many of the "fixes" that worked for people, but none work for me!

 

When I use Option 2 for the affiliate banners, I get broken images. When I debug, I get:

 

DIR_FS_DOCUMENT_ROOTDIR_WS_CATALOGimages/SWebicon.gif

failed

 

So it's not interpreting the variables, but I have them defined correctly in the configure.php page.

 

Can anyone help me out here? Using 1.09 of the affiliate module and 2.2 of the script.

 

Thanks,

Tara Lang

Link to comment
Share on other sites

I added this to my config file, and now the banner image debug is successful:

 

define('DIR_FS_DOCUMENT_ROOT','/home/user/www');

define('DIR_WS_CATALOG ', '/catalog/');

 

Banners are showing, Yipee!

 

Thanks for looking! :D

Tara Lang

Link to comment
Share on other sites

Hi Henri,

Me again :)  

Hey I tested the forgot password feature and did not get an email with the new password.  

 

Is this an issue that was brought up already?  

 

I'm working right now so I did not want to read through the 60 or so pages in this thread. :roll:  

 

Thanks. :D

 

that is why there is a search function :)

OKay, I searched and did not find an answer. :roll: Could somebody help me out here?

 

Thanks. :)

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

Link to comment
Share on other sites

Nevermind. It seems to be working now. :roll:

 

Thanks

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

Link to comment
Share on other sites

Hello,

 

I have installed osc Affiliate and am having trouble getting the pages to load. For some reason, my install cannot seem to find the /languages/english/ folder.

 

All of my URLs are coming up like this:

I have played with application_top and affiliate_application_top to no avail.

Hard coding the language path works, but isn't good style. Any ideas?

 

Thanks!

BTW: if someone can solve this for me, I'll give you a $10 gift voucher for my store!

Link to comment
Share on other sites

The module is working like a fresh oiled engine ;)

One question though; I have looked at the configuration table, and realized that there are possiblities of having multi tier commissions.

Also in the admin section, one can assign different commission levels to affiliates.

I set up one test affiliate @ 4%, but the guy is still getting 10%.

Also, is there documentation on how the multi tier works?

 

 

Thanks and Regards.

 

Mehmet.

GALATASARAY RULES!

ultrAslan - ultrAslan - ultrAslan

Link to comment
Share on other sites

I am currently attempting to get OSCAffiliate working on a site.

 

http://lewisproject.com/shop/catalog/

 

It is still the default store so I don't have a lot of other mods installed. The only other mod installed is EasyPoplulate

 

My problem comes in after logging in as an affiliate. If I check the clickthrough report or sales report. I get the following warnings:

 

Warning: Missing argument 3 for splitpageresults() in /home/lewis/wwwroot/lewisproject.com/shop/catalog/includes/classes/split_page_results.php on line 24

 

Warning: Missing argument 4 for splitpageresults() in /home/lewis/wwwroot/lewisproject.com/shop/catalog/includes/classes/split_page_results.php on line 24

 

I have tracked it to this line in affiliate_clicks.php:

 

$affiliate_clickthroughs_split = new splitPageResults($affiliate_clickthroughs_raw, MAX_DISPLAY_SEARCH_RESULTS);

 

I believe the problem is actually two fold. First, there are only two arguments. Secondly, it appears that the two that are there are in the wrong order.

 

The "$affiliate_clickthroughs_raw" is the sql_query and according to the split_page_results.php file should be the third argument.

 

Can someone tell me what that line should be? It is in fact line 24 in the affiliates_click.php file.

 

All help is appreciated.

Link to comment
Share on other sites

@David wrong combination of Affiliate and OSC user affiliate MS2 for OSC MS2 or older Affiliate for older OSC...

 

 

>Also in the admin section, one can assign different commission levels to affiliates.

>I set up one test affiliate @ 4%, but the guy is still getting 10%.

If default commision is higher it is used.

 

>Also, is there documentation on how the multi tier works?

Read the announcement from me somewhere in this thread

Link to comment
Share on other sites

@David wrong combination of Affiliate and OSC user affiliate MS2 for OSC MS2 or older Affiliate for older OSC...

 

I got this copy from Sourceforge. The readme says that it is compatible with 2.2 MS1.

 

Where can I find other versions of affiliate?

 

How do I actually determine which version of OSC I have? I thought that I had OSC 2.2 MS1

Link to comment
Share on other sites

@David wrong combination of Affiliate and OSC user affiliate MS2 for OSC MS2 or older Affiliate for older OSC...

 

I got this copy from Sourceforge. The readme says that it is compatible with 2.2 MS1.

 

Where can I find other versions of affiliate?

 

How do I actually determine which version of OSC I have? I thought that I had OSC 2.2 MS1

 

Well, I searched around more and finally found the other versions. If you have the time to answer the second question for me it would be appreciated. I have tried to determine the version I am working with for quite some time with no luck.

 

Thanks

Link to comment
Share on other sites

Hi Guys

 

I hope I post it at the right spot, if not feel free to move it.

I have installed osc affiliate and it was nice and smoth. One of the nice add on that make it easier when you ever should decide to update osc or in case you do not want to use this mod any longer the removing is fast and easy

 

Great job

 

Still have to test it if it does run with the Japanese language. Do to the customer of the store I had to use os 2.2ms1japanese. The people on this side of osc made some changes due to the language needs, for that reason I have to see if it is working fine - which I expect.

 

I like to know where I can find Terms&Conditions for the affiliate programm and the FAQ as well. I am hoping that some one has written it down and made it avaliable for the others, so where should I look or post the question if not here???

 

After I made it work and intergrated it in the store I will post the Japanese language addition or pm the programmer of osc affiliate.

 

take care

 

Rich

Link to comment
Share on other sites

I installed Osaffiliate 1.0.9 on M2. But I keep getting a lockout on my admin for my affiliates when I try to delete an affiliate. This is what I get:

 

1044 - Access denied for user: 'discount_martin@localhost' to database 'discount_discount'

LOCK TABLES affiliate_affiliate WRITE

[TEP STOP]

 

How do I get this to work, or have control over deleting my affiliates.

 

Thanks,

 

Martin

Link to comment
Share on other sites

Hello there. I skimmed through this huge listing. I am interested in installing it but I am wondering what people feel about this contribution. Is version 1.09 stable or do you think that I will have a ton of problems with it?

 

What do people think about the contribution?

 

Cheers,

 

David

Link to comment
Share on other sites

Hello there. I skimmed through this huge listing. I am interested in installing it but I am wondering what people feel about this contribution. Is version 1.09 stable or do you think that I will have a ton of problems with it?

 

What do people think about the contribution?

 

Cheers,

 

David

Hi Flanders,

the contribution is stable. I like it. After installing all the patches and reading through the thread you should be all set. Have not had a problem since fixing the bugs.

 

HTH,

 

 

Homer (LOL :D )

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

Link to comment
Share on other sites

Hello all. Got the bugs worked out and all seems to be working fine.

 

I was wondering if there is a way that you can turn the commission rate off for a specific product. Or, is there a way to increase the commission rate for a certain item?

 

Love this module! :lol:

 

Cheers,

 

David

Link to comment
Share on other sites

Greetings !

 

I have installed the affiliate module.

 

it runs smooth but at the moment i have one error. In administration, when i try to insert a banner for the affiliate, it works fine.

 

then when an affiliate log in and try to get the banner, the link works fine, but there is no image.

 

i check again in administration site, the banner is there.

 

anyone please help me.

 

the URL is http://www.sarahgifts.com

 

thank you for your cooperation in advanced.

 

SarahGifts.com

Link to comment
Share on other sites

THere are several solutions for this. Jump back about 10 pages or so to where they start talking about it. It should get you going.

 

Now, I am just waiting for my question above to get answered. Keeping my fingers crossed...

 

Cheers,

 

David

Link to comment
Share on other sites

  • 2 weeks later...

i was looking for a way to list the products so a client could select which one

he would like to build a link to. i was looking the credit class gift voucher contribution which had a file validproducts.php which i copied to the catalog side

 

now i have a nice little popup window with products listing

 

if you dont have the credit class gift voucher installed you can download from here

http://www.oscommerce.com/community/contributions,282

 

 

add to the /catalog/ affiliate_banners.php

after line 71 the following

 

<tr>
       <td class="smallText" align="center"><?php echo TEXT_AFFILIATE_INDIVIDUAL_BANNER_VIEW?><A HREF="validproducts.php" TARGET="_blank" ONCLICK="window.open('validproducts.php', 'Valid_Products', 'scrollbars=yes,resizable=yes,menubar=yes,width=600,height=600'); return false">Click To View</A></td>
     </tr>
     <tr>

 

add the following to each affiliate language file

/catalog/includes/languages

 

affiliate_english.php

define('TEXT_VALID_PRODUCTS_LIST', 'Products List');
define('TEXT_VALID_PRODUCTS_ID', 'Products ID');
define('TEXT_VALID_PRODUCTS_NAME', 'Products Name');
define('TEXT_VALID_PRODUCTS_MODEL', 'Products Model');

 

 

affiliate_spanish.php

define('TEXT_VALID_PRODUCTS_LIST', 'Lista de Productos');
define('TEXT_VALID_PRODUCTS_ID', 'Productos ID');
define('TEXT_VALID_PRODUCTS_NAME', 'Nombre de Productos');
define('TEXT_VALID_PRODUCTS_MODEL', 'Modelo de Productos');

 

affiliate_french.php

define('TEXT_VALID_PRODUCTS_LIST', 'Liste De Produits');
define('TEXT_VALID_PRODUCTS_ID', 'Identification De Produits');
define('TEXT_VALID_PRODUCTS_NAME', 'Nom De Produits');
define('TEXT_VALID_PRODUCTS_MODEL', 'Mod?le De Produits');

 

affiliate_german.php

define('TEXT_VALID_PRODUCTS_LIST', 'Produktl iste');
define('TEXT_VALID_PRODUCTS_ID', 'Produkt ID');
define('TEXT_VALID_PRODUCTS_NAME', 'Produkt name');
define('TEXT_VALID_PRODUCTS_MODEL', 'Produkt modelll');

 

add to the /catalog/includes/ affiliate_application_top.php

 

define('FILENAME_VALIDPRODUCTS', 'validproducts.php');

 

edit the file /catalog/includes/languages/english/affilliate_banners.php

add the following

 

define('TEXT_AFFILIATE_INDIVIDUAL_BANNER_VIEW', 'Select the product number from the popup window and enter the number in the Build A Link field.');

 

 

edit the file /catalog/includes/languages/spanish/affilliate_banners.php

add the following

 

define('TEXT_AFFILIATE_INDIVIDUAL_BANNER_VIEW', 'Seleccione el n?mero de producto de la ventana popup y entre en el n?mero en el Construir un campo de Eslab?n.');

 

edit the file /catalog/includes/languages/german/affilliate_banners.php

add the following

 

define('TEXT_AFFILIATE_INDIVIDUAL_BANNER_VIEW', 'W?hlen Sie die Produktzahl aus dem popup Fenster aus und gehen Sie in die Zahl in Bauen Ein Kettfeld ein.');

 

 

edit the file /catalog/includes/languages/french/affilliate_banners.php

add the following

 

define('TEXT_AFFILIATE_INDIVIDUAL_BANNER_VIEW', 'Choisissez le nombre de produit ? partir de la fen?tre de popup et ?crivez le nombre dans la construction une zone de liaison.');

 

not sure if the language translations are correct but it a start

Link to comment
Share on other sites

  • 2 weeks later...

I have started lurking around again. :)

 

I just had a few family problems that caused me to be not here.

 

A fully worked up version of the affiliate module will be available in a day or two. I am just finishing the debug now.

 

(note this is a loaded up version based on what Henri and everyone else has achieved so far, its not the CVS version, but it is designed to work fully with MS2)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...