Log in Register FAQ Memberlist Search Welcome to RCF - WHF Forum Index
alt : test.swf
Welcome to RCF - WHF
4fx3.gif 
calendar_open_closeCalendar 
[Solved] Mods and new templates
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
[Solved] Mods and new templates
PostPosted: 02/18/2007 7:16 AM Reply with quote
Citation
Glenn I
Citation
Posts 2152
Word Cnt. 78,257
BDay Jun 15
Sign Gemini
Sex Sex:Male
Joined: Apr 22, 2005
Local time: 11:37 PM
Location: Upside down
australC_1xa.gif
I've installed a new template which I am fiddling with changing to better blend in with my photo gallery but quite a few mods aren't in the new template.

Is there a quick simple way to add the code of these mods to the new template without having to go and do it all manually?
Back to Top
View user's profile Find all posts by Glenn I Send private message   Visit poster's website Phoogle Map
Re: Mods and new templates
PostPosted: 02/18/2007 2:32 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:37 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: [Solved] Mods and new templates
PostPosted: 02/18/2007 7:38 PM Reply with quote
Citation
Glenn I
Citation
Posts 2152
Word Cnt. 78,257
BDay Jun 15
Sign Gemini
Sex Sex:Male
Joined: Apr 22, 2005
Local time: 11:37 PM
Location: Upside down
australC_1xa.gif
Ok thanks. I will give it a shot soon and let you know.

Off topic - Remember the issue with the header image causing you to have to use scroll bars to view properly? I was given a soultion to this and it works. Please have a look and see what you think. Check out the gallery one too.
Back to Top
View user's profile Find all posts by Glenn I Send private message   Visit poster's website Phoogle Map
Re: Mods and new templates
PostPosted: 02/19/2007 2:53 AM 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:37 AM
Location: St Pete, FL
peace.gif
I don't see that the header image is adjusting at all and when the window shrinks smaller than the image, the vertical scrollbar appears.  That's the part you want to avoid if possible...

dontknow
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.0867s (PHP: 61% - SQL: 39%) - SQL queries: 39 - GZIP disabled - Debug on