Author |
Topic  |
klinefsj
Starting Member
2 Posts |
Posted - 26 May 2004 : 18:19:49
|
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 |
|
klinefsj
Starting Member
2 Posts |
Posted - 27 May 2004 : 14:46:27
|
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.
|
 |
|
MarcelG
Retired Support Moderator
    
Netherlands
2625 Posts |
Posted - 27 May 2004 : 16:04:18
|
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 |
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
Posted - 27 May 2004 : 22:29:15
|
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 |
 |
|
cwolff
Starting Member
11 Posts |
Posted - 11 June 2004 : 02:35:52
|
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 |
 |
|
thermwox
Starting Member
4 Posts |
Posted - 05 September 2004 : 16:09:47
|
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 |
 |
|
finsklapphundkl
Starting Member
47 Posts |
Posted - 06 September 2004 : 03:49:31
|
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 |
 |
|
OneWayMule
Dev. Team Member & Support Moderator
    
Austria
4969 Posts |
|
finsklapphundkl
Starting Member
47 Posts |
Posted - 06 September 2004 : 04:28:25
|
Well, this didnt help me either.....:o(
No "Active users", no "Guestbook" and no "Site integration"......And no "welcomemail for new users"
Pffff |
 |
|
PeeWee.Inc
Senior Member
   
United Kingdom
1893 Posts |
Posted - 06 September 2004 : 04:44:20
|
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 |
 |
|
finsklapphundkl
Starting Member
47 Posts |
Posted - 06 September 2004 : 04:50:47
|
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 |
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
|
tribaliztic
Senior Member
   
Sweden
1532 Posts |
Posted - 07 September 2004 : 04:26:54
|
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 -
|
 |
|
finsklapphundkl
Starting Member
47 Posts |
Posted - 08 September 2004 : 02:58:48
|
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 |
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
|
Topic  |
|