![]() |
|
Developers: Help brainstorm plugin hooks - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Themes (https://forum.zenphoto.org/forum-5.html) +--- Thread: Developers: Help brainstorm plugin hooks (/thread-908.html) Pages:
1
2
|
Developers: Help brainstorm plugin hooks - trisweb - 22-11-2006 This is something I'm going to need to do eventually, and I thought I'd get your input. We need to brainstorm and think of all the plugin hooks you could ever want in Zenphoto! For those of you who don't know, a plugin hook is a function that always runs when some specific action happens in zenphoto, for example, there might be a hook called Other ideas off the top of my head: [list] Developers: Help brainstorm plugin hooks - Chilifrei64 - 25-11-2006 I would say That is all I can come up with right now... Developers: Help brainstorm plugin hooks - DarrellD - 30-11-2006 How about: I guess these are similar to Chilifrei64's second suggestion. Developers: Help brainstorm plugin hooks - trisweb - 30-11-2006 And my second bullet as well ;-) Believe me, I know image manipulation plugins will perhaps be like a "killer app." Try to think of more general-use hooks that you might need. It's probably easy to add new ones once everything's all set up though, I just want to provide the best set possible when it's launched. Developers: Help brainstorm plugin hooks - DarrellD - 01-12-2006 On_LogIn Developers: Help brainstorm plugin hooks - trisweb - 01-12-2006 My own brainstorming... more as they come to me.
Developers: Help brainstorm plugin hooks - ashgrove - 01-12-2006 I [b]really, really[/b] like the suggestion to embed watermarks on picture generation. It would save so much time now spent preparing images for upload. Once the hooks are defined, I just might consider developing the plugin. I know a couple of PHP libraries exist for EXIF manipulation. Pear has some for various image manipulations. I'll look thru them and see what I can find. Lee Eschen Developers: Help brainstorm plugin hooks - thinkdreams - 01-12-2006 Lee- I already have a non-plugin version of the watermarking functionality working. This will at least tide you over until Tristan gets the plugin hooks done. Let me know and I'll be glad to show you how I did it. You can see it in action either at: http://www.photosbydaisy.com/zenphoto/The+Bush+Family/3a.jpg (that's me and my family BTW) Both of which should display the watermark in the lower right corner. The image is just a transparent 24-bit .png file you can make yourself with photoshop, and it just takes a few tweaks to the i.php and zp-config.php to make it work. (This might give you a jump to your plugin as well once the hooks are in place). Developers: Help brainstorm plugin hooks - thinkdreams - 12-12-2006 As I posted in another spot, DB hooks. Specifically toward custom fields in the DB, similar to the way Wordpress handles them so plugin authors can create custom fields via their plugins upon activation of the plugin. I'm not sure how deactivation would work (can it remove fields - thus losing data?) but it's a thought anyway. Developers: Help brainstorm plugin hooks - misterbrandt - 20-12-2006 I would love some programmatic access to be able to limit users' access to each admin tab. So perhaps a hook after requesting (but before returning) each of those pages? and a hook before writing the HTML for the admin menu? This would make it much easier to have a super-admin that has full editing and moderation of albums and comments, and then regular access so that users can add/edit their own albums, but not others' albums or any comments. (and then integrate the whole thing with Wordpress' roles/capabilities system) Developers: Help brainstorm plugin hooks - trisweb - 20-12-2006 Sounds like what you really want is a multi-user system, not just simple plugin hooks ;-) Developers: Help brainstorm plugin hooks - misterbrandt - 23-12-2006 Ha! Well, sure, I would [i]take[/i] a multi-user system. But really, if I could programmatically control what gets displayed in the ZP admin interface, all of the multi-user logic can live in Wordpress, and it doesn't need to get duplicated for ZP. Developers: Help brainstorm plugin hooks - sleary - 29-12-2006 Something that gets called when an admin page is loaded? I'm fiddling with a port of the WP Tiger Admin theme for ZP (mmm, integration) and it'd be spiffy to make that a plugin rather than just overwriting the admin CSS. Developers: Help brainstorm plugin hooks - trisweb - 31-12-2006 Yep, Admin hooks, great idea. Developers: Help brainstorm plugin hooks - DarrellD - 01-01-2007 Add_User() Developers: Help brainstorm plugin hooks - ashgrove - 01-01-2007 [b]thinkdreams wrote:[/b] [quote] [/quote] I'm sorry, thinkdreams, for not responding to this earlier. I got busy with stuff and just never got a "round tuit." Now that the holidays are almost over, maybe I can get back to the good stuff. I thank you for the links for examples of your working watermarking. I would very definitely be interested in seeing just how you accomplished the task. Might you be able to email me the code (I presume it's PHP4/5). And aside to trisweb: when can we expect the hooks to be 1: defined and 2: implemented? And what can we, the members here, do to help? Anticipating the very best ZenPhoto ever, Developers: Help brainstorm plugin hooks - ashgrove - 01-01-2007 I sure wish I could re-edit my post post when I see oops's in it. Lee Developers: Help brainstorm plugin hooks - DarrellD - 01-01-2007 Getting into multiple users... Hooks to check permissions for the different users. Developers: Help brainstorm plugin hooks - EdnaGarrett - 02-02-2007 a preloading image! when loading, something like the AJAX stuff, show a small GIF when images are still loading... don't know if this is related but anyway, excellent work! love zenphoto! Developers: Help brainstorm plugin hooks - feryk - 14-02-2007 hello, i hope i am right here in this topic now :D i have a real request, real because it would be cool (well cooler as cool) i start in a few days my photoshop battle net. and i thought it would be really cool to get the ability with zen to have a "mural" category for those mural photoshop battles. kinda 6-14 pictures side by side in one length . like: http://www.kranestyle.com/stuff/battles/shadowtouch/ (sorry for the frame demo krane) so zen would be then the ultimate choice for photoshop battle forums. |