Add a Contact or Feedback page Add a Contact or Feedback page
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Add a Contact or Feedback page

Started by Gizmo, March 31, 2006, 06:00:19 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Gizmo

I put together a simple contact or feedback page to add to your gallery. There is a readme.txt file that explains what needs to be modified for adding your info. It's simple and straightforward to use and easily customizable for your needs. This script does check for required info entered and that there is a "@" and "." in the senders email address.

Here are some links to explain adding new links. It should integrate into your theme without any changes other than adding a link to your menu in your theme.php and is compatible for CPG v1.3.x to 1.4.x (the ones that I use at least).

Adding Links : http://forum.coppermine-gallery.net/index.php?topic=24107.0
Adding New Pages: http://forum.coppermine-gallery.net/index.php?topic=21000.0

This php script uses the PHP mail() function which some web hosts block the mail() function if the 'fromemail' is not from your domain. In other words: sometimes, the domain email address must be used - or the mail() function will not work. If you haven't entered a SMTP email to send ecards then this should work.

If you improve on this or have a better solution, please post it for all to enjoy. Check it out here http://www.bullseyephotos.com/sports/contact.php.

Cheers,

Billy
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision

xplicit

Thank you for sharing!

Works like a charm :)

But would suggest not to hardcode absolute table width's.
Don't ask me: Can you do this .... or Give me that...or I need Quick help in PM's. I'm not Santaclaus so post your questions on the board so it will be in the benefit for everyone.

xplicit

Allthough it worked fine I have done a little bit finetuning,

Including a preview function, if anyone is interested I will post it here.
Don't ask me: Can you do this .... or Give me that...or I need Quick help in PM's. I'm not Santaclaus so post your questions on the board so it will be in the benefit for everyone.

bigarte

I'm interested in your fine-tuning xplicit.  Thanks.

SergeTaran

Quote from: Gizmo on March 31, 2006, 06:00:19 PM
I put together a simple contact or feedback page to add to your gallery. ,

Billy

Folks at Coppermine! Would you concider adding "Contact as" to your next upgrade! Please!
People with no vision parish. (Ps.)

Paver

You've already requested this on the Features Request board.  It's not useful to add an additional request here.  Please keep your Features Requests on the appropriate board.

Pascal YAP

#6
Hello CopperWorld,

Up...
Nice Addon Gizmo (-;

But i see it do not send mail in UTF-8  ???
How to ?

PYAP

[edit by PYAP] Sorry it's my fault  ??? Work nice in UTF-8 [/edit]

Pascal YAP


Gizmo

Hi PYAP,

Thanks for the translation and I was wondering if you had any luck in getting it to send mail in UTF-8. I will look into this further today if you are still unsuccessful.

Cheers,

Gizmo
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision

Joachim Müller

#9
Usually, most email clients don't come with utf-8 support. This does not only apply to this mod, but Coppermine in general. We'll need to find a way in the future to handle this. Currently, it's a know issue (or bug if you want) in Coppermine.

François Keller

Hi Gizmo and all,

a plugin inspired from your add on is avaible here
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

Gizmo

Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision