| Author |
Moved topics
|
Migrated From Jforum.net
Ranch Hand
Joined: Apr 22, 2012
Posts: 17424
|
|
When i move the topic then in forum stay the "shadow" of moved topic. What i need to do for delete this "shadow"? [originally posted on jforum.net by Rotoz]
|
 |
Migrated From Jforum.net
Ranch Hand
Joined: Apr 22, 2012
Posts: 17424
|
|
The easier way is to change the sql query. Open the file WEB-INF/config/database/generic/generic_queries.sql (if you're using MySQL), search for "TopicModel.selectAllByForumByLimit" and change it to
Please note that the "\" is not optional, and there should be no blank space after it.
Rafael
[originally posted on jforum.net by Rafael Steil]
|
 |
Migrated From Jforum.net
Ranch Hand
Joined: Apr 22, 2012
Posts: 17424
|
|
I'm not sure to understand, what does your modification?
I don't really get the logic behind the move topic hint: The seem to be there forever? they apparently can't be deleted (checkbox is disabled). If the topic itself is deleted the link stay anyway.
[originally posted on jforum.net by pala]
|
 |
Migrated From Jforum.net
Ranch Hand
Joined: Apr 22, 2012
Posts: 17424
|
|
Apparently, links are being deleted when the topic is deleted, it is just a cache bug. [originally posted on jforum.net by pala]
|
 |
Migrated From Jforum.net
Ranch Hand
Joined: Apr 22, 2012
Posts: 17424
|
|
Yes, the hint is there "forever". I'll make this optional in JForum3. What the modified query does is to not bring moved topics as well.
Rafael [originally posted on jforum.net by Rafael Steil]
|
 |
 |
|
|
subject: Moved topics
|
|
|