Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Bugo on April 11, 2022, 02:42:40 PM

Title: Simple Mod Maker
Post by: Bugo on April 11, 2022, 02:42:40 PM
Link to the mod (https://custom.simplemachines.org/index.php?mod=4321)

Would you like to spend less time creating localization files, JS/CSS and more on working with the code? This mod provides this opportunity!
This SMF mod skeleton generator will help you quickly generate the mod's settings and create simple tables in the database.
You just need to set the necessary options, click "Build" and get a modification package ready for installation on the SMF forum.

Translations:

(https://badges.crowdin.net/simple-mod-maker/localized.svg) (https://crowdin.com/project/simple-mod-maker)

Features:

(https://img.shields.io/github/license/dragomano/simple-listings) (https://img.shields.io/badge/Donate-$-blue.svg?style=flat&logo=paypal) (https://ko-fi.com/dragomano)
Title: Re: Simple Mod Maker
Post by: Doug Heffernan on April 11, 2022, 02:49:16 PM
This is a very useful mod imo. Thank you for sharing it.
Title: Re: Simple Mod Maker
Post by: -Rock Lee- on April 11, 2022, 07:41:53 PM
This will really help more than one when you want to create something, a great contribution @Bugo ;D
Title: Re: Simple Mod Maker
Post by: Dzonny on April 12, 2022, 05:51:48 AM
Great mod, I'm surprised that we didn't had something similar earlier. Well done man!  8)
Title: Re: Simple Mod Maker
Post by: Bugo on April 12, 2022, 06:16:13 AM
Quote from: Dzonny on April 12, 2022, 05:51:48 AMGreat mod, I'm surprised that we didn't had something similar earlier. Well done man!  8)
Mod Builder (https://github.com/NanoSector/ModManager) was, but somehow it didn't stick.
Title: Re: Simple Mod Maker
Post by: FrizzleFried on April 12, 2022, 09:47:12 AM
Am I correct to assume that I could use this to help me figure out how to make a mod out of all the manual code and CSS changes I've made to my site so that,  in case of a problem,  I could re-introduce all the changes in a single mod install rather than having to document and go through all the manual code and CSS changes ... well ... manually?

EDIT: Or is that even done with a mod using "hooks"... i'm still not 100% sure how hooks work exactly to be honest.  I have a general idea... I just don't know much of the detail.

Title: Re: Simple Mod Maker
Post by: Bugo on April 12, 2022, 12:07:53 PM
Quote from: FrizzleFried on April 12, 2022, 09:47:12 AMAm I correct to assume that I could use this to help me figure out how to make a mod out of all the manual code and CSS changes I've made to my site so that,  in case of a problem,  I could re-introduce all the changes in a single mod install rather than having to document and go through all the manual code and CSS changes ... well ... manually?
I suppose so.

I think you need to start by exploring small mods' structure, with the label "hooks only". Details are not important, practice is needed.
Title: Re: Simple Mod Maker
Post by: @rjen on April 13, 2022, 03:29:54 PM
whoops... moved to the correct topic...

https://www.simplemachines.org/community/index.php?topic=581386.msg4120043#msg4120043
Title: Re: Simple Mod Maker
Post by: Doug Heffernan on April 13, 2022, 03:34:24 PM
Quote from: @rjen on April 13, 2022, 03:29:54 PMNoticed that the bookmark Name field pushes outside the scren on mobile devices due to the size=80 setting.

Adding a style="width:100%" fixes that..

MessageBookmarks.template.php
Change
<input type="text" id="title" name="title" size="80" maxlength="255" class="input_text" value="', $context['mb_title'], '">

To
<input type="text" id="title" name="title" style="width:100%" size="80" maxlength="255" class="input_text" value="', $context['mb_title'], '">

I think that you posted this in the wrong topic. This fix you provided is in regard to the Bookmarks mod.
Title: Re: Simple Mod Maker
Post by: mickjav on May 28, 2022, 04:47:39 PM
Just installed on my test forum I'll be playing with it as sounds like it will simplfy creating mods

thanks

just noticed:

2022-05-28.png
Title: Re: Simple Mod Maker
Post by: Bugo on May 28, 2022, 09:42:18 PM
I think this issue is related to a theme you are using.
Title: Re: Simple Mod Maker
Post by: Shades. on May 28, 2022, 11:28:13 PM
Quote from: Bugo on May 28, 2022, 09:42:18 PMI think this issue is related to a theme you are using.
Works/looks fine on my end!??

theme.png
Title: Re: Simple Mod Maker
Post by: mickjav on May 29, 2022, 05:42:56 AM
Quote from: Bugo on May 28, 2022, 09:42:18 PMI think this issue is related to a theme you are using.


Yep Just changed and works a treat. I'll reinstall that theme see if that corrects it.

thanks
Title: Re: Simple Mod Maker
Post by: Panoulis64 on April 26, 2023, 10:32:55 AM
Σου αφήνω μία μετάφραση στα Ελληνικά.  .greek.php
Title: Re: Simple Mod Maker
Post by: samozin on February 03, 2024, 08:46:10 PM
thanks Bugo  but i think we need video tutorial for using this
i dont know how to put text field in admin area that makes me able to put menu button

and to know the modsettings that have selected in admin area ( i mean i choosed board 1 and board 2 ...> how o express that on my code that gets latest topics from the selected boards) .

Title: Re: Simple Mod Maker
Post by: Bugo on March 13, 2024, 11:12:27 AM
This mod is just a billet generator for creating mod frameworks, it will not write the code for you. So what tutorial can we talk about? About working with 4 tabs?

If someone is willing to sponsor Jeffrey Way's voiceover from laracasts.com, that would be wonderful :)