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

 All Forums
 Announcements
 Announcements: Community
 Positions Open for Snitz Mod Guide Project
 New Topic  Reply to Topic
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 4

Etymon
Advanced Member

United States
2385 Posts

Posted - 29 May 2005 :  20:37:28  Show Profile  Visit Etymon's Homepage  Reply with Quote
Hi Raavin,

I'd like to email you on this. Is the email in your Snitz profile current?

Cheers,

Etymon
<
Go to Top of Page

Raavin
Starting Member

16 Posts

Posted - 02 June 2005 :  00:55:04  Show Profile  Reply with Quote
Yes it is Etymon. Cheers for the interest. Sorry it's taken me a bit to get back, I've been flat out with my 'real' work.

Feel free to drop me an email.

Cheers,

Jason<
Go to Top of Page

Etymon
Advanced Member

United States
2385 Posts

Posted - 02 June 2005 :  11:29:37  Show Profile  Visit Etymon's Homepage  Reply with Quote
An email has been sent. <

Edited by - Etymon on 02 June 2005 11:30:45
Go to Top of Page

meiyee
Starting Member

Malaysia
2 Posts

Posted - 04 July 2005 :  03:23:22  Show Profile  Reply with Quote
very sorry, I need to testing, thank you


quote:
Originally posted by Davio

We have been working on a Snitz Project for the past couple of months.

About the Project
The project is mainly to provide a documentation for users who are intrested in creating mods for thier forum. It will provide detailed information about every subroutine and function used in the forum code. Also detailed information about every database table and field used by the forum. Information on how to install mods and the security concerns a user should know about.

We believe mods shouldn't be created by just the admins or dev team members or the advanced snitz users. We believe all users should be able to mod thier forum to the way they want it. And give something back to the community.

What's Required?
I'm glad you asked. A lot of persons think you got to be a asp guru to write a document like this, but that's not really true. A basic knowledge of the VBScript language is enough. Here's a few other requirements:
  • Basic understanding of the Snitz Forums code
  • Have installed a mod and also created a mod of your own
  • Have a willingness to help
  • A little free time
Just a few hours during the week is enough. We don't have a deadline (just hoping to get it done before the year ends). So you can take your time.

What's in it for me?
You mean you wouldn't just do this for fun?
Your name and/or username will be included as being part of the Snitz Development team when the document is published. Right along side the rest of the other developers. How cool is that?

If you're insterested just post here or you can email me via this forum.

<
Go to Top of Page

meiyee
Starting Member

Malaysia
2 Posts

Posted - 04 July 2005 :  03:40:29  Show Profile  Reply with Quote
I need to ask some more question, how can I work out the forum which the reply will post under the column according to the topic I reply to? Thank you


quote:
Originally posted by Raavin

quote:
...But each time the instructions are different based on the mods they have already added...


You are so right. I'm developing a mod at the moment on the vanilla snitz forum but the version I have installed for someone else is the Serverhacker version. I created the mod myself and I am finding it difficult to migrate it over. That said, You have to have something as a base to work from ie the vanilla flavoured version.

Before I started playing with Snitz I didn't really know much about coding HTML, never mind VBScript, Javascript, SQL etc. I have used Snitz as a practical platform to learn the ropes. If it was a bit more clearly documented it would have made things easier.

The FAQ I was thinking about was taking concepts that were used over and over and describing them in more detail, going into a bit of a discussion about uses then providing links to occurrences. Ideally these would go both ways.

eg.

Retrieving Data from the Database
Single values into a variable

The ASP below outputs SQL which is used to retrieve a value from the REPLY_ID column(field) in the FORUM_REPLY table and places the value in as the Variable NewReplyID. Let's dissect the script.


            strSql = "SELECT Max(REPLY_ID) as NewReplyID "
            strSql = strSql & " FROM " & strActivePrefix & "REPLY "
            strSql = strSql & " WHERE FORUM_ID = " & Forum_ID
            strSql = strSql & "   and R_AUTHOR = " & rs("MEMBER_ID")
            set rs9 = my_Conn.Execute (strSql)
            NewReplyID = rs9("NewReplyID")
            rs9.close
            set rs9 = nothing


The 'Max'(refer to SQL reference for more info) keyword retrieves the highest number in the REPLY_ID column (depending on the conditions), while the 'as' keyword stores this value temporarily as the alias NewReplyID


            strSql = "SELECT Max(REPLY_ID) as NewReplyID "


Here we allocate which table we want to draw the data from. In Snitz, 'strActivePrefix' will insert the prefix for the name, in this case 'FORUM_', and the ampersand will concatenate the strings together giving 'FROM FORUM_REPLY'. To choose another table, replace reply with the table you are after or replace everything after the ampersand with an explicit string like "FROM FORUM_TOPIC"


            strSql = strSql & " FROM " & strActivePrefix & "REPLY "


This is the conditions part. WHERE allows you to refine the search to rows which contain certain criteria. In this case we only want the data from the row WHERE the data in the FORUM_ID column equals the value stored in Forum_ID AND the data in the R_AUTHOR matches the data currntly in the MEMBER_ID column. Both Forum_ID and rs("MEMBER_ID") can be replaced with other variables or explicit values like numbers or strings.


            strSql = strSql & " WHERE FORUM_ID = " & Forum_ID
            strSql = strSql & "   and R_AUTHOR = " & rs("MEMBER_ID")


There is a deeper explanation here (see constants reference) but suffice it t say that my_Conn.Execute (strSql) takes the SQL you generated above and...well executes it, opening a connection to the database called rs9.


            set rs9 = my_Conn.Execute (strSql)


