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)
 Extended Member Profile
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

slemieux
Junior Member

USA
234 Posts

Posted - 07 August 2000 :  20:54:14  Show Profile
Here it is again!

Download: http://www.thepercussionist.com/snitz/profile.zip

This actually adds a few new features.
One it gives an expanded profile for people.
Demo: http://209.35.175.12/snitz/member_profile.asp?mode=display&id=2

Also changes the AIM and ICQ panel to add some extra functionality. For Demos of each just click on the appropriate Icons in the above URL.

Let me know of any errors!

blkrogue
New Member

USA
79 Posts

Posted - 08 August 2000 :  11:31:36  Show Profile
If anyone is interested I could post the db_profile_setup.asp page I wrote to upgrade the MEMBERS table with all the extra fields. This way you don't have to take the database offline to make the changes.

So far it's only an Access version and I wanna test it again, but if you're interested let me know.


Blkrogue

In the darkness of my soul a sparkling light has appeared
Go to Top of Page

Lord Maverick
New Member

Norway
92 Posts

Posted - 08 August 2000 :  11:42:44  Show Profile  Send Lord Maverick an ICQ Message
blkrogue,

I'd really like this setup...

Is it the same code that goes with both Acc97 and Acc2000?



Go to Top of Page

heptite
Average Member

USA
547 Posts

Posted - 08 August 2000 :  12:26:03  Show Profile  Visit heptite's Homepage  Send heptite an ICQ Message  Send heptite a Yahoo! Message
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Is it the same code that goes with both Acc97 and Acc2000?
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

The version of Access should make no difference to this code.

Sue

<center><font color=purple>
ASPDiva Forum - http://www.aspdiva.com/forum/default.asp
</font id=purple></center>
Go to Top of Page

heptite
Average Member

USA
547 Posts

Posted - 08 August 2000 :  12:27:18  Show Profile  Visit heptite's Homepage  Send heptite an ICQ Message  Send heptite a Yahoo! Message
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
If anyone is interested I could post the db_profile_setup.asp page I wrote to upgrade the MEMBERS table with all the extra fields. This way you don't have to take the database offline to make the changes.
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

Please do post! Thanks in advance.

<center><font color=purple>
ASPDiva Forum - http://www.aspdiva.com/forum/default.asp
</font id=purple></center>
Go to Top of Page

animedj
Junior Member

USA
190 Posts

Posted - 08 August 2000 :  13:24:27  Show Profile  Visit animedj's Homepage  Send animedj an ICQ Message
Ohh yeah.. Here's a version that I did so it should work if slemieux didn't modified the fields. rename the txt extension to asp.

d/l : http://animedj.com/community/forums/hacks/member_update.txt


Go to Top of Page

webshorts
New Member

USA
96 Posts

Posted - 08 August 2000 :  17:50:25  Show Profile  Visit webshorts's Homepage  Send webshorts an ICQ Message
Is this the Scott Lemieux in the Oregon National Guard? I know a CPT Lemieux in the 41st, and I was curious.

(SGT) Daniel Short
Chief Designer,
Web Shorts Site Design

Free DHTML at DHTMLShock.com
JavaScript and DHTML forum, powered by Snitz

Edited by - webshorts on 08 August 2000 17:50:45
Go to Top of Page

slemieux
Junior Member

USA
234 Posts

Posted - 08 August 2000 :  18:00:24  Show Profile
Thanks animedj! That was a great idea!

Nope Daniel. Wrong LeMieux. Although I do live outside of Seattle Washington <img src=icon_smile.gif border=0 align=middle>

Go to Top of Page

blkrogue
New Member

USA
79 Posts

Posted - 09 August 2000 :  03:38:59  Show Profile
just in case anyone was still interested in the code:

http://www.geocities.com/blkrogue99/forumhacks/db_profile_setup.zip (or just go to http://www.geocities.com/blkrogue99/forumhacks/ to see the list of zips)

