I have got this working with my two domains:
www.rifeforum.com and
www.rifewiki.org
Basically I had to setup both domains to point to the same place on the server. I have the forum in the /forum and the wiki in the /w directories.
I now tell those users who want to use a pseudonym to create a new account especially for the Wiki. Those accounts go into a special RifeWiki usergroup and have set permissions to only allow to view posts on my forum, yet have full user rights on the wiki.
Forum members visiting the Wiki under
www.rifeforum.com/wiki can access the wiki with their standard username (e.g. "John Smith"). To use the pseudonym, they need to first login under
www.rifewiki.org/forum first and then switch to the Wiki at
www.rifewiki.org/wiki. it is now possible to switch usernames by simply switching the domain used.
You can read more details on the
Main and
Help pages of my Wiki.
I do have one problem, which should be easy to solve, yet would appreciate any ideas as to how best to implement it.
As I also have
vBadvanced CMPS v3.1.0 installed on my forum, people why type in
www.rifeforum.com or
www.rifewiki.org will both land on the CMPS page of my forum.
I need some php code that will recognise when someone has called the rifewiki.org domain and automatically redirect them to
www.rifewiki.org/wiki while those who used
www.rifeforum.com are left where they are in the CMPS. Calls to
www.rifewiki.org/forum need to be left unchanged.
Is anyone here up to the task and can post the code here?