Jump to content

Improved Clubs Enhancements


Recommended Posts

Posted

I see my upgrade to 4.6.5.1 has caused half my clubs to fail with this: Error: Undefined class constant 'SELECT_SQL_CALC_FOUND_ROWS' (0)

So, this has me questioning the usefulness of the Clubs feature as well as this enhancement. I really don't have the time or energy to be faced with this kind of admin every time there is a big upgrade. 

How do I revert my Clubs back into regular forums? 

  • 2 weeks later...
Posted (edited)
On 4/27/2021 at 12:33 PM, Chris Anderson said:

The IPS Suite allows me to create nested forums as shown below:

image.png.9d160465ae53f3efe4e543c648b69e12.png

Your app allows you to create a forums only:

image.thumb.png.4b940538dddd8f3fe666441b4af1d366.png

Is there any way of creating nested forums within a club?  If it isn't something currently available can such functionality be added?  I would be willing to sponsor such functionality if it could be done.

 

Here is a better example of nested menus I mentioned above.

11764768_clubEnhancement.thumb.png.8430c0c57d8f7c7896bf628e41a53f49.png

Would it be possible to be able to do the same thing for "Images", "Blog", "Events" and "Files" as well with the ability to reorder each menu?

Edited by Chris Anderson
Posted
On 5/3/2021 at 10:37 AM, Giray said:

@InvisionHQ Ballpark question: would sub-forums in clubs be something you think you could add in a matter of a few weeks or several months? I'm just not sure of how difficult an ask this is.

 

On 5/3/2021 at 10:47 AM, InvisionHQ said:

Unfortunately I don't have an ETA, I will try to release everything this month, but I can't guarantee anything. There is also 4.6 around the corner and I need to review a lot of apps.

Was wondering if sub-forums (or categories) was still on your roadmap? As you know there are several of us who would really love this.

Thanks.

Posted
On 8/9/2021 at 10:36 AM, Giray said:

 

Was wondering if sub-forums (or categories) was still on your roadmap? As you know there are several of us who would really love this.

Thanks.

Yes, but I'm still struggling with updating all the apps for 4.6.

For renewal problems you have to open a ticket here on invision.

  • 1 month later...
Posted

When I setup my site to use PHP 7.4 this app works just fine.  As soon as I switch to PHP 8.0 I receive the following error when I click on the clubs app:

image.png.01554168b3acfae8e32b179a4e084186.png

The same behavior on two other sites.  Toggling back and forth between 8.0 and 7.4 yields the same results.  No errors being logged.

Posted
4 hours ago, InvisionHQ said:

Have you access to server logs to check what caused the error?

Using PHP 8.0.10 I installed the app once again. Disabled this app and navigated and used Clubs with no issue.  Reenabled this app and I get the error message shown above.

No errors shown in server logs or in the ACP. Clearing system caches has no effect. Reverting back to PHP 7.4.23 and it works as expected.

 

 

Posted
On 9/26/2021 at 9:46 AM, Chris Anderson said:

Using PHP 8.0.10 I installed the app once again. Disabled this app and navigated and used Clubs with no issue.  Reenabled this app and I get the error message shown above.

No errors shown in server logs or in the ACP. Clearing system caches has no effect. Reverting back to PHP 7.4.23 and it works as expected.

 

 

Running Version 4.6.7 Beta 2 and PHP 8 with version 2.0.2 of this app and the problem persists.  Still no errors being logged.  

Posted
On 10/3/2021 at 2:13 PM, Chris Anderson said:

Running Version 4.6.7 Beta 2 and PHP 8 with version 2.0.2 of this app and the problem persists.  Still no errors being logged.  

you were notified of a new update but in fact it was not. It was necessary to do this to regenerate the images in the marketplace. The update with php8 fixes will arrive next week.

  • 3 weeks later...
Posted (edited)

Hello there.

With the latest version of this application on the latest IPS; with PHP 7.4.x I'm getting an error whenever I, or anyone else goes to "Manage Club" > "Edit this Forum" on the front end. Instead of showing anything to edit, it simply shows an error:

"Sorry, but something went wrong." 

In the system logs it records:

TypeError: Argument 2 passed to IPS\forums\_Forum::clubForm() must be an instance of IPS\Member\Club, null given, called in /home/SITE/public_html/init.php(902) : eval()'d code on line 25 (0)
#0 /home/SITE/public_html/init.php(902) : eval()'d code(25): IPS\forums\_Forum->clubForm(Object(IPS\Helpers\Form), NULL)
#1 /home/SITE/public_html/applications/core/modules/front/clubs/view.php(1555): IPS\forums\clubsenhancements_hook_ceClubForums->clubForm(Object(IPS\Helpers\Form), Object(IPS\Member\Club))
#2 /home/SITE/public_html/init.php(902) : eval()'d code(996): IPS\core\modules\front\clubs\_view->nodeForm()
#3 /home/SITE/public_html/system/Dispatcher/Controller.php(90): IPS\core\modules\front\clubs\clubsenhancements_hook_ceControllerView->nodeForm()
#4 /home/SITE/public_html/applications/core/modules/front/clubs/view.php(120): IPS\Dispatcher\_Controller->execute()
#5 /home/SITE/public_html/init.php(902) : eval()'d code(24): IPS\core\modules\front\clubs\_view->execute()
#6 /home/SITE/public_html/system/Dispatcher/Dispatcher.php(153): IPS\core\modules\front\clubs\clubsenhancements_hook_ceControllerView->execute()
#7 /home/SITE/public_html/index.php(13): IPS\_Dispatcher->run()
#8 {main}
#0 /home/SITE/public_html/init.php(1004): IPS\_Log::log('TypeError: Argu...', 'uncaught_except...')
#1 [internal function]: IPS\IPS::exceptionHandler(Object(TypeError))
#2 {main}

For URL: 

https://site.tld/clubs/123-a-club/?do=nodeForm&type=IPS%5Cforums%5CForum&node=456&csrfKey=(KEY_REDACTED)

 

Edited by Tripp★
Posted

Hello there, thank you for your prompt action. I assume the fix you were referring to is in version 2.0.4? I've downloaded this however I'm still experiencing issues with this, but this time with a different error. It's no longer coming up with a "Type Error" but a "ArgumentCountErrror"

ArgumentCountError: Too few arguments to function IPS\forums\_Forum::clubForm(), 1 passed in /home/SITE/public_html/init.php(902) : eval()'d code on line 21 and exactly 2 expected (0)
#0 /home/SITE/public_html/init.php(902) : eval()'d code(21): IPS\forums\_Forum->clubForm(Object(IPS\Helpers\Form))
#1 /home/SITE/public_html/applications/core/modules/front/clubs/view.php(1555): IPS\forums\clubsenhancements_hook_ceClubForums->clubForm(Object(IPS\Helpers\Form), Object(IPS\Member\Club))
#2 /home/SITE/public_html/init.php(902) : eval()'d code(996): IPS\core\modules\front\clubs\_view->nodeForm()
#3 /home/SITE/public_html/system/Dispatcher/Controller.php(90): IPS\core\modules\front\clubs\clubsenhancements_hook_ceControllerView->nodeForm()
#4 /home/SITE/public_html/applications/core/modules/front/clubs/view.php(120): IPS\Dispatcher\_Controller->execute()
#5 /home/SITE/public_html/init.php(902) : eval()'d code(24): IPS\core\modules\front\clubs\_view->execute()
#6 /home/SITE/public_html/system/Dispatcher/Dispatcher.php(153): IPS\core\modules\front\clubs\clubsenhancements_hook_ceControllerView->execute()
#7 /home/SITE/public_html/index.php(13): IPS\_Dispatcher->run()
#8 {main}
#0 /home/SITE/public_html/init.php(1004): IPS\_Log::log('ArgumentCountEr...', 'uncaught_except...')
#1 [internal function]: IPS\IPS::exceptionHandler(Object(ArgumentCountError))
#2 {main}

The URL has changed too, it now looks like:

https://SITE.TLD/clubs/123-a-club/?do=nodeForm&type=IPS%5Cforums%5CForum&node=456

If 2.0.4 didn't fix this then I probably jumped the gun on it, but if it was supposed to then  I figured I'd let you know about it.

Posted (edited)
7 hours ago, InvisionHQ said:

Happened always when you edit a feature?

1 hour ago, InvisionHQ said:

@Koper74 @Tripp★

