]>
Commit | Line | Data |
---|---|---|
3bd189cb JR |
1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> |
2 | <HTML> | |
3 | <HEAD> | |
4 | <TITLE> RES: [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=RES%3A%20%5BIRCServices%5D%20using%20a%20different%20database%20for%20user%20auth%3F&In-Reply-To=3eaf4e20.54511%40mail.achurch.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="003802.html"> | |
11 | <LINK REL="Next" HREF="003805.html"> | |
12 | </HEAD> | |
13 | <BODY BGCOLOR="#ffffff"> | |
14 | <H1>RES: [IRCServices] using a different database for user auth?</H1> | |
15 | <B>Diego Bitencourt Contezini</B> | |
16 | <A HREF="mailto:ircservices%40ircservices.za.net?Subject=RES%3A%20%5BIRCServices%5D%20using%20a%20different%20database%20for%20user%20auth%3F&In-Reply-To=3eaf4e20.54511%40mail.achurch.org" | |
17 | TITLE="RES: [IRCServices] using a different database for user auth?">diego at redesul.net | |
18 | </A><BR> | |
19 | <I>Wed Apr 30 04:27:19 PDT 2003</I> | |
20 | <P><UL> | |
21 | <LI>Previous message: <A HREF="003802.html">[IRCServices] using a different database for user auth? | |
22 | </A></li> | |
23 | <LI>Next message: <A HREF="003805.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#3804">[ date ]</a> | |
27 | <a href="thread.html#3804">[ thread ]</a> | |
28 | <a href="subject.html#3804">[ subject ]</a> | |
29 | <a href="author.html#3804">[ author ]</a> | |
30 | </LI> | |
31 | </UL> | |
32 | <HR> | |
33 | <!--beginarticle--> | |
34 | <PRE>Im starting to code with xml-import/export and httpd module, a module | |
35 | for where you can import databases from xml, possible on a week it will | |
36 | be ready, than i send it to list.... | |
37 | ||
38 | Diego B. Contezini aka <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">destruct_ at irc.redesul.net</A> | |
39 | ||
40 | -----Mensagem original----- | |
41 | De: <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">ircservices-bounces at ircservices.za.net</A> | |
42 | [mailto:<A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">ircservices-bounces at ircservices.za.net</A>] Em nome de Andrew Church | |
43 | Enviada em: quarta-feira, 30 de abril de 2003 01:10 | |
44 | Para: <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">ircservices at ircservices.za.net</A> | |
45 | Assunto: Re: [IRCServices] using a different database for user auth? | |
46 | ||
47 | In the future, Services will (hopefully) support other methods of | |
48 | data | |
49 | storage, but something as unusual as you suggest would likely still need | |
50 | a | |
51 | custom module to be written. As far as the current version of Services | |
52 | goes, yes, you can use XML to update the databases, but be aware that | |
53 | Services is not currently capable of importing XML data while running; | |
54 | since it would not be advisable to allow anyone to restart Services by | |
55 | creating a new account (think "while true ; do wget ... ; done"), you | |
56 | could | |
57 | set up a cron job to terminate Services, import any new/changed data, | |
58 | and | |
59 | restart Services periodically, say in the early morning. (If you do | |
60 | this, | |
61 | make sure you use "kill" or "kill -TERM" to terminate Services--if you | |
62 | use | |
63 | "kill -INT" or other signals, Services will not save the databases on | |
64 | exit.) | |
65 | ||
66 | --Andrew Church | |
67 | <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">achurch at achurch.org</A> | |
68 | <A HREF="http://achurch.org/">http://achurch.org/</A> | |
69 | ||
70 | ><i>Hi, | |
71 | </I>><i> | |
72 | </I>><i>I have an interesting problem. I maintain the server for a large site | |
73 | </I>with a forum and fancy java chat system, currently the logins for the | |
74 | java chat system are linked to the user accounts on the forum, which is | |
75 | vBulletin. I wrot the login stuff myself in | |
76 | ><i> PHP. | |
77 | </I>><i> | |
78 | </I>><i>We'd like to do away with the java chat system for various reasons, and | |
79 | </I>possibly like to replace it with an IRC server. One of the main concerns | |
80 | here is controllung use of nicknames. | |
81 | ><i> | |
82 | </I>><i>Unfortunately, asking users to create two accounts (one on the forum, | |
83 | </I>one on the IRC server/services) isn't really an option. I must keep the | |
84 | IRC services accounts in sync with the forum ones. | |
85 | ><i> | |
86 | </I>><i>I have noticed that there is an inport function for the accounts used | |
87 | </I>by Services - I can easily create the XML file from the vBulletin | |
88 | account data for Services to import, however, how should I keep this | |
89 | updated? Should I simply have Services import the | |
90 | ><i>current account data every hour or so? | |
91 | </I>><i> | |
92 | </I>><i>There are approximately 8,000 accounts on the forum, but I don't expect | |
93 | </I>that more than 500 or so would create an IRC account. | |
94 | ><i> | |
95 | </I>><i>What is the best way to approach this? While I am more than willing to | |
96 | </I>code support for something like this myself, I'm afraid my C/C++ skills | |
97 | are not up to the task at the moment. | |
98 | ><i> | |
99 | </I>><i>Does anyone have any other ideas about how to accomplish this? | |
100 | </I>><i> | |
101 | </I>><i>Many thanks, | |
102 | </I>><i> | |
103 | </I>><i>Charlie | |
104 | </I>><i> | |
105 | </I>><i>------------------------------------------------------------------ | |
106 | </I>------------------------------------------------------------------ | |
107 | To unsubscribe or change your subscription options, visit: | |
108 | <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">http://www.ircservices.za.net/mailman/listinfo/ircservices</A> | |
109 | ||
110 | </PRE> | |
111 | ||
112 | <!--endarticle--> | |
113 | <HR> | |
114 | <P><UL> | |
115 | <!--threads--> | |
116 | <LI>Previous message: <A HREF="003802.html">[IRCServices] using a different database for user auth? | |
117 | </A></li> | |
118 | <LI>Next message: <A HREF="003805.html">RES: [IRCServices] using a different database for user auth? | |
119 | </A></li> | |
120 | <LI> <B>Messages sorted by:</B> | |
121 | <a href="date.html#3804">[ date ]</a> | |
122 | <a href="thread.html#3804">[ thread ]</a> | |
123 | <a href="subject.html#3804">[ subject ]</a> | |
124 | <a href="author.html#3804">[ author ]</a> | |
125 | </LI> | |
126 | </UL> | |
127 | ||
128 | </body></html> |