Log in Register FAQ Memberlist Search Welcome to RCF - WHF Forum Index
alt : test.swf
Welcome to RCF - WHF
4fx3.gif 
calendar_open_closeCalendar 
Simple Subforums copy question
Post new topic   Reply to topic View previous topic :: View next topic
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support Add To Bookmarks
Simple Subforums copy question
PostPosted: 07/14/2007 2:35 PM Reply with quote
Citation
KeeKee
Citation
Posts 940
Word Cnt. 48,215
BDay Mar 4
Sign Pisces
Sex Sex:Female
Joined: Mar 20, 2006
Local time: 4:47 PM
usaCa.gif
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
View user's profile Find all posts by KeeKee Send private message   Visit poster's website Yahoo Messenger Phoogle Map ICQ Number
Re: Simple Subforums copy question
PostPosted: 07/14/2007 3:53 PM Reply with quote
Citation
KeeKee
Citation
Posts 940
Word Cnt. 48,215
BDay Mar 4
Sign Pisces
Sex Sex:Female
Joined: Mar 20, 2006
Local time: 4:47 PM
usaCa.gif
Oh I did try to find the files but all I found was something that looked like an rss feed.
Back to Top
View user's profile Find all posts by KeeKee Send private message   Visit poster's website Yahoo Messenger Phoogle Map ICQ Number
Re: Simple Subforums copy question
PostPosted: 07/14/2007 11:07 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 5:47 PM
Location: St Pete, FL
peace.gif
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...

hysterical1
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: Simple Subforums copy question
PostPosted: 07/15/2007 1:32 PM Reply with quote
Citation
KeeKee
Citation
Posts 940
Word Cnt. 48,215
BDay Mar 4
Sign Pisces
Sex Sex:Female
Joined: Mar 20, 2006
Local time: 4:47 PM
usaCa.gif
Well I guess you got a good laugh out of that one  hysterical1
It happened when I had to fix the first find and re-upload. Guess still had the extreme mod on the brain  Embarassed   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
View user's profile Find all posts by KeeKee Send private message   Visit poster's website Yahoo Messenger Phoogle Map ICQ Number
Re: Simple Subforums copy question
PostPosted: 07/16/2007 3:28 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 5:47 PM
Location: St Pete, FL
peace.gif
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...

munky2
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: Simple Subforums copy question
PostPosted: 07/16/2007 7:22 PM Reply with quote
Citation
KeeKee
Citation
Posts 940
Word Cnt. 48,215
BDay Mar 4
Sign Pisces
Sex Sex:Female
Joined: Mar 20, 2006
Local time: 4:47 PM
usaCa.gif
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
View user's profile Find all posts by KeeKee Send private message   Visit poster's website Yahoo Messenger Phoogle Map ICQ Number
Re: Simple Subforums copy question
PostPosted: 07/16/2007 11:02 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 5:47 PM
Location: St Pete, FL
peace.gif
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...





headbang
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: Simple Subforums copy question
PostPosted: 07/18/2007 4:29 PM Reply with quote
Citation
KeeKee
Citation
Posts 940
Word Cnt. 48,215
BDay Mar 4
Sign Pisces
Sex Sex:Female
Joined: Mar 20, 2006
Local time: 4:47 PM
usaCa.gif
I knew it was something simple like that. Seems to be working well.
Back to Top
View user's profile Find all posts by KeeKee Send private message   Visit poster's website Yahoo Messenger Phoogle Map ICQ Number
Re: Simple Subforums copy question
PostPosted: 07/20/2007 2:10 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 5:47 PM
Location: St Pete, FL
peace.gif
Great!!!  Congratulations KeeKee!!!   Applause

banana  blob8  banana  blob8  banana  blob8  banana
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
 Post new topic  Reply to topic
Information
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
All times are GMT - 5 Hours

Page 1 of 1


Add To Bookmarks

 
  
  


  Google

Powered by phpBB © 2001, 2005 phpBB Group

Page generation time: 0.0635s (PHP: 82% - SQL: 18%) - SQL queries: 54 - GZIP disabled - Debug on