--- D:/Web Pages/Mingle Easy/drupal-5.19/sites/all/modules/uc_affiliate2/uc_affiliate2.module-old Fri Aug 14 12:36:50 2009
+++ D:/Web Pages/Mingle Easy/drupal-5.19/sites/all/modules/uc_affiliate2/uc_affiliate2.module Fri Aug 14 12:49:25 2009
@@ -66,7 +66,7 @@
'type' => MENU_LOCAL_TASK
);
$items[] = array(
- 'path' => 'affiliate',
+ 'path' => 'me',
'callback' => 'uc_affiliate2_click',
'access' => user_access('access content'),
'type' => MENU_CALLBACK
@@ -370,7 +370,7 @@
foreach ($banners as $banner) {
$banner = '<'. $banner;
- $banner_link = l($banner, 'affiliate/'. $user->name, array(), NULL, NULL, TRUE, TRUE);
+ $banner_link = l($banner, 'me/'. $user->uid, array(), NULL, NULL, TRUE, TRUE);
$data['banner_preview'][] = $banner;
$data['banner_code'][] = '';
@@ -424,7 +424,7 @@
}
$product->path = (!$product->path) ? 'node/'. $product->nid : $product->path;
- $link = $GLOBALS['base_url'] .'/affiliate/'. $user->name .'/'. $product->path;
+ $link = $GLOBALS['base_url'] .'/me/'. $user->uid .'/'. $product->path;
if (empty($product->field_image_cache[0]['filepath'])) {
$image = 'N/A';
@@ -1023,10 +1023,10 @@
$output .= '