Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Embedding Forum
jes269
New
I just installed a forum via the embed method, and it looks like all the links point to the actual install directory rather than the directory in which I have my dynamic page containing the embed. (i.e. I have vanilla installed at /vanilla/ and have the forum embedded at /community/index.php.) Doesn't this cause problems if people were to copy a URL from a link in my forum? There's no redirect that happens if someone visits the page at /vanilla/.
0
Comments
In the advanced embed settings you can toggle "Force the forum to only be accessible through this url".
My themes: pure | minusbaseline - My plugins: CSSedit | HTMLedit | InfiniteScroll | BirthdayModule | [all] - PM me about customizations
VanillaSkins.com - Plugins, Themes and Graphics for Vanillaforums OS
Hmm. How exactly does that work? It doesn't seem to be redirecting well. e.g. http://comparewear.com/vanilla/#/discussion/3/welcome-to-the-community-at-comparewear-com
It works perfectly for me, I guess your link is wrong. Try copying or opening a link an your site in a new tab, it should redirect.
Only the embedded version creates urls with hashes.
My themes: pure | minusbaseline - My plugins: CSSedit | HTMLedit | InfiniteScroll | BirthdayModule | [all] - PM me about customizations
VanillaSkins.com - Plugins, Themes and Graphics for Vanillaforums OS
Does it redirect to the discussion or to the main page?
The one you posted redirects to the main page because it is a link to the main page:
http://comparewear.com/vanilla/#/discussion/3/welcome-to-the-community-at-comparewear-com
Non-embed vanilla has no concept of
#
-urls. This is not a url created by vanilla. Internal links come without the hash and they are correctly redirect to the embedded version with a hash.This is what I get when I copy a link:
http://comparewear.com/vanilla/discussion/3/welcome-to-the-community-at-comparewear-com
And it redirects to:
http://comparewear.com/community/#/discussion/3/welcome-to-the-community-at-comparewear-com
Which should be what you want.
My themes: pure | minusbaseline - My plugins: CSSedit | HTMLedit | InfiniteScroll | BirthdayModule | [all] - PM me about customizations
VanillaSkins.com - Plugins, Themes and Graphics for Vanillaforums OS
Oh, interesting. It wasn't redirecting properly for me before. It was just going to /community/. I wonder if there is some weird caching going on that I am not familiar with. I'm thinking I may want to just not use embedding, as it looks like there are some things that may cause problems down the road. If this is the embed code I am using, is there any way to do something like this, with the dynamic PHP, by directly editing the theme?
Edit: I can't figure out how to post code. The "code" option above does not really do anything.