Zen Cart Logo
Forums / Addon Sideboxes / Link Manager 3.0 Support Thread

Link Manager 3.0 Support Thread

Views: 486,717

Results 461 to 480 of 1,988
27 Jul 2007, 4:19 AM
#461
motti avatar

motti

Zen Follower

Join Date:
Feb 2007
Location:
Los Angeles
Posts:
348
Plugin Contributions:
0

Link Manager 3.0 Support Thread

If I could go back in time I would erase my previous post, :smile:
I install it also on my live store and it is all perfect

Thank You Clyde for that great mod.

I am only confuse abut the category link, am I suppose to name each link with different category, or it could be same name for different links, like all my links from tools will be in tools category?

Thank you

27 Jul 2007, 5:16 AM
#462
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

motti:

If I could go back in time I would erase my previous post, :smile:
I install it also on my live store and it is all perfect

Thank You Clyde for that great mod.

I am only confuse abut the category link, am I suppose to name each link with different category, or it could be same name for different links, like all my links from tools will be in tools category?

Thank you

Right. you can put all your tool links in the tools category.

1 Aug 2007, 2:37 PM
#463
shirster avatar

shirster

Zen Follower

Join Date:
Sep 2005
Location:
Hong Kong
Posts:
301
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

Hi Clyde,

I run a bilingual shop (English and Chinese) and would love to install your mod instead of hand coding all the links. Does this mod support more than 1 language?

Thanks in advance !
Shirley :)

1 Aug 2007, 4:42 PM
#464
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

shirster:

Hi Clyde,

I run a bilingual shop (English and Chinese) and would love to install your mod instead of hand coding all the links. Does this mod support more than 1 language?

Thanks in advance !
Shirley :)

It should - the code looks for the "session language id"

I think a couple of other people use multiple languages.

2 Aug 2007, 2:50 AM
#465
shirster avatar

shirster

Zen Follower

Join Date:
Sep 2005
Location:
Hong Kong
Posts:
301
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

Thanks Clyde, I'll try it out :)

Shirley

2 Aug 2007, 10:16 PM
#466
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: Link Manager 3.0 Support Thread

Hate to be a bother but I only found one mention in the 20 some forum pages I went through of the php5 error:
Catchable fatal error: Object of class queryFactoryResult could not be converted to string in..htmlouput

The post said to change the htmloutput file this way.

// bof php5 fix - aclarke - 301206
if (empty($default) && isset($GLOBALS['$name'])) $default = stripslashes($GLOBALS['$name']);
// eof php5 fix - aclarke - 301206

I really don't want to change that file as it's liable to overwritten with a subsequent zencart upgrade. Has anyone else come up with a permanent solution to this problem?

Not only that but the line to be changed is not 333 in the most recent version of zencart.

By the way I've added the image url to the cart submit page - I'll post the changed code if asked to. Kind of curious why that wasn't on there in the first place.

Oh, and thanks for the contribution - it's people like you that makes my job easier!

2 Aug 2007, 11:21 PM
#467
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

Hate to be a bother but I only found one mention in the 20 some forum pages I went through of the php5 error:
Catchable fatal error: Object of class queryFactoryResult could not be converted to string in..htmlouput

The post said to change the htmloutput file this way.

// bof php5 fix - aclarke - 301206
if (empty($default) && isset($GLOBALS['$name'])) $default = stripslashes($GLOBALS['$name']);
// eof php5 fix - aclarke - 301206

I really don't want to change that file as it's liable to overwritten with a subsequent zencart upgrade. Has anyone else come up with a permanent solution to this problem?

Not only that but the line to be changed is not 333 in the most recent version of zencart.

I'm guessing but maybe a lot of people were/are still using php4+ and the issue never presented itself. Or, people just used the fix and never said anything.

