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 21

@tomic
Senior Member

USA
1790 Posts

Posted - 26 September 2002 :  16:38:30  Show Profile  Visit @tomic's Homepage  Send @tomic an ICQ Message
quote:
My install does not show the active number of unread messages count beside the link to Private Messages. Is that turned on somewhere or did I mess up the code?


No, that is something i just haven't gotten around to adding yet. So it's working properly.

@tomic

SportsBettingAcumen.com
Go to Top of Page

stwilson
Junior Member

USA
385 Posts

Posted - 26 September 2002 :  16:56:54  Show Profile  Visit stwilson's Homepage
Thanks for your reply @tomic. I will wait for that helpful little addition.

STW.

Shannon
RidingArizona.com
Go to Top of Page

Fresdar
Starting Member

19 Posts

Posted - 29 September 2002 :  05:41:50  Show Profile
quote:
Originally posted by Yodabutt1

OK What have I done wrong?? Here's the error I'm getting:
Error Type:
Microsoft VBScript compilation (0x800A0400)
Expected statement
/forum/inc_header.asp, line 518

Here's my code..
' DEM --> End of Code added to show subscriptions if they exist
Response.Write " |" & vbNewline & _
" <a href=""members.asp""" & dWStatus("Current members of these forums...") & " tabindex=""-1""><acronym title=""Current members of these forums..."">Members</acronym></a>" & vbNewline & _
" |" & vbNewline
if strDBNTUserName <> "" and strPMStatus = "1" then
" <a href=""pm_view.asp""" & dWStatus("Check Your Private Messages...") & "

tabindex=""-1""><acronym title=""Check Your Private Messages..."">Private messages</acronym></a>" &

vbNewline & _
" |" & vbNewline
end if
" <a href=""search.asp"

The readme has an error which also shows Response.Write in front of " <a href=""search.asp" Not sure which is correct, but I've tried both a half dozen times. Not sure if I put the previous code in the readme in the right place as line 260 didn't seem to make any sense, so I put it at 87.
I've done the rest of the code additions but I've not yet seen any indication of PM being active.
Any help would be greatly appreciated!





Im getting the same error when I try to add that code. Any fixes yet on it?
Go to Top of Page

@tomic
Senior Member

USA
1790 Posts

Posted - 29 September 2002 :  05:53:18  Show Profile  Visit @tomic's Homepage  Send @tomic an ICQ Message
You definately need Response.Write in front of " <a href=""search.asp"
so that it looks like this:

Response.Write " <a href=""search.asp"

@tomic

SportsBettingAcumen.com

Edited by - @tomic on 29 September 2002 05:53:37
Go to Top of Page

Fresdar
Starting Member

19 Posts

Posted - 29 September 2002 :  06:03:14  Show Profile
' DEM --> End of Code added to show subscriptions if they exist
Response.Write " |" & vbNewline & _
" <a href=""members.asp""" & dWStatus("Current members of these forums...") & " tabindex=""-1""><acronym title=""Current members of these forums..."">Members</acronym></a>" & vbNewline & _
" |" & vbNewline
if strDBNTUserName <> "" and strPMStatus = "1" then
" <a href=""pm_view.asp""" & dWStatus("Check Your Private Messages...") & " tabindex=""-1""><acronym title=""Check Your Private Messages..."">Private messages</acronym></a>" & vbNewline & _
" |" & vbNewline
end if
Response.Write " <a href=""search.asp"

Above is the code im trying. Below is the error.

Microsoft VBScript compilation error '800a0400'

Expected statement

/heroes/mb/inc_header.asp, line 532

" <a href=""pm_view.asp""" & dWStatus("Check Your Private Messages...") & " tabindex=""-1""><acronym title=""Check Your Private Messages..."">Private messages</acronym></a>" & vbNewline & _
^

Go to Top of Page

@tomic
Senior Member

USA
1790 Posts

