GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   NATS Users: AutoNotes > Free Class / Framework (https://gfy.com/showthread.php?t=735726)

quantum-x 05-23-2007 11:08 AM

NATS Users: AutoNotes > Free Class / Framework
 
Just finished coding an 'AutoNotes' Framework for NATS, used for the remote addition of notes to a member name.

We use it in our webcam chats- if a user is kicked or banned, a note is automagically added to their account info in NATS so if they complain etc, we can see what happened.

OOP [as much as PHP4 allows]
Implements NATS db calls / interface, so it's easy and secure
Additional IP restriction to limit access to known IPs
Can be Invoke manually or automatically parse a POST request.

ZIP > http://www.ninjito.com/autoNotes.zip

Instructions >
1 -Script must live on the same server as your copy of NATS.
Unzip, pull open the /_system/_config.php, and change the 'natsPath' line to the FULL system path to your NATS includes directory.

2 - Change the 'defaultUser' to the NATS user you want to author the notes if you don't supply one. You will need to change it from quantumx.

3 - Change / Add IPs into the 'ValidIP' variable. These are the IPs that the script will only talk to. This can be overridden if you choose.

4 - Save file and close.

5 - Open index.php for a poke around.
It should be reasonably self explanatory how to use it.


> If you're going to use it, read this
Standard disclaimer: While this is coded to production level, by using the script you waive all right to lodge damages or losses to me if something breaks. Have a look at all the code, reassure yourself it's not nasty. It's provided as is. If it does what you want, fantastic, I'm glad to help. If it doesn't, remember - it was free.

It's a pretty nice framework for RPCs, I'm chatting w/ the TMM guys to see if they want to add it in as default for the future.

qx.


All times are GMT -7. The time now is 11:11 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123