Development of "shortcodes" plugin for "ip based ajax cloaking". I want to implement the following functionality using shortcodes like this -->
Basically I have a file on server [url removed, login to view] which contains several user ip addresses.
In the post editing panel --> if I add shortcode [secondary_post] around some content, that content will be there in the HTML of the posts for those ips addresses in the [url removed, login to view] as well as for those ips not in ip_blacklist.php. But it will be hidden via ajax/js for those ips not in [url removed, login to view]
if I add shortcode [secondary_content] around some content, that content will NOT be there in the HTML of the posts for those ips in the [url removed, login to view] as well as ,, it will NOT be there in HTML content for those ips not in ip_blacklist.php. But it will be loaded via ajax/js for those ips not in [url removed, login to view]
I WILL SEND YOU CODE HOW TO HIDE CONTENT AND LOAD CONTENT VIA AJAX/JS without affecting HTML of the page. This plugin should work with every theme and I'll need a documentation as well.
The plugin should be compatible with other shortcodes and the shortcodes can be nested as well and the shortcodes [secondary_content], [secondary_post] can be placed anytimes within the content of the blog post.
I am currently using a theme that has many different shortcodes to make content visually appealing eg. to make tabbed content. This shortcodes plugin should be compatible with these.
I've attached examples of how the shortcodes will be addded in the post edit plugin.
Integrating "w3 total cache" plugin with [url removed, login to view]
Bascially we're building the site based on people's ip addresses from [url removed, login to view], 2 different pages are being shown to people depending on whether their ip address is in the list or not in the list.
When we integrate w3 total cache and use "Page cache", "Browser cache", "Rackspace cdn", "minify CSS" options, it will cache the site and display the same page to both the ips.
I want it to cache 2 versions of the "page" (using Page cache) for particular ip address, and then show the page accordingly by first checking the ip address of the visitor.
The above shortcodes plugin in Part A. should be compatible with this caching plugin.