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

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 Sun One working
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 3

klinefsj
Starting Member

2 Posts

Posted - 26 May 2004 :  18:19:49  Show Profile
I have gotten snitz to work on sun one 4.0.1.

I made the following changes to make it work.

inc_iconfiles.asp

line 150:
function getCurrentIcon(fIconName,fAltText,fOtherTags)
	if fIconName = "" then exit function
	if fOtherTags <> "" then fOtherTags = " " & fOtherTags
	if Instr(fIconName,"http://") > 0 then strTempImageUrl = "" else strTempImageUrl = strImageUrl
	tmpicons = split(fIconName,"|")
	if tmpicons(1) <> "" then fWidth = " width=""" & tmpicons(1) & """"
if UBound(tmpicons)=2 Then
	if tmpicons(2) <> "" then fHeight = " height=""" & tmpicons(2) & """"
end if
	getCurrentIcon = "<img src=""" & strTempImageUrl & tmpicons(0) & """" & fWidth & fHeight & " border=""0"" alt=""" & fAltText & """ title=""" & fAltText & """" & fOtherTags & " />"
end function



inc_func_common.asp
line 1402:
'## Function to limit the amount of records to retrieve from the database
Function TopSQL(strSQL, lngRecords)
	if ucase(left(strSQL,7)) = "SELECT " then
 		select case strDBType 
			case "sqlserver"
				TopSQL = "SET ROWCOUNT " & lngRecords & vbNewLine & strSQL & vbNewLine & "SET ROWCOUNT 0"
			case "access"
				TopSQL = "SELECT TOP " & lngRecords & mid(strSQL,7)
			case "mysql"
				if instr(strSQL,";") > 0 then
					strSQL1 = Mid(strSQL, 1, Instr(strSQL, ";")-1)
					if InstrRev(strSQL, ";") > 0 then
						strSQL2 = Mid(strSQL, InstrRev(strSQL, ";"))
						TopSQL = strSQL1 & " LIMIT " & lngRecords & strSQL2
					else
						TopSQL = strSQL1 & " LIMIT " & lngRecords
					end if 
				else
					TopSQL = strSQL & " LIMIT " & lngRecords
				end if
		end select
	else
		TopSQL = strSQL
	end if
End Function





admin_config_email.asp
line 186
		if (IsObjInstalled(theComponent(i)) or i=5) then



this last edit is to force chili mail to be allowed. I didn't take the time to solve the real issue here, but snitz sends email with this setup, so there is only an issue in the detection system.

I have not fully tested the functionality, but I know that the basics wokr and at this point it is all that I need. as I find other issues, I will post them.

I hope that this helps someone.

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 26 May 2004 :  19:00:44  Show Profile  Send ruirib a Yahoo! Message
Don't know what have you changed in those files, but looks like some changes to those files had been documented before:

http://forum.snitz.com/forum/topic.asp?TOPIC_ID=47362
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=47427

I'm not sure those changes will be enough. I can't find further Sun One threads, but somehow I got the impression that this was not enough to get it running.


Snitz 3.4 Readme | Like the support? Support Snitz too

Edited by - ruirib on 26 May 2004 19:01:26
Go to Top of Page

klinefsj
Starting Member

2 Posts

Posted - 27 May 2004 :  14:46:27  Show Profile
in the inc_iconfiles.asp, I trapped the error on tmpicons if it does not have height and width.

in the inc_func_common.asp, I trapped an error on giving mid a 0 position using this: if InstrRev(strSQL, ";") > 0 then

in the admin_config_email.asp I broke the detection function to allow cdonts (chili!soft) mail option.

I realize that these (or parts of them were documented, but the general impression that I got from the other threads was that sun one 4 would not work. also, as I have said, I have not checked all functionality, but I will repost with any other changes as neccessary.

quote:
Originally posted by ruirib

Don't know what have you changed in those files, but looks like some changes to those files had been documented before:

http://forum.snitz.com/forum/topic.asp?TOPIC_ID=47362
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=47427

I'm not sure those changes will be enough. I can't find further Sun One threads, but somehow I got the impression that this was not enough to get it running.

Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 27 May 2004 :  16:04:18  Show Profile  Visit MarcelG's Homepage
Nice work, and nice first two posts! Good start for you with Snitz and good news for the people forced to use a *nix enviroment.

portfolio - linkshrinker - oxle - twitter
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 27 May 2004 :  22:29:15  Show Profile  Send ruirib a Yahoo! Message
Keep us posted as to how the forum behaves. The impression you got was correct but I've failed to realize exactly what it was that led me to advise that. One of the Snitz Dev Team members will test Sun One with Snitz in a Linux environment to check whether those fixes are enough (they weren't even needed in a Windows environment, with Apache and Sun One).


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

cwolff
Starting Member

11 Posts

Posted - 11 June 2004 :  02:35:52  Show Profile
quote:
Originally posted by klinefsj

I have gotten snitz to work on sun one 4.0.1.
.
.
.
I hope that this helps someone.



You saved my day(s) - this works perfectly now

Anyone out there hosted by B-One - the above helps...solves all issues...

C Wolff - www.fcbayern.dk

Edited by - cwolff on 11 June 2004 02:36:53
Go to Top of Page

thermwox
Starting Member

4 Posts

Posted - 05 September 2004 :  16:09:47  Show Profile
Awesome!!! This forum, and this site must be the best organized, user friendly place I've ever been to! Congrats and thanx to everyone! tHermWoX
Go to Top of Page

finsklapphundkl
Starting Member

47 Posts

Posted - 06 September 2004 :  03:49:31  Show Profile  Visit finsklapphundkl's Homepage
cwolff;
Im hosted by B-One...My forum works fine, but I have a hell of a problem with different mods....

Ill test this lines. Hope they makes my day.....

Rune
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 06 September 2004 :  04:15:29  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
quote:
My forum works fine, but I have a hell of a problem with different mods....

That's probably because most MOD developers don't have the chance to test their MODs in a non-Windows environment.

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

finsklapphundkl
Starting Member

47 Posts

Posted - 06 September 2004 :  04:28:25  Show Profile  Visit finsklapphundkl's Homepage
Well, this didnt help me either.....:o(

No "Active users", no "Guestbook" and no "Site integration"......And no "welcomemail for new users"

Pffff
Go to Top of Page

PeeWee.Inc
Senior Member

United Kingdom
1893 Posts

Posted - 06 September 2004 :  04:44:20  Show Profile  Visit PeeWee.Inc's Homepage
Mod makers do the best they can.

Maybe you can email some of the other users who use one sun, like klinefsj, and see if he/she/they have any working MODS.

De Priofundus Calmo Ad Te Damine
Go to Top of Page

finsklapphundkl
Starting Member

47 Posts

Posted - 06 September 2004 :  04:50:47  Show Profile  Visit finsklapphundkl's Homepage
Please do not misunderstand. Im impressed by the mod-makers, snitzforums and all people here helping out!


Edited by - finsklapphundkl on 06 September 2004 05:16:45
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 06 September 2004 :  17:00:42  Show Profile  Send ruirib a Yahoo! Message
You could also get a Windows host, if you are really interested in using Snitz. Otherwise, you could try a forum code that works with Unix.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

tribaliztic
Senior Member

Sweden
1532 Posts

Posted - 07 September 2004 :  04:26:54  Show Profile  Visit tribaliztic's Homepage  Send tribaliztic an ICQ Message
I gave up and changed host, will soon be running my own server. Too much hassle, specially since b-one (at that time anyways) had a really crappy connection =)

/Tribaliztic
- www.gotlandrace.se -
Go to Top of Page

finsklapphundkl
Starting Member

47 Posts

Posted - 08 September 2004 :  02:58:48  Show Profile  Visit finsklapphundkl's Homepage
B-One do work ok, most of the time. Mod-problems is not a big deal as long as the discussionforum do work....My worst problem with B-One is formmail.

I run a club, and new members are ment to apply to the club via formmail......Suddenly the formmail quits working.....This is the second time.....

Is there a way to make the snitz-forum help me with this? Like new members can post their wish for memebership, which nobody but me can read?`

Rune
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 08 September 2004 :  11:34:23  Show Profile  Send ruirib a Yahoo! Message
You'd need to start a new post, in the Mod W/O Code forum, asking for that.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page
Page: of 3 Previous Topic Topic Next Topic  
Next Page
 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.4 seconds. Powered By: Snitz Forums 2000 Version 3.4.07