Facebook 

SMFHacks.com - Celebrating 20 Years!

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4341
Latest: jmac32here
New This Month: 2
New This Week: 0
New Today: 0
Stats
Total Posts: 44308
Total Topics: 7676
Most Online Today: 282
Most Online Ever: 27044
(May 30, 2026, 09:10:16 pm)
Users Online
Members: 0
Guests: 221
Total: 221

Author Topic: Converting from Aeva gallery  (Read 23425 times)

0 Members and 1 Guest are viewing this topic.

Converting from Aeva gallery
« on: »
Hi,

Have just had SMF Gallery Pro installed and ran the Aeva conversion script.  Just have a few queries as I get to grips with this new one.

Almost all went well and script reported success.  However, we have lost some images (this is possibly a problem dating back from before so not too worried about that) - seem to have lost comments though.

Example is this image:  http://aussielapidaryforum.com/forum/index.php?action=gallery;sa=view;id=352
This one should have 4 comments and it shows (4) in the gallery view but cannot see them when you click to see image details. Any way of restoring these?

Comment notification is one of the main reasons we switched to SMF Gallery Pro as members have expressed a wish to be able to get email notifications when someone comments on photos - members like to comment a lot so hopefully we can find the old comments.

Also having trouble getting category thumbnails working.  When I click into an image, I see there is an option above to "Set As Category Thumbnail".  However, have tried a few and either get error message:  Not a valid picture format OR "Image exceeds size requirements".  Where do I adjust settings to get this working as at the moment, the gallery view is a bit boring without any category thumbnails.

Something also seems a bit weird with the thumbnails - for example, this image:
http://aussielapidaryforum.com/forum/index.php?action=gallery;sa=view;id=7213

It displays normally in the Image Details page but has a missing thumbnail in the Gallery View (also missing some comments).  Have tried rebuilding the thumbnails but doesnt seem to have any effect.

The Youtube video links are working a lot better than Aeva so that is a big plus for me.  Might have a few more questions but that is it for now.

thanks
Leah
www.aussielapidaryforum.com
« Last Edit: March 02, 2015, 09:32:57 pm by lonewood »

Re: Converting from Aeva gallery
« Reply #1 on: »
Just another couple of queries.

In the old Aeva gallery, we used a BBC code of [smg id=7118] but it seems the converter did not change any of these so none of the linked images in forum threads are now showing as the SMF Gallery BB code is different (and much longer).  Any way of batch converting these or do we have to do them manually?

In the Gallery view, none of the albums are showing an accurate count - ie. all show zero images present when there are actually varying numbers.  Is there a way of getting the Gallery to do a recount.

cheers
Leah

Re: Converting from Aeva gallery
« Reply #2 on: »
Quote
Example is this image:  http://aussielapidaryforum.com/forum/index.php?action=gallery;sa=view;id=352
This one should have 4 comments and it shows (4) in the gallery view but cannot see them when you click to see image details. Any way of restoring these?
Lets try two mysql queries on the database first
Code: [Select]
UPDATE smf_gallery_pic SET allowcomments = 1
If that still does not help lets try make sure all comments are marked as approved.
Code: [Select]
UPDATE smf_gallery_pic SET approved = 1

Quote
Also having trouble getting category thumbnails working.  When I click into an image, I see there is an option above to "Set As Category Thumbnail".  However, have tried a few and either get error message:  Not a valid picture format OR "Image exceeds size requirements".  Where do I adjust settings to get this working as at the moment, the gallery view is a bit boring without any category thumbnails.
If you get the " valid picture format " that means the file is corrupted and we can not generate a thumbnail image from it.
Image exceed requirements error. You can raise them under Gallery Settings then change the "Max category image width:" and "Max category image height:" settings


Quote
In the Gallery view, none of the albums are showing an accurate count - ie. all show zero images present when there are actually varying numbers.  Is there a way of getting the Gallery to do a recount.
Make sure under gallery configuration that -> Counts child categories picture totals
If that does not help try the file attached it is a recount script.
Upload to your main forum folder. Then run it via your browser http://www.yoursite.com/galleryrecount.php
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Re: Converting from Aeva gallery
« Reply #3 on: »
For missing thumbnails/medium seems like a lot were zeroed sized http://aussielapidaryforum.com/forum/gallery/albums/Other_Fossicking_Locations/Dir_1/ check your forum error log for related errors.


Quote
In the old Aeva gallery, we used a BBC code of [smg id=7118] but it seems the converter did not change any of these so none of the linked images in forum threads are now showing as the SMF Gallery BB code is different (and much longer).  Any way of batch converting these or do we have to do them manually?
For posts. First please make a backup of your database.
And run the attached script. But I would do this after your thumbnails are fixed.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Re: Converting from Aeva gallery
« Reply #4 on: »
Thanks.

I altered the size settings and where files are valid (not corrupted), then they are now able to be shown as category thumbnails.

I had the settings to count child  categories picture totals ticked already but did not help so looks like will have to run the script ran the script and now all counting accurately  ;D.

re the mysql query - not totally sure I did it correctly but no change.  In the database table "smf_gallery_comment", I can see the comments listed there and they are marked as approved (1) but I cannot see them in the forum.

Other thumbnails - still checking...

thanks so far.
Leah
« Last Edit: March 02, 2015, 11:28:23 pm by lonewood »

Re: Converting from Aeva gallery
« Reply #5 on: »
The smf_gallery_comment should have all the comments. You can check if they are visible by looking at the ID_PICTURE column for one of the comments.
Then visiting that picture id in the gallery and see if the comment appears.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Re: Converting from Aeva gallery
« Reply #6 on: »
Just checked that database table more thoroughly and there are only 3 pages of comments - so a lot have been lost in the conversion.  The ones that swapped over are ok but lots have been lost.