This bit stores the value of NewReplyID (remember the alias above) and puts the value into a 'proper' variable which can be used as normal.


            NewReplyID = rs9("NewReplyID")


This bit cleans things up by closing the connection to the database then setting the value of rs9 back to zero


            rs9.close
            set rs9 = nothing



While the above is only my understanding of what's going on from experimentation, so is not entirely accurate, it's the sort of thing I'm talking about.


Thoughts-

In my own case of adding a field (it was a bit more complicated than that) there was a whole list of things to think about so I'd like to put together something which outlined a plan of attack like what files you need to look at, How Snitz locates certain data related to Categories, Forums, Topics and Replies and whether or not you will have to initialise variables on certain pages, the process flow for normal posting and expanding on this to acount for more advanced updating.

At the moment, I'm looking into seeing if I can get something that will export the code with coloured highlighting etc. to HTML. Then I'll see about adding links and popups. Some content to start with would be nice though.

Regards,
Raavin

<
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 04 July 2005 :  06:47:25  Show Profile  Reply with Quote
Meiyee, there is a testing forum here where you can test all the features of Snitz Forums 2000. If you have any questions, please start a new topic, rather than hijacking existing ones.

<

Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 23 July 2005 :  16:00:52  Show Profile  Visit AnonJr's Homepage  Reply with Quote
I had posted here yesterday and was directed back to this thread.. My questions stems from having stumbled across this thread looking for something else... and being unable to find it again when I wanted to ask.

I'm working on integrating this forum and two other programs I've developed into an Learning Management System for the hospital I work at. In order to do this in the way I would like, I need a better understanding of the inner workings of this forum.

If at all possible, I would like to find out if there has been any progress - official or otherwise. I am more than willing to give back any and all refinements on the documentation, and am more than willing to help in any way needed.

Thanks.
<
Go to Top of Page

muzishun
Senior Member

United States
1079 Posts

Posted - 30 October 2006 :  13:17:34  Show Profile  Visit muzishun's Homepage  Reply with Quote
So, I realize this is a massive thread resurrection, but I think this was one of those projects that really had a lot of merit. Davio, has this project been canceled or just put on hold while work continues on v4? I am still quite interested in helping where I can and where it's needed (and I'm sure others are as well).

Any news on the status of the Mod Guide?<

Bill Parrott
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 30 October 2006 :  21:11:11  Show Profile  Reply with Quote
I haven't gotten a lot of help in regards to the Mod Guide. The main problem is me not having the time to finish it. I would like someone to take over the project and complete it. It's not too difficult to do really. Just a lot of copy and pasting code.

And on top of that, need someone who is good at formatting a document so that it is easy to read, is needed. We have a looong document done by one of our members, that needs to be put into the guide, but formatted into sections so it is easy to read.

I haven't done much since earlier this year as you can see here: http://forum.snitz.com/mod_doc/
But I'll try and put some work into it, soon.<

Support Snitz Forums
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 31 October 2006 :  01:45:08  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message  Reply with Quote
I'm willing to complete it, Davio.
As I've already put some work into it I'd like to see this done. <

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

muzishun
Senior Member

United States
1079 Posts

Posted - 31 October 2006 :  02:04:15  Show Profile  Visit muzishun's Homepage  Reply with Quote
Well, I had originally offered my help as a proofreader, but over the past year or so, I've learned quite a bit about Snitz from tinkering around "under the hood", so to speak. I'd be willing to help take over the project if there was at least one other person who could help. There's still a lot for me to learn about Snitz, but I think I could contribute some knowledge and a fair amount of proofreading to the guide.<

Bill Parrott
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 31 October 2006 :  13:49:51  Show Profile  Visit AnonJr's Homepage  Reply with Quote
Are you wanting to keep adding the info to the javascripts like that? (did that make any sense? time for another cup of coffee.)

I ask so I can make sure I'm using the same format. I keep saying I'm going to help, but never quite get around to writing down what I stumble across...

Oh, and for some random and utterly useless trivia, that was my second post here up above...<

Edited by - AnonJr on 31 October 2006 13:50:03
Go to Top of Page

gary b
Junior Member

USA
267 Posts

Posted - 12 May 2007 :  18:40:25  Show Profile  Visit gary b's Homepage  Reply with Quote
Davio...

Per your suggestion, here is my post offering assistance.

Lots of posts... not much progress. As a Project Manager for some small projects, I would be hitting the booze! You have GOT to be frustrated. What can be done to get this project running again?!?

gary b
<

Edited by - gary b on 12 May 2007 18:41:16
Go to Top of Page

garyrobar
New Member

Canada
90 Posts

Posted - 15 June 2007 :  00:05:57  Show Profile  Visit garyrobar's Homepage  Reply with Quote
how perfect would a wiki be for the documentation project?<

SEO For Snitz Forum
Go to Top of Page

lcamara
Starting Member

USA
10 Posts

Posted - 21 June 2007 :  03:52:09  Show Profile  Reply with Quote
I don't suppose this "looong document" is available somewhere? I'd like to be able to see it as-is (even if it is hard to read, it would be better than nothing). Does it include descriptions of variables used in the code?

For example, I happened to stumble across an mlev check and wondered what that variable was for (and what were the possible values and their meanings)? I started looking for general documentation, but only found this thread through AnonJr's old thread, before I realized I should just search for the variable directly. While I got my answer (after trying a few threads in the "mlev variable" search result), it was qualified by an "I think, I'm a little rusty on this part" (happened to be a post by AnonJr, too).<
Go to Top of Page
Page: of 4 Previous Topic Topic Next Topic  
Previous Page | Next Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.12 seconds. Powered By: Snitz Forums 2000 Version 3.4.07