Hi,
I've installed EasyMOD and its great.
As I have manually installed MODs in the past, I often don't bother to install to all themes as it takes so long. For example, I have installed the Google inline banner MOD to just subSilver. Can I use EasyMOD to now install just to the other themes and not subSilver or the shared files e.g. viewtopic.php?
I'm concerned that it will duplicate the MOD and cause the site to fall over
Any ideas, short of undoing the manual MOD?
Thanks
How to install a mod to selective themes
Forum rules
DO NOT give out any FTP passwords to anyone! There is no reason to do so! If you need help badly enough, create a temporary FTP account that is restricted to only the files that you need help with and give the information for that. Giving out FTP information can be very dangerous!
DO NOT give out any FTP passwords to anyone! There is no reason to do so! If you need help badly enough, create a temporary FTP account that is restricted to only the files that you need help with and give the information for that. Giving out FTP information can be very dangerous!
-
- Registered User
- Posts: 3
- Joined: Sun Jan 07, 2007 9:33 pm
-
- Registered User
- Posts: 3
- Joined: Sun Jan 07, 2007 9:33 pm
Re: How to install a mod to selective themes
Well, to answer my own question for you all - it just doubles up what I did before!
Fortunately, the site still worked, although I got double ads till I went through and deduped the change.
I did also uncheck all db changes, as I knew they had been done anyway.
Fortunately, the site still worked, although I got double ads till I went through and deduped the change.
I did also uncheck all db changes, as I knew they had been done anyway.
-
- Registered User
- Posts: 7219
- Joined: Tue Nov 16, 2004 8:54 pm
- Location: Florida, US
- Contact:
Re: How to install a mod to selective themes
Since you mistakenly double installed the MOD, you could have Restored the EM Backups to get it back to the single install. Then you could have created a Template Only version of the MOD and install it into the alternative templates...
Restoring EM Backups
If a MOD that you installed with EM hosed your board or you decide that you just don't want it, 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)
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.
Creating Template Only MODs
All you need to do is create Template Only versions of the MODs that you have installed.
It really isn't that difficult to update each new template after the fact...
Restoring EM Backups
If a MOD that you installed with EM hosed your board or you decide that you just don't want it, 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)
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/*.*
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:
EM will recognize this as a new MOD if the MOD Title is different from what it has previously installed...Code: Select all
## MOD Title: Topic calendar - Part 1 (common to all setup) Aoelus
- 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.
It really isn't that difficult to update each new template after the fact...