البلطات المميزة

I first want to say thank you for this amazing component. It has taken our forum up a few notches visually and a brilliant way to revive old threads without the need for staff to bump them to keep them fixable.

I have a question though and I may be missing a simple solution to this, but is it possible to remove the OPs avatar from the tile… Or preferably just remove the clickablility of the OPs avatar?

Thank you for this David, I am trying to get display-on-categories and scope-to-category working but I can only get the featured tiles to display on Latest and Categories home page, not the individual categories. Any idea what I’m doing wrong here, below are my settings. I have tried this with all other TC’s disabled and in safe mode with unofficial plugins disabled. I don’t see anything in the console or logs related to this.

Settings screenshot

Also, is there any way to add spacing between the images?

إعجاب واحد (1)

IS there a wat to show 4 tiles in desktop and just 1 or 2 on mobile? It doesn’t look so good on it. Thanks!

Do you have editors-pick topics in every individual category?

You could do this using CSS, yes. Something like

.featured-tiles-container {
    gap: 1em;
}

This could also be done with CSS. To hide the 3rd, 4th and 5th square on mobile, you could do something like:

.mobile-view .featured-tiles-container > .featured-tile:nth-child(2) ~ .featured-tile {
    display: none;
}
3 إعجابات

Yes, I even tried setting it to only one category where the tag is used and it does not show up in that category. I tried different tags that are not part of tag groups, a category without restricted tags, but nothing seems to work. I also tried another site I have that is much simpler, doesn’t have TLP installed, etc. and it doesn’t work there either, even tried featuring a category rather than a tag, still doesn’t show up in any categories.

This works perfectly in firefox and chrome, but not safari. Any other ideas?

Also, a small feature request to have a title for the featured images, because how are people supposed to know what these images are? I know, I know, submit a PR, but trust me you wouldn’t want me to :grin: Just something like this:

إعجاب واحد (1)

Same here. I’m trying out the component on a new instance, so there’s not much else to disable. The featured tiles only show on Latest and Categories.

إعجابَين (2)

Hey @david

In my tests for some existing topics the image is not appearing. I am running on latest test-passed.
What I tried so far:

  • put the image into the first line of the first post
  • renew HTML of the first post
  • removing and re-adding the featured tag
  • issue persists in theme preview as well

Any ideas?

I have this exact same issue. Were you able to fix it?

Any reason why this does not show on category pages even tho the option for it is ticked?

إعجاب واحد (1)

لدي نفس المشكلة: لا يظهر في صفحات الفئات، حتى عندما يكون هو المكون النشط الوحيد. هل يمكنك المساعدة يا @david؟

إعجاب واحد (1)

لقد أجريت تحديثًا من شأنه إصلاح هذا للصفحات الفئوية؛ جربه!

5 إعجابات

يعمل الأمر يا كريس، أنت رائع!

إعجاب واحد (1)

هل لدى أي شخص فكرة عن كيفية إدراج نص فوق هذا المكون أو أسفل .list-controls؟ أحتاج حقًا إلى نص في الأعلى لشرح ماهية هذه الصور. الخط الأحمر في الصورة أدناه هو المكان الذي أحتاجه فيه. شكرًا!

للحصول على حل سريع، يمكنك دائمًا استخدام المحددات before أو after لإدراج محتوى في موقعك. مثال:

.featured-tiles::before {
  content: "Hello There";
}
إعجاب واحد (1)

شكرا نولو، هذا سيعمل في الوقت الحالي! سيكون من الجيد إضافة عنوان URL هناك، لكن هذا يكفي. شكرا لمساعدتك.

إعجاب واحد (1)

موقع رائع جداً، @davidkingham !!! مذهل!!!

إعجاب واحد (1)

يبدو هذا جميلاً حقًا… عندما يعمل.
على موقع Cloud Discourse الخاص بنا، يعمل فقط إذا قمت بتحديد علامة واحدة فقط. يعرض سطر لافتة فارغًا إذا تم تحديد أكثر من علامة واحدة.

تحديث: في بعض الأحيان لا تظهر الصور على الصفحة الرئيسية، ولكن الانتقال إلى الفئة التي تحتوي على مواضيع موسومة بالعلامة المحددة يساعد. يؤدي العودة إلى الصفحة الرئيسية إلى عرض الصور في اللافتة.

هل يمكن لأي شخص آخر المحاولة والتأكيد؟

إعجاب واحد (1)


نعم، أواجه نفس المشكلة. تلك التي لا تحتوي على صور لا تحمل حتى علامة “مميزة”

طلب ميزة

EDiT يبدو أنه يجب أن يعمل كما أصف. :man_facepalming:

ولكن على سمة Air تكون فارغة كما هو موضح أدناه. ماذا أفعل بشكل خاطئ؟ يمكنني إرسال رابط موقعك إذا لزم الأمر.

لدي موضوعان بهما صور في المنشور الأول. الصور في بداية المنشور.

لقد قمت مؤخرًا بتثبيت مكون السمة الخاص بك، واعتقدت أنه سيكون من الرائع لو أضفت هاتين الميزتين

  1. زر التالي والسابق
    لقد أشرت إلى هذا الرمز ولكنني لا أعرف كيفية إضافته إلى تخصيصاتك

https://stackoverflow.com/questions/65833297/add-prev-next-buttons-to-scroll-container-with-css-and-jquery

  1. السماح بتحميل محتوى إضافي بعد أن يشاهد المستخدم جميع الأخبار السابقة

يساعد هذا المستخدمين على الحصول على تجربة مثالية على سطح المكتب والجوال وفي نفس الوقت يكونون على دراية بتطبيقات القصص على الشبكات الاجتماعية، بالإضافة إلى أنني أرى العديد من المقالات التي تهتم بها Google حاليًا جدًا بمحتوى القصص.

هذا هو تخصيصي على سطح المكتب والجوال


عرض على https://businesslab.vn

3 إعجابات