Re: Migration of SMF to ElkArte
Reply #1 –
good luck and keep us updated!
Re: Migration of SMF to ElkArte
Reply #8 –
What gallery are you using with SMF?
Re: Migration of SMF to ElkArte
Reply #9 –
Aeva Media 1.4w. Works great. Why?
Re: Migration of SMF to ElkArte
Reply #10 –
I think that it may be possible to at least restore "somehow" the images in the posts.
Re: Migration of SMF to ElkArte
Reply #11 –
Sounds interesting. So it will automatically change the BBC from [id=123] (I think that's how the images are shown inside a post, but I'm not sure quite yet) to [img]http://pathtopicture.extension[/img]?
Re: Migration of SMF to ElkArte
Reply #12 –
If I remember correctly is something like [smg=123], yes.
The idea would an "smg" bbc tag able to interpret the [smg=123] the same way AEVA does, and so return something similar to what you have now (at the moment I can't do a lot of coding, so it may take a few days, but this weekend I may be able to have a look at it).
Re: Migration of SMF to ElkArte
Reply #13 –
Yes, it's [smg id=3657]. The ID can be found too in the database in table smf_aeva_files in field id_file. In the fields directory and filename the path to the image and the file name can be found.
So what I need is a script which searches all posts for such a BBC, looks for the id, then searches the table for this id, collects path and file name from this row, and changes the BBC in the post to [img]http://forum.hybrid-piloten.de/path/filename.extension[/img]. That would be perfect.
Re: Migration of SMF to ElkArte
Reply #14 –
I was more thinking not to change the posts, but to write a BBCode to convert the [smg id=3657] into an image, it seems easier to me. No?