Go Back   Pligg CMS Forum > Pligg Development > Modification Tutorials

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-22-2007, 03:01 PM
Casual Pligger
 
Join Date: Dec 2006
Posts: 33
Thanks: 0
Thanked 6 Times in 4 Posts
[MODS] Donating photo gallery and openads intigration

Hi all,

I've had a couple of custom mods developed for an upcoming site that I think the pligg community might benefit from.
Site here
Media Burst / Published News

1.Photo Gallery for 9.7:
On my site users have 3 types of submissions to choose from on step 1. When choosing "picture" submission they are taken to a different step 2 that allows up to 12 images to be uploaded to post.The original photo upload mod is used for a preview pic in catagory view and only the gallery photos show up in post view.The mod works perfectly but I am having a display issue after adding borders for the thumbnails.
IE:
Media Burst - Exotic cars I want

2.openads intigration:
Openads is awesome and gives you total control over your ads. Ad network Codes/html/Impressions/duration etc...
In use now on my site.

The coding for both are complete....I just need some slight tweeking for display and my developer is not available today. If any of the more technically inclined pliggers like dollars5 or cent would like to have a look around...and get the display right they are welcome to the mods and can release to the public.
Let me know
Scrill
Reply With Quote
The Following 3 Users Say Thank You to scrill For This Useful Post:
  #2 (permalink)  
Old 07-22-2007, 03:17 PM
Casual Pligger
 
Join Date: Mar 2007
Posts: 76
Thanks: 9
Thanked 0 Times in 0 Posts
Great! this is what I need, I am interested.

Thanks
Reply With Quote
  #3 (permalink)  
Old 07-22-2007, 03:41 PM
chuckroast's Avatar
Coder/Designer
Pligg Version: 1.0
Pligg Template: ExpertVision
 
Join Date: Jun 2006
Location: PA
Posts: 2,398
Thanks: 171
Thanked 439 Times in 278 Posts
Hi scrill

Fantastic mods.. I'm sure the community would love them.
__________________
Visit PliggPro the official Pligg Mods & Template Shop!

Reply With Quote
  #4 (permalink)  
Old 07-23-2007, 12:42 AM
Casual Pligger
 
Join Date: Jul 2007
Posts: 44
Thanks: 19
Thanked 0 Times in 0 Posts
@ Scrill

Buddy,
Where is the code?
Just can't wait.......
Thanks to you a million times

-----------------------------------------------------------------------------------
Reply With Quote
  #5 (permalink)  
Old 07-23-2007, 01:54 AM
P1mpPanther's Avatar
Constant Pligger
 
Join Date: Feb 2007
Posts: 292
Thanks: 47
Thanked 10 Times in 9 Posts
definitely looking forward to these 'specially the photo gallery!!

question: i had added openads to my pligg site however every time I would click on a story, category, etc - the page would refresh while serving up another ad.

Does this happen to you as well?

Wondering if it was the way I had implemented it.
__________________
RunStream :: RSS feed creator | RSS Marketing Platform | TagBlast!

...and a Pligg site on deck!
Reply With Quote
  #6 (permalink)  
Old 07-23-2007, 12:26 PM
Casual Pligger
 
Join Date: Dec 2006
Posts: 33
Thanks: 0
Thanked 6 Times in 4 Posts
Update,

I got a PM from dollars5 regarding the photo gallery,I'm going to let him access the files and make it a mod for public. I'll keep you posted!
Thanks
Scrill
Reply With Quote
  #7 (permalink)  
Old 07-23-2007, 01:03 PM
P1mpPanther's Avatar
Constant Pligger
 
Join Date: Feb 2007
Posts: 292
Thanks: 47
Thanked 10 Times in 9 Posts
its in good hands - thanks again scrill
__________________
RunStream :: RSS feed creator | RSS Marketing Platform | TagBlast!

...and a Pligg site on deck!
Reply With Quote
  #8 (permalink)  
Old 07-23-2007, 05:37 PM
Casual Pligger
 
Join Date: Dec 2006
Posts: 33
Thanks: 0
Thanked 6 Times in 4 Posts
Quote:
Originally Posted by P1mpPanther View Post
its in good hands - thanks again scrill

Yup,you're welcome...hopefully we'll get something thrown together quickly
Reply With Quote
  #9 (permalink)  
Old 07-23-2007, 06:08 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 scrill,

Thanks for the great work. I would like to take a look at what you've done for the photo gallery. I was about 75% done with a multiple image upload module so I'm very interested.

Best,
Cent


Quote:
Originally Posted by scrill View Post
Update,

I got a PM from dollars5 regarding the photo gallery,I'm going to let him access the files and make it a mod for public. I'll keep you posted!
Thanks
Scrill
__________________
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 07-24-2007, 01:58 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 Scrill,

I've taken a look at the gallery mod source code and have a few questions:

- Is the only file type allowed JPG?

- Is it possible to delete images? The editlink_edit_center.tpl file looks like no images are retained even if they are editing text data such as the description.

- There seems to be a number of routines that either does similar functions as the image upload function or completely bypasses it. But yet, the module is still being called? What is it being used for as all of the functions being used are hardcoded into a some of the PHP and TPL files already.

- It looks like the total number of images for an entry is stored in the link_fieldX and then a loop is used to show them.


On my end, it would take considerably more time to turn this into a module than finishing up v1.1. Someone might be able to turn it around faster though.

The way I've been approaching it in the 1.1 release of the image upload module that i'm working on is this:

- Use a single link_field field to store all of the filenames like:
img_x_1.jpg|img_x_2.jpg|img_x_3.jpg|cover=img_x_2. jpg

Where X is the link ID and the next number is the image number of the series. Cover is the photo to be used in link summary listings (in case you just want to show 1 thumbnail instead of all X of them). Then I simply explode or implode them when I need to display or store the array again.

This provides an easy upgrade path for people currently using an older version of the image upload module.

And as you can tell from my modules, I love configurable settings. There's settings to control the max number of uploads (shows X number of upload buttons), set how many thumbnails to show per row, set how many images to show during story listing vs. how many to show on a story detail page.

Hopefully it will be ready in a 7 or so days.

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
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

Search Engine Friendly URLs by vBSEO 3.2.0