Possible to embed directly to specific category instead of category list?
I was hoping to embed different Vanilla categories on their corresponding web pages. Ideally I would be able to embed straight to a defined category.
Has anyone successfully embed to a specific category instead of Vanilla's category list page?
Also curious about the blog comments feature. When using Vanilla as blog comments what defines which category or which post the comments will be linked to. I place the embed blog comment code in a page but not sure what controls what it links to (where the comment will show up).
Using Vanilla 2.1.6
Best Answers
-
hgtonight MVP
You need to put the right URL and a unique content identifier for each page you want to have comments. You can also specify which category the discussion should be created in and/or the discussion id of an existing discussion to append the comments to that discussion.
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
5 -
Bleistivt Moderator
You don't seem to have a category with the ID 3 here: http://fordevpurp.comule.com/vanilla/
You can see the ID in the URL when you edit a category.
My themes: pure | minusbaseline - My plugins: CSSedit | HTMLedit | InfiniteScroll | BirthdayModule | [all] - PM me about customizations
VanillaSkins.com - Plugins, Themes and Graphics for Vanillaforums OS
5
Answers
If you are only going to serve your forum embedded, you can change the DefaultController in the Routes Section of your dahboard which is the homepage of your forum. just change it to the route of the category, e.g.
/categories/general
.For embedded comments read:
http://blog.vanillaforums.com/news/how-to-use-the-vanilla-commenting-system-with-wordpress/
My themes: pure | minusbaseline - My plugins: CSSedit | HTMLedit | InfiniteScroll | BirthdayModule | [all] - PM me about customizations
VanillaSkins.com - Plugins, Themes and Graphics for Vanillaforums OS
Still trying to grasp how Routes would work for this situation. Yes I can change the DefaultController to a specific category. But that will only work for one page/category. What I was trying to get to is something like:
So as you skip webpages the corresponding forum category loads for that page.
Should have mentioned I'm not using WP. using the universal code for my site... reading the WP plugin description is says
So it's possible with the plugin, but not using plugin.
I thought maybe by editing the universal embed code could get this effect.
Embed Blog Comment feature:
There is an option to specify vanilla_discussion_id and vanilla_category_id. I just haven't figured out how to make it click. Tried putting in for CategoryID = 3 but still nothing.
==
== Sorry for above code... but code doesn't want to format even though I put it in a CODE style/paragraph
You need to put the right URL and a unique content identifier for each page you want to have comments. You can also specify which category the discussion should be created in and/or the discussion id of an existing discussion to append the comments to that discussion.
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
My mistake was not to put both Category ID AND Discussion ID. Having just one doesn't work, makes sense now.
You don't seem to have a category with the ID 3 here: http://fordevpurp.comule.com/vanilla/
You can see the ID in the URL when you edit a category.
My themes: pure | minusbaseline - My plugins: CSSedit | HTMLedit | InfiniteScroll | BirthdayModule | [all] - PM me about customizations
VanillaSkins.com - Plugins, Themes and Graphics for Vanillaforums OS