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)
 I realy ned help to this too mods
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

serritzlev
Junior Member

Denmark
291 Posts

Posted - 30 June 2004 :  11:31:48  Show Profile  Visit serritzlev's Homepage
Hi there i realy ned help from the greath programmers there is here.

I have download some mod from max webportall and spend lot of time to try to integrate this in my forums.

I have to insert this code here in inc_func_common.asp
becourse this is write to the old snitz v3.1/3.2 as maxwebportal use

function getMemberNumber(fUser_Name)

	'## Forum_SQL
	strSql = "SELECT " & strMemberTablePrefix & "MEMBERS.MEMBER_ID "
	strSql = strSql & " FROM " & strMemberTablePrefix & "MEMBERS "
	strSql = strSql & " WHERE M_NAME = '" & fUser_Name & "'"

	set rsGetMemberID = my_Conn.Execute(strSql)

	if rsGetMemberID.EOF or rsGetMemberID.BOF then
		getMemberNumber = -1
		exit function
	end if
	getMemberNumber = rsGetMemberID("MEMBER_ID")
end function





Edited by - serritzlev on 02 July 2004 18:10:47

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 30 June 2004 :  11:36:03  Show Profile
What is your actual question/problem?

By the way......
getMemberNumber(fUser_Name) is out-dated, if you have 3.4 you can replace all instances of
getMemberNumber(fUser_Name)
with
MemberID


The UK MkIVs Forum
Go to Top of Page

serritzlev
Junior Member

Denmark
291 Posts

Posted - 01 July 2004 :  15:24:14  Show Profile  Visit serritzlev's Homepage
Thanks David that works fine, and i have now remove that funktions.


Edited by - serritzlev on 02 July 2004 18:11:36
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.17 seconds. Powered By: Snitz Forums 2000 Version 3.4.07