Author |
Topic |
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 08 June 2001 : 14:32:03
|
I don't think that will work. You can't get the signature from the cookie. You will need to retrieve it from the database. When you're previewing the signature in your profile for example, it stores what you entered in the signature text box, into the cookie, then the preview page takes it from the cookie and shows it. After that it deletes the signature from the cookie.
If you want to get the signature in the preview window the only way I know of is putting a call to the database. Which is why we haven't implemented in the forum base code as thier is no database interaction in the preview page. And the less connections or hits to the database is better.
One way you might can do it is storing the signature in the cookie after the user previews it, but that's hoping they don't delete the cookie and also hoping they will preview thier signature.
Edited by - Davio on 08 June 2001 14:42:05 |
|
|
Old Ager
New Member
Italy
59 Posts |
Posted - 08 June 2001 : 14:55:45
|
Davio,
That's why you're on the development team and I'm not.
Thanks for all of the help!! Cheers.
Old Ager |
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 08 June 2001 : 15:04:23
|
I think you might have a point there. Always wondered what I'm doing on the Development team.
You're Welcome. Glad to help.
|
|
|
Old Ager
New Member
Italy
59 Posts |
Posted - 08 June 2001 : 15:18:39
|
OK, one last question...
Would it be possible to make a call to the DB when someone logs on and have the sig stored in the cookie automatically?
I promise this is the last question!!
Old Ager |
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 08 June 2001 : 15:25:15
|
Yeah, you could. If you really wanted to. But cookies is a temporary storage area. Not permanent.
|
|
|
Old Ager
New Member
Italy
59 Posts |
Posted - 08 June 2001 : 15:47:47
|
I see what you're saying. I guess that since I'm really, really new to all of this ASP stuff, I'm just curious about how it all works. I'll leave it at that and start hitting the books...
Thanks again and take care.
Old Ager |
|
|
bjlt
Senior Member
1144 Posts |
|
Davio
Development Team Member
Jamaica
12217 Posts |
|
Raichelle
Junior Member
370 Posts |
Posted - 01 July 2001 : 21:05:02
|
ok i tried to add this to my forum but no luck i keep getting 404 error can someone please do it for me because what i did didn't work and i hate when stuff aggrevate me here are my files
inc_profile pop_preview pop_profile register
and if needed here is my function file inc_functions
Edited by - raichelle on 30 July 2001 13:08:39 |
|
|
bjlt
Senior Member
1144 Posts |
Posted - 02 July 2001 : 00:04:55
|
quote:
Probably haven't downloaded the latest one: http://user.7host.com/davio/mods/signature_preview.zip http://www.dsilvera.com/forum/mods/signature_preview.zip
If the readme file doesn't say "Last Updated: June 04, 2001" then you're using the older version.
Davio, i rechedet it and found a mistake in your readme file.
pop_profile.asp
' ########### Signature Preview Mod ############# %> <script language="JavaScript"> <!--function OpenPreview() { ...... should be <!-- function OpenPreview()
it's corect in the file you attached, but if one copy from readme, the preview won't show.
|
|
|
Raichelle
Junior Member
370 Posts |
Posted - 02 July 2001 : 15:51:55
|
boink....
|
|
|
RobX
Starting Member
USA
27 Posts |
Posted - 03 July 2001 : 23:48:50
|
quote:
quote:
Probably haven't downloaded the latest one: http://user.7host.com/davio/mods/signature_preview.zip http://www.dsilvera.com/forum/mods/signature_preview.zip
If the readme file doesn't say "Last Updated: June 04, 2001" then you're using the older version.
Davio, i rechedet it and found a mistake in your readme file.
pop_profile.asp
' ########### Signature Preview Mod ############# %> <script language="JavaScript"> <!--function OpenPreview() { ...... should be <!-- function OpenPreview()
it's corect in the file you attached, but if one copy from readme, the preview won't show.
|
|
|
RobX
Starting Member
USA
27 Posts |
Posted - 03 July 2001 : 23:51:26
|
quote:
Davio, i rechedet it and found a mistake in your readme file.
pop_profile.asp
' ########### Signature Preview Mod ############# %> <script language="JavaScript"> <!--function OpenPreview() { ...... should be <!-- function OpenPreview()
it's corect in the file you attached, but if one copy from readme, the preview won't show.
Well... I got THIS error:
Microsoft VBScript compilation error '800a0400'
Expected statement
/forumtest/pop_preview.asp, line 72
<script language="JavaScript"> ^
Can anybody help, please???? :-)
Thx!
SORRY! silly me, I found what it was "%>" missing :-(
Edited by - RobX on 04 July 2001 00:17:37 |
|
|
MarcusWise
Starting Member
USA
3 Posts |
Posted - 12 July 2001 : 16:36:36
|
hey i was having the same problem Old Ager and Davio's suggestion helped me out a lot
Thanks
|
|
|
Topic |
|