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/Code)
 Private Messages 3.4.03
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 20

laser
Advanced Member

Australia
3859 Posts

Posted - 04 November 2002 :  21:03:43  Show Profile
Sorry, guys, I did actually download the latest MOD code after my post and found it there
Go to Top of Page

Alfred
Senior Member

USA
1527 Posts

Posted - 05 November 2002 :  15:22:03  Show Profile  Visit Alfred's Homepage
quote:
Demo available at: http://www.skepticfriends.org/forum2/

User Name: demo
Password: demo

User/pass didn't work!

Alfred
The Battle Group
CREDO
Go to Top of Page

@tomic
Senior Member

USA
1790 Posts

Posted - 05 November 2002 :  19:17:12  Show Profile  Visit @tomic's Homepage  Send @tomic an ICQ Message
Yes, I upgraded my entire forum to 3.4.03 and had to empty the testing records which included demo. Go ahead and make a new demo login to test.

@tomic

SportsBettingAcumen.com
Go to Top of Page

snoman
Starting Member

1 Posts

Posted - 08 November 2002 :  12:59:50  Show Profile
On The Other Admin Pages When You Submit Data It Says:
quote:

Configuration Posted!

Congratulations!

Back To Admin Home


Then It Redirects You, This Says That, Plus It Has The Forms To Submit New Data, While Its Redirecting...Its Nothin Big, But A Little Annoying...

Edited by - snoman on 08 November 2002 13:40:21
Go to Top of Page

timcadieux
Starting Member

Belarus
45 Posts

Posted - 11 November 2002 :  11:46:30  Show Profile
I installed this mod and it seems to work just fine, however, this line in the instructions..

"You could also substitute icon_newmes.gif(33|30) for icon_pmgotmail.gif "

Neither of these animated icons appears anywhere on my web pages...i just get the Static icon_pm_new.gif with the # of PMs in the PM table under my Active Users.

Where should i see either of those gifs? I'd like to use the second one somewhere prominintly on my page..

Thanx

quote:
why did you not post this at Snitz?


The main reasons why this was not posted at Snitz and why I might not post the bugs I find
directly at Snitz anymore are the ways "ruirib and HuwR" take pleasure to criticize just about
anything I post and seem to resent the fact that I want to improve and correct Snitz which, I agree,
serve as the original base for my own Forum.

These are some of the actions I find unacceptable:
ruirib and HuwR take fun to Delete some of my topics, of my replies, locked or move my topic.

A topic posted last week from me to Davio in "Help: MOD Implementation" Forum as been deleted.

Two replies in my topic as been deleted about a bug on snitz topic page:
http://forum.snitz.com/forum/topic.asp?whichpage=5.96&TOPIC_ID=44136#372029

A Fix to texanman as been deleted (first reply to texanman subject):
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=66162

One of my Multi-Language Topic on Snitz has disappeared last night
Multi-Language and Multi-Language Skin3D
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=40765

etc...

3 times I changed my password and the day after the same game start.

Since I send to HuwR a donation of $200 on December 22, 2006
this guy HuwR has never stop to pick on every thing I post on the Snitz Forum.

Edited by - timcadieux on 12 November 2002 19:11:58
Go to Top of Page

cnewman777
Starting Member

48 Posts

Posted - 04 December 2002 :  06:09:53  Show Profile
Great Mod! Very useful. However, I didn't like how if a user clicked on the "member list" icon then it would open a new window to show the list of members, then after clicking on a member to private message, it would open another window. So what I did, is after it opens the a new window to show the list of members, I added another javascript so that the opener window would be replaced with the url and not another new window.

On the pm_members.asp file, after line 53 add this:

function sendPM(name){
opener.location.replace ('privatesend.asp?method=Topic&mname=' +name);
window.close();
}

After adding those lines, you should have this:

<script language="JavaScript">
function ChangePage(fnum){
if (fnum == 1) {
document.PageNum1.submit();
}
else {
document.PageNum2.submit();
}
}

function sendPM(name){
opener.location.replace ('privatesend.asp?method=Topic&mname=' +name);
window.close();
}
</script>

Then replace line 174(approx):

Response.Write " <tr>" & vbNewLine & _
" <td bgcolor=""" & CColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><span class=""spnMessageText""><a href=""pop_profile.asp?mode=display&id=" & rsMembers("MEMBER_ID") & """ target=""_blank"">" & ChkString(rsMembers("M_NAME"),"display") & "</a></span>  <a href=""privatesend.asp?method=Topic&mname=" & rsMembers("M_NAME") & """ target=""pm_main"" OnClick=""self.close()""><img src=""" & strImageURL & "icon_pm1.gif"" width=""15"" height=""15"" alt=""Send Message"" border=""0""></a></font></td>" & vbNewLine & _
" </tr>" & vbNewLine

With this:

Response.Write " <tr>" & vbNewLine & _
" <td bgcolor=""" & CColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><span class=""spnMessageText""><a href=""pop_profile.asp?mode=display&id=" & rsMembers("MEMBER_ID") & """ target=""_blank"">" & ChkString(rsMembers("M_NAME"),"display") & "</a></span>  <a href=""#"" OnClick=""sendPM('" & rsMembers("M_NAME") & "')""><img src=""" & strImageURL & "icon_pm1.gif"" width=""15"" height=""15"" alt=""Send Message"" border=""0""></a></font></td>" & vbNewLine & _
" </tr>" & vbNewLine

