BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Anarchy Online Archive => 0.2.x Custom/Unofficial Modules => Topic started by: Glarawyn on December 29, 2006, 12:35:22 am

Title: New Module Settings for 0.2.X
Post by: Glarawyn on December 29, 2006, 12:35:22 am
I backported the BeBot 0.3 version of my settings module to BeBot 0.2.X. This module replaces my previous settings module for 0.2.X (http://bebot.link/index.php/topic,508.0.html).

Before using this module, you should drop your current module_settings table. This new module uses the same format as BeBot 0.3 does.

You can read all about this module in the BeBot Wiki Working with the Settings Core module and global settings array (http://bebot.link/wiki/doku.php?id=settings).

Hopefully I'll get my modules that were using the previous version of my settings module up to date soon. :)

In addition to providing functions for saving, retrieving, and managing settings, this new version provides a common settings interface for all settings using the module. You no longer have to code your own custom settings interface for every module!

Download: ModuleSettings_2.0.3.zip (http://zibby.isa-geek.net/bebot/ModuleSettings/ModuleSettings_2.0.3.zip)
Title: Re: New Module Settings for 0.2.X
Post by: Glarawyn on January 01, 2007, 10:17:59 pm
Found a small typo, new version 2.0.1.
Title: Re: New Module Settings for 0.2.X
Post by: pusikas on January 13, 2007, 11:00:47 am
I had to add a " ENGINE=InnoDB DEFAULT CHARSET=latin1" tot he CREATE TABLE statement to make it work for me. Bot complains about the primary key being over 1000 chars wide, otherwise. That is more of a problem with me not using a sane default character set for the database than a real problem with the module. :-[ Still, might help someone with similar trouble.
Title: Re: New Module Settings for 0.2.X
Post by: Glarawyn on January 16, 2007, 01:16:49 am
Found some bugs, and made some changes to 0.3 trunk. So here's a new version of the 0.2 core backport.

New:

New version of Module Settings for BeBot 0.2.X is 2.0.3. Download link updated.
Title: Re: New Module Settings for 0.2.X
Post by: jjones666 on January 16, 2007, 02:06:37 am
Thanks for your help tonite Glara and fast updates, much appreciated :-)

-jj-
Title: Re: New Module Settings for 0.2.X
Post by: ghostimage on January 17, 2007, 03:07:40 pm
Small note for newbies like me who haven't used previous version. This is a core module and so needs to go into the \core folder not \modules :)
Title: Re: New Module Settings for 0.2.X
Post by: Glarawyn on January 17, 2007, 09:21:26 pm
Small note for newbies like me who haven't used previous version. This is a core module and so needs to go into the \core folder not \modules :)

The zipfile contains path information, so you should be able to extract the zip right to your BeBot directory and have the files end up in the right place. That's why I pack all my releases into zip files anyway.  ;D
Title: Re: New Module Settings for 0.2.X
Post by: Xaun on March 03, 2007, 10:32:02 pm
I am soo lost on getting this one to work >_<
Title: Re: New Module Settings for 0.2.X
Post by: pusikas on March 04, 2007, 06:36:17 pm
But thanks to your extremely accurate description of your problems, we were able to solve them in no time. WTG!
Title: Re: New Module Settings for 0.2.X
Post by: mookie on March 04, 2007, 10:18:32 pm
Just a FYI,

I have this running on Vers 0.3.3 with PHP 5.1 and it is working great!
Looking forward to all modules using Glarawyn's work here!

Title: Re: New Module Settings for 0.2.X
Post by: Glarawyn on March 05, 2007, 06:12:44 pm
I am soo lost on getting this one to work >_<

Ask a question or state the problem you're having and we can help you. This module will do absolutely nothing for you unless other modules that you've downloaded require the settings module to function. Custom modules have to be coded to use the settings framework, without modules that use the settings framework, settings doesn't have anything to do. Does that make sense? ;)

SimplePortal 2.3.7 © 2008-2024, SimplePortal