Forums / Cotonti / Extensions / [Beta Release] MediaLibrary2 Gallery

beta release of the medilib gallery

Elgan
#12812 2009-05-25 01:52
# NovoKain : Awersome plugin. Thanks!

Maybe add automatic crop image functional to plugin?

What do you mean? Auto crop?

if the img is above a certain specific size on upload. A 2nd thumb for that size will be created for the view page.

# DemptD : Agree! Best plugin for a looong time. And the support and development is superb!

Bug:



This is the admin group, and i cant see those categories...

And if i edit a category it doesnt "remember" the rights i set for the groups, just removes everything.



If select all boxes on there it doesnt remeber it, removes all selections

Also the "Icon" for the categories, it doesnt show up when i add a url to a image in the box.

I see the tag is there:

<!-- BEGIN: CATEGORY -->				
							{CATEGORY_ICON}
							<a href="{CATEGORY_URL}">{CATEGORY_NAME}</a>
						</td>
						<td style="text-align:center">
							{CATEGORY_ITEMS}
						</td>
						<td style="text-align:center">{CATEGORY_SIZE}</td>
						<td>{CATEGORY_SHORT_DESCRIPTION}</td>
						
					</tr>			
				<!-- END: CATEGORY -->

But the image doesnt show up.

.Fixed The Rights errors. Should work properly now

After testing, the icons do work for me? They might need an ./ for the path. I added icons for the folders on the default install now. They should work :S?

I also added ajavascript + ajax slideshow (using cotontis ajax compatability) (so for those who wanted a demo its in media lib), you will need to reinstall the plugin for the new file to hook ajax. You wont need to reinstall your DB tho.

For those who have alterd rights and dont know hwo to set them via phpmyadmin or something. let me know. Id write some sql for this however you may have many custom groups that wont work. The best options atm i can offer is the following:

change this line

	foreach ($mn as $code => $value)
	{

on line 779 of core/global/medialibrary.functions.php to the following,
	foreach ($mn as $code => $value)
	{
		$row['auth_rights_lock'] = 0;


Then save and edit your groups in the menu without locks, Then change it back when its all fixed. I can provide a file if you need it.


again link is the same

www.mods-r-us.net/medialibrary.rar
This post was edited by Elgan (2009-05-27 01:06, 14 years ago)