Pages (2): 1 2   
Member
Member
code   2008-09-15, 06:54
#1

So.... How do I use this plugin? I enabled it, what now? lol... Is it on the default theme anywhere? Do I have to edit some text somewhere? Since its a nightly build, i assume there isnt much information on it yet...

Administrator
Administrator
acrylian   2008-09-15, 08:03
#2

This plugin is new and prints a mail form. As with all optional plugins you would have add it's function to your theme file yourself where you wish to display it. It's not in the documention yet, but it's all documented in the file itself (it's always..:-)). Also you need to set some options.
Best make a custom page called contact.php for example and call it there (more about custom pages on our theming tutorial).

Member
Member
code   2008-09-15, 19:52
#3

thanks

Member
Member
flu   2008-09-16, 19:05
#4

Well, I have'nt seen that ! Thank you Acrylian !
I'm actually running a [2222] version and I can't install the last nightly because of this problem :
http://www.zenphoto.org/trac/ticket/758
So I have several questions :

  1. Does this plugin depends on new functions added till the [2222] one ?
  2. Does it work with multilingual options ?
  3. Will your ZenPage plugin be able to display forms like that ?

Thank you for your time.

Administrator
Administrator
acrylian   2008-09-16, 19:43
#5
  1. Sorry, you need a current nightly because the plugin uses a new function for radio boxes in the options that was added at the same time.
  2. Yes.
  3. Yes, basically. Zenpage will feature a "codeblock" section for each page/news article where you can enter php functions like this directly on the admin to be displayed for that specific page.

But you can use it right now with a normal custom theme page, too.

Member
Member
flu   2008-09-16, 19:53
#6

Great ! Thank you for your answer : now I understand why it can't work for me right now.
I'll just wait the next nightly which fix the bug above to try it (thanks to sbillard).

If you need testers for your ZenPage plugin, no problem.

Member
Member
flu   2008-09-17, 19:59
#7

Hi Acrylian.
I was finally able to upgrade my [2222] ZP to a [2469] version.
I made a custom page based on archive.php and paste into it :

I enabled the plugin but when I choose which field of the form to display (in the options) and save it, it seems that the script doesn't keep them : when I reload the plugin options in my browser the radio boxes are still virgin.
Do you have any idea about how to fix it ?
Should I have a look in a particular section of my database to check it ?

Thank you for your time.

Administrator
Administrator
acrylian   2008-09-18, 08:45
#8

That should not happen. I will take a look.

Member
Member
olihar   2008-09-19, 13:12
#9

the same is happening to a site I am working on at the moment. as Soon as I made a change to the radio boxes I never managed to save.

On the side note... as the plugin is there is a small spelling mistake.

"Thanks for your message. A copy has been sent to your provided e-mail adress for your own records."

there is a d missing in Address. just a very small side note.

Administrator
Administrator
acrylian   2008-09-19, 15:40
#10

Please try the nightly. The option handling for radioboxes is new and had a bug that now should be corrected.

Thanks for the typo report. I will correct that (in German it's "Adresse", I sometimes confuse the spelling of similar words..:-)). Since that text is just a suggestion you can of course that in the options, too.

Member
Member
olihar   2008-09-19, 16:41
#11

Perfect. I had the nightly from 2 days ago with that problem, tried with the newest nightly and it works like a charm.... or that's what I thought I go through the whole process of filling in info and sending, click Confirm to say I am sure I want to send the message. I get the message..

"Thanks for your message. A copy has been sent to your provided e-mail address for your own records."

However I never receive any email, I have an email set in the email address in the plugin settings.

Administrator
Administrator
acrylian   2008-09-19, 16:52
#12

Hm, last time I tried that on my server it worked.. I will test it again....

Administrator
Administrator
acrylian   2008-09-19, 17:12
#13

We think it may probably be related to your server setting. Some servers prohibit SMTP sends and requrire mail to come from an account. The contact forms sends it directly via php. It works on my server but maybe not on yours. Maybe you can check that?

Member
Member
olihar   2008-09-19, 17:52
#14

ok thanks.. going to check that out tomorrow, I might have to do some changes on the server if I am allowed to do so.

Member
Member
olihar   2008-09-20, 04:30
#15

I got in touch with my hosting company(SurpassHosting).

The put up a small test and it runs fine.

I will send code here from the test files to include everything. They uploaded 3 files.

Sendmailtest.php

`

Sendemail Script

Date:

Thank You : ( )

Attention:

Message:

Next Page

`
tesingcontact.php

`

`
testcont.php

`

Email Form

Administrator
Administrator
acrylian   2008-09-20, 09:48
#16

I guess somehow the internal e-mail-function Zenphoto and this plugin use does not work for you. You find that in line 274 of zp-core/lib-utf8.php in case you want to take a look. I did not write that, so I currently don't have any idea. We will investigate that of course.

Member
Member
olihar   2008-09-20, 12:23
#17

I tried one thing I forgot about... I tried to tick the box for sending email to the admin as soon as a comment had been written. That works like a charm. I get an email with the comment right away.

I should be the same send_mail code as the other one, right?

If so might there be a bug in the plugin?

There is nothing else I need to put into the custom page then.
``

thanks again for your time Malte

Administrator
Administrator
acrylian   2008-09-20, 13:17
#18

No problem, of course I want the things that I make to work as expected!

Actually the comments use a little different mail code. There the request goes first through another function before sending through the function that the plugin uses. I will test it again on my server soon.

Member
Member
olihar   2008-09-20, 13:46
#19

great thanks, if you or other find something I will be ready to test it.

Member
Member
flu   2008-09-23, 12:09
#20

Hi.
I've just upgraded my gallery to the last nightly, now I can choose the fields that I want to appear but the captcha one still stay virgin even if I select it.

This is quite strange, I must have forgotten something.

Pages (2): 1 2   
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.