|
All times are UTC |
|
|
Page 7 of 7 |
[ 68 posts ] | Go to page Previous 1 ... 3, 4, 5, 6, 7 |
| Print view | Previous topic | Next topic |
| Author | Message |
|---|---|
|
Joined: Thu Feb 14, 2008 4:07 pm Posts: 39 Location: Texas |
I got it working - on my WAMP server anyways. In case anyone has another upload module this is what I did for them to work together.
Debug mode showed it was looking to upload image to /images/ folder and not /imageuploads I made the image_upload_settings.php look at link_field2 instead of 1 Code: // Internal Pligg Field Names define('module_imageupload_filename_field', 'link_field2'); # This should be link field you've enabled for photo uploads. define('module_imageupload_filename_field2', 'submit_link_field2'); # This should be the same number as the above variable. Then I went through the instructions that comes with the module and just subbed a link_field2 for the link_field1 steps: - /libs/extra_fields.php - /templates/(your template)/submit_extra_fields.tpl # Edit /libs/extra_fields.php Make sure lines 13,14 and 15 are: Code: define('Enable_Extra_Field_2', false); define('Field_2_Title',"); define('Field_2_Instructions',"); /templates/(your template)/submit_extra_fields.tpl change line 8 to: Code: <!--<input type="text" name="link_field2" id="link_field2" value="{$submit_link_field2}" size="60"/>//--> _________________ http://www.GarageSongs.com |
| Fri Jun 27, 2008 1:07 am |
|
|
Joined: Sat Jun 28, 2008 8:56 am Posts: 1 |
Hi to all,
I tried to setup Image Upload module. Upload work fine. But, I tried to view link summary, errors came out. It says "Fatal error: Call to undefined method stdClass::get_template_vars() in /home/kztmk/public_html/test/test13/modules/image_upload/image_upload_main.php on line 185" How can I solve this problem? |
| Sat Jun 28, 2008 8:59 am |
|
|
Joined: Thu May 08, 2008 1:30 am Posts: 2 |
Hi.
Not having an image preview when hiting preview is normal ? As its not showing for me. Thanks. |
| Sun Jun 29, 2008 2:08 pm |
|
|
Site Admin Joined: Wed Dec 12, 2007 9:34 pm Posts: 301 |
Hi peter,
Yeah that's normal m8 the image does not display on step_2 of submit ie, story preview page, it will only show when the story has been posted or you are editing the entry |
| Sun Jun 29, 2008 2:38 pm |
|
|
Joined: Thu Jul 03, 2008 12:43 pm Posts: 1 |
Hi all,
I have probably problem with server restrictions. My admin wrote me that for uploading i may use only this: move_uploaded_file($_FILES["my_file"]["tmp_name"],"./uploaded files/new file"); Is this system using that code? I havent found it (except any "IFs") Debugging´s writing: START image_upload_process_handler; original image name = mac1.png temp image filename = /home/www/tmp/php7NNnGf Link ID = 16 Raw File size = Formatted File size = 0 b Max allowed file size = 2000000 Max allowed image x height = 1200x1200 Destination file = img_16 Destination path = /home/www/mimomet.cz/www/mimomet.cz/images/ Image data = x () Checking image dimensions for possible resizing. Updating database with image filename. Database updated. END: image_upload_process_handler. When I manualy upload the file, It works. Do you know any solution? Thanks a lot. |
| Thu Jul 03, 2008 2:26 pm |
|
|
Joined: Tue Jul 15, 2008 1:05 pm Posts: 1 |
How can I do to submit GIF´s and this show like GIF´s (movement...)?
|
| Tue Jul 15, 2008 4:20 pm |
|
|
Joined: Sun Jan 06, 2008 2:12 am Posts: 27 |
Lincoln,
Still no luck for me, I am only getting blackboxes, if I click the blackbox, it does show the full size image. Geoserv _________________ http://www.newsdots.com | http://www.faqpal.com | http://www.topstumbles.com | http://www.apnaonline.ca | http://www.pliggs.com |
| Mon Jul 21, 2008 6:53 pm |
|
|
Joined: Thu Aug 14, 2008 12:46 pm Posts: 1 |
If you have problem in viewing captures, you can do this:
Replace Code: $storyTitle = htmlentities(stripslashes($main_smarty->get_template_vars(title_short))); with Code: $storyTitle = $link->title; and replace Code: $storyTitle = htmlentities(stripslashes($main_smarty->get_template_vars(title_short))); with Code: $storyTitle = $link->title; Thanks linux4me for the inspiration |
| Fri Aug 15, 2008 1:58 pm |
|
|
|
Page 7 of 7 |
[ 68 posts ] | Go to page Previous 1 ... 3, 4, 5, 6, 7 |
|
All times are UTC |
Who is online |
Users browsing this forum: No registered users and 0 guests |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum |

