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

Link Manager 3.0 Support Thread

Views: 486,711

Results 1,721 to 1,740 of 1,988
3 Jul 2010, 10:48 PM
#1721
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

gypsyrose:

Okay for anyone who is forgetful, the reason I could not get the links under the EXTRA tab is because I changed the name of my admin folder --- Like Zen askes you with the new 1.3.9 ---- DUH moment! LOL all is working wonderfully now!

thank you Clyde for being so patient and helpful! Have a great holiday weekend!

Kimberly

Glad all is working

4 Jul 2010, 7:20 PM
#1722
gypsyrose avatar

gypsyrose

New Zenner

Join Date:
Aug 2006
Posts:
21
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

Just some Suggestions for the next version ;)

I've been playing around with this since yesterday. Good think I know how to work a style sheet LOL When you click on "View All Links" - depending on how you set it up in the admin > config and dependent on the size of images used, you could get an unbalance of your links. I prefer 3 accross, but even after setting up the image sizes in the configuration, I still got a 3, 2, 3 table going on. It was an easy fix for me -- I just went into the customized CSS folder where I have the links.css file and added a height element to the linkstext class. That fixed that problem just fine.

Also, for adding images, you might want to find an easier way to add them. Maybe instead of using the method available, use the "browse" method instead. Makes life a LOT easier for those adding links from both the front end and the admin end. Also under Extras > Links Catagories there is not way to delete the image if you so chose. You have to delete it directly from the folder you put it in or delete it all together and start over.

Just some things I found playing around with the Links Manager.

It is a good module. I am happy with it. I know zen-cart like the back of my hand since I've been using it so long, as well as being a web designer, I know how to fix things. However, these suggestions I have made will make life a lot easier for those that don't have a clue or are just starting to use Zen, much less adding modules to their site.

Thanks again for this module!

Kimberly ~ Gypsy Rose
http://www.gypsyrosetreasures.com

25 Jul 2010, 12:38 PM
#1723
gaffettape avatar

gaffettape

Zen Follower

Join Date:
May 2009
Posts:
433
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

Hi,

How can I turn off the 'links_default.jpg' link category image & just display the link category text on it's own instead?

Thanks. :smile:

25 Jul 2010, 6:13 PM
#1724
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

gaffettape:

Hi,

How can I turn off the 'links_default.jpg' link category image & just display the link category text on it's own instead?

Thanks. :smile:

You can turn the display of the banner field on the links submit form in admin -> configuration -> links manager ->Show Banner Image Field (set to false)

I will take a look at the admin side and see whether or not I'll have to re-write some of the code to handle this.

25 Jul 2010, 6:24 PM
#1725
gaffettape avatar

gaffettape

Zen Follower

Join Date:
May 2009
Posts:
433
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

Maybe I could turn off the links_default.jpg image via css? Not sure though.

25 Jul 2010, 7:46 PM
#1726
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

gaffettape:

Maybe I could turn off the links_default.jpg image via css? Not sure though.

The only possibility for that would be adding the following to links.css

.col1 {display:none;}

However, that will cause every image to NOT display and not just the links_default.jpg

another possibility would be to create a new transparent links_default.(png or gif)

save it to images/links_image/

