Firefox PHP

Module: Favorite Forums

Posted by Joe Curia 
Re: Module: Favorite Forums v5.2.1.04 - bugfix
November 01, 2010 08:37PM
Quote
Joe Curia
I have released v5.2.1.4 of this module with the following changes:

- Bugfix: Users can now deselect all favorited forums from the Control Center. Thanks go to Phorum user masei1202 for reporting this bug.

- Bugfix: Removed various PHP notices.

- Bugfix: Updated Phorum version requirement to be compatible with the Phorum version checker.

Thanks Joe, we will give it a try.

My problem was related with some issues when using this module with "last post" mod. I guess you did not solve that problem, did you?

Thanks.

pepe
Re: Module: Favorite Forums
July 28, 2011 08:25PM
I think some of the problems with conflicts between this module and other modules is that at around line 181, you have
Language: PHP
} else if (count($PHORUM["DATA"]["BREADCRUMBS"]) < 2 || isset($PHORUM["DATA"]["BREADCRUMBS"]["favorites"])) { $forum_source = $PHORUM["DATA"]["FORUMS"];

And use $forum_source to rebuild the list you return to the hook exit. So if another mod is running before favorites, any changes that mod makes are lost when favorites runs.

One way to fix this would be to give favorites a priority so it runs 'first' at the index hook. Which sort of makes sense because favorites adds entries to the list of forums....
Sorry, only registered users may post in this forum.

Click here to login