Are any of you able to edit a file on the server so we can test it before sending a new release to the marketplace?

Yes haven't tested it on anything else but always on Forum Features, and absolutely. Don't mind testing at all. 

Cheers.

Edited by Tripp★
Posted

Hello there. No, this didn't seem to solve the issue. I do get another error now though;

TypeError: Argument 2 passed to IPS\forums\_Forum::clubForm() must be an instance of IPS\Member\Club, null given, called in /home/SITE/public_html/init.php(902) : eval()'d code on line 21 (0)
#0 /home/SITE/public_html/init.php(902) : eval()'d code(21): IPS\forums\_Forum->clubForm(Object(IPS\Helpers\Form), NULL)
#1 /home/SITE/public_html/applications/core/modules/front/clubs/view.php(1555): IPS\forums\clubsenhancements_hook_ceClubForums->clubForm(Object(IPS\Helpers\Form), Object(IPS\Member\Club))
#2 /home/SITE/public_html/init.php(902) : eval()'d code(996): IPS\core\modules\front\clubs\_view->nodeForm()
#3 /home/SITE/public_html/system/Dispatcher/Controller.php(90): IPS\core\modules\front\clubs\clubsenhancements_hook_ceControllerView->nodeForm()
#4 /home/SITE/public_html/applications/core/modules/front/clubs/view.php(120): IPS\Dispatcher\_Controller->execute()
#5 /home/SITE/public_html/init.php(902) : eval()'d code(24): IPS\core\modules\front\clubs\_view->execute()
#6 /home/SITE/public_html/system/Dispatcher/Dispatcher.php(153): IPS\core\modules\front\clubs\clubsenhancements_hook_ceControllerView->execute()
#7 /home/SITE/public_html/index.php(13): IPS\_Dispatcher->run()
#8 {main}
#0 /home/SITE/public_html/init.php(1004): IPS\_Log::log('TypeError: Argu...', 'uncaught_except...')
#1 [internal function]: IPS\IPS::exceptionHandler(Object(TypeError))
#2 {main}

 

Posted
TypeError: Argument 2 passed to IPS\forums\_Forum::clubForm() must be an instance of IPS\Member\Club, null given, called in /httpdocs/init.php(902) : eval()'d code on line 21 (0)
#0 /httpdocs/init.php(902) : eval()'d code(21): IPS\forums\_Forum->clubForm()
#1 /httpdocs/init.php(902) : eval()'d code(70): IPS\forums\clubsenhancements_hook_ceClubForums->clubForm()
#2 /httpdocs/system/Dispatcher/Controller.php(90): IPS\Node\clubsenhancements_hook_ceNodeController->convertToClub()
#3 /httpdocs/system/Node/Controller.php(69): IPS\Dispatcher\_Controller->execute()
#4 /httpdocs/applications/forums/modules/admin/forums/forums.php(44): IPS\Node\_Controller->execute()
#5 /httpdocs/system/Dispatcher/Dispatcher.php(153): IPS\forums\modules\admin\forums\_forums->execute()
#6 /httpdocs/kontrollzentrale/index.php(13): IPS\_Dispatcher->run()
#7 {main}

 

Posted (edited)
3 minutes ago, InvisionHQ said:

yes right, I edited the post above.
Please retry.

 

ArgumentCountError: Too few arguments to function IPS\forums\clubsenhancements_hook_ceClubForums::clubForm(), 1 passed in /httpdocs/init.php(902) : eval()'d code on line 70 and exactly 2 expected (0)
#0 /httpdocs/init.php(902) : eval()'d code(70): IPS\forums\clubsenhancements_hook_ceClubForums->clubForm()
#1 /httpdocs/system/Dispatcher/Controller.php(90): IPS\Node\clubsenhancements_hook_ceNodeController->convertToClub()
#2 /httpdocs/system/Node/Controller.php(69): IPS\Dispatcher\_Controller->execute()
#3 /httpdocs/applications/forums/modules/admin/forums/forums.php(44): IPS\Node\_Controller->execute()
#4 /httpdocs/system/Dispatcher/Dispatcher.php(153): IPS\forums\modules\admin\forums\_forums->execute()
#5 /httpdocs/kontrollzentrale/index.php(13): IPS\_Dispatcher->run()
#6 {main}
Edited by Koper74
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...