Go Back   Pligg CMS Forum > Pligg Development > Modification Tutorials

Reply
 
LinkBack Thread Tools Display Modes
  #31 (permalink)  
Old 06-19-2007, 04:38 PM
cent's Avatar
Constant Pligger
 
Join Date: Jan 2007
Location: New York, NY
Posts: 183
Thanks: 24
Thanked 65 Times in 26 Posts
Actually... you mentioned a good idea. Perhaps there should be an option (i love settings), in which you can turn off uploading of new photos. This will allow you to show the photos already attached to submissions, but prevent people from uploading new ones. As it is now, when you disable the module, you disable any photos from showing up. I can see a few cases where a person would only want to disable uploading of new photos only.

Best,
Cent


Quote:
Originally Posted by tbones View Post
I`ve understood the problem. Maybe the admins should "forget" to activate the extra field at submit process and place 4 - 5 published stories into the demo with different images.
__________________
All of my modules are developed for free to help support the Pligg community. If you use or feel my modules were helpful to your site and want to thank me, please support the Pligg development team by donating.

Modules: Welcome Private Message (v0.1), Welcome Email (v0.1), Thickbox Module (v0.3), Image Upload (v1.0) & MP3 Upload Module (v0.9)
Reply With Quote
  #32 (permalink)  
Old 06-23-2007, 01:43 AM
New Pligger
 
Join Date: Jun 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by tbones View Post
Do you plan to activate Image Upload v1.0 at demo.pligg.com? This would be a great marketing for the possibilities of Pligg.

BTW: Is there an upgrade to v9.6 in progress? I only see a maintenance page.
Thanks for offering to help. My app is behind a firewall.
Reply With Quote
  #33 (permalink)  
Old 06-24-2007, 09:15 PM
New Pligger
 
Join Date: Jun 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Thumbnails in stories on Front Page

Hey I would first like to thank you for creating this plug in, but I have some problems. I followed all instructions and I there is no new image upload feild in the submit story page. Is it supposed to appear the same place where a user submits the details of the story? If not is there anyway to put them there? Also for the purposes of my website I really need the thumbnails to appear on the front page right next to where someone would click to see the full story. Is this what happens on default once the plugin is installed correctly? If not is teher anywayy to do this?

Thanks
Reply With Quote
  #34 (permalink)  
Old 06-24-2007, 09:52 PM
cent's Avatar
Constant Pligger
 
Join Date: Jan 2007
Location: New York, NY
Posts: 183
Thanks: 24
Thanked 65 Times in 26 Posts
hi ackza,

if the module is not showing the upload image button, be sure to check the following:

- image upload module is activated in the admin -> modules section.
- you've edit the submit_step_2.tpl, submit_step_3.tpl, link_summary.tpl, editlink_edit_center.tpl and editlink.php files are per the readme enclosed with the module.

If you can confirm that all of the above are done and it still doesn't show up, let me know and I can help find out what the problem might be.

Best,
Cent


Quote:
Originally Posted by ackza View Post
Hey I would first like to thank you for creating this plug in, but I have some problems. I followed all instructions and I there is no new image upload feild in the submit story page. Is it supposed to appear the same place where a user submits the details of the story? If not is there anyway to put them there? Also for the purposes of my website I really need the thumbnails to appear on the front page right next to where someone would click to see the full story. Is this what happens on default once the plugin is installed correctly? If not is teher anywayy to do this?

Thanks
__________________
All of my modules are developed for free to help support the Pligg community. If you use or feel my modules were helpful to your site and want to thank me, please support the Pligg development team by donating.

Modules: Welcome Private Message (v0.1), Welcome Email (v0.1), Thickbox Module (v0.3), Image Upload (v1.0) & MP3 Upload Module (v0.9)
Reply With Quote
  #35 (permalink)  
Old 06-26-2007, 04:20 PM
New Pligger
 
Join Date: Jun 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
mod doenst know where my directory is?

I think I know why no extra feild is showing up,

in teh readme you wrote it says to configure the image_upload_settings.php file,. but i am a noob with some of this code

where it says module "imageupload_basedir" the default is $_SERVER['DOCUMENT_ROOT'].$mypliggbase

Now my pligg folder is not in the root of my server, it is in a directory called zach/pligg/ so what should I change in "$_SERVER['DOCUMENT_ROOT'].$mypliggbase" to reflect this location?

Also where the config file says "module_imageupload_imagedir: the default is
images/

But my images folder is in zach/pligg/images so how shoudl i go about changing this?

I think this is my problem and sorry for this being such a small thing, I just have no idea how to fix it.

thank you!!!
Reply With Quote
  #36 (permalink)  
Old 06-28-2007, 11:51 AM
cent's Avatar
Constant Pligger
 
Join Date: Jan 2007
Location: New York, NY
Posts: 183
Thanks: 24
Thanked 65 Times in 26 Posts
hi ackza,

before changing those values, which you may not have to do... double check to make sure everything was done in the TPL and the other files first. If the form isn't showing up, then that's the first place to look. If you want to post a ZIP of the files that the readme file mentioned you need to edit, I can see if it was done correctly.

Best,
Cent

Quote:
Originally Posted by ackza View Post
I think I know why no extra feild is showing up,

in teh readme you wrote it says to configure the image_upload_settings.php file,. but i am a noob with some of this code

where it says module "imageupload_basedir" the default is $_SERVER['DOCUMENT_ROOT'].$mypliggbase

Now my pligg folder is not in the root of my server, it is in a directory called zach/pligg/ so what should I change in "$_SERVER['DOCUMENT_ROOT'].$mypliggbase" to reflect this location?

Also where the config file says "module_imageupload_imagedir: the default is
images/

But my images folder is in zach/pligg/images so how shoudl i go about changing this?

I think this is my problem and sorry for this being such a small thing, I just have no idea how to fix it.

thank you!!!
__________________
All of my modules are developed for free to help support the Pligg community. If you use or feel my modules were helpful to your site and want to thank me, please support the Pligg development team by donating.

Modules: Welcome Private Message (v0.1), Welcome Email (v0.1), Thickbox Module (v0.3), Image Upload (v1.0) & MP3 Upload Module (v0.9)
Reply With Quote
  #37 (permalink)  
Old 06-29-2007, 10:04 AM
New Pligger
 
Join Date: Jun 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Hi, I'm trying this mod, but when i upload an image it give me an error.

Code:
Warning: move_uploaded_file(//images/img_8.jpg): failed to open stream: No such file or directory in /home/www/mup.awardspace.com/modules/image_upload/image_upload_main.php on line 418

Warning: move_uploaded_file(): Unable to move '/tmp/phpEE4MCv' to '//images/img_8.jpg' in /home/www/mup.awardspace.com/modules/image_upload/image_upload_main.php on line 418

1 image error(s) found.
- Error processing image.

You can still submit this entry and edit it later with a smaller image or click MODIFY to try a different image.
what is the problem?

Thanks
Reply With Quote
  #38 (permalink)  
Old 06-29-2007, 10:14 AM
New Pligger
 
Join Date: Jun 2007
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Hello, Is there a way that I can have the image be a thumbnail on the summary pages & full size on the story page?

Also fyi I seem to have an intermitent problem...sometimes I will submit a story with an image & after cliking 'preview & submit' the next page is basically blank with no text from the story, image or buttons to submit. Happens maybe 1 out of 10 times & I can't seem to find a pattern to it.
Reply With Quote
  #39 (permalink)  
Old 06-29-2007, 11:33 PM
Constant Pligger
 
Join Date: Apr 2007
Posts: 169
Thanks: 56
Thanked 5 Times in 5 Posts
monica79,

1) you can achieve the thumbnail on the story pages & full size on the story page by upgrading your image module to v1.1 (Download from the downloads area). Then you can use the smarty variables to display the thumbnail or full size image wherever you wish (See my sites below for examples)

2) Your intermittent problem is likely being caused because you cannot download large images with the old image module; the submit step fails. Again, upgrade to Image module v1.1 It should fix the problem...
Reply With Quote
  #40 (permalink)  
Old 06-30-2007, 12:22 PM
New Pligger
 
Join Date: Jun 2007
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Thanx aaronpais. I've installed the update.
I'd like to have it just like your Product Reviews site...but I don't have a clue about smarty variables. I've hunted the forums but cant find a good post...Maybe you could post the applicable code for me?
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
[MOD] Image Upload Module (v1.0) -- Now Available cent Modification Tutorials 181 09-24-2008 10:43 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] MP3 Upload Module cent Modification Tutorials 32 03-02-2008 03:07 AM


Search Engine Friendly URLs by vBSEO 3.2.0