Go Back   Pligg Forum > Pligg Development > Pligg Mods
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-18-2007, 08:43 PM
cent's Avatar
cent cent is offline
Constant Pligger
 
Join Date: Jan 2007
Location: New York, NY
Posts: 183
Downloads: 20
Uploads: 5
Thanks: 24
Thanked 65 Times in 26 Posts
[MOD] Image Upload Module (v1.0) -- Now Available

Thanks for everyone on the forums for providing great feedback. All of the outstanding issues (as far as I can tell) have been resolved and rolled into v.1.0 of the Image Upload module.

Get it here... http://forums.pligg.com/downloads.php?do=file&id=36

If you are currently using any version prior to v0.94, it is recommended that you upgrade to the latest version as a number of fixes and features have been added.

With v.1.0, you can:

- Edit Controls -- Edit the entry to delete the photo / upload a new one (as well as caption if Custom Caption is enabled).
- Photo Restrictions - Allows you to set restrictions on file size and dimensions.
- Custom Caption -- Allow users to supply their own caption. By default, the module uses the story's title as the caption. Enabling this features requires an extra field specifically for it. The caption can be changed by editing the story.
- Use Smarty -- this option allows you to disable the module from displaying the image, thumbnail and caption. Instead, it will set 3 smarty variables that you can use to then manipulate the data as you see fit.


Fixed a number of bugs and odd behaviors with the module. It's thoroughly commented and provides a lot of detailed information (debug mode). The debug info is only displayed if you are logged in as an admin. This will allow you to test on production installations (not recommended but possible).

Please let me know if you have any problems installing or using this module.

Best,
Cent
__________________
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
The Following 7 Users Say Thank You to cent For This Useful Post:
Sponsored Links
Check out the New Templates at the Pligg Pro Shop.
  #2 (permalink)  
Old 06-18-2007, 09:00 PM
P1mpPanther's Avatar
P1mpPanther P1mpPanther is offline
Constant Pligger
 
Join Date: Feb 2007
Posts: 293
Downloads: 20
Uploads: 0
Thanks: 47
Thanked 10 Times in 9 Posts
been using this since beta - works great!

hey cent, are you still planning on adding gallery to this?

let me know if it's something we can hire you to build - muy importante!
__________________
RunStream :: RSS feed creator | RSS Marketing Platform | TagBlast!

...and a Pligg site on deck!
Reply With Quote
  #3 (permalink)  
Old 06-19-2007, 12:34 PM
Rodney Rodney is offline
Pligg Donor
Pligg Version: 9.9
Pligg Template: push it
 
Join Date: Feb 2006
Posts: 66
Downloads: 4
Uploads: 0
Thanks: 8
Thanked 4 Times in 3 Posts
Is there anywhere where I can see a demo of how this looks on a site?
Reply With Quote
  #4 (permalink)  
Old 06-19-2007, 03:34 PM
adampoots adampoots is offline
New Pligger
 
Join Date: Apr 2007
Posts: 14
Downloads: 10
Uploads: 0
Thanks: 0
Thanked 0 Times in 0 Posts
nice!

installed and working without a hitch!
Reply With Quote
  #5 (permalink)  
Old 06-19-2007, 03:39 PM
cent's Avatar
cent cent is offline
Constant Pligger
 
Join Date: Jan 2007
Location: New York, NY
Posts: 183
Downloads: 20
Uploads: 5
Thanks: 24
Thanked 65 Times in 26 Posts
Great! Let me know if you run into any problems.

Best,
Cent


Quote:
Originally Posted by adampoots View Post
installed and working without a hitch!
__________________
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
  #6 (permalink)  
Old 06-19-2007, 07:50 PM
aaronpais aaronpais is offline
Constant Pligger
 
Join Date: Apr 2007
Posts: 170
Downloads: 32
Uploads: 0
Thanks: 56
Thanked 5 Times in 5 Posts
In image_upload_settings.php,

replace

PHP Code:
define('module_imageupload_field_instructions''Select a JPG, GIF, PNG or WBMP photo from your computer (Max '.module_imageupload_upload_maxsize.'MB and '.module_imageupload_upload_maxwidth.'x'.module_imageupload_upload_maxheight.' dimensions');    # Field instructions 
with

