vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - Enotify: REST API / remote XML feeds for New Posts / Private Messages (https://vborg.vbsupport.ru/showthread.php?t=135743)

fci 01-06-2007 10:00 PM

Enotify: REST API / remote XML feeds for New Posts / Private Messages
 
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=U...ASHED_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&usern...ASHED_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

abramelin 01-07-2007 12:53 AM

demo please.

fci 01-07-2007 05:56 AM

Quote:

Originally Posted by abramelin (Post 1152312)
demo please.

Well, I can't quite demo it. It's more of a glue layer between, for example, a Firefox extension / google/yahoo widget to access the forum information. I am trying to get one guy to create a yahoo widget which would pull the information into the widget. I was personally planning on doing an extension to be a "PM Notifier" .. similar the Gmail Notifier extension. Really though, I need to use something more standard like RSS/atom for this to ever obtain wide adoption. I also think I should have it restricted to certain usergroups but if there is any one with actual comments, I would appreciate it, thanks.

AyeCapn 01-12-2007 05:36 PM

This seems to be close to the frequently requested mod of the RSS system. It would post replies to threads and not just new threads.

My members have been after an auto-email subscription that emails everry time there is a new post, regardless of whether they visit the site again.


All times are GMT. The time now is 09:21 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01152 seconds
  • Memory Usage 1,718KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete