[MOD] Image Upload Module (v1.0) -- Now Available

Register an Account
Pligg Chat Room
Reply
 
LinkBack Thread Tools Display Modes
  #171 (permalink)  
Old 07-28-2008, 09:14 PM
New Pligger
 
Join Date: May 2007
Posts: 18
Hello,

Thanks for this great mod, i donwload it , i install but i don't show the picture on the post, it's phisicaly uploaded on the images' directory, i see it when i edit a post but never when i go to the post's page.

Anyone has a fix for that please ?

Thanks in advance.

PS: I'm using pligg 9.5
Reply With Quote
  #172 (permalink)  
Old 07-29-2008, 02:03 PM
New Pligger
 
Join Date: Sep 2007
Posts: 7
Please help, I can't find the lines I have to change in submit step 3
Can anyone help me please?

Edit: /templates/(your template)/submit_step_3.tpl

Look for:

$linkres->store();
tags_insert_string($linkres->id, $dblang, $linkres->tags);

And add the below after those 2 lines:

// START: Image Upload Module
check_actions('image_upload_process');
// END: Image Upload Module
Reply With Quote
  #173 (permalink)  
Old 07-29-2008, 02:05 PM
New Pligger
 
Join Date: Sep 2007
Posts: 7
Help please! I can't seem to find to following lines in submit step 3
Edit: /templates/(your template)/submit_step_3.tpl

Look for:

$linkres->store();
tags_insert_string($linkres->id, $dblang, $linkres->tags);

And add the below after those 2 lines:

// START: Image Upload Module
check_actions('image_upload_process');
// END: Image Upload Module

Can you help me?

Quote:
Originally Posted by cent View Post
Thanks for everyone on the forums for providing great feedback. All of the outstanding issues (as far as I can tell) have been resolved and rolled into v.1.0 of the Image Upload module.

Get it here... http://forums.pligg.com/downloads.php?do=file&id=36

If you are currently using any version prior to v0.94, it is recommended that you upgrade to the latest version as a number of fixes and features have been added.

With v.1.0, you can:

- Edit Controls -- Edit the entry to delete the photo / upload a new one (as well as caption if Custom Caption is enabled).
- Photo Restrictions - Allows you to set restrictions on file size and dimensions.
- Custom Caption -- Allow users to supply their own caption. By default, the module uses the story's title as the caption. Enabling this features requires an extra field specifically for it. The caption can be changed by editing the story.
- Use Smarty -- this option allows you to disable the module from displaying the image, thumbnail and caption. Instead, it will set 3 smarty variables that you can use to then manipulate the data as you see fit.


Fixed a number of bugs and odd behaviors with the module. It's thoroughly commented and provides a lot of detailed information (debug mode). The debug info is only displayed if you are logged in as an admin. This will allow you to test on production installations (not recommended but possible).

Please let me know if you have any problems installing or using this module.

Best,
Cent
Reply With Quote
  #174 (permalink)  
Old 08-07-2008, 02:12 AM
New Pligger
 
Join Date: Jul 2008
Posts: 28
I need help, I used to be able to delete an uploaded image and upload another one in edit story (instead of submitting a new story). Now, after updating to 9.95, I can only upload the image with during story submission and not story editting. I checked the db, it'll put the source jpg name into the linkfield1 instead of img_<story id>.jpg and the jpg was not uploaded. Can someone point me to where I should be debugging? What could have gone wrong?
Reply With Quote
  #175 (permalink)  
Old 08-09-2008, 04:27 PM
New Pligger
Pligg Version: 9.8
Pligg Template: Default
 
Join Date: Jul 2007
Posts: 10
Quote:
Originally Posted by ziadchatila View Post
Pligg Version 9.8.1
Image Upload v0.4
Thickbox v0.1

All works well for actually submitting and displaying images with thickbox.

The problem I am having is editing the story after a news item has been submitted. When I edit a story and save, the image dissappears. When i try to edit a story and re-upload the image, it still does not appear.

Right now as is, I am not able to edit a submitted story because the image will no longer display and am forced to delete the whole story.

thanks for any help.
Anyone figured out how to avoid having to re-upload the image after editing the story?
Reply With Quote
  #176 (permalink)  
Old 08-11-2008, 04:35 AM
New Pligger
Pligg Version: n/a
Pligg Template: n/a
 
Join Date: Jan 2008
Posts: 14
Help Please! the error :

Warning: Missing argument 2 for check_actions(), called in /home/sheriff/public_html/freebiesup/templates_c/c_0c0cc1beaaff6a4fce88b8e1d778872f.php on line 435 and defined in /home/sheriff/public_html/freebiesup/modules/modules_libs.php on line 87

Fatal error: Call to a member function get_template_vars() on a non-object in /home/sheriff/public_html/freebiesup/modules/image_upload/image_upload_main.php on line 128

my site freebiesup.com
Reply With Quote
  #177 (permalink)  
Old 08-14-2008, 03:37 AM
New Pligger
Pligg Version: n/a
Pligg Template: n/a
 
Join Date: Jan 2008
Posts: 14
modules not working in pligg 9.9.5

Warning: Missing argument 2 for check_actions(), called in C:\wamp\www\Pligg\class.template.php(745) : eval()'d code on line 438 and defined in C:\wamp\www\Pligg\modules\modules_libs.php on line 87

Fatal error: Call to a member function get_template_vars() on a non-object in C:\wamp\www\Pligg\modules\image_upload\image_uploa d_main.php on line 128
Reply With Quote
  #178 (permalink)  
Old 08-14-2008, 03:16 PM
New Pligger
Pligg Version: 9.9.0
 
Join Date: Aug 2008
Posts: 3
The image upload module fine works with 9.9.
I'm tested it there - pinOK.NET
Try it - image_upload.pligg.module.v1.03.zip - only for Pligg 9.9.0
Reply With Quote
  #179 (permalink)  
Old 09-24-2008, 10:43 PM
New Pligger
 
Join Date: Jul 2007
Posts: 29
Hi, cent
Nice Work!

I meet some problems while install Image Upload v1.01. My pligg is 9.9.5. I didn't find the following code section in /templates/(your template)/submit_step_3.tpl
Quote:
$linkres->store();
tags_insert_string($linkres->id, $dblang, $linkres->tags);
Is the Image Upload Module v1.01 compatible with Pligg 9.9.5?

Best regrads!

Thanks!
Reply With Quote
  #180 (permalink)  
Old 12-17-2008, 10:43 AM
New Pligger
Pligg Version: 9.9.5
 
Join Date: Dec 2008
Posts: 1
Hi,

how can i do to have border around thumbnails? I suppose i had to code in css but i don't know how... Anybody can help me?

Thanks a lot

Marc
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Upload Module (File and Image Attachment) Yankidank Free Modules 158 03-19-2010 04:49 PM
Simple question: Has anyone got the image upload module to work? Citizenslide Questions and Comments 7 07-30-2009 01:44 AM
[MOD] Image Upload Module (v0.93) -- Please test cent Questions and Comments 54 05-01-2009 10:12 PM
Image Upload Module - Really confused thefandango Questions and Comments 3 01-05-2009 11:01 AM
Image Upload Module -- Call for feature requests cent Questions and Comments 12 11-15-2008 12:13 PM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development