Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: mem_form - Generic HTTP form processing
This is caused by a bug in txp_plugin.php. For now, use mem_form.gz.txt until my patch gets applied.
Offline
Re: mem_form - Generic HTTP form processing
Michael, any news on 4.2 compatibility for your plugins?
Offline
Re: mem_form - Generic HTTP form processing
I have yet to install 4.2 and it’s currently low on my todo list.
Offline
Re: mem_form - Generic HTTP form processing
Note that in my testing mem_moderation_image (using it with mem_form) does not work in 4.08 or 4.2 (for what its worth). Upgrading to 4.2 is not essential but 4.08 compatibility would be great.
Offline
Re: mem_form - Generic HTTP form processing
v0.6 posted
- mem_form_select now supports multiselect, selection limit and storing selected values as a delimited string. See plugin help for details.
Note: When wanting to use multi select, you must append “[]” to the field’s name or it will only ever get 1 value.
Last edited by Manfre (2009-09-15 21:30:56)
Offline
Re: mem_form - Generic HTTP form processing
Manfre wrote:
v0.6 posted
Sorry where? :)
txtstrap (Textpattern + Twitter Bootstrap + etc…)
Offline
Re: mem_form - Generic HTTP form processing
Offline
Re: mem_form - Generic HTTP form processing
txtstrap (Textpattern + Twitter Bootstrap + etc…)
Offline
#69 2009-11-14 22:17:17
- Agogo
- Member
- From: Sthlm, Sweden
- Registered: 2008-11-27
- Posts: 31
Re: mem_form - Generic HTTP form processing
I dont have a clue if anyone has any use for this. Its not that nicely coded and I dont have time to build a nice little plugin or something but at least it might act as a pointer for those beeing in the same position as I was – trying to get the new file upload function insert files into TXP. Ive used this code within the TXPhorum plugin to enable the uploading of files with a post and attaching them to the post. This is the part that handles the uploaded file and inserts it into TXP. I then use a custom field to contain the file ID in the inserted article. txphorum_mem_File is the field name in the form.
if (isset($txphorum_mem_File)) {
$filename = $txphorum_mem_File['name'];
copy($txphorum_mem_File['tmp_name'], '/files/'.$filename);
$size = filesize($txphorum_mem_File['tmp_name']);
unlink($txphorum_mem_File['tmp_name']);
$rs = safe_insert("txp_file",
"filename = '$filename',
size = '$size',
created = now(),
modified = now()
");
if ($rs) $fileid = mysql_insert_id();
}
Offline
Re: mem_form - Generic HTTP form processing
Manfre, do you have mem_form for txp 4.2.0? It would be very great! I don’t know why but it’s not working for me in updated version of txp :(
Offline
Re: mem_form - Generic HTTP form processing
devaka, the current version should work with 4.2
Offline
Re: mem_form - Generic HTTP form processing
The link at your plugin’s page leads to v.6 of mem_from. After putting svn version (which is marked as v0.7) to devaka’s plugin cache dir it started to work.
Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?
Offline