Author |
Topic |
|
Chiz
Junior Member
245 Posts |
Posted - 18 March 2002 : 11:57:39
|
Hi guys,
I've just done a modification on the emoticons. This one is simple extension of the original icon legend popup. Below is a screenshot: (see below)
This uses a table in the database that will hold the code, description and the image filename. I plan to release this as a mod.
I understand that to have a script automatically create the table, I need to have a dbs file something like:
Setup for YetMoreIcons Mod [CREATE] ONLINE
DisplayInLegend#Boolean Description#varchar(50) Code#varchar(50) Filename#varchar(50) [END]
My questions are: 1. Am I correct for Boolean data type or is it YesNo? 2. What if I want to have the newly created table to be automatically populated with records, how am I going to do that?
(I how I posted this topic on the correct forum.)
Thanks in advance for your help.
Cheers, Chiz ___________ Visit http://www.palmvenue.com - "Where Palm OS users and developers meet." Mobile Edition: http://www.palmvenue.com/mobile
Edited by - Chiz on 29 March 2002 03:47:19 |
|
crash
Advanced Member
Netherlands
2064 Posts |
Posted - 18 March 2002 : 17:16:57
|
you are looking in the right direction, however, the code is not right.
see here: http://www.crashsite.nl/topic.asp?topic_id=81 for info on creating a DBS file.
it should be something like this:
[CREATE] TABLE_NAME (S_OMEVARIABLE,S_OMEVALUE)#('strVariable','strValue') [END]
the above is just to give you a head start. visit the topic for more info.
Crash's Site | Crash is from
Edited by - crash on 27 March 2002 17:43:14 |
|
|
Nathan
Help Moderator
USA
7664 Posts |
|
Chiz
Junior Member
245 Posts |
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 19 March 2002 : 04:12:57
|
Chiz,
You should no use boolean fields ,use an int instead, use 1 or 0 for tru /false
|
|
|
Chiz
Junior Member
245 Posts |
Posted - 27 March 2002 : 13:00:57
|
I'm almost finished with the Admin page. In connection, I have some questions that I would like to ask:
1. Is there a Dev/UAT group that checks, tests and approves MODs? I just would like to be sure if my MOD passes the standards.
2. I can't seem to get my dbs_XXX.asp to work. Tried changing the folder Security settings as well as the database security and my page still won't load successfully.
3. Once I'm finished with the MOD Admin page, how would users be able to access it? Will a link be automatically added to the Admin Section page for users to click?
4. I needed to set some of my columns to "Allow Zero Length = Yes". Is it fine to do so or you recommend checking for null value and substituting a space instead?
Thank you very much in advance.
Cheers, Chiz ___________ Visit http://www.palmvenue.com - "Where Palm OS users and developers meet." Mobile Edition: http://www.palmvenue.com/mobile |
|
|
crash
Advanced Member
Netherlands
2064 Posts |
Posted - 27 March 2002 : 17:52:42
|
1. what would you like to know? 2. ... 3. they should upload the DBS file to their forum folder and then it should appear in the pulldown when they click MOD Setup 4. depends on what you want with the column/value...
Crash's Site | Crash is from
|
|
|
Chiz
Junior Member
245 Posts |
Posted - 28 March 2002 : 04:42:22
|
quote: 1. what would you like to know?
If there are some folks to whom MODs are submitted to be checked for accuracy, bugs and Snitz coding standards and if the MOD is acceptable or still needs more work to be done.
quote: 3. they should upload the DBS file to their forum folder and then it should appear in the pulldown when they click MOD Setup
Yup, got that already. What I mean is how will an Admin access the MOD's Admin page? You know, like how would an Admin be able to access my MOD's admin page, do they need to type the page's file name or do I need to provide a link/URL to the page?
quote: 4. depends on what you want with the column/value...
There are optional fields/columns used in my MOD so they will definitely contain blank data. I'm wondering if leaving the column to Allow Zero Length = Yes does not conform with Snitz standards.
Cheers, Chiz ___________ Visit http://www.palmvenue.com - "Where Palm OS users and developers meet." Mobile Edition: http://www.palmvenue.com/mobile |
|
|
OneWayMule
Dev. Team Member & Support Moderator
Austria
4969 Posts |
Posted - 28 March 2002 : 08:36:34
|
quote:
If there are some folks to whom MODs are submitted to be checked for accuracy, bugs and Snitz coding standards and if the MOD is acceptable or still needs more work to be done.
Simply post your MOD in the MOD Add-On Forum (W/Code) so other Snitz users and (MOD) developers can test it.
quote: Yup, got that already. What I mean is how will an Admin access the MOD's Admin page? You know, like how would an Admin be able to access my MOD's admin page, do they need to type the page's file name or do I need to provide a link/URL to the page?
Add the instructions to add a link to your MOD admin page in your readme.txt of your MOD, ie. like that:
quote: find this code in admin_home.asp (line 81):
<LI><a href="admin_moderators.asp">Moderator Setup</a></LI> <LI><a href="admin_emaillist.asp">Email List</a></LI>
add the following code below the one above:
<LI><a href="admin_yourmod.asp">Your MOD Administration</a></LI>
------------------------------------------------- Installation Guide | Do's and Dont's | MODs |
|
|
Chiz
Junior Member
245 Posts |
Posted - 29 March 2002 : 03:50:48
|
The finished Categorized Icons Mod:
The MoreSmilies MOD extends the default Snitz Forums 2000 smilies/icon system by letting forum Admins add and remove smilies and icons. In addition, the MoreSmilies MOD offer the following features:
1. allows removing of some or all of the icons from the default icon set; 2. icons can now have up to three (3) codes, e.g., , [:-)], :), it even allows codes without the square brackets ([]); 3. categories allow icons to be placed in logical groups; 4. allows for displaying icons/categories in diff. orders; and 5. customizable popup window size
The MOD is now ready and can be downloaded here.
Thanks, OneWayMule. I modified the ReadMe file based on your advice. I will also post this in the MOD Add-On Forum (W/Code).
Cheers, Chiz ___________ Visit http://www.palmvenue.com - "Where Palm OS users and developers meet." Mobile Edition: http://www.palmvenue.com/mobile
Edited by - Chiz on 05 April 2002 08:25:11 |
|
|
|
Topic |
|