News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Multiple Forum Mod

Started by Avail, November 24, 2009, 09:59:59 AM

Previous topic - Next topic

FireDitto

Second Pass Weyr<br />An AU Pernse RPG<br /><br />SMF 2.0.6 with SP 2.3.5

Hoodie

use the full address using the http://mysite.net/OOC and see if that helps out at all..

FireDitto

But then it requires the folder to be named:

http://mysite.net/OOC

And ended up in complete failure...

><

I ended up with this as the URL:

hxxp://mysite.net/mysite.net/OOC/index.php


And again; if I clicked on a link, it would take me to a dead page, because it would change the URL on me... This time it was taking OUT the extra mysite.net instead of adding in an extra OOC


I am completely and utterly confused!!!
Second Pass Weyr<br />An AU Pernse RPG<br /><br />SMF 2.0.6 with SP 2.3.5

kingkingston

Quote from: FireDitto on December 10, 2009, 04:37:07 AM
But then it requires the folder to be named:

http://mysite.net/OOC

And ended up in complete failure...

><

I ended up with this as the URL:

hxxp://mysite.net/mysite.net/OOC/index.php


And again; if I clicked on a link, it would take me to a dead page, because it would change the URL on me... This time it was taking OUT the extra mysite.net instead of adding in an extra OOC


I am completely and utterly confused!!!
What is your website called ?

SilverKnight

Keep up the good work Avail, don't give up, i have high aspects for this mod! It's the only reason im considering upgrading to SMF 2.0.

My only suggestion for now, would be for this to work with tinyportal properly.

FireDitto

Quote from: kingkingston on December 10, 2009, 05:11:55 AM
What is your website called ?

Link

There is very little to see.

The multiple forums addresses are:

OOC and url/url/admin
Second Pass Weyr<br />An AU Pernse RPG<br /><br />SMF 2.0.6 with SP 2.3.5

kingkingston

Quote from: FireDitto on December 10, 2009, 04:31:18 PM
Quote from: kingkingston on December 10, 2009, 05:11:55 AM
What is your website called ?

Link

There is very little to see.

The multiple forums addresses are:

OOC and url/url/admin
why have you got 2 urls in the one address ?

FireDitto

Quote from: kingkingston on December 10, 2009, 04:54:49 PM
Quote from: FireDitto on December 10, 2009, 04:31:18 PM
Quote from: kingkingston on December 10, 2009, 05:11:55 AM
What is your website called ?

Link

There is very little to see.

The multiple forums addresses are:

OOC and url/url/admin
why have you got 2 urls in the one address ?

Well, if you had read the previous couple of posts.

OOC was done by just entering the "OOC" into the part to make a new URL
The url was done by entering the whole url + hte new piece, to make the doubled up one.

Why?

Because neither are working and damned if I can figure out why.
Second Pass Weyr<br />An AU Pernse RPG<br /><br />SMF 2.0.6 with SP 2.3.5

kingkingston

Quote from: FireDitto on December 10, 2009, 07:16:04 PM
Quote from: kingkingston on December 10, 2009, 04:54:49 PM
Quote from: FireDitto on December 10, 2009, 04:31:18 PM
Quote from: kingkingston on December 10, 2009, 05:11:55 AM
What is your website called ?

Link

There is very little to see.

The multiple forums addresses are:

OOC and url/url/admin
why have you got 2 urls in the one address ?

Well, if you had read the previous couple of posts.

OOC was done by just entering the "OOC" into the part to make a new URL
The url was done by entering the whole url + hte new piece, to make the doubled up one.

Why?

Because neither are working and damned if I can figure out why.
Have you put the folders in the right area on ftp ?

FireDitto

I assume so.

They are located in the same base as the folder that contains all the files for the site:

Aka:


/home/

--  /forum
-- /OOC
-- /blah

Etc.

[does that make any sense? lol]


They are put in that location, because I found that would put the url as:

mysite.net/forum
mysite.net/ooc
mysite.net/blah

as opposed to putting htem in the Forum folder, and getting:

mysite.net/forum
mystie.net/forum/ooc
mystie.net/fourm/blah
Second Pass Weyr<br />An AU Pernse RPG<br /><br />SMF 2.0.6 with SP 2.3.5

Hoodie

If you could post the code on your index.php that is in the /OOC and /administration folders we could probably disect it and get it straight for you..

kingkingston

Quote from: FireDitto on December 10, 2009, 09:47:51 PM
I assume so.

They are located in the same base as the folder that contains all the files for the site:

Aka:


/home/

--  /forum
-- /OOC
-- /blah

Etc.

[does that make any sense? lol]


They are put in that location, because I found that would put the url as:

mysite.net/forum
mysite.net/ooc
mysite.net/blah

as opposed to putting htem in the Forum folder, and getting:

mysite.net/forum
mystie.net/forum/ooc
mystie.net/fourm/blah
so you put them in actual folders ?

one of mine is /public_html/basketball and the stuff you have to copy and paste goes on a txt page in that folder

FireDitto

Yes, they are actual folders:

Screen shot of the FTP folder can be seen attached.

<?php

$targpath 
'REMOVED/forum/index.php';

require_once(
$targpath);

function 
setSubforumSettings() {
global $boardurl$cookiename$boarddir$forumid$mbname;
$boardurl 'OOC';
$cookiename 'SmfCookie789';
$boarddir dirname(__FILE__);
$forumid 2;
$mbname 'Out Of Character';
}

function 
getTargetPath() {
global $targpath;
return $targpath;
}

?>




I am using SMF 2.0 RC2
Second Pass Weyr<br />An AU Pernse RPG<br /><br />SMF 2.0.6 with SP 2.3.5

Hoodie

<?php

$targpath 
'REMOVED/forum/index.php';

require_once(
$targpath);

function 
setSubforumSettings() {
   global 
$boardurl$cookiename$boarddir$forumid$mbname;
   
$boardurl 'http://itchneomon.dreamscaperpgs.net/OOC/';
   
$cookiename 'SmfCookie789';
   
$boarddir dirname(__FILE__);
   
$forumid 2;
   
$mbname 'Out Of Character';
}

function 
getTargetPath() {
   global 
$targpath;
   return 
$targpath;
}

?>


Replace "$targpath = 'REMOVED/forum/index.php';" with whatever the actual path to your main board index.php was..

kingkingston

Avail any update on this great mod,just wondering what your trying to do to it next :D

FireDitto

Quote from: Automotive Nation on December 12, 2009, 02:44:20 PM
<?php

$targpath 
'REMOVED/forum/index.php';

require_once(
$targpath);

function 
setSubforumSettings() {
   global 
$boardurl$cookiename$boarddir$forumid$mbname;
   
$boardurl 'http://itchneomon.dreamscaperpgs.net/OOC/';
   
$cookiename 'SmfCookie789';
   
$boarddir dirname(__FILE__);
   
$forumid 2;
   
$mbname 'Out Of Character';
}

function 
getTargetPath() {
   global 
$targpath;
   return 
$targpath;
}

?>


Replace "$targpath = 'REMOVED/forum/index.php';" with whatever the actual path to your main board index.php was..

... Obviously; I removed that because I didn't feel it would be wise to share all the behind the scene linkage information... Which is why I wrote "REMOVED" in big capitals there. Sorry for not making a  note as well.
Second Pass Weyr<br />An AU Pernse RPG<br /><br />SMF 2.0.6 with SP 2.3.5

SilverKnight

So.. any updates to this mod?

Avail

Quote from: kingkingston on December 13, 2009, 04:46:16 AM
Avail any update on this great mod,just wondering what your trying to do to it next :D

Quote from: SilverKnight on December 14, 2009, 04:26:12 PM
So.. any updates to this mod?

No updates yet, but I am planning on running the mod on a portal site to see how it runs. I did come up with any idea that might make this mod possible to run cross-server, but it wouldn't be added for a while.

SilverKnight

#78
I think its best to keep it internal for now, keep up the good work, if you have time for testing, try it with TinyPortal, and see if it works well. Im still on 1.1.11.

Arantor

1.0.11 is very old and should be upgraded to 1.0.19 at your earliest convenience... unless you mean 1.1.11...
Holder of controversial views, all of which my own.


Advertisement: