[MOD] Image Upload Module (v1.0) -- Now Available

Register an Account
Closed Thread
 
Thread Tools Display Modes
  #161 (permalink)  
Old 05-17-2008, 03:27 PM
Banned
Pligg Version: 9.9.5
 
Join Date: Oct 2007
Location: Canada
Posts: 784
ok I found out something really important that could help someone trouble shoot this with me!

The images are in fact uploading. But they are going to the root image folder on my server for some reason and not the image folder inside the blogengage folder.

see YsFi is my main server root and blogengage is hosted in a little folder on that server.

The images are being uploaded too http://www.yoursourceforinfo.com/images/

and not the http://www.blogengage.com/images/

How can I fix this? I was thinking there's 2 ways. I can change the path to the images (which I don't know how) or I can change the upload path (which I don't knowhow)

Anyone have any advice on this or at least what line or file I would have to edit?

EXAMPLE:

Submission, Blog Engage - Search the internet for money!

Image location: http://www.yoursourceforinfo.com/images/img_7154.jpg

Thumbnail links leads to, http://www.blogengage.com/images/img_7154.jpg

EDIT: This mod is now working thanks

Last edited by bbrian017; 05-17-2008 at 04:18 PM.
  #162 (permalink)  
Old 05-24-2008, 06:51 PM
cmstheme's Avatar
Donor/Coder
Pligg Version: 9.9
Pligg Template: Squaretle
 
Join Date: Jan 2007
Location: Philippines
Posts: 531
@bbrian017
Please make sure you are using the new version 1.03 I think. It's working in 9.9.0.

You can try editing image_upload_settings.php, find
PHP Code:
define('module_imageupload_basedir'$_SERVER['DOCUMENT_ROOT'].my_pligg_base."/"); 
and replace with
PHP Code:
define('module_imageupload_basedir'my_pligg_base."/"); 
Not sure if it works in your end but it's OK in my local test.
  #163 (permalink)  
Old 05-24-2008, 07:44 PM
Banned
Pligg Version: 9.9.5
 
Join Date: Oct 2007
Location: Canada
Posts: 784
That may have worked as well!

I got it working like i mentioned it was uploading the image to my root server image folder and not the blogengage image folder.. understand?

It's working now, Blog Engage Blog Traffic / Published News
  #164 (permalink)  
Old 06-11-2008, 02:27 PM
New Pligger
Pligg Version: 9.9
Pligg Template: yget
 
Join Date: May 2008
Posts: 3
hi guys, i've just installed the image upload module, which seems to work fine. the image is being placed in the correct folder and the full-size-image does work.

but the thumbnail is just replaced by the red cross as he isn't finding the thumb... anyone knows how to fix that?
  #165 (permalink)  
Old 07-22-2008, 07:13 PM
joehunk's Avatar
Casual Pligger
 
Join Date: Oct 2007
Posts: 66
sorry guys, mine is perfectly working. sweet. i like this mode. it was implemented with a little hacked on the code. i used lightbox to enlarge image and point the thumbnail in the story url. thanks cents for the great mode.
  #166 (permalink)  
Old 07-22-2008, 07:36 PM
Casual Pligger
Pligg Version: 9.9
 
Join Date: Apr 2008
Posts: 39
Quote:
Originally Posted by joehunk View Post
sorry guys, mine is perfectly working. sweet. i like this mode. it was implemented with a little hacked on the code. i used lightbox to enlarge image and point the thumbnail in the story url. thanks cents for the great mode.
Would you mind responding to this thread?
http://forums.pligg.com/module-suppo...ink-story.html

I'm trying to do the same thing, but I can't get it to work. Also would like to know what version of Pligg you're using - it seems that the image upload module has a bug with v9.9 and can't access the story data.
  #167 (permalink)  
Old 07-22-2008, 08:54 PM
catchpen's Avatar
Pligg Donor/Coder
 
Join Date: Feb 2008
Posts: 185
Quote:
Originally Posted by swese44 View Post
Would you mind responding to this thread?
http://forums.pligg.com/module-suppo...ink-story.html

I'm trying to do the same thing, but I can't get it to work. Also would like to know what version of Pligg you're using - it seems that the image upload module has a bug with v9.9 and can't access the story data.
Pligg Templates - Home has a solution but it's not free. Socialcmsbuzz has a working version for 9.9 but no link to story

Last edited by catchpen; 07-22-2008 at 09:02 PM.
  #168 (permalink)  
Old 07-22-2008, 09:23 PM
Casual Pligger
Pligg Version: 9.9
 
Join Date: Apr 2008
Posts: 39
Quote:
Originally Posted by catchpen View Post
Pligg Templates - Home has a solution but it's not free. Socialcmsbuzz has a working version for 9.9 but no link to story
The image upload module works for the most part with 9.9, but there are errors. The module cannot access the story data so it cannot set up alt text for the images. This also means I can't access a URL for the story so I can't link to the story.

I guess cent has abandoned this project, is there anybody else familiar enough with the image upload module to fix this bug for 9.9?
  #169 (permalink)  
Old 07-22-2008, 09:55 PM
joehunk's Avatar
Casual Pligger
 
Join Date: Oct 2007
Posts: 66
Quote:
Originally Posted by swese44 View Post
Would you mind responding to this thread?
http://forums.pligg.com/module-suppo...ink-story.html

I'm trying to do the same thing, but I can't get it to work. Also would like to know what version of Pligg you're using - it seems that the image upload module has a bug with v9.9 and can't access the story data.
I'm not on 9.9 yet but i have a project working on v9.9. I'll let you know how's this mod doing in 9.9. Hopefully will implement in 2 - 3 weeks from now. I'm actually not touched any code from cent. The hack is implemented in link_summary.tpl of any template.

Since the module is using field1, use this variable to call for the image and the thumbnail.

It can be accomplished using a call to link_field1.

I'll be posting the solution on my blog later today if I have much time, or come back at the end of this week. I promise to put the code up there.

If anyone need the code, let me know.
  #170 (permalink)  
Old 07-22-2008, 10:17 PM
Casual Pligger
Pligg Version: 9.9
 
Join Date: Apr 2008
Posts: 39
Quote:
Originally Posted by joehunk View Post
I'm not on 9.9 yet but i have a project working on v9.9. I'll let you know how's this mod doing in 9.9. Hopefully will implement in 2 - 3 weeks from now. I'm actually not touched any code from cent. The hack is implemented in link_summary.tpl of any template.

Since the module is using field1, use this variable to call for the image and the thumbnail.

It can be accomplished using a call to link_field1.

I'll be posting the solution on my blog later today if I have much time, or come back at the end of this week. I promise to put the code up there.

If anyone need the code, let me know.
That would be perfect, please post a link to your blog when you put the code up. And the sooner the better Thanks!
Closed Thread

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
Simple question: Has anyone got the image upload module to work? Citizenslide Questions and Comments 7 07-30-2009 02:44 AM
[MOD] Image Upload Module (v0.93) -- Please test cent Questions and Comments 54 05-01-2009 11:12 PM
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