- This topic has 15 replies, 6 voices, and was last updated 2 years, 6 months ago by
phenoms.
-
AuthorPosts
-
August 5, 2022 at 8:29 am #153891
AlexG
KeymasterAs for features,
I’d like to see the insert photo attachments into message restored and expand the number to seven or eight over the current limit of four. Yeah, I know that you can click on the thumbnail(s) but isn’t easier the other way around.“I like a good story well told. That is the reason I am sometimes forced to tell them myself.”
~ Mark Twain / Samuel Clemens (1907)August 5, 2022 at 8:58 am #153895Lingster
KeymasterAs for features,
I’d like to see the insert photo attachments into message restored and expand the number to seven or eight over the current limit of four. Yeah, I know that you can click on the thumbnail(s) but isn’t easier the other way around.I’ll see what I can do. I’ve already got a lightbox plugin running that isn’t working, so I need to get back to work on images.
FMG OG | Growth Comics | Amaz0ns founder
August 5, 2022 at 2:54 pm #153915phenoms
ParticipantAs for features,
I’d like to see the insert photo attachments into message restored and expand the number to seven or eight over the current limit of four. Yeah, I know that you can click on the thumbnail(s) but isn’t easier the other way around.It’d be amazing if somehow the old attachments from Kunena could be reintegrated to be displayed inline as they were before (in addition to AlexG’s request for new attachments.) Hopefully you still have the old attachment files after the migration.
My Deviant Art Page (old stuff):
phenoms.deviantart.comMy Booru Gallery (new stuff):
phenoms.booru.orgAlso
www.thevalkyrie.com/picthumb/p/phenoms/index00.htm
www.thevalkyrie.com/picthumb/p/phenom_fett/index00.htmAugust 6, 2022 at 11:49 am #153923Lingster
KeymasterThe files were all migrated and I don’t know why they’re not showing. I’ll look into it; I paid for the conversion script and get tech support, too.
FMG OG | Growth Comics | Amaz0ns founder
August 6, 2022 at 5:42 pm #153926phenoms
ParticipantThe files were all migrated and I don’t know why they’re not showing. I’ll look into it; I paid for the conversion script and get tech support, too.
I’ll use two of my last Kunena posts as an example.
#1 https://amaz0ns.com/forums/topic/tattooed-teenage-alien-fighters-from-beverly-hills-2/page/4/#post-151991The conversion script cites Kunena attachments in a list at the bottom of posts, but the a href links are blank:
<p> </p> <div class="attachments"> <div class="attachment_title">Attachments:</div> <ul> <li><a href="" rel="nofollow">60a5140ba1fc137233f7447c016afe8b</a></li> <li><a href="" rel="nofollow">3a8f13db456f06f80bcdf85ca17e81f9</a></li> <li><a href="" rel="nofollow">5cde557135236dc5198f9bb4c2e35d36</a></li> <li><a href="" rel="nofollow">7256d427a8fcaafccb8718fb093e700e</a></li> </ul> </div>
In Kunena attachments were coded as:
<a href="https://amaz0ns.com/media/kunena/attachments/915/5cde557135236dc5198f9bb4c2e35d36" title="...71536931_n.jpg" data-fancybox="gallery"> <img src="https://amaz0ns.com/media/kunena/attachments/915/5cde557135236dc5198f9bb4c2e35d36" style="max-height:800px" alt="341502-profileimage.jpg" width="200" height="254"> </a>
I checked the 3 threads I archived for safe keeping before the migration and all use the same file path for attachments:
/media/kunena/attachments/915/[attachment]
Just figure out what directory the Kunena attachments were all stored to, then run a massive search and replace regex to turn every<li><a href="" rel="nofollow">60a5140ba1fc137233f7447c016afe8b</a></li>
Into a regex substitution of something like:
"^\<li\>\<a href\=\"\" rel\=\"nofollow\"\>([a-zA-Z0-9]{32})\<\/a\>\<\/li\>$"
and
"^\<li\>\<a href\=\"\/media\/kunena\/attachments\/915\/\1\" rel\=\"nofollow\"\>\<img src\=\"\/media\/kunena\/attachments\/915\/\1\"\>\<\/a\>\<\/li\>$"
(test first)My Deviant Art Page (old stuff):
phenoms.deviantart.comMy Booru Gallery (new stuff):
phenoms.booru.orgAlso
www.thevalkyrie.com/picthumb/p/phenoms/index00.htm
www.thevalkyrie.com/picthumb/p/phenom_fett/index00.htmAugust 6, 2022 at 5:44 pm #153928phenoms
Participant#2 https://amaz0ns.com/forums/topic/tattooed-teenage-alien-fighters-from-beverly-hills-2/page/4/#post-153473
The conversion script linked to this next one:<div class="attachments"> <div class="attachment_title">Attachments:</div> <ul> <li><a href="https://bbpress2.amaz0ns.com/wp-content/uploads/2022/07/Screenshot_2022-07-23_16-15-34.png?_ga=2.99746654.1921890101.1659814598-963844599.1658589859" rel="nofollow">Screenshot_2022-07-23_16-15-34.png</a></li> </ul> </div>
My Deviant Art Page (old stuff):
phenoms.deviantart.comMy Booru Gallery (new stuff):
phenoms.booru.orgAlso
www.thevalkyrie.com/picthumb/p/phenoms/index00.htm
www.thevalkyrie.com/picthumb/p/phenom_fett/index00.htm -
AuthorPosts
- You must be logged in to reply to this topic.