#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Dec 31, 2014 3:02:56 GMT -8
This plugin adds an extra option to the Member Block List that allows you to block said members' threads.
Version 0.1.0
Library Link
Direct Link
|
|
inherit
218624
0
Feb 28, 2015 9:55:56 GMT -8
Proclus Lycaeus
1
February 2015
procluslycaeus
|
Post by Proclus Lycaeus on Feb 9, 2015 18:17:38 GMT -8
I like the plugin for what it does, which is to just hide the threads that a blocked user creates. I was wondering if you could take is a slight step forward and make an option to allow you to block any quotes that another person makes of the the blocked user.
For example:
Person A blocks person B. Person A does not have Person C blocked. Person C quotes Person B. Person A currently sees Person C quoting Person B.
I would love to see this plugin add an option so that if Person C quotes Person B, then Person A does not actually see what is said by person B. Ideally it would be something like "This post is hidden" and maybe a button to display the quote.
Pardon me if this is the wrong place to ask. I read the rules about making a request, but since this seems like more of an extension, I posted my request here. If I am wrong, I apologize.
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Feb 9, 2015 18:56:33 GMT -8
I like the plugin for what it does, which is to just hide the threads that a blocked user creates. I was wondering if you could take is a slight step forward and make an option to allow you to block any quotes that another person makes of the the blocked user. For example: Person A blocks person B. Person A does not have Person C blocked. Person C quotes Person B. Person A currently sees Person C quoting Person B. I would love to see this plugin add an option so that if Person C quotes Person B, then Person A does not actually see what is said by person B. Ideally it would be something like "This post is hidden" and maybe a button to display the quote. Pardon me if this is the wrong place to ask. I read the rules about making a request, but since this seems like more of an extension, I posted my request here. If I am wrong, I apologize. That functionality exists as raw code here but Todge could probably incorporate it into this plugin
|
|
inherit
217986
0
Apr 24, 2016 17:21:08 GMT -8
Can't think of a good name
57
January 2015
kiteazure
|
Post by Can't think of a good name on Feb 28, 2015 0:32:27 GMT -8
it doesn't allow me to switch pages even though I dont block anyone after going to the second page
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Feb 28, 2015 18:34:56 GMT -8
It works fine for me in FF, IE and Opera.
What browser are you using?
|
|
inherit
217986
0
Apr 24, 2016 17:21:08 GMT -8
Can't think of a good name
57
January 2015
kiteazure
|
Post by Can't think of a good name on Mar 1, 2015 17:36:02 GMT -8
It works fine for me in FF, IE and Opera. What browser are you using? firefox
|
|
inherit
217986
0
Apr 24, 2016 17:21:08 GMT -8
Can't think of a good name
57
January 2015
kiteazure
|
Post by Can't think of a good name on Mar 1, 2015 17:37:43 GMT -8
what I mean is after I go to the second page on my forum general board, I can not switch pages (I.E. 1 or 3 4 5 6 7 after clicking page 2)
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Mar 2, 2015 14:50:21 GMT -8
Yup, I understood what you are saying, but it is working fine for me on my test forum, in all browsers I have checked.
If you temporarily disable your other plugins, can you then switch pages?
|
|
inherit
217986
0
Apr 24, 2016 17:21:08 GMT -8
Can't think of a good name
57
January 2015
kiteazure
|
Post by Can't think of a good name on Mar 6, 2015 6:58:58 GMT -8
Yup, I understood what you are saying, but it is working fine for me on my test forum, in all browsers I have checked. If you temporarily disable your other plugins, can you then switch pages? Nope.. its def this plugin causing the problem.
|
|
inherit
201984
0
Sept 11, 2023 1:23:07 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
Using My Talents Elsewhere
3,314
November 2013
pastuleo23
|
Post by P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ on Mar 6, 2015 13:45:56 GMT -8
Yup, I understood what you are saying, but it is working fine for me on my test forum, in all browsers I have checked. If you temporarily disable your other plugins, can you then switch pages? Nope.. its def this plugin causing the problem. Please post your forum url so that you may be assisted in the debugging process. Can't think of a good name
|
|
inherit
217986
0
Apr 24, 2016 17:21:08 GMT -8
Can't think of a good name
57
January 2015
kiteazure
|
Post by Can't think of a good name on Mar 18, 2015 2:12:17 GMT -8
|
|
inherit
201984
0
Sept 11, 2023 1:23:07 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
Using My Talents Elsewhere
3,314
November 2013
pastuleo23
|
Post by P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ on Mar 18, 2015 13:28:01 GMT -8
I was able to recreate the error on my test forum.(using chrome) The debugger said that key was undefined and length throws an error. (While on page 2) for(k=0; k<key.length; k++) ON THIS LINE of function strip_threads() Before that on page 1 the error was An error occurred during a document.ready call: TypeError: Cannot read property 'length' of undefined While executing: function (){ if(proboards.data('route').name == 'edit_user_privacy') { $('body').one('click',$('#undefined'),function() { $('#undefined').click(function(){ var memid = $('.block_list_options:last').parent().find($('.name>a')).attr('class'); memid = parseInt(memid.split('k user-')[1]); var span = $('<span></span>').attr('id','block_thread'); var input = $('<input>').addClass('thread_block').attr({'type':'checkbox' ,'id':'block'+memid}); var label = $('<label></label>').html('Block this member\'s threads.'); $(span).append(input,label); $('.block_list_options:last').append(span); }); } ); var subBut = $("[id$='submit_button']"); var newSub = $('<input>').attr({'type':'button', 'value':'Save Privacy Settings'}).click(function(){update_threadblock_key(subBut);}); $(subBut).parent().append(newSub); $(subBut).css('display','none'); } strip_threads(); } This has to do with not properly calling a safety function with proboards keys that have never been set. This is a common error I have came across because you must delete all key data to test for these errors. Todge could have it fixed in no time. Basically the plugin is looking for existing data, and proboards is saying data doesn't exist. So you have to tell it somewhere what the data should default to when it doesn't exist yet. Todge - here is a live example of the error running for you if you want - pastuleotestforum.freeforums.net/board/2/shop-history
|
|
inherit
217986
0
Apr 24, 2016 17:21:08 GMT -8
Can't think of a good name
57
January 2015
kiteazure
|
Post by Can't think of a good name on Mar 19, 2015 0:16:48 GMT -8
I was able to recreate the error on my test forum.(using chrome) The debugger said that key was undefined and length throws an error. (While on page 2) for(k=0; k<key.length; k++) ON THIS LINE of function strip_threads() Before that on page 1 the error was An error occurred during a document.ready call: TypeError: Cannot read property 'length' of undefined While executing: function (){ if(proboards.data('route').name == 'edit_user_privacy') { $('body').one('click',$('#undefined'),function() { $('#undefined').click(function(){ var memid = $('.block_list_options:last').parent().find($('.name>a')).attr('class'); memid = parseInt(memid.split('k user-')[1]); var span = $('<span></span>').attr('id','block_thread'); var input = $('<input>').addClass('thread_block').attr({'type':'checkbox' ,'id':'block'+memid}); var label = $('<label></label>').html('Block this member\'s threads.'); $(span).append(input,label); $('.block_list_options:last').append(span); }); } ); var subBut = $("[id$='submit_button']"); var newSub = $('<input>').attr({'type':'button', 'value':'Save Privacy Settings'}).click(function(){update_threadblock_key(subBut);}); $(subBut).parent().append(newSub); $(subBut).css('display','none'); } strip_threads(); } This has to do with not properly calling a safety function with proboards keys that have never been set. This is a common error I have came across because you must delete all key data to test for these errors. Todge could have it fixed in no time. Basically the plugin is looking for existing data, and proboards is saying data doesn't exist. So you have to tell it somewhere what the data should default to when it doesn't exist yet. Todge - here is a live example of the error running for you if you want - pastuleotestforum.freeforums.net/board/2/shop-historyOh so I wait for him and he can do it for me? Thanks!
|
|
inherit
201984
0
Sept 11, 2023 1:23:07 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
Using My Talents Elsewhere
3,314
November 2013
pastuleo23
|
Post by P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ on Mar 19, 2015 2:03:07 GMT -8
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Mar 19, 2015 16:42:00 GMT -8
|
|