Complete jFusion / phpBB 3 / Community Builder Thread

Support specific to the phpBB 3 plugin.
Forum rules
Please post all the bugs you encounter on our issue tracker.

Re: Complete jFusion / phpBB 3 / Community Builder Thread

Postby darksoul88 on Sun Oct 04, 2009 11:57 am

works with the core SEF?
User avatar
darksoul88
JFusion Newbie II
JFusion Newbie II
 
Posts: 11
Joined: Wed Jul 15, 2009 11:09 pm

profile button gone

Postby anniejackson on Sun Oct 04, 2009 9:31 pm

Umm...I applied this hack but something strange has happened. My profile button is gone. Wasn't this hack supposed to link the forum to CB? Such as by using the profile link to link to the CB profile...? Or did I misunderstand the purpose of this hack?
User avatar
anniejackson
JFusion Intermediate
JFusion Intermediate
 
Posts: 74
Joined: Wed Sep 09, 2009 11:59 am

CB/Jfusion/Phpbb3/Mehdi

Postby anniejackson on Mon Oct 05, 2009 12:34 pm

Nevermind, my fault! I was putting my own comments throughout the file (trying to learn php) and I accidentally commented out a parenthesis. :)

Works great, this is awesome!! Because I am using Mehdi bridge I just opened both your viewtopic and the inc_viewtopic files and changed the code that differed. If anyone is using Mehdi I've attached the "new" inc_viewtopic (though no promises that I haven't done some other changes as I mess around in my core files quite a lot in an effort to learn). I still maintain that it is best to not use Mehdi but I know some people (like me) are for various reasons so hopefully this helps you.
Attachments
inc_viewtopic.txt
(63.2 KiB) Downloaded 167 times
User avatar
anniejackson
JFusion Intermediate
JFusion Intermediate
 
Posts: 74
Joined: Wed Sep 09, 2009 11:59 am

phpbb PMs in CB profile?

Postby anniejackson on Mon Oct 12, 2009 7:50 pm

Does anyone know how to add a PM link (into phpbb3) to the CB profile page?
User avatar
anniejackson
JFusion Intermediate
JFusion Intermediate
 
Posts: 74
Joined: Wed Sep 09, 2009 11:59 am

Re: phpbb PMs in CB profile?

Postby anniejackson on Mon Nov 16, 2009 6:27 pm

anniejackson wrote:Does anyone know how to add a PM link (into phpbb3) to the CB profile page?


Hi *waves*

I finally figured out how to do this and it is embarrassingly easy. Simply create a new field in CB and make it a "field delimiter" then in the description, in the WYSIWYG view of the editor (not html view - at least html didn't work for me) write the a href code as you normally would on the html side and where you need the user id you just write "user_id" with square brackets around it (where those quotes are).
User avatar
anniejackson
JFusion Intermediate
JFusion Intermediate
 
Posts: 74
Joined: Wed Sep 09, 2009 11:59 am

Re: Complete jFusion / phpBB 3 / Community Builder Thread

Postby marcoo on Fri Nov 20, 2009 10:08 am

This thread is becoming soo long, and some discussion has become obsolete, so it's probably good to make a status update on the integration joomla/phpbb and community builder

Can someone answer this:
Is it possible right now (latest bridge version) when Joomla is master and phpbb slave:
-to show phpbb avatar in cb profile?
-to show phpbb recent messages in cb profile?
-to change password from within cb profile?
-to change password from within phpbb profile?
User avatar
marcoo
JFusion Novice
JFusion Novice
 
Posts: 39
Joined: Thu Aug 13, 2009 6:28 pm

Re: Complete jFusion / phpBB 3 / Community Builder Thread

Postby anniejackson on Fri Nov 27, 2009 7:53 pm

Is it possible right now (latest bridge version) when Joomla is master and phpbb slave:
-to show phpbb avatar in cb profile?
Yes, but actually it's the other way around, you can get phpbb to use CB's avatar.
-to show phpbb recent messages in cb profile?
Yes, instructions are in this thread however be aware that threads from private forums DO show.
-to change password from within cb profile?
Yes, because phpbb is the slave which means CB (Joomla) is in control of this.
-to change password from within phpbb profile?
I don't know, not in my configuration because I turned it off (I can't remember if that was part of Jfusion set up or not)

You can see all this at http://www.fashionstudentsonline.com - you have to be registered to see profiles though. Not all users have posts in the forum so go to the forum first and then click on profile to see how the forum postings look on the CB profile.

It's a lot of work to get them integrated though, fyi
User avatar
anniejackson
JFusion Intermediate
JFusion Intermediate
 
Posts: 74
Joined: Wed Sep 09, 2009 11:59 am

Re: Complete jFusion / phpBB 3 / Community Builder Thread

Postby yukos on Wed Dec 23, 2009 4:21 pm

hi

thanks for your post - it is very nice for me and I love it - but I build phpbb and joomla in 2 database seprately - Do you have any solution for me?

tks in advance
User avatar
yukos
JFusion Newbie II
JFusion Newbie II
 
Posts: 19
Joined: Sat Jan 03, 2009 6:35 am

Re: Complete jFusion / phpBB 3 / Community Builder Thread

Postby argentario84 on Tue Dec 29, 2009 5:33 pm

Will wrote:For those still interested in a hack that works fine without sh404SEF.

After having a look into the jfusion database tables I don't fully understand why a synchronisation is absolutely necessary, although it'd make life a few keystrokes easier.

Line 1116 in phpBB 3.0.5
Code: Select all
// Only show the link if not anonymous
   if ($mode != 'no_profile' && $user_id && $user_id != ANONYMOUS)
   {
      // Do not show the link if the user is already logged in but do not have u_viewprofile permissions (relevant for bots mostly).
      // For all others the link leads to a login page or the profile.
      if ($user->data['user_id'] != ANONYMOUS && !$auth->acl_get('u_viewprofile'))
      {
         $profile_url = '';
      }
      else
      {

   $result = mysql_query("SELECT * FROM jos_jfusion_users_plugin WHERE userid=".$user_id);
   $row = mysql_fetch_array($result);
      
         $profile_url = "index.php?option=com_comprofiler&task=userProfile&user=".$row['id']." \" target=\"_parent\"";

      }
   }


This compares the two IDs which are conveniently stored in the same table and retrieves the Joomla ID after sourcing the corresponding phpBB ID. A crude hack but easily removed come update season.


Hi!
first of all, sorry for my bad english...

I put this code in functions_content.php and work great in the site... but when i login in the control panel of phpBB, i've got these errors...
Code: Select all
[phpBB Debug] PHP Notice: in file /includes/functions_content.php on line 1127: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
[phpBB Debug] PHP Notice: in file /includes/functions_content.php on line 1127: mysql_query() [function.mysql-query]: A link to the server could not be established
[phpBB Debug] PHP Notice: in file /includes/functions_content.php on line 1128: mysql_fetch_array(): supplied argument is not a valid MySQL result resource
[phpBB Debug] PHP Notice: in file /includes/functions_content.php on line 1127: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
[phpBB Debug] PHP Notice: in file /includes/functions_content.php on line 1127: mysql_query() [function.mysql-query]: A link to the server could not be established
[phpBB Debug] PHP Notice: in file /includes/functions_content.php on line 1128: mysql_fetch_array(): supplied argument is not a valid MySQL result resource
[phpBB Debug] PHP Notice: in file /includes/functions_content.php on line 1127: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
[phpBB Debug] PHP Notice: in file /includes/functions_content.php on line 1127: mysql_query() [function.mysql-query]: A link to the server could not be established
[phpBB Debug] PHP Notice: in file /includes/functions_content.php on line 1128: mysql_fetch_array(): supplied argument is not a valid MySQL result resource
[phpBB Debug] PHP Notice: in file /includes/functions_content.php on line 1127: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
[phpBB Debug] PHP Notice: in file /includes/functions_content.php on line 1127: mysql_query() [function.mysql-query]: A link to the server could not be established
[phpBB Debug] PHP Notice: in file /includes/functions_content.php on line 1128: mysql_fetch_array(): supplied argument is not a valid MySQL result resource
[phpBB Debug] PHP Notice: in file /includes/functions_content.php on line 1127: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
[phpBB Debug] PHP Notice: in file /includes/functions_content.php on line 1127: mysql_query() [function.mysql-query]: A link to the server could not be established
[phpBB Debug] PHP Notice: in file /includes/functions_content.php on line 1128: mysql_fetch_array(): supplied argument is not a valid MySQL result resource


:? some help?
User avatar
argentario84
JFusion Newbie
JFusion Newbie
 
Posts: 1
Joined: Thu Mar 27, 2008 5:12 pm

Re: Complete jFusion / phpBB 3 / Community Builder Thread

Postby deathorglory on Sun Jan 03, 2010 7:04 am

I went through this entire thread post by post trying to figure out what to do. Id rather not hack anything (thats why I love jfusion so much) but I am trying to get my CB integrated with my phpbb3; That said, I saw a few posts that auto-integration would be out come 1.1.3. Its now 1.2.3 and was wondering if this is an option yet?

Thanks so much for this wonderful component. It really is worth $500,000 ;)

Your friend,
Adam
User avatar
deathorglory
JFusion Newbie II
JFusion Newbie II
 
Posts: 11
Joined: Sun Jan 18, 2009 3:51 am

PreviousNext

Return to phpBB 3

Who is online

Users browsing this forum: No registered users and 1 guest

cron