Thread Rating:
  • 24 Vote(s) - 3.83 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.8] ezGallery 2.0.1 - Photogallery for MyBB
#31
This is really good but I see a lot of stuff in ROOT/ezgallery.php that could be improved.

Examples are things like this may not work on MyBB.

while($row = mysql_fetch_assoc($dbresult))

You should use the $db class. I know that sometimes trying to use mysql functions won't work under certain circumstances.

				// Search for members who have this picture id set in their GET data.
				$request = $db->write_query("

That should be $db->simple_select not a write_query.

You also don't use templates and for consistency sake you should.

I give this plugin a big thumbs up. It's a great attempt to make a solid gallery plugin. With a little adjustment to make this more standard for MyBB and it would be perfect.

I'd like to encourage you to further develop this. A day of work and you could have the best gallery plugin for mybb.
Reply
#32
(2010-06-29, 11:20 PM)vbgamer45 Wrote: That error is odd... Because that means either wrong with the query or table does not exist
Check if your mybb_gallery_settings table exists

yep..

   
Reply
#33
I wish I could use the table functions like they have in the MyBB admin area but seems like they only work in the admin cp.

The simple select I am not crazy about since it requires writing the queries and not as organized or as easy to test/run. I like to be able to grab the query and pop into phpmyadmin or a query browser to run/test it.
Reply
#34
A good gallery plugin is something MyBB needs IMO, this looks like it could do the job very well with a little more development, well done and keep up the good work. Smile
Reply
#35
Shemo try this and see if this makes any difference.


Attached Files
.zip   ezGallery1.0.1.zip (Size: 28.85 KB / Downloads: 148)
Reply
#36
I'm also getting an error when trying to edit permissions
   
Reply
#37
x-Treme download ezGallery1.0.1.zip right above that should fix that issue.
Reply
#38
So do I have to replace all files, or just the plugin file?
Reply
#39
I would replace all with the latest zip.
Reply
#40
Works now

a couple of suggestions...
1. Change the order of the comments (oldest first)
2. Permissions per category
3. use MyBB's rating system (stars) for rating images
4. Toggle ability to add image via url

This is very similar to SMF's gallery mod. It's the best gallery available and something that quite a lot of people have been asking for for quite some time.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)