Pligg CMS Forums


Go Back   Pligg CMS Forum > Pligg Development > Modification Tutorials



[MOD] Image Upload (v.1)

Advanced Tutorials for Modifying your Pligg site


Reply
 
LinkBack Thread Tools Display Modes
  #131 (permalink)  
Old 01-25-2008, 09:49 AM
Banned
Pligg Version: v9.9
Pligg Template: Custom Templat
 
Join Date: Dec 2007
Posts: 27
We have provided a fix for this module to work with v9.9.0 of pligg.

Image Upload Pligg Module v1.02 for v9.9.0 of pligg | Bitter CMS
Reply With Quote
  #132 (permalink)  
Old 01-25-2008, 11:33 AM
Casual Pligger
 
Join Date: Aug 2007
Posts: 67
yes, agree. why not attach the mod to pligg. I even cannot access the site.
Reply With Quote
  #133 (permalink)  
Old 01-25-2008, 05:20 PM
not2serious's Avatar
Pligg Donor
Pligg Version: v0.96 w/modifications
Pligg Template: Yget w/modifications
 
Join Date: Apr 2007
Location: East Coast, USA
Posts: 226
Quote:
Originally Posted by pliggedit View Post
We have provided a fix for this module to work with v9.9.0 of pligg.

Image Upload Pligg Module v1.02 for v9.9.0 of pligg | Bitter CMS
FYI, For some reason when I try to "read more" on your site, it goes to all white for the story. I will try to check back later. I have not upgraded since I do need the image upload to function.

My Pligg Site: Critique My Art
My Arts Directory: Links 2 Arts
Reply With Quote
  #134 (permalink)  
Old 01-26-2008, 06:38 AM
New Pligger
Pligg Version: 1.5
Pligg Template: no
 
Join Date: Nov 2007
Posts: 15
I do not have any idea who developed this module but it is really complicated. its document is difficult to follow. for example, you can not find this "<input type="text" name="link_field1" id="link_field1" value="{$submit_link_field1}" size="60" class="form-full" />" there is no class "form-full". I do not know which version is module for ? any suggestion?
Reply With Quote
  #135 (permalink)  
Old 02-02-2008, 03:46 AM
New Pligger
Pligg Version: 9.8
Pligg Template: dont know yet
 
Join Date: Dec 2007
Posts: 19
Do someone know how I get the image into the summery view of the storys`?

It only shows up in the full description...

thanks and greets!
Reply With Quote
  #136 (permalink)  
Old 02-02-2008, 05:05 PM
New Pligger
Pligg Version: 9.9.0
Pligg Template: sme
 
Join Date: Jan 2008
Posts: 4
on summery page this code is not working

// Get Story ID
$storyID = htmlentities($main_smarty->get_template_vars(link_id));

there is no data for $storyID

coz of that

// Get Image filename
if ($main_smarty->get_template_vars(module_imageupload_filename_fie ld) == "")
{
$imageFile = module_imageupload_fullsize_prefix.$storyID.".jpg" ;
} else {
$imageFile = $main_smarty->get_template_vars(module_imageupload_filename_fie ld);
}

is not working also

Can someone help?
Reply With Quote
  #137 (permalink)  
Old 02-07-2008, 11:23 PM
New Pligger
Pligg Version: 9.8
Pligg Template: dont know yet
 
Join Date: Dec 2007
Posts: 19
please help wit these, its a important module.
Reply With Quote
  #138 (permalink)  
Old 04-23-2008, 10:55 PM
New Pligger
 
Join Date: Apr 2008
Posts: 2
Quote:
Originally Posted by dogmog View Post
I got the same problem with pligg 9.9.0.

I get the error:
Warning: Missing argument 2 for check_actions(), called in C:\Programme\xampp\htdocs\Pligg9\class.template.ph p(745) : eval()'d code on line 434 and defined in C:\Programme\xampp\htdocs\Pligg9\modules\modules_l ibs.php on line 87

Fatal error: Call to a member function get_template_vars() on a non-object in C:\Programme\xampp\htdocs\Pligg9\modules\image_upl oad\image_upload_main.php on line 128



and i noticed that the Line
$linkres->store();
tags_insert_string($linkres->id, $dblang, $linkres->tags);

in submit_step_3.tpl is no longer there. Maybe thats the problem?!?

it would be great if someone can help me...
I just posted to another thread the solution to the second issue of the 3rd submit page. Short version is that you need to go to /submit.php's do_submit3 function and add it there.

Now, the first problem, that fatal error, vexed me with the file upload module, but I tracked it down, and I presume the issue is similar in the image uploader.

In file_upload_preview_handler (which looks like it was mostly made for the image upload anyhow), any references to $smarty should be $main_smarty.
Reply With Quote
  #139 (permalink)  
Old 05-02-2008, 04:57 PM
New Pligger
 
Join Date: Aug 2006
Posts: 8
any chance to get this working for 9.9 version?
Reply With Quote
  #140 (permalink)  
Old 05-04-2008, 04:41 PM
New Pligger
 
Join Date: Oct 2007
Posts: 5
I have a question

How can I upload gifs and do that they show like gifs?
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[MOD] Image Upload Module (v1.0) -- Now Available cent Modification Tutorials 184 06-27-2009 01:50 AM
[MOD] Image Upload Module (v0.93) -- Please test cent Modification Tutorials 54 05-01-2009 10:12 PM
Image Upload Module -- Call for feature requests cent Modification Tutorials 12 11-15-2008 12:13 PM
Mixed files equal to all wrong with pligg and image upload ( for pligg developers ) Peter Installation and Upgrade Help 0 11-17-2007 03:55 PM
Image Upload / Image display with stories mod - Will pay for dev and share adampoots Modification Tutorials 8 04-10-2007 07:22 PM

Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Use the coupon code PLIGG at Dreamhost.com to receive a discount of up to $84.00 Make a donation to support Pligg CMS development