Archive

Archive for October, 2011

Customization Options With Date Formats In WordPress

October 24th, 2011 Comments off

When WordPress is used as a CMS on a Web Hosting account, it provides many great features within its Dashbord. ‘Date Format’ and ‘Time Format’ are two of these options available to display the Date and Time on your website or blog, according to your need. There are some regularly found formats available in predefined form, but few webmasters like to use their own customized formats. The ‘Custom’ option button (radio button) is available under both ‘Date Format’ and ‘Time Format’ for such customization. This post is for the webmasters who are newbies and never handled these predefined formats in custom field.

Following are the characters to be entered in the ‘Text Box’ beside the custom button option under ‘Date Format’, to get the output shown on the actual Website or Blog.

d

Small form of character ‘D’ is used to get the output of Date as ‘Numeric and with leading zero’ for example Dates from 1 to 9 will be shown as 01, 02, 03……

j

Small form of the character ‘J’ is used to get appearance of full name of the Date of month in numeric format. e.g. 1, 2, 3…..

S

Capital form of the character ‘S’ is used to get the appearance of suffix for the date . e.g. ‘st‘, ‘nd‘, ‘rd‘, ‘th‘ in 1st, 2nd, 3rd, 4th…..

l

Small form of the character ‘L’ used to get the appearance of full name of the day. e.g. Monday, Tuesday…..

D

Capital form of the character ‘D’ is f used to get the appearance of day of the week with first three characters only. e.g. Mon, Tue, Wed…

m

Small form of character ‘M’ is used to get the appearance of Month as ‘Numeric and with leading zero’ format. e.g. month of from January to December will be shown as 01 to 12…..

n

Small form of character ‘N’ is used to get the appearance of Month as ‘Numeric and without leading zero’ format. e.g. month of from January to December will be shown as 1, 2, 3, 4, to 12

F

Capital form of character ‘F’ is used to get the appearance of Month as ‘Full name as Characters’ format. e.g. January, February…..

M

Capital form of character ‘M’ is used to get the appearance of Month as ‘with first three characters only.’ e.g. Jan, Feb, Mar…..

Y

Capital form of character ‘Y’ is used to get the appearance of a Year as ‘Numeric and with four digits’ e.g. 2011, 2012….

y

Small form of character ‘N’ is used to get the appearance of Year as ‘‘Numeric and with two digits’. e.g. Year 2011 and 2012 will appear as 11 and 12 respectively.

Know How To Configure WordPress Settings

October 24th, 2011 Comments off

WordPress is largely preferred CMS on web hosting accounts. After building a website or blog on a WordPress platform, you need to configure various settings with it. For configuring these settings you have to log in as admin at ‘yourdomain.com/wp-admin’. Here you should go to ‘Dashboard’ and click on ‘Settings’. Here you are on the main Setting page where you can find the following options where you can enter the information about website or blog.

Blog Title – Enter the main ‘Title’ of your blog here.

Tagline – This is related to the main subject of your website or blog and can be filled with promotional keywords.

WordPress address (URL) and Blog address (URL) – Both of these fields mostly contain the home page URL of your website or blog.

E-mail address – You should enter an email ID which will be used by the administrator of the Website or Blog.

Membership – This is a small ‘checkbox’ for Applying or relieving the restrictions over the registrations.

New User Default Role – When someone is allowed to register an account with the Website or Blog, these are the options found in the drop down list and allow you to set his role and user level as by default. There are generally five options that can be found in this list as following

‘Subscriber, Administrator, Editor, Author, Contributor’

Timezone – You can set your desired ‘Timezone’ from here.

Date Format – Following are the date formats available which you can use to display the dates with the material on your Website or Blog.

Month DD, YYYY

YYYY/MM/DD

MM/DD/YYYY

DD/MM/YYYY

Custom – (Refer to ‘Customization Options With Date Formats In WordPress’)

Time Format – Similar to Date format, you can also set a format for the time so that it will appear in a specific format of your choice.

Week Starts On – It’s simply to set the starting day of week according to your preference.

Is Your ‘LAMP’ Secure Enough?

