Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#253 2007-07-04 03:16:51

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,310

Re: zem_contact_reborn 4.0.3.19 (old version)

Hi Ruud,

the ID of my text areas don’t use their label text as their ID any more but are now named something like “qbea9f82e3c4e778636067a06eb9ee2d6” for instance, which involves maintaining CSS. This was not from the biginning, where I used 4.0.3.17. I now have the special version installed that you linked in the thread somewhere above, the one that should be pasted directly into the plugins’ “edit code” field. Seems like the changes to the fields’ IDs (and of course their classes and “label for= …” values) happened when I changed the field’s label texts with 4.0.3.19 installed. I can’t reproduce this any further as all of my text areas now have these strange IDs.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#254 2007-07-04 08:20:49

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: zem_contact_reborn 4.0.3.19 (old version)

uli, you can explicitly specify the name attribute to avoid this, but take a look at the style section of the plugin help, because the new version has new classes added that should help you style textareas without having to do this for each textarea separately.

Offline

#255 2007-07-04 13:26:53

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,310

Re: zem_contact_reborn 4.0.3.19 (old version)

Ah, OK, a revised help, I didn’t have this in mind anymore. Don’t have it at hand. (Some posts above I asked you, whether you’d be so kind to post/upload the help text separately for those like me, who needed to paste the plugin code into the plugins’ “edit code” field.)


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#256 2007-07-04 13:59:57

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: zem_contact_reborn 4.0.3.19 (old version)

Use the normal download URL, but add ?gzip at the end and you’ll have a compressed, small plugin that will install on your webhost.

Offline

#257 2007-07-04 17:45:05

ferenczi
Member
Registered: 2005-01-31
Posts: 67

Re: zem_contact_reborn 4.0.3.19 (old version)

Hello,

I am having the hardest time installing this plugin. I’m running 4.0.3. Initially when I would paste the text into the box and hit “upload,” I would immediately get a 404 error. So I tried the compressed version. Still no go. Grasping at straws, I made a couple of small changes in my .htaccess file. Then I was able to upload the plugin and advance to the preview page. Relief! But when I hit “install,” I got the 404 error again. Host is vervehosting. post_max_size=8M.

Anyone have any idea what could be tripping me up?

Here’s my .htaccess file as it now stands:
@DirectoryIndex index.php index.html
#Options +FollowSymLinks
#RewriteBase /relative/web/path/

<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) – [PT,L]
RewriteBase /
RewriteRule ^(.*) /index.php
</IfModule>

#php_value register_globals 0@

The changes I just made were uncommenting the first line and adding the forward slash before “index.php”.

Offline

#258 2007-07-04 17:50:44

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: zem_contact_reborn 4.0.3.19 (old version)

I believe compressed plugins weren’t supported yet in 4.0.3. Upgrading to 4.0.5 is highly recommended (also fixes some security problems).

ferenczi, do you also have problems installing other plugins at the moment?

Last edited by ruud (2007-07-04 17:51:45)

Offline

#259 2007-07-04 17:54:50

ferenczi
Member
Registered: 2005-01-31
Posts: 67

Re: zem_contact_reborn 4.0.3.19 (old version)

Thanks for the prompt reply, Ruud. Yes, I should upgrade, silly me.

No problems with any other plugins.

But I’ll upgrade and then report back.

Offline

#260 2007-07-04 18:21:24

ferenczi
Member
Registered: 2005-01-31
Posts: 67

Re: zem_contact_reborn 4.0.3.19 (old version)

Upgrade seemed to go without a hitch in most respects; but now I get: “Fatal error: Call to undefined function: assert_int() in /home/path/to/txp/include/txp_plugin.php on line 265”

My PHP skills are not so hot. Forgive me if someone else got a similar error and mentioned it previously; I did go through all 26 pages of this thread but things are a bit jumbled in my mind right now.

Any idea what could be generating this error?

Last edited by ferenczi (2007-07-04 18:21:55)

Offline

#261 2007-07-04 18:28:31

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

Re: zem_contact_reborn 4.0.3.19 (old version)

Please verify the existence and up-to-dateness of /textpattern/lib/txp_misc.php.

Offline

#262 2007-07-04 18:57:49

ferenczi
Member
Registered: 2005-01-31
Posts: 67

Re: zem_contact_reborn 4.0.3.19 (old version)

Bingo, Robert. You are brilliant. Thank you. All appears to be well now.

Offline

#263 2007-07-05 00:55:14

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

Re: zem_contact_reborn 4.0.3.19 (old version)

Hi!

I hope this isn’t a too dumb question:

Why the values for the value attribute in radio inputs are those weird numbers?

<input type="radio" checked="checked" name="zemDoSubscribe" class="zemRadio zemDoSubscribe" id="q0bcdc0a16cf7ae26e0a51f5655d5e5ee" value="q0bcdc0a16cf7ae26e0a51f5655d5e5ee"/> <label class="zemRadio zemDoSubscribe" for="q0bcdc0a16cf7ae26e0a51f5655d5e5ee">Si, quiero!</label>
<input type="radio" name="zemDoSubscribe" class="zemRadio zemDoSubscribe" id="qce57c9edb3e7d850eb6bee589a4648bf" value="qce57c9edb3e7d850eb6bee589a4648bf"/> <label class="zemRadio zemDoSubscribe" for="qce57c9edb3e7d850eb6bee589a4648bf">No</label>

This is the relevant code in my ZCR form:

<txp:zem_contact_radio label="Si, quiero!" name="zemDoSubscribe" checked=1 group="suscribir" />
<txp:zem_contact_radio label="No" />

I’m trying to use the ZCR together with the Postmaster plugin.
I think I just would like the values to be “yes” or “no”.

Thanks.


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#264 2007-07-05 01:29:31

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,310

Re: zem_contact_reborn 4.0.3.19 (old version)

Julián, have you read my post from yesterday and Ruud’s replies? Maybe they’re helpful.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

Board footer

Powered by FluxBB