Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Addons

Post Reply
 
Thread Tools
  #1  
Old 02-20-2006, 01:54 AM
GeoS's Avatar
GeoS+ Offline
Team Pixelpost
 
Join Date: Apr 2005
Location: Warsaw, Poland
Posts: 3,613
Send a message via ICQ to GeoS Send a message via Skype™ to GeoS
Addon: Related pictures

Name:
Related pictures

Desc:
This addon gives option of building related pictures list under image.
I.e. you were in zoo and shoot 3 pictures. Thanks to this addon you can "connect" each picture with the rest which is already published at your Pixelpost.

Live example you can find here http://blog.piotrgalas.com/photo/271...ast_too_crazy/.

PS In all my "fresh" addons there is always Paypal button thanks to which you can donate process of creating next releases of it. The amount of money doesnt matter - the most important for me is to see its worth to sleep less, to read about new technologies, to search new solutions and think about new ideas.

It uses tag: <RELATED_IMG>

It works ONLY WITH Pixelpost 1.5 BETA1 or NEWER.

Addon page:
http://techblog.piotrgalas.com/pixel...ddons/#related

Addon details:
Version: 54
Category: addon
Requires Pixelpost version - 1.5 BETA1

Download:
http://techblog.piotrgalas.com/pixel...ddons/#related

Installation:
Just extract archive. After it go to addon page at admin side (at this moment there is SQL installation executed) and thats all. Have fun

History 54:
  • erased "Related images" string from addon output
  • fixed SQL queries order in admin part to prevent errors after first install
  • option of showing thumbnail links intead of text links with overlib effect
  • version check for front part

History 49:
  • alternative language support
  • option of setting related images order
  • option for switching on/off overlib effect

History 27:
  • first here it is - new method of version numbering as I'm currently using SVN in my development process
  • fixed small bugs that was making problems with showing overlib and updated to new name of workspace used at admin panel
  • new URL with live example

History 1.3.1:
  • Fixed bug which gived option to watch images queued for future
  • Now overlib effect is wider and thumbnails are centered

History 1.3:
  • Added configuration variable for overlib on front side - now you can decide if you want to use overlib on front or not.
  • Added configuration variable for Related Images list order - now you can choose between id, headline and datetime order (ascending or descending).
  • Added configuration variable thanks for which you can decide if you want make relation in both directions - picture a is related with picture b and reverse or only picture a is related with picture b.
  • All of this variables have predefined settings to start up without any problems.

History 1.2:
  • Added usage of overlib on front side to make preview of related images thumbnails.
  • Bugfix of the small problem of not displaying thumbnails with spaces in file names (admin_related.php).
  • Bugfix of the small problem with displaying RELATED IMAGES text for non existing related images (thx spipasucci).


History 1.1:
  • Bugfix of admin_related.php <FORM> path. Now it should save relations and all data without making it empty.
__________________
photoblog | portfolio | addons | Donate

Last edited by GeoS; 11-02-2007 at 02:39 PM.
Reply With Quote
  #2  
Old 02-20-2006, 07:42 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
could you give some example post?
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7
Reply With Quote
  #3  
Old 02-20-2006, 09:17 PM
GeoS's Avatar
GeoS+ Offline
Team Pixelpost
 
Join Date: Apr 2005
Location: Warsaw, Poland
Posts: 3,613
Send a message via ICQ to GeoS Send a message via Skype™ to GeoS
Ill post here screenshoots in a minute.

For now here you got example post:
http://geos.wzzone.com/archive.php/2...02_09_02:06:54

EDIT: Now there are images:

__________________
photoblog | portfolio | addons | Donate

Last edited by GeoS; 02-20-2006 at 10:17 PM.
Reply With Quote
  #4  
Old 02-21-2006, 05:37 AM
spipasucci Offline
forum loafer
 
Join Date: Jan 2006
Posts: 10
404 error?

