I made this script for my server and I thought some other people might find it useful. It will sync your ULX groups with the Simple Machine Forum Mod’s groups. This is my first full Lua script. I wish I could make the config easier but it’s as easy as it’s going to get.
It is currently only available for ULX and Simple Machine Forums but if there is a demand for other admin or forum mods to be supported I will add comparability.
Put ‘SMF-Group-Sync-master’ inside your addons folder.
Configuring this script is quite easy. Just input your database’s info at the top. Under that, you will see a table labeled GroupID. The ULX group name will equal the ID of the SMF group you want that ULX group to be synced with.
Finding SMF Group’s Group ID
To do this, on your SMF site, go to Admin > Members > Membergroups and click on the member group of which you want to find the ID. In the URL of the page, there will be a part that says group=x (ex: godzttt.com/index.php?action=admin;area=membergroups;sa=members;group=13). This is your SMF Group ID.
You will need to download and install MySQLOO.
Allow external connections to your SMF database.