Author |
Topic |
|
hawkdrean
New Member
73 Posts |
|
withanhdammit
Junior Member
USA
236 Posts |
Posted - 17 March 2005 : 20:17:00
|
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 |
|
|
hawkdrean
New Member
73 Posts |
Posted - 17 March 2005 : 22:39:04
|
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 |
|
|
withanhdammit
Junior Member
USA
236 Posts |
Posted - 17 March 2005 : 22:59:37
|
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 |
|
|
hawkdrean
New Member
73 Posts |
Posted - 18 March 2005 : 00:08:28
|
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 |
|
|
modifichicci
Average Member
Italy
787 Posts |
Posted - 18 March 2005 : 02:57:24
|
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 |
|
|
withanhdammit
Junior Member
USA
236 Posts |
Posted - 18 March 2005 : 06:59:39
|
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 |
|
|
hawkdrean
New Member
73 Posts |
|
modifichicci
Average Member
Italy
787 Posts |
Posted - 19 March 2005 : 05:52:04
|
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 |
|
|
hawkdrean
New Member
73 Posts |
Posted - 19 March 2005 : 14:41:08
|
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? |
|
|
hawkdrean
New Member
73 Posts |
Posted - 19 March 2005 : 17:04:42
|
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 |
|
|
modifichicci
Average Member
Italy
787 Posts |
|
hawkdrean
New Member
73 Posts |
Posted - 19 March 2005 : 19:14:04
|
It worked but if foul up my forum I'm using Image Forums 2001 with 3D Portal
|
|
|
modifichicci
Average Member
Italy
787 Posts |
Posted - 20 March 2005 : 05:23:18
|
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 |
|
|
hawkdrean
New Member
73 Posts |
Posted - 20 March 2005 : 14:14:16
|
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. |
|
|
|
Topic |
|