Results 1 to 10 of 1988

Hybrid View

  1. #1
    Join Date
    Oct 2004
    Posts
    43
    Plugin Contributions
    0

    Default Re: Link Manager 3.0 release

    I apologize if this has been covered... searched this thread.
    Is there a way to delete a category image once placed and make the cat. images line up side my sided instead of down the page>

    SITE:DAISIE

    TIA

  2. #2
    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 youniquephotos View Post
    I apologize if this has been covered... searched this thread.
    Is there a way to delete a category image once placed and make the cat. images line up side my sided instead of down the page>

    SITE:DAISIE

    TIA
    Do you want to delete or just replace the image?

    You're missing the links.css and links_submit.css stylesheets

  3. #3
    Join Date
    Aug 2007
    Posts
    5
    Plugin Contributions
    0

    Default Alexa / PageRank Mod

    Hello all,

    I wanted to show the Alexa Info and Page Rank on my links manager page. So I modified /includes/modules/YOUR_TEMPLATE/link_listing.php and added a script I found at: http://www.hm2k.com/projects/pagerank

    The mod is fairly easy to install and maybe clydejones (thanks for a great mod clydejones ) could add it to future versions with switches to turn off or on:

    Pagerank.php file above will return just the usual google pr image. If you want the image to also show the PR# like my thumbnail shows. You will have to modify line number 131:

    From:

    PHP Code:
     $out='<a href="'.$url.'" title="'.$pagerank.'">'.$html.'</a>'
    To:

    PHP Code:
     $out='<a href="'.$url.'" title="'.$pagerank.'">'.$html.'</a> PR'.$pr.''
    *********************************
    Now upload the pagerank.php file you get from http://www.hm2k.com/ to:

    /includes/modules/YOUR_TEMPLATE/pagerank.php


    Open /includes/modules/YOUR_TEMPLATE/link_listing.php with you favorite php editor.

    Find:

    PHP Code:
      if ($listing_split->number_of_rows 0) { 
    Above that line add:

    PHP Code:
      include('pagerank.php'); 
    *********************************

    Find:

    PHP Code:
               if (DISPLAY_LINK_DESCRIPTION_AS_LINK == 'true') { 
    Above that line add:

    PHP Code:
       $pagePR pagerankzen_get_links_url($listing_query->fields['links_id']) ); 
    *********************************


    Find:

    PHP Code:
               if (DISPLAY_LINK_DESCRIPTION_AS_LINK == 'true') {
                
    $lc_text '<a href="' zen_get_links_url($listing_query->fields['links_id']) . '" target="_blank">' $listing_query->fields['links_title'] . '</a><br /><a href="' zen_get_links_url($listing_query->fields['links_id']) . '" target="_blank">' $listing_query->fields['links_description'] . '</a>';
                 } else {
               
    $lc_text '<a href="' zen_get_links_url($listing_query->fields['links_id']) . '" target="_blank">' $listing_query->fields['links_title'] . '</a><br />' $listing_query->fields['links_description']; }
                break; 
    Replace those lines with:

    PHP Code:
               if (DISPLAY_LINK_DESCRIPTION_AS_LINK == 'true') {        
                
    $lc_text '<a href="' zen_get_links_url($listing_query->fields['links_id']) . '" target="_blank">' $listing_query->fields['links_title'] . '</a> | <a href=http://www.alexa.com/data/details/traffic_details?q=&url=' zen_get_links_url($listing_query->fields['links_id']) . ' target="_blank">Alexa Info</a> | '.$pagePR.'<br /><a href="' zen_get_links_url($listing_query->fields['links_id']) . '" target="_blank">' $listing_query->fields['links_description'] . '</a>';
                 } else {
               
    $lc_text '<a href="' zen_get_links_url($listing_query->fields['links_id']) . '" target="_blank">' $listing_query->fields['links_title'] . '</a> | <a href=http://www.alexa.com/data/details/traffic_details?q=&url=' .zen_get_links_url($listing_query->fields['links_id']) . ' target="_blank">Alexa Info</a> | '.$pagePR.'<br />' $listing_query->fields['links_description']; }
                break; 
    Now your links manager will show Alexa Info | PageRank for the domains you trade links with. See Thumbnail attachment for example:

    NOTE: Use this mod at your own risk, I'm not responsible for any problems you might have.
    Attached Images Attached Images  

  4. #4
    Join Date
    Oct 2004
    Posts
    43
    Plugin Contributions
    0

    Default Re: Link Manager 3.0 release

    Quote Originally Posted by clydejones View Post
    Do you want to delete or just replace the image?

    You're missing the links.css and links_submit.css stylesheets
    Thank you for finding this and letting me know.
    I have fixed this and have been trying to add the box at the bottom to add the image url by the person submitting. I followed the advice you gave oxycottin
    "Add the necessary define statements for that field to:
    includes/languages/english/extra_definitions/links_manager_defines.php

    Add the code necessary to draw the field in:
    includes/templates/YOUR_TEMPLATE/templates/tpl_links_submit_default.php"
    and I am still unable to get the box to show up..

    DAISIE

    any advice?

    Thank you for your time and assistance!

  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 youniquephotos View Post
    Thank you for finding this and letting me know.
    I have fixed this and have been trying to add the box at the bottom to add the image url by the person submitting. I followed the advice you gave oxycottin
    "Add the necessary define statements for that field to:
    includes/languages/english/extra_definitions/links_manager_defines.php

    Add the code necessary to draw the field in:
    includes/templates/YOUR_TEMPLATE/templates/tpl_links_submit_default.php"
    and I am still unable to get the box to show up..

    DAISIE

    any advice?

    Thank you for your time and assistance!


    Just unzip the attached and upload the includes folder to your server
    Attachment 2612
    Last edited by clydejones; 31 Dec 2009 at 02:31 AM.

  6. #6
    Join Date
    Oct 2004
    Posts
    43
    Plugin Contributions
    0

    Default Re: Link Manager 3.0 release

    Thank you for sending this. I did as you instructed and I am still unable to see the box. Have I done something wrong?

    Thank you,

  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 youniquephotos View Post
    Thank you for sending this. I did as you instructed and I am still unable to see the box. Have I done something wrong?

    Thank you,
    You're using the "classic" template correct?

  8. #8
    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 clydejones View Post
    You're using the "classic" template correct?
    Try this:

    Just unzip and upload the includes folder to your server

    Attachment 2613
    Last edited by clydejones; 31 Dec 2009 at 02:31 AM.

 

 

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