7th
OCT

WordPress ODLinks Plugin Guide & Instructions

Posted by M. 4Gani under Root, Tools, WordPressi:

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
:

Open as PDFPrint Article

185 Responses to “WordPress ODLinks Plugin Guide & Instructions”

Pages: « 1911 10 9 8 7 [6] 5 4 3 2 1 » Show All

  1. admin, 9. January 2011, 11:42

    To add the last added section to the sidebar :

    you can create a file called functions.php (if not exists) and put it the following function.
    or you can put the function in the siderbar.php

    function last_odlinks_sidebar($num=8){
    global $wpdb;
    $tp = $wpdb->prefix;
    $sql=”SELECT * FROM {$tp}odlinks l, {$tp}odcategories c
    WHERE l.l_c_id = c.c_id AND l.l_hide=’visible’
    ORDER BY l.l_date DESC, l.l_title DESC LIMIT 0, “. $num;
    $lastAds=$wpdb->get_results($sql);
    echo ‘<ul>’;
    for ($l=0; $l<count($lastAds); $l++){
    $result=$lastAds[$l];
    $titleLink = odl_create_link_by_title($result->c_title);
    echo ‘<li><a href=”‘ . $result->l_url . ‘” rel=”nofollow”>’. $result->l_title . ‘</a></li>’;   
    }
    echo ‘</ul>’;
    }

    and add it anywhere else in the sidebar.

    <?php  last_odlinks_sidebar(8) ?>;

  2. superposts, 8. January 2011, 23:10

    hi
    i am trying to add the last added section to the main side bar of the Twenty Ten 1.0 theme. but i see the code instead of the result.

    {if $new_links}
    {$odl_lang.ODL_LAST} {$linksNum} {$odl_lang.ODL_POSTED}
    {foreach from=$new_links item=item key=key}
    {$item.title} ({$item.category} [{$item.date}]) 
    {/foreach} {/if}

    can some one help me please?

    thanks in advance

  3. shakker, 31. December 2010, 16:27

    hi
    i installed odlinks, i wanted to know if we can have friedly urls instead of http://localhost/wordpress/odlinks/?_action=main&id=4&parent=3. so instead of main and parnet we use http://localhost/wordpress/odlinks/IT/software

    as well every thing is working fine for me except that i see [[ODLINKS]] in the breadcrumbs and title of the page! :( can some one help?

    oh it would be great if i can contact Mr. Forghani directly.

    thanks

  4. alan, 26. December 2010, 12:57

    Sverything is default setting and installation.
    Smarty changed to 777.

    You can view these two pages to see the error
    http://mrdirtwork.com/
    http://mrdirtwork.com/index.php?pagename=odlinks

    I pasted the setting page in to this window hopefully can see it, if not is is default.

    Thank you for the help..

    odlinks Version:
    1.1.2-d

    WordPress Version:
    3.0.3

    odlinks URL:
    http://mrdirtwork.com/index.php?pagename=odlinks

    odlinks Slug:

    Display odlinks credit line at the bottom of ODLinks pages

    ODLinks Page Link Name:

    Number Of ‘Last Links’:

    Display ‘Last Links’ Post.

    string exceeded length:

    Count of new/updated links show in footer:

    Count of subcategories under each category:

    Count of links under each category:

    number of links per page to display in categories:

    Top Image:
    accept.png addtopic.jpg asc.png back.png ban.jpg ban.png camera.gif delete.png desc.png edit.gif edit.png favourite.gif folder.gif link.jpg new.jpg odl.gif odlinks.gif ok.gif pixel.gif pixel.png pr.gif pr0.gif pr1.gif pr10.gif pr2.gif pr3.gif pr4.gif pr5.gif pr6.gif pr7.gif pr8.gif pr9.gif question.png refer.gif rss.png
    images from plugins/odlinks/images directory

    Show the confirmation code:

  5. admin, 23. December 2010, 18:44

    Thanks for feedback. It is a bug and  I found some other bugs with the latest version of wordpress and I will try to fix them this weekend.
    To remove the Google ad box, please open ./wp-content/plugins/odlinks/themes/default/header.tpl in a plain text editor and remove the google ads.  Sorry I forgot to remove ads code from svn.

  6. Hunt, 23. December 2010, 16:49

    Can not get the top Google ad box to work or delete it.  Is there a fix to make this work or delete it so it does not show a blank box on my site?  I really do like this plugin, but the empty box looks bad to my users.

  7. Pavel, 2. December 2010, 12:38

    ODLinks Plugin – break the layout.
    http://forum.bytesforall.com/showthread.php?t=10041

  8. محمد, 6. November 2010, 10:29

    آقای فرقانی من تنظیمات فایل
    .htaccess
    رو اعمال کردم ولی این با تغییرات پرمالینک که قبلا انجام داده بودم تداخل پیدا می کنه , چه باید بکنم؟
    ممنون

  9. محمد, 21. October 2010, 5:56

    سلام
    آقای فرقانی ما همچنان منتظر دریافت پاسخی از جانب شما هستیم.
    متشکرم

  10. admin, 16. October 2010, 17:37

    Yousef Du hast hier ab SOFORT Hausverbot! ( you are banned ;)

Pages: « 1911 10 9 8 7 [6] 5 4 3 2 1 » Show All

Post your comment

*

code