Posted - 29 September 2002 :  06:29:31  Show Profile  Visit @tomic's Homepage  Send @tomic an ICQ Message
Make it look like this:
Response.Write " <a href=""pm_view.asp""" & dWStatus("Check Your Private Messages...") & " tabindex=""-1""><acronym title=""Check Your Private Messages..."">Private messages</acronym></a>" & vbNewline & _

The fix is the red part.

@tomic

SportsBettingAcumen.com
Go to Top of Page

Fresdar
Starting Member

19 Posts

Posted - 29 September 2002 :  11:23:03  Show Profile
Thanks @tomic your the best. Works just fine now.
Go to Top of Page

MichaelA
Junior Member

USA
222 Posts

Posted - 01 October 2002 :  21:37:54  Show Profile
Someone please enlighten me. I had installed all of the changes in the readme.txt up to and including admin_home.asp. However, I have not found a way to create a private message. Would I be correct to say that one of the options following admin_home.asp MUST be installed in order to create private messages? It says "Private Message Options - Various Code Snippets Tp Add to PMS". Are they not so optional or did I miss something along the way?

Please enlighten me. Thanks.

Mike
Go to Top of Page

@tomic
Senior Member

USA
1790 Posts

Posted - 01 October 2002 :  21:41:57  Show Profile  Visit @tomic's Homepage  Send @tomic an ICQ Message
No you are correct and I uploaded a new readme.html just this morning that no longer contains the word "optional" for admin_home.asp or the dbs setup which puts default values in place for PMStatus and PMLimit.

@tomic

SportsBettingAcumen.com
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 02 October 2002 :  07:31:26  Show Profile
@tomic, you can probably do this faster than me ....

I'm trying to add the MSN IM icon to privateread.asp in the same vain as the other IM icons. I only downloaded your code the other day, so I'm guessing I have the latest version and I checked your demo site (I added some MSN details/tested/then deleted them) and no go

Thanks mate
Go to Top of Page

@tomic
Senior Member

USA
1790 Posts

Posted - 02 October 2002 :  13:25:32  Show Profile  Visit @tomic's Homepage  Send @tomic an ICQ Message
OK, I have updated the zip with MSN support.

@tomic

SportsBettingAcumen.com
Go to Top of Page

@tomic
Senior Member

USA
1790 Posts

Posted - 02 October 2002 :  13:30:20  Show Profile  Visit @tomic's Homepage  Send @tomic an ICQ Message
I also changed the link in inc_header.asp so that if you have new Private Messages it says how many new messages you have. ex: Members | Private Messages(3 New) | Search

@tomic

SportsBettingAcumen.com
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 02 October 2002 :  16:42:48  Show Profile
Thanks mate - much appreciated
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 02 October 2002 :  16:54:24  Show Profile
@tomic. I found a problem with the ICQ icon in privateread.asp

Old code :


	if strICQ = "1" then
		if strMICQ <> " " then
			Response.Write	"     <a href=""JavaScript:openWindow('pop_messengers.asp?mode=ICQ&ID=" & strMICQ & "&M_NAME=" & ChkString(strMName,"urlpath") & "')""><img src=""http://online.mirabilis.com/scripts/online.dll?icq=" & strMICQ & "&img=5"" height=""15"" width=""15"" alt=""Send " & strMName & " an ICQ Message"" border=""0"" align=""absmiddle"" hspace=""6""></a>" & vbNewLine
		end if
	end if


New Code :


	if strICQ = "1" then
		if strMICQ <> " " then
			Response.Write	"     <a href=""JavaScript:openWindow('pop_messengers.asp?mode=ICQ&ID=" & strMID & "')""><img src=""http://online.mirabilis.com/scripts/online.dll?icq=" & strMICQ & "&img=5"" height=""15"" width=""15"" alt=""Send " & strMName & " an ICQ Message"" border=""0"" align=""absmiddle"" hspace=""6""></a>" & vbNewLine
		end if
	end if

Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 02 October 2002 :  17:03:50  Show Profile
Another quick one ....

I changed all references of Member_Name to strMName, that puts the user name in the bubble text for the homepage and MSN link

GREAT mod - I held back on my 3.4 upgrade because my users can't live without it
Go to Top of Page
Page: of 21 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