Latest SVN - Image Upload v0.4 broken?

Register an Account
Pligg Chat Room
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-08-2007, 11:05 AM
Constant Pligger
 
Join Date: Apr 2007
Posts: 168
Based on the instructions in the Image Upload module v0.4,

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

Look for:

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

And add the code below between those 2 lines:

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

In the latest SVN, in the file 'submit_step_3.tpl', I have noticed that an entire piece of code (76 lines of code) has been replaced with "{$the_link}"

and based on cent's instructions, in step4, we were supposed to insert his image upload module code somewhere in between in the 76 lines of code. Where do I insert this code now?

Thx
Reply With Quote
  #2 (permalink)  
Old 05-08-2007, 11:10 AM
AshDigg's Avatar
Mayor of PliggVille/Coder
 
Join Date: Dec 2005
Posts: 1,515
That code has been moved out of the TPL and into submit.php.
Reply With Quote
  #3 (permalink)  
Old 05-22-2007, 04:04 PM
Constant Pligger
 
Join Date: Apr 2007
Posts: 1,042
I´m missing another piece of code, see here:
Image Upload Module v0.4 Error Message
Reply With Quote
  #4 (permalink)  
Old 05-22-2007, 04:19 PM
Constant Pligger
 
Join Date: Apr 2007
Posts: 1,042
Quote:
Originally Posted by tbones View Post
I´m missing another piece of code, see here:
Image Upload Module v0.4 Error Message
Sorry, a little bit impolite! The manual instruction is:

Edit /templates/(your template)/submit_step_2.tpl

Look for:
<form action="submit.php" method="post" name="thisform" id="thisform">
-to-
<form action="submit.php" method="post" name="thisform" id="thisform" enctype="multipart/form-data">
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 152 03-08-2010 06:46 PM
Using Latest image upload BobdeBilder Questions and Comments 4 10-14-2008 02:28 PM
Image Upload v0.4 problem. manutd81 Questions and Comments 0 03-13-2008 12:39 PM
Image Upload Module v0.4 Error Message tbones Questions and Comments 5 02-11-2008 02:27 PM
Image Upload / Image display with stories mod - Will pay for dev and share adampoots Questions and Comments 8 04-10-2007 08:22 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