]>
Commit | Line | Data |
---|---|---|
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 | |
35 | storage, but something as unusual as you suggest would likely still need a | |
36 | custom module to be written. As far as the current version of Services | |
37 | goes, yes, you can use XML to update the databases, but be aware that | |
38 | Services is not currently capable of importing XML data while running; | |
39 | since it would not be advisable to allow anyone to restart Services by | |
40 | creating a new account (think "while true ; do wget ... ; done"), you could | |
41 | set up a cron job to terminate Services, import any new/changed data, and | |
42 | restart Services periodically, say in the early morning. (If you do this, | |
43 | make sure you use "kill" or "kill -TERM" to terminate Services--if you use | |
44 | "kill -INT" 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 | ><i>Hi, | |
51 | </I>><i> | |
52 | </I>><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>><i> PHP. | |
54 | </I>><i> | |
55 | </I>><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>><i> | |
57 | </I>><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>><i> | |
59 | </I>><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>><i>current account data every hour or so? | |
61 | </I>><i> | |
62 | </I>><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>><i> | |
64 | </I>><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>><i> | |
66 | </I>><i>Does anyone have any other ideas about how to accomplish this? | |
67 | </I>><i> | |
68 | </I>><i>Many thanks, | |
69 | </I>><i> | |
70 | </I>><i>Charlie | |
71 | </I>><i> | |
72 | </I>><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> |