You'll find the Bugtracker here.
![]() ![]() |
Feb 15 2009, 11:34
Post
#1
|
|
|
Newbie ![]() Group: Member Posts: 18 Joined: 12-June 08 Member No.: 2 291 |
It has been a while, but here they are, the Drupal modules for IPBWI 2. I've been using them for a week now on a small production site and so far no problems (*knock on wood*).
Very important install instructions: Do not forget to check your IPB forum cookie settings (under admin): Cookie Domain: .your-domain.com Cookie Name Prefix: {blank} Cookie Path: {blank} And disable the "Create a stronghold auto-log in cookie" option. For a rough description of the possibilities, see this thread. I've made some enhancements in this version that I'll explain later. The modules can be seen in action on the clanbeware website. I'm also working on a recent forum posts module (as can be seen on the mentioned website), but it is still only a customized version for our specific skin. If you're interested, let me know and I'll see if I can release that in a usable form as well. Enjoy!
Attached File(s)
|
|
|
|
Mar 8 2009, 15:31
Post
#2
|
|
|
Rookie Group: Active Member Posts: 1 Joined: 8-March 09 From: Washington, DC Member No.: 3 227 |
This is a fantastic module. I've been looking for something like this for a long time. Good work.
I do have a wish list, though:
|
|
|
|
Mar 8 2009, 21:31
Post
#3
|
|
|
Rookie Group: Active Member Posts: 2 Joined: 14-November 08 Member No.: 2 712 |
Unfortunately, after I configured the whole system i still get an error:
CODE Fatal error: Call to a member function isLoggedIn() on a non-object in /var/www/web23/html/drupal/modules/ipb/ipb.module on line 176 The code which indicates the error is: CODE function ipb_ipb_login($_ipb_SDK) { if ($_ipb_SDK->member->isLoggedIn()) { $ipb_user_info = $_ipb_SDK->member->info(); ipb_print_debug("ipb_ipb_login: IPB login found for: " . $ipb_user_info['name'] ."(login name)"); //return $info['name']; return $ipb_user_info; } else { // no active IPB user found ipb_print_debug("ipb_ipb_login: no IPB login found"); return FALSE; } I think that config.inc.php file is properly configured: CODE define('ipbwi_BOARD_PATH','/var/www/web23/html/forumpsp/'); define('ipbwi_ROOT_PATH','/modules/ipbwi/'); What can be a cause of this error ? I will appreciate a quick response, Thank You! Edit: I'm have Drupal 6.10 and IPB 2.3.6 Edit2: Okey, i'm solved problem This post has been edited by NoVy: Mar 9 2009, 0:01 |
|
|
|
May 11 2009, 20:49
Post
#4
|
|
|
Rookie Group: Active Member Posts: 1 Joined: 11-May 09 Member No.: 3 592 |
Unfortunately, after I configured the whole system i still get an error: CODE Fatal error: Call to a member function isLoggedIn() on a non-object in /var/www/web23/html/drupal/modules/ipb/ipb.module on line 176 The code which indicates the error is: CODE function ipb_ipb_login($_ipb_SDK) { if ($_ipb_SDK->member->isLoggedIn()) { $ipb_user_info = $_ipb_SDK->member->info(); ipb_print_debug("ipb_ipb_login: IPB login found for: " . $ipb_user_info['name'] ."(login name)"); //return $info['name']; return $ipb_user_info; } else { // no active IPB user found ipb_print_debug("ipb_ipb_login: no IPB login found"); return FALSE; } I think that config.inc.php file is properly configured: CODE define('ipbwi_BOARD_PATH','/var/www/web23/html/forumpsp/'); define('ipbwi_ROOT_PATH','/modules/ipbwi/'); What can be a cause of this error ? I will appreciate a quick response, Thank You! Edit: I'm have Drupal 6.10 and IPB 2.3.6 Edit2: Okey, i'm solved problem Hi, I have the same problem above. Could you tell me how you can fix it? Thanks so much! |
|
|
|
May 18 2009, 12:19
Post
#5
|
|
|
Rookie Group: Active Member Posts: 2 Joined: 18-May 09 Member No.: 3 626 |
Thanks for the module! Will you be updating it for IPB 3.0?
I've made a few edits that might help others. To change the URL for "Create New Account". Open ipb.module Look For: CODE if (variable_get('user_register', 1)) { $items[] = l(t('Create new account'), 'user/register', array('title' => t('Create a new user account.'))); Replace With: CODE if (variable_get('user_register', 1)) { $items[] = l(t('Create new account'), 'http://'. $_SERVER['HTTP_HOST'] .'/'.'forums/index.php?act=Reg', array('title' => t('Create a new user account.'))); You need to replace forums with your forum directory. To change the URL for when a user types in the wrong password. Open /modules/user/user.module Look For: CODE form_set_error('name', t('Sorry, unrecognized username or password. <a href="@password">Have you forgotten your password?</a>', array('@password' => url('user/password')))); Replace With: CODE form_set_error('name', t('Sorry, unrecognized username or password. <a href="@password">Have you forgotten your password?</a>', array('@password' => url('http://'. $_SERVER['HTTP_HOST'] .'/'.'forums/index.php?act=Reg&CODE=10')))); You need to replace forums with your forum directory. I know there's better ways to do this but my coding skills are pretty limited. Also make sure to restore the original user.module when you update Drupal then re-apply the edit. Anyone know how to change the "My Account" link to point to the members profile? This post has been edited by Ricky: May 18 2009, 12:20 |
|
|
|
May 26 2009, 13:33
Post
#6
|
|
|
Newbie ![]() Group: Member Posts: 18 Joined: 12-June 08 Member No.: 2 291 |
Thanks for your comments and great to hear you're making good use of the modules.
Yes, 0.9 is the latest version. And I might be porting to 3.0, but for now there is no need. When 3.0 is ready and IBPWI jumps on that bandwagon, I'll probably go to. As for the My Account question, I'm not sure what you are trying to achieve, but a simple solution might be to disable the default My Account menu item in Drupal and create a new one that would link to the IPB account page. |
|
|
|
May 27 2009, 17:52
Post
#7
|
|
|
Rookie Group: Active Member Posts: 2 Joined: 18-May 09 Member No.: 3 626 |
Yeah I disabled the link. I'm unsure how to add a link to the users IPB profile. Any chance you can post the code for it?
|
|
|
|
Aug 9 2009, 16:43
Post
#8
|
|
|
Rookie Group: Active Member Posts: 4 Joined: 9-August 09 Member No.: 3 927 |
hi, i'm having trouble setting up these two modules. The IPBWI module works fine on its own, but when i enable the ipb module, I get this error message
QUOTE Fatal error: require_once() [function.require]: Failed opening required '/usr/local/apache/htdocs/sites/all/modules/ipbwi/ipbwi.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/a2542509/public_html/sites/all/modules/ipbwi/ipbwi.module on line 44 is there anyway to fix this? I'm using drupal 6.13 and ipb 2.3.6 |
|
|
|
Sep 2 2009, 14:09
Post
#9
|
|
|
Rookie Group: Active Member Posts: 1 Joined: 2-September 09 Member No.: 4 008 |
Hi, when will a version for IPB 3 come out?
|
|
|
|
Today, 1:00
Post
#10
|
|
|
Rookie Group: Active Member Posts: 4 Joined: 2-February 10 Member No.: 4 683 |
Has anyone got this to work under ipbwi 3?
I've installed it and the system will logout an Invision Board session when a user leaves Drupal but it will not start an Invision Board session when logging in under Drupal, I get an error saying the login to IPB failed. Thanks, Darren |
|
|
|
![]() ![]() |
| Lo-Fi Version | Time is now: 9th February 2010 - 3:42 |
| Skin By: atsaunier Winxperts.net |