Poll: Should the chatbox be on every page?
You do not have permission to vote in this poll.
No, it should only be on the homepage.
52.94%
9 52.94%
Yes, it should be readily available.
47.06%
8 47.06%
Total 17 vote(s) 100%
* You voted for this item. [Show Results]

Chatbox for ACR forum
2013-06-18, 12:55 AM (This post was last modified: 2013-06-18, 01:11 AM by Sorunome.)
#21
RE: Chatbox for ACR forum
That is the problem - installation still requires some programming.
The file that needs to be re-rogrammed is this one:
https://github.com/Sorunome/OmnomIRC2/bl...kLogin.php
because it is for SMF 1.1.18 and I'd need to reprogram it for MyBB (and I would have to install a forum on that).
And then what else would have to be done is point chat.forum.acr.victorz.ca to the ip of the server of rXn and finally put a iframe under the nav to chat.forum.acr.victorz.ca so that the chat widget is on every site on the top.
The main problem is the checkLogin.php file, though..........
Post Reply Quote this message in a reply
2013-06-19, 08:46 AM
#22
RE: Chatbox for ACR forum
We don't need to check for authentication though. It's just a public chatbox because people can connect to IRC and still chat. It looks like all I have to do is put an iframe and add a DNS record.

@rXn, just tell me the IP for the A record (or a domain for a CNAME record)

Best regards,
Victor
//victorz.ca
Code:
Your antithesis compares favorably with any high magnitude of pwnage. (-you > |p|, you < -|p|)
My antithesis compares favorably with _that of_ any high magnitude of pwnage. (|-me| > |-p|, |me| > |p|)
Post Reply Quote this message in a reply
2013-06-19, 11:07 AM (This post was last modified: 2013-06-19, 11:23 AM by Sorunome.)
#23
RE: Chatbox for ACR forum
Well, the thing is that, just as on omnimaga, we also use authentication because, even though you can access over public irc, there'll still always be a nick reserved for you on your network (i hope i make sence here), and it is also easier to track some spammer down if he uses the irc widget and authentication is required.
But yeah, it's your call, i'll just have to add something where you'll have to enter a nick and somehow check that the nick isn't taken (should be easy to code as it already has a userlist of online users, but idk, i still think that it would be more reliable with authentication).
Technically without authentication it wouldn't even require DNS, but i just got an idea: I could still authenticate completley on the other server in theory! Big Grin

And then there is another question: which channel/channels and on efnet of freenode or w/e

EDIT: I got a far better idea: how about we still do authentication, but i'll just send you the php file (I'll make a MyBB forum quickly on my server) so that you don't need to grant anyone access.
EDIT2: Oh, and the authentication happens 'invisible', it detects if you are logged into the forum, thus that one file needed.
Post Reply Quote this message in a reply
2013-06-19, 12:07 PM
#24
RE: Chatbox for ACR forum
rxn.lepus.uberspace.de, for access and/or ports ask me!

The C Programming Language: combines the flexibility of assembly language with the power of assembly language.
Post Reply Quote this message in a reply
2013-06-19, 02:17 PM (This post was last modified: 2013-06-19, 02:18 PM by Victor.)
#25
RE: Chatbox for ACR forum
OK, just post the file once it's done. I understand how the authentication works. It's a shared secret between rXn's server and ACR's forum, which secret ACR's forum uses to sign and rXn's server to verify.

The CNAME has been added. Do you want me to enable CloudFlare's proxy on it?

Best regards,
Victor
//victorz.ca
Code:
Your antithesis compares favorably with any high magnitude of pwnage. (-you > |p|, you < -|p|)
My antithesis compares favorably with _that of_ any high magnitude of pwnage. (|-me| > |-p|, |me| > |p|)
Post Reply Quote this message in a reply
2013-06-19, 02:18 PM (This post was last modified: 2013-06-19, 02:19 PM by Sorunome.)
#26
RE: Chatbox for ACR forum
Well, as this is not the omnomirc where i am developing on i don't see a reason why not to enable it, but honestly i don't care. Big Grin
oh, and rXn, would you mind pm'ing me a account info (username+passwd), eventually, if you won't wanne give me root, you'll have to give me access to /var/www and set apache correctly and make a mysql db (if you wanne give me root it'll all be simpler for you, but that would require you trusting me)
Post Reply Quote this message in a reply
2013-06-19, 02:21 PM
#27
RE: Chatbox for ACR forum
Then it's up to rXn. Using the CloudFlare proxy means that the IP is proxied and the original IP is inside a header.

On second thought, it might not help too much because the traffic going to that server is going to be dynamic. Unless there is cacheable traffic, it might be pointless.

Best regards,
Victor
//victorz.ca
Code:
Your antithesis compares favorably with any high magnitude of pwnage. (-you > |p|, you < -|p|)
My antithesis compares favorably with _that of_ any high magnitude of pwnage. (|-me| > |-p|, |me| > |p|)
Post Reply Quote this message in a reply
2013-06-19, 02:57 PM
#28
RE: Chatbox for ACR forum
Ok, so which channel(s) and on which IRC network(s) should we connect to?

and rXn, even if i'd have root access, that doesn't mean i'll have root access to mysql so please be so kind and make a user for the chat thingy Smile

btw victor, what will the url be so that i can already put it into the code?
Post Reply Quote this message in a reply
2013-06-19, 03:00 PM (This post was last modified: 2013-06-19, 03:00 PM by Victor.)
#29
RE: Chatbox for ACR forum
#acreloaded on freenode

What URL? If it's the CNAME, it's chat.forum.acr.victorz.ca, the one I placed into a link above.

Best regards,
Victor
//victorz.ca
Code:
Your antithesis compares favorably with any high magnitude of pwnage. (-you > |p|, you < -|p|)
My antithesis compares favorably with _that of_ any high magnitude of pwnage. (|-me| > |-p|, |me| > |p|)
Post Reply Quote this message in a reply
2013-06-19, 03:00 PM (This post was last modified: 2013-06-19, 03:03 PM by Sorunome.)
#30
RE: Chatbox for ACR forum
that was the one i was looking for, thanks! Big Grin
EDIT: And what irc channel(s) on which network(s) do you want now Victor?
Post Reply Quote this message in a reply


Forum Jump: