WordPress ODLinks Plugin

WordPress ODLinks Plugin Guide & Instructions

Open Directory Links (Website Directory Project) is a WordPress plugin.

ODLinks 1.4.3-a is now available.

last changes (May 2018)

last changes (15.03.2013 about: 15:00 GMT)
To display the latest xx ads in the sidebar,
you copy the following code and place it anywhere else in the sidebar.
<?php lastODLinksSidebar(8) ?>

last changes  (Today 07.03.2013 about: 15:00 GMT)
– implemented the page navigation functionality
– updated to uses the thumbshots.ru for the Website screenshots
The update fixes website’s search function. [not important!]
Save your local changes (you have any) and unzip the file and overwrite existing directories and files.

 

The plugin can help you to start a profitable website directory which is the same as the DMOZ.org directory.This plugin is under active development. If you experience problems, please first make sure you have installed the latest version. Feature requests, bug reports and comments can be submitted [here]
1) Click here to download the odlinks plugin last release

Installing the plugin:

1. Unzip the downloaded file and upload the odlinks folder to your WordPress plugins folder (/wp-content/plugins/)
2. Log into your WordPress admin panel
3. So go ahead and activate the ODLINKS plugin, which should appear in the list of installed plug-ins.
4. “ODLinks” will now be displayed in your admin panel.
5. For first step instructions, go to Options “Settings”

You will need to make the Smarty cache and template_c folders writable (chmod 777):
Use your FTP client to change its permissions to 777.
* odlinks/includes/Smarty/cache
* odlinks/includes/Smarty/templates_c

Once you have changed the folder permissions, return to your browser, and refresh it.
Now you can submit your settings. After submission, installer process will create the tables automatically.

For your information, after submitting the settings a new page will be created with the title [[odlinks]](in upper letters) .
This title will be also added to the content of pages automatically.
Do NOT remove the page. The plugin work correctly with this page ID.
Please, you should keep the default title[[odlinks]] (in upper letters) of page to make it to work…

To uninstall and deactivate the plugin, please go to Options “uninstall” under ODLinks menu.

6. Creating/Editing a category and subcategory
– Before deploying, you should create and set-up the categories and subcategories for your Website.
– Go aheead and choose “Categories” from the ODLinks drop down menu and insert the category name and category description and then submit it.
– You can insert the subcategories by clicking on ‘Add Category’ and choosing any category name from the list in parent category. If you select root as parent category, then you create a main category.
– Create a subcategory is mandatory and required!

Depending on the “Permalink Settings” it’s possible for some pages that the categories urls are not accessible.
To fix this problem you should go to update the .htaccess file which is exised under wordpress top directory.

Normaly if you click on categories you will get something like this:
<yourDomain>/odlinks/?_action=main&id=2&parent=1

If insteaed of the “/odlinks/” somthing elses is placed for example “/97-revision-v1/”
you can upadte your the .htaccess file as follows:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteRule ^97-revision-v1/?([^/]*)?/?(.*)$ /index.php?pagename=odlinks=$1=$2 [QSA,L,R,NS]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

== Frequently Asked Questions ==

How can we display the latest xx ads in the sidebar?

You copy the following code and place it anywhere in the sidebar.php located in active theme folder.
<?php lastODLinksSidebar(8) ?>

 

This guide will show you the step by step process for first installation/configuring

 

Demo:

Test ODLinks (Open Directory Links)   OR  odlinks.com

Questions and Examples of Use

Frequently Asked Questions

Q. Why the main site gives me the 404 or Not Found error message or I cannot see the “Submitt a link”?

This usually occurs only when using a custom permalink structure (like /%category%/%postname%/).
This is a .htaccess 404 error message and you should update your .htaccess file in the WP root directory.

Normally you should not edit the htaccess, the Permalink link will be detect by plugin automatically.

Please install the CURL module for PHP.


Todo
:

