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)
 Sub-Forums Mod
 New Topic  Reply to Topic
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 15

FlorisMark
Starting Member

17 Posts

Posted - 14 December 2005 :  18:34:07  Show Profile  Reply with Quote
I've got nearly everything working now, the links on the frontpage, the colorschemes etc. Still working on the new forum bug....

I have written everything down that I had to change, is it interesting to place it here?<
Go to Top of Page

cladon
Junior Member

Belgium
110 Posts

Posted - 15 December 2005 :  03:10:32  Show Profile  Reply with Quote
yes<
Go to Top of Page

Bassman
Junior Member

Netherlands
256 Posts

Posted - 15 December 2005 :  04:23:29  Show Profile  Visit Bassman's Homepage  Reply with Quote
please do<
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 15 December 2005 :  09:16:27  Show Profile  Visit AnonJr's Homepage  Reply with Quote
I don't know if it will help or not, but about 4 posts down on pg. 6 of this topic I posted up an edited subforum.asp and over here I'd put together some other minor fixes.

Add them if they help, disregard them if you've got a better solution for the same problem. I'd intended to take over this project and get something released, and then I got swamped at work and hadn't really touched it much since. I'm going on vacation soon and had planned to work on it some then... but I've been planning a lot and not doing much lately. (I feel like the Vista team )

If you need any help, let me know. Post up what you got. I think one of us ought to gather all the scattered work thats been done and put up a good beta 2 version for those looking to add this. That way there isn't 9 pages of posts to go through to find all the bug fixes et al.<

Edited by - AnonJr on 15 December 2005 09:17:03
Go to Top of Page

ElPazzo
Junior Member

Austria
116 Posts

Posted - 23 December 2005 :  04:18:48  Show Profile  Visit ElPazzo's Homepage  Reply with Quote
did you manage to solve it?<

www.pet-needs.com
www.pet-needs.com/forum
www.pet-needs.de
www.translating-it.com
Go to Top of Page

rabufo
Junior Member

Italy
328 Posts

Posted - 31 January 2006 :  02:57:50  Show Profile  Reply with Quote
is there any news about?<
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 31 January 2006 :  10:45:28  Show Profile  Visit AnonJr's Homepage  Reply with Quote
I've got a better readme going, I've just got to get the line numbers and code for a standard Snitz installation since all I work with is the SBII implementation (I love having some CSS).

As side note, I've noticed that there are a lot of problems getting it to work with Image's forums... not sure why. Anyway, one problem at a time.

I wish I could give a specific date as to when I'll have something up, but with the increased training needs at work I've been pulled from programming to teaching in order to cover all the new classes that have had to be created. With the volume of work during the day (my regular duties still have to get done as well as all the new classes) I'm exhausted by the time I get home.

Like Visita, all I can say is "soon". <
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 23 December 2008 :  22:57:31  Show Profile  Reply with Quote
Here, AnonJr. I created a bottom-to-top instruction for post_info.asp; maybe it'll save you some work.

quote:
Starting at the end of Post_Info.asp:
 
	(1) Look for the lines marked O (old) at the line numbers provided.

	(2) Replace them with the lines marked N (new).
1520	
O
		strSql = strSql & " SET CAT_ID = " & cLng("0" & Request.Form("Category"))
N
		'	#### Sub-Forums Mod ####
		strSql = strSql & " SET CAT_ID = " & cLng("0" & intSetCategory)
		'	#### Sub-Forums Mod ####

1516
O
	if Err_Msg = "" then
N
	if Err_Msg = "" then
		'	#### Sub-Forums Mod ####
		'Update parent id
		if isnull(intSetParent) = FALSE then
				strSQL = "UPDATE " & strTablePrefix & "FORUM SET F_PARENT = " & intSetParent & " WHERE FORUM_ID = " & Forum_ID
		else
				strSQL = "UPDATE " & strTablePrefix & "FORUM SET F_PARENT = NULL WHERE FORUM_ID = " & Forum_ID
		end if
		my_Conn.Execute(strSQL)
		'End parent mod code -- JUST MAKE SURE YOU CHANGE THAT request.form variable!
		'	#### Sub-Forums Mod ####


1450
O
			strSql = strSql & " SET CAT_ID = " & cLng("0" & Request.Form("Category"))
N
		'	#### Sub-Forums Mod ####
			strSql = strSql & " SET CAT_ID = " & cLng("0" & intSetCategory)
		'	#### Sub-Forums Mod ####

1442
O
			strSql = strSql & " SET CAT_ID = " & cLng("0" & Request.Form("Category"))
N
		'	#### Sub-Forums Mod ####
			strSql = strSql & " SET CAT_ID = " & cLng("0" & intSetCategory)
		'	#### Sub-Forums Mod ####

1435
O
			strSql = strSql & " SET CAT_ID = " & cLng("0" & Request.Form("Category"))
N
		'	#### Sub-Forums Mod ####
			strSql = strSql & " SET CAT_ID = " & cLng("0" & intSetCategory)
		'	#### Sub-Forums Mod ####

