Forums / Addon Sideboxes / Link Manager 3.0 Support Thread

Link Manager 3.0 Support Thread

Views: 488,107

Results 221 to 240 of 1,988
6 Apr 2007, 5:39 PM
#221
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Link Manager 3.0 Support Thread

Using the categories does not allow "direct linking" (which is what I believe you are referring to)

I'll try to address this issue in a future release.

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

6 Apr 2007, 8:01 PM
#222
tamya avatar

tamya

Zen Follower

Join Date:
Feb 2007
Posts:
336
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

Clyde, was that an answer to my previous post or someone else?
if it is for me, is there a work around until the next release? Thanks.

6 Apr 2007, 8:22 PM
#223
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Link Manager 3.0 Support Thread

TamyA:

Clyde, was that an answer to my previous post or someone else?
if it is for me, is there a work around until the next release? Thanks.

Sorry, Without a complete re-write there isn't a workaround at this time.

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

9 Apr 2007, 9:37 PM
#224
cjcrafts avatar

cjcrafts

New Zenner

Join Date:
Apr 2007
Posts:
43
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

:lamo: I installed the 3.1 release today, seems to work fine, except when I try to send email to my link owners.

I get the following error:

Warning: Invalid argument supplied for foreach() in /home/cjcrafts/public_html/includes/functions/functions_email.php on line 387

Warning: Cannot modify header information - headers already sent by (output started at /home/cjcrafts/public_html/includes/functions/functions_email.php:387) in /home/cjcrafts/public_html/admin/includes/functions/general.php on line 34

Any help or insight you all can provide would be greatly appreciated.

Steve,
http://www.cjcrafts.com

10 Apr 2007, 1:34 AM
#225
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Link Manager 3.0 Support Thread

cjcrafts:

:lamo: I installed the 3.1 release today, seems to work fine, except when I try to send email to my link owners.

I get the following error:

Warning: Invalid argument supplied for foreach() in /home/cjcrafts/public_html/includes/functions/functions_email.php on line 387

Warning: Cannot modify header information - headers already sent by (output started at /home/cjcrafts/public_html/includes/functions/functions_email.php:387) in /home/cjcrafts/public_html/admin/includes/functions/general.php on line 34

Any help or insight you all can provide would be greatly appreciated.

Steve,
http://www.cjcrafts.com

Try the fixes in this thread:

www.zen-cart.com/forum/showthread.php?t=60147&highlight=Warning%3A+Invalid+argument+supplied+foreach%28%29+line+387

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

10 Apr 2007, 10:31 AM
#226
titangen avatar

titangen

Zen Follower

Join Date:
May 2005
Location:
Brussels belgium
Posts:
177
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

Hi,

I've make a fresh install of this module and I received this error message when I update a
link

1062 Duplicate entry '1-1' for key 1
in:
[update links_to_link_categories set link_categories_id = '1' where links_id = '1']
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

also I can't update the status for the link in admin (no options- bank)

Could you help me?

Have a nice day

chris:dontgetit

Zen cart or nothing !!

10 Apr 2007, 1:31 PM
#227
cjcrafts avatar

cjcrafts

New Zenner

Join Date:
Apr 2007
Posts:
43
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

clydejones:

Try the fixes in this thread:

www.zen-cart.com/forum/showthread.php?t=60147&highlight=Warning%3A+Invalid+argument+supplied+foreach%28%29+line+387

Thanks Clyde,

That got it up and running again, however I have a spin off problem now..

When I send a email message to a link partner

It sends the email header stuff
It sends the subject line

but, where the message text should be in the email, it only displays:

$EMAIL_MESSAGE_HTML

:frusty:

The regular admin send email feature is working fine, just for FYI.

10 Apr 2007, 4:10 PM
#228
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Link Manager 3.0 Support Thread

titangen:

Hi,

I've make a fresh install of this module and I received this error message when I update a
link

1062 Duplicate entry '1-1' for key 1
in:
[update links_to_link_categories set link_categories_id = '1' where links_id = '1']
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

also I can't update the status for the link in admin (no options- bank)

Could you help me?

Have a nice day

chris:dontgetit

which of the three links screens are you referring to.

Links
Links Categories
Links Contact

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

10 Apr 2007, 5:43 PM
#229
titangen avatar

titangen

Zen Follower

