Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Addons

Post Reply
 
Thread Tools
  #1  
Old 12-18-2006, 04:55 PM
klimin_a_s's Avatar
klimin_a_s Offline
pp veteran
 
Join Date: Oct 2006
Location: Russia, Birsk
Posts: 95
Send a message via ICQ to klimin_a_s
Addon: Custom Fields Addon

Custom Fields Addon (Current version 1.3).

Custom Fields Addon provide ability to add specific parameters to the images. You can add unlimited amount of fields, disable selected fields, change fields visibility, set fields order or delete them.
Caution!!! Deleted fields cannot be restored!

For example:
Custom field name Possible values
Cropped (Yes, no, a little, etc.)
Image Quality (JPG, RAW, TIFF, etc.)
RAW Converter (Adobe Camera Raw, Nikon Capture, C1 Pro, etc.)
Used software (Adobe Photoshop CS2, Paintbrush, etc.)
Noise (Original, NeatImage, etc.)
Rotation (None, 90, -90, 180, minor rotation, etc.)
Location (Home, work, travel to Africa, travel to Russia, indoor, outddor, etc.)
Event (My birthday, Christmas, etc.)
City (New-York, Paris, London, Moscow, Birsk :-), etc.)
Flash (Not used, Nikon SB800, multiple flashes, etc.)
Genre (Portrait, street photo, landscape, nude, macro, etc.)
Tripod (Hands, tripod, monopod, table, etc.)
Photographer (John Smith, Ivan Susanin, Van Halen, etc.)
Mood ......
Weather ......
Season ......
...and so on.

TAGS
<CUSTOM_FIELDS>
<CUSTOM_FIELD_NAME_ID=NNN>
<CUSTOM_FIELD_VALUE_ID=NNN>
<CUSTOM_FIELD_COUNTER>
<CUSTOM_FIELD_VALUES_COUNTER>
<CUSTOM_FIELD_KEYWORDS_VALUES>

INSTALLATION
  1. Unzip and upload file admin_customfields.php to your Pixelpost /Addon directory.
  2. Go to Admin area, Addons. The database tables will be created automatically.
  3. Add necessary amount of custom fields. Fill Name, Visible and Enable statuses, Default value (optional), change settings as you wish.
  4. Place <CUSTOM_FIELDS> or/and <CUSTOM_FIELD_NAME_ID=NNN>, <CUSTOM_FIELD_VALUE_ID=NNN>, <CUSTOM_FIELD_COUNTER>, <CUSTOM_FIELD_VALUES_COUNTER> tags in your template.
  5. (Optional) Place <CUSTOM_FIELDS_KEYWORDS_VALUES> into the <head></head> section, for example: <meta http-equiv="content-type" name="keywords" content="PhotoBlog,<SITE_TITLE>,<IMAGE_TITLE>,Pixe lpost,<CUSTOM_FIELDS_KEYWORDS_VALUES>" /> You can exclude some custom fields from keywords-list by checking "Not a keyword" checkbox in the addon settings.
  6. That's all. Go to the Admin area (New Image, Images) and use this addon.

DOWNLOAD

p.s. I need a help of native language Pixelpost user for addon text corrections.
__________________
Klimin Andrew,
Birsk photoblog: photoblog.birsk.info (PP 1.7.1)
Pixelpost addons: Custom Fields 1.3

Last edited by klimin_a_s; 08-25-2008 at 10:58 AM. Reason: v1.3
Reply With Quote
  #2  
Old 12-18-2006, 05:47 PM
Dkozikowski's Avatar
Dkozikowski+ Offline
Team Pixelpost
 
Join Date: Oct 2005
Posts: 1,855
Send a message via AIM to Dkozikowski
Bravo!

I have not installed it yet but looking at the screenshot i can just tell this addon has got to be great.

Great work!

As soon as i give it a test run I'll come back here with some real comments.
Reply With Quote
  #3  
Old 12-18-2006, 06:04 PM
Dennis's Avatar
Dennis+ Offline
Team Pixelpost
 
Join Date: Jul 2006
Posts: 2,394
Send a message via MSN to Dennis
dwilkinsjr: this is really a great addon, I was fortunately to test drive it.
__________________
My photoblog, powered by PixelPost 1.9 dev SVN | My Pixelpost Addons | My Cool Photoblog profile
Reply With Quote
  #4  
Old 12-18-2006, 06:09 PM
Dkozikowski's Avatar
Dkozikowski+ Offline
Team Pixelpost
 
Join Date: Oct 2005
Posts: 1,855
Send a message via AIM to Dkozikowski
yeah, no kidding. I just tested it. Amazing. Much better than my hack.

I do like my hack for it's simplicity though.
This addon has allot of bells and whistles but I could see myself using them too.

Next time PP has a major upgrade I'm just going to stick with this addon instead of re-hacking the new files.

This addon should be packaged with pixelpost if you ask me.

Good show, great work! If I knew PHP this is how I would have done it too.
Reply With Quote
  #5  
Old 12-19-2006, 06:16 AM
klimin_a_s's Avatar
klimin_a_s Offline
pp veteran
 
Join Date: Oct 2006
Location: Russia, Birsk
Posts: 95
Send a message via ICQ to klimin_a_s
Thank you very much! Special thanks to Schonhose!
Although a lot of bugs was corrected, I need a help of Pixelpost users to test this addon. Also, please suggest new ideas and feature requests to add to future versions of the addon.

Note: bilingual feature is still in progress. I create necessary table fields to the database, and you can setup alt names, but work not finished yet, you cannot use alt values to show on the front-page. I'm waiting a bilingual release of Pixelpost (1.6?) to finish this feature.
__________________
Klimin Andrew,
Birsk photoblog: photoblog.birsk.info (PP 1.7.1)
Pixelpost addons: Custom Fields 1.3
Reply With Quote
  #6  
Old 12-19-2006, 10:57 AM
klimin_a_s's Avatar
klimin_a_s Offline
pp veteran
 
Join Date: Oct 2006
Location: Russia, Birsk
Posts: 95
Send a message via ICQ to klimin_a_s
I found a unnecessary diagnostic message in the addon (file:admin_customfields.php, line 143):

PHP Code:
echo "imgid=" $theid "---"
Please, delete or comment this line. Zip-file has been updated at the Pixelpost.org site.
__________________
Klimin Andrew,
Birsk photoblog: photoblog.birsk.info (PP 1.7.1)
Pixelpost addons: Custom Fields 1.3
Reply With Quote
  #7  
Old 12-19-2006, 11:48 AM
DikkieBurger Offline
pixelpost guru
 
Join Date: Jul 2006
Posts: 157
Great addon, love it.
It works great on my blog.
Reply With Quote
  #8  
Old 12-23-2006, 05:33 AM
greentraveler's Avatar
greentraveler Offline
pixelpost guru
 
Join Date: Oct 2004
Posts: 106
Another beautiful addition to PP functionality...simple and awesome.

Many thanks!

__________________
wwp
Reply With Quote
  #9  
Old 12-28-2006, 03:03 PM
klimin_a_s's Avatar
klimin_a_s Offline
pp veteran
 
Join Date: Oct 2006
Location: Russia, Birsk
Posts: 95
Send a message via ICQ to klimin_a_s
Custom Fields v.0.8 (28 Dec 2006).

What's new?
v.0.8 28 Dec 2006
[+] Now you can sort Custom Fields by ID, by Name or by Order (default) in the admin area.
[-] Fixed small sorting bug.

DOWNLOAD
__________________
Klimin Andrew,
Birsk photoblog: photoblog.birsk.info (PP 1.7.1)
Pixelpost addons: Custom Fields 1.3
Reply With Quote
  #10  
Old 12-29-2006, 02:37 AM
Cameron Hopkins Offline
forum loafer
 
Join Date: Nov 2006
Posts: 10
Exclamation

Help!

I installed the latest plugin and my site will not even load. When I connect to admin, it states:

Parse error: syntax error, unexpected ')' in /home/xxx/addons/admin_customfields.php on line 104

Can someone send me the earlier version?
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 07:06 AM.

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