Author Topic: OmnomIRC for ABXD and phpBB  (Read 8208 times)

0 Members and 1 Guest are viewing this topic.

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
OmnomIRC for ABXD and phpBB
« on: August 14, 2014, 03:15:08 pm »
This is something I'm working on, I installed myself an ABXD forum and installed OmnomIRC on it and wrote a plugin for it. One of my friends have a phpBB forum as well and wishes to get a chatbox on it, so I'm gonna install OmnomIRC for him as well.

I just finished the ABXD plugin, you can find it here real soon, plus it have a few features not found on Omnimaga: https://github.com/juju2143/ABXD-plugin-OmnomIRC



I'll keep you updated for the phpBB one, if you wanna help that would be great.
« Last Edit: August 14, 2014, 04:05:19 pm by Juju »

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: OmnomIRC for ABXD and phpBB
« Reply #1 on: August 14, 2014, 10:04:45 pm »
Update bump!

I installed OmnomIRC on a phpbb and wrote a checkLogin.php for it (no support for the admin paned tho so edit config.php manually) and also, I made it so both forums can chat on each other's channels, which can be pretty cool.

The only problem is with hardcoded network IDs, OmnomIRC having ID 1 by default and I had to change one of them to 4 and add checks for both IDs 1 and 4. That could be a feature that can be done in the future, interforum communication.

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: OmnomIRC for ABXD and phpBB
« Reply #2 on: August 15, 2014, 10:41:11 am »
Looking good, make sure to submit pull requests for your changes so Sorunome can approve them :)
/e

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: OmnomIRC for ABXD and phpBB
« Reply #3 on: August 15, 2014, 10:42:55 am »
How did you do the cross-site stuff? Did you just have different checkLogins per forum but the same iframe?

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: OmnomIRC for ABXD and phpBB
« Reply #4 on: August 15, 2014, 11:34:10 am »
How did you do the cross-site stuff? Did you just have different checkLogins per forum but the same iframe?
According to the pull request I saw, that's what it looked like.
/e

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: OmnomIRC for ABXD and phpBB
« Reply #5 on: August 15, 2014, 12:38:54 pm »
Awesome job juju and I like the cross-site feature :D

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: OmnomIRC for ABXD and phpBB
« Reply #6 on: August 15, 2014, 03:32:46 pm »
How did you do the cross-site stuff? Did you just have different checkLogins per forum but the same iframe?
It's 2 different iframes with their own config.php, one per forum, but they use the same database. They are set up so one of them sends online=4 to the database instead of online=1 (it's hardcoded so it was kind of a pain to set that up), so you can know from which site the user comes from, like how you know the users is from IRC or not.

We should probably write a patch to make it less hardcoded and add variables like which network ID this instance of OmnomIRC uses and which IDs are OmnomIRC.

Oh and Sorunome I sent you a pull request on Github so you can put the checkLogin.php for my forum on the OmnomIRC repo.
« Last Edit: August 15, 2014, 03:40:11 pm by Juju »

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: OmnomIRC for ABXD and phpBB
« Reply #7 on: August 17, 2014, 09:01:55 pm »
yeah, i started some thinking for generalizing oirc networking stuff :)

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!