Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Addons

Post Reply
 
Thread Tools
  #1  
Old 11-25-2005, 07:28 PM
raminia's Avatar
raminia+ Offline
Team Pixelpost
 
Join Date: Jan 2005
Location: FL, US
Posts: 3,706
Send a message via Yahoo to raminia
Addon: Collage addon released

Description:
Version 0.1 is released!
This addon makes an automatic random Collage. User can also select a cateory and it will created collage of that category. This will also show random thumbnails in mouse over action of the thumbnails. Sample collage template file is included for the Simple template.

Installation:
  1. Copy contents of To_photoblog_root directory to the root of your photoblog (to main directory) (if you have Overlib for rating addon or photoblink thumbs addon you can skip this step)
  2. Copy contents of To_Addons_folder to addons folder
  3. Add <COLLAGE_CATEGORIES> and <COLLAGE> to a new page called
    collage_template.html to make it work. To see a sample collage page. Copy the included sample collage template from to_templates_simple to templates/simple and use Simple template with address http://your_photoblog.com/index.php?x=collage.
To customize:

Edit addons/collage_addon.php file in an editor. You have a comprehensive
control on the behavior of the addon with changing the paramters that are stated at the top.

Download
http://pixelpost.org/v1/index.php?x=...ds&details=128

Sample (http://pblog.raminia.com/index.php?x=collage)
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7
Reply With Quote
  #2  
Old 11-25-2005, 10:07 PM
Paul Wood's Avatar
Paul Wood Offline
pixelpost guru
 
Join Date: May 2005
Location: Slidell, Louisiana, USA
Posts: 154
Looks wonderful! Although with my old version of MySQL, the categories function does not work. I had the same problem with Fancy Archive.

I’m trying to get my host to upgrade the MySQL version.
Reply With Quote
  #3  
Old 11-26-2005, 05:31 AM
raminia's Avatar
raminia+ Offline
Team Pixelpost
 
Join Date: Jan 2005
Location: FL, US
Posts: 3,706
Send a message via Yahoo to raminia
I'll try more simple and standard query for multi cat. It's been mentioned before in 1.4.x bugs but I didn't put it in here.
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7
Reply With Quote
  #4  
Old 11-26-2005, 08:38 PM
raminia's Avatar
raminia+ Offline
Team Pixelpost
 
Join Date: Jan 2005
Location: FL, US
Posts: 3,706
Send a message via Yahoo to raminia
Note on version 0.2:
now a random image is created each time for collage and old files will be delete after a while (less than a minute).
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7
Reply With Quote
  #5  
Old 11-27-2005, 12:14 AM
LynnR's Avatar
LynnR Offline
pp veteran
 
Join Date: Aug 2005
Location: Halifax Canada
Posts: 57
Send a message via MSN to LynnR
This is GREAT!! ... I just wish I wasn't quite so dense!
The add-on is in place in my folder and shows up in my PP admin page.

So, ... I need to add the link text to my image-template (correct?), and I link it to the "new page" I create?
I also need to create a page called: collage_template.html AND add <COLLAGE_CATEGORIES> and <COLLAGE> to that page?

This is where I'm confused. I'm not sure of what the code for this should be?
Reply With Quote
  #6  
Old 11-27-2005, 04:00 AM
raminia's Avatar
raminia+ Offline
Team Pixelpost
 
Join Date: Jan 2005
Location: FL, US
Posts: 3,706
Send a message via Yahoo to raminia
Quote:
Originally Posted by LynnR
This is GREAT!! ... I just wish I wasn't quite so dense!
The add-on is in place in my folder and shows up in my PP admin page.

So, ... I need to add the link text to my image-template (correct?), and I link it to the "new page" I create?
I also need to create a page called: collage_template.html AND add <COLLAGE_CATEGORIES> and <COLLAGE> to that page?

This is where I'm confused. I'm not sure of what the code for this should be?
I dont underestand what did confuse you.
1) This addon works for a new template page called collage_template.html. You need to make it for yourself or use the included one (which is for simple template).
2) if you are going to make your own template page for collage you should use <COLLAGE_CATEGORIES> and <COLLAGE> whenever you want to in that page.
3) As it is normal to do so, if you are adding a new page to your site it's natural to add a link to in too. You may add the link to the image_template.html that points to the collage page.
4) about the intensity of it. I'll work on that!
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7
Reply With Quote
  #7  
Old 11-27-2005, 02:10 PM
LynnR's Avatar
LynnR Offline
pp veteran
 
Join Date: Aug 2005
Location: Halifax Canada
Posts: 57
Send a message via MSN to LynnR
Sorry, .... it was getting late when I posted that last night. I'll work on a template page, and then come back with whatever problems I encounter (if any) .... Thanks Raminia.
Reply With Quote
  #8  
Old 11-27-2005, 03:08 PM
LynnR's Avatar
LynnR Offline
pp veteran
 
Join Date: Aug 2005
Location: Halifax Canada
Posts: 57
Send a message via MSN to LynnR
Ok, ... I've made the template.
My problem seems to be my link path from my image_template page to my collage_template page.

I uploaded the collage_template page to the same directory / folder as my image_template page.

The link I used is: a href="collage_template.html?x=collage_template" .... is this correct?
Reply With Quote
  #9  
Old 11-27-2005, 03:17 PM
tinyblob's Avatar
tinyblob Offline
team pixelpost
 
Join Date: Nov 2005
Location: scotland
Posts: 523
nope, just x=collage
__________________
touchnothing.net
Reply With Quote
  #10  
Old 11-27-2005, 03:39 PM
LynnR's Avatar
LynnR Offline
pp veteran
 
Join Date: Aug 2005
Location: Halifax Canada
Posts: 57
Send a message via MSN to LynnR
Thank you. I was just scouring Raminia's source code, and figured that one out.
So, now I have the link right, but ... I'm working on the template. I guess I was to add a category to my categories menu to call the collage?

I feel so stupid sometimes, like I should know how to do this, but I don't.
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 01:32 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs