Dear friends,
Today we are happy to announce that we have added 5 new scripts to Administration - Scripts section:
● Secure HTML in posts
● Number of unread topics in each forum (on the home page)
● Displaying of similar topics (when creating a new topic)
● Fast posts moving (for moderators and administrators)
● Viewing the location of user (when hovering on nickname in line of "Online" users in the forum statistics)
● Secure HTML in posts, allows you to use HTML code in posts through the special BB tag [html][/html]. A feature of this script is that it disallows access to the parent page(page of topic with posts) and any changing of it by scripts in HTML inset, also it disables all modals that are caused by the code from the HTML inset. Besides, you are allowed to use all the default BB codes in the HTML inset, including quotes, spoilers etc. The function is available for users of all the groups except Guests.
● Number of unread topics in each forum. The script displays the number of topics which have new (unread) posts in them, in each forum when viewing the home page.
● Displaying of similar topics When entering text to the Subject field on the page of creation new topics, the script displays the list of similar topics (10 or less newest topics) that contain entered word(s) in their title. The list of similar topics contains information about forum, author and last post date of each topic.
● Fast posts moving allows you to move posts to the desired topic right on the page of moderation where you can check the posts for moving, through the modal container in which you can select the topic in forums (through menu of forum selection) or by name (through the search line). After moving the missing posts are being loaded automatically to the page and you see the message of successful moving. If you close the container with message, you are able to continue selecting and moving the postsof the remaining ones.
The feature works on the default page of posts moving (select the option from the moderation menu):
If you have transparent backgrounds on containers in your custom style, you can add background color for post moving modal with this code:.punbb .move_posts_form .container {
background:#CCC0B1;
}(Write your desired color for background instead of red and add the code to the end of Colors style_cs.css in Custom style section, or wrap the code with tags <style></style> and add it to HTML header if you have default style (not custom).)
● Viewing the location of user allows to see where an user from the online list is on forum by hovering on his nickname in the Forum statistics.
If you find any problems with new scripts from the list, please write in this topics for faster troubleshooting.






