Glonks.com modern forum

Back to Home
5 days ago
#1
MadRomas

So, this is a new forum up for testing and see what it is capable of. Welcome!

5 days ago
#2
Homer

yeah, I guess we need an photo upload feature for the forum! 😺

5 days ago
#3
MadRomas

Definitely right call. I try to create one, but man, I made a mess. :) LOl.

5 days ago
#4
MadRomas

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'
];
5 days ago
#5
MadRomas

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;
}
5 days ago
#6
MadRomas

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.

5 days ago
#7
MadRomas

Note to self or whatever:

You must reply to this topic to view this content.

You must like this post to view this content.

Implement nsfw tags, as a warning...

Please login to view adult content

5 days ago
#8
MadRomas

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);
    }
4 days ago
#9
MadRomas

Please login to view adult content

4 days ago
#10
MadRomas

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.

Join the Conversation

Please log in or register to reply.

Back to Home