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
:

178 Comments on “WordPress ODLinks Plugin

  1. Haben Sie einen rss feed, den ich abonnieren kann?

    Wunderbare Erläuterung, Sie haben einen neuwertigen Leser dazugewonnen.

  2. Hello,
    I installed the 1.4.2b version and I would like to limit the number of ads per page, but it does not work.
    what can I do?
    thank you

  3. I’m using WordPress and the Open Directory Links plugin. I update the plugin today to get an error every time a new link is submitted.  http://cafoundationfund.org/resources/directory/.  I also cannot get the thumb shots to work.  I registered with thumb shots.ru and obtained the following key, OCE5OKPLVLF0I07TMVTMUY4NQV2FOZYC.  Can you tell me why I get the following script error and why the thumb shots do not show up?  
     
    Warning: eregi() [function.eregi]: REG_ERANGE in /home/migvas1/cafoundationfund.org/wp-content/plugins/odlinks/odl_posts.php on line 89
     

  4. Thu 18 Jul 2013, 9:28 am
    Hi Mohammad,
    What a great plugin.  I love it!  Thanks!
    Unfortunately, when it is installed, it messes up the list of categories in the text editor.  See screenshots.

    As categories are an important part of my blog architecture, and being able to select them quickly and easily when adding a new post is important, this is VERY inconvenient.
    This is the category list should look:  http://rebtinfo.info/images/cat-good.jpg
    This is how it looks after installing OD Links:  http://rebtinfo.info/images/cat-bad.jpg
     Any suggestions?
    Thanks v. much for your help.
    Aloha,
     
    Rex
    Khon Kaen, Thailand
    http://www.MindBodyThailand.net
    http://REBTinfo.info

  5. سلام و روز بخیر
    حاجی سی اس اس ماژول با قالب ادمین مشکل داره
    قسمت کادر دسته ها میریزه به هم و نمیشه فهمید کدوم دسته زیر مجموعه کدوم یکیه.
    این مشکل را هم حل کنید اوکیه
    شاد باشید

  6. I select a subcategory, click on “submit your website”, fill the fields URL, title, category, description, email & captcha, but dont works, it returns an empty screen. 
    If I fill the fields in the wp_odnew_links directly, it works perfectly.
    Some idea? 
    Thanks

  7. When trying to save the settings:
    I get: You do not have sufficient permissions to access this page.
    I am running a Multi User/Site WordPress with ‘thunderbays’ as the site running your plugin.


    ******
    Thanks for feedback. I will check the access permission “with Multi User/Site WordPress with ‘thunderbays'” and try to fix it.
    ******

  8. Hi, I have problem in category add/edit/delete. First of all when i am adding any category and save then they are not show in list. At this time i have no one category in category list. How i can add category and Shortcut code for submit page…

  9. I installed twice the odlinks plugin , but insteat to show the website thumnail is showing
    Thumbshots.ru image.
    to show the image do I need the Thumbshots Access Key Id ., because I tried. But after registering on the Thumbshots.ru

    I can not register.
    Do you know how can I get the Thumbshots Access Key.
    Thanks in advance

    ****
    Hi, I still can’t contact them.
    Please wait for a while and try again” maybe the server Wait for a while and try again, maybe the server is done for upgrade

    ****

  10. Warning: stream_set_timeout() has been disabled for security reasons in /home/——/httpdocs/wp-content/plugins/odlinks/includes/_thumbshots.class.php on line 945
     
     
     

    I want an urgent solution

  11. Hello i tried you wordpress directory plugin but when am entering the category names in Greek Language then output is not showing well ..:(
    You dont support UTF-8  ..?
    Can you please support other languages too like Greek ?
    Thanks

  12. Hi! Do you know if they make any plugins
    to safeguard against hackers? I’m kinda paranoid about losing everything
    I’ve worked hard on. Any recommendations?

  13. When I click on the Open Directory Links button on my web site it goes to a redirect and has code visible in the widow description tab o my browser. How can I remove this code?


    Oh not good, I will fix it now!!

    You use any plugin?? to overwrite title of the pages and it dosen’t work correcty. you can fix the bug as follow
    ***
    please fix the return value in the file inclue/odl_function.php line 188
    @@ -188,7 +188,7 @@
    switch ($g__action){
    default:
    case “index”:
    – return ‘‘.$odlinkssettings[‘page_link_title’].’‘;
    + return $odlinkssettings[‘page_link_title’];
    break;
    }
    }
    ****
    changes commited to svn

  14. Hi Hussain, I fixed the code. Thanks for the support.

    Below is the error when i fresh install the plugin and no category shown after some try i get this fix
    Replace this code on line 43
    ___________________________________
     $page_navigation->all=$counter;
      if ($counter > $page_navigation->nr_rows) {
        $page_navigation->params=”_action=main&id=”.$_GET[‘id’].”&parent=”.$_GET[‘parent’];
        list ($current_page, $navi) = $page_navigation->get_navigation($page);
        $c = ceil($counter / $page_navigation->nr_rows);
        $p = ‘<span class=”title”>Page ‘. $current_page. ‘ of ‘. $c . ‘</span>’ . $navi;
      }
    ___________________________________
    with this
    ___________________________________
     if(isset($page_navigation->all)){
      $page_navigation->all=$counter;
      if ($counter > $page_navigation->nr_rows) {
        $page_navigation->params=”_action=main&id=”.$_GET[‘id’].”&parent=”.$_GET[‘parent’];
        list ($current_page, $navi) = $page_navigation->get_navigation($page);
        $c = ceil($counter / $page_navigation->nr_rows);
        $p = ‘<span class=”title”>Page ‘. $current_page. ‘ of ‘. $c . ‘</span>’ . $navi;
      }
      }
    ________________________________
    ___________________________________
    +++++++++++++++++++++++++++++++
    i just installed the plugin and it is giving the error
    Warning: Creating default object from empty value in D:\xampp\htdocs\directory\wp-content\plugins\odlinks\odl_main.php on line 43
    A fresh install giving this error

     

  15. many messages like this: Notice: Undefined index: odlinksdata in /home/…..
    not work with Add category
     
    NOT WORK! WordPress 3.8.3

  16. Please disable PHP notice or disable php warning.

    simpley add error_reporting(0); after the call wp-settings.php in config.php
    require_once(ABSPATH . 'wp-settings.php');
    error_reporting(0);

    Ohhh Shit this is not working with 3.8.3 and i delete all the things :( please let us know the all things before any update please forgani ….

  17. سلام نويد, ممنون ميتوني مشكل كدام لين بود

    سلام و روز بخیر

    ضمن تشکر بابات پلاگگین خوبتون
    باید عرض کنم که پس از فعال سازی در قسمت ارسال مطلب چینش دسته بندی ها بههم میریزه و ترتیب دسته بندی ها _دسته اصلی و فرعی ) مشخص نیست.سی اس اس پلاگین تداخل داره با هسته اصلی وردپرس
    لطفآ این مورد را نیز بر طرف کنید.
    با تشکر
    شاد باشید

  18. Some web designers work by communicating only by
    email. Give priority to a company that makes your imagination come
    true. Therefore, iit is eminent forr all online entities to develop their website
    in the most user friendly manner.

  19. Hi,

    i have a problem with 404 error and the permalinks. In the PHP ini is cURL enabled but the 404 error is still present. How to change the htaccess or maybe you have another answer for me?

    Thanks for help.

  20. Hi,
    Your directory is not very SEO Friendly. google don’t want to index it. How to enable permalnks for the directory? I paste my own created rewrite rule to the htaccess:

    RewriteEngine On
    RewriteRule ^katalog/([^_]*)_([^_]*)_([^_]*)_([^_]*)\.html$ /?page_id=$1&_action=$2&id=$3&parent=$4 [L]

    but it didn’t work. What should I do to make it works?

  21. Hi,
    When submitting a new entry I receive the errors:
    Warning: eregi(): REG_ERANGE in /home/migvas1/cafoundationfund.org/wp-content/plugins/odlinks/odl_posts.php on line 87
    and
    Warning: mysql_query(): A link to the server could not be established in /home/migvas1/abcxyz.org/wp-content/plugins/odlinks/odl_posts.php on line 151
    When I submit a search, I receive the error:
    Warning: Creating default object from empty value in /home/migvas1/cafoundationfund.org/wp-content/plugins/odlinks/odl_search.php on line 59

Leave a Reply

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

*