News:

Wondering if this will always be free?  See why free is better.

Main Menu

Show User Posts By Certain Boards

Started by live627, November 07, 2011, 04:18:00 AM

Previous topic - Next topic

Jeff B

It installed without error.   I just checked the error log. Yup, all kinds of them

2: Wrong parameter count for array_unique()
Apply Filter: Only show the errors from this file
File: /var/www/virtual/XXXXXXXXX.com/htdocs/board/Sources/Profile-View.php
Line: 277

ascaland


Jeff B


ascaland

Quote from: Jeff B on January 03, 2012, 05:26:19 AM
PHP Version 5.2.6-1+lenny9

A fix you can try is going to Profile-View.php and replacing this,
$context['boards'] = empty($board_list) ? 0 : array_unique(explode(',', str_replace(' ', '', $board_list)), SORT_NUMERIC);

With,
$context['boards'] = empty($board_list) ? 0 : array_unique(explode(',', str_replace(' ', '', $board_list)));

What I did is I removed the second optional parameter of array_unique. Please give this a try and start using the mod, and let me know if you get any problems!

Jeff B

Sorry for the long delay in responding as I was out of town.  I had uninstalled the mod, but reinstalled it this morning and did the edit suggested and things seem to work so far.  :)

Thank you.  I'll keep you posted if I find any issues.

littlenicki

Hello, this sounds like a great mod. Could it be backported to SMF 1.1 please? Thank you!
Fomer SMF user. Switched to Invision Power Board and VBulletin

ascaland

Quote from: littlenicki on July 28, 2012, 12:42:02 PM
Hello, this sounds like a great mod. Could it be backported to SMF 1.1 please? Thank you!

Sorry, I don't backport to unsupported/legacy versions anymore.

1.1.2 is now under the GNU/GPL.

Arantor

And you can't actually legitimately backport that to 1.1.x - GNU GPL is incompatible with SMF 1.1.x's licence.

stylusss

Was this previous done on 1.x? I would like this mod.
For top-notch server quality and expertise, visit CoreISP.net

littlenicki

Hello, I also really would appreciate a SMF 1.1 version of this great mod
Fomer SMF user. Switched to Invision Power Board and VBulletin

cereleus

seamless mode is established
  active, but not a kind of

Where is the active mode?

live627


IP_Board_Rules

Hello, I'm having two issues with this handy mod.

1. The place of the code is not working well for my layout and I could not figure how to change the code for loading its functions at a different place

2. The autocomplete works for me but it does not parse the values. I only get the posts filtered if I really type the fullboard name into the field. If I just on the (multiple) found board names put underneath the input field then the sent querry is empty.


live627

Quote from: atanua on May 28, 2023, 10:57:32 PM1. The place of the code is not working well for my layout and I could not figure how to change the code for loading its functions at a different place
Can you upload a screenshot?

IP_Board_Rules

Quote from: live627 on September 06, 2023, 05:08:41 PM
Quote from: atanua on May 28, 2023, 10:57:32 PM1. The place of the code is not working well for my layout and I could not figure how to change the code for loading its functions at a different place
Can you upload a screenshot?

Hello John, please see attached. Thank you

live627

Can you try the older version 1.1.2? I just checked the code, and it appears to add the same functionality as 2.0, but without magic integration hooks.

live627

New version released which fixes a very annoying bug where board names would transform into their corresponding ids. New filename is profile-boards-filter_1-1-3.tar.gz Full changelog on GitHub.

IP_Board_Rules

Quote from: live627 on September 07, 2023, 11:01:38 PMCan you try the older version 1.1.2? I just checked the code, and it appears to add the same functionality as 2.0, but without magic integration hooks.

Thank you for letting me know. Does it still have pull down menues available? I think itz is difficult having tzhe user selecting the board names by typing them in there as they may not know all the names rather than to select them from a pull down list

Advertisement: