Jump to content

Download: (SOS30) Block Forums from 'View New Content' v1.1.0

Featured Replies

  • Author

It's true... confirmed. Funny that worked on localhost. Anyway, to fix, open admin/applications/forums/extensions/usercpForms.php and find:


Now it's ok. Tested online on my board.

I will update new zip file but will keep the version.

Tks.

$blocked[] = $this->registry->getClass( 'class_forums' )->forumsBreadcrumbNav( $fid['id'] );

Change to:


$blocked[] = $this->registry->getClass( 'class_forums' )->forumsBreadcrumbNav( $fid );
  • 4 months later...
  • Replies 53
  • Views 3.1k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Adriano Faria
    Adriano Faria

    New version released! Change log: 1.0.0 => 1.0.1: Driver Error when click on others tabs from TODAY'S ACTIVE CONTENT. Manual fix: Open admin\applications\core\modules_public\search\search.ph

  • Adriano Faria
    Adriano Faria

    Had some changes... I will post new version later.

  • Adriano Faria
    Adriano Faria

    New version released! 1.0.2 => 1.1.0: Adjusts to run on IP.Board 3.0.5 and quick list of forums blocked

Any idea when this will be released for 3.1? Used something similar on vB and it's a must for our site. Unfortunately, one of the files that need to be modified is no longer there with the newest IPB version (admin\applications\forums\extensions\searchPlugin.php).

[quote name='Biker.GA' date='02 June 2010 - 09:52 PM' timestamp='1275533579' post='1963379']
Any idea when this will be released for 3.1? Used something similar on vB and it's a must for our site. Unfortunately, one of the files that need to be modified is no longer there with the newest IPB version (admin\applications\forums\extensions\searchPlugin.php).

I use this on my forum as well, so a 3.1 update would be much appreciated. :)

..Al

Is this going to be updated? Or should I find someone who'll write it for me?

  • Author

It will when I find some time to do it. huh.png

But if you want to pay someone to write it for you, go ahead OR you could donate a value for modders keep doing FREE mods like that!

Thanks for updating us, Adriano!

  • Author

Updated. Waiting to be approved: http://community.invisionpower.com/files/file/3240-sos31-block-forums-from-view-new-content-v200/

wow, that was fast Adriano! Thank you for the update!

Much appreciated. And we do tend to make contributions for well written modifications we use on the site. ;)

[quote name='Adriano Faria' date='12 June 2010 - 12:42 PM' timestamp='1276342934' post='1969793']
Updated. Waiting to be approved: http://community.invisionpower.com/files/file/3240-sos31-block-forums-from-view-new-content-v200/

Done ;)

I noticed that there are edits to sql.php. Will this modification work if the site uses Sphinx?

  • Author

I don't use so I don't have how to test it.

I don't mind testing for you as my members are really starting to chew my hind end for this. I can forward the sphinx.php file to you if you wish.

Hidden by Michael, June 16, 2010 - posting in wrong topic

Can anyone who upgraded to IP.Board 3.1.1 confirm here that "Block Forums from 'View New Content' v2.0.0" is working fine?

  • Author
Hidden by Michael, June 16, 2010 - posting in wrong topic

Why don't you post in right topic ?

thank you

block forums works on 3.1.1, but when I click on show new content, get

Parse error: syntax error, unexpected '}' in /home/home2/mystiq_org/public_html/forum/admin/applications/forums/extensions/search/engines/sql.php on line 1107

------------

you have wrote this

Find:



but you have $where[] = "forum_id IN (" . implode( ",", $forumIdsOk ) . ")";

only 1x, not 2x

$forumIdsOk = ( count( $forumIdsOk ) ) ? $forumIdsOk : array( 0 => 0 ); $where[] = "forum_id IN (" . implode( ",", $forumIdsOk ) . ")";


It will occour twice in this file. Add below both:


/* (SOS31) Block Forums from 'View New Content' v2.0.0 */ if( $this->settings['sos30_blockforums_on'] AND in_array( $this->member->getProperty('member_group_id') , explode(',', $this->settings['sos30_blockforums_groups'] ) ) AND $this->memberData['blocked_forums'] != '' ) { $where[] = 'forum_id NOT IN ('.$this->memberData['blocked_forums'].')'; }
  • Author

I'll retest and fix it, if it's wrong...

But please, post in the right topic. This topic is for 3.0.X version!

Topic of "Block Forums from 'View New Content' v2.0.0" for IP.Board 3.1 is here: http://community.invisionpower.com/topic/313238-download-sos31-block-forums-from-view-new-content-v200/

  • 9 months later...

Would it be possible to get a version of this hook that doesn't require me to make file modifications. I use the hosted solution and am not able to modify the php files.

  • Author

It's not possible.

This mod works with 3.1.4, right?

Thanks!

..Al

  • Author

No, there's a version for 3.1.x but I don't support it anymore...

woot, it does not work with 3.1.4?? really it does not work? Why abandon such a cool mod?? Did IPS picked it up as a default feature yet?

[quote name='Adriano Faria' timestamp='1300560798' post='2092579']
No, there's a version for 3.1.x but I don't support it anymore...

That's too bad, I'd be willing to pay you to update it for 3.1.4. I used it on my 3.0.5 forum and my users are wondering when I'll be installing it on 3.1.4 (which I just upgraded to a few days ago, finally).

..Al

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.