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

s5design
Starting Member

United Kingdom
7 Posts

Posted - 08 October 2002 :  12:46:02  Show Profile
Thanks @tomic, it is a very useful MOD and has been working very well.

One query, around line 160 there are references to strHeadCellBGImage, but I can't find that it in any of your documentation or in inc_iconfiles.

Additionally, the message list doesn't alternate in colour because the value of the i variable is being changed to 10 somewhere in getMemberName - if I preserve it in another variable it is 1 before and 10 afterwards. Perhaps it's another MOD I've installed, or just the scope of the i I don't know, I haven't hunted it down.

I've used a local boolean variable instead to do the trick:

Dim bEvenRow
bEvenRow = False
			
do Until rsMessage.EOF
		    
	if bEvenRow then
		CColor = "AltForumCell"
	else
		CColor = "ForumCell"
	end if
	bEvenRow = not bEvenRow

The o variable used for the Outbox seems to be OK.

And being picky (sorry!) the message to display for the icon title if the sent message has been read has a redundant "yet" in line 312 "Steve has read the message yet."

But I do love it, honest!

-Steve-
Go to Top of Page

@tomic
Senior Member

USA
1790 Posts

Posted - 08 October 2002 :  13:00:13  Show Profile  Visit @tomic's Homepage  Send @tomic an ICQ Message
Sorry about the strheadCellBGImage. I thought I had deleted those. The alternating color issue is almost certainly because of another MOD because I have no problems with it.

I'll take a look at the wording at fix that up.

@tomic

SportsBettingAcumen.com
Go to Top of Page

s5design
Starting Member

United Kingdom
7 Posts

Posted - 08 October 2002 :  13:18:07  Show Profile
No worries, just thought I'd check! Thanks again

-Steve-
Go to Top of Page

padawan
Junior Member

200 Posts

Posted - 08 October 2002 :  13:31:46  Show Profile
sir @TOMIC,

On modifying inc_header.asp...

my line 260 and below looks like this:
"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 &


the suggestion is to insert these lines around 260:
' Get Private Message count for display
if strDBType = "access" then
strSqL = "SELECT count(M_TO) as [pmcount] "
else
...
...
...

somehow, i think the above section should be inserted somewhere else, like at the top of these lines instead:
call sForumNavigation()
Response.Write "</font></td>" & vbNewLine & _


Pls. confirm this assumption...

btw, i apologize for getting too many questions out in so short of a time frame...

- padawan




"...be mindful of the SnitzForce..."

Edited by - padawan on 08 October 2002 13:34:46
Go to Top of Page

@tomic
Senior Member

USA
1790 Posts

Posted - 08 October 2002 :  13:39:44  Show Profile  Visit @tomic's Homepage  Send @tomic an ICQ Message
Yes that's correct, above those lines so as not to mess up a bunch of unrelated code needlessly. I try to remember to say near because most people will have added MODs and that changes the line numbering. That could should work in almost any open spot near the top of inc_header.asp below where the connetion is opened.

@tomic

SportsBettingAcumen.com
Go to Top of Page

Beano_ie
Junior Member

Ireland
328 Posts

Posted - 08 October 2002 :  13:42:06  Show Profile  Visit Beano_ie's Homepage  Send Beano_ie an ICQ Message
padawan, I was unsure of this myself, view the following topic where it shows at the top where i inserted the code and a few guidelines from sir Atomic. The Mod is running perfectly

Hope I've helped.

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

Steve
Drogheda, Ireland @ www.droghedatown.com
Go to Top of Page

padawan
Junior Member

200 Posts

Posted - 08 October 2002 :  13:43:11  Show Profile
quote:
Originally posted by @tomic

Yes that's correct, above those lines so as not to mess up a bunch of unrelated code needlessly. I try to remember to say near because most people will have added MODs and that changes the line numbering. That could should work in almost any open spot near the top of inc_header.asp below where the connetion is opened.

@tomic



Great! Thanks, again.

"...be mindful of the SnitzForce..."
Go to Top of Page

padawan
Junior Member

200 Posts

Posted - 08 October 2002 :  13:49:26  Show Profile
quote:
Originally posted by Beano_ie

padawan, I was unsure of this myself, view the following topic where it shows at the top where i inserted the code and a few guidelines from sir Atomic. The Mod is running perfectly

Hope I've helped.

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



thank you, kindly as well, sir.

"...be mindful of the SnitzForce..."
Go to Top of Page

pknaz
Junior Member

USA
117 Posts

Posted - 08 October 2002 :  19:36:32  Show Profile  Visit pknaz's Homepage  Send pknaz an AOL message  Send pknaz an ICQ Message  Send pknaz a Yahoo! Message
it says 3.4.03 but the link is for 3.4.02?
Go to Top of Page

@tomic
Senior Member

USA
1790 Posts

Posted - 08 October 2002 :  21:10:38  Show Profile  Visit @tomic's Homepage  Send @tomic an ICQ Message
Yes, that's the name of the ZIP file. I decided not to keep changing the name of the ZIP because I thought that might become confusing. I am trying to be very clear about what's new in each update regardless of what the file is called.

@tomic

SportsBettingAcumen.com
Go to Top of Page

bbyy
Starting Member

18 Posts

Posted - 09 October 2002 :  13:40:47  Show Profile
Can someone help me out here, I did everything they ask me to for having the private messenger in my forum but when I go to my forum I get the following error
I think its quit easy to repear but for me its chinees


Microsoft VBScript compilation error '800a03f8'

Expected 'Sub'

/dbforum/forum/inc_header.asp, line 528

end if
----^
Go to Top of Page

@tomic
Senior Member

USA
1790 Posts

Posted - 09 October 2002 :  13:50:10  Show Profile  Visit @tomic's Homepage  Send @tomic an ICQ Message
Private Messenger or Private Messages? Can you post a link to a copy of your inc_header.asp? Something must have gone seriously wrong during the install.

@tomic

SportsBettingAcumen.com
Go to Top of Page

bbyy
Starting Member

18 Posts

Posted - 09 October 2002 :  14:08:23  Show Profile
I' ve downloaded at
http://www.skepticfriends.org/download/privatemessages3_4_02.zip

link to inc_header.asp

www.evm.be/dbforum/forum/inc_header.asp

thx for helping
Go to Top of Page

@tomic
Senior Member

USA
1790 Posts

Posted - 09 October 2002 :  14:59:56  Show Profile  Visit @tomic's Homepage  Send @tomic an ICQ Message
Could you save a copy of that as a text file(inc_header.txt)?

@tomic

SportsBettingAcumen.com
Go to Top of Page

DarrenLuxton
Junior Member

184 Posts

Posted - 09 October 2002 :  18:46:54  Show Profile
Just a quick question

If i wanted to move the

if strPMStatus = "1" then
%>
<!--#INCLUDE FILE="privatemess.asp"-->
<% end if
%>

to the top of my forums above everything else, where about would i put the code?


Thanks in advance.
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.19 seconds. Powered By: Snitz Forums 2000 Version 3.4.07