 | Re: New start |  |
Posted: 04/05/2007 3:42 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 9:00 AM
Location: St Pete, FL
|

|
|
|
|
 |
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...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: New start |  |
Posted: 04/05/2007 3:44 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 9:00 AM
Location: St Pete, FL
|

|
|
|
|
 |
Creating Template Only MODs
All you need to do is create Template Only versions of the MODs that you have installed.
- 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.
- Then save the new Template Only MOD and store it in it's own separate templates only folder...
- 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...
- 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...
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..
Then rename all instances of subSilver with your new Template name using the Replace All function that you can find in most text editors.
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...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: New start |  |
Posted: 04/05/2007 3:52 PM |
|
|
|
|
|
| Seagull |
| Posts |
110 |
| Word Cnt. |
24,559 |
| BDay |
N/A |
| Sign |
N/A |
| Sex |
 |
|
|
|
Joined: Mar 21, 2007
Local time: 8:00 AM
Location: Northern Ireland
|

|
|
|
|
 |
Dont shout but i took a short cut
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
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: New start |  |
Posted: 04/05/2007 4:00 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 9:00 AM
Location: St Pete, FL
|

|
|
|
|
 |
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...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: New start |  |
Posted: 04/05/2007 4:03 PM |
|
|
|
|
|
| Seagull |
| Posts |
110 |
| Word Cnt. |
24,559 |
| BDay |
N/A |
| Sign |
N/A |
| Sex |
 |
|
|
|
Joined: Mar 21, 2007
Local time: 8:00 AM
Location: Northern Ireland
|

|
|
|
|
 |
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
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: New start |  |
Posted: 04/05/2007 4:12 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 9:00 AM
Location: St Pete, FL
|

|
|
|
|
 |
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...
 |
|
|
 |
 |
| Back to Top |
|
|
 |
 | Information |  |
|