PHP Code:
define('module_imageupload_field_instructions''Select a JPG, GIF, PNG or WBMP photo from your computer (Max '.module_imageupload_upload_maxsize.'MB and '.module_imageupload_upload_maxwidth.'x'.module_imageupload_upload_maxheight.' dimensions)');    # Field instructions 
Best
-A
Reply With Quote
The Following User Says Thank You to aaronpais For This Useful Post:
  #7 (permalink)  
Old 06-19-2007, 08:24 PM
cent's Avatar
cent cent is offline
Constant Pligger
 
Join Date: Jan 2007
Location: New York, NY
Posts: 183
Downloads: 20
Uploads: 5
Thanks: 24
Thanked 65 Times in 26 Posts
Good catch! Didn't notice there was a missing bracket.

Best,
Cent

Quote:
Originally Posted by aaronpais View Post
In image_upload_settings.php,

replace

PHP Code:
define('module_imageupload_field_instructions''Select a JPG, GIF, PNG or WBMP photo from your computer (Max '.module_imageupload_upload_maxsize.'MB and '.module_imageupload_upload_maxwidth.'x'.module_imageupload_upload_maxheight.' dimensions');    # Field instructions 
with

PHP Code:
define('module_imageupload_field_instructions''Select a JPG, GIF, PNG or WBMP photo from your computer (Max '.module_imageupload_upload_maxsize.'MB and '.module_imageupload_upload_maxwidth.'x'.module_imageupload_upload_maxheight.' dimensions)');    # Field instructions 
Best
-A
__________________
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
  #8 (permalink)  
Old 06-20-2007, 02:27 PM
Rodney Rodney is offline
Pligg Donor
Pligg Version: 9.9
Pligg Template: push it
 
Join Date: Feb 2006
Posts: 66
Downloads: 4
Uploads: 0
Thanks: 8
Thanked 4 Times in 3 Posts
Can this mod have the uploaded image hyperlink to the Story URL instead of the image file?
Reply With Quote
  #9 (permalink)  
Old 06-20-2007, 05:15 PM
cent's Avatar
cent cent is offline
Constant Pligger
 
Join Date: Jan 2007
Location: New York, NY
Posts: 183
Downloads: 20
Uploads: 5
Thanks: 24
Thanked 65 Times in 26 Posts
Rodney... I replied to your PM. In short, yes. You will need to custom tailor the direct link settings in image_upload_settings.php and the image_upload_main.php file. The module get's the Story's ID. So linking using method 1 is practically there. For method 2, you'll need to perform a basic lookup routine in order to find the right URL to go to.
__________________
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
  #10 (permalink)  
Old 06-22-2007, 01:03 AM
not2serious's Avatar
not2serious not2serious is offline
Pligg Donor
Pligg Version: v0.96 w/modifications
Pligg Template: Yget w/modifications
 
Join Date: Apr 2007
Location: East Coast, USA
Posts: 226
Downloads: 29
Uploads: 0
Thanks: 16
Thanked 16 Times in 15 Posts
The install of v1.0 went fairly well.

However the Lightbox does not appear to be operating properly. The previous version did work properly. Any suggestions on how to correct.


Cent, I must commend you on the great install instructions and documentation. I wish all mods and repair instructions were this well documented. Thank you.
__________________
My Pligg Site: Critique My Art
My Arts Directory: Links 2 Arts
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

vB 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
[MOD] Image Upload (v.1) cent Pligg Mods 144 05-30-2008 07:14 PM
[MOD] Image Upload Module (v0.93) -- Please test cent Pligg Mods 48 05-16-2008 07:08 PM
Image Upload Module v0.4 Error Message tbones Pligg Mods 5 02-11-2008 12:27 PM
Image Upload Module -- Call for feature requests cent Pligg Mods 7 12-01-2007 09:16 AM
Image Upload Module: After admin edit not2serious Pligg Mods 9 05-31-2007 07:05 PM


LinkBacks Enabled by vBSEO 3.0.0