WebmasterSite.net: PHP scripts to enable your creativity
WSN Links PHP Directory Software
PHP Scripts Webmaster Links Support Forums

Register | Forgot Password

Changing default

Version:
printPrint


Changing default
dreamweaver
Experienced
Avatar

Usergroup:
Joined: May 05, 2004
Total Topics: 12
Total Posts: 53
Posted 10/29/04 - 03:23 PM:
quote post
#1
An option on registration -- say, the one to receive an email notification when someone adds a new image -- appears to be set on the default "yes". Now, say that for this option (and a few others), I want to remove the option of changing it on registration, but I want to also change the default. Just what would I do?

On another note, do you remember that line of code that needed to be altered for the formemail.php to work? Since, I no longer have it....

Edited by dreamweaver on 10/29/04 - 06:00 PM
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 5974
Posted 10/30/04 - 10:29 PM:
quote post
#2
Use a hidden input field.

do you remember that line of code that needed to be altered for the formemail.php to work?

The currently available download doesn't work?

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
dreamweaver
Experienced
Avatar

Usergroup:
Joined: May 05, 2004
Total Topics: 12
Total Posts: 53
Posted 10/31/04 - 06:26 AM:
quote post
#3
Use a hidden input field.

Thanks; that did it.
dreamweaver
Experienced
Avatar

Usergroup:
Joined: May 05, 2004
Total Topics: 12
Total Posts: 53
Posted 11/01/04 - 11:36 AM:
quote post
#4
Oh, I forgot to mention: the Contact form doesn't work, as it is. It's really odd; this time round it doesn't even send the email.
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 5974
Posted 11/04/04 - 12:21 AM:
quote post
#5
Are Gallery-related emails being sent?

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
dreamweaver
Experienced
Avatar

Usergroup:
Joined: May 05, 2004
Total Topics: 12
Total Posts: 53
Posted 11/04/04 - 04:00 AM:
quote post
#6
When I do a "preview" of an email I'm trying to send.. I get:

Warning: Invalid argument supplied for foreach() in /home/dw/public_html/wsngallery/templatefunctions.php on line 568

Warning: Variable passed to each() is not an array or object in /home/dw/public_html/wsngallery/templatefunctions.php on line 592

Warning: Invalid argument supplied for foreach() in /home/dw/public_html/wsngallery/templatefunctions.php on line 568

Warning: Variable passed to each() is not an array or object in /home/dw/public_html/wsngallery/templatefunctions.php on line 592
But, no, it doesn't seem to be working. The Email log says they've been sent, but I just sent a PM to myself and notification didn't arrive; even though log says it was sent. Or, at least, the email is taking longer than 10 minutes to arrive.
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 5974
Posted 11/06/04 - 11:20 AM:
quote post
#7
The preview matter is just cosmetic, fixed.

So email isn't working at all. Try a test script.


"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
dreamweaver
Experienced
Avatar

Usergroup:
Joined: May 05, 2004
Total Topics: 12
Total Posts: 53
Posted 11/06/04 - 04:57 PM:
quote post
#8
What exactly should I do with that, dear fellow? Put it in a php file and...
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 5974
Posted 11/07/04 - 02:50 AM:
quote post
#9
And make use of your web browser, which is designed to visit URLs.

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
dreamweaver
Experienced
Avatar

Usergroup:
Joined: May 05, 2004
Total Topics: 12
Total Posts: 53
Posted 11/07/04 - 10:22 AM:
quote post
#10
Works.
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 5974
Posted 11/09/04 - 02:00 AM:
quote post
#11
Well then, do you not have an admin email specified or something obvious like that?

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
dreamweaver
Experienced
Avatar

Usergroup:
Joined: May 05, 2004
Total Topics: 12
Total Posts: 53
Posted 11/09/04 - 07:01 AM:
quote post
#12
As far as I can see -- I've got all the obvious stuff. Mod powers restored btw, thanks.
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.