This plugin will display a WAP (cell phone) page that contains a basic form to add items to your site remotely.
| General Plugin info |
| Author: | Lonnie Olson, mod by Edmond Hui (admun), mod by ftruscot |
| Current Version: | 0.4 |
| Download: | n/a |
| Code: | 0.4, 0.3 |
| Demo: | n/a |
| Forum Thread: | here |
Copy and paste
the code into a file called NP_WAPPost.php.
Upload the file into the nucleus plugin directory.
Install the plugin.
Create a new skin called wappost, which has only main index and contain <%WAPPost%> in it.
Create a new page call wappost.php to display this skin, it should be place in your Nucleus root directory where index.php is located. See example for
wappost.php:
After setting up the wappost.php, one should be able to load the page from a WAP capable browser.
Point your WAP-capable browser to the wappost.php file at your site. This will allow you to choose a category for your post from a list of all available categories (all blogs) at your site.
If you use an URL like this: host.yourdomain.tld/wappost.php?blogid=5, then you will only see the categories for the blog with id of 5.
0.2 - Initial version (Lonnie Olson)
0.3 - use sql_table, add supportsFeature (Edmond Hui)
0.4 - makes blogid aware and encodes html entities in categories before displaying. Also displays categories sorted by blog. (ftruscot)
NP_WAPPost version 0.4 works with Nucleus CMS 3.31 - 2007-10-31 admun