- Posts: 35
- Thank you received: 2
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?
- harmlessdrudge
-
Topic Author
- Offline
- Junior Member
-
Less
More
12 years 3 months ago #153003
by harmlessdrudge
SQL query to populate user_topics table? was created 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.
- jimrowland
-
- Offline
- Senior Member
-
Less
More
- Posts: 78
- Thank you received: 5
12 years 3 months ago #153128
by jimrowland
Replied by jimrowland on topic SQL query to populate user_topics table?
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.
12 years 3 months ago #153136
by xillibit
I don't provide support by PM, because this can be useful for someone else.
Replied by xillibit on topic SQL query to populate user_topics table?
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.
- harmlessdrudge
-
Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 35
- Thank you received: 2
12 years 3 months ago - 12 years 3 months ago #153163
by harmlessdrudge
Replied by harmlessdrudge on topic SQL query to populate user_topics table?
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!
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.
- jimrowland
-
- Offline
- Senior Member
-
Less
More
- Posts: 78
- Thank you received: 5
12 years 3 months ago #153165
by jimrowland
Replied by jimrowland on topic SQL query to populate user_topics table?
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.
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.
- harmlessdrudge
-
Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 35
- Thank you received: 2
12 years 3 months ago #153169
by harmlessdrudge
Replied by harmlessdrudge on topic SQL query to populate user_topics table?
Sorry I wasn't clearer; I thought populate the table given a set of attachments and message nrs was enough.
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.
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