• Forum
  • Doc
  • Screenshots
  • Download
  • Donate
  • Contributors
  • Contact
  • Follow @phpfreechat
  • DEMO
  • Board index ‹ Version 1.x branch ‹ Contributions (v1.x)
  • Change font size
  • FAQ
  • Register
  • Login

Invision Power Board (IPB) Integration

Post a bug fix, a new feature, a theme ...

Moderators: OldWolf, re*s.t.a.r.s.*2

Post a reply
26 posts • Page 2 of 2 • 1, 2

Postby vicki » Sun Mar 09, 2008 4:00 am

Line #110 is:

$params["isadmin"] = $isadmin;
vicki
New member
 
Posts: 7
Joined: Sun Mar 09, 2008 3:17 am
Top

Postby vicki » Sun Mar 09, 2008 5:21 am

OK OK... So I worked through everything... BUT... It is still not pulling my member data from IBP. Ever user comes up as Guest (I changed egoist to guest in the above script). So it is not authenticating.
vicki
New member
 
Posts: 7
Joined: Sun Mar 09, 2008 3:17 am
Top

Postby vicki » Sun Mar 09, 2008 6:08 am

I am now getting:

Query failed: Unknown column 'field_10' in 'field list'

I can only assume it relates to this section:

if ($ipbMemberId)
{
//----------------------------------------------------------
//Use the member Id to read the 10th custom profile field
//(will vary with installation)
//On our site, this contains the preferred Nick
$query = "select field_10 from ".$tblPrefix."pfields_content where member_id = ";
$query .= $ipbMemberId ;

$result = mysql_query($query) or die('Query failed: ' . mysql_error());
$row = mysql_fetch_array($result, MYSQL_NUM);
mysql_free_result($result);
$ipbChatNick= $row[0];
vicki
New member
 
Posts: 7
Joined: Sun Mar 09, 2008 3:17 am
Top

Postby HeroicLife » Sun Mar 09, 2008 8:47 am

HeroicLife wrote:Note that we added a custom profile field to allow members to customize their nick. Remove that code if you don't do that.

Just comment out that section.
HeroicLife
Member
 
Posts: 17
Joined: Tue Feb 21, 2006 8:55 pm
Top

Postby vicki » Sun Mar 09, 2008 4:31 pm

I actually did that and then I got more errors. I had to take out the IP portion because that failed. Then I took out this portion. Then I got more error messages. It was something about line 66 in the chat.php. Could you possibly email me your two completed files and then I will just edit them with my server info? vickicali@yahoo.com
vicki
New member
 
Posts: 7
Joined: Sun Mar 09, 2008 3:17 am
Top

Postby Smitty » Wed Apr 02, 2008 8:51 pm

HeroicLife wrote:This is the top PHP section from chat.php, or the chat page (formerly index.php). Index.php should point to http://FORUMURL/index.php?automodule=chat

I'm a little confused on that part. I'm using IPB 2.3.4, and I don't see a chat.php anywhere.


Which particular folders are these codes suppose to go in?
Smitty
Member
 
Posts: 10
Joined: Wed Apr 02, 2008 3:57 pm
Top

Postby HeroicLife » Wed Apr 02, 2008 9:08 pm

Smitty wrote:
HeroicLife wrote:This is the top PHP section from chat.php, or the chat page (formerly index.php). Index.php should point to http://FORUMURL/index.php?automodule=chat

I'm a little confused on that part. I'm using IPB 2.3.4, and I don't see a chat.php anywhere.


Which particular folders are these codes suppose to go in?

We renamed index.php to chat.php. Index.php redirects to to http://FORUMURL/index.php?automodule=chat

This is in the phpfreechat base folder.
HeroicLife
Member
 
Posts: 17
Joined: Tue Feb 21, 2006 8:55 pm
Top

Postby vicki » Wed Apr 02, 2008 9:16 pm

I'm still not able to get this working with authentication. Everyone logs in as guest and everyone has admin. Does anyone else have this working correctly that I might be able to talk to?
vicki
New member
 
Posts: 7
Joined: Sun Mar 09, 2008 3:17 am
Top

Postby Smitty » Wed Apr 02, 2008 9:46 pm

it keeps redirecting me from our forum to: http://www.objectivismonline.net/chat/c ... 393665601f

Should I edit those links out of mod_chat.php, and replace it with our chat link?
Smitty
Member
 
Posts: 10
Joined: Wed Apr 02, 2008 3:57 pm
Top

Postby HeroicLife » Thu Apr 03, 2008 2:15 am

Yes, that would be a good idea.
HeroicLife
Member
 
Posts: 17
Joined: Tue Feb 21, 2006 8:55 pm
Top

Postby Smitty » Thu Apr 03, 2008 2:41 am

lol, I edited it, and then got a blank page, which tells me that this script in this thread is not compatable with the newest version of IPB 2.3.4. This code was posted Jan 2007.


I can send the whole 2.3.4 package deal to someone, if they want to investigate the code.
Last edited by Smitty on Thu Apr 03, 2008 2:42 am, edited 1 time in total.
Smitty
Member
 
Posts: 10
Joined: Wed Apr 02, 2008 3:57 pm
Top

Previous

Post a reply
26 posts • Page 2 of 2 • 1, 2

Return to Contributions (v1.x)

Who is online

Users browsing this forum: No registered users and 3 guests

  • Board index
  • The team • Delete all board cookies • All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
Sign in
Wrong credentials
Sign up I forgot my password
.
jeu-gratuit.net | more partners
Fork me on GitHub