Join Date:
May 2005
Location:
Brussels belgium
Posts:
177
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

In admin only links page

...

Zen cart or nothing !!

10 Apr 2007, 6:46 PM
#230
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Link Manager 3.0 Support Thread

open admin/links.contact.php

find the following line of code:

$message = zen_db_prepare_input($HTTP_POST_VARS['message']);

below this line add the following

$html_msg['EMAIL_MESSAGE_HTML'] = $message;

Find the following code:

zen_mail($mail_query->fields['links_contact_name'], $mail_query->fields['links_contact_email'], $subject, $message, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);

Change it to read as follows:

zen_mail($mail_query->fields['links_contact_name'], $mail_query->fields['links_contact_email'], $subject, $message, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, $html_msg);

Save the file and upload to your server

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

10 Apr 2007, 6:59 PM
#231
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Link Manager 3.0 Support Thread

titangen:

Hi,

I've make a fresh install of this module and I received this error message when I update a
link

1062 Duplicate entry '1-1' for key 1
in:
[update links_to_link_categories set link_categories_id = '1' where links_id = '1']
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

also I can't update the status for the link in admin (no options- bank)

Could you help me?

Have a nice day

chris:dontgetit

Chris,

I'm unable to duplicate this problem.

Try the attached fix

unzip the file and upload the admin folder to your server

[Attachment no longer available]

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

10 Apr 2007, 7:11 PM
#232
cjcrafts avatar

cjcrafts

New Zenner

Join Date:
Apr 2007
Posts:
43
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

clydejones:

open admin/links.contact.php

find the following line of code:

$message = zen_db_prepare_input($HTTP_POST_VARS['message']);

>  
> below this line add the following
>  
> ```
$html_msg['EMAIL_MESSAGE_HTML'] = $message;

Find the following code:

zen_mail($mail_query->fields['links_contact_name'], $mail_query->fields['links_contact_email'], $subject, $message, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);

>  
> Change it to read as follows:
> ```
zen_mail($mail_query->fields['links_contact_name'], $mail_query->fields['links_contact_email'], $subject, $message, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, $html_msg);

Save the file and upload to your server

Ok,, this fixed most of the problem..

When I click the box to "Notify Contact:" the recieved email only shows

$EMAIL_SUBJECT
$EMAIL_MESSAGE_HTML

Everything else regarding email is working fine now excluding this.

I really do appreciate your help with this.. this mod has made life a lot eaier for me

10 Apr 2007, 8:00 PM
#233
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Link Manager 3.0 Support Thread

cjcrafts:

Ok,, this fixed most of the problem..

When I click the box to "Notify Contact:" the recieved email only shows

$EMAIL_SUBJECT
$EMAIL_MESSAGE_HTML

Everything else regarding email is working fine now excluding this.

I really do appreciate your help with this.. this mod has made life a lot eaier for me

open admin/links.php

find the following line of code:

