Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

OSC-Affiliate


henri

Recommended Posts

I have installed the osc-affiliate V.4 and I am having the same picture problem I have seen throughout this stream, I changed the affiliate config file to type 1 and debug and the pictures show perfectly.

 

How do i get the pictures to show when type is set to type 2 and debug is set to false.

 

Please help I can not afford to loose any more hair. :cry:

 

 

TY

Theo

Share your knowlege and you learn even more !

Link to comment
Share on other sites

define('AFFILIATE_KIND_OF_BANNERS','2');

define('AFFILIATE_SHOW_BANNERS_DEBUG', 'true');

And then open the pic in a new browserwindow.

Then you should the the debug info and you can figure out whats going wrong...

Link to comment
Share on other sites

Hate to be a pest, but when do we get the new code Steve announced? I am having trouble waiting for that, and MS1, and a new loaded, and... I'm on WAIT overload :lol:

 

Seriously, I am very interested in the new code, my affiliate program is growing and I would love to be able to make the announcement to them about the text links and product links.

 

Debbie

[no external urls in signatures please, kthanks]

Link to comment
Share on other sites

I think takes some more days,

the new login is nearly ready, but for the update and new tablestukture i hadn't time today.

Have to do some more stuff.

 

Thank you for the update. I'll try to be patient :)

[no external urls in signatures please, kthanks]

Link to comment
Share on other sites

Is there a way to just show the total clicks vs impressions in a bar graph instead of having the page reference?

Were's a will there's a way...

From the database-part you could have a lot of stats.

(banners per affiliates per day....), but someone must develop them.

And I'm just doing it in my free time. This week my work suffered from this. Just took a break and will concentrate on earning some money.

 

At the moment the osc-conform login and % per affiliate are in the cvs.

On a lot of smaller issues is worked currently. If you look at the cvs updates you see it.

Should take some more days. Warning: Major Database changes happend (and may happen), so i don't recommend to update to the cvs without knowing what you're doing

Link to comment
Share on other sites

I'm waiting for the release, I'm not going to use the CVS. :) I noticed your reference to database changes in a previous post.

 

I'll available for testing also!

 

Debbie

[no external urls in signatures please, kthanks]

Link to comment
Share on other sites

To direct to a category, set up a page for your affiliates to go to that has the code and they just have to change the xxx or other notation to their affiliate number.

 

Debbie

[no external urls in signatures please, kthanks]

Link to comment
Share on other sites

getting some weird errors with the affiliate script when calling banners. I've changed nothing and have already tried debuging the banners and eveything is fine there. but when calling a banner I am getting this error.

 

Warning: Cannot add header information - headers already sent by (output started at /home/huntseek/public_html/gearstore/catalog/includes/affiliate_configure.php:25) in /home/huntseek/public_html/gearstore/catalog/affiliate_show_banner.php on line 49

 

Warning: Cannot add header information - headers already sent by (output started at /home/huntseek/public_html/gearstore/catalog/includes/affiliate_configure.php:25) in /home/huntseek/public_html/gearstore/catalog/affiliate_show_banner.php on line 50

GIF89ax --- after this is the encrypted potion of the banner ---

 

Warning: fclose(): 4 is not a valid File-Handle resource in /home/huntseek/public_html/gearstore/catalog/affiliate_show_banner.php on line 52

 

 

Any ideas as to why? and maybe some to fix it.

Link to comment
Share on other sites

HELP !

 

 

with my file configured like this

the banners work fine .

 

define ('AFFILIATE_KIND_OF_BANNERS','1');

 

 

however

 

 

if i switch to

 

 

define ('AFFILIATE_KIND_OF_BANNERS','2');

 

 

the banners are broken and do not show up.

 

 

this is what it shows when i put in debug mode :

 

 

Check the pathes! 

absolute path to picture: c:/sambar50/docs/stickers/shop//images/banneranimatedwheelchair.gif 

build with: DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG . DIR_WS_IMAGES . $banner 

DIR_FS_DOCUMENT_ROOT c:/sambar50/docs/stickers/shop/ 

DIR_WS_CATALOG / 

DIR_WS_IMAGES images/ 

$banner banneranimatedwheelchair.gif 

SQL-Query used: select affiliate_banners_image, affiliate_products_id from affiliate_banners where affiliate_banners_id = '8' and affiliate_status=1  

Try to find error:   

SQL-Query: Got Result 

Locating Pic c:/sambar50/docs/stickers/shop//images/banneranimatedwheelchair.gif

success

 

 

it shows sucesss but the image is broken

 

if i change back to a 1. like this :

 

 

define ('AFFILIATE_KIND_OF_BANNERS','1');

 

then it works .........

 

 

what is going on .....

 

 

here is my config from the catalog side .

 

 

 

<?php

/*

 osCommerce, Open Source E-Commerce Solutions

 http://www.oscommerce.com



 Copyright (c) 2002 osCommerce



 Released under the GNU General Public License

*/



// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

 define('HTTP_SERVER', 'http://www.mydomain.com/shop');

 define('HTTPS_SERVER', 'https://www.mydomain.com/shop');

define('ENABLE_SSL', 'true'); // secure webserver for checkout procedure?

 define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module

 define('DIR_WS_CATALOG', '/'); // absolute path required

 define('DIR_WS_IMAGES', 'images/');

 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

 define('DIR_WS_INCLUDES', 'includes/'); // If "URL fopen wrappers" are enabled in PHP (which they are in the default configuration), this can be a URL instead of a local pathname

 define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

 define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

 define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

 define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

 define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');



 define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');

 define('DIR_FS_DOCUMENT_ROOT', 'c:/sambar50/docs/stickers/shop/');

 define('DIR_FS_CATALOG', 'c:/sambar50/docs/stickers/shop/');

 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');



define('DIR_WS_SPG_SHIPPING', DIR_WS_MODULES . 'spg_shipping/');



// define our database connection

 define('DB_SERVER', 'localhost'); // eg, localhost - should not be NULL for productive servers

 define('DB_SERVER_USERNAME', 'xxxxxx');

 define('DB_SERVER_PASSWORD', 'xxxxxxxxx');

 define('DB_DATABASE', 'xxxxxxx');

 define('USE_PCONNECT', 'true'); // use persistent connections?

 define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

?>

 

 

 

can someone please help !

Link to comment
Share on other sites

First you have //

Remove the last slash of document root

 

You bannername is: banneranimatedwheelchair.gif?

 

after this deactivate the debugmodus.

 

If it then it doesn't work it may be a problem with your Webserver (samba) and OS.

I only tested it under Linux / Apache

Link to comment
Share on other sites

hello all,

 

i had the affiliate working great, but now when i create an account at affiliate_signup.php i get redirected to another blank affiliate_signup.php page. no message, and no account created. anyone have any ideas?

 

thanks for the great module.

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...