Adriano Faria Posted January 28, 2010 Author Share Posted January 28, 2010 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 ); Link to comment
Biker.GA Posted June 3, 2010 Share Posted June 3, 2010 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). Link to comment
AtariAge Posted June 3, 2010 Share Posted June 3, 2010 [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 Link to comment
Biker.GA Posted June 10, 2010 Share Posted June 10, 2010 Is this going to be updated? Or should I find someone who'll write it for me? Link to comment
Adriano Faria Posted June 11, 2010 Author Share Posted June 11, 2010 It will when I find some time to do it. 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! Link to comment
Arun Kumar Posted June 11, 2010 Share Posted June 11, 2010 Thanks for updating us, Adriano! Link to comment
Adriano Faria Posted June 12, 2010 Author Share Posted June 12, 2010 Updated. Waiting to be approved: http://community.invisionpower.com/files/file/3240-sos31-block-forums-from-view-new-content-v200/ Link to comment
Arun Kumar Posted June 12, 2010 Share Posted June 12, 2010 wow, that was fast Adriano! Thank you for the update! Link to comment
Biker.GA Posted June 12, 2010 Share Posted June 12, 2010 Much appreciated. And we do tend to make contributions for well written modifications we use on the site. ;) Link to comment
AndyF Posted June 12, 2010 Share Posted June 12, 2010 [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 ;) Link to comment
Biker.GA Posted June 12, 2010 Share Posted June 12, 2010 I noticed that there are edits to sql.php. Will this modification work if the site uses Sphinx? Link to comment
Adriano Faria Posted June 12, 2010 Author Share Posted June 12, 2010 I don't use so I don't have how to test it. Link to comment
Biker.GA Posted June 12, 2010 Share Posted June 12, 2010 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. Link to comment
Arun Kumar Posted June 16, 2010 Share Posted June 16, 2010 · Hidden by Michael, June 16, 2010 - posting in wrong topic 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? Link to comment
Adriano Faria Posted June 16, 2010 Author Share Posted June 16, 2010 · Hidden by Michael, June 16, 2010 - posting in wrong topic Hidden by Michael, June 16, 2010 - posting in wrong topic Why don't you post in right topic ? Link to comment
Reitaksvk Posted June 18, 2010 Share Posted June 18, 2010 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'].')'; } Link to comment
Adriano Faria Posted June 18, 2010 Author Share Posted June 18, 2010 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! Link to comment
Arun Kumar Posted June 18, 2010 Share Posted June 18, 2010 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/ Link to comment
Craig Smith Posted March 18, 2011 Share Posted March 18, 2011 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. Link to comment
Adriano Faria Posted March 19, 2011 Author Share Posted March 19, 2011 It's not possible. Link to comment
AtariAge Posted March 19, 2011 Share Posted March 19, 2011 This mod works with 3.1.4, right? Thanks! ..Al Link to comment
Adriano Faria Posted March 19, 2011 Author Share Posted March 19, 2011 No, there's a version for 3.1.x but I don't support it anymore... Link to comment
Maxxius Posted March 19, 2011 Share Posted March 19, 2011 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? Link to comment
AtariAge Posted March 19, 2011 Share Posted March 19, 2011 [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 Link to comment
Adriano Faria Posted March 19, 2011 Author Share Posted March 19, 2011 Take a look: http://community.inv...w-content-v200/ I don't know if it works in 3.1.4... test it and tell me. I'll see what I can do for you. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.