Trying this addon. It installs fine and I get the option menus to add related items to pics. When I try to update the post, I get a 404 error. Is there any additional info I need to put in my index.php file?
Reply With Quote
  #5  
Old 02-21-2006, 06: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
very nice. I'll try it.
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7
Reply With Quote
  #6  
Old 02-21-2006, 04:02 PM
spipasucci Offline
forum loafer
 
Join Date: Jan 2006
Posts: 10
404 Error...

Found that the path on clicking "Update Post" was incorrect (on my system). Upon pathing it correctly, it killed the image data for the updated image (deleting it's title and text as well as it's upload date - thus putting it first in the sequence)... Also, it never created a relation to another image...
You mention in the addon text something about a SQL initiation. Is this where I encountered a problem?

I've removed the addon for now...

Sounds like a great idea tho'...
Reply With Quote
  #7  
Old 02-22-2006, 11:45 AM
GeoS's Avatar
GeoS+ Offline
Team Pixelpost
 
Join Date: Apr 2005
Location: Warsaw, Poland
Posts: 3,613
Send a message via ICQ to GeoS Send a message via Skype™ to GeoS
OK. At today's evening Ill try to fix all stuff.

Initialization is by going to addon page in admin section after addon upload. Then is executed SQL commands creating tables in DB.

About editing image. I had same problem because one of workspace is in a little unfortunelty place. In update image section there is one opened <FORM> but with the same target at correct one so all data should be send to it.
Ill test it today one more time and try to solve this issue.

PS spipasucci - can you send me at which URL is your admin part and to what URL it was sending you after update (with 404 effect)?? It can be relative URL if you dont want to send me full paths.

EDIT: Now there is updated version. There was small bug :/
__________________
photoblog | portfolio | addons | Donate

Last edited by GeoS; 02-23-2006 at 01:04 AM.
Reply With Quote
  #8  
Old 02-24-2006, 05:56 PM
hicks0r Offline
pp regular
 
Join Date: May 2005
Posts: 38
Quote:
Originally Posted by GeoS
OK. At today's evening Ill try to fix all stuff.

Initialization is by going to addon page in admin section after addon upload. Then is executed SQL commands creating tables in DB.

About editing image. I had same problem because one of workspace is in a little unfortunelty place. In update image section there is one opened <FORM> but with the same target at correct one so all data should be send to it.
Ill test it today one more time and try to solve this issue.

PS spipasucci - can you send me at which URL is your admin part and to what URL it was sending you after update (with 404 effect)?? It can be relative URL if you dont want to send me full paths.

EDIT: Now there is updated version. There was small bug :/
I'm having the same problems, when I update a image I was send to

.../admin/index.php?view=images&x=update&imageid=3

and I can read that

"rel_pic#3: You have an error in your SQL syntax near '; ' at line 1INSERT INTO pixelpost_related VALUES (3,2); "
Reply With Quote
  #9  
Old 02-24-2006, 11:55 PM
GeoS's Avatar
GeoS+ Offline
Team Pixelpost
 
Join Date: Apr 2005
Location: Warsaw, Poland
Posts: 3,613
Send a message via ICQ to GeoS Send a message via Skype™ to GeoS
1. What version of admin_related.php do you have?

2. Did you visit addons page at first (after uploading it on server)? This installs addon in Pixelpost's DB and is necessary.
__________________
photoblog | portfolio | addons | Donate
Reply With Quote
  #10  
Old 02-26-2006, 09:08 AM
GeoS's Avatar
GeoS+ Offline
Team Pixelpost
 
Join Date: Apr 2005
Location: Warsaw, Poland
Posts: 3,613
Send a message via ICQ to GeoS Send a message via Skype™ to GeoS
Update (version 1.2) is available right now at:
http://pixelpost.org/v1/index.php?x=...ds&details=151
__________________
photoblog | portfolio | addons | Donate

Last edited by GeoS; 02-27-2006 at 12:47 AM.
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 11:46 PM.

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