Log in Register FAQ Memberlist Search Welcome to RCF - WHF Forum Index
alt : test.swf
Welcome to RCF - WHF
4fx3.gif 
calendar_open_closeCalendar 
New start
Post new topic   Reply to topic View previous topic :: View next topic
Goto page: Previous  1, 2
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support Add To Bookmarks
Re: New start
PostPosted: 04/05/2007 3:42 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: 9:00 AM
Location: St Pete, FL
peace.gif
Ok, so the Simple Subforums is installed, but not into the SoftBlue template.  So you need to remove all non-template code from the MOD and install it only into the SoftBlue template if that is the one that was messed up.  You don't want to install it into the rest of your files or it may cause some very strange results...

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: New start
PostPosted: 04/05/2007 3:44 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: 9:00 AM
Location: St Pete, FL
peace.gif
Creating Template Only MODs

All you need to do is create Template Only versions of the MODs that you have installed.  

  1. First create a duplicate of the MOD script in a new text file.  To make it easier to remember, just use the same MOD filename that the MOD author used, but add _template_only to the name.  So if you are using the TopicCalender.txt file, the new Template only version would be named TopicCalender_template_only.txt.

  2. Then save the new Template Only MOD and store it in it's own separate templates only folder...

  3. If there are any files included with the MOD that are supposed to be uploaded to template folders, store them in the new Template only MOD folder maintaining the same folder structure that the original MOD used...

  4. Next add the name of the new Template to the end of the MOD Title using your favorite Text editor.  So the MOD Title could look something like this if Aeolus is your new template name:

    Code:
    ## MOD Title:  Topic calendar - Part 1 (common to all setup) Aoelus

    EM will recognize this as a new MOD if the MOD Title is different from what it has previously installed...

  5. Next strip out all NON-Template related modifications.  All you want in this new Template Only version of the MOD are alterations for template files only.  If there are any copy commands, only keep those that copy included files into template folders too..

  6. Then rename all instances of subSilver with your new Template name using the Replace All function that you can find in most text editors.  

  7. Now you can upload the new Template Only MOD folder to the admin/mods and run it like you would any other MOD using EM.  


If you have added more than one new template, you would want to repeat Steps 6 & 7 for each Template except instead of using subSilver, you would use the name of the last template that you installed using this Template Only version of the MOD.  So if the last template you modified with this was Aeolus and you want to apply the changes to Helius next, do a Replace All on Aoelus to Helius...

It really isn't that difficult to update each new template after the fact...

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: New start
PostPosted: 04/05/2007 3:52 PM Reply with quote
Seagull
Illuminati
Seagull
Posts 110
Word Cnt. 24,559
BDay N/A
Sign N/A
Sex Sex:Male
Joined: Mar 21, 2007
Local time: 8:00 AM
Location: Northern Ireland
greatbrE.gif
Dont shout but i took a short cut
Embarassed

I removed the find that was causing the error from the install file as it was already done in the modcp file. And it seems to have worked
flower  flower
Back to Top
View user's profile Find all posts by Illuminati Send private message   MSN Messenger
Re: New start
PostPosted: 04/05/2007 4:00 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: 9:00 AM
Location: St Pete, FL
peace.gif
You will want to Restore the EM Backups then.  You have probably added duplicate code to several of your non-template files, including these:

Code:
## admin/admin_forumauth.php
## admin/admin_forums.php
## includes/functions.php
## includes/functions_admin.php
## language/lang_english/lang_main.php
## index.php
## modcp.php
## posting.php
## search.php
## viewforum.php
## viewtopic.php

This has the potential of causing some very weird problems in the future or perhaps at best, slow down the page generation time...

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: New start
PostPosted: 04/05/2007 4:03 PM Reply with quote
Seagull
Illuminati
Seagull
Posts 110
Word Cnt. 24,559
BDay N/A
Sign N/A
Sex Sex:Male
Joined: Mar 21, 2007
Local time: 8:00 AM
Location: Northern Ireland
greatbrE.gif
Do you mean the whole forum? Or just the sections with subforums?
I do not use them much.Infact just with 1 section haveing 3 sub forums.
It was more to save room on the page than anything
Embarassed
Back to Top
View user's profile Find all posts by Illuminati Send private message   MSN Messenger
Re: New start
PostPosted: 04/05/2007 4:12 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: 9:00 AM
Location: St Pete, FL
peace.gif
Didn't you use EM to install the MOD?  If so, you would use the EM Restore Backups to uninstall the duplicate code that you just added to those non-template files.  Then you would create a template only version of the MOD to install into your SoftBlue template...

Restoring EM Backups

Simply go into EM History in your ACP MOD Center and click on the Details button next to the MOD entry..



On the bottom of the next page, select Restore Backups and press the Go button. Make sure you DON'T select the Remove Record option or you will be forced to manually rolll back the EM backups that were created for you. I will have to walk you through that if need be...



Next you will see a page to confirm eht operation.  You would choose Yes:



MODs can only be uninstalled in reverse order that they were installed: FILO (First In, Last Out).  So if you installed a MOD, then several others, then decided to remove the first one, you would have to Restore the backups of the other MODs before you could Restore the backups on the first MOD...

Restoring EM Backups (Manual Instructions)

If you are unable to get into the ACP, you will need to use these manual instructions to Restore the EM Backups...

Download the backups folder that EM created for you in the MOD sub-folder found in admin/mods.  Strip the .txt extension from each file in every folder in the backups folder.  So the resulting file extensions will be php, tpl, css, and cfg.  Upload the files back to their proper locations on your board; i.e.  

  • copy backups/admin/*.* to phpBB/admin/*.*
  • copy backups/includes/*.* to phpBB/includes/*.*
  • copy backups/language/lang_english/*.* to phpBB/language/lang_english/*.*
  • copy backups/templates/subSilver/*.* to phpBB/templates/subSilver/*.*
  • copy backups/*.* to phpBB/*.*


Of course if you have alternate templates and language folders, you will need to copy the files for them as well.  I'm referring to phpBB as your forum's root folder in the above copy commands.  If your root folder has any other name, just substitute phpBB with the name of your forum's root folder name...

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
 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
Goto page: Previous  1, 2
Page 2 of 2


Add To Bookmarks

 
  
  


  Google

Powered by phpBB © 2001, 2005 phpBB Group

Page generation time: 0.0652s (PHP: 77% - SQL: 23%) - SQL queries: 45 - GZIP disabled - Debug on