Finally, go to line 300(approx)and replace this:

Response.Write " <tr>" & vbNewLine & _
" <td bgcolor=""" & CColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><span class=""spnMessageText""><a href=""pop_profile.asp?mode=display&id=" & rs("MEMBER_ID") & """ target=""_blank"">" & ChkString(rs("M_NAME"),"display") & "</a></span>  <a href=""privatesend.asp?method=Topic&mname=" & rs("M_NAME") & """ target=""pm_main"" OnClick=""self.close()""><img src=""" & strImageURL & "icon_pm1.gif"" width=""15"" height=""15"" alt=""Send Message"" border=""0""></a></font></td>" & vbNewLine & _
" </tr>" & vbNewLine

With this:


Response.Write " <tr>" & vbNewLine & _
" <td bgcolor=""" & CColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><span class=""spnMessageText""><a href=""pop_profile.asp?mode=display&id=" & rs("MEMBER_ID") & """ target=""_blank"">" & ChkString(rs("M_NAME"),"display") & "</a></span>  <a href=""#"" OnClick=""sendPM('" & rs("M_NAME") & "')""><img src=""" & strImageURL & "icon_pm1.gif"" width=""15"" height=""15"" alt=""Send Message"" border=""0""></a></font></td>" & vbNewLine & _
" </tr>" & vbNewLine


Edited by - cnewman777 on 04 December 2002 06:10:39
Go to Top of Page

irondribbles
New Member

61 Posts

Posted - 04 December 2002 :  23:46:08  Show Profile
Hi. I installed the mod according to instructions (I think at least) and my forum not longer works. I get this error:

--------------------------------
Microsoft VBScript compilation error '800a03ea'

Syntax error

/forum/inc_header.asp, line 260

' Get Private Message count for display
^
-----------------------------------

I did all the modding to the other asp pages, so it would be kind of a pain to go back and try to reset everything back to the way it was before I tried to install this mod. Any help?

Inc_header.txt located here if you wanna check it out: http://www.ironlife.com/inc_header.txt

Edited by - irondribbles on 04 December 2002 23:48:08
Go to Top of Page

irondribbles
New Member

61 Posts

Posted - 04 December 2002 :  23:49:31  Show Profile
PS - I use MS SQL 7.0 server if it makes a difference
Go to Top of Page

James
Average Member

USA
539 Posts

Posted - 05 December 2002 :  00:31:53  Show Profile  Visit James's Homepage
try changing your code that reads:

	"	popupWin = window.open(url,'new_page','width=470,height=200,scrollbars=yes')" & vbNewLine & _
	        ' Get Private Message count for display


to read:

	"	popupWin = window.open(url,'new_page','width=470,height=200,scrollbars=yes')" & vbNewLine

	' Get Private Message count for display


and see if it works.

*Interested in Radio Control*
*The RC Web Board - http://www.rcwebboard.com/*
Go to Top of Page

James
Average Member

USA
539 Posts

Posted - 05 December 2002 :  00:37:00  Show Profile  Visit James's Homepage

Looking again I see you have some some of your code intertwined with some javascript code there. It should look something like this instead:


