I like this idea as well, it will allow to a much greater flexibility when combined with a member or private content plugin.
Instead of just one category, allow more than one
[forum category=”xx” category=”yy”]
This feature could address a lot of current scenarios.
Hey,
this is already on my todo-list:
https://github.com/Asgaros/asgaros-forum/issues/47
Maybe I can add this in one of the next versions. π
Thread Starter
cksong
(@cksong)
Is this included in your latest version of 1.3.8?
If so, how can I invoke this feature?
If I can use short code to select a category, it will be very handy to use at multi language site. For example category 1 for English category 2 for Chinese etc.
Hello @cksong
Sadly its still on my todo-list but I plan to ship it with one of the next bigger updates. When it is done you will find information about this in the linked GitHub ticket – so it would be a good starting point to follow it.
Hello again, @cksong
I just began to implement this functionality so it will be definitely included in the upcoming v1.4 release. I cant give you an exact release date yet but I plan to release it in the next few weeks. π
Hello again, @cksong
I implemented it just now inside the dev-version, which can be downloaded here:
https://github.com/Asgaros/asgaros-forum/archive/master.zip
If you are still interested in this feature, it would be nice if you could test it a little bit before I release it to the public.
Here is a little guide on how to use it:
You can extend the shortcodes with different parameters to show specific content only. For example: [forum post="POSTID"], [forum topic="TOPICID"], [forum forum="FORUMID"] or [forum category="CATEGORYID"].
Thread Starter
cksong
(@cksong)
Thanks for your efforts.
With great interest, I immeidately tested “Asgaros Master”.
For test purpose, I created 4 categories; category1 and 2 for local language, category3 and 4 for English.
I tried to use category1 and 2 for local language forum, 3 and 4 for English forum.
So I applied [forum caetory=”1″] but it did not work. I thought category ID is not correct and check my SQL DB. I found correct ID is 53,54,55,56 and I applied it.
Then it works!. I also tried to apply multiple categories, ID 53 and 54 for local, ID 55 and 56 but could not succeed. Probably my syntax for short code is not correct. Will you please let me know how to apply multiple categories?
I prepared my test site for two languages and you can actually test it at my site.
I will try to send direct private message for login credential.
Hello @cksong
I will try to extend the user-interface of the admin-area a little bit to make the ID more obvious.
You are right, multiple categories are not possible yet via the shortcode. I will try to add this and let you know.
@cksong
I just made a few changes to the development-version of the forum. In the administration area you can now see the IDs of your forums and categories.
You can now also include multiple specific categories with the following shortcode:
[forum category="CATEGORYID1,CATEGORYID2"]
Just download the latest version from the following link:
https://github.com/Asgaros/asgaros-forum/archive/master.zip
I am happy to hear about your feedback! π
Thread Starter
cksong
(@cksong)
Thanks!
I am very happy to see the result of my test. It works perfectly.
Now I can apply to multi-language site and can say Asgaros is progressed to one-step higher level.
I want to show you actual working test site.
How can I send private mail to you?
My next question is how to update to new version without loosing current forum data.
1) Use auto-update when you release new version officially or
2) Overwirte old version
Hello @cksong
Thank you for your mail. I am happy that it is working fine!
My next question is how to update to new version without loosing current forum data.
I would suggest that you wait until I release it officially because I also changed some other things which needs a little bit more testing and fine-tuning. I plan to release it in the next 1-2 weeks. π
If you cant wait you can try to overwrite all files via an FTP client at your own risk. Dont delete any files and dont uninstall the old version of the plugin because it may delete your data as well.