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: MOD Implementation
 Warning Mod
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

hawkdrean
New Member

73 Posts

Posted - 17 March 2005 :  19:12:51  Show Profile  Visit hawkdrean's Homepage
I try to put this mod on my forum and the information in the readme dose not look anything like what I see in post.asp & topic.asp I like to use this mod but it need to be redone to work with version 3.4.05

http://www.snitzbitz.com/mods/details.asp?Version=All&mid=204

withanhdammit
Junior Member

USA
236 Posts

Posted - 17 March 2005 :  20:17:00  Show Profile  Visit withanhdammit's Homepage  Send withanhdammit an ICQ Message
Did you download the right version? If you scroll down the page a bit, there is already a version written for 3.4.xx

h
Go to Top of Page

hawkdrean
New Member

73 Posts

Posted - 17 March 2005 :  22:39:04  Show Profile  Visit hawkdrean's Homepage
That one is a Add-on mod to the top one I download both of them and went I could not get the first one to work I upload the add-on on and it dose nothing
Go to Top of Page

withanhdammit
Junior Member

USA
236 Posts

Posted - 17 March 2005 :  22:59:37  Show Profile  Visit withanhdammit's Homepage  Send withanhdammit an ICQ Message
You're right, I went to the wrong place on SnitzBitz...what in post.asp and topic.asp looks wrong? I just looked through the code, and while I haven't tried to install it, it looks like it's right.

h
Go to Top of Page

hawkdrean
New Member

73 Posts

Posted - 18 March 2005 :  00:08:28  Show Profile  Visit hawkdrean's Homepage
Well I'll wait maybe someone will work on the code fixed what is in topic.asp & post.asp to work with version 3.4.05
Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 18 March 2005 :  02:57:24  Show Profile  Visit modifichicci's Homepage
It's possible you have to made some changes in inc_warning functions.asp
Where you find rsTopic("M_NAME") or similar, it has to be changed in the variable assigned by topic
Member_Name = rsTopic("M_NAME")
Member_ReceiveMail = rsTopic("M_RECEIVE_EMAIL")
Member_AIM = rsTopic("M_AIM")
Member_ICQ = rsTopic("M_ICQ")
Member_MSN = rsTopic("M_MSN")
Member_YAHOO = rsTopic("M_YAHOO")
Member_Title = rsTopic("M_TITLE")
Member_Homepage = rsTopic("M_HOMEPAGE")
TMember_ID = rsTopic("MEMBER_ID")
Member_Level = rsTopic("M_LEVEL")
Member_Posts = rsTopic("M_POSTS")
Member_Country = rsTopic("M_COUNTRY")
Topic_Date = rsTopic("T_DATE")
Topic_Subject = rsTopic("T_SUBJECT")
Topic_Author = rsTopic("T_AUTHOR")
etc...
That is because I think Crash have written the mod for an old version of snitz
So where you find a reference to an rs (something) look for tyhe variable assigned in topic and put it instead.
I can look at the mod this evening and channge the file.

Added:
take a look here:
http://www.forums2001.ca/forum/topic.asp?TOPIC_ID=2644

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum

Edited by - modifichicci on 18 March 2005 03:03:09
Go to Top of Page

withanhdammit
Junior Member

USA
236 Posts

Posted - 18 March 2005 :  06:59:39  Show Profile  Visit withanhdammit's Homepage  Send withanhdammit an ICQ Message
Thanks modifichicci,

I d/l this and was gonna play with it today to see if I could do anything with it. Looks like you've already got it taken care of. I'll take the changes you spec'd above and use them for my installation as well.

h
Go to Top of Page

hawkdrean
New Member

73 Posts

Posted - 18 March 2005 :  14:50:40  Show Profile  Visit hawkdrean's Homepage
Still can't get to www.forums2001.ca IE & Firefox times out I would like to try the new warning files.

www.forums2001.ca/forum/topic.asp?TOPIC_ID=2644" target="_blank">http://www.forums2001.ca/forum/topic.asp?TOPIC_ID=2644
Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 19 March 2005 :  05:52:04  Show Profile  Visit modifichicci's Homepage
inc_warning_functions.asp

%>
<script language="JavaScript">
<!-- hide from JavaScript-challenged browsers
function openWindowWarning1(url) {
  popupWin = window.open(url,'new_page','width=400,height=250')
}
function loadWindow(){
storeObjects;
changecontent;
}
window.onload=loadWindow
// done hiding -->
</script>
<%
Function chkWarningTopic()

	If Member_Warn > "0" Then
		Response.Write	"<font size=" & strDefaultFontSize & " color=red>" & vbNewLine &_
						"<b>Warning:</b> " & vbNewLine &_
						"<a href=""Javascript:openWindowWarning1('pop_warning_message.asp?M_NAME=" & Member_Name & "')"">" & vbNewLine &_
						"<img src=""" & strImageURL & "icon_warning" & Member_Warn & ".gif"" border=""0"">" & vbNewLine &_
						"</a>"
	End If

End Function

Function chkWarningReply()

	If Reply_Warn  > "0" Then
		Response.Write	"<font size=" & strDefaultFontSize & " color=red>" & vbNewLine &_
						"<b>Warning:</b> " & vbNewLine &_
						"<a href=""Javascript:openWindowWarning1('pop_warning_message.asp?M_NAME=" & Reply_MemberName & "')"">" & vbNewLine &_
						"<img src=""" & strImageURL & "icon_warning" & Reply_Warn & ".gif"" border=""0"">" & vbNewLine &_
						"</a>"
	End If

End Function
%>


In topic.asp
find
", M.M_TITLE, M.M_HOMEPAGE, M.MEMBER_ID, M.M_LEVEL, M.M_POSTS, M.M_COUNTRY, M.M_DATE, M.M_LASTHEREDATE, M.M_AVATAR_URL" & _

add M.M_WARNMESS, M.M_WARNICON such as:
", M.M_TITLE, M.M_HOMEPAGE, M.MEMBER_ID, M.M_LEVEL, M.M_POSTS, M.M_COUNTRY, M.M_DATE, M.M_LASTHEREDATE, M.M_AVATAR_URL, M.M_WARNMESS, M.M_WARNICON" & _

find
Member_Avatar = rsTopic("M_AVATAR_URL")

add below
Member_Warn = rsTopic("M_WARNICON")

find
strSql = strSql & ", M.M_TITLE, M.MEMBER_ID, M.M_HOMEPAGE, M.M_LEVEL, M.M_POSTS, M.M_COUNTRY, M.M_DATE, M.M_LASTHEREDATE, M.M_AVATAR_URL"

add M.M_WARNMESS, M.M_WARNICON such as:
strSql = strSql & ", M.M_TITLE, M.MEMBER_ID, M.M_HOMEPAGE, M.M_LEVEL, M.M_POSTS, M.M_COUNTRY, M.M_DATE, M.M_LASTHEREDATE, M.M_AVATAR_URL, M.M_WARNMESS, M.M_WARNICON"ů

find
rM_AVATAR_URL = 15 or similar if you have no avatar

add
rM_WARNMESS = 16
rM_WARNICON = 17
and renumber the following data (18 - 19 - etc.)


after
Reply_MemberAvatar = arrReplyData(rM_AVATAR_URL, iForum) or similar if you have not avatar
add
Reply_WarnMess = arrReplyData(rM_WARNMESS, iForum)
Reply_Warn = arrReplyData(rM_WARNICON, iForum)

then add the Call chkWarningTopic and Call chkWarningReply
where crash says

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum
Go to Top of Page

hawkdrean
New Member

73 Posts

Posted - 19 March 2005 :  14:41:08  Show Profile  Visit hawkdrean's Homepage
What line do I add this one

<% '######### Crash's Additional Admin Options MOD 1.00 ######### %>

<% '######### Crash's Warn Member MOD ######## %>
<% Call chkWarningReply %>
<% '######### Crash's Warn Member MOD ######## %>

<td bgcolor="<% =CColor %>" <% if (AdminAllowed = 1) then %>colspan="3"<% else %>colspan="2"<% end if %> valign="top">
<a name="<% =rsReplies("REPLY_ID") %>"></a>


and this one


<% '######### Crash's Additional Admin Options MOD 1.00 ######### %>

<% '######### Crash's Warn Member MOD ######## %>
<% Call chkWarningTopic %>
<% '######### Crash's Warn Member MOD ######## %>

<td bgcolor="<% =strForumFirstCellColor %>" <% if (AdminAllowed = 1) then %>colspan="3"<% else %>colspan="2"<% end if %> valign="top">


I can not find them in topic.asp anywhere to replace them so do I add them?
Go to Top of Page

hawkdrean
New Member

73 Posts

Posted - 19 March 2005 :  17:04:42  Show Profile  Visit hawkdrean's Homepage
I try to added the code to topic.asp and could not get it to work

Edited by - hawkdrean on 19 March 2005 17:05:19
Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 19 March 2005 :  17:29:15  Show Profile  Visit modifichicci's Homepage
Try this topic, it's a text version change it to asp

topic file

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum
Go to Top of Page

hawkdrean
New Member

73 Posts

Posted - 19 March 2005 :  19:14:04  Show Profile  Visit hawkdrean's Homepage
It worked but if foul up my forum I'm using Image Forums 2001 with 3D Portal

Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 20 March 2005 :  05:23:18  Show Profile  Visit modifichicci's Homepage
Ok you have to find the previous lines and add the code after them..
what version of Imgage forum do you have?
3D portal 3.05 not translator?
or translator?
I'll find the lines where you have to insert the crash code to the subroutines
or try again to go to the link I have posted before to image topic, there are lines and code to insert.

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum

Edited by - modifichicci on 20 March 2005 05:25:10
Go to Top of Page

hawkdrean
New Member

73 Posts

Posted - 20 March 2005 :  14:14:16  Show Profile  Visit hawkdrean's Homepage
I got 3D portal 3.05 and I was able to get it to work after I checked Image Forums 2001 site went they were up lastnight.
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.41 seconds. Powered By: Snitz Forums 2000 Version 3.4.07