Kunena 7.0.4 Released

The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.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 7.0

This is for users to help other users, to discuss topics that are related to forum administration in general or problems in running Joomla. This is not the place to ask for Joomla support. If you want assistance with Joomla please ask at forum.joomla.org

Solved SQL query to populate user_topics table?

More
12 years 3 months ago #153003 by harmlessdrudge
Anybody got a SQL query for this? Or is there a built-in function I haven't come across yet?

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

More
12 years 3 months ago #153128 by jimrowland
Well, an SQL query to populate a table is easy... but not without knowing what it is you want to populate it with. Why would you want to inject anything into this table through a query, rather than through the Kunena interface?

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

More
12 years 3 months ago #153136 by xillibit
Kunena has API in directory /libraries/kunena so you don't know how to make the query but you need to know how to use the API

I don't provide support by PM, because this can be useful for someone else.

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

More
12 years 3 months ago - 12 years 3 months ago #153163 by harmlessdrudge
I have loaded messages and topics into tables from another forum and needed to reconstruct the contents of this table, which I have now done.

This blog post gave a useful SQL query for another necessary update, similar to the one I asked about (to save time and as my SQL knowhow is very rusty and I'm not that interested in getting to seriously to grips with it again for a one-shot task).

> "An SQL query is easy"

I wouldn't have asked if it was quite as easy that!
Last edit: 12 years 3 months ago by harmlessdrudge.

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

More
12 years 3 months ago #153165 by jimrowland
Sorry. My "easy" comment was not meant to be snarky. I just meant that (for some of us) writing an SQL insert query is easy, but even the best of us can't write a query without knowing what is being inserted.

If you had provided the information that was in your follow-up post into your original post, you probably would have had a more complete answer, much quicker.

Glad you got it solved.

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

More
12 years 3 months ago #153169 by harmlessdrudge
Sorry I wasn't clearer; I thought populate the table given a set of attachments and message nrs was enough. :unsure: No worries.

I used Excel to create the records for SQL to insert from hashes and filesizes etc. Worked fine apart from one thing I've yet to resolve.

Somewhere I need to update counters for nrs of topics (and attachments?). I get a SQL insert error when I try to add a new topic--now that I've got all my old data (users, topics, messages, incl. text and attachments) loaded.

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

Time to create page: 0.274 seconds