How to Install VQMOD in Opencart

VQMOD in Opencart

How to Install VQMOD in Opencart

The instal process for VQMOD in opencart has now been made very easy. However, it can mess up your day if you do not pay attention to the correct version of opencart vs version of vqmod that you are installing.

 

There are two ways  to install vqmod

  1. Installation through Auto Installer
  1. Download  the latest version from Github
  2. First Unzip it to your local computer, You will see named “vqmod”
  3. You will need  to FTP/Copy/Transfer “vqmod” folder to the root of your OpenCart root directory folder (where you see: admin, catalog, image, system folders)
  4. Make sure vqmod folder is writable .
  5. Make sure that the vqmod folder contains an install directory. Also check that the install directory contains an index.php file.If you don’t see the index.php file, you must have downloaded a standalone version of VQMOD
  6. Then go to http://www.yoursite.com/vqmod/install – if you see a success message, then installation is done. The message should read: “VQMOD HAS BEEN INSTALLED ON YOUR SYSTEM!”  If you see “index.php not writeable”, then you need to set your root OpenCart index.php to writable. If you see “Administrator index.php not writeable”, then make the “/Admin/index.php” to writable.

Always check that you are able to launch your home page before you start celebrating.

Install vqmod by Manual method

This is a lot more accurate and old school especially if you are a developer that insists on perfection.

Download the latest version that has “opencart” in the title from

  1. Using FTP, upload the “vqmod” folder from the zip to the root of your opencart store.
  2. Be sure the vqmod folder and the vqmod/vqcache folders are writable (either 755 or 777).
    • Also be sure index.php and admin/index.php are writable.
      • If not sure which you need, first try 755.
      • If you get errors about permissions, then try 777.
  3. Edit your index.php file(2.x)
  4. FIND:
      // Startup
      require_once(DIR_SYSTEM . 'startup.php');
    
  5. REPLACE WITH:
      // vQmod
      require_once('./vqmod/vqmod.php');
      VQMod::bootup();
    
      // VQMODDED Startup
      require_once(VQMod::modCheck(DIR_SYSTEM . 'startup.php'));
    

    (1.5.x)

  6. FIND:
      // Startup
      require_once(DIR_SYSTEM . 'startup.php');
    
      // Application Classes
      require_once(DIR_SYSTEM . 'library/customer.php');
      require_once(DIR_SYSTEM . 'library/currency.php');
      require_once(DIR_SYSTEM . 'library/tax.php');
      require_once(DIR_SYSTEM . 'library/weight.php');
      require_once(DIR_SYSTEM . 'library/length.php');
      require_once(DIR_SYSTEM . 'library/cart.php');
      require_once(DIR_SYSTEM . 'library/affiliate.php');
    
  7. REPLACE WITH:
      // vQmod
      require_once('./vqmod/vqmod.php');
      VQMod::bootup();
    
      // VQMODDED Startup
      require_once(VQMod::modCheck(DIR_SYSTEM . 'startup.php'));
    
      // Application Classes
      require_once(VQMod::modCheck(DIR_SYSTEM . 'library/customer.php'));
      require_once(VQMod::modCheck(DIR_SYSTEM . 'library/currency.php'));
      require_once(VQMod::modCheck(DIR_SYSTEM . 'library/tax.php'));
      require_once(VQMod::modCheck(DIR_SYSTEM . 'library/weight.php'));
      require_once(VQMod::modCheck(DIR_SYSTEM . 'library/length.php'));
      require_once(VQMod::modCheck(DIR_SYSTEM . 'library/cart.php'));
      require_once(VQMod::modCheck(DIR_SYSTEM . 'library/affiliate.php'));
    

Note the affiliate library file may not exist on older systems. Basically any require_once(DIR_SYSTEM . 'library/xxxxxxxx.php'); needs to be changed to use the VQMod::modCheck above in the same format. This also applies to any additional require_once files in the next step

  1. Edit your admin/index.php file(2.x)
  2. FIND:
      // Startup
      require_once(DIR_SYSTEM . 'startup.php');
    
  3. REPLACE WITH:
      // vQmod
      require_once('../vqmod/vqmod.php');
      VQMod::bootup();
    
      // VQMODDED Startup
      require_once(VQMod::modCheck(DIR_SYSTEM . 'startup.php'));
    

    (1.5.x)

  4. FIND:
      // Startup
      require_once(DIR_SYSTEM . 'startup.php');
    
      // Application Classes
      require_once(DIR_SYSTEM . 'library/currency.php');
      require_once(DIR_SYSTEM . 'library/user.php'));
      require_once(DIR_SYSTEM . 'library/weight.php');
      require_once(DIR_SYSTEM . 'library/length.php');
    
  5. REPLACE WITH:
      // vQmod
      require_once('../vqmod/vqmod.php');
      VQMod::bootup();
    
      // VQMODDED Startup
      require_once(VQMod::modCheck(DIR_SYSTEM . 'startup.php'));
    
      // Application Classes
      require_once(VQMod::modCheck(DIR_SYSTEM . 'library/currency.php'));
      require_once(VQMod::modCheck(DIR_SYSTEM . 'library/user.php'));
      require_once(VQMod::modCheck(DIR_SYSTEM . 'library/weight.php'));
      require_once(VQMod::modCheck(DIR_SYSTEM . 'library/length.php'));
    
  6. Load your store homepage and verify it works.
  7. Using FTP, verify that there are new “vq” files in the “vqmod/vqcache” folder.
  8. If yes, then you are ready to start downloading or creating vQmod scripts.

How To Unpublished posts in WordPress

Unpublished-posts-in-WordPress-step3

How To Unpublished posts in WordPress

A number of questions on how to Unpublished posts in WordPress based website arise because some users are not as technical as you might think. However, to Unpublished posts in WordPress does not require any technical experience. While the process to unpublished posts in WordPress might seem trivial, many people you might call experts think that the only way to unpublished posts in WordPress is to delete the posts and re-publish the posts. You do not have to delete your posts. WordPress posts can be deactivated to make them unavailable on the front end of the website.

 

 

Steps to Unpublished posts in WordPress

Step 1: Navigate to your post page in your WordPress admin panel as show below. Click posts to display a list of your posts.

Unpublished-posts-in-WordPress-step1

Step 2 : Display the existing WordPress Posts

Mouse over any of the posts listed above to display additional menus below the post. You will see links like Edit, Quick Edit, Trash and View. Please click Quick Edit. The Quick edit gives you a number of options that can be used to quickly modify a post.

Unpublished-posts-in-WordPress-step2

Within the quick Edit, you can change the following in a WordPress post:

  • Modify Post Category
  • Add or Modify Post tab
  • Allow or Disallow comments in a post
  • Password protect a post or make it private
  • Allow Post pings
  • The WordPress post title can also be changed
  • Most importantly, you can change the status of the post from published or hide the post

Step 3: Hide the WordPress post

In order to update an existing posts from published to draft, you will have to change the status of the post. The post as you can see from the picture below has a status of “Published”.

Unpublished-posts-in-WordPress-step3

Click the drop down, you will see a status called ” Draft”, select it and click on the update button as show below.

After you click on update, you will no longer see the post on the front end of your website. At any time you want the post to be visible, repeat the process and change the status from Draft to Published

WinSCP moves file with .filepart extension

WinSCP moves file with .filepart extension

WinSCP is used as an FTP program utility to move files from local storage to remove locations. Its works similar to Filizilla but the WinSCP has many other features including ability to schedule the transfer of files and folders to remove locations.

I used WInSCP recently to copy files and I found myself struggling with the reason why any files I copy to the remove server, has an extension .filepart. .filepart makes the file example pdf files unusable.

Apparently WinSCP has a tradition of renaming  any file you want to copy to the target name only once the transfer successfully finishes. However, in my own case, it was just a small file that does not need to be held to satisfy this feature.

How to Fix WinSCP filepart extension

Here is a simple way to fix the issue  WinSCP moves file with .filepart extension

Step 1 Select Options from the menu as shown below

winscp_filepart_issue

Step 2 Select preferences, you will be navigated to a big  list of options

winscp_filepart_issue_preferences

Step 3: Under Transfer Files, lick on endurance link

WinSCP endurance

Step 4: You will notice that as shown below, “All” is selected by default because WinSCP  transfer files to temporary filename  by default before moving to the remote location.

 

Then proceed to change this setting to Disable.

winscp options

 

Once done, the copy process will no longer attach the extension .filepart.

 

Please share this tip if it saved your time.

 

 

 

How Biafra was Betrayed by the British

