Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Help on Mod Creation
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Chiz
Junior Member

245 Posts

Posted - 18 March 2002 :  11:57:39  Show Profile
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  Show Profile  Visit crash's Homepage
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
Go to Top of Page

Nathan
Help Moderator

USA
7664 Posts

Posted - 18 March 2002 :  18:42:01  Show Profile  Visit Nathan's Homepage
Or you can visit this topic for the official dbs spec.

http://forum.snitz.com/forum/topic.asp?ARCHIVE=true&TOPIC_ID=18522

  Nathan Bales - Romans 15:13
----------------------------------

Snitz Exchange | Do's and Dont's
Go to Top of Page

Chiz
Junior Member

245 Posts

Posted - 18 March 2002 :  23:14:41  Show Profile
Thanks for the info guys. Really comprehensive.

Cheers,
Chiz
___________
Visit http://www.palmvenue.com - "Where Palm OS users and developers meet."
Mobile Edition: http://www.palmvenue.com/mobile
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 19 March 2002 :  04:12:57  Show Profile  Visit HuwR's Homepage
Chiz,

You should no use boolean fields ,use an int instead, use 1 or 0 for tru /false

Go to Top of Page

Chiz
Junior Member

245 Posts

Posted - 27 March 2002 :  13:00:57  Show Profile
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
Go to Top of Page

crash
Advanced Member

Netherlands
2064 Posts

Posted - 27 March 2002 :  17:52:42  Show Profile  Visit crash's Homepage
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
Go to Top of Page

Chiz
Junior Member

245 Posts

Posted - 28 March 2002 :  04:42:22  Show Profile
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
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 28 March 2002 :  08:36:34  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
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
Go to Top of Page

Chiz
Junior Member

245 Posts

Posted - 29 March 2002 :  03:50:48  Show Profile
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
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.3 seconds. Powered By: Snitz Forums 2000 Version 3.4.07