]> jfr.im git - irc.git/blame - software/RELEASES/ircservices/achurch.org/services/lists/ircservices/2003/003802.html
init
[irc.git] / software / RELEASES / ircservices / achurch.org / services / lists / ircservices / 2003 / 003802.html
CommitLineData
3bd189cb
JR
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2<HTML>
3 <HEAD>
4 <TITLE> [IRCServices] using a different database for user auth?
5 </TITLE>
6 <LINK REL="Index" HREF="index.html" >
7 <LINK REL="made" HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20using%20a%20different%20database%20for%20user%20auth%3F&In-Reply-To=20030410232339.A8469%40hyperion.sleepygeek.org">
8 <META NAME="robots" CONTENT="index,nofollow">
9 <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
10 <LINK REL="Previous" HREF="003749.html">
11 <LINK REL="Next" HREF="003804.html">
12 </HEAD>
13 <BODY BGCOLOR="#ffffff">
14 <H1>[IRCServices] using a different database for user auth?</H1>
15 <B>Andrew Church</B>
16 <A HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20using%20a%20different%20database%20for%20user%20auth%3F&In-Reply-To=20030410232339.A8469%40hyperion.sleepygeek.org"
17 TITLE="[IRCServices] using a different database for user auth?">achurch at achurch.org
18 </A><BR>
19 <I>Wed Apr 30 13:09:30 PDT 2003</I>
20 <P><UL>
21 <LI>Previous message: <A HREF="003749.html">[IRCServices] using a different database for user auth?
22</A></li>
23 <LI>Next message: <A HREF="003804.html">RES: [IRCServices] using a different database for user auth?
24</A></li>
25 <LI> <B>Messages sorted by:</B>
26 <a href="date.html#3802">[ date ]</a>
27 <a href="thread.html#3802">[ thread ]</a>
28 <a href="subject.html#3802">[ subject ]</a>
29 <a href="author.html#3802">[ author ]</a>
30 </LI>
31 </UL>
32 <HR>
33<!--beginarticle-->
34<PRE> In the future, Services will (hopefully) support other methods of data
35storage, but something as unusual as you suggest would likely still need a
36custom module to be written. As far as the current version of Services
37goes, yes, you can use XML to update the databases, but be aware that
38Services is not currently capable of importing XML data while running;
39since it would not be advisable to allow anyone to restart Services by
40creating a new account (think &quot;while true ; do wget ... ; done&quot;), you could
41set up a cron job to terminate Services, import any new/changed data, and
42restart Services periodically, say in the early morning. (If you do this,
43make sure you use &quot;kill&quot; or &quot;kill -TERM&quot; to terminate Services--if you use
44&quot;kill -INT&quot; or other signals, Services will not save the databases on exit.)
45
46 --Andrew Church
47 <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">achurch at achurch.org</A>
48 <A HREF="http://achurch.org/">http://achurch.org/</A>
49
50&gt;<i>Hi,
51</I>&gt;<i>
52</I>&gt;<i>I have an interesting problem. I maintain the server for a large site with a forum and fancy java chat system, currently the logins for the java chat system are linked to the user accounts on the forum, which is vBulletin. I wrot the login stuff myself in
53</I>&gt;<i> PHP.
54</I>&gt;<i>
55</I>&gt;<i>We'd like to do away with the java chat system for various reasons, and possibly like to replace it with an IRC server. One of the main concerns here is controllung use of nicknames.
56</I>&gt;<i>
57</I>&gt;<i>Unfortunately, asking users to create two accounts (one on the forum, one on the IRC server/services) isn't really an option. I must keep the IRC services accounts in sync with the forum ones.
58</I>&gt;<i>
59</I>&gt;<i>I have noticed that there is an inport function for the accounts used by Services - I can easily create the XML file from the vBulletin account data for Services to import, however, how should I keep this updated? Should I simply have Services import the
60</I>&gt;<i>current account data every hour or so?
61</I>&gt;<i>
62</I>&gt;<i>There are approximately 8,000 accounts on the forum, but I don't expect that more than 500 or so would create an IRC account.
63</I>&gt;<i>
64</I>&gt;<i>What is the best way to approach this? While I am more than willing to code support for something like this myself, I'm afraid my C/C++ skills are not up to the task at the moment.
65</I>&gt;<i>
66</I>&gt;<i>Does anyone have any other ideas about how to accomplish this?
67</I>&gt;<i>
68</I>&gt;<i>Many thanks,
69</I>&gt;<i>
70</I>&gt;<i>Charlie
71</I>&gt;<i>
72</I>&gt;<i>------------------------------------------------------------------
73</I></PRE>
74
75<!--endarticle-->
76 <HR>
77 <P><UL>
78 <!--threads-->
79 <LI>Previous message: <A HREF="003749.html">[IRCServices] using a different database for user auth?
80</A></li>
81 <LI>Next message: <A HREF="003804.html">RES: [IRCServices] using a different database for user auth?
82</A></li>
83 <LI> <B>Messages sorted by:</B>
84 <a href="date.html#3802">[ date ]</a>
85 <a href="thread.html#3802">[ thread ]</a>
86 <a href="subject.html#3802">[ subject ]</a>
87 <a href="author.html#3802">[ author ]</a>
88 </LI>
89 </UL>
90
91</body></html>