The MU forums have moved to WordPress.org

anyone have alinks plugin working with MU ? (26 posts)

  1. kandevil
    Member
    Posted 15 years ago #

    As far as I understand it, alinks (http://www.headzoo.com/alinks) has worked with wpmu at some point. You could enable an admin version, which controls the links displayed across all the blogs on a site? rather than it working individually on blogs.

    Does anyone have it working with version 1.0rc2 and care to help me out installing it and using it with wpmu in an admin role so I can control all blogs links?

    This manual talks about a config.xml file which you can edit to enable admin control: http://christianchampagne.com/wp-content/plugins/alinks1.0/alinks1.0rc2.pdf but it isn't mentioned in the actual pdf you download with alinks and I can't find config.xml anywhere.

    I have asked at the alinks website & forum but had no response, so thought I would ask here, see if anyone has had any luck

  2. andrewbillits
    Member
    Posted 15 years ago #

      Does anyone have it working with version 1.0rc2

    You need to upgrade ASAP.

    Thanks,
    Andrew

  3. andrea_r
    Moderator
    Posted 15 years ago #

    I think that was the plugin version numbe,r not MU's. (at least that's what I figured, given the URL to the plugin)

  4. kandevil
    Member
    Posted 15 years ago #

    yeah that is plugin version not my mu version :) I've got WordPress MU 1.3.3 running at the moment

  5. andrewbillits
    Member
    Posted 15 years ago #

    Ah, gotcha. Sorry about that.

    You'd be surprised how many people still have 1.0 installs.

    Thanks,
    Andrew

  6. headzoo
    Member
    Posted 15 years ago #

    v2.0.1 will be working with MU. v2.0 is available now @ http://alinks.headzoo.com/downloads .

  7. SteveAtty
    Member
    Posted 15 years ago #

    I installed it and its working OK on WMPU

    Couple of things :

    1) It finds partial matches (so alinks) grabs part of the word permalinks. This is a bit annoying. Surely it should only match full words or phrases?

    2) It can't cope with ' in descriptions - it escapes them so they show as \' which doesn't look good.

  8. SteveAtty
    Member
    Posted 15 years ago #

    Another oddity. If you've not been into the Alinks menu tabs for quite a while (or force a reload) then it takes a long time to completely load the admin pages.

    This seems to be down to a problem with the maximum number of redirects being reached:

    mod_rewrite: maximum number of internal redirects reached. Assuming configuration error. Use 'RewriteOptions MaxRedirects' to increase the limit if neccessary., referer: http://my.test.domain/wp-admin/admin.php?page=alinks/includes/Alinks/Menu.php

  9. headzoo
    Member
    Posted 15 years ago #

    Hi Steve,
    Thanks for the feedback. The first two issues are easy to fix. I'm going to release 2.0.1 this weekend, and those fixes will be in place.

    As for the redirects issue, I'm scratching my head. aLinks doesn't perform any redirects at all, so I don't know what the issue could be.

  10. SteveAtty
    Member
    Posted 15 years ago #

    OK - I must admit it confused me too because I had a quick dig through the code.

    I'm going to see if I can work out what is going on - all I can think is that its something in my server config

  11. SteveAtty
    Member
    Posted 15 years ago #

    Actually I think I've found the problem:

    [09/Jul/2008:09:15:34 +0100] "GET /wp-content/plugins/alinks/includes/dojo/dojo/resources/blank.gif HTTP/1.1" 500 538 "http://canalplan.blogdns.com/wp-admin/admin.php?page=alinks/includes/Alinks/Menu.php" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9) Gecko/2008052906 Firefox/3.0"

    alinks/includes/dojo/dojo/resources doesn't exist!

    This seems to be coming from wai.js

    The rest of it is just down to the size of the page - its nearly 1MB : 941K in 107 requests compared to 426K in 35 requests for the main WP Write entry page. That is with compression all turned off.

    With compression turned on it drops to 304K (compared to 179K for the Write entry page) and load time is 19 seconds compared to 8.4 for the Write Page.

  12. SteveAtty
    Member
    Posted 15 years ago #

    I just tried it with Safari on Windows and I got a warning

    "A script on aLinks: keyphrases is making Safari unresponsive"

    So there is something screwy somewhere

  13. SteveAtty
    Member
    Posted 15 years ago #

    I'm starting to get rather annoyed.

    I'm now getting redirect errors on other modules (like the tan tan photo album). This is because even if I'm NOT in the aLink menu there lots of references to the aLinks plugin in the page header:

    <script type="text/javascript" src="http://canalplan.blogdns.com/wp-content/plugins/alinks/includes/dojo/dojo/dojo.js"
    	djConfig="isDebug:false, parseOnLoad: true, usePlainJson: true"></script>
    <script type="text/javascript" src="http://canalplan.blogdns.com/wp-content/plugins/alinks/includes/scripts/alinks.js"></script>
    
    <script type="text/javascript" src="http://canalplan.blogdns.com/wp-content/plugins/alinks/includes/scripts/keyphrases.js"></script>
    <style type="text/css">
    	@import "http://canalplan.blogdns.com/wp-content/plugins/alinks/includes/dojo/dojox/grid/_grid/Grid.css";
    	@import "http://canalplan.blogdns.com/wp-content/plugins/alinks/includes/dojo/dojox/grid/_grid/tundraGrid.css";
  14. headzoo
    Member
    Posted 15 years ago #

    "alinks/includes/dojo/dojo/resources doesn't exist!"

    I'm really trying to trim down the size of Dojo for the distribution. It already forced me to keep lots of stuff I'm sure is not being used anyway. I guess /resources needs to stay also.

    I'm still confused on how that could cause an infinite-redirect. My initial thought when you said, "If you've not been into the Alinks menu tabs for quite a while" was your login cookie finally expired. Then of course when you try to reload a page, WP wants to redirect you to the login page.

    "This is because even if I'm NOT in the aLink menu there lots of references to the aLinks plugin in the page header:"

    Something weird is going on. It should only add the header bits when you're under the aLinks menus. In my testing that's exactly what's happening.

    You can see in /includes/Alinks/Menu.php that it checks if an aLinks menu is being displayed with:

    if (isset($_GET['page']) && substr($_GET['page'], 'alinks') !== false) {

    So I don't know why you're having that problem.

  15. headzoo
    Member
    Posted 15 years ago #

    Clearly I'm an idiot :)

    "substr($_GET['page'], 'alinks') !== false) {"

    Should be

    "strpos($_GET['page'], 'alinks') !== false) {"

    Not sure why it works on my system though.

  16. SteveAtty
    Member
    Posted 15 years ago #

    Well by changing that line and getting rid of the background image line in wai.js its now behaving.

    As for why its behaving on yours I've no idea... don't you just love computers!

  17. headzoo
    Member
    Posted 15 years ago #

    Excellent. Thanks for hanging in there with me. :)

  18. SteveAtty
    Member
    Posted 15 years ago #

    How would I offer my blog users a pre-installed configured factory for fancy tooltips?

    The obvious way without too much intervention would be for me to create the basic list and then export it and then let people know where to import it from wouldn't it?

  19. headzoo
    Member
    Posted 15 years ago #

    That's the route I would take. Just make sure to include your factory settings when you export the list.

    Are you running a MU site? Sometime this weekend I'll write up a tutorial on installing aLinks with MU in "admin only mode". That is, only the site admins can control the keyphrases, but the links still appear in every blog.

  20. SteveAtty
    Member
    Posted 15 years ago #

    I'm running it on MU but with it in the plugins directory which allows people do their own configuration - one other thing I think you might need to add is a limitation which only allows site administrators to upload factories.

  21. headzoo
    Member
    Posted 15 years ago #

    Good point, because any installing/uninstalling of factories would affect every user.

  22. djr
    Member
    Posted 15 years ago #

    Slighty offtopic, but your website seems down (a lot). Is there anywhere I can find the new aLinks 2 Beta? The old 1.x version doesn't seem to activate anymore. Thanks.

  23. SteveAtty
    Member
    Posted 15 years ago #

    I've had uninstall it. It suddenly started throwing

    PHP Fatal error:  Allowed memory size of 33554432 bytes exhausted (tried to allocate 40 bytes) in /webstuff/canalblogs/wp-content/plugins/alinks/includes/Alinks/Cacher/File.php on line 367

    So I upped the memory limit and it just caused Apache to segfault on me. Turning off Alinks stopped the segfault so I'm not sure what is going on

  24. johanhorak
    Member
    Posted 15 years ago #

    Hi I had alinks working but then the links did not show up anymore. I tried to go and visit Sean at http://headzoo.com/ but I get server error when I visit Sean's site.

  25. johanhorak
    Member
    Posted 15 years ago #

    As mentioned above I am having problems with alinks. Searching I got this http://www.beste-telefoon.nl/wp-content/plugins/Zip/alinks2.0.2.zip and re-installed alinks. And it worked.

  26. SteveAtty
    Member
    Posted 15 years ago #

    Is it still a resource hog? I found it threw huge number of extra GETS into each page and really did slow things down.

About this Topic

  • Started 15 years ago by kandevil
  • Latest reply from SteveAtty