October 21st, 2011 Comments off

As Security is one of the most important concerns in the internet world for webmasters, they should always keep their security system arrangements up to the mark, because hackers are always searching for new possible techniques to control your website and misuse it for their motive. Security measures can be classified in many categories, but a securing a website should cover security of web application as well as security of the web hosting server on which the web applications and website are hosted. Here I would like the share the information over security options on a LAMP (Linux, Apache, MySQL and PHP) as it is the most widely found combination among Linux Hosting Servers.
Instances in which a Web Hosting Server responds to the web browsers which are used by the visitors of the particular website residing on that particular website, that server provides a particular ‘header information’. Apache web servers are known for publishing many details of its environment as well as sometimes PHP also can be found responding in such header parts. Hackers may take advantage of this exposure in such headers of you website. Furthermore if he succeeds in knowing the factors like the type of web hosting services, type of server used, the web hosting platform, the version of scripting engine and other applications then it becomes an easy task for hackers to trace specific bugs or security loopholes. This makes the task easy for hackers to achieve their motives.
But still one can configure both Apache and PHP in such a way that it will remain hidden and will keep the possible attackers in the dark.

How To Select A Affiliate Program?

October 20th, 2011 Comments off

As Internet and online businesses are growing day by day, affiliate programs are becoming a major source of income for many people. But on the other hand one cannot assume that all the affiliate programs existing are good and have the ability to pay back for the hard efforts taken by affiliate marketers. Hence it is very necessary to study the affiliate market and an affiliate marketing program carefully before making a selection. Below are some important points to be kept in mind before selecting an affiliate program.
Consideration After Registration – There are a few affiliate programs which consider an affiliate sign up just after the redirected visitor fills the required registration form. Even though no transactions occur, an affiliate to gets some sort of benefit for redirecting that visitor to the website.
Demand for Products and Services – It is important to conduct a survey about the demand for products and services should be carried out before selecting any affiliate program. If there is no demand then there is no point in promoting such products and services. According to many experts affiliate programs related to computer and Internet services, Web Hosting Affiliates is are the highest paying affiliates in today’s market.
Banners for Advertisements – An affiliate link can be promoted through attractive banners in a better manner. The webmaster should provide attractive banners to the affiliate marketers so that they can place such banners backed by your affiliate links at the place where then can get clicked the banners by prospective customers.
Terms and conditions for payment – Studying the terms and condition of Affiliate master is essential as few webmasters can place critical rules and regulation in their affiliate programs which may make the things difficult for affiliate marketers.
Tracking software – Accuracy in traffic tracking derived by affiliate link is very important, because it can create a dispute between webmasters and affiliate marketers if the traffic derived doesn’t get tracked properly.

Read This Before Creating A New Drupal Node Or Getting A New Node Identifier From Module Code

October 20th, 2011 Comments off

Drupal is one of the most popular CMS on web hosting accounts. When you are new to Drupal and  you try to modify the code of a module directly so that you can add some features, In such situations you should be able to create several nodes from a single form. While doing this most of the newbies forget that one should never try to modify a core or make any changes directly to modules. You can either implement changes using hook_ and theme_architecture and if these are not supported then the safest option is to copy the function in which you want to make changes, and override it. This way the changes will remain limited up to your code and won’t affect after you override a module or Drupal core.
There are two ways to create a new Drupal Node or to get a newer Node Identifier. You can select one of the two you depending on your choice.
hook_nodeapi ()
hook_nodeapi() – This hook is not reserved for any node modules, but still it allows changes in modules  which affect on nodes, despite that module defines the node. One can turn off a particular operation of a newly created node and run other function as per requirements. If you want to repeat it when the nodes are saved then you can also use the ‘update’ operation.
hook_form_alter ()
By using ‘hook_form_alter ()’ you can perform many alterations before rendering a form. Another well known user of this hook is for addition of form elements to the node form. When you are altering a node form, at that time the node object is retrieved from $form[‘#node’]. Also remember that ‘hook_form_alter()’ works for all forms and if you want to alter a specific form then you need to use ‘hook_form_FORM_ID_alter()’ this hook.