Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Archives
  3. » Plug-in: zem_contact_reborn

#181 2006-02-04 13:40:19

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Plug-in: zem_contact_reborn

Well my thinking was that there could be a single plug-in, like zem_contact_lang, which could contain all text outputs from all plug-ins. As it is a public-side plug-in anything can link to it with the correct call. You could then take it one step further and have translations maintained by interested individuals. The only problem I foresee is that it would change quite regularly with so many plug-ins being dependant on it plus new plug-ins being added all the time. And there would need to be some kind of common protocol which may be problematic for existing plug-ins.

As I say, it was just a passing thought and I’ve let it pass me by for now. ;)


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#182 2006-02-05 08:40:55

-P-
Member
From: Finland
Registered: 2005-09-10
Posts: 211

Re: Plug-in: zem_contact_reborn

<blockquote>
> thebombsite wrote:

So are you going to supply the Dutch version then, and a French one from Jeremie, a German one from Alexandra, a Finnish one from p and the list goes ever onwards? ;)
</blockquote>

Yes, P makes finnish translation!

I´ve been testing the plugin again now, trying to reproduce all possible errors etc.

Might be again that I am just messing up but is translation option for “Name” missing?
Then, what is the difference between and occasions used with <code>‘message’</code> and <code>‘text’</code>? I am only able to produce errors that pull out the translation of <code>‘message’</code>.

edit: ok, found the contex for <code>‘text’</code>. I guess it is for additional fields, for example if there is field called “Your company” but no label definied it outputs translation for text.

Last edited by -P- (2006-02-05 10:11:47)

Offline

#183 2006-02-05 11:58:05

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Plug-in: zem_contact_reborn

Might be again that I am just messing up but is translation option for “Name” missing?

It looks like it’s missing, had not noticed that before… But for ‘name’, ‘email’ and ‘message’ you can also use the label attribute in your tags.

Offline

#184 2006-02-05 12:25:51

tranquillo
Archived Plugin Author
Registered: 2005-03-07
Posts: 127
Website

Re: Plug-in: zem_contact_reborn

It’s not missing, because the error messages related to a text input field (as is the input field for the name) are using the label of the field: $zem_contact_error[] = zem_contact_gTxt(‘field_missing’, $label);

The translations are only used for the error messages or as default values (which can be specified differently in the tags) for the input fields. So by defining the label, you can define the translation.

Last edited by tranquillo (2006-02-05 12:29:07)

Offline

#185 2006-02-05 13:47:28

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Plug-in: zem_contact_reborn

Did you understand that P? :)

Last edited by thebombsite (2006-02-05 13:53:34)


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#186 2006-02-05 18:08:19

-P-
Member
From: Finland
Registered: 2005-09-10
Posts: 211

Re: Plug-in: zem_contact_reborn

Yes :)

Offline

#187 2006-02-05 22:07:28

alexandra
Member
From: Cologne, Germany
Registered: 2004-04-02
Posts: 1,370

Re: Plug-in: zem_contact_reborn

Along with the redesign of TXP Magazine i will install and test the latest reborn version. I can deliver a german translation and host it on the german TXP Blog if you want me to. Just let me know.

Offline

#188 2006-02-06 09:34:58

-P-
Member
From: Finland
Registered: 2005-09-10
Posts: 211

Re: Plug-in: zem_contact_reborn

I will get my new “work site” out this week. So if it is better that translations are hosted on their authors sites, that is ok for me too!

Offline

#189 2006-02-06 10:36:17

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Plug-in: zem_contact_reborn

All fine by me. When people have these translations done, if you tell me where they are, I will point to them in the top post.

And I haven’t added the plug-in to the TXP Resource site. I suppose I ought to really hadn’t I?

Last edited by thebombsite (2006-02-06 10:38:05)


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#190 2006-02-06 14:54:31

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Plug-in: zem_contact_reborn

Version .15 released. Now removing tags from the article when using the “Send to a Friend” function. We are still looking at quotes and apostrophes which remain coded as HTML. May have something to do with “pretty quotes”, but I’ve released this “as is” because the articles definitely look a lot neater now.

Last edited by thebombsite (2006-02-06 14:55:14)


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#191 2006-02-06 19:49:19

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: Plug-in: zem_contact_reborn

<code>Fatal error: Call to undefined function zem_contact_gTxt()</code>

I get this error with the latest version, anyone else?

Edit: God I’m dumb sometimes. rtf instructions. Not sure I like having to have a seperate plugin though. That means 2xEverysite.

Last edited by mrdale (2006-02-06 19:55:09)

Offline

#192 2006-02-06 20:04:21

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Plug-in: zem_contact_reborn

Ha ha. Yes but you speak English and it’s not like it’s going to change that often. More or less “install it and forget it”. :)


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#193 2006-02-07 06:13:24

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: Plug-in: zem_contact_reborn

Great plug-in.
Slowly learning it…

Thanks to all the chamanes that have reborned this plug-in with a white magic.. and a little magic dust…


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#194 2006-02-07 16:28:04

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: Plug-in: zem_contact_reborn

Hi,
i think I’m having some problems that maybe are related with this plug-in, but I really dont know.

Yesterday, I updated from 4.0.1 and plug-in dca_email_form to 4.0.3 and zem_contact (reborn), because an spammer sent SPAM maybe thru a hole in the dca_email_form. I also was receiving 10 or 20 e-mails by day, sent through my contact form, that were obviusly a kind of SPAM, because they were all sent from a non-existing email address of my own domain (like 2jlk298@mydomain.com or similar).

So, as I said, I upgraded to 4.0.3 and zem_contact reborn, hoping that those kind of e-mails will gooing to stop.

But today I have received new fake e-mails sent thru the new contact form.
You can see the emails content here (the 3 are different):
http://pastebin.com/543365
http://pastebin.com/543404
http://pastebin.com/543409

As I also said, they are always sent with a fake address of my own domain.

So, my first idea to stop this kind of abuse is: to exclude email addresses from @mydomain.com.
Is there anyway to do this?

Also, does anyone suffered this kind of attack with zem_contact?

thanks.

Last edited by maniqui (2006-02-07 16:32:01)


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#195 2006-02-07 22:05:32

Anton
Plugin Author
From: Alingsås, Sweden
Registered: 2004-11-16
Posts: 138
Website

Re: Plug-in: zem_contact_reborn

can anyone confirm that this scenario now works:
  1. enter some international characters, like åäö
  2. leave one required field out, so that an error occurs (and old data is prepopulated in filled-out fields)
  3. fill in missed fields and resubmitting the now completed form (with old åäö data that should not look scrambled)
  4. the resulting email shows “åäö” as it should in Outlook for Windows

anyone tried? i had to hack in som iso-8859-1 conversion stuff to make it (old sem_contact that is) work.

Offline

  1. Index
  2. » Archives
  3. » Plug-in: zem_contact_reborn

Board footer

Powered by FluxBB