Go Back   Pligg CMS Forum > Pligg Development > Modification Tutorials

Reply
 
LinkBack Thread Tools Display Modes
  #121 (permalink)  
Old 01-14-2008, 04:12 PM
cmstheme's Avatar
Pligg Donor
Pligg Version: 9.9
Pligg Template: Squaretle
 
Join Date: Jan 2007
Posts: 248
Thanks: 28
Thanked 40 Times in 30 Posts
Not Working

This module is also not working on one of my installation - Blog Engage / Published Blogs

Here's what I did:
1. Installed the module, together with its dependencies.
2. Created the "images" folder on root directory and CHMOD to 777. I guess the host has turn the folder INDEXES to OFF because I will see a 403 Forbidden error when I directly access it.

When I submit new news with photo, I am able to view the thumbnail on "Step 3, confirm details", however there's no image that was actually uploaded in the "images" folder when I view it via FTP. When I finally submit the news, I can still see that there is the thumbnail on the link summary but clicking it will, of course, result to "NOT FOUND" because as stated above there's no image that was really uploaded.

So, how does the script be able to create the thumbnail where it was not able to upload the image? Or does it create a thumbnail first then upload the created thumbnail to the "images" folder? Does this have to do with 403 Forbidden error, but I have already CHMOD it to 777?

Any suggestions/solutions on how to get this things fix is greatly appreciated.
__________________
Join our Pligg Template Club now while prices are still cheap!
Reply With Quote
The Following User Says Thank You to cmstheme For This Useful Post:
  #122 (permalink)  
Old 01-14-2008, 04:56 PM
vib vib is offline
New Pligger
Pligg Version: 9.8.2
Pligg Template: none
 
Join Date: Dec 2007
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post
working with 9.9 ?
i dont know: no compatibility or I wrong installed (but with 9.8.2 is OK)
Reply With Quote
  #123 (permalink)  
Old 01-14-2008, 06:24 PM
Banned
Pligg Version: 9.9.5
 
Join Date: Oct 2007
Location: Canada
Posts: 914
Thanks: 169
Thanked 17 Times in 17 Posts
The question cmsthemes is asking about is for 9.8.2 We just can't get the image to upload to the images folder Everything works perfect except getting the image to the images folder
Reply With Quote
  #124 (permalink)  
Old 01-15-2008, 09:02 AM
Pligg Donor
 
Join Date: Sep 2007
Posts: 184
Thanks: 7
Thanked 37 Times in 26 Posts
Quote:
Originally Posted by mg4 View Post
Does image upload support 9.9?

I am having trouble finding this step... I cant find the $linkres part in submit_step_3.tpl

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
I haven't tried this yet, but this code has been moved in v9.9 to submit.php instead. Basically, forget looking in submit_step_3.tpl and find the code in submit.php around line 273. My guess is that it should work fine in v9.9. I will test later on if no one tries it out.
Reply With Quote
  #125 (permalink)  
Old 01-15-2008, 10:28 AM
vib vib is offline
New Pligger
Pligg Version: 9.8.2
Pligg Template: none
 
Join Date: Dec 2007
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post
if I added in link_summary code with {php} not work style/css - white site, links "random" in the site (testet with yget)
Reply With Quote
  #126 (permalink)  
Old 01-23-2008, 11:58 AM
Banned
Pligg Version: 9.9.5
 
Join Date: Oct 2007
Location: Canada
Posts: 914
Thanks: 169
Thanked 17 Times in 17 Posts
Quote:
Originally Posted by cmstheme View Post
This module is also not working on one of my installation - Blog Engage / Published Blogs

Here's what I did:
1. Installed the module, together with its dependencies.
2. Created the "images" folder on root directory and CHMOD to 777. I guess the host has turn the folder INDEXES to OFF because I will see a 403 Forbidden error when I directly access it.

When I submit new news with photo, I am able to view the thumbnail on "Step 3, confirm details", however there's no image that was actually uploaded in the "images" folder when I view it via FTP. When I finally submit the news, I can still see that there is the thumbnail on the link summary but clicking it will, of course, result to "NOT FOUND" because as stated above there's no image that was really uploaded.

So, how does the script be able to create the thumbnail where it was not able to upload the image? Or does it create a thumbnail first then upload the created thumbnail to the "images" folder? Does this have to do with 403 Forbidden error, but I have already CHMOD it to 777?

Any suggestions/solutions on how to get this things fix is greatly appreciated.

Anyone know what's going on here or have any advice it's been weeks with no replies HELLO
Reply With Quote
  #127 (permalink)  
Old 01-23-2008, 12:31 PM
joehunk's Avatar
Casual Pligger
 
Join Date: Oct 2007
Posts: 99
Thanks: 14
Thanked 10 Times in 8 Posts
I will try to implement this mod to my mini-pligg site, ver 9.7 and see if this will work. I will update you. I see this mod working on many pligg sites but haven't implemented on mine yet.
__________________
-------------------------------
click to my mini-Pligg Site
Reply With Quote
  #128 (permalink)  
Old 01-23-2008, 12:40 PM
Banned
Pligg Version: 9.9.5
 
Join Date: Oct 2007
Location: Canada
Posts: 914
Thanks: 169
Thanked 17 Times in 17 Posts
I got it all to work I just can't get the darn images to upload to the images folder. The thumbnail works and nothing else?
Reply With Quote
  #129 (permalink)  
Old 01-23-2008, 12:59 PM
Pligg Donor
 
Join Date: Sep 2007
Posts: 184
Thanks: 7
Thanked 37 Times in 26 Posts
Quote:
Originally Posted by bbrian017 View Post
I got it all to work I just can't get the darn images to upload to the images folder. The thumbnail works and nothing else?
Image Upload mod works on 9.82 just fine for me... but it doesn't work on v9.9. Brian, did you manage to get it to work on v9.9? If yes, can you tell us what changes you did to get it to work, as the code to insert within submit_step_3.tpl doesn't work with v9.9.

I have tried adding the code to submit.php because that's where it should go now since the php snippets were taken out of the template files. After I installed it, I see the "browse image" button form, but after hitting the submit button for the story, the next step just displays a blank page. It also doesn't upload the image into the proper folder.

Those were my test results. I have no idea where CENT is, as he is the one who originally created this mod.
Reply With Quote
  #130 (permalink)  
Old 01-23-2008, 02:31 PM
Banned
Pligg Version: 9.9.5
 
Join Date: Oct 2007
Location: Canada
Posts: 914
Thanks: 169
Thanked 17 Times in 17 Posts
Sorry Blaze I can't really help you seeing CMSThemes is the one that did the mod! I have the same issue with the image uploading to the images folder on 9.8.2 and 9.9.0 !

Everything works except the image won't upload the the images folder.

CMSThemes can answer you question because he got it to work on my pligg 9.9.0 site but like I said were still stuck because the image won't upload to the images folder!
Reply With Quote
Reply

Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
Image Upload Module -- Call for feature requests cent Modification Tutorials 12 11-15-2008 12:13 PM
About the image upload module rockxie Module Support 3 08-05-2008 05:41 PM
Image Upload 0.4 Module ziadchatila Module Support 3 08-05-2008 04:40 PM
[MOD] Image Upload Module (v0.93) -- Please test cent Modification Tutorials 48 05-16-2008 08:08 PM
[MOD] File Upload Module -- seeking requests for features cent Modification Tutorials 3 08-11-2007 04:39 AM


Search Engine Friendly URLs by vBSEO 3.2.0