PDA

View Full Version : Addon: Ajax Categories Manager


jroumagnac
06-28-2006, 05:46 AM
Ajax Categories Manager V1.02

Download: http://www.pixelpost.org/extend/addons/ajax-categories-manager/download/

Description:
This AJAX based admin addon allow you to easily set categories for your pictures without any refresh.
Accessible via a new menu item "CategManager".

This new version take care of the admin addons system since Pixelpost 1.5.
Some small bugs and a pixelpost 1.7 compatibility issue were fixed.
The whole archive edition can now be split into subpages.

Installation:
Simply extract the full archive in your addons directory.

Note: you can edit admin_AjaxCategManager.php to adjust 4 settings (lines 35-38)
- $addon_acm_imgPanelWidth : define the width of each box
- $addon_acm_imgThumbHeight : define the visible height of the thumbnail
- $addon_acm_fontSize : define the font size for categories text
- $addon_acm_perPageNumber : define the number of boxes to be displayed on one page

Release notes:
- v 1.02: Just fixed if you have filenames with special chars or spaces
- v 1.01: Just fixed a wrong path to the thumbnails

Previous version 1.0 and above uninstall:
Remove admin_AjaxCategManager.php and admin_AjaxCategManager directory from your addons directory.

Previous version uninstall:
Remove ajax_cat_manager.php and manage_categ directory from your addons directory.

http://www.j-roumagnac.net/others/ajax_cat_manager_sc.jpg

Enjoy !

Vernon.Trent
06-28-2006, 05:52 AM
COOOOOOOL :)


thx 4 sharing!

#edit
installed and tested and...... it works :)

jroumagnac
06-28-2006, 06:06 AM
COOOOOOOL :)


thx 4 sharing!

#edit
installed and tested and...... it works :)

Coool :), i'm glad that it works, i didn't have the opportunity to test it on many platforms :rolleyes:

OldAbe
06-28-2006, 11:10 AM
Excellent work jroumagnac. Very easy to install without any problems.

Thank you very much for sharing it.
/OA

Dan
06-29-2006, 02:37 PM
You may not believe this, but I was thinking about this exact addon last night. As I got to thinking about archiving all my shots into a 2005-2006 category, I started to think about how much time that would take me. THIS will greatly help!!

SnowScan
06-30-2006, 07:12 PM
Thanks for sharing, very neat :)

blinking8s
06-30-2006, 10:21 PM
bad ass...

GeoS
07-01-2006, 08:37 AM
If there would be split on "subpages" then it will be as cool as it can only be.

greentraveler
07-03-2006, 01:07 AM
Worked beautifully for me...thanks for further refining the PP experience! :D

andy206uk
07-06-2006, 01:05 PM
Very cool! thanks dude!

FarmGrrl
07-27-2006, 03:14 PM
Not to be stupid, but how do I get the page? I extracted it to my Addons directory but I don't see anything extra in the admin. I'm a newbie so maybe I'm just not understanding it. :(

EDIT: Nevermind, I had to chmod 755 the directory that was created by extracting. Great addon!

Vernon.Trent
07-27-2006, 03:22 PM
@farmgrrl
normaly just extract to addon folder.
then logon to your admin panel and go to addon section.
then push the button. a new window will open with all the thumbs and categories :)

Dennis
11-08-2007, 04:30 PM
Please be warned: this addon has compatibility issues with Pixelpost 1.7.

Because of the new Pixelpost Install Routine we updated the function call to start_mysql() function in functions.php.

In order for this addon to be compatible open the manage_categ.php file in the manage_categ folder located in addons.

Look for line 5:

start_mysql();


Change to:

start_mysql("../../pixelpost.php","dummy");

jroumagnac
11-09-2007, 04:37 PM
I just updated the addon, see first page (http://www.pixelpost.org/forum/showthread.php?t=4523) for the new description.
I also add it to the new extend section (waiting for validation)

iHamad
11-09-2007, 06:41 PM
jroumagnac ::

Updated .. Amazingly flowing , working .. running :)

nice job .!!

thanks

jaywilliams
11-09-2007, 07:18 PM
You should change the link on the first posts to:

http://www.pixelpost.org/extend/addons/ajax-categories-manager/download/

That way users will always get the latest version, and you can easily see how many times it has been downloaded.

Just a thought. :-)

jroumagnac
11-09-2007, 07:47 PM
jaywilliams : You're right, that's done

dhdesign
11-10-2007, 11:17 AM
I installed the latest version and found one small problem. When I go to the CategManager page, everything would display except for the thumbnails.

I went into admin_AjaxCategManager.php and changed the path to the thumbs on line 92, removing one of the ../, and now it works perfect. The thumbs are actually only up one directory, not two from admin_AjaxCategManager.php.

Thanks for this great addon! :)

Marek
11-10-2007, 11:51 AM
Some of my thumbnails couldn't be shown in the categoryManager. I rebuild them, recrop them, and rebuild them again. But some Thumbs aren't shown, but I can change the category only the image is not shown.

jroumagnac
11-10-2007, 02:12 PM
@dhdesign : oups ! thanks you very much for reporting this. You are perfectly right, the piece of code was from the previous version and the path wasn't the same ... IE and Firefox seems to "auto-correct" the path that's why I didn't saw any problem (even with and empty cache...)

I just upgraded the fixed addon (v1.01) here : http://www.pixelpost.org/extend/addons/ajax-categories-manager/

@Marek : yes, it seems to be the same problem, upgrade to v1.01

iHamad
11-10-2007, 08:25 PM
The IE7 thumbnails are ok and working perfectly ..

Firefox .. still the thumbnails are not all showing .. some do and some dont..

jroumagnac
11-10-2007, 09:22 PM
Ahhh ... I see, that's because you have spaces in your filenames
-> fixed (v1.02) here : http://www.pixelpost.org/extend/addons/ajax-categories-manager/

iHamad
11-11-2007, 06:02 AM
J.R.

Perfect.!!

thanks..!!

kriepl
02-14-2008, 04:38 PM
I am using the Addon Category Manager and for some reason, when I check the boxes under the thumbnails, it does not retain my selections.
After I click, and do all my selections, if I refresh the page OR navigate away then come back, the selections I just chose are not there and greyed out.

Also double checked by checking the image page as well. And the image did not retain the categories.

Am i doing something incorrectly?
Should there be an Accept or Submit button below on the CategMgr admin page?

thanks.
Kevin

jroumagnac
02-14-2008, 07:44 PM
@ Kevin :

The xajax communication seems to fail.

An error must be thrown by the PHP or the Javascript.
Without that error, I cannot do anything.

kriepl
02-14-2008, 08:05 PM
hmm, i am not getting any error window, or else i would have posted.

tried in both safari and firefox, and no error prompts.

kevin

jroumagnac
02-14-2008, 08:30 PM
This is normal, ajax is an "Asynchronous process" so you cannot see any error window.
The javascript send a request and it is waiting for an answer from the server. If the server fails, the javascript simply won't have its answer but the server should have logged the error somewhere depending on your configuration.

kriepl
02-14-2008, 08:34 PM
perfect, thank you for the explanation.
I will check with my server admin (friend) and see if he can get me an error log.
I will get back to you as soon as I get the info.
Thank you for the help thus far!

kevin.