Category Archives: Tips & Tricks

Quick Tip: Backup MySql DB and upload to remote server(Bash Script)

This script will automatically create backup of MySql DB and will transfer it to remote server.

Read More

BuddyPress: Custom activity stream string for comments on custom post type (Quick Tip)

You have to add a filter to enable comments on the custom post type to be recorded by activity stream.

function bbg_record_my_custom_post_type_comments( $post_types ) {
	$post_types[] = 'booz'; // custom post type
	return $post_types;
add_filter( 'bp_blogs_record_comment_post_types', 'bbg_record_my_custom_post_type_comments' );

Now if someone comments on the post of post type booz, the activity stream will record it and it will record some thing like this “sunny commented on the post, post title” but it should be some thing like this “sunny commented on the booz, post title“. To make activity stream record a custom activity use the following code..

Read More

How to deploy a website from scratch? [TUTORIAL]

In this tutorial we will try to learn all the steps involved in a website deployment. We will cover the following points:

  1. Buying Hosting & Domain
  2. Pointing Domain to server
  3. Creating Email Accounts
  4. Installing WordPress
  5. Searching & Installing Themes

This site will be dynamic, we will be using WordPress which is a CMS. WordPress started as a blog software but very quickly evolved as a CMS. CMS means content management system which means you will get a powerful admin panel to change/add/delete data. WordPress is a very powerful software which can be extended very easily by already available plugins. You can find a wide variety of themes available on the net, both free and paid. In this tutorial we will be using a free template.

Read More

Did we say that we would love to work with you? So dont be shy, get in touch!