Saturday, May 12, 2018

How To install OSPOS on CentOS 7 using Digital Ocean as hosting






About this tutorial:
This tutorial shows installation of OSPOS - open source point of sale, which is a web based point of sale system. The installation is done on CentOS 7 (Linux) hosted on DigitalOcean.

What is OSPOS:
Open Source Point of Sale a point of sale application which is written in PHP with the CodeIgniter as its framework. At the backend it uses MySQL or MariaDB for data. The front end uses Bootstrap 3 for the user interface.

Open Source Point of Sale is a web based point of sale system. The main features are:

- Stock management (Items and Kits)
- VAT, customer and multi tiers taxation
- Sale register with transactions logging
- Quotation and invoicing
- Expenses logging
- Receipt and invoice printing and/or emailing
- Barcode generation and printing
- Suppliers and Customers database
- Multiuser with permission control
- Reporting on sales, orders, expenses, inventory status
- Receivings
- Giftcard
- Rewards
- Restaurant tables
- Messaging (SMS)
- Multilanguage
- Selectable Boostrap (Bootswatch) based UI theme
- Mailchimp integration
- reCAPTCHA to protect login page from brute force attacks

References and links used:

[to download OSPOS]:
https://github.com/opensourcepos/opensourcepos

[Used for hosting the server]:
https://www.digitalocean.com/

[Official site of this channel]
http://itworld.bannu.com.pk

You can post you queries in the comments and we will get back to you if you have any queries.

Saturday, August 12, 2017

Send WhatsApp Messeges without saving the contact number


How to send WhatsApp messeges to a contact without saving the contact number in the contacts list?

Today we will discuss how one can send message to a WhatsApp number without saving the number in the contact list.

This method works in Phone as well as for web version of WhatsApp


Method
WhatsApp have its APIs which can even be designed to send pre-configured messages to a pre-configured WhatsApp number.

To know more about sending pre-configured messages and about the API CLICK HERE!


The API
below is the API link

  • https://api.whatsapp.com/send?phone=923331234567




How I Use  It?

All you need to do is change the number in international format without 00 or + at the begining


  1. What I do is I have saved my own mobile number in my contact list 
  2. Where I have sent the same link to myself for the first time
  3. For the second use, I copy and paste the link and change the number to the desired one, 
  4. And send the new link to myself. E.g. https://api.whatsapp.com/send?phone=923331234567
  5. Now the new link is clickable and I click on the link 
  6. The screen to send message to the person I desire is opened.
  7. Finally I type the message and send. 



So Easy.
Give it a try.





Saturday, April 22, 2017

Using custom sub-domain on our blogger's blog


If you wish to link your blog on blogger to your own domain

For Example:
the blog: http://bannuciscoworld.blogspot.com
needs to be browsed when http://ciscoworld.bannu.com.pk is typed.

The steps or on two parts

first setting up in blog of blogspot.
second setup the dns of the domain.

blogspot setup steps

  1. create the blog you want. (E.g. http://bannuciscoworld.blogspot.com)
  2. Go to Settings
  3. under Publishing
  4. click  the link :      + Setup a 3rd party URL for your blog 
  5. enter the subdomain like ciscoworld.bannu.com.pk
Second steps (in domain)
  1. now go to dns management of the domain provider or the hosting provider.
  2. find the setting to add CNAME into your domain
  3. in the first place type the subdomain name: (E.g. ciscoworld)
  4. in second place add the text as:  ghs.google.com
Thats all

wait for maximum 24 hours and now when you type http://ciscoworld.bannu.com.pk, it will be redirected to the blog on blogger.com

best of luck



Saturday, April 2, 2016

wamp error - The PHP configuration loaded file is: - should be ... OR The mbstring extension is missing


If you are getting the below error after installing the wamp and browsing localhost

*** ERROR *** The PHP configuration loaded file is: - should be: C:/wamp/bin/apache/apache2.4.17/bin/php.ini or c:/wamp/bin/php/php5.6.15/phpforapache.ini

This means, you may also get an error when you load phpmyadmin as:
The mbstring extension is missing. Please check your PHP configuration.

The solution for this is:


  1. Uninstall the wamp
  2. reinstall the wamp by right clicking and selecting "Run As Administrator" 
  3. start the wamp by right clicking and selecting "Run As Administrator"