Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 297
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 289
Total: 289

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

0 Members and 1 Guest are viewing this topic.

Offline lonewood

  • Member
  • *
  • Posts: 28
    • View Profile
Converting from Aeva gallery
« on: March 02, 2015, 09:29:18 pm »
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 »

Offline lonewood

  • Member
  • *
  • Posts: 28
    • View Profile
Re: Converting from Aeva gallery
« Reply #1 on: March 02, 2015, 09:47:21 pm »
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

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Converting from Aeva gallery
« Reply #2 on: March 02, 2015, 10:54:07 pm »
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/

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Converting from Aeva gallery
« Reply #3 on: March 02, 2015, 10:58:32 pm »
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/

Offline lonewood

  • Member
  • *
  • Posts: 28
    • View Profile
Re: Converting from Aeva gallery
« Reply #4 on: March 02, 2015, 11:23:08 pm »
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 »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Converting from Aeva gallery
« Reply #5 on: March 02, 2015, 11:31:37 pm »
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/

Offline lonewood

  • Member
  • *
  • Posts: 28
    • View Profile
Re: Converting from Aeva gallery
« Reply #6 on: March 02, 2015, 11:44:34 pm »
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??

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Converting from Aeva gallery
« Reply #7 on: March 02, 2015, 11:49:20 pm »
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/

Offline lonewood

  • Member
  • *
  • Posts: 28
    • View Profile
Re: Converting from Aeva gallery
« Reply #8 on: March 03, 2015, 12:02:13 am »
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

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Converting from Aeva gallery
« Reply #9 on: March 03, 2015, 12:07:06 am »
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/

Offline lonewood

  • Member
  • *
  • Posts: 28
    • View Profile
Re: Converting from Aeva gallery
« Reply #10 on: March 03, 2015, 12:08:10 am »
No change on hosting but possible a move has caused a corruption.  Will check now.

thanks
Leah

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Converting from Aeva gallery
« Reply #11 on: March 03, 2015, 12:10:39 am »
 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/

Offline lonewood

  • Member
  • *
  • Posts: 28
    • View Profile
Re: Converting from Aeva gallery
« Reply #12 on: March 03, 2015, 12:11:33 am »
Support is brilliant - thank you.  Get some sleep and I will revisit this tomorrow.

Leah

Offline lonewood

  • Member
  • *
  • Posts: 28
    • View Profile
Re: Converting from Aeva gallery
« Reply #13 on: March 03, 2015, 03:17:38 pm »
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

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Converting from Aeva gallery
« Reply #14 on: March 03, 2015, 03:43:18 pm »
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
15761 Views
Last post November 10, 2010, 01:41:44 pm
by SMFHacks
7 Replies
6040 Views
Last post February 13, 2010, 12:43:03 am
by SMFHacks
8 Replies
7357 Views
Last post November 03, 2015, 01:13:29 am
by davejo
5 Replies
6249 Views
Last post June 03, 2016, 06:45:29 am
by tank_fv101
8 Replies
6859 Views
Last post April 02, 2023, 11:09:54 am
by sudhakar

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal