Sorry for posting all werid sort of questions but my requirement is also a little weird. I am building a forum using discourse that talks about Indian stock market which has over 3500 stocks. I was recommended that I can use tags to identify each stocks. Now the problem is that if I have to 3500 stocks manually its a really pain, was just wondering if I have the option of bulk upload or something to hack around with? Any help is highly appreciated.
Tags are created dynamically, there should be no need to “pre-upload” them. Once a tag is used on a topic, it will appear in the tag dropdown for other topics, unless restricted via category settings. You can define what trust-level users can create tags, and what trust-level users can use tags via site settings.
well my needs are different, like I said I as a moderator would like to control the list of tags and pre-populate them when user wants to query about a specific stock.
Because what worse can happen is people use two different tags to talk about the same stock. which is something I would like to avoid. Please advise @jomaxro
You’ve gone beyond my knowledge, unfortunately . Hopefully someone else can assist - this is a very specific use case you have.
no problem brother. thanks a lot
If you want to create a certain tag list, you simply need to create a topic in a staff/admin area (think similar to Site Assets) and tag it with all the tags you want to accept.
min trust to create tag to 4 (so no one else can create them unless you promote them to TL 4).
And since you are talking 3500 tags, I’d suggest multiple topics in a staff/admin category. So you can split them up in some logical way.
thanks a lot @cpradio. really appreciate it. will there be a performance impact of having so many tags? i currently have a linode cloud with 2gb memory and 40 gb hdd. dual core.
Not sure. I can’t say I’ve ever seen a forum with 3500 tags before.
ok thanks for the information
@cpradio : quick question, if I want to add multiple tags in a single topic then should I just separate them with commas?
Do you mean via a PUT request?, I think you send an array of tags.
The best way is to open the dev console and watch the network tag as you add multiple tags to a topic.
unfortunately i see the max limit as 5 tags
That is a site setting.
Ahh I see, is there a performance impact if i add 300 tags per topic?
In a staff category? Doubtful, just realize you’d really want to change it to a lower limit afterwards, which will make it impossible to edit those staff topics again without removing a good majority of the tags.
yes for sure. will reduce. Will create 10 topics having 300 ish tags each.