Author |
Topic |
Aznknight
Senior Member
USA
1373 Posts |
Posted - 26 May 2001 : 18:46:39
|
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
|
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 |
|
|
Gremlin
General Help Moderator
New Zealand
7528 Posts |
Posted - 26 May 2001 : 22:01:29
|
Unfortunately theres a whole bunch of colours that Opera doesnt recognise by name .. even simple ones like Orange grrr
|
|
|
rick7165
Senior Member
USA
1094 Posts |
Posted - 27 May 2001 : 10:35:27
|
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. |
|
|
Aznknight
Senior Member
USA
1373 Posts |
Posted - 27 May 2001 : 14:32:53
|
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 |
|
|
Aznknight
Senior Member
USA
1373 Posts |
Posted - 27 May 2001 : 14:48:47
|
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 |
|
|
rick7165
Senior Member
USA
1094 Posts |
Posted - 27 May 2001 : 21:21:45
|
Worked Great!
Thanks Alan...
Test Site www.eastpasco.com HuwR's SR4 release. Colors and Graphic scheme done by Richard Kinser. |
|
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 27 May 2001 : 22:45:37
|
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 |
|
|
rick7165
Senior Member
USA
1094 Posts |
Posted - 27 May 2001 : 23:09:16
|
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. |
|
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 27 May 2001 : 23:13:01
|
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
|
|
|
blackinwhite
Average Member
Turkey
657 Posts |
Posted - 28 May 2001 : 08:18:55
|
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" |
|
|
Aznknight
Senior Member
USA
1373 Posts |
Posted - 28 May 2001 : 13:16:30
|
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 |
|
|
Classicmotorcycling
Development Team Leader
Australia
2084 Posts |
Posted - 29 May 2001 : 08:46:47
|
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 |
|
|
Aznknight
Senior Member
USA
1373 Posts |
Posted - 04 June 2001 : 14:28:47
|
glad you guys got it working and like this little add-on
- Alan www.iamviet.com www.calvsa.net Snitz Resource |
|
|
Shep
New Member
74 Posts |
Posted - 09 June 2001 : 18:44:41
|
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
|
|
|
Shep
New Member
74 Posts |
Posted - 09 June 2001 : 18:58:40
|
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
|
|
|
Topic |
|