Plugin info

Total downloads: 965
Active installs: 0
Total reviews: 0
Average rating: 0
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 4/28/2015 (3900 days ago)
Added to WordPress: 4/28/2015 (10 years old)
Minimum WordPress version: 3.0.1
Tested up to WordPress version: 3.4.2
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 3900 days ago

20/100

Is Pathpic abandoned?

Possibly abandoned (last update 3900 days ago).

Compatibility

Requires WordPress: 3.0.1
Tested up to: 3.4.2
Requires PHP: f

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

No similar plugins found yet.

Description

What to do?

Use a list of paths and produces a pic representing a hierarchy of paths (which can be a PNG image or tree text) of a File Manager Windows or Linux.

Why use it?

You can save time because you avoid that you have to capture the image of the paths in your File Manager, save it, upload it and set it in WordPress.

You will have available in your articles your paths in text format.

If you have installed Windows and you need to show your style paths with Linux File Manager you can do with this plugin. The same case but Linux to Windows is also considered.

How to use it?

You just need to write the paths you want to generate using the directory separators File System correct, ie if you go to enter paths in the form of Linux, you will have to use as the directory separator / (Forwardslash) or if you’re using Windows format you should use the \ (backslash).

You will have to configure the visual characteristics of the pic choosing the graphical mode or text and style is available for each mode.

In the shortcode’s final indicator making sure that I not contain any spaces before ]

Correct :
[/pathpic]

Incorrect
[/pathpic ] (see the space between pathpic and ])

Where to use?

Once installed on wordpress plugin, you could use in your articles.

Parameters:

  1. style
    Select which style will have the pic generated from the list of paths used. These are the available values:

    MODE–>VALUE———>DESCRIPTION
    image->W7————>Windows 7
    image->XP————>Windows XP
    image->Ubuntu——–>Ubuntu
    image->Netbeans——>Netbeans 7
    text–>TotalTerminal->Mac
    text–>Guake———>Ubuntu o Gnome
    text–>Yaquake——->Ubuntu o Gnome

    Example: style = “TotalTerminal”

  2. mode
    Indicates the visual format of the pic. The available values are: image and text. Example: mode = “text”

  3. os
    Indicates the format of the paths according to the operating system. The available values are: Linux and Windows.

  4. files
    It is a sequence of numbers separated by commas referring to the number of row in the list of paths and will be shown as the output file. Note that the row numbers start at 0 (zero). Example: files = “0,1,2”

  5. highlights
    It is a sequence of numbers separated by commas referred to the row number list paths and Seru shown highlighted in the output. Note that the row numbers start at 0 (zero). Example: highlights = “2”

Requeriments

  1. In php set buffer_output directive to ‘On’.
  2. Library GD2 installed.
  3. Allowing to use of base64 encoding.

Installation

Uploading The Plugin

The quickest method for installing the importer is:

  1. Visit Tools -> Import in the WordPress dashboard
  2. Click on the WordPress link in the list of importers
  3. Click “Install Now”
  4. Finally click “Activate Plugin & Run Importer”

Extract all files from the ZIP file, making sure to keep the file/folder structure intact, and then upload it to
/wp-content/plugins/.

See Also: “Installing Plugins” article on the WP Codex

Plugin Activation

Go to the admin area of your WordPress install and click on the “Plugins” menu.
Click on “Activate” for the “Pathpic” plugin.

Plugin Usage

Just wrap your path(s) in [pathpic], such as
[pathpic params]
path(s) here
[/pathpic]

Sample 1 (os=”Linux”)
[pathpic style=”Ubuntu” mode=”image” os=”Linux” files=”2,6″ highlights=”2″]
myProject/source/com
myProject/source/wickedlysmart
myProject/source/wickedlysmart/MyClass.java
myProject/classes
myProject/classes/com
myProject/classes/wickedlysmart
myProject/classes/wickedlysmart/MyClass.class
[/pathpic]

Sample 2 (os=”Windows”)
[pathpic style=”TotalTerminal” mode=”text” os=”Windows” files=”0,1,2″ highlights=”2″]
trunk\wp-admin\user\admin.php
trunk\wp-admin\user\index-extra.php
trunk\wp-feed.php
[/pathpic]

Frequently Asked Questions

I write the paths, but it only shows one path directory?

Review that the directory separator corresponds with the ‘os’ parameter, backslash for Windows and forwardslash
for Linux.

Review feed

No reviews available

Screenshots

  1. Sample 1 with style="Ubuntu" mode="image" os="Linux".

    Sample 1 with style="Ubuntu" mode="image" os="Linux".

  2. Sample 1 with style="TotalTerminal" mode="text" os="Linux".

    Sample 1 with style="TotalTerminal" mode="text" os="Linux".

  3. Sample 2 with style="Netbeans" mode="image" os="Windows".

    Sample 2 with style="Netbeans" mode="image" os="Windows".

  4. Sample 2 with style="TotalTerminal" mode="text" os="Windows".

    Sample 2 with style="TotalTerminal" mode="text" os="Windows".

Changelog

0.8.1

  • First release.