Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
LAM - Dispute Resolution Details »»
LAM - Dispute Resolution
Version: 4.1.4.1, by mawby mawby is offline
Developer Last Online: Jul 2020 Show Printable Version Email this Page

Category: New Posting Features - Version: 4.1.4 Rating:
Released: 10-22-2010 Last Update: 07-18-2011 Installs: 73
DB Changes Uses Plugins Template Edits
Re-useable Code Translations  
No support by the author.

This product will allow you to configure a forum so that only a thread creator, their nominated list of disputed members, and moderators are able to reply to the thread. When a dispute thread is created a PM will be sent to all those involved in the dispute.

On my site we have a lot of people selling items, and occasionally something goes wrong during the process. Before we had this product a member would post up about their problem and it became a free-for-all with 'friends' of both sides posting up slating the other side for being wrong and generally turning into a slanging match until the thread eventually got locked. Now, thanks to this product, only those actually involved in the dispute can reply. This has resulted in almost all of our disputes being resolved in a way where both sides are happy.

As of version 4.0.8.1 it is now possible to configure this product to run in "Private Dispute" mode. This extends the normal functionality described above to also prevent those not in the dispute from being able to view the contents of the thread. They can still see it exists but any thread preview text, or opening the thread itself, will show a "You are not authorised to participate in this dispute" message.

As of version 4.0.8.2 it is now possible to configure this product to run in "Extra Privacy" mode. This extends the "Private Dispute" functionality described above to also prevent those not in the dispute from being able to see the thread exists. With this setting enabled dispute threads will not be shown when browsing a forum if the user is not the thread creator, on the disputed list, or a moderator.

As of version 4.1.3.0 it is now possible to make entering the disputed user names optional via the "Optional Disputes" setting. You can also enable the dispute functionality on all forums by enabling the "Globally Enabled" setting.

As of version 4.1.4.0 it is now possible for the thread creator, or a moderator, to edit the threads dispute list by performing an advanced edit on any post in the thread which they have permission to edit. Upgrade instructions for this version can be found here.

As of version 4.1.4.1 it is now possible to create a dispute against a single user group by enabling the "Enable Usergroups" setting. This will allow anyone in the user group to participate in the dispute, as well as anyone on the normal dispute list. PM notifications won't be sent to the user group. This version also fixes several bugs with the Private Dispute option where searches would still show a dispute thread even if the user wasn't allowed to participate in the dispute.

Tapatalk Users - Please see this important note about Tapatalk support.

Installation
  1. Download the attached .xml file
    product-LAM_DisputeResolution.xml
  2. Install the product
    AdminCP -> Plugins & Products -> Add/Import Product -> Import Product

Configuration

You need configure which forums you want this product to run in, or globally enable it to run in all forums. You can also specify if creating a "dispute" thread in a dispute forum is optional. There is a setting that lets you override who the notification PM is sent from should you prefer it to come from an admin account rather than the user's account. And finally there are the privacy and user group options as detailed above.



Example

When creating or advanced editing a thread in a disputes forum there is now an additional row where the user can edit the user names (and user group if enabled) of those they are disputing...



When the thread is created (or advanced edited) a PM is sent to those involved in the dispute (only newly disputed members are PMd when editing a thread)...



When the thread is viewed it shows at the top who the dispute is between...



An error will be shown if; the thread creator forgets to enter any names and the "Optional Disputes" option is set to No...



the thread creator enters an unrecognised name...



or someone not in the disputed list tries to reply to the thread...




Version History

4.1.4.1 - Added user group option. Stopped threads showing in searches when Private Disputes is enabled. Stopped sending PMs to users already on the disputes list when editing a thread. (2011/07/19)
4.1.4.0 - Added the disputed users to the advanced edit screen & removed the admin option (2011/07/05)
4.1.3.0 - Added optional disputes, global enable and prevented the admin option appearing in non-disputes forums (2011/05/01)
4.1.2.0 - Fixed an SQL error if the admin option was accessed in a forum that didn't have disputes turned on (2011/03/25)
4.0.8.3 - Added auto-suggest to the user names field (2010/11/01)
4.0.8.2 - Added Extra Privacy mode (2010/10/24)
4.0.8.1 - Added Private Dispute mode (2010/10/23)
4.0.8.0 - Initial release (2010/10/23)


Credits

Although I've written this product for vB 4 the original idea came from the Private Debates product written by beebi.

The code to not send PMd to users already on the disputes list when edited a thread was contributed by CheeSie

Download Now

File Type: xml product-LAM_DisputeResolution.xml (36.4 KB, 184 views)

Screenshots

File Type: png UserPM.png (40.5 KB, 0 views)
File Type: png ShowThread.png (37.9 KB, 0 views)
File Type: png ErrorNoNames.png (5.1 KB, 0 views)
File Type: png ErrorNoAccount.png (5.0 KB, 0 views)
File Type: png ErrorNotAuthed.png (16.2 KB, 0 views)
File Type: png 1 - AdminCP.png (88.0 KB, 0 views)
File Type: png 2 - NewThread.png (22.0 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #82  
Old 07-19-2011, 03:48 PM
mawby mawby is offline
 
Join Date: Jun 2004
Location: Wiltshire, England
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@CheeSie, I have modified the code with some of your suggestions, however, it might be worth me pointing out that with your suggestions came a few problems...

1) Private Disputes were broken if Extra Privacy wasn't enabled by the change to "LAM - No Permission Message (View)". A user was able to enter a thread they were not allowed to participate in instead of being shown the error message.

