News:

SMF 2.1.3 has been released! Take it for a spin! Read more.

Main Menu

Topic First Image Rotator

Started by Diego Andrés, September 11, 2021, 09:26:44 AM

Previous topic - Next topic

Diego Andrés

Need at least 7.0 I think.
Also your forum is outdated, 2.0.19 is the latest patch for 2.0.x

SMF Tricks - Free & Premium Responsive Themes for SMF.

atanua

Quote from: Diego Andrés on August 05, 2022, 03:22:03 PMNeed at least 7.0 I think.
Also your forum is outdated, 2.0.19 is the latest patch for 2.0.x

Thank you for letting me know. This is probably the reason then

Rgvill

Quote from: Diego Andrés on September 11, 2021, 05:51:40 PMFor attachments it only works if the attachments are inserted (embedded) in the post, it's mentioned in the description.

Quote from: Diego Andrés on September 11, 2021, 09:26:44 AMInclude inserted attachments in posts (SMF 2.1.x)

If they just attached it without inserting then it won't work, the mod doesn't do that.


This is what exactly I need! Do you know of any mod that automatically attach and insert an attachment?

Rgvill

I want this only to show in the homepage. How do I remove it from the MessageIndex?

Diego Andrés

Quote from: Rgvill on October 06, 2022, 01:44:03 PMThis is what exactly I need! Do you know of any mod that automatically attach and insert an attachment?

No mods for this atm.

Quote from: Rgvill on October 06, 2022, 07:39:41 PMI want this only to show in the homepage. How do I remove it from the MessageIndex?

Change this line:
if (((!empty($modSettings['firsttopicimage_enable_index']) && !empty($context['current_action'])) || !empty($topic)) || ((empty($board) || !empty($topic)) && empty($modSettings['firsttopicimage_enable_index'])))
To this:
if (!empty($context['current_action']) || !empty($board))

SMF Tricks - Free & Premium Responsive Themes for SMF.

Rgvill

How do I prevent this from happening every time I refresh my page? It's very fast, but it's a bit annoying.


Tricky-Ricky

How would i code a portal block for this Amazing mod?.

Diego Andrés

Quote from: Rgvill on October 11, 2022, 05:09:20 AMHow do I prevent this from happening every time I refresh my page? It's very fast, but it's a bit annoying.

I don't think much can be done about this, but still added something to address it.



1.3.1 - 25 October 2022
  • Improvement Always load the images horizontally.

SMF Tricks - Free & Premium Responsive Themes for SMF.

Diego Andrés

Quote from: Tricky-Ricky on October 25, 2022, 03:56:52 PMHow would i code a portal block for this Amazing mod?.

How would that look? I'm not sure it would work well in a portal block because it's essentially a carousel

SMF Tricks - Free & Premium Responsive Themes for SMF.

EthanR

This is a really cool mod! 8)  Is it possible to have it display random images from the attachment directories and link to the thread that the image is from?

I have thousands of images and it would be a great way expose the pictures on the homepage as another way to engage the users :)

Diego Andrés

At this time it only displays inserted attachments.
The same thing was asked a few posts above.

Perhaps I'll add an option for this in the future. The main issue with it, is that the mod doesn't look for attachments specifically, it looks for bbc tags.

SMF Tricks - Free & Premium Responsive Themes for SMF.

EthanR

Ah, I understand  :)

I believe it would be an awesome mod if it could display the attachments randomly. I think I have around 30000 attachment images all buried in threads somehere. To have a random selection exposed on the homepage would cool and encourage users to interact (nothing like an interesting picture to catch someone's interest  ;) )

cheers  :)

Advertisement: