IT Blog, Web Development,

Part 1. 5 Code Tricks You Absolutely Need on Your Social Media Site

2 m read
QArea Expert
QArea Expert Marketing Manager
April 10, 2014
Share on
Reading Time: 2 minutes

Becoming mainstream, social media sites also affect web developers. Given the success of Twitter, Facebook and Pinterest, developers have started adopting some social media practices in their own sites.

With the help of several key coding techniques presented below, building a social portal is not very hard.

  1. Activity Stream

People are fascinated to know about their friends’ activities, that’s why your site need an activity stream. Joomla offers its user feed plugin, while Drupal provides its activity stream module for this this purpose.

  1. Invite a friend

Every social media platform has the desire to get “viral” at its heart. The “invite a friend” script furrows into a customer’s email address book helping them to find and link contacts who are members of that social media site as well, and possibly invite those contacts who aren’t that site’s members yet.

  1. Private Messaging

This is another must-have feature for a social media portal. A great news about this facility is that many CMS scripts have it built in already. Benefit from their pre-built private messaging functionality to keep the visitors happy about chatting easily with each other.

  1. Recommendation Engine

Displaying recommended or relevant content seems like an excellent way of increasing on-site activity, that’s why you should really get a recommendation engine on your social site. The Drupal CMS offers its Content Recommendation Module based on the popular Slope One Algorithm.

  1. User Authentication

There are many methods of setting up a system for user management, and it depends on a developer’s preference. If you’d like a more to building your site, you might try a like Django (python) and CakePHP (PHP) frameworks provide a well-tuned approach to creating your authentication system. In case you want to spend little time on authentication, try some content management system such as Drupal (PHP).

These were the 5 essential code techniques you should implement in a social media site if you want to really succeed with your audience. Read the continuation of this topic in our next article called ‘5 More Code Tricks You May Want on Your Social Media Site’.

Share on
Privacy Preference Center
Your Privacy

When you visit any web site, it may store or retrieve information on your browser, mostly in the form of cookies. This information might be about you, your preferences or your device and is mostly used to make the site work as you expect it to. The information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies. Click on the different category headings to find out more and change our default settings. However, blocking some types of cookies may impact your experience of the site and the services we are able to offer.

Strictly Necessary Cookies Always Active

These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.

You can set your browser to block or alert you about these cookies, but some parts of the site will not then work. These cookies do not store any personally identifiable information.

Performance Cookies

These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site.

All information these cookies collect is aggregated and therefore anonymous. If you do not allow these cookies we will not know when you have visited our site, and will not be able to monitor its performance.

Cookies used

Google Analytics
Functional Cookies

When you visit any web site, it may store or retrieve information on your browser, mostly in the form of cookies. This information might be about you, your preferences or your device and is mostly used to make the site work as you expect it to. The information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies. Click on the different category headings to find out more and change our default settings. However, blocking some types of cookies may impact your experience of the site and the services we are able to offer.

Cookies used

Test Second Test
Targeting Cookies

When you visit any web site, it may store or retrieve information on your browser, mostly in the form of cookies. This information might be about you, your preferences or your device and is mostly used to make the site work as you expect it to. The information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies. Click on the different category headings to find out more and change our default settings. However, blocking some types of cookies may impact your experience of the site and the services we are able to offer.

More Information

When you visit any web site, it may store or retrieve information on your browser, mostly in the form of cookies. This information might be about you, your preferences or your device and is mostly used to make the site work as you expect it to. The information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies. Click on the different category headings to find out more and change our default settings. However, blocking some types of cookies may impact your experience of the site and the services we are able to offer.