AgenturPottkinder / typo3_forum

An Extbase-based TYPO3 Extension which is called typo3_forum
http://www.mittwald.de
GNU General Public License v2.0
35 stars 54 forks source link

No User Lists are created #253

Open DERmadijn opened 6 years ago

DERmadijn commented 6 years ago

My main problem seems to be that no user lists are created, either through the plugin "typo3_forum" or via the "typo3_forum widgets".

My own investigations lead me there:

I would like to have solved it by myself. Anyway, I can not get on after this point and need urgent help.

My main goal is to update an old Typo3 version with mm_forum to Typo3 7.6 with typo3_forum. I've set up the typo3_forum several times now. Both in the version to be updated with my old mmforum tables, and in a very fresh Typo3 7.6 version from the ground up. In both cases, I easily progress.

The configuration, the migration of all relevant data of the mm_forum and many functions of the typo3_forum, such as forum display, rights allocation, creating posts, profile display and others work great. However, no user lists will be generated, replies to created posts can not be sent and the private messaging does not work. In the virgin installation of Typo3 7.6 I come across the same problem.

My current conditions: Typo3 7.6.28 PHP 5.6.36 MySQL 5.6

I have created all users and user groups with their respective Mittwald Record Type. I have tried both the standard and bootstrap templates. All constants in the root template have been set and checked several times. I've tried both the sf_register and femanager extensions.

With high hopes

ineswillenbrock commented 5 years ago

I just encountered the problem with the list myself and thought I reply even though I think it's too late for you:

Regarding the user list: you might get those to work if you set plugin.tx_typo3forum.persistence.storagePid to both the pid of the page/folder with the forum data and the pid where the fe_users are stored. The record type of the fe_users should be typo3_forum user.

Regarding the replies: new posts are working or are you getting a division by zero error? If you get this have a look at #228, that one has a few hints. In my case it helped to change the cast to int in https://github.com/mittwald/typo3_forum/blob/develop/Classes/Domain/Model/Forum/Topic.php#L293 to a mulitplication by 1 -- yes, that is not really the same but somehow it works when (int) does not. (And is possibly an error in itself)

PM will not be used therefore I did not checked that one.

Best wishes, Ines