
Upgrade Template From Pligg v9.9.0 to Pligged V9.9.1
To get your existing template to work with Pligged v9.9.1 there are some minor changes needed, nothing too special as all the PHP has been taken care of

I have broken down the changes into several posts to differentiate, this will be easier if you do not want the image upload function or any other in your template, i would recommend you carry out all steps to get the best out of the system though.
Step 1 -
IMAGE UPLOAD MODULE CHANGESOPEN: /templates/(your template)/submit_step_2.tpl
FiINDCode:
<form action="submit.php" method="post" name="thisform" id="thisform">
REPLACE WITHCode:
<form action="submit.php" method="post" name="thisform" id="thisform" enctype="multipart/form-data">
FINDCode:
{include file=$tpl_extra_fields.".tpl"}
ADD BEFORECode:
{php}
// Start: Image Upload Module
check_actions('image_upload_form', $vars);
// End: Image Upload Module
{/php}
OPEN: /templates/(your template)/link_summary.tpl
At the end of file, copy and paste the below code above the last 2 DIVs of the file.
Code:
{php}
// START: Image Upload Module
check_actions('image_upload_preview', $vars);
// END: Image Upload Module
{/php}
This code triggers the Image Upload module to show the image. Ideally you can place the above code anywhere within link_summary.tpl where you want to image to show up at.
OPEN /templates/(your template)/editlink_edit_center.tpl
FIND around line 25:Code:
<form action="" method="post" id="thisform">
REPLACE WITHCode:
<form action="" method="post" id="thisform" enctype="multipart/form-data">
FINDCode:
{include file=$tpl_extra_fields.".tpl"}
Copy and paste the below code directly above it:
Code:
{php}
// START: Image Upload Module
check_actions('image_upload_form', $vars);
// END: Image Upload Module
{/php}
This code triggers the Image Upload module to show the upload form.
That should be the image upload module working don't forget to create a folder titled /images in your pligg root and CHMOD to 777.