Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Addons

Post Reply
 
Thread Tools
  #21  
Old 03-19-2006, 04:07 PM
spipasucci Offline
forum loafer
 
Join Date: Jan 2006
Posts: 10
Has anyone posted an example of this addon 'in action' yet? I'm curious and wanting to implement it but not sure how to get it to function in a clear way with my existing setup...
Looking forward to the next update....
Reply With Quote
  #22  
Old 03-19-2006, 09:37 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
Quote:
Originally Posted by jdleung
<form><SC_BROWSE_CATEGORY></form>
IMHO this <form> and </form> is not needed.

Is it problem without this two tags to validate template?

PS Im starting to make final tests of version 1.4. Maybe Ill add this thumbnails future today too (if there would be enough time for it).
__________________
photoblog | portfolio | addons | Donate
Reply With Quote
  #23  
Old 03-20-2006, 01:37 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
There was upgrade (to v. 1.4):
http://pixelpost.org/v1/index.php?x=...ds&details=156

If you use this addon now then please make backup of it before upgrade. Its late in here (about 4AM) and I dont know if I made all needed test :P

All posts with comments will be appreciate.

Quote:
History 1.4:

1. Added new tags for description of current image: <SC_IMAGE_NAME>, <SC_IMAGE_TITLE> <SC_IMAGE_ID>, <SC_IMAGE_DATETIME>, <SC_IMAGE_DATETIME_FORMATTED>, <SC_IMAGE_NOTES>, <SC_IMAGE_NOTES_CLEAN>, <SC_IMAGE_NOTES_NO_MARKDOWN>, <SC_IMAGE_WIDTH>, <SC_IMAGE_HEIGHT>, <SC_IMAGE_THUMB_WIDTH>, <SC_IMAGE_THUMB_HEIGHT>

2. Added new tag <SC_IMAGE_CATEGORY> for category list to which belongs current image

3. Added new tag <SC_THUMBNAILS> for browser template usage with all futures available in my addon; there is additional configuration variable $sc_browse_cat for enable/disable this future (thx for inspiaration to RobbieMc)

4. Now tag <SC_CAT_NAME> is set to "every category" when we are not watching one of available categories (thx to RobbieMc)
__________________
photoblog | portfolio | addons | Donate

Last edited by GeoS; 03-20-2006 at 07:32 AM.
Reply With Quote
  #24  
Old 03-21-2006, 05:11 PM
RobbieMc Offline
pp veteran
 
Join Date: Feb 2006
Location: Canada
Posts: 78
Thanks, GeoS, once again, for a fine upgrade. The additional tags now make the installation complete, allowing complete control over restricted browsing. I did have some tags that didn't show the info correctly (eg. SC_IMAGE_NAME), but I suspect that it was just the way I had implemented it. (For now, the original IMAGE_NAME seems to still show the name even when in restricted browsing (although I suspect I will find out why you had to create new tags for these.)

I have one problem, but I don't think it is related to this addon, and that is that the tag (can't remember what it is called now) that places the name of either the category browsed or the month browsed on the browse page doesn't show the month, although it doeas show the category. It has never worked when SC_THUMBNAILS is used, but it only worked once when normal THUMBNAILS was used, so I think I may have done something wrong somewhere.

Another problem I have is with my CSS validation. It won't even start the validation: I get a "validate your xml first" and "content not allowed in prolog" error messages. But as above, even though this error started when I installed the addon, I don't think it is caused by the addon.

Finally, I do get one xhtml validation error from the addon, but it does not seem to be related exclusively to the addon: all the dropdown boxes on my site (SC_BROWSE_CATGEORIES, BROWSE_CATGEORIES, etc) get a document type error related to

...there is no attribute "onChange".
...)</b> <select name="browse" onChange="self.location...

with the quotes between onChange and self seeming to cause the problem.

