We can insert any media files in our post content by clicking the button ‘Upload/Insert’ from post editor. But If you need to use files for your WordPress plugin or theme settings, you have to either upload new files form your computer or using files from WordPress media library. You can create a file upload system with your plugin easily that will not well organized. But you can use WordPress media upload library instead. There is no documentation/guide for adding this media uploader functionality in your own settings page. Here I am writing a guide to use this media uploader very easily.
Continue reading
[Tutorial] How to Use TinyMCE WYSIWYG Editor in WordPress Plugin / Theme Admin Page
In some case we need to store HTML data for our WordPrss Plugin or Themes admin settings/options. We want to add/edit this HTML in visual mood. So we must have to use an WYSIWYG editor with inputs fields. There are some JavaScript library to create WYSIWYG editor with HTML input fields ( mostly for <textarea>). Most people like TinyMCE Library. TinyMCE is a platform independent web based JavaScript HTML WYSIWYG editor control released as Open Source under LGPL by Moxiecode Systems AB. TinyMCE has the ability to convert HTML TEXTAREA fields or other HTML elements to editor instances. TinyMCE is very easy to integrate into other Content Management Systems. In WordPress there is a build in TinyMCE library. WordPress is using this TinyMCE WYSIWYG editor in post/page editor page. But some times we need to use this editor with any other field like theme settings page. Here I will show you how to use this build in TinyMCE editor with your own fields. Continue reading
How to Protect Your Uploaded Files From Unauthorized Users
Contents and files are the main assets of your website/business. In some case/business you may want to show your content only for websites members who are logged in. Assume you are showing a video/audio/image in your post content and you want to allow this file for only logged in users or some specific users or groups. Or you want to sell some downloadable files and your authorized users can download the file. Ok, your php/wordpress script generates your protected page only for authorized people. Continue reading
Hack into Google and Get All Google+ Profile ID and URL
Google+ is the most trending social networking website we know. It is increasing day by day. There is a lot of SEO benefit if you/your-page are connected with other Google+ users. There may have some aplications those need google+ users’ profile ID to send message, friend request, invite to circle etc. All users are identified by its unique ID. If you know any user’s ID you can get his some public information very easily by using some google API. I had a question , how can I get all google+ user’s profile ID. I did not get the answer anywhere. I had an idea to search that. Users’ profile page is public by default and it is being indexed in search engine. So there must have an open url to get all Google+ profile page urls.
Continue reading
WP Author Report
Are you an webmaster or owner of multiple websites with many authors? Are A lot of or some authors working with you to post new contents to your websites everyday? End of every month you are facing problem to evaluate your authors. Do you want to ranked up your website’s content developers? You must have to calculate , which writers are working regularly or not, For which author’s article your website is getting a lot of traffic, how many new contents are being added to your website daily/weekly/monthly basis, how is going your content development work flow?
Continue reading