'## START - REMOVAL, MODIFICATION OR CIRCUMVENTING THIS CODE WILL VIOLATE THE SNITZ FORUMS 2000 LICENSE AGREEMENT
Response.Write	"<meta name=""copyright"" content=""This Forum code is Copyright (C) 2000-02 Michael Anderson, Pierre Gorissen, Huw Reddick and Richard Kinser, Non-Forum Related code is Copyright (C) " & strCopyright & """>" & vbNewline 
'## END   - REMOVAL, MODIFICATION OR CIRCUMVENTING THIS CODE WILL VIOLATE THE SNITZ FORUMS 2000 LICENSE AGREEMENT

          
' Get Private Message count for display
	if strDBType = "access" then
		strSqL = "SELECT count(M_TO) as [pmcount] "
	else
        	strSqL = "SELECT count(M_TO) as pmcount "
    	end if
	strSql = strSql & " FROM " & strMemberTablePrefix & "MEMBERS , " & strTablePrefix & "PM "
	strSql = strSql & " WHERE " & strMemberTablePrefix & "MEMBERS.M_NAME = '" & strDBNTUserName & "'"
	strSql = strSql & " AND " & strMemberTablePrefix & "MEMBERS.MEMBER_ID = " & strTablePrefix & "PM.M_TO "
	strSql = strSql & " AND " & strTablePrefix & "PM.M_READ = 0 "

	Set rsPM = my_Conn.Execute(strSql)
	pmcount = rsPM("pmcount")

	rsPM.close
	set rsPM = nothing

Response.Write	"<script language=""JavaScript"" type=""text/javascript"">" & vbNewLine & _
		"<!-- hide from JavaScript-challenged browsers" & vbNewLine & _
		"function openWindow(url) {" & vbNewLine & _
		"	popupWin = window.open(url,'new_page','width=400,height=400')" & vbNewLine & _
		"}" & vbNewLine & _
		"function openWindow2(url) {" & vbNewLine & _
		"	popupWin = window.open(url,'new_page','width=400,height=450')" & vbNewLine & _
		"}" & vbNewLine & _
		"function openWindow3(url) {" & vbNewLine & _
		"	popupWin = window.open(url,'new_page','width=400,height=450,scrollbars=yes')" & vbNewLine & _
		"}" & vbNewLine & _
		"function openWindow4(url) {" & vbNewLine & _
		"	popupWin = window.open(url,'new_page','width=400,height=525')" & vbNewLine & _
		"}" & vbNewLine & _
		"function openWindow5(url) {" & vbNewLine & _
		"	popupWin = window.open(url,'new_page','width=450,height=525,scrollbars=yes,toolbars=yes,menubar=yes,resizable=yes')" & vbNewLine & _
		"}" & vbNewLine & _
		"function openWindow6(url) {" & vbNewLine & _
		"	popupWin = window.open(url,'new_page','width=500,height=450,scrollbars=yes')" & vbNewLine & _
		"}" & vbNewLine & _
		"function openWindowHelp(url) {" & vbNewLine & _
		"	popupWin = window.open(url,'new_page','width=470,height=200,scrollbars=yes')" & vbNewLine & _
		"}" & vbNewLine & _
		"// done hiding -->" & vbNewLine & _
		"</script>" & vbNewLine & _
		"<style type=""text/css"">" & vbNewLine & _
		"<!--" & vbNewLine & _

*Interested in Radio Control*
*The RC Web Board - http://www.rcwebboard.com/*
Go to Top of Page

irondribbles
New Member

61 Posts

Posted - 05 December 2002 :  02:08:46  Show Profile
Thanks. The readme instructions said to put the code in line 260 ... so me not knowing anything about coding just tossed it in there. I'll try your suggestion right now :) Thanks again for the quick reply, I really appreciate it.
Go to Top of Page

irondribbles
New Member

61 Posts

Posted - 05 December 2002 :  02:16:26  Show Profile
IT WORKS!! thanks a lot man :) It has only been 2 hours and already you helped me solve the problem.

But a new problem now. Whenever I reply to a topic, the reply gets strange. Starting a new thopic works fine, but when I reply it gets a little messed up. Here is a screenshot of what happens (where it says "6" I had typed a messege also):




Edited by - irondribbles on 05 December 2002 02:23:00
Go to Top of Page

@tomic
Senior Member

USA
1790 Posts

Posted - 05 December 2002 :  03:34:49  Show Profile  Visit @tomic's Homepage  Send @tomic an ICQ Message
Check the numbering of you array:

rM_NAME = 0
rM_RECEIVE_EMAIL = 1
rM_AIM = 2
rM_ICQ = 3
rM_MSN = 4
rM_YAHOO = 5
rM_PM = 6
rM_TITLE = 7
rMEMBER_ID = 8

and so on. The actual numbering will depend on the MODs you have installed. It doesn't stop at rMEMBER_ID = 8 but continues on until you are done. So wherever you inserted rM_PM = 6 alters the order. Make sure the numbering resumes and you don't have two 6's.

@tomic

SportsBettingAcumen.com
Go to Top of Page

irondribbles
New Member

61 Posts

Posted - 05 December 2002 :  03:37:14  Show Profile
oh, I noticed that! There was another thing with a 6 and I noticed the 6 sixes. Should I change that one's number to a 7 and so on? thnx man
Go to Top of Page

@tomic
Senior Member

USA
1790 Posts

Posted - 05 December 2002 :  03:58:50  Show Profile  Visit @tomic's Homepage  Send @tomic an ICQ Message
Yes, exactly. If you had two 6's renumbering should fix it.

@tomic

SportsBettingAcumen.com
Go to Top of Page
Page: of 20 Previous Topic Topic Next Topic  
Previous Page | 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.24 seconds. Powered By: Snitz Forums 2000 Version 3.4.07