Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Topic started by: Sahil_kr on October 04, 2010, 10:28:25 AM

Title: Two Diff Forums in one Website
Post by: Sahil_kr on October 04, 2010, 10:28:25 AM
How to create two way forums in one website,say one big circle of example.com and another big circle of XYZ.com should be Displayed as soon as someone visits the Site.
Title: Re: Two Diff Forums in one Website
Post by: Syrion on October 04, 2010, 10:45:37 AM
I'm not sure if I got you, but I'd suggest to give each forum it's own directory in your site public_html/forum1 and public_html/forum2 for example and park domains on top of those directories.
Title: Re: Two Diff Forums in one Website
Post by: Hj Ahmad Rasyid Hj Ismail on October 04, 2010, 11:16:02 AM
You can try subforum mod. Follow my signature under that mod name. Subforum mod is basically one forum but manipulating the categories and domains so that many forums can be created and can be opened from different domains/subdomains from one forum (and one time mods) installation.
Title: Re: Two Diff Forums in one Website
Post by: Sahil_kr on October 04, 2010, 02:07:01 PM
Quote from: ahrasis on October 04, 2010, 11:16:02 AM
You can try subforum mod. Follow my signature under that mod name. Subforum mod is basically one forum but manipulating the categories and domains so that many forums can be created and can be opened from different domains/subdomains from one forum (and one time mods) installation.
The tool you mentioned is very nice dude,thanks for the info about that tool,but please go through my thread once again,this is not what i want :-[ :-[
Title: Re: Two Diff Forums in one Website
Post by: Kindred on October 04, 2010, 02:40:10 PM
then you need to be more clear in what you are actually asking for... because, to my interpretation, ahrasis answered your query with exactly the right script.

I re-read your original post and still have no idea what you mean, if not the sub-forum mod...
Title: Re: Two Diff Forums in one Website
Post by: Sahil_kr on October 04, 2010, 02:54:29 PM
Quote from: Kindred on October 04, 2010, 02:40:10 PM
then you need to be more clear in what you are actually asking for... because, to my interpretation, ahrasis answered your query with exactly the right script.

I re-read your original post and still have no idea what you mean, if not the sub-forum mod...
As simple is that i want that whenever i enter the web address of my site,there should be two Forums instead of one and that should be stylish in Design,two circles,one circle should be xyz.com and another should be abc.com.
Title: Re: Two Diff Forums in one Website
Post by: Kindred on October 04, 2010, 02:59:16 PM
see.... you are using the term "circle" to mean something....   but we have no idea what you mean.

You want two forums on the same page? (can't do it)
you want one forum for each domain? (then set up two forums... one for each domain)
you want one forum that displays in both domains? (possible, but problematic)
you want something else?   Then be more specific, because repeating the same words again does not make it any more clear than it was in the first place.
Title: Re: Two Diff Forums in one Website
Post by: Sahil_kr on October 04, 2010, 03:06:34 PM
Quote from: Kindred on October 04, 2010, 02:59:16 PM
see.... you are using the term "circle" to mean something....   but we have no idea what you mean.

You want two forums on the same page? (can't do it)
I have seen many pages,two forums on One Page,i didn't Notice the address though,don't close the thread,i will prove it.
Title: Re: Two Diff Forums in one Website
Post by: Kindred on October 04, 2010, 05:05:15 PM
you can "prove" whatever you like.... the way you describe it, it can not be done.

Of course, your description may be lacking and thus leading to out confusion...
Title: Re: Two Diff Forums in one Website
Post by: IceXaos on October 04, 2010, 05:08:13 PM
What you seem to be asking for is styled iframes on a page linking to two separate pages, from what I understand.

/e Maybe not iframes, but divs would be much easier if it's what I'm thinkin', though I could be completely wrong.  I just don't see the point of this, or why you'd want it.
Title: Re: Two Diff Forums in one Website
Post by: Kindred on October 04, 2010, 05:10:38 PM
iframes are bad....   they mess with the sessions that SMF needs to use.

divs wouldn't work because you would get collisions between the variables.
Title: Re: Two Diff Forums in one Website
Post by: IceXaos on October 04, 2010, 05:19:25 PM
Quote from: Kindred on October 04, 2010, 05:10:38 PM
iframes are bad....   they mess with the sessions that SMF needs to use.

divs wouldn't work because you would get collisions between the variables.
True .. Guess I didn't think that one through.  Idk, I've never attempted to put two forums on a single page, I don't see a reason for it?
Title: Re: Two Diff Forums in one Website
Post by: Hj Ahmad Rasyid Hj Ismail on October 04, 2010, 05:20:42 PM
I think I can only guess what Sahil wants. It is basically not two forums on one website. What he means, maybe, is a page that uses a moo tools or something alike that have the "circling" effect. The links are shown in images and is circling around so that a visitor can click any of them to go to the respective site / page.

Well, if this what he wants, it is possible but is not really having two forums in one site/page. That two forums might also be a disguise as the Subforum Mod can do (who knows). IMHO this can be achieved by getting that moo tool whatever and create a page for that. While for the forums, create one with Subforum Mod or create two or more if he likes to manage various forums at a time.

Is this what you mean Sahil? This is not SMF 2.0 Support question really.
Title: Re: Two Diff Forums in one Website
Post by: Sahil_kr on October 05, 2010, 02:06:58 AM
Quote from: IceXaos on October 04, 2010, 05:08:13 PM
What you seem to be asking for is styled iframes on a page linking to two separate pages, from what I understand.

/e Maybe not iframes, but divs would be much easier if it's what I'm thinkin', though I could be completely wrong.  I just don't see the point of this, or why you'd want it.
Can you please show the sample of Iframe and Divs?
Title: Re: Two Diff Forums in one Website
Post by: IceXaos on October 05, 2010, 05:08:00 AM
Quote from: Sahil_kr on October 05, 2010, 02:06:58 AM
Quote from: IceXaos on October 04, 2010, 05:08:13 PM
What you seem to be asking for is styled iframes on a page linking to two separate pages, from what I understand.

/e Maybe not iframes, but divs would be much easier if it's what I'm thinkin', though I could be completely wrong.  I just don't see the point of this, or why you'd want it.
Can you please show the sample of Iframe and Divs?
Kindred was correct on the conflictions it would have, and I didn't think that through.  Could you show us an example of what you're trying to achieve?
Title: Re: Two Diff Forums in one Website
Post by: Hj Ahmad Rasyid Hj Ismail on October 05, 2010, 05:12:32 AM
Yeah. A sample site would be nice and it doesn't have to be your site. It will be easier for us to know what you really want to achieve.
Title: Re: Two Diff Forums in one Website
Post by: Sahil_kr on October 05, 2010, 05:36:02 AM
Quote from: IceXaos on October 05, 2010, 05:08:00 AM
Quote from: Sahil_kr on October 05, 2010, 02:06:58 AM
Quote from: IceXaos on October 04, 2010, 05:08:13 PM
What you seem to be asking for is styled iframes on a page linking to two separate pages, from what I understand.

/e Maybe not iframes, but divs would be much easier if it's what I'm thinkin', though I could be completely wrong.  I just don't see the point of this, or why you'd want it.
Can you please show the sample of Iframe and Divs?
Kindred was correct on the conflictions it would have, and I didn't think that through.  Could you show us an example of what you're trying to achieve?
I asked you to show me the samples of Iframes and Divs you were mentioning so that i can show you what i want!
Title: Re: Two Diff Forums in one Website
Post by: Hj Ahmad Rasyid Hj Ismail on October 05, 2010, 05:41:33 AM
Quote from: Sahil_kr on October 05, 2010, 05:36:02 AM
I asked you to show me the samples of Iframes and Divs you were mentioning so that i can show you what i want!
My advise is don't be rude or you might be ignored here. You are the one who should give samples to what you want to achieve not us. We do not know what you want, really. So, please, be nice.
Title: Re: Two Diff Forums in one Website
Post by: Sahil_kr on October 05, 2010, 05:46:16 AM
Quote from: ahrasis on October 05, 2010, 05:41:33 AM
Quote from: Sahil_kr on October 05, 2010, 05:36:02 AM
I asked you to show me the samples of Iframes and Divs you were mentioning so that i can show you what i want!
My advise is don't be rude or you might be ignored here. You are the one who should give samples to what you want to achieve not us. We do not know what you want, really. So, please, be nice.
I am not rude!Even you are Meaner!!
When you posted that i may be talking about iframes and Divs i just asked you to show me Sample of that,so that i can get what i want!!
Title: Re: Two Diff Forums in one Website
Post by: IceXaos on October 05, 2010, 06:09:01 AM
Quote from: Sahil_kr on October 05, 2010, 05:46:16 AM
Quote from: ahrasis on October 05, 2010, 05:41:33 AM
Quote from: Sahil_kr on October 05, 2010, 05:36:02 AM
I asked you to show me the samples of Iframes and Divs you were mentioning so that i can show you what i want!
My advise is don't be rude or you might be ignored here. You are the one who should give samples to what you want to achieve not us. We do not know what you want, really. So, please, be nice.
I am not rude!Even you are Meaner!!
When you posted that i may be talking about iframes and Divs i just asked you to show me Sample of that,so that i can get what i want!!
I don't quite feel like makin' a sample site right now, and as Kindred said, it wouldn't work anyways.  If you show us an example of what yhou've seen work that you want, we might be able to help.
Title: Re: Two Diff Forums in one Website
Post by: willemjan on October 05, 2010, 06:24:15 AM
If I understand this correct, then he wants a main domain with just 1 page. Put 2 circles on that page, each linking to 2 sub-domains with 2 different forums.

Am I correct, Sahil_kr?
Title: Re: Two Diff Forums in one Website
Post by: IceXaos on October 05, 2010, 06:25:50 AM
Quote from: willemjan on October 05, 2010, 06:24:15 AM
If I understand this correct, then he wants a main domain with just 1 page. Put 2 circles on that page, each linking to 2 sub-domains with 2 different forums.

Am I correct, Sahil_kr?
Basically two images as links or be able to surf the forum inside that circle?
Title: Re: Two Diff Forums in one Website
Post by: willemjan on October 05, 2010, 06:41:35 AM
Quote from: IceXaos on October 05, 2010, 06:25:50 AM
Quote from: willemjan on October 05, 2010, 06:24:15 AM
If I understand this correct, then he wants a main domain with just 1 page. Put 2 circles on that page, each linking to 2 sub-domains with 2 different forums.

Am I correct, Sahil_kr?
Basically two images as links or be able to surf the forum inside that circle?

I don't know... I guess the first option, seeing the OP post. But hey the OP should reply on this to know for certain :)
Title: Re: Two Diff Forums in one Website
Post by: Sahil_kr on October 05, 2010, 08:06:40 AM
Quote from: willemjan on October 05, 2010, 06:24:15 AM
If I understand this correct, then he wants a main domain with just 1 page. Put 2 circles on that page, each linking to 2 sub-domains with 2 different forums.

Am I correct, Sahil_kr?
Basically You are correct,but this i don't that each is linking to two sub domains or not!
Title: Re: Two Diff Forums in one Website
Post by: willemjan on October 05, 2010, 08:32:29 AM
And what about this?

Quote from: IceXaos on October 05, 2010, 06:25:50 AM
Basically two images as links or be able to surf the forum inside that circle?
Title: Re: Two Diff Forums in one Website
Post by: Sahil_kr on October 05, 2010, 08:50:16 AM
Quote from: willemjan on October 05, 2010, 08:32:29 AM
And what about this?

Quote from: IceXaos on October 05, 2010, 06:25:50 AM
Basically two images as links or be able to surf the forum inside that circle?
Ya,this is also right.
Title: Re: Two Diff Forums in one Website
Post by: willemjan on October 05, 2010, 08:56:47 AM
But do you want to browse inside the circles, or should those be static images?
Title: Re: Two Diff Forums in one Website
Post by: Sahil_kr on October 05, 2010, 09:09:49 AM
No,i want to browse inside the Circles.
Title: Re: Two Diff Forums in one Website
Post by: willemjan on October 05, 2010, 09:16:03 AM
why, out of curiosity?
Title: Re: Two Diff Forums in one Website
Post by: Sahil_kr on October 05, 2010, 09:22:35 AM
Because i like that.
Title: Re: Two Diff Forums in one Website
Post by: willemjan on October 05, 2010, 09:28:07 AM
Do you have both forums set up allready? If yes: What are the links to them?
Title: Re: Two Diff Forums in one Website
Post by: Sahil_kr on October 05, 2010, 09:29:37 AM
Quote from: willemjan on October 05, 2010, 09:28:07 AM
Do you have both forums set up allready? If yes: What are the links to them?
One Forum is Ready,not 2,how can i install 2 Forums on One Domain??
Title: Re: Two Diff Forums in one Website
Post by: willemjan on October 05, 2010, 09:34:49 AM
This is where this post comes in handy:

Quote from: ahrasis on October 04, 2010, 11:16:02 AM
You can try subforum mod. Follow my signature under that mod name. Subforum mod is basically one forum but manipulating the categories and domains so that many forums can be created and can be opened from different domains/subdomains from one forum (and one time mods) installation.
Title: Re: Two Diff Forums in one Website
Post by: tronyx on October 05, 2010, 09:39:27 AM
Sahil_kr,

Easy, sub-directories.

Create a sub-directory under your public_html.

ww.abc.com/forum1
ww.abc.com/forum2

Or have 3 domains. abc.com, xyz.com, and myweb.com

Point to myweb.com and link
"circle 1" to abc.com (forum1)
"circle 2" to xyz.com (forum 2).

Now if you want 2 circles on your homepage and you want to be able to "see" and "use" both forums on that page...well that's above my pay grade.

Title: Re: Two Diff Forums in one Website
Post by: Kindred on October 05, 2010, 09:48:28 AM
However,   since you have stated that you want two forums browse-able on the same page, in the circles...  I reiterate.

It can not be easily done (if at all)
Displaying two forums on a single page will cause collisions between the variables.
and using iframes won't work, as I have already indicated, because of the session problems.


So, the basic answer is: You can not do what you are asking for.
Title: Re: Two Diff Forums in one Website
Post by: Sahil_kr on October 05, 2010, 10:03:29 AM
Quote from: Kindred on October 05, 2010, 09:48:28 AM
However,   since you have stated that you want two forums browse-able on the same page, in the circles...  I reiterate.

It can not be easily done (if at all)
Displaying two forums on a single page will cause collisions between the variables.
and using iframes won't work, as I have already indicated, because of the session problems.


So, the basic answer is: You can not do what you are asking for.
I cannot do that for any Script,even Vbulletin?
Title: Re: Two Diff Forums in one Website
Post by: KensonPlays on October 05, 2010, 10:08:12 AM
probably not, these scripts weren't meant for this.
Title: Re: Two Diff Forums in one Website
Post by: Sahil_kr on October 05, 2010, 10:10:15 AM
Quote from: Kcmartz on October 05, 2010, 10:08:12 AM
probably annotated, these scripts weren't meant for this.
One day i will prove that it can be done and these Scripts are meant for it,till then i don't want the thread Closed.
Title: Re: Two Diff Forums in one Website
Post by: willemjan on October 05, 2010, 10:12:23 AM
You said that you have seen it before, could you post an link to that site? I could look at the source code of that site for you :)
Title: Re: Two Diff Forums in one Website
Post by: Kindred on October 05, 2010, 10:19:15 AM
if you can code it, then power to you...  release it as a mod package ad you might please some other people too....   however, I will say: I have never even seen a request for what you are talking about, so it's certainly not a common desire.
Title: Re: Two Diff Forums in one Website
Post by: Sahil_kr on October 05, 2010, 10:28:49 AM
Quote from: willemjan on October 05, 2010, 10:12:23 AM
You said that you have seen it before, could you post an link to that site? I could look at the source code of that site for you :)
I know Dude,you can help me,i didn't notice the Web Address,this is my Weakness,otherwise i should have not been mentioned by others about my Specificness!!
Since i talk to the Point!!
Title: Re: Two Diff Forums in one Website
Post by: willemjan on October 05, 2010, 10:35:26 AM
Well then for now it is absolutely impossible. Others have stated it many times before, but I allways want to go to the end.

Quote from: Kindred on October 05, 2010, 10:19:15 AM
if you can code it, then power to you...  release it as a mod package ad you might please some other people too....   however, I will say: I have never even seen a request for what you are talking about, so it's certainly not a common desire.

If he had an example site, then I could have worked with that as my base. With that there was a tiny chance that I could do this successfully. Now, as you have mentioned before, it is impossible.