SMF Support > SMF 2.0.x Support

2 forums , 2 directories. Display both logins in third directory (landing page)

(1/1)

WebLair:
I am in the process of rebuilding  my current website from scratch, having used phpbb3, joomla and kunena i am opting for the SMF forum software.

The main idea for the site is to have 2 separate forums one for Group A and one for Group B with both logins available on a separate page in a directory in which neither reside. eg

Forum A: subdomain1.mydomain
Forum B: subdomain2.mydomain

Whilst displaying logins for both forums on the home/ landing page displayed at

mydomain

This is the main feature for my website, any help in incorporating this correctly the first time would be greatly appreciated.

Regards WebLair

Colin:
The easiest way to customize the login and have two logins on one page may be to use SSI. For more information on that please visit http://www.simplemachines.org/community/ssi_examples.php

WebLair:
That makes some sense and will definitely help.

So start my home page with
<?php require("SSI.php"); ?>
Login <?php ssi_login(); ?>
Although using this how would one distinguish the 2 separate lots of login information? That is new information to me and i will look into it some more.

I had a thought that maybe i could just include the file from its original location and place it in my divs, which would give the correct login if it would work, was just a thought.

<?php include("subdomainA/forum/Themes/default/Login.template.php"); ?>

<?php include("subdomainB/forum/Themes/default/Login.template.php"); ?>

I doubt that is even the right file as i haven't used SMF before, or if it the idea would even work. Do you think something along those lines could work? and if it could do you know the location of the files i would require?

Navigation

[0] Message Index

Go to full version