Deprecated: Joomla\Input\Input implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /homepages/13/d380392445/htdocs/Jlive/libraries/vendor/joomla/input/src/Input.php on line 41

Deprecated: Return type of Joomla\Input\Input::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/13/d380392445/htdocs/Jlive/libraries/vendor/joomla/input/src/Input.php on line 170
Discussions enhancement - Macrotone Forum

Unknown Error 8192: KunenaControllerApplicationDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in libraries/kunena/controller/application/display.php on line 21


Unknown Error 8192: Automatic conversion of false to array is deprecated in libraries/kunena/route/route.php on line 437


Unknown Error 8192: ComponentKunenaControllerWidgetAnnouncementDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in components/com_kunena/controller/widget/announcement/display.php on line 18


Unknown Error 8192: ComponentKunenaControllerTopicItemDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in components/com_kunena/controller/topic/item/display.php on line 25


Unknown Error 8192: Automatic conversion of false to array is deprecated in libraries/kunena/forum/category/category.php on line 415


Unknown Error 8192: Automatic conversion of false to array is deprecated in libraries/kunena/bbcode/bbcode.php on line 107

Discussions enhancement


Unknown Error 8192: ComponentKunenaControllerTopicItemActionsDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in components/com_kunena/controller/topic/item/actions/display.php on line 23


Unknown Error 8192: ComponentKunenaControllerTopicPollDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in components/com_kunena/controller/topic/poll/display.php on line 21


Unknown Error 8192: ComponentKunenaControllerTopicItemMessageDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in components/com_kunena/controller/topic/item/message/display.php on line 23

12 years 7 months ago - 12 years 4 months ago #1 by geoffc

Unknown Error 8192: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in libraries/kunena/external/nbbc/src/BBCode.php on line 2115


Unknown Error 8192: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in libraries/kunena/external/nbbc/src/BBCode.php on line 2022


Unknown Error 8192: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in libraries/kunena/external/nbbc/src/BBCode.php on line 2022

The discussions component by Codingfish has been enhanced by Macrotone to add a few extra enhancements in the backend. These enhancements include adding the ability to delete posts in the back end and also to improve the menu options so they are options from the main menu item rather than having to navigate through the Dashboard itself. The enhancements have been submitted to Achim for his consideration is a later release. I can give no guarantees as to whether he will include them.

Release 1.4 is now available (28th Dec 2011) but Achim has not included my suggested changes. For those interested I enclose the details of the change required for 1.4 below:

1. Correct register redirection. (1.3 bug still present in 1.4)
In the files

./components/com_discussions/views/category/tmpl/default.php

and

./components/com_discussions/views/thread/tmpl/default.php

there are these 2 lines:

$registerURL = "index.php?option=com_users&view=register";
$loginURL = "index.php?option=com_users&view=login";

Change the word ‘register’ to ‘registration’.

2. Add menu items in administrator component menu
There are several parts to this change. The configuration option was added in release 1.4.

First modify the language files in the admin/language directory. I have added the following lines to the en-GB.com_discussions.sys.ini file:

# Menu titles
COFI_MENU_DASHBOARD="Dashboard"
COFI_MENU_FORUMS="Forums"
COFI_MENU_USERS="Users"
COFI_MENU_POSTS="Posts"
COFI_MENU_CONFIG=”Configuration”

For the en-DE.com_discussions.sys.ini the German equivalent was added:
(I believe the German is correct but can not guarantee it.)

# Menu titles
COFI_MENU_DASHBOARD="Armaturenbrett"
COFI_MENU_FORUMS="Forum"
COFI_MENU_USERS="User"
COFI_MENU_POSTS="Beiträge"
COFI_MENU_CONFIG=”Konfiguration”

Now we need to create the small icons for the menu bar. Using the larger icons already available in the images/dashboard folder we resize them (using PAINT.NET or any other suitable tool) to be 16x16 pixels and place them in the images/sys folder naming them posts-16.png, forums-16.png, users-16.png and configuration-16.png respectively.

Now we have to modify the discussions.xml file by adding the following submenu lines in the administrator part of the file under the existing menu item:

Change braces to chevrons around menu and submenu items in the text below when inserting in the xml manifest file.

[submenu]
[menu view="Dashboard" alt="Discussions/Discussions" img="components/com_discussions/images/system/icon-16-discussions.png" link="option=com_discussions"]COFI_MENU_DASHBOARD[/menu]
[menu view="Forums" alt="Discussions/Forums" img="components/com_discussions/images/system/forums-16.png" link="option=com_discussions&view=forums"]COFI_MENU_FORUMS[/menu]
[menu view="Posts" alt="Discussions/Posts" img="components/com_discussions/images/system/posts-16.png" link="option=com_discussions&view=posts"]COFI_MENU_POSTS[/menu]
[menu view="Users" alt="Discussions/Users" img="components/com_discussions/images/system/users-16.png" link="option=com_discussions&view=users"]COFI_MENU_USERS[/menu]
[menu view="Configuration" alt="Discussions/Configuration" img="components/com_discussions/images/system/configuration-16.png" link="option=com_discussions&view=configuration"]COFI_MENU_CONFIG[/menu]
[/submenu]

Edited by geoffc - 24.01.2012 13:42

Regards
Geoff

Unknown Error 8192: ComponentKunenaControllerMessageItemActionsDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in components/com_kunena/controller/message/item/actions/display.php on line 25

Please Log in or Create an account to join the conversation.

12 years 4 months ago #2 by geoffc
Replied by geoffc on topic Re: Discussions enhancement
Previous post updated with changes for Release 1.4 of Discussions.

Regards
Geoff

Please Log in or Create an account to join the conversation.

Time to create page: 0.111 seconds
Go To Top

Joomla! Debug Console

Session

Profile Information

Memory Usage

Database Queries