The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Recent Forumotion updates : access to the forum under construction, 2 new widgets, new variable

Go down

Recent Forumotion updates : access to the forum under construction, 2 new widgets, new variable Empty Recent Forumotion updates : access to the forum under construction, 2 new widgets, new variable

Post by Luzz November 23rd 2023, 2:16 pm

Dear community,

A number of new features have appeared on your forums lately, here is a short summary.

Access to the forum under construction for moderators

This update to the "Forum under construction" feature, which was made at the suggestion of our users, adds the option to give access to a forum under construction not only to forum administrators (as was previously the case), but also to moderators.

You can manage this setting from your administration panel:
Administration panel  General  Forum  Configuration  Allow access to the forum under construction

Recent Forumotion updates : access to the forum under construction, 2 new widgets, new variable 23-11-11


New widget "Latest images"

A new widget is now available on your forums, allowing you to display the latest images shared by your community in topics. As all other widgets, the widget "Latest images" can be activated here:
Administration Panel  Modules  Widgets

Please note that this widget will be visible on the forum only if the "Recently shared images" module is enabled.

Recent Forumotion updates : access to the forum under construction, 2 new widgets, new variable 23-11-10

To learn more about this feature, read our tutorial Recently shared images.

New widget "Events"

Many of you use the Events module to keep the community informed about real and virtual events. For some time now, a new widget "Events" is part of our collection of predefined widgets. It's a great way to make your events even more visible!

Administration Panel  Modules  Widgets

Recent Forumotion updates : access to the forum under construction, 2 new widgets, new variable 37518010


New variable in topics_list_box template, which returns the image URL "og:image" for each topic.

A little novelty that is a bit more technical and the use of which requires template modification.


Now that the tag og:image tag for topics created by admins and members is auto-populated (several conditions apply, including image host etc.), we have created a new variable {topics_list_box.row.U_FB_IMAGE} that works with the topics_list_box template.


This variable returns the URL of the image attached to each topic (if any) in the topics list.
Warning: the variable returns an image if the og:image tag is completed, otherwise the variable returns an empty 1x1 image. Therefore, there is not necessarily an image for each topic.


The result depends on your integration. In the given example, the following code is inserted under the subject description:
Code:
<img style="max-width: 50%;margin-top: 15px;" src="{topics_list_box.row.U_FB_IMAGE}" alt="{topics_list_box.row.TOPIC_TITLE}" loading="lazy" />
Recent Forumotion updates : access to the forum under construction, 2 new widgets, new variable 39849910
Luzz
Luzz
Administrator
Administrator

Posts : 1918
Reputation : 359
Language : French, English, Russian

http://forum.forumactif.com/

skouliki, Ape, SLGray, Sir Chivas™, Niko, SarkZKalie, TonnyKamper and like this post

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum