Kunena 6.4.7 Released

The Kunena team has announce the arrival of Kunena 6.4.7[K 6.4.7] in stable which is now available for download as a native Joomla extension for J! 5.0.x/5.1.x/5.2.x/5.3.x/5.4.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 6.4
Important note: Go to the Kunena Dashboard after an upgrade so that the Kunena database tables are also updated. This is particularly necessary for major version jumps so that the table changes are adapted.

This category contains miscellaneous, uncategorised third-party extensions (e.g. JomSocial, Community Builder, etc.) relating to older versions of Kunena that are no longer supported.

This category may also contain a few topics relating to K 1.6 that may have been moved here possibly by mistake.

The topics in this category are for historical interest only. Owing to the structural differences between K 1.6 and K 1.7, the ideas in these topics may not work with later versions and, for that reason, the topics are locked.

Question CB & Kunena updated, where are the signatures now?

More
16 years 5 months ago #1 by itgl72
To my fellow users of Kunena with Community Builder.

I'm trying to get a better understanding of the integration between CB 1.2.1 and Kunena 1.0.10. I have a message posted here at the joomlapolis site and some folks there have been helpful but since I don't have all the answers yet there and this has to do with Kunena too I wanted to query members here as well.

I'm a bit confused despite having good integration between CB and K, something I have waited for to happen for a long time now, and am grateful for the efforts, I still have an issue with old signatures not being available.

I updated a copy of my live site from CB 1.1 to 1.2.1 and Fireboard 1.04 directly to Kunena 1.0.10 and all WORKS correctly now :)

Except, the signature files that were once in CB are no longer available to me. They seem to be stored NOW (post upgrade) in KUNENA's jos_fb_users table where before I had them stored in jos_comprofiler's table.

I can add a signature via the new profile forum tab, and it shows up in the forum, but the old signatures from before did not make their way over via upgrade.

IS THIS BY DESIGN? ARE SIGNATURES SUPPOSED TO BE IN KUNENA'S DATABASE NOW AND NOT IN CB'S DATABASE?

If so, is there some way, maybe through SQL script through my phpmyadmin I can make everyone's signature info get copied over to where it is supposed to be now?

Thanks for reading.

Please Log in or Create an account to join the conversation.

More
16 years 5 months ago #2 by itgl72
Hmmm, it appears I may have myself an isolated situation. I guess I should make plans to inform my users before the upgrade takes place to take note of what their signatures are so they can re-enter them when the new upgraded site is launched.

Would have liked this migration to bring the sig data over but at least after this one snafu everything will work nicely.

Please Log in or Create an account to join the conversation.

More
16 years 5 months ago #3 by Matias
Something like this:

UPDATE jos_fb_users AS u, jos_comprofiler as c SET u.signature=c.[SIGNATURE_FIELD] WHERE u.id = c.userid;

Please Log in or Create an account to join the conversation.

More
16 years 5 months ago #4 by itgl72
Thank you, I have tried this. When I enter the code you entered above I get:

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '[SIGNATURE_FIELD] WHERE u.id = c.userid' at line 1

I then tried:

UPDATE jos_fb_users AS u, jos_comprofiler as c SET u.signature=c.fbsignature WHERE u.id = c.userid;

I thought maybe I should change [SIGNATURE_FIELD] to fbsignature but when I did that I got:

#1054 - Unknown column 'u.id' in 'where clause'

Is there a typo somewhere in this SQL? Sorry I'm not the sharpest SQL coder.

Please Log in or Create an account to join the conversation.

More
16 years 5 months ago - 16 years 5 months ago #5 by sozzled
G'day itgl72 :)

I know that you've struggled patiently with this problem for the past couple of months, but there's light at the end of the tunnel! :woohoo:

First of all, the answer to your question "Where are the signatures now?" The changes in Kunena 1.0.10 and Community Builder 1.2.1 have not changed where Kunena obtains the signature information. The signature information, used in Kunena's forums, has always been obtained from the Kunena user profile.

What has changed is that users can now update the Kunena forum signatures directly from the Community Builder user profile!

However, if you have just installed K 1.0.10 with CB 1.2.1, and you have set Kunena Configuration » Integration » Profile Settings » Profile = Community Builder, you may be wondering why your Community Builder users' signatures are not appearing in your forum! :huh: I think this is at the heart of itgl72's problem and what Matias was trying to suggest to overcome the problem.

Installing K 1.0.10 (or integrating it with CB 1.2.1) does not initialise the signature information.

Before K 1.0.10, Community Builder didn't work with Kunena w.r.t. the user's ability to update signature information (among other things). Matias offered a workaround to synch the information between CB's user table and the Kunena user table - see Signature, ordering and viewtype migration script for CB . The problem with this workaround was that the SQL procedure needed to be repeatedly run at regular intervals.

With K 1.0.10 the need for this "synchronisation" has disappeared ... except for the purposes of initialising the Kunena signatures from the CB user profiles. This is the core of your problem. B)

Therefore, in order to initialise your Kunena data with existing Community Builder information, you will need to run this SQL procedure once:
Code:
UPDATE jos_fb_users AS a, jos_comprofiler AS b SET a.ordering = b.fbordering, a.signature = b.fbsignature WHERE a.userid = b.user_id
The above procedure assumes that your Joomla table prefix is "jos_".

The reason that your attempt failed was an error in your WHERE clause.
Last edit: 16 years 5 months ago by sozzled.

Please Log in or Create an account to join the conversation.

More
16 years 5 months ago #6 by itgl72

Code:
UPDATE
jos_fb_users AS a,
jos_comprofiler AS b
SET
a.ordering = b.fbordering,
a.signature = b.fbsignature
WHERE a.userid = b.user_id


THANK YOU! Thats how you lay down some community support. Karma coming your way, this fixed my issue. I can put the hammer back in the toolbox now.


:)

Please Log in or Create an account to join the conversation.

More
16 years 5 months ago #7 by sozzled

Please Log in or Create an account to join the conversation.

More
16 years 3 months ago #8 by stringo0
Helped me out as well - Thanks!

I recommend stickying this or putting this info somewhere as this is going to be helpful to everyone migrating from fb who used the cb plugin.

God bless

Please Log in or Create an account to join the conversation.

More
16 years 1 month ago #9 by paulo.nesso
WoW! Tks for that! Just solved my problem!

It was killing my mind! :laugh:

Please Log in or Create an account to join the conversation.

More
15 years 10 months ago #10 by LFC4LIFE
hey folks,

I've tried running the script so I my users can add sigs but I get the following error

#1054 - Unknown column 'b.fbordering' in 'field list'

I'm running CB 1.2.1 and Kunena 1.5.7

Please Log in or Create an account to join the conversation.

Time to create page: 0.286 seconds