Results 1 to 10 of 1988

Hybrid View

  1. #1
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Link Manager 3.0 release

    Quote Originally Posted by Einstin View Post
    How major of a rewrite would it be to modify how the links are displayed? I would like them to look similar to the way pruduct listings appear. This is for the links image to be displayed on the left and then the link title on the first line and the link description under the title and of course the click count to the far right. My first though is that this is all in the links css but since I have only had this installed for a day and still playing with it I didn't want to break it (yet).
    You'd have to re-write includes/modules/link_listing.php and then modify links.css.

  2. #2
    Join Date
    Feb 2005
    Location
    Atlanta, GA
    Posts
    71
    Plugin Contributions
    0

    Default Re: Link Manager 3.0 release

    Quote Originally Posted by clydejones View Post
    You'd have to re-write includes/modules/link_listing.php and then modify links.css.
    Ok, since my php is minimal at best then then that will have to wait, but what does it take for the picture to be displayed with the link? It's part of the submission and I see references to it in the link_listing.php but on my listing there is nothing displayed.

  3. #3
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Link Manager 3.0 release

    Quote Originally Posted by Einstin View Post
    Ok, since my php is minimal at best then then that will have to wait, but what does it take for the picture to be displayed with the link? It's part of the submission and I see references to it in the link_listing.php but on my listing there is nothing displayed.
    open includes/languages/english/YOUR_TEMPLATE/links.php

    add the following statements:

    define('LINKS_IMAGE_WIDTH', '120');
    define('LINKS_IMAGE_HEIGHT', '30');

    The highlighted portions can be adjusted to your desired width and height.

    save the file and upload to your server

  4. #4
    Join Date
    Feb 2005
    Location
    Atlanta, GA
    Posts
    71
    Plugin Contributions
    0

    Default Re: Link Manager 3.0 release

    Quote Originally Posted by clydejones View Post
    open includes/languages/english/YOUR_TEMPLATE/links.php

    add the following statements:

    define('LINKS_IMAGE_WIDTH', '120');
    define('LINKS_IMAGE_HEIGHT', '30');

    The highlighted portions can be adjusted to your desired width and height.

    save the file and upload to your server
    Thanks Clyde. That brought the images right in. Tried to just use the one define though and have the other one empty, null or 0 and let it scale the image but that didn't work too well. Had to put numbers in for both defines. Guess I'll have to amend the help page and specify the size of the submitted image.

    Still playing with the formatting as well but haven't put much into that yet.

    Thanks again!

  5. #5
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Link Manager 3.0 release

    Quote Originally Posted by Einstin View Post
    Thanks Clyde. That brought the images right in. Tried to just use the one define though and have the other one empty, null or 0 and let it scale the image but that didn't work too well. Had to put numbers in for both defines. Guess I'll have to amend the help page and specify the size of the submitted image.

    Still playing with the formatting as well but haven't put much into that yet.

    Thanks again!
    Another option for the image width and height would be to use the default "SMALL_IMAGE_WIDTH and SMALL_IMAGE_HEIGHT" That way if you do have calculate image size set to true the images will scale.

    If you want to try this; open includes/modules/link_listing.php

    find the following line of code (at around line 93)
    Code:
    $lc_text = '<a href="' . zen_get_links_url($listing_query->fields['links_id']) . '" target="_blank">' . zen_links_image($listing_query->fields['links_image_url'], $listing_query->fields['links_title'], LINKS_IMAGE_WIDTH, LINKS_IMAGE_HEIGHT) . '</a><br /><a href="' . zen_get_links_url($listing_query->fields['links_id']) . '" target="_blank">' . $listing_query->fields['links_title'] . '</a>';
    replace LINKS_IMAGE_WIDTH with SMALL_IMAGE_WIDTH
    replace LINKS_IMAGE_HEIGHT with SMALL_IMAGE_HEIGHT

    save the file and upload to your server

  6. #6
    Join Date
    Dec 2004
    Posts
    1,031
    Plugin Contributions
    0

    Default Re: Link Manager 3.0 release

    This thread is growing rapidly and I know this has come up before but I feel I need to ask and make this 100% clear for everybody interested in this mod.

    Can link exchange programs (like Arelis, the one I use) that have the ability to check reciprocal links automatically, find the links on the generated pages of this mod?

    If yes, GREAT this is the mod we have been waiting for.

    If no, sorry but then it is not much good at all! Everybody serious about exchanging links will use a program or service to verify that the back link is there and will re check from time to time. This just can't be done manually with 100's of links. IF link partners can't find the links, they will remove you fast! This is not what anybody wants. After all we want to build links partners and not loose them. Right?
    Live and learn... the Zen way.

  7. #7
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Link Manager 3.0 release

    Quote Originally Posted by mydanilo View Post
    This thread is growing rapidly and I know this has come up before but I feel I need to ask and make this 100% clear for everybody interested in this mod.

    Can link exchange programs (like Arelis, the one I use) that have the ability to check reciprocal links automatically, find the links on the generated pages of this mod?

    If yes, GREAT this is the mod we have been waiting for.

    If no, sorry but then it is not much good at all! Everybody serious about exchanging links will use a program or service to verify that the back link is there and will re check from time to time. This just can't be done manually with 100's of links. IF link partners can't find the links, they will remove you fast! This is not what anybody wants. After all we want to build links partners and not loose them. Right?
    See this post and any of the several others I've answered throughout this thread on this issue.

    There is a work around that some have found helpful.

    If you are looking for a single page solution where you can list your links you could try this MOD.
    However, there is no interface to allow users/admins to submit their links. You will have to do everything manually.

  8. #8
    Join Date
    Feb 2005
    Location
    Atlanta, GA
    Posts
    71
    Plugin Contributions
    0

    Default Re: Link Manager 3.0 release

    Quote Originally Posted by clydejones View Post
    Another option for the image width and height would be to use the default "SMALL_IMAGE_WIDTH and SMALL_IMAGE_HEIGHT" That way if you do have calculate image size set to true the images will scale.

    If you want to try this; open includes/modules/link_listing.php

    find the following line of code (at around line 93)
    Code:
    $lc_text = '<a href="' . zen_get_links_url($listing_query->fields['links_id']) . '" target="_blank">' . zen_links_image($listing_query->fields['links_image_url'], $listing_query->fields['links_title'], LINKS_IMAGE_WIDTH, LINKS_IMAGE_HEIGHT) . '</a><br /><a href="' . zen_get_links_url($listing_query->fields['links_id']) . '" target="_blank">' . $listing_query->fields['links_title'] . '</a>';
    replace LINKS_IMAGE_WIDTH with SMALL_IMAGE_WIDTH
    replace LINKS_IMAGE_HEIGHT with SMALL_IMAGE_HEIGHT

    save the file and upload to your server
    Clyde,
    Tried your suggestion and it didn't make any difference. Could it be that it didn't work because the images are remotely hosted and not contained on my installation where the GD can process them?

  9. #9
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Link Manager 3.0 release

    Quote Originally Posted by Einstin View Post
    Clyde,
    Tried your suggestion and it didn't make any difference. Could it be that it didn't work because the images are remotely hosted and not contained on my installation where the GD can process them?
    That could very well be the reason.

 

 

Similar Threads

  1. Testimonial Manager Support Thread
    By clydejones in forum All Other Contributions/Addons
    Replies: 1500
    Last Post: 4 Feb 2021, 04:12 PM
  2. v154 News Box Manager v2.0.0 [Support Thread]
    By lat9 in forum All Other Contributions/Addons
    Replies: 84
    Last Post: 19 Jan 2021, 04:17 PM
  3. Download File Manager Support Thread
    By balihr in forum All Other Contributions/Addons
    Replies: 24
    Last Post: 17 Aug 2017, 10:32 PM
  4. Poll Manager Support Thread
    By boudewijn in forum Addon Sideboxes
    Replies: 148
    Last Post: 27 Jan 2016, 09:53 AM
  5. Empty Cart Manager [support thread]
    By Steven300 in forum All Other Contributions/Addons
    Replies: 49
    Last Post: 26 May 2010, 10:26 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg