This is coming in the next release…probably in about a week, just doing the last bug tests now.
Thread Starter
cgrray
(@cgrray)
I see there is an upload document field in the edit screen but when I tried to upload a PDF it says it only accepts image formats.
Yes, this won’t be available until the next release.
Thread Starter
cgrray
(@cgrray)
OK great. Thanks. One other question; is there a limit to how many characters can be stored in a textarea?
Yes: a little over 65,000
If you need more than that, you can manually edit the datatype of the field in the database using PHPMyAdmin or something like that.
Thread Starter
cgrray
(@cgrray)
If I edit the datatype will that change after the plugin gets updated?
Hi xnau,
I am running Participant Database v 1.3., but I have made some huge customizations to it, and therefore don’t want to upgrade …..
however I really need to be able to upload images of up to 4mb as new pictures in participant listings.
Can you tell me how to change the limit from 750kb to 4mb?
Thanks
And fantastic plugin by the way!
Yes, if you go to the file classes/PDb_Settings.class.php, you’ll find where that setting is defined, you can just change the values that are available:
$this->plugin_settings[] = array(
'name' =>'image_upload_limit',
'title' =>__('Image Upload Limit', Participants_Db::PLUGIN_NAME ),
'group' => 'main',
'options' =>array(
'type' =>'dropdown',
'help_text' => __('the maximum allowed file size for an uploaded image', Participants_Db::PLUGIN_NAME ),
'value' => '100K',
'options' => array( '10K'=>10,'20K'=>20,'50K'=>50,'100K'=>100,'150K'=>150,'250K'=>250,'500K'=>500, '750K'=>750 ),
)
);
Those values in the “options” array are what you would change, then you can just change it to the new value in your settings.
Brilliant ! thanks for the help xnau
Thread Starter
cgrray
(@cgrray)
Can you say when the next release will be? I’m deciding whether to add your hack or wait for the release.
Thanks.
It’s soon, like a week. The holidays are interfering with my coding 🙂
You can download the beta if you want to start using it right away. Read the “call for beta testers” post at the top of the forum for instructions.
Thread Starter
cgrray
(@cgrray)
Nice update. Thanks for that.
BTW on this page: http://xnau.com/work-2/wordpress-plugins/participants-database/using-the-participants-database-plugin/
the anchor tag for Image and File Uploads isn’t hooked up. A very small thing but I thought you’d like to know.
Tnaks again.