[MOD] 9.8.2 File Upload Working

Register an Account
Pligg Chat Room
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-30-2007, 12:43 PM
Casual Pligger
 
Join Date: Sep 2007
Posts: 96
OK here is a couple of screen shots.I'm getting the files put together and making new instructions on how to install this baby.

Please note That if you are using the image and mp3 upload module, i will assume that you are using link_field 1 and 2. Please when i upload the files for 9.8.2 don't change the settings i have it set for link_field 3 but you are free to change that to what ever fits your production environment well.

So most of you are wondering why this thing was so buggy.

It isnt buggy in the since of uploading a file, it was displaying the link for the file which is now fixed.


Well what i did is i reinstalled 9.7. Becuase that was the last version before everything started to have problems. Everything worked well. I mean the files were being uploaded, and the file was in the database cell. So the only problem left was displaying it. Well cent didnt castch this but it was just a matter of changing

Code:
$fileData = $main_smarty->get_template_vars(module_fileupload_filename_field);
to
Code:
$fileData = $smarty->get_template_vars(module_fileupload_filename_field);


The same thing still applied to 9.8.2. But the only problem was it still didnt show


So i looked for hours at the core of 9.8.2 and compared to 9.7 to see what was change.

Little things were changed between the two. So i just went and looked through my admin panel and saw that the extra fields configuration was still in place. So all i did was enable it and boom file_upload_preview handler works.

Now another thing to also realize is that you guys will have to use twinkiboys function from the other thread to allow the file upload module to recognize and retrieve the mimi type, since i cant assume your host has it enabled. Dont worry ill have that in the text file aswell.

(the only bug that remains, which is the case for the other upload modules, is when you edit the story the link dissapears. so give me a little more time to fix that. But if you dont have to edit stories often dont worry about it.

So there now let me give you guys the screening's and those files should be up soon.





and to prove it is 9.8.2


Last edited by Redux; 12-30-2007 at 12:55 PM.
Reply With Quote
  #2 (permalink)  
Old 12-30-2007, 07:53 PM
Casual Pligger
Pligg Version: 9.8.2
Pligg Template: none
 
Join Date: Dec 2007
Posts: 33
I can't wait to try this out.
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
Index.php won't open to install nigelnix Questions and Comments 5 02-18-2010 04:59 PM
[MOD] File Upload Module for 9.8.2 Is here for download :) Redux Questions and Comments 7 01-27-2008 08:21 AM
[MOD] File Upload Module -- seeking requests for features cent Questions and Comments 2 08-11-2007 04:39 AM


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