1418
O
			strSQL = strSQL & " WHERE CAT_ID=" & cLng("0" & Request.Form("Category"))
N
		'	#### Sub-Forums Mod ####
			strSql = strSql & " WHERE CAT_ID = " & cLng("0" & intSetCategory)
		'	#### Sub-Forums Mod ####

1390
O
		strSql = strSql & " SET CAT_ID = " & cLng("0" & Request.Form("Category"))
N
		'	#### Sub-Forums Mod ####
		strSql = strSql & " SET CAT_ID = " & cLng("0" & intSetCategory)
		'	#### Sub-Forums Mod ####

1384
O
		bolCatIDChanged = (cSTr(rsCatIDCheck("CAT_ID")) <> ChkString(Request.Form("Category"), "SQLString"))
N
		'	#### Sub-Forums Mod ####
		bolCatIDChanged = (cSTr(rsCatIDCheck("CAT_ID")) <> ChkString(intSetCategory, "SQLString"))
		'	#### Sub-Forums Mod ####

1377
O
	if Err_Msg = "" then
N
	if Err_Msg = "" then
		'	#### Sub-Forums Mod ####
		'Parent Location Stuff MOD
		'## Forum_SQL - Update forum parent and cat_id in db
		'We changed lines from request.form("Category") to intSetCategory
		'Update parent id
		if isnull(intSetParent) = FALSE then
 		 	strSQL = "UPDATE " & strTablePrefix & "FORUM SET F_PARENT = " & intSetParent & " WHERE FORUM_ID = " & Forum_ID
		else
			strSQL = "UPDATE " & strTablePrefix & "FORUM SET F_PARENT = NULL WHERE FORUM_ID = " & Forum_ID
		end if
		my_Conn.Execute(strSQL)
		'End parent mod code -- JUST MAKE SURE YOU CHANGE THAT request.form variable!
		'	#### Sub-Forums Mod ####

1289
O
		strSql = strSql & Cat_ID
N
		'	#### Sub-Forums Mod ####
			strSql = strSql & intSetCategory
		if isnull(intSetParent) = FALSE then
			strSql = strSql & ", " & intSetParent
		end if
		'	#### Sub-Forums Mod ####

1270
O
		strSql = strSql & "(CAT_ID"
N
		strSql = strSql & "(CAT_ID"
		'	#### Sub-Forums Mod ####
		if isnull(intSetParent) = FALSE then
				strSql = strSql & ", " & intSetParent
		end if
		'	#### Sub-Forums Mod ####

1168
O
		strSql = strSql & Cat_ID
N
		'	#### Sub-Forums Mod ####
		strSql = strSql & intSetCategory
		if isnull(intSetParent) = FALSE then
				strSql = strSql & ", " & intSetParent
		end if
		'	#### Sub-Forums Mod ####

1146
O
		strSql = strSql & "(CAT_ID"
N
		strSql = strSql & "(CAT_ID"
		'	#### Sub-Forums Mod ####
		if isnull(intSetParent) = FALSE then
				strSql = strSql & ", F_PARENT"
		end if
		'	#### Sub-Forums Mod ####

1108-1110
O
		end if
	end if
end if
N
		end if
	end if
end if
'	#### Sub-Forums Mod ####
'Parent Location Stuff MOD
strParent = replace(request.form("Parent"), "'", "''")
if strParent <> "" then
		strParentType = left(strParent, 1)
		strParentValue = right(strParent, len(strParent) - 1)
end if
if strParentType = "F" then
		'## Forum_SQL - Find the CAT_ID if forum is now a subforum
		strSQL = "SELECT CAT_ID FROM " & strTablePrefix & "FORUM WHERE FORUM_ID = " & strParentValue & ";"
		set rsFindCat = my_Conn.Execute(strSQL)
		if not rsFindCat.eof then
				intCategoryValue = rsFindCat("CAT_ID")
		end if
		set rsFindCat = Nothing
		intSetParent = strParentValue
		intSetCategory = intCategoryValue
else
		intSetParent = NULL
		intSetCategory = strParentValue
end if
'End parent location stuff mod - Change variables below for adding a forum
'	#### Sub-Forums Mod ####



If you'd like, I'll convert all of them into a similar format.<

Edited by - Carefree on 23 December 2008 22:58:04
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 23 December 2008 :  23:21:28  Show Profile  Reply with Quote

Edited by - Carefree on 23 December 2008 23:23:34
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 23 December 2008 :  23:46:47  Show Profile  Reply with Quote
Go to Top of Page

top
Junior Member

150 Posts

Posted - 22 October 2014 :  10:40:07  Show Profile  Reply with Quote
I can not get the code for multiple sub-forums
All text and download links are not working Is there one that helps people in code code for the sub-forum with an explanation of the additions necessary?
Go to Top of Page
Page: of 15 Previous Topic Topic Next Topic  
Previous 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.16 seconds. Powered By: Snitz Forums 2000 Version 3.4.07