BRITISH BORN HAROLD SMITH CONFESSED &
APOLOGISE FOR MANIPULATING PRE-
INDEPENDENT CENSUS AND ELECTION TO
FAVOUR NORTH.
The man Harold Smith is not new in Nigerian
history. He is one of the architects of colonial
foundation that midwife Nigerian independence in
1960.
I met him in a meeting three weeks ago where he
opened up a bit about the lingering problem in
Africa especially; Nigeria unbalanced protracted
social political situations. We asked if he could
make this known to the media. His response was
“I am in my 80s now; I have agreed but in the
past ‘they’ did not want me to say anything, but
now I don’t want to go to my grave without
telling the truth about the atrocities perpetrated in
Africa by
the colonialists.
Brothers and sisters; on Ben TV last Thursday,
Harold Smith was on a program to reveal what
went behind the scene before the independence.
The Oxford University graduate had this to say
about his role in Nigeria pre and after
independence era.
‘Our agenda was to completely exploit Africa.
Nigeria was my duty post. When we assessed
Nigeria, this was what we found in the southern
region; strength, intelligence, determination to
succeed, well established history, complex but
focused life style, great hope and aspirations… the
East is good in business and technology, the west
is good in administration and commerce, law and
medicine, but it was a pity we planned our
agenda to give power “at all cost” to the
northerner.
They seemed to be submissive and silly of a kind.
Our mission was accomplished by destroying the
opposition at all fronts. The west led in the fight
for the independence, and was punished for
asking for freedom.
They will not rule Nigeria!
Harold Smith confessed that the Census results
were announced before they were counted.
Despite seeing vast land with no human but
cattle in the north, we still gave the north 55
million instead of 32 Million. This was to be used
to maintain their majority votes and future power
bid. He stated that the West without Lagos was
the most populous in
Nigeria at that time but we ignored that.
The north was seriously encouraged to go into
the military. According to him, they believe that
the south may attend western education, but
future leaders will always come from military
background. Their traditional rulers were to be
made influential and super human. The
northerners were given accelerated promotions
both in the military and civil service to justify their
superiority over the
south. Everything was to work against the south.
We truncated their good plan for their future. “I
was very sorry for the A.G; it was a great party
too much for African standard. We planned to
destroy Awolowo and Azikwe well, the west and
the east and sowed a seed of discord among
them”.
We tricked Azikwe into accepting to be president
having known that Balewa will be the main man
with power. Awolowo has to go to jail to cripple
his genius plans for a greater Nigeria.
However, Harold Smith justified theI British
agenda of colonialism in Nigeria, which he
believed was originally to help build Africa after
the ruins of slave trade, but lamented that the
British only looked after themselves and not after
Nigerian interest.
The British really let Nigeria down. When I
see Nigerian been accused of fraud and from
what I saw on the streets of Lagos; the British
were worst fraudsters.
Looking at the northern leaders now he said, “If
they have any agenda in Nigeria at all, sadly it is
only for the north, and nothing for Nigeria. He
stated that the British look after the British people
and this is so all over the world. He said the time
has come now to see people of intelligent minds
with an open and inclusive agenda for all
Nigerians in power…people who will really look
after Nigerians large population…but ”I still
curiously and sorrowfully see now that the British
has not let go of Nigeria…her wealth,. her
potentials, her future. He opined that the
Caucasian people now
assert themselves as the keeper of the “New Age”
keys. He therefore said that it is only logical for
Europeans to maintain their position of power,
scientific superiority, economic exploitation, they
must continue to perpetuate their lies and
falsehoods and this is the most unkindest cut of
all in relation to Nigeria situation!
According to him, Nigeria, a great nation was
crippled not because of military juntas or corrupt
leaders alone but by the British and American fear
of Nigeria great future. He confessed, “The fear of
the place that will be our ‘dumping ground’ really
occupied our minds”.
Some of the things he said were not new to
Nigerians or to the whole world but hearing it
from the horse’s mouth is quite revealing and
established more reality zones. He finally
submitted that the colonial masters have caused
havoc while they were in Africa, and planted
timed bombs when they finally left. What we see
since independence, the administration of new
internal colonial masters by fellow Nigerians
holding sway
in power is doing more damage to Nigeria.
Instead of detonating the time bombs planted by
the British, the north is planting mines.
He added that ‘It was my duty to carry out all of
the above and I was loyal to my country.
Nigerians should try to be loyal to their country
leaders and followers alike. Love your country.
You have got the potentials to be great again and
the whole world knows this’.
I am sorry for the above evil done to Nigeria.
I c[truncated by WhatsApp]

How to migrate your wordpress from one host to another

How to migrate your wordpress from one host to another

I use to prefer to develop wordpress based websites for customers by directly installing and developing on the customers hosting server. Majority of the cases, especially for active websites, you cannot shutdown the websites while doing a re-design project.
However, to migrate a website from a demo site to live server is not a trivial exercise but you can make it fun following the steps outlined below:
Assumption:
I. Your Website is fully developed with all content and images. You are ready to move it to the production server.
II. You have installed wordpress version in the demo server that you will need at the production server. In this case, there is no need to re-install wordpress
Before you start:
a) Note the admin login and password used to get to the dashboard
b) Note the database connection information