It makes the changes needed for the extended profile to your database step by step (names taken from scot's install.txt) and also renames the M_RECIEVE_MAIL field (last one in the list, so if it doesn't exists it'll give you an error, but it's no critical error.

Sorry if the link is posted too late and I kept you waited.


Blkrogue

In the darkness of my soul a sparkling light has appeared

Edited by - blkrogue on 09 August 2000 03:40:25
Go to Top of Page

phishyDev
Starting Member

USA
6 Posts

Posted - 13 August 2000 :  14:16:15  Show Profile  Visit phishyDev's Homepage  Send phishyDev an AOL message
Am I missing something? How about the changes to the register.asp page so that the extended profile can be filled out at registration time.

Steve
Go to Top of Page

slemieux
Junior Member

USA
234 Posts

Posted - 29 August 2000 :  13:13:19  Show Profile
Yep your missing something <img src=icon_smile.gif border=0 align=middle>

register.asp includes inc_profile.asp, since the changes are made in in_profile.asp they don't need to be done twice.

Scott LeMieux
Go to Top of Page

Aznknight
Senior Member

USA
1373 Posts

Posted - 29 August 2000 :  21:03:19  Show Profile  Send Aznknight an AOL message  Send Aznknight an ICQ Message
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>

register.asp includes inc_profile.asp, since the changes are made in in_profile.asp they don't need to be done twice.

Scott LeMieux
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

Hey scott,

What about the initial registration? isn't the insert to the database done in register.asp?

In order to use your profile hack, I had to go into the register.asp and add the field and values to sql insert string myself.

It's a great Hack btw. and I like the layout of members_profile.

- Alan <img src="http://smilecwm.tripod.com/net3/smileJap.gif" border=0>
<pre id=code><font face=courier size=2 id=code><%On Error goto Hell%></font id=code></pre id=code>

Edited by - aznknight on 29 August 2000 23:48:28
Go to Top of Page

Doug G
Support Moderator

USA
6493 Posts

Posted - 29 August 2000 :  22:52:54  Show Profile
Anyone know why this code is at the top of register.asp?

<pre id=code><font face=courier size=2 id=code>
<head>
<meta http-equiv="Refresh" content="2; URL=<% =Request.Form("refer")%>">
</head>
</font id=code></pre id=code>

inc.top writes the HTML head.

Oh, yes the SQL for the DB insert is in register.asp

======
Doug G
======

Edited by - Doug G on 29 August 2000 22:53:57
Go to Top of Page

Aznknight
Senior Member

USA
1373 Posts

Posted - 29 August 2000 :  23:21:12  Show Profile  Send Aznknight an AOL message  Send Aznknight an ICQ Message
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Anyone know why this code is at the top of register.asp?

<pre id=code><font face=courier size=2 id=code>
<head>
<meta http-equiv="Refresh" content="2; URL=<% =Request.Form("refer")%>">
</head>
</font id=code></pre id=code>
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

Yeah I know . I just figured it out like half an hour ago <img src=icon_smile_big.gif border=0 align=middle> looking at the registration process in the code.

That code is there so that the page automatically redirects to the page the user was on right before s/he hit the register button.

Say a new user enter your forum and is reading topic "blah blah" in category "MY Category". He then decides to register so he can post, so he hits register which takes you to policy.asp. In policy.asp, when that user clicks submit, that page takes the server variable http-reffer and places it in hidden field "refer" in the form and goes to register.asp. When the user finishes registration, the page redirects to the "blah blah" topic that user was on.


I think this works pretty well and makes the forum more user friendly <img src=icon_smile.gif border=0 align=middle>.


- Alan <img src="http://smilecwm.tripod.com/net3/smileJap.gif" border=0>



Edited by - aznknight on 29 August 2000 23:23:20
Go to Top of Page

Doug G
Support Moderator

USA
6493 Posts

Posted - 30 August 2000 :  00:48:17  Show Profile
Well, just as I was thinking FrontPage was OK, here it goes and screws up a page if you use it.

Referring to my previous post, the distributed code for 3.1 B2 <b>does not</b> contain the following:
<pre id=code><font face=courier size=2 id=code>
<head>
<meta http-equiv="Refresh" content="2; URL=<% =Request.Form("refer")%>">
</head>
</font id=code></pre id=code>

The W3C specification for HTML 4.01 has this to say about <META> tags:

"User agents are not required to support meta data mechanisms. For those that choose to support meta data, this specification does not define how meta data should be interpreted."

Which I read to say "if you put a <META> tag outside the header, who knows what will happen". It seems most browsers will interpret a META Refresh tag.

The Frontpage editor, however, looks at register.asp, sees a <META> tag way down in the code but doesn't see a <HEAD> tag anywhere (it's in the included inc_top.asp), so in it's infinite wisdom moves the <META> tag to the top of the page and wraps it in <head> tags!!!!! <img src=icon_smile_evil.gif border=0 align=middle>

I guess I won't be as quick to use FP2K to edit asp pages in the future, although it's technically not violating any rules by what it's doing it will mess up register.asp.

I checked 3 times, the distributed copy of register.asp doesn't have the <head> tags, but they display as soon as I open the HTML view of register.asp in FP2K. FP doesn't save this change, though, until you do some other edit to the page!!!

It's possible InterDev may have some similar glitches but I believe it's a more accurate asp editor. The big difference is that FP can't (or doesn't) interpret the asp code in a page, and InterDev can.


======
Doug G
======

Edited by - Doug G on 30 August 2000 00:49:44
Go to Top of Page

slemieux
Junior Member

USA
234 Posts

Posted - 30 August 2000 :  01:40:55  Show Profile
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Hey scott,

What about the initial registration? isn't the insert to the database done in register.asp?

In order to use your profile hack, I had to go into the register.asp and add the field and values to sql insert string myself.

It's a great Hack btw. and I like the layout of members_profile.<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

Well I'll be!! You are correct! lol I orignially did this when registration was done in a popup.. guess I should keep my eyes open further <img src=icon_smile_blackeye.gif border=0 align=middle> Thanks for the compliment, glad you like this<img src=icon_smile.gif border=0 align=middle>

Scott LeMieux
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.29 seconds. Powered By: Snitz Forums 2000 Version 3.4.07