So, this is a new forum up for testing and see what it is capable of. Welcome!
So, this is a new forum up for testing and see what it is capable of. Welcome!
yeah, I guess we need an photo upload feature for the forum! 😺
Definitely right call. I try to create one, but man, I made a mess. :) LOl.
Also since you are here, There is a few missing strings in English lang.
Backend.php ===settings.php===
'admin_new_posts_indicator' => 'Admin New Posts Indicator',
'show_blue_dot_for_admins' => 'Show blue dot for admins',
'admin_new_posts_indicator_hint' => 'If enabled, admins will also see the blue dot for new topics, just like regular users.',
and pm_reply_prefix somewhere.
Also
video_embed_note
supported_platforms
video_url
insert_video
P.S. Hey, thanks for quick video setup. 👍 You forgot to add video button to post_edit.php :)
Now that the video is there need few icons added
$popularIcons = [
'fas fa-music',
'fas fa-video'
];
Aldo code block needs to be like this, otherwise it will shoot beyond post it self as you can see on top.
.post-content pre {
background: var(--surface-hover);
border: 1px solid var(--border);
border-radius: 12px;
padding: 1em;
direction: ltr;
text-align: left;
white-space: pre-wrap;
word-wrap: break-word;
overflow-x: hidden;
}
Also I moved
<?php
$categories = $displayCategories;
$categoriesPerRow = min(count($displayCategories), (int)Settings::get('categories_per_row', 4));
if ($categoriesPerRow < 1) $categoriesPerRow = 1;
include __DIR__ . '/templates/categories.php';
?>
Below topics. Looks better and you see topics right away.
Note to self or whatever:
Implement nsfw tags, as a warning...
Also, in new version reply and like tags do not work, they need to be like this:
foreach ($likeBlocks as $placeholder => $tag) {
$processed = processLikeShortcode($tag, $topic_id, $current_user_id);
$html = str_replace($placeholder, $processed, $html);
}
foreach ($replyBlocks as $placeholder => $tag) {
$processed = processReplyShortcode($tag, $topic_id, $current_user_id);
$html = str_replace($placeholder, $processed, $html);
}
Yea, another good observation is When user sends you message you get notification, same notification needs to pop up when someone reply to your topic.