1) Back up your database to an SQL file
a. You can use tools like Phpmyadmin to open the existing database
b. Select the database created for your demos wordpress
c. Select export, choose SQL
d. An SQL file will be generated
2) Change the demo server urls to the production Server urls
a. Using tools like Notepad++ or any other tools of choice replace all occurrences of your site example: demo.mysite.com to mysite.com. This could be hundreds of occurrences
3) Copy all wordpress installation from the demo server to the remote server
a. Use any FTP tool e.g. FileZilla to copy the all wordpress installation files to your installation folder. Example if your new server will be serving content on the parent folder(public_html) then copy all the files to this folder. If your new website will be installed in a subfolder example: /public_html/store. Open this folder and copy all the files
4) On the production server, create the database : Add user with desired privileges
5) On the production server, open the wp-config.php and update the credentials with the information created in Step 4
6) Go to your new installation website www.mysite.com the wordpress admin page will be opened. Login with your credentials and voila you are live!!

How to Install Open Cart Template

In the previous versions of OpenCart, it can be difficult to install a template but this has certainly eased out in the later versions of OpenCart.
The step described below to install openCart template is based on openCart version 1.5x.
Here are things you need to know:

      Make sure you understand the version that the template you want to install supports
      All templates are saved in the directory : /catalog/view/theme/
      So if your website root directory is /public_html/store, the the files will be saved in /public_html/store/catalog/view/theme/

Step 1: Proceed to download the theme file

Step 2: Extract the template using your favorite unzip software
In the example above, you can see that the folder contains the opencart version.
Click on OpenCart1.5.4.x to expand the folder.
Then extract the files to the theme folder.
In some cases as below, you only need to unzip the the entire folder to the theme directory on your server.

Step 3: Go to the admin screen to enable the theme
If everything goes well, the theme should show up in the dropdown list as follows:
Login to the admin screen
Click on System->settings
The page below displays. Then click on edit

Step 4: Select the openCart Template from the drop dropdown and click Save

How to Install OpenCart extension

In this post , we will walk you through the process of installing an OpenCart extension.
First of all, you have to identify the extension that you want to install. We will use the free export and Import OpenCart extension developed by JNeuhoff called Import/Export Tool. This tool can help you import thousands of products to your website.

Step 1: Please download the OpenCart extension here

Step 2: Unpack the files to a folder on your computer

Before You Install OpenCart extension

Opencart is an open source eCommerce tool that can help an experienced website developer to roll out an eCommerce application within a few minutes. You can get the latest version here.
OpenCart comes with default features that are sufficient to run a full eCommerce business. However, like any other application, there are advanced features that help store owners to enhance the performance of their website.
OpenCart allow web developers to add features to the platform through what is called Modules or extensions. Extensions provides an easier way to install and configure additional features in OpenCart based website.
An OpenCart extension can be installed manually or through a tool called “VQMOD” aka known as Virtual modifier. VQMOD helps the user to make changes to the core files without really phyically touching the files. It comes embedded with an XML file that enforces the file changes on the fly at run time. With this tool, you can be assured your changes will be performed as accurately as expected.
The catch is some extension developers do not develop the extensions using VQMOD standard. This is a good tip for you when next you are shopping for an extension. VQMOD can be downloaded here.
With all these information, you can now proceed to learn how to install OpenCart extension

How to get Free Website installation

In order for us to help you set up your Blog website, here are what you need to do.

To help you setup your website, you must purchase your hosting from our partners below:

Once you have finished the purchase, send us the following:

  • The confirmation or reference number indicating the purchase you made
  • Indicate the partner you purchased from and date
  • Your username and password

We will do the following for you:

  • Logon to your Hosting Company,Install WordPress
  • Setup five pages: Home, about Us, Services, Ccontact Us, Projects
  • Install Plugins that will protect your website
  • Hand over your login information. You can then change your login credentials
  • If you need any further help, we can discuss the details

We will NOT do the following:

  • Keep your login credentials and ofcourse you are advised to change it immediately

Setting up a website for your business

Setting up a business website can be pain when you don’t know exactly what you need or what is required to go online. To setup a web presence online, here are a few information that you must know:

  1. You must choose a name of your website example  http://www.bunchbay.us .  This is called a domain name. This names is a unique name that identifies you business online.
  2. You must  register this name with a registrar. A registrar is a company in charge of domain name registrations. Once your name is registered , it is secured for you for as long as you want. This means that you can only secure this name for a certain time, for example one-10 years.  Depending on your budget, most customers would only pay for one year and pay renewal fees every year.
  3. You must continue to renew your domain name annually if you did not pay for a longer period. Once you stopped paying, you will lose the name.
  4. The next step is to find a hosting company to store your website information and make it available to the public. This is called Hosting
  5. You will need a website developer/designer to help you put the files and  content that describes your business
The above are the most important things you must do and each of the above have cost implications