2) Optional Disputes were broken by the change to "LAM - Hide Thread Completely (Extra Privacy)" because it couldn't cope with threads that had no disputes values set. If you also had Global Disputes enabled you'd be in a right mess as all your threads would disappear from every forum if Extra Privacy was enabled! This is why the ="" and is NULL checks where in the original SQL.

3) Not all dispute users where correctly identified because IN (LAM_DisputeResolution) would only match against the first user in the list. You needed to use FIND_IN_SET instead.
Reply With Quote
  #83  
Old 07-21-2011, 12:20 PM
CheeSie's Avatar
CheeSie CheeSie is offline
 
Join Date: Sep 2006
Location: Denmark
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The "IN" in the sql was what you were using xD
Either way there was another bug in my code that didn't let disputees reply if the forum permissions was set to cant view/reply to others..

But I guess you can fix that yourself xD
Reply With Quote
  #84  
Old 08-17-2011, 02:11 PM
Cicada Cicada is offline
 
Join Date: Mar 2002
Location: Palm Springs, CA - USA
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just popping in to say thanks for the continued support of this great plugin I initially installed it about 6+ or so months ago, but disabled it due to some issues (mainly users being able to view dispute posts if they searched all of a disputed users posts), but i'm giving it another go
Reply With Quote
  #85  
Old 08-17-2011, 05:31 PM
dmm2020 dmm2020 is offline
 
Join Date: Apr 2010
Posts: 129
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This still does not work at my end. Regular members can view disputes even though they are not a party to it. Without the privacy issues working, I can not use it and so far no way of resolving disputes except have them take it private.

Quote:
Originally Posted by mawby View Post
Update

It is now possible to create a dispute against a single user group by enabling the "Enable Usergroups" setting. This will allow anyone in the user group to participate in the dispute, as well as anyone on the normal dispute list. PM notifications won't be sent to the user group.

This version also fixes several bugs with the Private Dispute option where searches would still show a dispute thread even if the user wasn't allowed to participate in the dispute. Although this doesn't fix all the problems when using Private Disputes, it is a major step in the right direction!

The remaining problems with Private Disputes are...

1) Last post details shown on the statistics page of the user profile. This can show disputes threads even if the user isn't allowed to participate in the dispute. Until this is fixed it can be circumvented by disabling the option to show the last post on the user profile.

2) CMS latest posts/threads widgets will still show disputes threads even if the user is not allowed to participate in them. I will try and fix this soon.
Reply With Quote
  #86  
Old 08-17-2011, 09:15 PM
Cicada Cicada is offline
 
Join Date: Mar 2002
Location: Palm Springs, CA - USA
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mawby View Post
1) Last post details shown on the statistics page of the user profile. This can show disputes threads even if the user isn't allowed to participate in the dispute. Until this is fixed it can be circumvented by disabling the option to show the last post on the user profile.
Last post details are still shown on the forumdisplay/list page.
Reply With Quote
  #87  
Old 08-21-2011, 01:59 AM
dvsDave's Avatar
dvsDave dvsDave is offline
 
Join Date: Nov 2005
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey mawby,

I love the mod, is there a way to keep users from defining another user and for me to hardcode the usergroup, and remove the option to select a usergroup?

-dvsDave
Reply With Quote
  #88  
Old 09-02-2011, 04:38 AM
1UpMarketing 1UpMarketing is offline
 
Join Date: Oct 2010
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks like a winner, but I can't get it showing up on my new board. Installed and configured, but not seeing anything different on my threads? (4.1.5.1)
Reply With Quote
  #89  
Old 10-20-2011, 12:33 AM
20KingSize 20KingSize is offline
 
Join Date: Jul 2009
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i seem to be having the same problem as dmm2020, members can view the dispute in the new forum posts and new forum threads side bar
Reply With Quote
  #90  
Old 10-20-2011, 01:51 AM
vanquish.securi vanquish.securi is offline
 
Join Date: Sep 2011
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works great on vB 4.1.7 default style. Marked installed and 5 star. Thanks!
Reply With Quote
  #91  
Old 11-14-2011, 11:14 AM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Running version 4.1.4.1 ...

Not sure why, but I can't seem to prevent other users (not involved in the dispute) from posting in the disputes forum in the thread created by another member?

It's as if the mod is ignoring the option set (see attached) and letting everyone post in the thread using their own usergroup permissions.

Am I missing something?

Thanks ..

Regards,
Doug
Attached Images
File Type: jpg Screen Shot 2011-11-14 at 7.11.49 AM.jpg (103.4 KB, 0 views)
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:59 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04705 seconds
  • Memory Usage 2,359KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (9)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete