Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Signature Preview MOD Problem
 New Topic  Topic Locked
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 2

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 08 June 2001 :  14:32:03  Show Profile
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
Go to Top of Page

Old Ager
New Member

Italy
59 Posts

Posted - 08 June 2001 :  14:55:45  Show Profile  Visit Old Ager's Homepage  Send Old Ager an ICQ Message
Davio,

That's why you're on the development team and I'm not.

Thanks for all of the help!! Cheers.

Old Ager
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 08 June 2001 :  15:04:23  Show Profile
I think you might have a point there. Always wondered what I'm doing on the Development team.

You're Welcome. Glad to help.

Go to Top of Page

Old Ager
New Member

Italy
59 Posts

Posted - 08 June 2001 :  15:18:39  Show Profile  Visit Old Ager's Homepage  Send Old Ager an ICQ Message
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
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 08 June 2001 :  15:25:15  Show Profile
Yeah, you could. If you really wanted to.
But cookies is a temporary storage area. Not permanent.

Go to Top of Page

Old Ager
New Member

Italy
59 Posts

Posted - 08 June 2001 :  15:47:47  Show Profile  Visit Old Ager's Homepage  Send Old Ager an ICQ Message
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
Go to Top of Page

bjlt
Senior Member

1144 Posts

Posted - 14 June 2001 :  12:04:00  Show Profile
Davio,

i can't preview sig in pop_profile.asp, errors on page. just no window popup.
everything's fine in register.asp and for post preview.
here's my files, would you take a look at them?
Thanks.
http://hibj.51.net/pop_profile.txt
http://hibj.51.net/inc_functions.txt
http://hibj.51.net/pop_preview.txt

Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 15 June 2001 :  06:28:32  Show Profile
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.

Go to Top of Page

Raichelle
Junior Member

370 Posts

Posted - 01 July 2001 :  21:05:02  Show Profile
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
Go to Top of Page

bjlt
Senior Member

1144 Posts

Posted - 02 July 2001 :  00:04:55  Show Profile
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.

Go to Top of Page

Raichelle
Junior Member

370 Posts

Posted - 02 July 2001 :  15:51:55  Show Profile
boink....

Go to Top of Page

RobX
Starting Member

USA
27 Posts

Posted - 03 July 2001 :  23:48:50  Show Profile
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.





Go to Top of Page

RobX
Starting Member

USA
27 Posts

Posted - 03 July 2001 :  23:51:26  Show Profile
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
Go to Top of Page

MarcusWise
Starting Member

USA
3 Posts

Posted - 12 July 2001 :  16:36:36  Show Profile  Visit MarcusWise's Homepage
hey i was having the same problem Old Ager and Davio's suggestion helped me out a lot

Thanks

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