I believe extreme caution should be exercised before you use this module. The lack of any SPAM or bot blocking (using CAPTCHA for example) will result in your email address being flooded with SPAM. If the module were updated to utilize the CAPTCHA mechanism, which is built into G2, it would be awesome. Lacking it, I personally cannot make use of it.
FYI.
regards,
patrick
justpeachy
Joined: 2007-01-18
Posts: 6
Posted: Wed, 2007-01-24 17:39
I tried F. Lutz's change to the Send.inc file, but still can't get an email sent. Error pops up after the Send Email button is clicked. Has anyone else had this problem?
It might be worth mentioning that test emails from Site Admin/General go through.
Quote:
Error Detail -
Error (ERROR_UNKNOWN) : Could not send mail to ++++@yahoo.com
* in modules/core/classes/helpers/MailHelper_simple.class at line 102 (gallerycoreapi::error)
* in modules/core/classes/GalleryCoreApi.class at line 2846 (mailhelper_simple::sendtemplatedemail)
* in modules/contactowner/Send.inc at line 139 (gallerycoreapi::sendtemplatedemail)
* in main.php at line 199 (sendcontroller::handlerequest)
* in main.php at line 87
* in main.php at line 80
System Information
Gallery version 2.1.2
PHP version 4.3.11 cgi-fcgi
Webserver Apache/1.3.33 (Unix) FrontPage/5.0.2.2510 mod_fastcgi/2.4.2
Database mysql 4.1.14
Toolkits NetPBM, Gd
Operating system FreeBSD hostingprod.com 4.11-YAHOO-20060316 FreeBSD 4.11-YAHOO-20060316 #0: i386
Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1
thesainter
Joined: 2007-01-18
Posts: 5
Posted: Thu, 2007-01-25 12:30
I was wondering how to get rid of the sidebar. I can't find the solution.
polopaul69
Joined: 2007-01-12
Posts: 84
Posted: Fri, 2007-01-26 03:28
I get the email through, but the page is blank as non of the descriptive text comes through. Any way to change that?
Your help a fixed my problem with Squirremail.
Very thanks to the contactowner's autor too, for this great module.
Thanks
krasavchic
Joined: 2007-07-09
Posts: 5
Posted: Mon, 2007-07-09 15:18
Please, help
I install the module w/o problems. When i click on Configure, i get this. I checked the permissions settings over and over again... seems to be right. Please, help, I'm on MS Server 2003 platform. Thanks in advance.
Security Violation
The action you attempted is not permitted.
Back to the Gallery
Error Detail -
Error (ERROR_BAD_PARAMETER) : No such module: contactowner
in modules\core\classes\GalleryPlugin.class at line 395 (GalleryCoreApi::error)
in modules\core\classes\GalleryView.class at line 157 (GalleryPlugin::isActive)
in modules\core\SiteAdmin.inc at line 196 (GalleryView::loadView)
in modules\core\classes\GalleryView.class at line 300 (SiteAdminView::loadTemplate)
in main.php at line 441 (GalleryView::doLoadTemplate)
in main.php at line 94
in main.php at line 83
System Information
Gallery version 2.2.2
PHP version 5.2.3 isapi
Webserver Microsoft-IIS/6.0
Database mysqlt 4.1.22-community-nt
Toolkits Gd
Operating system Windows NT SERVER 5.2 build 3790
Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR 1.1.4322)
fofilou
Joined: 2007-07-25
Posts: 6
Posted: Wed, 2007-08-15 00:52
Hello,
how to change the "Contact" title in the top right links area ?
So, to have, "Help" or Contact admin ?
Thanks
achitophel
Joined: 2007-08-17
Posts: 2
Posted: Thu, 2007-08-30 16:44
I will cofirm that the body is stripped using gmail, including their google apps service. Any other email address and it is fine.
voknelserp
Joined: 2005-10-07
Posts: 9
Posted: Wed, 2007-10-10 15:16
Here is original version of contact owner plugin with added captcha challenge.
If I find the time I might rewrite it from scratch to include proper internationalization and added features.
Greets,
Marko
bauchi
Joined: 2007-11-11
Posts: 70
Posted: Sun, 2007-12-09 11:05
Here´s the contactowner_captcha module with German language files.
To get this done, I had to add some missing g->text tags into some of the the templates. The strings.raw file is completed as well with these additions.
So if you want to use this module for a contact form in German language or if you are planning on adding more language files, you should also use the edited template files to get a full translation of all parts of this module.
jojomart
Joined: 2008-01-15
Posts: 26
Posted: Tue, 2008-01-22 23:15
Hi,
Rats! I guess this doesn't work with the newest version 2.4 right? I installed it, and it installed fine, but when I try sending an email, it goes to a blank white page, and I don't get the email either.
Anyone have any ideas on how to fix it?
Thanks,
Joanne
bauchi
Joined: 2007-11-11
Posts: 70
Posted: Thu, 2008-01-24 17:18
jojomart wrote:
Rats! I guess this doesn't work with the newest version 2.4 right?
Can´t tell you if it works with Version 2.2.4, but I have just tested it with Version 2.3 SVN core 1.2.26 and it works fine.
jojomart
Joined: 2008-01-15
Posts: 26
Posted: Thu, 2008-01-24 19:40
Woohoo, this one works - maybe I did something wrong before, not sure, but this one works perfectly.
Thanks so much for your hard work!
Joanne
EDIT: How would we make url rewrite work with this page?
Thanks,
Joanne
jojomart
Joined: 2008-01-15
Posts: 26
Posted: Thu, 2008-01-24 19:37
fofilou wrote:
Hello,
how to change the "Contact" title in the top right links area ?
So, to have, "Help" or Contact admin ?
Thanks
You need to change it in module.inc which is in the download for the module, and then reupload it to your site.
Joanne
ben119
Joined: 2008-01-01
Posts: 24
Posted: Mon, 2008-01-28 16:36
So very useful ! Thanks a lot for this module
patrickthickey
Joined: 2004-08-22
Posts: 164
Posted: Tue, 2008-01-29 21:04
marko...thank you very much for taking the time to incorporate Captcha into this module.
It is very useful, and much appreciated.
regards,
chmod
alvinshaffer
Joined: 2006-03-12
Posts: 5
Posted: Wed, 2008-03-26 11:44
I would like to only display the contact systemLink and hide the others (unless the admin is logged in , then all would be visible). Can anyone help me with this coding?
Nigel_Aves
Joined: 2005-07-11
Posts: 61
Posted: Thu, 2008-03-27 01:27
I think I'm having a "missing" something moment.
I installed the new contact module with captcha, I see "contact owner" now appearing in the Captcha page (and set to high) and I see the captcha part at the bottom of the contact page but it does not use it. I can still send a message and not need anything in the captcha keyin field at all.
Anyone have a clue what I did wrong? as I see others have successfully installed without problems.
Nigel
talmdal
Joined: 2006-12-06
Posts: 358
Posted: Thu, 2008-06-12 01:03
Just thought I'd share the latest iteration of the contact owner module. Basically, this version will work with R2.3-svn. Not much has changed, other than cleaning up the code to make it more compatible with the gallery coding standards. The other change the Send.inc was removed and the code integrated into Contact.inc as ContactController. I hope to get it loaded up into gallery-contrib in the near future, so that it is available as part of the downloadable plugins, but until then, it is available here: http://www.timalmdal.com/outgoing/contactowner_v0.2.0.zip
I am using Gallery version = 2.3-svn core 1.2.28 and I'm getting lot's of spam through the contact page. It appears that the Captcha puzzle no longer functions on this page - it appears ok but no validation is occurring when the text is submitted.
Anyone know a fix?!
jonathanb
Joined: 2008-06-23
Posts: 17
Posted: Wed, 2008-07-02 23:03
Hi
I am also having 2 problems with this. The captcha is enabled for this contact form but like a couple of people have said, it does not seem to validate although it appears. Even if I put in the completely wrong word or number sequence into the captcha field, it still sends the email.
I dont know to much about php so I have checked what little I can.
Thanks for any help.
Gallery version = 2.2.5 core 1.2.0.7
PHP version = 5.2.2 cgi
Webserver = Apache/1.3.39 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_ssl/2.8.30 OpenSSL/0.9.7a
Database = mysqlt 5.0.51a-community, lock.system=flock
Toolkits = ArchiveUpload, Getid3, LinkItemToolkit, Thumbnail, Gd, Exif, ImageMagick
Acceleration = none, none
Operating system = Linux p38.ich-4.com 2.6.9-42.0.10.ELsmp #1 SMP Fri Feb 16 17:17:21 EST 2007 i686
Default theme = classic
gettext = enabled
Locale = en_GB
Browser = Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1)
talmdal
Joined: 2006-12-06
Posts: 358
Posted: Thu, 2008-07-03 04:39
Duh... Didn't put the $#%^@$ validation in
So until i can update the zip file you can add the following lines after line 70 of the modules/contactowner/Contact.inc file.
Quote:
/* validate your form data, set $error values if applicable */
if (empty($error) && $captchaLevel != 'OFF') {
list ($ret, $pluginInstances) =
GalleryCoreApi::getAllFactoryImplementationIds('GalleryValidationPlugin');
if ($ret) {
return array($ret, null);
}
foreach (array_keys($pluginInstances) as $pluginId) {
list ($ret, $pluginInstances[$pluginId]) =
GalleryCoreApi::newFactoryInstanceById('GalleryValidationPlugin', $pluginId);
if ($ret) {
return array($ret, null);
}
}
/* Let each plugin do its verification */
foreach ($pluginInstances as $plugin) {
list ($ret, $pluginErrors, $continue) = $plugin->performValidation($form);
if ($ret) {
return array($ret, null);
}
Hi, I've been playing with this a bit and am running into a slight problem. I've edited my templates and removed a great deal of the code for things I'm not using. In the process it looks like I killed whatever this module uses to display the link to the page. Could someone please tell what URL is uses so I can hand-add the link?
thanks Talmdal for the great module, it works fine , but i do recommend to open a new threead for the updated module , so no one get confused with the old one (as happened to me)
Unfortunately, the email your module sends has an empty body -- whatever is entered in Message: isn't included in the email. Same problem sending to both Gmail and Yahoo Mail.
Here's what I get with all the versions that have been posted here:
___VERSION_____________RESULT
___0.0.1_(original)________No body
___0.1.1_(captcha)_________OK
___0.2.0_(2008-06-12)____No body
___0.2.0_(2008-07-03)____No body
In other words, only the first captcha version works properly for me.
Any thoughts?
Thanks.
John
p.s. When you make any change whatsoever, please increment the version number -- there's otherwise risk of serious confusion! Thanks again.
Gallery version = 2.2.5 core 1.2.0.7
PHP version = 5.2.5 cgi-fcgi
Webserver = Apache
Database = mysql 5.0.67-log, lock.system=flock
Toolkits = ArchiveUpload, Exif, Gd, ImageMagick
Acceleration = none, none
Operating system = Linux p3slh229.shr.phx3.secureserver.net 2.4.21-53.ELsmp #1 SMP Wed Nov 14 03:54:12 EST 2007 i686
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3
Rows in GalleryAccessMap table = 23
Rows in GalleryAccessSubscriberMap table = 707
Rows in GalleryUser table = 2
Rows in GalleryItem table = 707
Rows in GalleryAlbumItem table = 17
Rows in GalleryCacheMap table = 0
myways
Joined: 2008-10-01
Posts: 2
Posted: Wed, 2008-10-22 21:50
can please somebody help me on how to place "Contact Owner" at the bottom of each picture, instead of placing "Add to Cart" at the bottom? Which template do i have to configure coz i am not a Samrty user as well.
Thanks
toppy
Joined: 2009-03-10
Posts: 1
Posted: Tue, 2009-03-10 01:40
The plugin worked right off the bat for me. No troubles on stock template using Gallery 2.3.
* in modules/core/classes/helpers/MailHelper_simple.class at line 93 (GalleryCoreApi::error)
* in modules/core/classes/GalleryCoreApi.class at line 2844 (MailHelper_simple::sendTemplatedEmail)
* in modules/contactowner/Contact.inc at line 139 (GalleryCoreApi::sendTemplatedEmail)
* in index.php at line 251 (ContactController::handleRequest)
* in index.php at line 105
* in index.php at line 89
System Information
Gallery version 2.3
PHP version 5.2.9 cgi-fcgi
Webserver Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8b DAV/2 mod_bwlimited/1.4
Database mysqli 5.0.67-community
Toolkits SquareThumb, ImageMagick, Thumbnail, NetPBM, Gd
Operating system Linux ns204580.ovh.net 2.6.24.5-grsec-xxxx-grs-ipv4-32 #3 SMP Wed May 28 09:09:25 CEST 2008 i686
Browser Mozilla/5.0 (Windows; U; Windows NT 6.0; ca; rv:1.9.0.7) Gecko/2009021910 Firefox/3.0.7 (.NET CLR 3.5.30729)
mridgwel
Joined: 2007-01-27
Posts: 215
Posted: Tue, 2009-05-12 22:14
I've added the latest version of this (V0.2.0) into the gallery-contrib repository. I've also added URL rewrite support so you can alias the contact page as something nicer. e.g. /contact
Time for another iteration of ContactOwner module I guess.
As we stood up till now we basically had two branches of the same thing:
- last version of 0.1.1 by bauchi adding internationalisation to captcha challenge release
- last version of 0.2.0 by mridgwel adding url rewrite support to code cleanup and support for Gallery 2.3 by talmdal. But gone was support for proper internationalisation and another round of problems with Google spam filters popped up.
So, this release is now incorporating the following:
- captcha challenge
- internationalisation
- German translation
- URL rewrite
- avoiding Google Gmail spam filters by sending out plain mails instead of MIME mails
- reintroduction of versioning to avoid confusions
Hope this all make sense...
Marko
mridgwel
Joined: 2007-01-27
Posts: 215
Posted: Sat, 2009-05-30 17:18
Changes look good - I've updated the module description page with the latest feature list:
hi to all and thanks for this great module.
i encountered a problem, the module works fine,
but in IE i see only 3 characters wide in the Name / E-mail / subject / message text box.
in Firefox and Chrome it looks fine.
if anyone encountered this or have an advice please share.
tnx
mridgwel
Joined: 2007-01-27
Posts: 215
Posted: Mon, 2009-06-22 18:53
Which version of IE?
_________ Mark ACCU - www.accu.org - Professionalism in Programming.
treycentric
Joined: 2008-01-08
Posts: 6
Posted: Tue, 2009-06-23 15:29
I see the same problem as poolica as well. It happens in IE6 and IE7 (don't know about IE8). In my case, all fields are blank and are only 1-2 characters wide when the user is not logged in and is trying to leave feedback (I run a gallery for my stuff only and do not have user accounts). When I'm logged in and I go to the Contact page, the fields are all wider, probably because my display name and e-mail address are already filled in. It appears to me that there needs to be at least some minimum width enforced on the fields and that it should work across browsers. Hope this helps.
poolica
Joined: 2009-06-21
Posts: 3
Posted: Wed, 2009-06-24 18:55
just wanted to add that its also in IE8,
and that this problem doesn't occur in earlier builds of the module
mridgwel
Joined: 2007-01-27
Posts: 215
Posted: Thu, 2009-06-25 21:56
I'm now confused - I'm using IE8 and it displays correctly for me.
Looking at the changes to contact.tpl it doesn't appear to be much different from the previous version, certainly the styles and sizes. (Am comparing V0.2.0 and 0.2.3). Are you comparing a V0.1.x release?
yes
i upgraded from 0.1.X
i also tried to uninstall the upgrade, and install again, but no change
corpore
Joined: 2009-07-06
Posts: 1
Posted: Mon, 2009-07-06 19:54
First things first... thanks to those involved for all the work already done!
Now, the plugin seems to work as expected (in gallery 2.3), save for german language support / localisation. Installion of the module seems, at times at least, to be incomplete, lacking the de.po (+ de.mo) file. But even with a de.po file in place, setting language to german will effect no change on this page, while all others, like the 'about' page for example, are behaving 'properly'.
Being new to gallery2, I am not sure what is going on here.
PHPDuke
Joined: 2009-09-27
Posts: 1
Posted: Sun, 2009-09-27 21:08
Quote:
i encountered a problem, the module works fine,
but in IE i see only 3 characters wide in the Name / E-mail / subject / message text box.
in Firefox and Chrome it looks fine.
if anyone encountered this or have an advice please share.
I have found a solution for the problem with IE.
I change in contact.tpl from <input type="text" style="width:100%" to <input type="text" size="80" maxlength="80" and now its works for me.
I have a attchment from my modified contact.tpl.
Bye
PHPDuke
mridgwel
Joined: 2007-01-27
Posts: 215
Posted: Sun, 2009-09-27 21:24
Looks good, I've updated the community repository to v 0.2.4 of this.
As a matter of interest is it just me or is v0.2.3 still rather too many spam emails? - I'm not sure if it is automated spam or not as I haven't had chance to investigate.
I tried the module and all I get when I try to send an email is:
Error
An error has occurred.
Using greypop theme.
yellowroadie
Joined: 2010-07-28
Posts: 2
Posted: Thu, 2010-07-29 10:14
I downloaded the files from the community repository (0.2.4) and I've fixed a few annoying things / bugs that I found, some of which were commented on above.
1. there were a couple undefined variables raising E_NOTICE warnings. One was a weird missing $temp for a page title, the other was a missing captcha level, which is now gotten and used.
2. as several people have complained, after the form is posted, it displays within the "admin" style - and you see the left hand menu. This seems like a bug to me? I've made it display as a module so you don't see the block on the left.
3. when validation fails, the from name was not being saved and used to pre-populate the form. Fixed.
Posts: 164
I believe extreme caution should be exercised before you use this module. The lack of any SPAM or bot blocking (using CAPTCHA for example) will result in your email address being flooded with SPAM. If the module were updated to utilize the CAPTCHA mechanism, which is built into G2, it would be awesome. Lacking it, I personally cannot make use of it.
FYI.
regards,
patrick
Posts: 6
I tried F. Lutz's change to the Send.inc file, but still can't get an email sent. Error pops up after the Send Email button is clicked. Has anyone else had this problem?
It might be worth mentioning that test emails from Site Admin/General go through.
Posts: 5
I was wondering how to get rid of the sidebar. I can't find the solution.
Posts: 84
I get the email through, but the page is blank as non of the descriptive text comes through. Any way to change that?
Posts: 84
smaurer
In reference to that i simply deleted all but {g->text text="== CONTACT RECEIVED FROM GALLERY WEBSITE =="}
from the Email tpl and now i simply get
------------------------------------
message from whoever
and
== CONTACT RECEIVED FROM GALLERY WEBSITE ==
-------------------------------------
dunno if i was meant to do that but it seems to be working for me.
Posts: 8
Hey,
that's a very nice module ! Thanks !
I've got the same question as ichthyous :
Did you find a way to get rid of the login-block ?
... or does anybody else know how to do this ?
Thanks in advance !
Posts: 10
This module is great. It works fine! Thanks to the creator for this module!
-:: vis ::-
www.visfotografie.be
Posts: 2
Tx LFrank
Your help a fixed my problem with Squirremail.
Very thanks to the contactowner's autor too, for this great module.
Thanks
Posts: 5
Please, help
I install the module w/o problems. When i click on Configure, i get this. I checked the permissions settings over and over again... seems to be right. Please, help, I'm on MS Server 2003 platform. Thanks in advance.
Security Violation
The action you attempted is not permitted.
Back to the Gallery
Error Detail -
Error (ERROR_BAD_PARAMETER) : No such module: contactowner
in modules\core\classes\GalleryPlugin.class at line 395 (GalleryCoreApi::error)
in modules\core\classes\GalleryView.class at line 157 (GalleryPlugin::isActive)
in modules\core\SiteAdmin.inc at line 196 (GalleryView::loadView)
in modules\core\classes\GalleryView.class at line 300 (SiteAdminView::loadTemplate)
in main.php at line 441 (GalleryView::doLoadTemplate)
in main.php at line 94
in main.php at line 83
System Information
Gallery version 2.2.2
PHP version 5.2.3 isapi
Webserver Microsoft-IIS/6.0
Database mysqlt 4.1.22-community-nt
Toolkits Gd
Operating system Windows NT SERVER 5.2 build 3790
Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR 1.1.4322)
Posts: 6
Hello,
how to change the "Contact" title in the top right links area ?
So, to have, "Help" or Contact admin ?
Thanks
Posts: 2
I will cofirm that the body is stripped using gmail, including their google apps service. Any other email address and it is fine.
Posts: 9
Here is original version of contact owner plugin with added captcha challenge.
If I find the time I might rewrite it from scratch to include proper internationalization and added features.
Greets,
Marko
Posts: 70
Here´s the contactowner_captcha module with German language files.
To get this done, I had to add some missing g->text tags into some of the the templates. The strings.raw file is completed as well with these additions.
So if you want to use this module for a contact form in German language or if you are planning on adding more language files, you should also use the edited template files to get a full translation of all parts of this module.
Posts: 26
Hi,
Rats! I guess this doesn't work with the newest version 2.4 right? I installed it, and it installed fine, but when I try sending an email, it goes to a blank white page, and I don't get the email either.
Anyone have any ideas on how to fix it?
Thanks,
Joanne
Posts: 70
Can´t tell you if it works with Version 2.2.4, but I have just tested it with Version 2.3 SVN core 1.2.26 and it works fine.
Posts: 26
Woohoo, this one works - maybe I did something wrong before, not sure, but this one works perfectly.
Thanks so much for your hard work!
Joanne
EDIT: How would we make url rewrite work with this page?
Thanks,
Joanne
Posts: 26
You need to change it in module.inc which is in the download for the module, and then reupload it to your site.
Joanne
Posts: 24
So very useful ! Thanks a lot for this module
Posts: 164
marko...thank you very much for taking the time to incorporate Captcha into this module.
It is very useful, and much appreciated.
regards,
chmod
Posts: 5
I would like to only display the contact systemLink and hide the others (unless the admin is logged in , then all would be visible). Can anyone help me with this coding?
Posts: 61
I think I'm having a "missing" something moment.
I installed the new contact module with captcha, I see "contact owner" now appearing in the Captcha page (and set to high) and I see the captcha part at the bottom of the contact page but it does not use it. I can still send a message and not need anything in the captcha keyin field at all.
Anyone have a clue what I did wrong? as I see others have successfully installed without problems.
Nigel
Posts: 358
Just thought I'd share the latest iteration of the contact owner module. Basically, this version will work with R2.3-svn. Not much has changed, other than cleaning up the code to make it more compatible with the gallery coding standards. The other change the Send.inc was removed and the code integrated into Contact.inc as ContactController. I hope to get it loaded up into gallery-contrib in the near future, so that it is available as part of the downloadable plugins, but until then, it is available here: http://www.timalmdal.com/outgoing/contactowner_v0.2.0.zip
Tim
http://www.timalmdal.com
Posts: 135
I am using Gallery version = 2.3-svn core 1.2.28 and I'm getting lot's of spam through the contact page. It appears that the Captcha puzzle no longer functions on this page - it appears ok but no validation is occurring when the text is submitted.
Anyone know a fix?!
Posts: 17
Hi
I am also having 2 problems with this. The captcha is enabled for this contact form but like a couple of people have said, it does not seem to validate although it appears. Even if I put in the completely wrong word or number sequence into the captcha field, it still sends the email.
I dont know to much about php so I have checked what little I can.
Thanks for any help.
Gallery version = 2.2.5 core 1.2.0.7
PHP version = 5.2.2 cgi
Webserver = Apache/1.3.39 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_ssl/2.8.30 OpenSSL/0.9.7a
Database = mysqlt 5.0.51a-community, lock.system=flock
Toolkits = ArchiveUpload, Getid3, LinkItemToolkit, Thumbnail, Gd, Exif, ImageMagick
Acceleration = none, none
Operating system = Linux p38.ich-4.com 2.6.9-42.0.10.ELsmp #1 SMP Fri Feb 16 17:17:21 EST 2007 i686
Default theme = classic
gettext = enabled
Locale = en_GB
Browser = Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1)
Posts: 358
Duh... Didn't put the $#%^@$ validation in
So until i can update the zip file you can add the following lines after line 70 of the modules/contactowner/Contact.inc file.
Sorry for the inconvenience
Tim
http://www.timalmdal.com
Posts: 358
The zip file @ http://www.timalmdal.com/outgoing/contactowner_v0.2.0.zip has been updated. Again, sorry for the inconvenience.
Tim
http://www.timalmdal.com
Posts: 17
Hi Tim
Great it works perfectly now, thank you very much.
Jonathan
http://www.globalphotodiary.com
Posts: 53
Hi, I've been playing with this a bit and am running into a slight problem. I've edited my templates and removed a great deal of the code for things I'm not using. In the process it looks like I killed whatever this module uses to display the link to the page. Could someone please tell what URL is uses so I can hand-add the link?
Thanks,
Michele
http://www.reusableart.com
Posts: 8
thanks Talmdal for the great module, it works fine , but i do recommend to open a new threead for the updated module , so no one get confused with the old one (as happened to me)
Posts: 6
Hi Tim,
Unfortunately, the email your module sends has an empty body -- whatever is entered in Message: isn't included in the email. Same problem sending to both Gmail and Yahoo Mail.
Here's what I get with all the versions that have been posted here:
___VERSION_____________RESULT
___0.0.1_(original)________No body
___0.1.1_(captcha)_________OK
___0.2.0_(2008-06-12)____No body
___0.2.0_(2008-07-03)____No body
In other words, only the first captcha version works properly for me.
Any thoughts?
Thanks.
John
p.s. When you make any change whatsoever, please increment the version number -- there's otherwise risk of serious confusion! Thanks again.
Gallery version = 2.2.5 core 1.2.0.7
PHP version = 5.2.5 cgi-fcgi
Webserver = Apache
Database = mysql 5.0.67-log, lock.system=flock
Toolkits = ArchiveUpload, Exif, Gd, ImageMagick
Acceleration = none, none
Operating system = Linux p3slh229.shr.phx3.secureserver.net 2.4.21-53.ELsmp #1 SMP Wed Nov 14 03:54:12 EST 2007 i686
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3
Rows in GalleryAccessMap table = 23
Rows in GalleryAccessSubscriberMap table = 707
Rows in GalleryUser table = 2
Rows in GalleryItem table = 707
Rows in GalleryAlbumItem table = 17
Rows in GalleryCacheMap table = 0
Posts: 2
can please somebody help me on how to place "Contact Owner" at the bottom of each picture, instead of placing "Add to Cart" at the bottom? Which template do i have to configure coz i am not a Samrty user as well.
Thanks
Posts: 1
The plugin worked right off the bat for me. No troubles on stock template using Gallery 2.3.
Nice and simple, thanks.
Shane
Hottest Wallpapers|| pSnap || Uhm, Gee...
Posts: 41
Don't work for me
Error (ERROR_UNKNOWN) : Could not send mail to
* in modules/core/classes/helpers/MailHelper_simple.class at line 93 (GalleryCoreApi::error)
* in modules/core/classes/GalleryCoreApi.class at line 2844 (MailHelper_simple::sendTemplatedEmail)
* in modules/contactowner/Contact.inc at line 139 (GalleryCoreApi::sendTemplatedEmail)
* in index.php at line 251 (ContactController::handleRequest)
* in index.php at line 105
* in index.php at line 89
System Information
Gallery version 2.3
PHP version 5.2.9 cgi-fcgi
Webserver Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8b DAV/2 mod_bwlimited/1.4
Database mysqli 5.0.67-community
Toolkits SquareThumb, ImageMagick, Thumbnail, NetPBM, Gd
Operating system Linux ns204580.ovh.net 2.6.24.5-grsec-xxxx-grs-ipv4-32 #3 SMP Wed May 28 09:09:25 CEST 2008 i686
Browser Mozilla/5.0 (Windows; U; Windows NT 6.0; ca; rv:1.9.0.7) Gecko/2009021910 Firefox/3.0.7 (.NET CLR 3.5.30729)
Posts: 215
I've added the latest version of this (V0.2.0) into the gallery-contrib repository. I've also added URL rewrite support so you can alias the contact page as something nicer. e.g. /contact
_________
Mark
ACCU - www.accu.org - Professionalism in Programming.
Posts: 9
Time for another iteration of ContactOwner module I guess.
As we stood up till now we basically had two branches of the same thing:
- last version of 0.1.1 by bauchi adding internationalisation to captcha challenge release
- last version of 0.2.0 by mridgwel adding url rewrite support to code cleanup and support for Gallery 2.3 by talmdal. But gone was support for proper internationalisation and another round of problems with Google spam filters popped up.
So, this release is now incorporating the following:
- captcha challenge
- internationalisation
- German translation
- URL rewrite
- avoiding Google Gmail spam filters by sending out plain mails instead of MIME mails
- reintroduction of versioning to avoid confusions
Hope this all make sense...
Marko
Posts: 215
Changes look good - I've updated the module description page with the latest feature list:
http://codex.gallery2.org/Gallery2:Modules:contactowner
I've also submitted voknelserp's changes to the gallery-contrib repository so changes are available to be installed directly in G2.
_________
Mark
ACCU - www.accu.org - Professionalism in Programming.
Posts: 3
hi to all and thanks for this great module.
i encountered a problem, the module works fine,
but in IE i see only 3 characters wide in the Name / E-mail / subject / message text box.
in Firefox and Chrome it looks fine.
if anyone encountered this or have an advice please share.
tnx
Posts: 215
Which version of IE?
_________
Mark
ACCU - www.accu.org - Professionalism in Programming.
Posts: 6
I see the same problem as poolica as well. It happens in IE6 and IE7 (don't know about IE8). In my case, all fields are blank and are only 1-2 characters wide when the user is not logged in and is trying to leave feedback (I run a gallery for my stuff only and do not have user accounts). When I'm logged in and I go to the Contact page, the fields are all wider, probably because my display name and e-mail address are already filled in. It appears to me that there needs to be at least some minimum width enforced on the fields and that it should work across browsers. Hope this helps.
Posts: 3
just wanted to add that its also in IE8,
and that this problem doesn't occur in earlier builds of the module
Posts: 215
I'm now confused - I'm using IE8 and it displays correctly for me.
Looking at the changes to contact.tpl it doesn't appear to be much different from the previous version, certainly the styles and sizes. (Am comparing V0.2.0 and 0.2.3). Are you comparing a V0.1.x release?
_________
Mark
ACCU - www.accu.org - Professionalism in Programming.
Posts: 3
yes
i upgraded from 0.1.X
i also tried to uninstall the upgrade, and install again, but no change
Posts: 1
First things first... thanks to those involved for all the work already done!
Now, the plugin seems to work as expected (in gallery 2.3), save for german language support / localisation. Installion of the module seems, at times at least, to be incomplete, lacking the de.po (+ de.mo) file. But even with a de.po file in place, setting language to german will effect no change on this page, while all others, like the 'about' page for example, are behaving 'properly'.
Being new to gallery2, I am not sure what is going on here.
Posts: 1
I have found a solution for the problem with IE.
I change in contact.tpl from <input type="text" style="width:100%" to <input type="text" size="80" maxlength="80" and now its works for me.
I have a attchment from my modified contact.tpl.
Bye
PHPDuke
Posts: 215
Looks good, I've updated the community repository to v 0.2.4 of this.
As a matter of interest is it just me or is v0.2.3 still rather too many spam emails? - I'm not sure if it is automated spam or not as I haven't had chance to investigate.
_________
Mark
ACCU - www.accu.org - Professionalism in Programming.
Posts: 23
I tried the module and all I get when I try to send an email is:
Error
An error has occurred.
Using greypop theme.
Posts: 2
I downloaded the files from the community repository (0.2.4) and I've fixed a few annoying things / bugs that I found, some of which were commented on above.
1. there were a couple undefined variables raising E_NOTICE warnings. One was a weird missing $temp for a page title, the other was a missing captcha level, which is now gotten and used.
2. as several people have complained, after the form is posted, it displays within the "admin" style - and you see the left hand menu. This seems like a bug to me? I've made it display as a module so you don't see the block on the left.
3. when validation fails, the from name was not being saved and used to pre-populate the form. Fixed.
I may have fixed a few other small bugs too.
Attached altered files.