Using CMS data on another website

4 posts by 2 authors in: Forums > CMS Builder
Last Post: February 16, 2016   (RSS)

By superhappybunnycat - February 14, 2016

I realise what I'm asking isn't really possible, however hoping that there is some way it is possible or that someone might have some suggestions on something that could work.

I've built a membership website using CMSB + the membership plugin. When users login the header bar changes and they can access the member only content, one link of which is the forum which is hosted externally by forums.net.

I've customised the header and footer of the forum so it matches the site. The idea was that it would seem like a seamless experience when clicking between the website and the forum.

However as the forum is hosted externally "if current user" codes do not work which means I cannot dynamically change the header info depending on if the user has logged in or not. I could have just put in the logged in links permanently however there are 2 levels of membership. One has access to 2 links, and the other the full 4 links so I didn't really want to have the extra 2 links show for the lower level memberships (even though I know I can block them from accessing the actual content if they click on it)

By gregThomas - February 15, 2016

Hi superhappybunnycat, 

I guess that when the user redirects to the forum page, they have to login to a separate account to access the forum admin system? Are you able to edit the code for the forum? The only way I can think to do this would be to edit the forum code so that it displays the links when the users log into the forum admin system. For example if someone logs into the CMS with the account test@example.com and they see four links, then you could set up the forum so that when same test@example.com user logs into the forum they see those same 4 links. 

Cheers,

Greg

Greg Thomas







PHP Programmer - interactivetools.com

By gregThomas - February 16, 2016

Hi, 

I'd suggest contacting the forums.net support and seeing if they have a system that would allow you to make particular menu content appear for particular users, and if there is a way you can add the missing menu items as well. 

Is this site live yet? We have a forum plugin for CMS Builder which we use internally, and are hoping to release soon. An alternative would be to use that instead of the forums.net plugin. If you contact consulting@interactivetools.com, we give you more details on implementing it. 

Let me know if you have any questions.

Cheers,

Greg

Greg Thomas







PHP Programmer - interactivetools.com