Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Aiheen aloitti: DarrenR - elokuu 17, 2013, 02:13:04 IP

Otsikko: Updating a mod?
Kirjoitti: DarrenR - elokuu 17, 2013, 02:13:04 IP
Hello,

I have been trying to find a mod that makes peoples usernames show up in the membergroup colour on the "Latest Thread" column of the index of the forum.

I foudn a few although they do not match my version of SMF (2.0.4)..

I was wondering how I would go about updating a modification package or even making my own? I have confident with PHP and other web languages
Otsikko: Re: Updating a mod?
Kirjoitti: johnpaul2k2 - elokuu 17, 2013, 02:20:13 IP
Welcome to SMF

there is a section for such question


http://www.simplemachines.org/community/index.php?board=79.0   :)


Update


you can try Mod emulating ..............

what version of your SMF?
Otsikko: Re: Updating a mod?
Kirjoitti: johnpaul2k2 - elokuu 17, 2013, 02:26:50 IP
How to Emulate


Go into the package manager and click "Advanced".

Type the version to emulate, beginning with SMF, like "SMF 2.0 RC3" (depending your SMF Version)

:)
Otsikko: Re: Updating a mod?
Kirjoitti: DarrenR - elokuu 17, 2013, 04:02:42 IP
I did try to emulate an older version, although it made some of my other mods not work properly.
Otsikko: Re: Updating a mod?
Kirjoitti: Chalky - elokuu 17, 2013, 04:07:52 IP
It shouldn't affect any of your existing mods, you're only emulating the package manager.  In the advanced link at the bottom of the Browse Packages page, type the latest version of SMF that the mod says it is compatible with (should be at least SMF 2.0 RC5 or the chances of it installing are greatly reduced, don't even try to install 1.1.x mods on a 2.x forum) and apply.  Install the mod.  Go back to Advanced and select "Revert".  That's all there is to it  :)

Don't forget to back up your forum before installing mods, especially fiddly ones - one day you will break your forum and need to restore it  ;)
Otsikko: Re: Updating a mod?
Kirjoitti: DarrenR - elokuu 17, 2013, 05:41:25 IP
I tried this and it didn't install properly...

Really, Id like to make my own mod frmo scratch and do it but not sure how.
Otsikko: Re: Updating a mod?
Kirjoitti: Chalky - elokuu 17, 2013, 05:48:17 IP
If you already know how to code then you can learn how existing mods work and how they modify SMF. 

Note that "it didn't install properly..." is not a very helpful description of a problem  ;)