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)
 PM ADD-ON: Send PMs from Member's Profiles
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

Aznknight
Senior Member

USA
1373 Posts

Posted - 26 May 2001 :  18:46:39  Show Profile  Send Aznknight an AOL message  Send Aznknight an ICQ Message
This addon to the private message mod allows you to send private messages from a member's profile.

demo: http://www.calvsa.net/snitz/pop_profile.asp?mode=display&id=2
download: goto http://www.calvsa.net/snitz/
You should see it in the MODS/ADD-ONs section or you can goto the "MODS" section and see it there.

There's also a read_me file in the zip on how to add it to you code.

I actually released this awhile back as a reply to a request but I guess it got buried in all the posts. So here it is again.

- Alan
www.iamviet.com
www.calvsa.net
Snitz Resource

semifamous
Starting Member

USA
44 Posts

Posted - 26 May 2001 :  21:17:12  Show Profile  Visit semifamous's Homepage  Send semifamous an ICQ Message
Two things:

1. Thanks for doing this! Lots of people will find it useful.

2. Did you know that if you use a named color (i.e. "pink" as opposed to it's HTML RGB equivalent) that it shows up as black in Opera? It's really hard for me to read most of the text on your site. I realize that ir works well in IE, and almost everyone uses IE, but for the few who don't, you have to make it legible...

I've noticed quite a few sites that don't show up right in Opera. The text is just illegible. Usually, it's just set to the default colors, which don't work.

Opera is a tiny browser to download, and it's got a lot of neat features. I recommend at least downloading the trial to make sure that your colors show up right. (If you don't wanna download the trial, the easiest thing to do it just to go into your color manager and change the named colors all to the #XXYYZZ equivalent.)

Just a suggestion...
Mike
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 26 May 2001 :  22:01:29  Show Profile  Visit Gremlin's Homepage
Unfortunately theres a whole bunch of colours that Opera doesnt recognise by name .. even simple ones like Orange grrr

Go to Top of Page

rick7165
Senior Member

USA
1094 Posts

Posted - 27 May 2001 :  10:35:27  Show Profile  Visit rick7165's Homepage
I've got one problem... It doesn't put the user name in... It say's "Send a private message to ." Notice there is nothing between the "To" and the "."

Any clues?

Thanks,
Rick


Test Site
www.eastpasco.com
HuwR's SR4 release. Colors and Graphic scheme done by Richard Kinser.
Go to Top of Page

Aznknight
Senior Member

USA
1373 Posts

Posted - 27 May 2001 :  14:32:53  Show Profile  Send Aznknight an AOL message  Send Aznknight an ICQ Message
you have a link on where you get that problem? It seems fine on my dev site.

- Alan
www.iamviet.com
www.calvsa.net
Snitz Resource
Go to Top of Page

Aznknight
Senior Member

USA
1373 Posts

Posted - 27 May 2001 :  14:48:47  Show Profile  Send Aznknight an AOL message  Send Aznknight an ICQ Message
ahh i see why you're getting that now. I forgot to include a step in the readme. Do this:

step 3.
In pop_profile.asp find:

strMyHobbies = rs("M_HOBBIES")
strMyLNews = rs("M_LNEWS")
strMyQuote = rs("M_QUOTE")
strMyBio = rs("M_BIO")

and add this after it:

'########## Private Message ####################
strProfileName= rs("M_Name")
'########## Private Message ####################


- Alan
www.iamviet.com
www.calvsa.net
Snitz Resource
Go to Top of Page

rick7165
Senior Member

USA
1094 Posts

Posted - 27 May 2001 :  21:21:45  Show Profile  Visit rick7165's Homepage
Worked Great!

Thanks Alan...


Test Site
www.eastpasco.com
HuwR's SR4 release. Colors and Graphic scheme done by Richard Kinser.
Go to Top of Page

@tomic
Senior Member

USA
1790 Posts

Posted - 27 May 2001 :  22:45:37  Show Profile  Visit @tomic's Homepage  Send @tomic an ICQ Message
I kept getting 500 internal server error until I added "end if" after the first one on line 58 of profile_pm.asp.

@tomic



Edited by - @tomic on 27 May 2001 22:47:19
Go to Top of Page

rick7165
Senior Member

USA
1094 Posts

Posted - 27 May 2001 :  23:09:16  Show Profile  Visit rick7165's Homepage
I'm running Huwr's forum code... I had to remove this out of the profile_pm.asp file:

<% if strUseExtendedProfile then %>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="3" valign="top">
<tr>
<td bgColor="<% =strPageBGColor %>" align="center" nowrap>
<br>

Everything worked fine after that.


Rick


Test Site
www.eastpasco.com
HuwR's SR4 release. Colors and Graphic scheme done by Richard Kinser.
Go to Top of Page

@tomic
Senior Member

USA
1790 Posts

Posted - 27 May 2001 :  23:13:01  Show Profile  Visit @tomic's Homepage  Send @tomic an ICQ Message
I am running the same code and thought that I needed to remove the same lines. I tried it and it just didn't work till I added that "end if"

@tomic

Go to Top of Page

blackinwhite
Average Member

Turkey
657 Posts

Posted - 28 May 2001 :  08:18:55  Show Profile
I am using richard's version of Snitz, I get an "internal server error" too.

__________________
aQuarium > right-click intellectual device
"I am a legal alien"
Go to Top of Page

Aznknight
Senior Member

USA
1373 Posts

Posted - 28 May 2001 :  13:16:30  Show Profile  Send Aznknight an AOL message  Send Aznknight an ICQ Message
hmm, are their lines numbers and what's the code near where you get the error?

I used my dev snitz forums to create this which is based on snitz31sr4 so i'm not sure why you get this error without seeing some code.

- Alan
www.iamviet.com
www.calvsa.net
Snitz Resource
Go to Top of Page

Classicmotorcycling
Development Team Leader

Australia
2084 Posts

Posted - 29 May 2001 :  08:46:47  Show Profile
After adding;


'########## Private Message ####################
strProfileName= rs("M_Name")
'########## Private Message ####################


to the pop_profile.asp I had to remove this;

<% if strUseExtendedProfile then %>
</table>

from the profile_pm.asp and it works great. Saves my users time.

quote:

ahh i see why you're getting that now. I forgot to include a step in the readme. Do this:

step 3.
In pop_profile.asp find:

strMyHobbies = rs("M_HOBBIES")
strMyLNews = rs("M_LNEWS")
strMyQuote = rs("M_QUOTE")
strMyBio = rs("M_BIO")

and add this after it:

'########## Private Message ####################
strProfileName= rs("M_Name")
'########## Private Message ####################


- Alan
www.iamviet.com
www.calvsa.net
Snitz Resource



Regards,

Webmaster @ Classic Motor Cycling
Classic Motor Cycling
Go to Top of Page

Aznknight
Senior Member

USA
1373 Posts

Posted - 04 June 2001 :  14:28:47  Show Profile  Send Aznknight an AOL message  Send Aznknight an ICQ Message
glad you guys got it working and like this little add-on

- Alan
www.iamviet.com
www.calvsa.net
Snitz Resource
Go to Top of Page

Shep
New Member

74 Posts

Posted - 09 June 2001 :  18:44:41  Show Profile
WHen I add the include in pop_profile I get the following error:

Technical Information (for support personnel)

Error Type:
Microsoft VBScript compilation (0x800A0400)
Expected statement
/calvaryworship/pop_profile.asp, line 571


Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0b; Windows 98; Win 9x 4.90)

Page:
GET /calvaryworship/pop_profile.asp

When I remove it goes back to normal - HELP

SHep

Go to Top of Page

Shep
New Member

74 Posts

Posted - 09 June 2001 :  18:58:40  Show Profile
quote:

After adding;


'########## Private Message ####################
strProfileName= rs("M_Name")
'########## Private Message ####################


to the pop_profile.asp I had to remove this;

<% if strUseExtendedProfile then %>
</table>

from the profile_pm.asp and it works great. Saves my users time.

quote:

ahh i see why you're getting that now. I forgot to include a step in the readme. Do this:

step 3.
In pop_profile.asp find:

strMyHobbies = rs("M_HOBBIES")
strMyLNews = rs("M_LNEWS")
strMyQuote = rs("M_QUOTE")
strMyBio = rs("M_BIO")

and add this after it:

'########## Private Message ####################
strProfileName= rs("M_Name")
'########## Private Message ####################


- Alan
www.iamviet.com
www.calvsa.net
Snitz Resource



Regards,

Webmaster @ Classic Motor Cycling
Classic Motor Cycling



THanks Classic - that was the solution to my problem

Shep

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