[MOD] Image Upload Module (v0.93) -- Please test

Register an Account
Reply
 
Thread Tools Display Modes
  #41 (permalink)  
Old 08-07-2007, 11:15 PM
CMY CMY is offline
New Pligger
 
Join Date: Aug 2007
Location: Hermosa Beach, CA
Posts: 2
Send a message via AIM to CMY
Bringing this one back up..

I installed 9.7 the other day and I'm about ready to bang my head on my desk. For whatever reason, I can not find the line:

<form action="submit.php" method="post" name="thisform" id="thisform">

That has to be changed to:

<form action="submit.php" method="post" name="thisform" id="thisform" enctype="multipart/form-data"> in /templates/(your template)/submit_step_2.tpl

Everything else appears to be in order, but I'm still stuck on step 1. Any ideas? The closest appears to be:

<form action="{$URL_submit}" method="post" name="thisform" id="thisform">

But I'm not going to change that without consulting someone on what it does. Seems that changing a URL_submit might be a bad idea.

Thanks,
Chris
Reply With Quote
  #42 (permalink)  
Old 08-08-2007, 06:15 PM
cent's Avatar
Constant Pligger
 
Join Date: Jan 2007
Location: New York, NY
Posts: 180
Hi Chris,

You found the right line...

PHP Code:
<form action="{$URL_submit}" method="post" name="thisform" id="thisform"
should be changed to:

PHP Code:
<form action="{$URL_submit}" method="post" name="thisform" id="thisform" enctype="multipart/form-data"
I believe that "submit.php" might have been hardcoded either by accident or it was hardcoded in prior versions. Keep what you have and just add the enctype part in there and you should be fine.

Best,
Cent


Quote:
Originally Posted by CMY View Post
Bringing this one back up..

I installed 9.7 the other day and I'm about ready to bang my head on my desk. For whatever reason, I can not find the line:

<form action="submit.php" method="post" name="thisform" id="thisform">

That has to be changed to:

<form action="submit.php" method="post" name="thisform" id="thisform" enctype="multipart/form-data"> in /templates/(your template)/submit_step_2.tpl

Everything else appears to be in order, but I'm still stuck on step 1. Any ideas? The closest appears to be:

<form action="{$URL_submit}" method="post" name="thisform" id="thisform">

But I'm not going to change that without consulting someone on what it does. Seems that changing a URL_submit might be a bad idea.

Thanks,
Chris
Reply With Quote
  #43 (permalink)  
Old 08-10-2007, 10:11 PM
New Pligger
 
Join Date: Aug 2007
Posts: 5
Hi,

I'm using the latest of ImageUpload modules (v1.0). The image was uploaded successfully but now I got two thumbnails, one underneath of the "Discuss..." and the other in the right hand corner. Is there anyway to get rid of the one in the right hand?

Thanks

-S

Last edited by LangTuSJ; 08-11-2007 at 12:32 AM.
Reply With Quote
  #44 (permalink)  
Old 08-13-2007, 02:07 PM
CMY CMY is offline
New Pligger
 
Join Date: Aug 2007
Location: Hermosa Beach, CA
Posts: 2
Send a message via AIM to CMY
Quote:
Originally Posted by cent View Post
Hi Chris,

You found the right line...

I believe that "submit.php" might have been hardcoded either by accident or it was hardcoded in prior versions. Keep what you have and just add the enctype part in there and you should be fine.

Best,
Cent
Thanks Cent.. I'm glad I wasn't completely off my rocker with this!
Reply With Quote
  #45 (permalink)  
Old 01-08-2008, 07:48 AM
New Pligger
Pligg Version: not downloaded yet
Pligg Template: general
 
Join Date: Nov 2007
Posts: 8
Hi,
I have added a button in submit a story page to add user defined thumbnail image. Its is working well.
But now i want to set default image if the user does not provide the thumbnail image for its story.
Is it possible?
Reply With Quote
  #46 (permalink)  
Old 05-09-2008, 06:04 AM
New Pligger
 
Join Date: Aug 2007
Location: Delhi
Posts: 6
I am getting below error in image upload module Vs 1.01
Fatal error: Call to undefined method stdClass::get_template_vars() in /home/purep2/public_html/talkdelhi/modules/image_upload/image_upload_main.php on line 128

Please help me out.
Reply With Quote
  #47 (permalink)  
Old 05-13-2008, 12:55 PM
New Pligger
Pligg Version: 9.9
Pligg Template: Custom
 
Join Date: Dec 2007
Posts: 16
I'm about to cry. I have the 9.9 version of pligg installed it comes with the image upload module in the package so you just have to acitvate it, but activted it and updated the files as the module information says, all but a couple that pligg 9.9 has changed from the previous versions.

had to disable the module because if it is enabled I can't see my web page and now there is a error below each story saying:
Warning:

Missing argument 2 for check_actions() in /home/content/l/o/r/lordev/html/votocilina/modules/modules_libs.php on line 87 RESOLVED THIS ONE REPLACING THE OLD MODULES_LIBS.PHP WITH A NEW ONE...BUT THE IMAGE UPLOAD MODULE STILL NOT WORKING.

other that that for the people that go it working it looks awesome....

Last edited by m1gu3; 05-13-2008 at 01:31 PM. Reason: problem solved, partially
Reply With Quote
  #48 (permalink)  
Old 05-16-2008, 09:08 PM
New Pligger
Pligg Version: 9.8
Pligg Template: default
 
Join Date: Dec 2007
Posts: 5
Does the Vs 1.01 works with Pligg 9.9 ?? I activated it and tried modifying the files as per instructions to make it work but at some places the code i am supposed to change is not the same as shown in the instructions.

Need an image upload module. Pls help.
Reply With Quote
  #49 (permalink)  
Old 12-29-2008, 07:02 AM
New Pligger
 
Join Date: Dec 2008
Posts: 1
i want to upload an image,but i cant do.how i uploaded the image,even my image upload module is enabled .what should i do?
Reply With Quote
  #50 (permalink)  
Old 12-29-2008, 01:20 PM
New Pligger
 
Join Date: Feb 2008
Posts: 24
my version is pligg 9.9.5 i followed all the installation steps in image_upload_readme.htm after setting the things up when i browse picture and continue to submit step 3 i get these errors

1. Warning: Missing argument 2 for check_actions(), called in /home/treilari/public_html/submit.php on line 276 and defined in /home/treilari/public_html/modules/modules_libs.php on line 87

2. Warning: Missing argument 2 for check_actions(), called in /home/treilari/public_html/class.template.php(745) : eval()'d code on line 430 and defined in /home/treilari/public_html/modules/modules_libs.php on line 87

3 Fatal error: Call to undefined method stdClass::get_template_vars() in /home/treilari/public_html/modules/image_upload/image_upload_main.php on line 124

Last edited by maiti; 12-29-2008 at 01:26 PM.
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 268 02-03-2012 12:19 PM
[MOD] Image Upload Module (v1.0) -- Now Available cent Questions and Comments 190 01-08-2011 05:12 PM
Simple question: Has anyone got the image upload module to work? Citizenslide Questions and Comments 7 07-30-2009 02:44 AM
Image Upload Module - Really confused thefandango Questions and Comments 3 01-05-2009 12:01 PM
Image Upload Module -- Call for feature requests cent Questions and Comments 12 11-15-2008 01: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