The MU forums have moved to WordPress.org

Auto Detect Site Info Plugin to Edit Links (4 posts)

  1. dsader
    Member
    Posted 17 years ago #

    Help?

    Latest nightly no longer has "Auto Detect Site Info" in Add Link. I use it in 1.0rc4 a whole bunch.

    I found and old plugin that still works with a small edit so it activates in mu-plugins instead of plugins. But now . . .

    The reason I looked at latest nightly is because I wanted to add the "Auto Detect Site Info" button to the Edit Link page, too. You know, to update descriptions/titles of feeds/links in my/users blogroll automatically.

    Now I want to know if it would be possible to tweak the plugin so it works on both Add Link and Edit Link pages.

    Any ideas?

    Thanks,

    dsader

  2. dsader
    Member
    Posted 17 years ago #

    Duh, I simply added this to auto-links.php
    if ( (strpos($_SERVER['PHP_SELF'], 'link.php') !== false) || ($_GET['action'] == 'linkedit') ) {
    add_action('admin_head', 'auto_links_javascript');
    add_action('admin_menu', 'auto_links_include_sack');
    ob_start('auto_links_ob');
    }

    before this

    if ( (strpos($_SERVER['PHP_SELF'], 'link-add.php') !== false) || ($_GET['action'] == 'linkedit') ) {
    add_action('admin_head', 'auto_links_javascript');
    add_action('admin_menu', 'auto_links_include_sack');
    ob_start('auto_links_ob');
    }

  3. nexia
    Member
    Posted 17 years ago #

    ... this is not working anymore with the latest release...

    someone got a fix on this plugin ?!

    it is working great on WP 2.0.5 ... not in WPMU 1.0 !

  4. dsader
    Member
    Posted 17 years ago #

    I added to admin-header.php:
    <?php if ( $sack_js ) { ?>
    <script type="text/javascript" src="../wp-includes/js/tw-sack.js"></script>
    <?php } ?>'
    just before:
    <?php if ( ($parent_file != 'link-manager.php') && ($parent_file != 'options-general.php') ) : ?>
    <style type="text/css">* html { overflow-x: hidden; }</style>`

About this Topic