This one is an example of an image that has comments intact:
http://aussielapidaryforum.com/forum/index.php?action=gallery;sa=view;id=218

But we have images numbering over 7000.

What to do??

Re: Converting from Aeva gallery
« Reply #7 on: »
Did the conversion script die out at any point? Odd that it didn't recount the totals either... since that should be the last step

If not you can do the following sql query to import them all in one shot
Code: [Select]
insert ignore into smf_gallery_comment (ID_COMMENT,id_picture,id_member, comment, date, approved)
SELECT id_comment, id_media, id_member, message, posted_on, approved FROM smf_aeva_comments
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Re: Converting from Aeva gallery
« Reply #8 on: »
You are an absolute lifesaver !!

I did not do the conversion as I needed some extra help to do a main upgrade and I got them to do this conversion at same time.

Just checking with them re error messages but pretty sure they said the script reported success.

However, your sql query has restored all the comments so we are working through the issues slowly.  Thanks a bunch.

Still working on thumbnail issue.
Error log shows missing files??

eg.  here is an example of an error:
http://aussielapidaryforum.com/forum/index.php?action=gallery;sa=regen2;start=4250Apply Filter: Only show the errors with the same message2: rename(/home/aussiel3/public_html/forum/gallery/albums/Fossicking_Finds/Dir_1/main_7147.jpg_thumb,/home/aussiel3/public_html/forum/gallery/thumb_albums/Fossicking_Finds/Dir_1/main_7147.jpg): No such file or directoryApply Filter: Only show the errors from this file File: /home/aussiel3/public_html/forum/Sources/Gallery2.php
Line: 8845

This one refers to this image (no thumbnail):
http://aussielapidaryforum.com/forum/index.php?action=gallery;sa=view;id=7147

cheers
Leah

Re: Converting from Aeva gallery
« Reply #9 on: »
Next question on thumbnails did you transfer hosting or move files around? Depending on how it is transferred if the files are not transferred in binary mode could lead to corrupted files which causes the not valid picture file and would cause the thumbnails to fail to generate for the thumbnail and medium sized image.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Re: Converting from Aeva gallery
« Reply #10 on: »
No change on hosting but possible a move has caused a corruption.  Will check now.

thanks
Leah

Re: Converting from Aeva gallery
« Reply #11 on: »
 If I don't get back tonight i will be asleep as is 12:10 am my time.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Re: Converting from Aeva gallery
« Reply #12 on: »
Support is brilliant - thank you.  Get some sleep and I will revisit this tomorrow.

Leah

Re: Converting from Aeva gallery
« Reply #13 on: »
Another question.

I have searched through this forum but cannot find the answer.

I have got around 8 main categories but there are LOTS of user galleries.  I can see how to set permissions for the main categories but there is no option to set permissions for the user galleries.  Specifically, one of my members would like to set his gallery to be viewed by forum members only (not guests) - it would not be a problem to set all user galleries like this.  But I cannot see how to alter permissions on user galleries either logged in as admin OR as the member in question.  Can see how to set a gallery as private but then approved members have to be added manually (did not seem as though you could add a member group).

Am I missing something?

cheers
Leah

Re: Converting from Aeva gallery
« Reply #14 on: »
Quote
I have got around 8 main categories but there are LOTS of user galleries.  I can see how to set permissions for the main categories but there is no option to set permissions for the user galleries.  Specifically, one of my members would like to set his gallery to be viewed by forum members only (not guests) - it would not be a problem to set all user galleries like this.  But I cannot see how to alter permissions on user galleries either logged in as admin OR as the member in question.  Can see how to set a gallery as private but then approved members have to be added manually (did not seem as though you could add a member group).

Am I missing something?
I would have to add that feature. we only have password,private
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

 

Related Topics

  Subject / Started by Replies Last post
15 Replies
23891 Views
Last post November 10, 2010, 01:41:44 pm
by SMFHacks
8 Replies
10939 Views
Last post November 03, 2015, 01:13:29 am
by davejo
5 Replies
21111 Views
Last post June 03, 2016, 06:45:29 am
by tank_fv101
8 Replies
22976 Views
Last post April 02, 2023, 11:09:54 am
by sudhakar
2 Replies
7642 Views
Last post March 28, 2025, 01:46:00 pm
by [chrisB]

+- Recent Topics

Registration - anti bot pattern matching by SMFHacks
November 01, 2026, 07:20:17 pm

EZPortal 8 by davejo
October 21, 2026, 01:01:54 pm

Downloads Pro 7.0 Released by SMFHacks
October 07, 2026, 07:35:30 pm

[Mod]ActivityPub Federation for SMF 2.1 by SMFHacks
October 01, 2026, 05:03:45 pm

Newsletter Pro 4.0 Released by SMFHacks
September 23, 2026, 08:08:24 pm

Can't remove or restore any item from the recycle bin by SMFHacks
September 22, 2026, 11:01:51 am

MCP Server for SMF 2.1 - let Claude, ChatGPT or Cursor run your admin chores by SMFHacks
September 12, 2026, 02:50:45 pm

Suggestions for improvements to Ultimate Shoutbox & Chatroom by davejo
September 02, 2026, 01:35:09 am

Automatic Sorting of Categories by Kiwi
August 31, 2026, 12:36:09 am

' appears as ' in Most Viewed (and Recent Items ?) by SMFHacks
August 22, 2026, 11:01:56 pm

Powered by EzPortal