fci
01-06-2007, 10:00 PM
enotify
Description
======
Retrieve information in XML about threads/private messages via a REST API
Install
======
1. Upload the files in the upload directory to the appropiate locations on your webserver
2. Import product-enotify.xml via 'Plugins & Products' -> 'Manage Products'
Configure
======
Go to vBulletin Options -> ENotify Settings
How to use
======
Remote users can login with:
http://domain/enotify.php?username=USERNAME&password=MD5_HASHED_PASSWORD
Without the username and password the user will see threads available to guests:
http://domain/enotify.php
If someone only wants to get a count of new private messages they've received:
http://domain/enotify.php?pm=1&username=USERNAME&password=MD5_HASHED_PASSWORD
If you have PHP5, you can use enotify_reader.php and follow the examples in there.
It is PHP5 specific because it uses the simplexml_load_string function.
Brief descriptions of useful methods enotify_reader.php
login = provide login information
get_threads = return array of new posts (includes thread title, date, created by)
get_pms = return array of unread pms (includes sender name, date, title)
unread_pms = returns total number of unread pm's
Future thoughts...
It'd probably be better if I used rss/atom
Description
======
Retrieve information in XML about threads/private messages via a REST API
Install
======
1. Upload the files in the upload directory to the appropiate locations on your webserver
2. Import product-enotify.xml via 'Plugins & Products' -> 'Manage Products'
Configure
======
Go to vBulletin Options -> ENotify Settings
How to use
======
Remote users can login with:
http://domain/enotify.php?username=USERNAME&password=MD5_HASHED_PASSWORD
Without the username and password the user will see threads available to guests:
http://domain/enotify.php
If someone only wants to get a count of new private messages they've received:
http://domain/enotify.php?pm=1&username=USERNAME&password=MD5_HASHED_PASSWORD
If you have PHP5, you can use enotify_reader.php and follow the examples in there.
It is PHP5 specific because it uses the simplexml_load_string function.
Brief descriptions of useful methods enotify_reader.php
login = provide login information
get_threads = return array of new posts (includes thread title, date, created by)
get_pms = return array of unread pms (includes sender name, date, title)
unread_pms = returns total number of unread pm's
Future thoughts...
It'd probably be better if I used rss/atom