 | Simple Subforums copy question |  |
Posted: 07/14/2007 2:35 PM |
|
|
|
|
|
| Citation |
| Posts |
940 |
| Word Cnt. |
48,215 |
| BDay |
Mar 4 |
| Sign |
Pisces |
| Sex |
 |
|
|
|
Joined: Mar 20, 2006
Local time: 6:06 PM
|

|
|
|
|
 |
COPY FAILED: The target file to be copied [./mods/extremestyles/root/admin/xs_simple_subforums.cfg] could not be found.
copy root/admin/xs_simple_subforums.cfg to admin/xs_simple_subforums.cfg
MOD script line #102
Of course there are several files there to be copied over. I'm not sure how to set it up so they are copied correctly.
I did fix a find error on my own. |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Simple Subforums copy question |  |
Posted: 07/14/2007 3:53 PM |
|
|
|
|
|
| Citation |
| Posts |
940 |
| Word Cnt. |
48,215 |
| BDay |
Mar 4 |
| Sign |
Pisces |
| Sex |
 |
|
|
|
Joined: Mar 20, 2006
Local time: 6:06 PM
|

|
|
|
|
 |
| Oh I did try to find the files but all I found was something that looked like an rss feed. |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Simple Subforums copy question |  |
Posted: 07/14/2007 11:07 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 7:06 PM
Location: St Pete, FL
|

|
|
|
|
 |
It looks like you might be tired. Look at the path above and see if you notice anything that doesn't look quite right. The Simple Subforums MOD is in the wrong MOD folder, so it wouldn't be surprising that it can't find the included files. Try uploading the MOD script to the Simple Subforums folder and see if that makes a difference...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Simple Subforums copy question |  |
Posted: 07/15/2007 1:32 PM |
|
|
|
|
|
| Citation |
| Posts |
940 |
| Word Cnt. |
48,215 |
| BDay |
Mar 4 |
| Sign |
Pisces |
| Sex |
 |
|
|
|
Joined: Mar 20, 2006
Local time: 6:06 PM
|

|
|
|
|
 |
Well I guess you got a good laugh out of that one
It happened when I had to fix the first find and re-upload. Guess still had the extreme mod on the brain And YES I am very tired this week but you know well Mr Fibro don't give a hoot what your plans are.
Next problem...
The error is:
| Code:
|
FIND FAILED: In file [viewforum.php] could not find:
setcookie($board_config['cookie_name']
MOD script line #1283
|
I think the mod needs to be adjusted for this section but there is a lot of stuff there I am totally in the dark about. Am I even in the right section?
| Code:
|
//START MOD Keep_unread_2
//$tracking_topics = ( isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_t']) ) ? unserialize($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_t']) : '';
//$tracking_forums = ( isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_f']) ) ? unserialize($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_f']) : '';
//END MOD Keep_unread_2
|
and then maybe again down lower. |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Simple Subforums copy question |  |
Posted: 07/16/2007 3:28 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 7:06 PM
Location: St Pete, FL
|

|
|
|
|
 |
Whenever a MOD has modified the code so that it is impossible to find, I go back to a clean copy of the phpBB files to look where the code should have been to give myself a better idea of where to look in the modified code...
In this case, the Keep Unread Flags MOD has radically modified this section of code in your viewforum.php file. It may not be necessary for the Simple Subforums MOD to make a modification to this part of the code. I can't guarantee that, but you can try this:
OPEN
simple_subforums_1.0.2b_EM_Friendly.txt
FIND & DELETE
| Code:
|
#
#-----[ FIND ]------------------------------------------
#
setcookie($board_config['cookie_name']
#
#-----[ REPLACE WITH ]------------------------------------------
#
// Begin Simple Subforums MOD
$set_cookie = true;
if( isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_f']) )
{
$HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_f'] = serialize($tracking_forums);
}
// End Simple Subforums MOD
|
That would probably make part of the next command unnecessary as well since we are removing the $set_cookie assignment. So you might as well do this too:
FIND
| Code:
|
#
#-----[ BEFORE, ADD ]------------------------------------------
#
// Begin Simple Subforums MOD
if( $set_cookie )
{
setcookie($board_config['cookie_name'] . '_f', serialize($tracking_forums), 0, $board_config['cookie_path'], $board_config['cookie_domain'], $board_config['cookie_secure']);
}
$forum_id = $old_forum_id;
// End Simple Subforums MOD
|
REPLACE WITH
| Code:
|
#
#-----[ BEFORE, ADD ]------------------------------------------
#
// Begin Simple Subforums MOD
$forum_id = $old_forum_id;
// End Simple Subforums MOD
|
Save, upload, and try again using EM...
I really have no idea how removing this code will affect the Simple Subforums MOD, if at all. So we may have to experiment with it if it causes problems. Since the Simple Subforums MOD is very popular, they may have already dealt with this problem in the Keep Unread Flags or perhaps in the Simple Subforums topic...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Simple Subforums copy question |  |
Posted: 07/16/2007 7:22 PM |
|
|
|
|
|
| Citation |
| Posts |
940 |
| Word Cnt. |
48,215 |
| BDay |
Mar 4 |
| Sign |
Pisces |
| Sex |
 |
|
|
|
Joined: Mar 20, 2006
Local time: 6:06 PM
|

|
|
|
|
 |
Went in without a hitch.
I went to forum admin even created a forum but there was no place to make it a subforum that I could find, Just he usual create a catagory and create a forum.
Am I not seeing something? again |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Simple Subforums copy question |  |
Posted: 07/16/2007 11:02 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 7:06 PM
Location: St Pete, FL
|

|
|
|
|
 |
Yes, you would create the forum just like any other forum. But when assigning the Category/Forum, you would assign the new forum to an existing forum rather than a Category, making it a sub-forum...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Simple Subforums copy question |  |
Posted: 07/18/2007 4:29 PM |
|
|
|
|
|
| Citation |
| Posts |
940 |
| Word Cnt. |
48,215 |
| BDay |
Mar 4 |
| Sign |
Pisces |
| Sex |
 |
|
|
|
Joined: Mar 20, 2006
Local time: 6:06 PM
|

|
|
|
|
 |
| I knew it was something simple like that. Seems to be working well. |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Simple Subforums copy question |  |
Posted: 07/20/2007 2:10 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 7:06 PM
Location: St Pete, FL
|

|
|
|
|
 |
Great!!! Congratulations KeeKee!!!
 |
|
|
 |
 |
| Back to Top |
|
|
 | Information |  |
|