Installing MODs on Non Default Themes?

Started by genieuk, October 02, 2008, 02:58:31 PM

Previous topic - Next topic

genieuk

Hi,

Just wanted to know something.

On my forum I have a theme that i downloaded, some mods require certain files in the themes folder. Problem i am having is my themes folder does not have some of the files needed. Can someone explain how i would go about this please?,

Also where you can download mods for different SMF versions and for example it says comaptible with 1.1 but i am using 1.6 when i choose my version and it shows manual install does this mean that information for manual install is then for my current version 1.6?

Thank you,
Mathew

Adish - (F.L.A.M.E.R)

For all the compatible mods(officially) with 1.1.6 look here:- http://custom.simplemachines.org/mods/index.php?action=search;smf_versions=39

If the files are missing, then it will take them from the default folder. But if the files are present in the custom theme, you will have to modify them as necessary.

genieuk

Hi,

Thanks for your quick reply.

Problem I am having is for example.

When i want to install a mod that is compatible with SMF version 1.1.6 and my custom themes folder Does have the files i do the alterations and everything seems ok but when i upload there is nothing different.

For example i tried this mod:

http://custom.simplemachines.org/mods/index.php?action=parse

i done it manually it found everything i was looking for in code i added the stuff required saved, uploaded but no different, nothing appears for the chat or anything.

Like if i never made any alterations at all. Even thou i am using a custom theme am i reuqired to install all mods on default theme? as i dont understand why when i do some mods etc nothing shows, same goes for show age on posts mod etc.

Thank you,
Mathew

Adish - (F.L.A.M.E.R)

Bascially, the mods will install over the default theme, no matter what your overall forum theme is. You have to edit the files which are inside the custom theme in order to make it work.

I think you where point me to nneonneo's Shoutbox. In order to make it work with a custom theme, you will have to edit index.template.php of your theme as it edits that file during installation in the default theme.

For the edits you need to do for index.template.php, you have to parse it which will look like this:- http://custom.simplemachines.org/mods/index.php?action=parse;mod=585;attach=64214;smf_version=1.1.6

In there you can see it edits the custom theme file which is index.template.php and hence you have to do it in your custom theme in order to make it work. Its not atall complicated but its actually not that simply explainable. Just trying to get it straight ;)

genieuk

Hi,

Not sure if i understand properly.

But thats what i do if you get me.

I see if mod is 1.1.6 compatible choose manual (cant remember what it called) but it brings up a screen like you show (where it tells you what to edit) etc i edits the files in my custom themes folder and save then upload but i get nothing.

And if my custom theme does not have the file being asked for i go to default theme and edit that file but still nothing.

Adish - (F.L.A.M.E.R)

it is sometimes that some places in a theme are fixed and the code overwrites. For that, you need to find an alternative somewhere around those codes. like there are codes of template_main_above and template_main _below. The above one is for all the things new and before them. And the below one is after the boards in there.

Rumbaar

Mods install into the default theme template files as standard.  If you are using a custom theme you only have to install into any applicable template files that related to that mod.

So you install via Package Manager and only install into those required custom template files.  If there isn't one you don't need to do anything as it will have been installed into the default template files and your custom theme will fall back to using that file.

Most mods that are 1.1.x will 95% of the time be compatible with 1.1.6
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

Advertisement: