Inbox link not working

Events happening in the community are now at Drupal community events on www.drupal.org.
yosmc's picture

Seems like Drupal's menu link to phpBB's inbox is broken. phpbb.module contains the following:

'path' => $phpbbcfg['path_rel'].'inbox'

However, in phpBB 3 the inbox is @ ucp.php?i=pm&folder=inbox and not in /inbox. Consequently I've tried to use the following:

'path' => $phpbbcfg['path_rel'].'ucp.php?i=pm&folder=inbox'

...but it seems like this variable is passed through html_specialchars or a similar routine later, so that won't work either. It looks like this (not sure how it will pan out in this post but essentially ? and & are not what they need to be. ;)

ucp.php%3Fi%3Dpm%2526folder%3Dinbox

Comments

Again, please stop claiming

arkepp's picture

Again, please stop claiming things are broken without testing on http://drupal.i1media.no first.

The .htaccess file contains
RewriteRule ^inbox$ ucp.php?i=pm&folder=inbox [L]

so you probably forgot to copy or rename the .htaccess file.

You're the boss

yosmc's picture

...so I try to do what you ask me to, seems though like I may have misunderstood your request. What exactly do you mean by "testing on drupal.i1media.no" - I thought that meant to check the latest version to make sure I'm not reporting something that already has been fixed? Well, that's what I did in both instances.

I don't use .htaccess so I moved the inbox line to httpd.conf where it's obviously not doing what it's supposed to do. ;) I'm sure the error is on my end though - sorry about that.

I mean go to

arkepp's picture

I mean go to http://drupal.i1media.no , create an account there and see whether you can reproduce the problem on the demo site.

phpbb_latest.tar.gz is just a dump of the files running on that site, so if it doesn't work there then you have surely found a bug. If it works there, but not on your site, there's a 75% chance you've made a configuration error.

I'm also having a similar

matthew_ellis24's picture

I'm also having a similar problem. My inbox link is directing to en/phpBB3/inbox despite the fact that the .htaccess is in the phpBB3 folder, named properly and apparently with the original rewrite rules in. I'm absolutely certain I've done something stupid, so please enlighten me!

I'm guessing your relative

arkepp's picture

I'm guessing your relative path in the configuration files is set to 'en/phpBB3' ?

Should probably be 'phpBB3' or something similar.

no the relative path and

matthew_ellis24's picture

no the relative path and absolute path are both set correctly. Every thing else works except this one part.

hm, Drupal is involved in

arkepp's picture

hm, Drupal is involved in creating that link as well.

I guess as a last resort you can open phpbb.module and just code it to whatever it should be? just look for

'path' => $phpbbcfg['path_rel'].'inbox',

I think you can replace that with and absolute path or a URL.

phpbb

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week