SeanBluestone.com Forums » WordPress

WordPress Link Directory - Bug Reports

(89 posts)
  • Started 3 years ago by admin
  • Latest reply from artphotoasia
  1. Can someone, anyone, tell me how to make a call to this script on a non post or blog page. Simply put, I want to include the categories layout on the main wordpress page.

    When I press on the "Links" in my menu, it takes me to the page that shows my categories, with the menu above it. How do I include that on say my opening wordpress page.

    What would I use in the code to call that?

    Posted 3 years ago #
  2. Hi,
    I just set up the link directory to my blog Myanmar Man's Diary. It is a great plugin but it also contains a lot of bug. One problem is that the capchas are not working. There are error messages on add link page, and when i add link, the message "each capcha can be used only once" is displayed. Turning off the capcha option solved this problem, but I am now vulnerable to spam attack. Another thing is when i tried to approve the added links. It shows error message. I disable the mail option and this solve the problem. I hope you will be able to solve these bugs. Nice directory and easily incorporated into my theme.

    Posted 3 years ago #
  3. Bamarlay, I had the same exact problem too. I don't mind using it without capcha, even though it could become spammy.

    I have one question though, how do you put text at the bottom or top of the "ADD URL" page.. I want to display some quality guidelines for people when submitting. I noticed the demo script here has text on top? do you know how to do that?

    where do I enter the text?

    Posted 3 years ago #
  4. I just upgraded to WordPress Link Directory 1.8.1 and Wordpress 2.7.

    Major problems:

    1. I lost all the categories I had created and the links I had added. Not too big a deal because I was still fiddling with things and hadn't added too much.

    2. I moved the URL of the directory page, but the "Add URL", "Link to Us" and "Search" all go to the old location which gives a 404 error.

    3. I inactivated the plugin to see if I could figure out how to fix problem #2 myself, but couldn't. When I reactivated the plugin all the categories I had freshly added were gone and replaced by the defaults.

    Obviously this isn't working at all for me. Is there something I can do to make the changes stick?

    Posted 3 years ago #
  5. OK, so I did find the "Permalinks" setting which relates to my problem #2.

    Unfortunately changing the permalink setting doesn't fix my problem: the links to "Add URL", "Link to Us" and "Search" still go to a 404 page. The difference is that it appears that the URL should be correct. My directory page is "blogs/", and "Add URL" links to blogs//addsite. I thought the problem might be the additional slash, but blogs/addsite is also a 404 page.

    All the links to the directory pages are 404 as well. You can see the directory at:
    http://sciencewomen.com/blogs/

    The earlier version I upgraded from seemed to work OK. Is there a way to downgrade?

    Posted 3 years ago #
  6. So did any one find a solution to the captcha problem ?

    Posted 3 years ago #
  7. Anyone with this problem...

    Fatal error: Call to a member function using_permalinks() on a non-object in /home4/*******/*********/wp-content/plugins/wordpress-link-directory/link-directory.php on line 1247

    Here is what you need to do...

    First things first, do as Chuck suggested and open the .php file of link-directory.php and put two / in front of line 105. It will look like this when you are done...
    //register_deactivation_hook(__FILE__, 'wplinkdir_uninstall');

    Then upload that file back to the server.

    All that does is stop the links and categories from being deleted if you deactivate the thing for some reason. Pain in the butt.

    Now, as to the line 1247 problem. This has to do with an email being sent to the approved site. All you have to do to be able to approve sites that are pending is turn off the "Email Them" tab in the option settings.

    Then go in and approve your links. If you want, you can always email them on your own or turn off the "require approval" button. Just keep an eye on things and make sure the sites are legit.

    Anyways, thought it may help someone. It's a quick fix until Sean gets the bugs out of this.

    Posted 3 years ago #
  8. ChuckMcB
    Member

    Cheers Tune, disabling "Email them" allowed me to authorise the pending links without problem.

    Posted 3 years ago #
  9. I love this so far man great work. But I have one problem when you go tot he page I created for the directory, it has this error at the very top:

    Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /home/content/j/f/o/jfoster1980/html/wp-content/plugins/wordpress-link-directory/link-directory.php on line 2274

    Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/content/j/f/o/jfoster1980/html/wp-content/plugins/wordpress-link-directory/link-directory.php on line 2296

    So far it doesn't seem to be effecting anything but its really crappy looking to anyone that comes in. Any ideas?

    Posted 3 years ago #
  10. UPDATE: I have fixed this problem and of course it was simple. I had put a comma in UFO's category. I removed it and viola no more error! It was really making me wonder how there wasn't a count number beside it either.

    Posted 3 years ago #
  11. Apostrophes in Category titles keep the links within from showing up. It looks like they are escaped properly in some places but not others - maybe a sanitization function to clean up the slashes, apostrophe and comma handling, and potential security issues.

    Posted 3 years ago #
  12. First, great plugin.

    Second, is there a way to allow users to add multiple links without having to complete the entire form for every link? Each user who visits my site could have a large number of links they need to enter. Maybe you could create a registration for adding to the link directory. Then, all you would have to do is add the new URL and description.

    Third, users need the ability to edit their submissions. I know that I can do it from the backend, but it'd great to allow the user to edit their entry.

    Finally, thanks again.

    Posted 3 years ago #
  13. succeedingsteps
    Member

    I was having the not able to approve links problem that everyone else is having after I upgraded to 1.8. I have disabled the approval email, but no one can add links to the directory because I am getting the following error. When I did a search for it I saw a couple other sites with the same problem. Any advice? I tried turning off the Captcha, but the error is still happening.

    Error:
    Fatal error: Cannot redeclare class CaptchasDotNet in /home/xxxx/public_html/wp-content/plugins/wordpress-link-directory/captcha.php on line 10

    Posted 3 years ago #
  14. Hi Dude,

    Nice Plugin, I will appreciate if you can make some changes to CSS files as they always give problem to the HTML validation of my blog and I have to edit the files manually.

    You can replace <STYLE> with <style type="text/css">

    and in the comments you are using some tag as well which also create problem in HTML validation.

    Cheers ..

    Posted 3 years ago #
  15. I too think this is a great looking plugin and look forward to the kinks being ironed out.

    The submission form works for me from the user perspective regardless of setting. On the admin side, the only way to approve the submission is if the "email them?" had been previously set to "no". I would like to be able to set this to "yes" but the approval fails. The captcha works fine for me.

    I also discovered that if you "inactivate" the plugin, all data is lost. Not good!

    I also have trouble with the permalinks and have to leave it at the blank setting for it to function but I would prefer to be able to use "pretty urls".

    This might help Peggy. I discovered that to make the program functional in at least a basic way and fix the error 404 issue, you can set the permalinks field empty. After you have saved your settings, go to the Wordpress edit page section and open your links page and click update. For some reason, for me, the plugin starts working properly by doing that.

    ...Rob

    Posted 3 years ago #
  16. I've just released 1.8.2 which should solve a lot of the problems mentioned in this thread, namely the issue with being able to approve links and optionally sending out mail when doing so.

    I also corrected the CSS so it should validate fine now. I'm still no further on the permalinks (to be fair I've been kept busy with other things and haven't had much time to work on this plugin) though one thing that always seems to make a difference is to make your Link Directory a Post rather than a Page. I'm not entirely sure why but this usually helps get permalinks working.

    Keep in mind that the number 1 problem with permalinks is that they don't work when your WordPress permalinks are just %postname% (like I have on this site). I haven't been able to find a workaround to this yet.

    For my next major update I'll be looking at allowing registered users to be able to edit links they have submitted and perhaps expand this a bit further.

    Keep your bug reports coming. I try and fix all issues mentioned in here and in the comments before releasing a new version so if your problem persists or I haven't addressed you, feel free to post again.

    Cheers

    Posted 3 years ago #
  17. rickpoet
    Member

    Hi Sean,

    Thanks for this update...I'm not able (using latest version of Wordpress) to add links, approve them and see them on my directory page with no issues.

    Remaining issue: CAPTCHA. Tried both types offered.

    1) With Securimage I received a message that I had not entered the right code. I tried this many times and am quite sure I entered the right code at least some of the time.

    2) With Captchas.net I received the same message I had in the past that has been reported here before (Every CAPTCHA can only be used once...)

    So CAPTCHA still doesn't work.

    Finally a few feature requests:

    1) Being able to import links. I have a large database of links and descriptions and I'd like to be able to import them into whatever categories I want using a spreadsheet's output or other format choices.

    2) Ability to customize text in auto e-mails which are sent out.

    3) Ability to adjust presentation of links on pages (maybe I can already do this somehow with CSS or Template files, but I'd like to be able to adjust link colors for example, or put the link title on one line and the description on the next etc.

    Thanks very much...getting closer!

    Rick

    Posted 3 years ago #
  18. rickpoet
    Member

    oops...change that to I'm NOW able in the first line of the previous post...kind of changes the whole meaning.

    Posted 3 years ago #
  19. I'm not fluent in scripts and code but I have found the following in case it is helpful regarding permalinks.

    When I use: /links
    in the permalinks option setting, then the top level links page loads (as a page).

    The page links on that page do not work however. They lead to an "Oops! ..." page. The permalink looks fine and are in the format /links/Alberta+Links for my "Alberta Links" page for example. Is a hyphen not preferable for a permalink situation, not a +?

    Anyway, I just thought I'd mention that /links in the permalinks field gets us to the first page.

    (this is not the newest version by the way)

    ...Rob

    Posted 3 years ago #
  20. In the link listings, I've noticed with entries with more than one line of description, when you mouse over the description, the text moves to the left and overlaps the PR graphic. It stays there after you move the cursor away.

    This applies to IE7.

    Firefox 3.0.5 works fine.

    ...Rob

    Posted 3 years ago #
  21. 1.8.2 does resolve the sending out mail when approval links issue. Thanks. I've also noted that deactivation no longer erases my records, so thanks again.

    Now the other small thing with the "link approved" message is that it gives a reply address of my server. I'd like to be able to change this so as not to give grief to the administrator. I may be able to get a programmer to patch the plugin but I wondered if there was another workaround.

    Another improvement would be on the homepage listing of categories and subcategories.

    1. Being able to put a different message there besides what is at the top of the category page.
    2. Option to display all the subcategories. For example I have USA as a category, with all the states as subcategories. Only the first three (alphabetically) states are displayed on the Home menu under USA.

    ...Rob

    Posted 3 years ago #
  22. Rob,

    You can change the From: line of the approval email (or any other mails the plugin sends out) simply by editing line 1287:

    mail($Email,$Subject,sprintf(__('This is just a quick message to let you know that your link has been approved at %1$s and is now live at our site.%2$s'."\n\n".'Link Name: %3$s'."\n".'Link URL: %4$s'."\n\nNote that your email is not available to the public and that this is an automated message, please do not reply to it.",$WPLD_Domain),$BlogName,$LinkOut,$_POST['title'],$_POST['url']));

    To:

    mail($Email,$Subject,sprintf(__('This is just a quick message to let you know that your link has been approved at %1$s and is now live at our site.%2$s'."\n\n".'Link Name: %3$s'."\n".'Link URL: %4$s'."\n\nNote that your email is not available to the public and that this is an automated message, please do not reply to it.",$WPLD_Domain),$BlogName,$LinkOut,$_POST['title'],$_POST['url']),'From: DesiredAddress@Here.com');

    You can change the text above the categories by editing line 2247:

    $page.="<h2>$Cat".($ShowNums == 'Yes' ? ' ('.@mysql_num_rows($getLinks).')' : '')."</h2>$Desc

    ";

    Simply put your text before the <h2> (which displays the Category title).

    I don't have a solution for displaying all sub categories, but you would want to play around with line 2258 to find a solution:

    if($x==$CatsPerRow){

    Posted 2 years ago #
  23. shibainu
    Member

    First off, thanks very much for producing this plugin. It's just what I need for my local community portal but I'm experiencing some teething problems. Don't want to seem ungrateful before I start in with the bugs ;)

    I'm using WP2.7 and wplinkdir 1.8.2.

    My site is in Japanese and I've run into the following language/translation issues -

    1. I made a Japanese version of the .mo file, added it to the 'lang' folder and none of the text changed from English. It turns out the php is pointing to the main wplinkdir directory and not 'lang'. Move the .mo up a level and everything works just fine.

    2. Not all of the text used in the plugin is present in the .pot file so many strings are untranslateable. There are too many to list here.

    3. Several strings remain in English even though Japanese translations are present in the .mo file.

    4. After adding some test links to the directory all the Japanese text was coming out garbled (as a row of question marks). Turns out the mysql tables were latin_swedish encoded. Manually changing these to utf8 in phpmyadmin solved the problem.

    5. All Japanese text in the link approval emails is garbled. I'm guessing these need to be utf8 encoded too.

    I've also run into some other, general issues -

    1. From the readme - "Automatically checks for reciprocal links on pages specified by PR."
    I can't get this to work. It seems to be ignoring the PR I've selected under 'Reciprocal Options' in the admin area and treating all links the same ie. no reciprocal link is required.

    2. When using securimage.php as the CAPTCHA method -
    a) Clicking 'Reload Image' and 'Audio' had no effect.
    b) Conflicts with the all-in-one-seo-pack plugin. I get the following error message after submitting a link -
    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at [my site directory here]/wp-content/plugins/all-in-one-seo-pack/all_in_one_seo_pack.php:632) in [my site directory here]/wp-content/plugins/wordpress-link-directory/securimage.php on line 422

    3. One minor gripe - if the link added is at, say, www.yoursite.com/dir1/dir2/ the screenshot thumbnail in the directory only shows the page found at yoursite.com not the actual page being linked to. Is there any way to change this?

    Sorry to dump such a huge list on you! Thanks in advance for your help.

    Posted 2 years ago #
  24. I'm using WP2.7 and wplinkdir 1.8.2.

    I am using the %postname in permalink structure and there is no way that I loose this structure in my website (except if you can tell me how to customize my links in every page and post)

    So I can see the menu here : http://www.dinergie.com/partenaires
    You can see that the directory overlap in firefox but not in internet explorer (minor bug)

    but when you you to a directory : http://www.dinergie.com/links/finance
    it goes to main index page.

    can you tell us a way to add a code on a specific page for each :
    Home | Add URL | Link To Us | Search
    and to list each website on a specific post

    Maybe you can add a specific code to type in like [wplinkdir] ?

    thank you in advance

    Posted 2 years ago #
  25. moxas
    Member

    Hey, all the time i trying to add site and every time writes: The URL you supplied doesn't seem to be valid.
    What can be a problem?
    I`m using WP 2.7.1 and LD 1.8.2

    Posted 2 years ago #
  26. Hello,

    I have exactly the same problem. When I try to add an URL with the front end, it says "The URL you supplied doesn't seem to be valid". If I try to do the same with the admin pages, it works (with the same URL).

    I have also another problem. I can't add a subcategory. When i try to do it, it just reload the admin page without adding any new category.

    I`m using WP 2.7.1 and LD 1.8.2. I'm using permalinks (%category/%postname/). My other plugins are :
    Akismet - All in One SEO Pack - Are You Sure? - Auto Copyright
    Blog Icons - Breadcrumb NavXT - Category Icons - Contact Form 7 - Dashboard Draft Posts
    Dashboard: Scheduled Posts - Do Follow - FD Feedburner Plugin - Google Analytics
    Google XML Sitemaps - KB Robots.txt - Lightbox 2 - Maintenance Mode - mylinks
    pageMash - Register Plus - RSSupplement - Search Everything - Simple Tags
    Theme Test Drive - User Photo - Viper's Video Quicktags - wikioVote
    WordPress.com Stats - WordPress Database Backup - WordPress Users - WP-dTree
    WP-PageNavi - WP-PostViews - WP-PostViews Widget - WP Security Scan

    Thanks for your help.

    Posted 2 years ago #
  27. I've been away and then playing catch-up so apologies for not getting back sooner.

    Your suggestion for changing the return address worked great as well as your other suggestion for changing text above the categories. That was officially the first time I messed around with making code adjustments. I haven't a clue what I was doing but your instructions were good and I managed. I didn't have line numbers in the plug-in editor but I was able to search for the relevant code.

    The last item about displaying all the categories was beyond my abilities at "playing around". I found the code in question, blindly tried changing a couple of things, but I felt to be on thin ice so I put it as it was and decided to leave well enough alone for now.

    Thanks for your help.

    ...Rob

    Posted 2 years ago #
  28. greenmamba
    Member

    Solution for :
    Fatal error: Cannot redeclare class CaptchasDotNet

    You might also get a Fatal error: Cannot redeclare class SecurImages if you try and use the security images.

    This is a problem on some servers with (I think php5 - speaking under correction) where you can only declare a class once.

    So find the following lines in your link_directory.php:

    include 'capthca.php'; and change it to:

    require_once 'captcha.php';

    You can do the same for the include of securimage.php.

    Neither the two captchas are working for me, I get the same errors as the rest of the people posting here (capthca can only be used once, or I am not human....)

    Posted 2 years ago #
  29. I'm including the lat 4 comments added to the WPLD page:

    #385 Ed Coyne on 02.23.09 at 1:09 pm

    I seem to be having the same (or similar) problem as Sue Scaletta. It looks like everything works fine without using permalinks, but, as soon as I enable them (in any combination), the links directory is replaced with my blog or home page.

    I’m hesitant about downloading the Pro version, because it’s still in BETA.

    However, nice work on this and it looks like you’re providing excellent support!
    #386 Ed Coyne on 02.23.09 at 1:14 pm

    I also got this when I tried to submit a link:

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/policalc/public_html/wp-content/plugins/all-in-one-seo-pack/all_in_one_seo_pack.php:632) in /home/policalc/public_html/wp-content/plugins/wordpress-link-directory/securimage.php on line 422

    Any ideas?
    #387 Ed Coyne on 02.23.09 at 1:22 pm

    I know…I’m being a pain…

    When I try to “buy” a premium link, I get redirected back to the links home page (test mode or not).

    Also, from the email generated by WPLD, it says the following: “You can view your link here: http://www.policalc.com/links&id=2

    This generates a page not found error (permalinks not enabled).
    #388 Ed Coyne on 02.23.09 at 3:32 pm

    I guess while I’m waiting, I’ll give you an update…

    For some reason, I was able to get the directory working with permalinks enabled. It just “started working”.

    The error message, above, was eliminated when I switched to “Captchas.net” instead of Secureimage.

    The “buy” issue still exists and I would love for WPLD to affect the page title, and possibly keywords and description when going to the “more info” page for each link. I understand that there would have to be a “keywords” textbox on the submission form.

    Posted 2 years ago #
  30. Re: angelopc
    "When I try to “buy” a premium link, I get redirected back to the links home page (test mode or not)."

    Me too. Actually I get sent to a page that displays the headers of the WPLD but no content. Behind the permalink it says ?act=premium?id=&action=process, not sure if that helps.

    using WP 2.7.1 and WPLD 1.8.2. with permalinks. Seems to work fine except for the "Premium" payment processing, where people should get sent to the PayPal page - or a confirmation page? Not sure how this is supposed to work.

    I am currently in development stage, at http://www.channeling.net/test/linkexchange

    Posted 2 years ago #

RSS feed for this topic

Reply »

You must log in to post.