Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Comments, trackbacks & pings (http://forum.bytesforall.com/forumdisplay.php?f=19)
-   -   Required Fields for Comments Auto Fill In (http://forum.bytesforall.com/showthread.php?t=2351)

eschy12 Jul 10, 2009 03:05 PM

Required Fields for Comments Auto Fill In
 
Hi,

What I am trying to do is make my comment box just have one user controlled field: comment_author

I then want the comment.php file to take that comment_author field, and have the comment_author_email automatically generated using the format comment_author@mydomainname.com

Ex: If they type in their name as JOESMITH, I want the "comment-author-email" field to automatically be filled in as JOESMITH@mydomainname.com. I don't want that to be a visible, editable field.

I hope this makes sense. I can usually fudge my way through editing, but not this time.

Thanks!

juggledad Jul 10, 2009 03:32 PM

Do you literally want it as 'mydomainname.com'? Say the was 'thexyzblog.com' would and 'johndoe' posted a comment, do you want the address to be
1) johndoe@mydomainname.com
or
2) johndoe@thexyzblog.com

eschy12 Jul 10, 2009 03:37 PM

Quote:

Do you literally want it as 'mydomainname.com'? Say the was 'thexyzblog.com' would and 'johndoe' posted a comment, do you want the address to be
1) johndoe@mydomainname.com
or
2) johndoe@thexyzblog.com
Sorry for not specifying. I'd use my domain name, mremath.org. I'd want everyone's e-mail address to be WHATEVERTHEYTYPED@mremath.org.

Thanks for the quick reply.

juggledad Jul 10, 2009 05:16 PM

In order to do this you will have to edit both an Atahualpa module (comments.php) and a Wordpress module wp-comments-post.php. This is more than a quick fix.

If you want to hire me to do it, send me a private message.


All times are GMT -6. The time now is 09:00 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.