The Greek Schools’ Network goes (more) WordPress – Its 1st plugin is here

The Greek Schools’ Network (GSN – is the educational intranet of the Ministry of Education, which interlinks all Greek schools and provides high quality electronic services.

Among other services (such as blogging platforms), it allows teachers, schools to upload and share videos and slideshows using the and sites.

Now we go a step further.

Its 1st WordPress plugin Commons plugin. adds oEmbed support in WordPress posts, pages and custom post types for videos, presentations etc from the, sites of Greek Schools Network. There are no settings.

Simply, add the URL in your content editor. Just paste the given “Απευθείας σύνδεσμος” link from the “Κοινοποίηση” section of a video from into the content area and it will by transformed to oEmbed into your post, page or custom post type.

You can find the Commons into the repository

Copy the url from a video
Paste a simple url in post
The resulted embed video from into the post.

Embed SlideSnack presentation into your wordpress post with LS Snacktools plugin is a great presentation sharing tool that enables you to easily upload and share presentations online.
But there was a small “gap” if you wanted to embed your presentation into a WordPress site. You had to use iframe.  NOT any more.

With the LS Snacktools plugin you can just copy-paste the given “Link to this post” from into the content area and it will by transformed to oEmbed into your post, page or custom post type.

You can find the LS Snacktools plugin in the repository:

Ls Gtrans Widget: New simple widget with selectbox to Google translation for the current page.

Simple drag and drop the widget to allow your visitors to tranlate the viewed page in google tranlate. The plugin is created, due to security rescriction of wordpress. It simple displays a selectbox with more than 25 European languages. When a user selects a language a new window in opens.

  • The original language is autodetected.
  • Multisite ready.

Widget code available at:


Widget drag and drop
Widget in frontend

WP admin bar – How to hide/replace WordPress icon and blavatars – updated

At the left side of wp admin bar an wordpress icon “W” is shown.

When the user hover it, it lists some links.  Also in multisite installation a wordpress logo (called blavatar) is shown next to each blog name. Also if you have buddypress installed the same blavatar appears in the admin members stats metabox.

A simple way to hide those images or/and replace them with your site favicon is the following.

Just add the functions into your bp-custom.php (or custom.php) file the following:

* Replace wordpress blavatar with site's favicon
function ls_replace_blavatars() {
echo '<style>
#wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon:before {content:" "!important;}
#wpadminbar .quicklinks li .blavatar:before {content:" "!important;}

#wp-admin-bar-wp-logo>.ab-item .ab-icon { background: url("/wp-content/favicon.ico") no-repeat;}
#wpadminbar .quicklinks li div.blavatar { background: url("/wp-content/favicon.ico") no-repeat;}
//for buddypress members stats metabox
div#community-profile-page li.bp-blogs-profile-stats:before {content:" "!important;}
div#community-profile-page li.bp-blogs-profile-stats {background: url("/wp-content/favicon.ico") no-repeat; padding-left:16px}
//end for buddypress stats metabox
add_action('admin_head', 'replace_blavatars');

* Remove wordpress logo/pages from admin bar
* @global type $wp_admin_bar
function ls_admin_bar_remove() {
global $wp_admin_bar;
$wp_admin_bar->remove_menu( 'wp-logo' );

add_action( 'wp_before_admin_bar_render', 'ls_admin_bar_remove', 0 );

Yet another plugin resurrection :-) BuddyPress Block Activity Stream Types for BP 2.x

Since I manage a very large BP community, I was in a need  of a plugin which reduces the data recorded in the bp_activity table, which stores all the Buddypress activity. A plugin that would  “block” an activity record from being saved to the stream/database. Activities like user joining groups, friendships and profile updates.

But the only plugin which does this was BuddyPress Block Activity Stream Types which was great, but is hasn’t been updated in over 2 years and so isn’t compatible with BP 2.x.

screenshot-1So, based on the ideas and footsteps of this plugin creators I made an updated version for Buddypress 2.x. :-), which uses the Settings API of wordpress and adds a “Buddypress Block Activity Stream Types”  section into Buddypress Settings admin page.

The “resurrected” plugin code is currently available at 






Nav menus administration. Open all metaboxes by default

When you have a multisite installation, it is possible that the bloggers you host. have trouble to create menus for their blog.  The default behavior of wordPress in wp-admin/nav-menus.php is to have hidden the posts, tags and formats metaboxes, which make the process of finding the things they want to include in the navigation menus more difficult. The following snippet opens by default these metaboxes in wp-admin/nav-menus.php.

Just paste the following in your /plugins/custom.php or /plugins/bp-custom.php file.

BP Groups Suggestions plugin v. 1.3


New version of BP Groups Suggestions plugin available at
Minor fix.

Originally posted on WP MS + Buddypress experiences:

Some time ago I tested the ‘BP Groups Suggest Widget’ (  from  Brajesh Singh, which gave me the idea to extend it, since I needed the groups suggestion to also take into account more user data.

So the result, was BP Groups Suggestions plugin.

The plugin adds “Suggested groups” functionality into Buddypress groups.

By default, it uses the user’s friends’s groups in order to suggest groups of the login user, but this can be extended throught available filters.

It adds a “Suggested group” tab into the Groups Directory page, and also a widget “Suggested groups” is available.


The login user can hide groups from suggestion list, by pressing the “Remove group”, either through the widget, the “Suggested groups” tab or by the group’s homepage. Also the login user can reset the hidden suggestion list. The plugin uses various ‘filters’ so a developer can extend it, for example to include admins…

View original 18 more words

BuddyPress Hashtags LS – version 1.2

I just updated the Buddypress Hashtags plugin.

In this version 1.2 two options were added in the Buddypress Hashtags Settings page:

1. Display or not the “#” infront of the hashtags in widgets and in hashtag cloud.

2. (For multisite). If the blog’s post’s taxonomy (categories, tags) should also included in the hashtags list.


“BuddyPress Hashtags LS ” is available at


In general, the Buddypress Hashtags LS plugin, “mimics” the Twitter hashtag behaviour, allowed the users to use # to tag a topic into there activity update and into their blog’s post (for multisite installations).

  • it supports unicode ex. Greek language
  • it provides a “Popular terms” widget.
  • it provides a shortcode [ls_bp_hashtags] which accept same arguments as wp_generate_tag_cloud() function.
  • in multisite installation it also includes the tags and categories of each post
  • in multisite installation, if a hashtag is inside the post content it also has link to the related activity.
  • it doesn’t alter the activity contents instead all hashtags are stored in a new db table in order to make lighter queries in activity table

I have tested it with BuddyPress  2. The base functionality seems OK.

It would be great if someone try it or even contribute to it.

The alpha version of “BuddyPress Hashtags LS ” is available at


Keep in mind that it is still under heavy developement so don’t use it in a production site.

The plugin creates a new db table, which is not deleted when the plugin is deactivated.