and Yes, in version 1.3.7.1 in admin/includes/functions/html_output.php line 333 reads ```
if (empty($default) && isset($GLOBALS[$name])) $default = stripslashes($GLOBALS[$name]);


You can always do what I do and make a backup of the original file and a backup of the changed file. The admin section of ZC is due for a complete overhaul anyway and I'm sure the devs will make sure this fix is included.

> By the way I've added the image url to the cart submit page - I'll post the changed code if asked to. Kind of curious why that wasn't on there in the first place.

To be honest, I don't like taking bandwidth away from people and I just never bothered putting it in.

> Oh, and thanks for the contribution - it's people like you that makes my job easier!

Glad to be of help
2 Aug 2007, 11:24 PM
#468
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: Link Manager 3.0 Support Thread

clunk! That was the sound of my idiot head hitting the desk. Was worrying about changing the html_output file in the cart - not admin! Thanks again!

3 Aug 2007, 3:58 PM
#469
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: Link Manager 3.0 Support Thread

one other question that might have been mentioned before. If so, my apologies!

What to do about the emails not having line breaks? I tried some changes to the header page but this is what I'm still getting on my server:

Dear deliaWe welcome to GreetingCookie.com link exchange program.

Your link has been successfully submitted at GreetingCookie.com. It will be
added to our listing as soon as we approve it. You will receive an email
about the status of your submittal. If you have not received it within the
next 48 hours, please contact us before submitting your link again.For help
with our link exchange program, please email the store-owner:
[email protected]: This email address was given to us during a
link submittal. If you have a problem, please send an email to
[email protected].

3 Aug 2007, 5:41 PM
#470
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

delia:

one other question that might have been mentioned before. If so, my apologies!

What to do about the emails not having line breaks? I tried some changes to the header page but this is what I'm still getting on my server:

Dear deliaWe welcome to GreetingCookie.com link exchange program.

Your link has been successfully submitted at GreetingCookie.com. It will be
added to our listing as soon as we approve it. You will receive an email
about the status of your submittal. If you have not received it within the
next 48 hours, please contact us before submitting your link again.For help
with our link exchange program, please email the store-owner:
[email protected]: This email address was given to us during a
link submittal. If you have a problem, please send an email to
[email protected].

This is (I think) a plain text vs. html issue. The html emails appear to be formated correctly but the plain text emails appear as you have indicated.

I've used other e-mail code (i.e. the welcome e-mail and others) as the basis for the email code in the mod and continue to work at getting both the plain text and html versions to look the same.

3 Aug 2007, 5:45 PM
#471
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: Link Manager 3.0 Support Thread

so anyone who isn't logged in and adds a link will get the text email with the resulting lack of breaks but if they are logged and and accept email, they'll get an html email that looks right.

That's okay with me and hopefully my client won't notice or won't care!

3 Aug 2007, 7:33 PM
#472
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

delia:

so anyone who isn't logged in and adds a link will get the text email with the resulting lack of breaks but if they are logged and and accept email, they'll get an html email that looks right.

That's okay with me and hopefully my client won't notice or won't care!

Actually, I've been working on a fix for the past hour or so.

Try this and see if it helps. As always, unzip the file, rename the YOUR_TEMPLATE folder to match your custom folder name then just upload the entire includes folder to your server.

[Attachment no longer available]

3 Aug 2007, 7:57 PM
#473
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: Link Manager 3.0 Support Thread

yup that fixed it. Should have been able to do it myself but handling 3 shopping carts at one time tends to be a bit confusing in one afternoon!

Thanks again!

3 Aug 2007, 9:18 PM
#474
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

delia:

yup that fixed it. Should have been able to do it myself but handling 3 shopping carts at one time tends to be a bit confusing in one afternoon!

Thanks again!

OK thanks.
I'll incorporate this fix into an update for the downloads section.

6 Aug 2007, 12:47 AM
#475
tamya avatar

tamya

Zen Follower

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

Re: Link Manager 3.0 Support Thread

clydejones:

Actually, I've been working on a fix for the past hour or so.

Try this and see if it helps. As always, unzip the file, rename the YOUR_TEMPLATE folder to match your custom folder name then just upload the entire includes folder to your server.

[Attachment no longer available]

Thanks Clyde, that did it part of it, the email sent when the link approved or disabled is still not formated.

Which files need to be altered to do that?

6 Aug 2007, 5:00 AM
#476
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:

Thanks Clyde, that did it part of it, the email sent when the link approved or disabled is still not formated.

Which files need to be altered to do that?

Those files are located in the admin folder.

I'll work on those and post a fix in a day or two.

8 Aug 2007, 12:07 AM
#477
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:

Thanks Clyde, that did it part of it, the email sent when the link approved or disabled is still not formated.

Which files need to be altered to do that?

This should fix the formating for the admin e-mail

[Attachment no longer available]

8 Aug 2007, 7:35 AM
#478
meltdown avatar

meltdown

Totally Zenned

Join Date:
Jun 2006
Location:
My family and I live in Brighton, England
Posts:
947
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

Hi Clyde - Thanks again for this great mod!

I'm attempting to upgrade from 3.0.2 but am receiving the following syntax error:

1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ALTER TABLE zen_links_to_link_categories CHANGE links_id links_id INT( 11 ) NOT ' at line 1
in:
[ALTER TABLE zen_links CHANGE links_status links_status TINYINT( 1 ) NOT NULL DEFAULT '2' ALTER TABLE zen_links_to_link_categories CHANGE links_id links_id INT( 11 ) NOT NULL AUTO_INCREMENT;]
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.

I've searched the thread for similar posts but have had no luck. (Although I might be using the wrong search term)

Any idea what might be causing this?

Thanks - Tim

8 Aug 2007, 1:48 PM
#479
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

MeltDown:

Hi Clyde - Thanks again for this great mod!

I'm attempting to upgrade from 3.0.2 but am receiving the following syntax error:

I've searched the thread for similar posts but have had no luck. (Although I might be using the wrong search term)

Any idea what might be causing this?

Thanks - Tim

try running this from admin -> tools -> install sql patches

ALTER TABLE `links` CHANGE `links_status` `links_status` TINYINT( 1 ) NOT NULL DEFAULT '2';
9 Aug 2007, 5:46 AM
#480
tamya avatar

tamya

Zen Follower

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

Re: Link Manager 3.0 Support Thread

clydejones:

This should fix the formating for the admin e-mail

[Attachment no longer available]

Thanks Clyde.