View Full Version : PHPBB hack help


Impalaman
12-18-2004, 11:07 PM
Jafo,
When I click the email link on the PHPBB forum page, it takes me to the Messenger log in page. It is grabbing my ID in the url, but doesn't seem to do anything with it. Since I use PHP Nuke, users can sign up, and then check their mail from the PHPBB module. This should work the same way.

Also, if you log in as administrator of the Messenger, shouldn't you be able to see all the users on PHPBB under the users tab?

Thanks Jafo

Jafo
12-19-2004, 05:56 PM
I have no idea if this will work with PHPNuke, I have no experience with it.

Impalaman
12-19-2004, 11:56 PM
Jafo,
Nuke uses the same type database as PBPBB, and the PHPBB module for Nuke works the same, only its ported to be used as a module. I tried it with just PHPBB, no Nuke, and it did the same thing. What version of PHPBB did you test this hack on, I'm using version 2.0.4. It carries the id, but doesn't log in. It looks like it's going to work, but doesn't.

As of tonight, when you register for a nuke account on my site, it registers you for the forum, chat, messenger, and instant messenger, and anything else I add to my site. All profile changes will be controlled by the nuke control panel. Getting cookies set will be the final task.

Getting this hack to work will help me out a lot.

Thank you in advance for your help Jafo. :)

Impalaman
12-24-2004, 02:08 PM
Jafo,
I figured out why it wouldn't log in. In the hack you wrote, there is a line that has your ip address in it, so I put my ip address in it and it worked. Here is the line:
my $ip = $ENV{'REMOTE_ADDR'};
my @do = split(/\./,"24.44.160.229");

The only problem is that it only seems to work from the ip address that is in the quotes. So I changed it as follows:
my $ip = $ENV{'REMOTE_ADDR'};
my @do = split(/\./,"$ip");
and now it works great from anywhere...COOL...

So it does work with the Nuke PHPBB module, and I will soon try to incorperate it in the Nuke user account main page. I now have complete WWM & WWIM integration with my Nuke site. :)

Have a happy holiday season.

tony
01-02-2005, 09:47 PM
Can I use this hack with world wide messenger 4.o?

Jafo
01-02-2005, 11:14 PM
It is NOT compatible with 4.0.

ALF
01-27-2005, 04:26 PM
What would it cost for to integrate it with my phpBB2 forum? + add the WWIM hack?
Thanks,
-ALF

Jafo
01-27-2005, 07:19 PM
the hack is free, if you are looking for an installer to do it, please see our installations page.