BTW, I just realized last night that the function that reproduces the same image when you reach the end was not needed. I asked for it because I had used only <EC_IMAGE_ID>&category=<SC_CAT_ID> for the link from the image itself, which obviously produced an error when I got to the end. Now that I have properly installed <SC_IMAGE_PREVIOUS_LINK>, it simply remains blank when at the end, which is a much nicer implementation than what I suggested. (because the menu links disappear when you reach the end). Sorry for the confusion, but thanks for offering the option.

I will post a link to the site when I finish the language switch function that I am working on.
Reply With Quote
  #25  
Old 03-21-2006, 11:20 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
Today (when I will get up) Ill work on next update. Today I got new tricky idea for better/faster addon working in some conditions It will also need less work on stuff which is to do right now

Thx for your post Robbie. Ill read it carefully one more time when works on new version will start.
__________________
photoblog | portfolio | addons | Donate
Reply With Quote
  #26  
Old 03-22-2006, 01:47 AM
RobbieMc Offline
pp veteran
 
Join Date: Feb 2006
Location: Canada
Posts: 78
One thing I did notice, GeoS, is that <SC_IMAGE_PREVIOUS_TITLE> doesn't return "No Previous Entry" (from language file) like <IMAGE_PREVIOUS_TITLE> does.

Rob
Reply With Quote
  #27  
Old 03-22-2006, 11:40 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
@Robbie: Now in my Subversion archive your last hint is present.

Today (after some sleep and school) Ill upload on server new (IMHO) much better and somehow faster version of this addon. Just like I wrote before - I found one smart trick to do like that
__________________
photoblog | portfolio | addons | Donate
Reply With Quote
  #28  
Old 03-25-2006, 11:16 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
Quote:
History 1.5:
1. tags which are not anymore present: <SC_IMAGE_NAME>, <SC_IMAGE_TITLE>, <SC_IMAGE_ID>, <SC_IMAGE_DATETIME>, <SC_IMAGE_DATETIME_FORMATTED>, <SC_IMAGE_NOTES>, <SC_IMAGE_NOTES_CLEAN>, <SC_IMAGE_NOTES_NO_MARKDOWN>, <SC_IMAGE_WIDTH>, <SC_IMAGE_HEIGHT>, <SC_IMAGE_THUMB_WIDTH>, <SC_IMAGE_THUMB_HEIGHT>, <SC_IMAGE_CATEGORY>

2. now there are comments to code

3. now previous & next title when are empty are set with proper text for it - No Previous Image & No Next Image (thx to RobbieMc)

4. code for showing first image in category (when URL has got only category variable in query string) is optimized - instead of additional SQL querys and code for additional tags there is redirect to show image in "standard" way; this makes enable EXIF and whole rest of futures which were available before installing this addon and before case which we are talking in this point

5. starting from this version there is archive to previous version for people who wants to get older versions (from many reasons) - this will be a standard for all my new developed addons
__________________
photoblog | portfolio | addons | Donate

Last edited by GeoS; 03-26-2006 at 07:20 AM.
Reply With Quote
  #29  
Old 03-25-2006, 04:05 PM
jdleung Offline
pixelpost guru
 
Join Date: Feb 2006
Location: Foshan, China
Posts: 553
Great update, GeoS.

You did what I really want.

Thanks.
__________________
jdleung's.com @ flickr @ fotoblogs.cn & Addons:Month Calendar & Slideshow & Flickr comment & Modified Addon: Calendar
Reply With Quote
  #30  
Old 03-27-2006, 01:40 AM
RobbieMc Offline
pp veteran
 
Join Date: Feb 2006
Location: Canada
Posts: 78
GeoS, I think I found a minor glitch in the addon: if you post images in advance of the day they will appear, the addon gets confused. The dropdown menu on the image template looks for all images in the specified category, without regard to post date. So when it passes the url to the browser with, for example, category=14&showimage=145, image 145 will be the latest image posted, and possibly dated after todays date. Since showimage=145 is not cleared for display, the "No image to show" error occurs.

Is it possible to limit the search for images in a category for those prior to the current date and time. Thanks.
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 12:23 PM.

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