then in admin -> configuration -> links manager -> Default Link Banner Image (change the setting to the name of your new links_default.(png or gif)

25 Jul 2010, 7:49 PM
#1727
gaffettape avatar

gaffettape

Zen Follower

Join Date:
May 2009
Posts:
433
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

I'll give it a go.

Thanks for your help (again!) Clyde :smile:

22 Aug 2010, 6:43 PM
#1728
weezee avatar

weezee

Zen Follower

Join Date:
May 2006
Location:
Louisiana
Posts:
259
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

When I click check link I get this message:

Warning: preg_match() [function.preg-match]: Unknown modifier '/' in /home/content/w/e/e/weezee/html/xxxxxx_admin/links.php on line 625

I am running Zen Cart v1.3.8a. I reuploading all the links manager files, before that, the line was 623

I think I posted this in the wrong forum. help with logo sideboxes sorry.

22 Aug 2010, 7:07 PM
#1729
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

weezee:

When I click check link I get this message:

Warning: preg_match() [function.preg-match]: Unknown modifier '/' in /home/content/w/e/e/weezee/html/xxxxxx_admin/links.php on line 625

I am running Zen Cart v1.3.8a. I reuploading all the links manager files, before that, the line was 623

I think I posted this in the wrong forum. help with logo sideboxes sorry.

Which version of Links Manager are you using?

22 Aug 2010, 7:58 PM
#1730
weezee avatar

weezee

Zen Follower

Join Date:
May 2006
Location:
Louisiana
Posts:
259
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

clydejones:

Which version of Links Manager are you using?

I am using links_manager_v3-5-2

22 Aug 2010, 10:26 PM
#1731
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

weezee:

I am using links_manager_v3-5-2

weezee:

When I click check link I get this message:

Warning: preg_match() [function.preg-match]: Unknown modifier '/' in /home/content/w/e/e/weezee/html/xxxxxx_admin/links.php on line 625

I am running Zen Cart v1.3.8a. I reuploading all the links manager files, before that, the line was 623

I think I posted this in the wrong forum. help with logo sideboxes sorry.

This is the entire section of code that applies to this issue:

Please compare the following with your copy of admin/links.php

      break;
    case 'check':
      $heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_CHECK_LINK . '</b>');

      $url = $lInfo->links_reciprocal_url;
      $link_check_status = false;
      $link_check_status_text = '';
      
      if (function_exists('curl_exec')) {
        $c = curl_init();
        curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);
        curl_setopt($c, CURLOPT_URL, $url);
        $content = curl_exec($c);
        curl_close($c);
        if ($content) {
// I *think* this is the right preg_match syntax ... please double-check that it works as desired.
          if (preg_match('/'.LINKS_CHECK_PHRASE.'/i', $content)) {
            $link_check_status = true;
          }
        }
      } else if (ini_get('allow_url_fopen') == TRUE && file($url)) {
        $file = fopen($url,'r');

        while (!feof($file)) {
          $page_line = trim(fgets($file, 4096));

          // I recommend changing this eregi to a preg_match for PHP 5.3 compatibility:
          if (preg_match('/'.LINKS_CHECK_PHRASE.'/i', $page_line)) {
            $link_check_status = true;
            break;
          }
        }

        fclose($file);
      } else {
        $link_check_status_text = TEXT_INFO_LINK_CHECK_ERROR;
      }

      if ($link_check_status == true) {
        $link_check_status_text = TEXT_INFO_LINK_CHECK_FOUND;
      } elseif ($link_check_status_text == '') {
        $link_check_status_text = TEXT_INFO_LINK_CHECK_NOT_FOUND;
      }

      $contents[] = array('text' => TEXT_INFO_LINK_CHECK_RESULT . ' ' . $link_check_status_text);
      $contents[] = array('text' => '<br /><b>' . $lInfo->links_reciprocal_url . '</b>');
      $contents[] = array('align' => 'center', 'text' => '<br /><a href="' . zen_href_link(FILENAME_LINKS, zen_get_all_get_params(array('lID', 'action')) . 'lID=' . $lInfo->links_id) . '">' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>');
      break;
23 Aug 2010, 5:12 PM
#1732
tinas avatar

tinas

Totally Zenned

Join Date:
Jan 2005
Location:
Lake Havasu, AZ
Posts:
1,090
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

Clyde -

I seem to have a problem with the upgrade of this mod / new zen.

I recently upgraded a client to 1.3.9e zen and v 3.5.3 Links Manager.

All data retained and everything just fine but now the display page is not picking up the HTML in the descriptions of the links.

You can see what I mean HERE. It is showing the coding instead of the actual display.

I have increased description to 2500 characters but that didn't help. :no:

Have you any suggestions ?

thanks!

23 Aug 2010, 5:39 PM
#1733
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

TinaS:

Clyde -

I seem to have a problem with the upgrade of this mod / new zen.

I recently upgraded a client to 1.3.9e zen and v 3.5.3 Links Manager.

All data retained and everything just fine but now the display page is not picking up the HTML in the descriptions of the links.

You can see what I mean HERE. It is showing the coding instead of the actual display.

I have increased description to 2500 characters but that didn't help. :no:

Have you any suggestions ?

thanks!

How were the descriptions entered?

NB: the description area of links manager was designed for plain text and NOT to include HTML tags.

NOTE: you also seem to be missing a couple of language definition files:
includes/languages/english/YOUR_TEMPLATE/links_submit.php
includes/languages/english/YOUR_TEMPLATE/links.php

23 Aug 2010, 5:46 PM
#1734
tinas avatar

tinas

Totally Zenned

Join Date:
Jan 2005
Location:
Lake Havasu, AZ
Posts:
1,090
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

thanks for the heads up on the includes - i will drop those right in.:oops:

as for the descriptions the html code is entered as code just as you would in the plain text area of a product description.

is there a way (that i can do easily) to make the description field accept html ??

thanks again :bigups:

23 Aug 2010, 5:59 PM
#1735
weezee avatar

weezee

Zen Follower

Join Date:
May 2006
Location:
Louisiana
Posts:
259
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

clydejones:

This is the entire section of code that applies to this issue:

Please compare the following with your copy of admin/links.php

  break;
case 'check':
  $heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_CHECK_LINK . '</b>');

  $url = $lInfo->links_reciprocal_url;
  $link_check_status = false;
  $link_check_status_text = '';
  
  if (function_exists('curl_exec')) {
    $c = curl_init();
    curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($c, CURLOPT_URL, $url);
    $content = curl_exec($c);
    curl_close($c);
    if ($content) {

// I think this is the right preg_match syntax ... please double-check that it works as desired.
if (preg_match('/'.LINKS_CHECK_PHRASE.'/i', $content)) {
$link_check_status = true;
}
}
} else if (ini_get('allow_url_fopen') == TRUE && file($url)) {
$file = fopen($url,'r');

    while (!feof($file)) {
      $page_line = trim(fgets($file, 4096));

      // I recommend changing this eregi to a preg_match for PHP 5.3 compatibility:
      if (preg_match('/'.LINKS_CHECK_PHRASE.'/i', $page_line)) {
        $link_check_status = true;
        break;
      }
    }

    fclose($file);
  } else {
    $link_check_status_text = TEXT_INFO_LINK_CHECK_ERROR;
  }

  if ($link_check_status == true) {
    $link_check_status_text = TEXT_INFO_LINK_CHECK_FOUND;
  } elseif ($link_check_status_text == '') {
    $link_check_status_text = TEXT_INFO_LINK_CHECK_NOT_FOUND;
  }

  $contents[] = array('text' => TEXT_INFO_LINK_CHECK_RESULT . ' ' . $link_check_status_text);
  $contents[] = array('text' => '<br /><b>' . $lInfo->links_reciprocal_url . '</b>');
  $contents[] = array('align' => 'center', 'text' => '<br /><a href="' . zen_href_link(FILENAME_LINKS, zen_get_all_get_params(array('lID', 'action')) . 'lID=' . $lInfo->links_id) . '">' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>');
  break;

Sorry just getting back, I lost my site.

yes its the same as my copy starting on line 610-659. 
     
     
I run the uninstall SQL, and reinstalled v3.5.2 and when I run the install v3.5.2 SQL I got this:

1109 Unknown table 'links_status' in where clause
in:
[DELETE FROM zen_links_status WHERE links_status.links_status_id = 3;]
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.
23 Aug 2010, 6:00 PM
#1736
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

TinaS:

thanks for the heads up on the includes - i will drop those right in.:oops:

as for the descriptions the html code is entered as code just as you would in the plain text area of a product description.

is there a way (that i can do easily) to make the description field accept html ??

thanks again :bigups:

The description is input in a <textarea> form element.

AND

The contents are interpreted as text only; HTML markup is ignored.

23 Aug 2010, 6:06 PM
#1737
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

weezee:

Sorry just getting back, I lost my site.

yes its the same as my copy starting on line 610-659.

I run the uninstall SQL, and reinstalled v3.5.2 and when I run the install v3.5.2 SQL I got this:

1109 Unknown table 'links_status' in where clause
in:
[DELETE FROM zen_links_status WHERE links_status.links_status_id = 3;]
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.

run this sql patch using the Zen-Cart Sql Patches tool
(admin -> tools -> install sql patches)

For best results,copy-and-paste the code into the query field and press 'Send'

DELETE FROM `links_status` WHERE `links_status`.`links_status_id` = 3;  
23 Aug 2010, 9:28 PM
#1738
weezee avatar

weezee

Zen Follower

Join Date:
May 2006
Location:
Louisiana
Posts:
259
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

clydejones:

run this sql patch using the Zen-Cart Sql Patches tool
(admin -> tools -> install sql patches)

For best results,copy-and-paste the code into the query field and press 'Send'

DELETE FROM links_status WHERE links_status.links_status_id = 3;



I ran this sql in (admin -> tools -> install sql patches) the same as I did before and I got the same thing.

1109 Unknown table 'links_status' in where clause
in:
[DELETE FROM zen_links_status WHERE links_status.links_status_id = 3;]
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.
23 Aug 2010, 9:35 PM
#1739
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

weezee:

I ran this sql in (admin -> tools -> install sql patches) the same as I did before and I got the same thing.

1109 Unknown table 'links_status' in where clause
in:
[DELETE FROM zen_links_status WHERE links_status.links_status_id = 3;]
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.

Should be OK all the error message is telling you is that that particular field has already been deleted.

23 Aug 2010, 11:50 PM
#1740
weezee avatar

weezee

Zen Follower

Join Date:
May 2006
Location:
Louisiana
Posts:
259
Plugin Contributions:
0

Re: Link Manager 3.0 Support Thread

But I still can't check my links. When I click check link still getting this message:

Warning: preg_match() [function.preg-match]: Unknown modifier '/' in /home/content/w/e/e/weezee/html/xxxxxx_admin/links.php on line 625