if (isset($_POST['links_notify']) && ($_POST['links_notify'] == 'on')) {
            $email = sprintf(EMAIL_TEXT_STATUS_UPDATE, $links_contact_name, $links_status_array[$links_status]) . "\n\n" . STORE_OWNER . "\n" . STORE_NAME;

Just below this line add

$html_msg['EMAIL_MESSAGE_HTML'] = $email;

also add the following file

unzip the file and upload the admin folder to your server
[Attachment no longer available]

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

10 Apr 2007, 8:12 PM
#234
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Link Manager 3.0 Support Thread

Forgot one other change in admin/links.php

find the following line

zen_mail($links_contact_name, $links_contact_email, EMAIL_TEXT_SUBJECT, $email, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);

and change it as follows:

zen_mail($links_contact_name, $links_contact_email, EMAIL_TEXT_SUBJECT, $email, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, $html_msg);

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

10 Apr 2007, 9:28 PM
#235
cjcrafts avatar

cjcrafts

New Zenner

Join Date:
Apr 2007
Posts:
43
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

clydejones:

open admin/links.php

find the following line of code:

if (isset($_POST['links_notify']) && ($_POST['links_notify'] == 'on')) {
$email = sprintf(EMAIL_TEXT_STATUS_UPDATE, $links_contact_name, $links_status_array[$links_status]) . "\n\n" . STORE_OWNER . "\n" . STORE_NAME;

>  
> Just below this line add
>  
> ```
$html_msg['EMAIL_MESSAGE_HTML'] = $email;

also add the following file

unzip the file and upload the admin folder to your server
[Attachment no longer available]

I followed these steps you asked,, the problem still exists. :lamo:

Here is what the email looks like when I use Notify Contact: .

$EMAIL_SUBJECT
$EMAIL_MESSAGE_HTML

Copyright (c) 2007 Zen Cart. Powered by Zen Cart

This email address was given to us by you or by one of our customers. If you feel that you have received this email in error, please send an email to [email protected]
This e-mail is sent in accordance with the US CAN-SPAM Law in effect 01/01/2004. Removal requests can be sent to this address and will be honored and respected.

10 Apr 2007, 10:02 PM
#236
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Link Manager 3.0 Support Thread

cjcrafts:

I followed these steps you asked,, the problem still exists. :lamo:

Here is what the email looks like when I use Notify Contact: .

$EMAIL_SUBJECT
$EMAIL_MESSAGE_HTML

Copyright (c) 2007 Zen Cart. Powered by Zen Cart

This email address was given to us by you or by one of our customers. If you feel that you have received this email in error, please send an email to [email protected]
This e-mail is sent in accordance with the US CAN-SPAM Law in effect 01/01/2004. Removal requests can be sent to this address and will be honored and respected.

also make the change from this post:

www.zen-cart.com/forum/showpost.php?p=356574&postcount=234

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

10 Apr 2007, 10:16 PM
#237
cjcrafts avatar

cjcrafts

New Zenner

Join Date:
Apr 2007
Posts:
43
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

clydejones:

Forgot one other change in admin/links.php

find the following line

zen_mail($links_contact_name, $links_contact_email, EMAIL_TEXT_SUBJECT, $email, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);

>  
> and change it as follows:
>  
> ```
zen_mail($links_contact_name, $links_contact_email, EMAIL_TEXT_SUBJECT, $email, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, $html_msg);

:clap: Thanks Clyde,

It's working now,

The only thing I wanted to mention now other than my grattitude,

is the formatting of the email, ( :smile: I can live with it, but thought you all might want to know)

Everything is running together as shown below.

Link Status Update
Dear Steve Hofmeister, The status of your link at CJ's Crafts & Gifts has been updated. New status: Approved Please reply to this email if you have any questions. Christina "CJ" Hofmeister CJ's Crafts & Gifts

11 Apr 2007, 11:15 PM
#238
wtashby avatar

wtashby

Totally Zenned

Join Date:
Feb 2006
Posts:
594
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

I just upgraded from 3.0 to 3.1 for ZC 1.3.7 and I get the following error in my catalog (not admin) when I click on View All Links or Submit Link:

Fatal error: Cannot redeclare generate_captcha_code() (previously declared in /home/theatcom/public_html/therealasseenontv/includes/functions/extra_functions/account_validation.php:15) in /home/theatcom/public_html/therealasseenontv/includes/functions/links.php on line 113

None of the rest of my site is affected, just the pages associated with link manager.

I Think, Therefore I Zen. I Zen, Therefore, I AM!
Personalized Flowers!
Flowertown Speaking Roses
using version 1.5.7-06232020

12 Apr 2007, 1:19 AM
#239
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Link Manager 3.0 Support Thread

wtashby:

I just upgraded from 3.0 to 3.1 for ZC 1.3.7 and I get the following error in my catalog (not admin) when I click on View All Links or Submit Link:

None of the rest of my site is affected, just the pages associated with link manager.

Try installing the attached fix.

unzip the file, rename the YOUR_TEMPLATE folder to match your custom folder name.

upload the entire includes folder to your server.

[Attachment no longer available]

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

12 Apr 2007, 3:42 AM
#240
wtashby avatar

wtashby

Totally Zenned

Join Date:
Feb 2006
Posts:
594
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

Thanks, that fixed that problem. However, My Submit Link button is not showing up, and when I click on properties for the image (the infamous red x) I get this path: > http://www.therealasseenontv.com/includes/templates/template_default/buttons/english/BUTTON_SUBMIT_LINK

Any thoughts?

I Think, Therefore I Zen. I Zen, Therefore, I AM!
Personalized Flowers!
Flowertown Speaking Roses
using version 1.5.7-06232020