179 Comments on “WordPress ODLinks Plugin

  1. @res: Please modify the stylesheet in:
    wp-content/plugins/odlinks/themes/default/css/odlinks.css
    to sets the background color of the layout area or fonts

  2. Hi markus, Thanks for report.
    Currently i have added linkdirectory and websitedirectory to the tags. (the wordpress search plugins function is terrible)
    and removed the complete rewrite_rules methods.
    This weekend I’ll be extend the link’s methods (move, stinky and banned) used by administration interface

  3. دمت گرم آقای فرقانیان اما !!! این افزونه مشکل اساسی با فارسی داره
    واقعا تبریک میگم
    خوشحالم کردی با این افزونه و نوشته ها در مورد فیلسوفان ایران…

    —–>
    fixed, here an example:
    farsi-news.com

  4. @pera, Thanks for your report.
    For approval please click on the Manage->OD-Links Admin->ODLINKS Links
    Approve Button.
    I will update and upload the next version of the plugin Monday Morning.

  5. Hi all, you have right,
    Sticky or Banned button should you show the list of unwanted websites
    These will be rejected automatically.
    And looking for a new specific features for the plugin … let me know!
    This weekend, I will go to the fix them.

  6. @all;
    Why the main site gives me the 404 or Not Found error message or I cannot see the “Submitt a link”?This is a .htaccess 404 error message and you should update your .htaccess file in the WP root directory.
    To support Permalink structure you find an example in README file.

  7. Thanks for your thoughtful comment.
    I was busy with mp3-bazar.com and something else at the time.
    I collected the critical comments and reports since last two weeks.
    Currently I upgraded the WordPress to 2.7 (this site) and I will begin to start implementing of known issues as soon as possible.

  8. dooste aziz salam
    moghe faal kardan in plugin in error ra mide:
    Parse error: syntax error, unexpected T_CASE in D:\wamp\www\wp\wp-content\plugins\odlinks\admin\odl_admin_functions.php on line 132″

    moshkel az chie?

  9.  سلام على
    notebook مى بخشيى كه دير مينويسم  هوا سرد حدود منهاي ۱۵ درجه است و كامپيوتر تو بالا خونه است و 
    هم يك منيتور۱۰ اينچ داره و كله ام كار نمى نكنه
    . به هر حال نمى دانم تو اين مدت موفق به گذاشتن پلاگين شدى يا نه من اين خط در مودول  را پيدا نكردم

  10. Hello, your plugin would be a great addition to my website, but I just cannot get it to work. I can create the structure and I also have the main page showing the link categories. But no way to add links. When I click on categories I get a 404. I tried changing .htaccess with your suggestion, also the variant in your readme.txt but get error 500 every time. My WP version is 2.7.1.  I would really like this to work, any help is appreciated. Thanks.

  11. I have been using odlink plugin with my wordpress for a while. Everything perfect, just a problem that I can’t solve.
    I can’t add image when I add new post. I need to deactivate plugin when I need to add image to my post blog.
    Anyone know how to solve this problem? Please let me know. Thanks.

  12. Edit the .htaccess file in the root folder of your wp and extend it with:

    #RewriteRule . /index.php [L]
    RewriteRule !odlinks/ /index.php [L]
    RewriteRule odlinks/([^/\(\)]*)/?([^/\(\)]*)/?([^/\(\)]*)/? /index.php?pagename=odlinks&_action=$1&id=$2&parent=$3 [QSA,L,R,NS]
     

  13. I installed ODL  1.0.2-d on wpmu 2.8.6.
    but every time i process a administrative operation, it warns me the following:

    Warning: Cannot modify header information – headers already sent by (output started at /home/meiguoli/public_html/wp-content/plugins/odlinks/odl_control.php:119)

    would you please have a look at the problem and spend some time to fix it?

     

    —>

     

    I changed the code and Hope the fix works for you. Please download and install again. By the way I am not sure, that the plugin work well with WPMU.

  14. 1) how to make the search works?
    2) can i edit these “Submitting your website URL link to our free online web directory
    This will help you to get high quality traffic back to your site and increase your link popularity.” wordings?

    thanks in advance.


    —>correct, You Have Rights. We need a language file. I forget it. I start to implement it now Thanks.



    – implemented english language file done.
    svn upload just finished

  15. how can i make page rank working
    because i add  one site with page rank 3 and still page rank 0 in  table


    –> correct, the google has been added a new API since 2 month.
    I fix the file and upload on svn.
    here you can please download the file here and copy/replace it in the wp-content/plugins/odlinks/includes directory

  16. Warning: require_once(C:\xampp\htdocs\wordpress/wp-content/plugins/odlinks/language/lang_en.php) [function.require-once]: failed to open stream: No such file or directory in C:\xampp\htdocs\wordpress\wp-content\plugins\odlinks\odl_control.php on line 155


    —> Sorry, Download the plugin and install it again
    or download the language here
    https://forgani.com/upload/language.zip

  17. Warning: require_once(/home/xxx/public_html/xxx/wp-content/plugins/odlinks/language/lang_en.php) [function.require-once]: failed to open stream: No such file or directory in /home/xxx/public_html/xxx/wp-content/plugins/odlinks/odl_control.php on line 155


    —> Sorry, I forgot to commit the laguage directory in to svn.
    ypu download the plugin again or download the language here language.zip (https://forgani.com/upload/language.zip)

  18. I am loving the plugin and it has worked well.  I have one problem and I’m hoping you can help.  If you follow this link: http://pgnew.com/odlinks/?_action=main&id=56&parent=0 you will see that most of the links work well.  However, under “Texas” and then “Paralegal Associations” the page will not load and on some browsers it actually distorts my template.  California has had a problem too.  Both of these States have 17 + links associated with them.  It seems the more links per folder, it slows down or won’t load, etc.  I do need a response if possible since I am attempting to redesign my site.  Would love to continue using your plugin if possible and have already put quite a bit of time in loading all these links.

    Much thanks in advance for your assistance.


    —> California showing fine in Firefox form my site. For Texas maybe the error available in the apache error log can help me.
    or you create a new subcategory in category Texas and move some links form the “Paralegal Associations” in to the new subcategory and test it again.

  19. I need to import more than 100 new companies to the directory. Is it possible?
    –>
    Yes, the import is simple.
    if imported from a mysql database, the importing can be done via some sql query.
    Importing the data from a text file is tricky and can be done by a simple perl script.

  20. January 29, 2010:

    I had to make a second folder called “Paralegal Associations 2” and transfer 8 links there.  Just doesn’t make sense.  I guess I can use it this way but would really rather have all the links in one folder.  I didn’t see any error messages or else I would have sent them. 

    January 2010, 22:00

    I am loving the plugin and it has worked well.  I have one problem and I’m hoping you can help.  If you follow this link: http://pgnew.com/odlinks/?_action=main&id=56&parent=0 you will see that most of the links work well.  However, under “Texas” and then “Paralegal Associations” the page will not load and on some browsers it actually distorts my template.  California has had a problem too.  Both of these States have 17 + links associated with them.  It seems the more links per folder, it slows down or won’t load, etc.  I do need a response if possible since I am attempting to redesign my site.  Would love to continue using your plugin if possible and have already put quite a bit of time in loading all these links.
    Much thanks in advance for your assistance.

    —> California showing fine in Firefox form my site. For Texas maybe the error available in the apache error log can help me.
    or you create a new subcategory in category Texas and move some links form the “Paralegal Associations” in to the new subcategory and test it again.

  21. HI
    I get an error404 when I try to access the categories. The adress also include som/635-revision/ like,
    /635-revision/?_action=main&id=7&parent=0

    My htaccess file llok like this: ( slug name is, lenkekatalog)
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    #RewriteRule . /index.php [L]
    RewriteRule !^(classified|lenkekatalog)/ /index.php [L]
    RewriteRule lenkekatalog/([^/\(\)]*)/?([^/\(\)]*)/?([^/\(\)]*)/? /index.php?pagename=lenkekatalog&_action=$1&id=$2&parent=$3 [QSA,L,R,NS]
    </IfModule>

  22. I installed this on wp3.0 beta 1 on a subdomain which was created as one of the sub-blogs using wp3.0 multi-site feature. the engine basically is wpmu core. I found that I can’t save the settings no matter how many time I tried (meaning, when I come back or refresh the setting page, the fields’ parameters are gone eventhough it showed successfully saved). the only parameter that successfully saved is the slug (which I changed into ‘links’).

    one more thing is I think I’m a bit confused about why there’re 3 pages of same settings page which located at:
    Tools > ODLinks
    ODLinks > ODLinks
    ODLinks > ODLinks Settings

    And I also don’t really sure if the htaccess work. the last time I checked, I got the 404 error eventhough I had edited the htaccess as per instruction. I just wonder if this has any connection with the unsaved settings on backend. I don’t understand a bit about htaccess and how it works though, and I really appreciate any feedback if anybody had tried the same thing using wp3.0. Thanks

  23. hi i just installed the plugin and it works fine..
    Very cool.
    But i have some suggestions for new features..
    If someone tell me a site for the directory i would tell him some sites he can choose from which he can link to..
    Perhaps to special watches
    or perhaps to another project with another domain..
    and then it also should check if the links are still on the side from time to time.
    also the “nofollow” should be included for Sites that didn´t link to one of my projects.
    tnx Toni

  24. currently I find and fixed a tiny bug in the body.tpl file in the directory odlinks/themes/default
    Please download and replace the file.

  25. Hi, I am not sure but I think in general setting exists an option to change the default odlinks URL after install.

  26. Hi,

    Plugin gives a 500 internal server error. I’ve narrowed this error down to the plugin not allowing more than 2 levels in the directory hierarchy e.g. Asia > Japan > Niseko would break, but Asia > Japan would work

    I’d imagine this is something to do with the PHP files included in the plugin, but I’m not experienced enough to go about debugging it.

    Can anyone point me in the right direction?
    ———————
    Hi, Have you looked in the Apache error log to see if a more specific error was generated?

    Regards

    Thanks

  27. Hi, I’m having the same problem as Navan with the “http://wordpress.org/?v=3.0” appearing below the title? How do I remove it?

  28. I searched for this issue but didn’t see any thing.
    may be can the following site help you:
    http://www.christianschenk.org/blog/removing-wordpress-generator-meta-tag-completely/


    now I saw the problem. It’s come up with the new version of wordpress.
    To disappear please add the following two lines to the bottom of ‘odl_control.php’ file.
    ///////////////
    function rm_generator_filter() { return ”; }
    add_filter(‘the_generator’, ‘rm_generator_filter’);
    //////////////
    Regards,
    Mohammad

  29. Hi Mohammed – I appreciate the help.

    Just another question – how do I get the thumbnail to show as part of the listing? I.e. I want it to appear without having to hover over the icon. I can see how you’ve got the thumbnails to display below – I just want each thumbnail to display as part of the listing.

    regards
    Shawn

  30. Hi Mohammed,

    Thanks for the great plugin!

    Suddenly I discovered that ODLinks plugin is in inactive mode. When I try to activate it, then I got following message:
    Plugin could not be activated because it triggered a fatal error.
    Warning: require_once(/home/content/63/5158863/html/wp-content/plugins/odlinks/includes//odl_functions.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/63/5158863/html/wp-content/plugins/odlinks/odl_control.php on line 96

    Any ideas how to fix this problem?

    Best regards,
    Mikk

  31. Hi there!

    Great script. Unfortunately im having a problem with adding links.
    Every time i have a link submitted it don’t get entered into the database our come up for approval.  The only way i have been able to add links is if i ad them directly to the database.

    You help with this solution would be greatly appreciated.

  32. Hi Unfortunately nothing ,
    I am receiving the approval link email when a user submits  but no links are there to be approved

    —> Admin Panel -> ODLINKS -> ODLINKS Links -> Approve Button
    you see the “post is awaiting approval”

  33. Hi, a bit strangely for me.
    follow the link sent by email and you click on the “Approve Button” on the top of the page. A new page will be shown and you see the message “Newly submitted links ready to be approved: ” correct ?

  34. PLEASE HELP: I’ve posted before without response.  I’m getting the following error message under the header:

    Warning:  fwrite(): supplied argument is not a valid stream resource in <strong>/home/pgnew/public_html/wp-content/plugins/odlinks/includes/odl_rss.php</strong> on line <strong>71</strong>
    http://wordpress.org/?v=3.0.1
    Warning:  fwrite(): supplied argument is not a valid stream resource in <strong>/home/pgnew/public_html/wp-content/plugins/odlinks/includes/odl_rss.php</strong> on line <strong>98

    Here’s a link to the page: http://paralegalgateway.com/pg-community/odlinks/?_action=main&amp;id=77&amp;parent=13

    Is there a fix for this?  Much thanks in advance.</strong>

  35. Hi Jeannie,
    create a empty file name odlinks.xml with permission 666(read and write by others), in /home/pgnew/public_html/wp-content/plugins/odlinks/includes/</strong>includes/Smarty/cache/odlinks.xml
    and check again

  36. سلام

    ممنون بابت نگارش این افزونه ارزشمند.

    چطور می شه برای دسته بندی ها از عنوان فارسی استفاده کرد؟ درحال حاضر با وارد کردن واژه ای فارسی به جای اون علامت سوال درج می شه.

    ممنون می شم راهنمایی کنید. متشکرم


    Hi Mohammad ;)
    See the photos:

    /tmp/mysql_1.jpg
    /tmp/mysql_1.jpg
    Using PhpMyAdmin and change the fields charter encoding to utf8

    and here an example: لینکستان

  37. سلام

    استاد من یه مشکل کوچولو تو کاربری این افزونه دارم که داره روانیم می کنه , من یه نامک برای برگه افزونه گذاشتم به نام

    link-directory

    یه بار که می خوام وارد این برگه بشم نامکش همینه , یه بار دیگه هم

    odlinks

    یه بار دیگه هم بصورت پیشفرض برنامه وردپرس که شماره برگه رو می نویسه

    ?page_id=

    اگه ممکنه راهنماییم کن

    متشکرم

Leave a Reply

Your email address will not be published. Required fields are marked *

*