Javascript: Validate Date & Validate future date
Times where you almost need a Javascript date function, in forms.
Following is what i always use, and it seems to work good for me.
It takes care of 30/ 31 days of the month, and it takes care of the February!
And guess what! it even takes care of leap years too!
I have found numerous Javascript/ jQuery snippets which do the job, but they’re lengthy and untidy.
This one thankfuly is small and works amazingly well
The following is the Javascript code hope you like it!
WordPress: How to remove “Comments Off” php code snippet
I came across a project where I had to make a page without any comment box! And no line saying comments off!
Googleling didnt help much, Almost all the solutions online went to editing the theme files.
Objective: Remove the comment box/ “Comments Off” line from the page, where comments were off!
open your current themes functions.php and add the following there at the end,
PayPal India will discontinue all Personal accounts in India. In a string of problems that Indian PayPal users have faced in recent months, this seems the latest. PayPal an eBay company, in January this year had stopped personal payments to and from India. According to Indian Law [Payment and Settlement Systems Act 2007], PayPal had to register itself with RBI, which PayPal had not done, and on receiving a notification from RBI, had to stop its operations here, namely personal remittances, and bank withdrawals to India.
PayPal started Bank withdrawals in early March, though PayPal users were asked to update there account with their PAN number (Indian Personal account number, which are used for all financial data relating to income tax) and choose a withdrawal code as to why these payments are coming in the country.
In the latest development, PayPal says they will discontinue servicing personal accounts in India, though users will still have an option of having a Paypal Business accounts. Read the rest of this entry »
I’m subscribed to SitePro News Newsletter which often updates me on the small things happening online, with their top webmaster headlines, & breaking blog news items, under the main content!
Today i got an article tagged “Why 2010 Will Be A White Knuckle Ride For Web Marketers” and a talk about how 2010 just may playout for web marketers. Also how Google is changing, and how according to Matt Cutts, Caffeine just might take into consideration site Load times!
With so much talk about various directory scripts on DigitalPoint Forums, I just wanted to test out the various scripts available on the shelf, on how good their load times are?
I wanted to share the results with you; Also I’m using 56K connection to calculate load time per Kb, though other connections will increase or decrease correspondingly.
Do you think site loading time be seen as a ranking factor, & should directory script writers be worried? Share your thoughts here.
The tool I’m using here, is a famous online tool found here: Websiteoptimization.com
EDIT: Am really sorry to all who participated, but i caught the viral and was on bed rest for the last week or two, so this got delayed. i would work something out and make this competition a success soon.
The Dir.vc Web Directory Competition for Directory owners
Dir.vc welcomes you to its first Web Directory Competition – Let the Gamez Begin!!!
If you are a member of any webmaster forums, please feel free to make a post about the contest. The directory competition is open for all directory owners. You may have a niche directory or a general directory, your all invited! I will ensure that this competition has full transparency.
Following are the Rules of the game, and all are requested to follow them. Read the rest of this entry »
Around february this year I released a small code of integrating WordPress into phpLD, which is already there on my directory homepage, works great, and so far I have had a fare feedback on the Mod. Few days ago i saw a thread on DP about showing it the other way around! Showing phpLD on WordPress homepage.
After an hour of itchy head, i cooked up a mod which does precisely that, and a couple of cool features thrown in. This is a WP plugin, so upgrading wordpress should not worry you!
Features:
1. It is a WordPress plugin, tested on 2.8.4, so no worries as far as upgrading your wordpress is concerned, …. and you can deactivate the plugin whenever!
2. It has support of phpLD 2.3 and phpLd4.0, … if you have other versions, please contact me and ill cook up things for you. [no extra charge]
with no messy editing, incorporating this plugin is a breaze, and works good, look above on the home page of this blog.
would love to hear feedback from people who have bought it.
Buy & download: Here
Regards,
M.
a New version of the link Renew mod is being released. with loads of new features and bug fixes.
Features added.
1. There are various times where the Expired date is not set, for example last year the user chose free listing, but this year we chose to close down the free links option. So the links that were free do NOT have a expiry date set, … or a user submitted a Normal link, but did not pay, we liked the site anyhow, but forgot the set the expiry date! Read the rest of this entry »
WordPress: How to remove “Comments are closed” php code snippet
- November 5th, 2011 by Web Directory | Posted in Wordpress hacks No Comments »WordPress: How to remove “Comments are closed” php code snippet
I came across a project where I had to make a page without any comment box! And no line saying comments off!
After reading a bunch of tutorials online, i finally got down to hacking myself a small snippet for this,
Objective: Remove the comment box/ “Comments are closed” line from the page, where comments were off!
Code:
1. open the functions.php of your current theme and add the following code at the end:
Read the rest of this entry »
Tags: comment box, comment page, remove comments off, Wordpress