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
  #42  
Old 04-08-2011, 08:52 AM
mawby mawby is offline
 
Join Date: Jun 2004
Location: Wiltshire, England
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by morrow View Post
That's about it. If you can do this great, if not, no big deal. I think 1 and 2 are more important than 3 at the moment.
I'll add them to the list. I can't say when they'll get done though.

Quote:
Originally Posted by Sforums View Post
Great stuff, love it.
However, today I doscovered serious problem:

Dispute thread was initiated and all of a sudden member who is not involved in dispute posted. His post came from mobile phone. At my forum we use tapatalk (https://vborg.vbsupport.ru/showthrea...light=tapatalk). I checked all permissions, used my forum testing ID and always received message that I can't get access to disputed thread, which is the way it should be. There must be some kind of conflict between these 2 mods, would you please look into it?
I suspect Tapatalk bypasses the normal route to creating posts/threads and performs the checks itself. As much as my mod knows nothing about the existence of Tapatalk or what to do with it, Tapatalk knows nothing about my mod either! Neither is at fault.

Unfortunately for me I do use Tapatalk on my site (well I don't, but users of my site do) so it's in my best interest to take the time to bridge the two mods. It won't be for a couple of weeks yet though.

Quote:
Originally Posted by Sforums View Post
It would be nice to have an option to mark thread as "Dispute Resolved". Any ideas how to do this?
I'll look into adding the option, but again it may be a few weeks before I get a chance to look at it.
Reply With Quote
  #43  
Old 04-23-2011, 07:19 AM
mawby mawby is offline
 
Join Date: Jun 2004
Location: Wiltshire, England
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've had a quick look at the Tapatalk code and as suspected it does by-pass the normal vB code and therefore doesn't execute any of the hooks needed to allow the Disputes Resolution add-on to work. However, the calls to the necessary hooks are in the Tapatalk files but they are commented out. By un-commenting the hooks it is possible to prevent Tapatalk creating threads in a Disputes forum (necessary because Tapatalk is not able to collect the disputed user names needed by this add-on), and prevent it from allowing people to reply to Dispute threads of which they do not belong. There are some limitations to this though...
  • None of the extra privacy options of this add-on will work with Tapatalk
  • It is not possible to create a Dispute using Tapatalk
  • The error messages returned when trying to create a thread/post are generic and not relevant to the Disputes add-on

I also want to state clearly that...
  • Applying these changes may break Tapatalk! By un-commenting the hooks you are exposing Tapatalk to all of your installed add-ons that use these hooks and although my Disputes Resolution add-on works fine other add-ons may not.
  • These changes will need re-doing every time you update Tapatalk
  • I make no guarantees that these changes will work with future versions of Tapatalk
  • Although I will try and keep the Disputes Resolution add-on and Tapatalk working together (for my own sites benefit if nothing else) I cannot offer any support for problems arising by making these changes. You make these changes at your own risk.

With that said, if you want basic Disputes Resolution support within Tapatalk then un-comment (remove the // from the beginning of) the following lines...

Code:
mobiquo/functions/new_topic.php
//($hook = vBulletinHook::fetch_hook('newthread_post_start')) ? eval($hook) : false;

mobiquo/functions/reply_post.php
mobiquo/functions/reply_topic.php
mobiquo/functions/get_quote_post.php
//($hook = vBulletinHook::fetch_hook('newreply_start')) ? eval($hook) : false;
Reply With Quote
  #44  
Old 04-24-2011, 10:56 PM
reddyink reddyink is offline
 
Join Date: Aug 2007
Posts: 236
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great Mod!. Let to me know what does it take to add below functionality (I am willing to pay). I would like use this as a Thread Permissions MOD.

1) When a user is posting a thread, they will have option of selecting "Disputed Thread" Yes or No.

If No is selected, it becomes a general thread where everyone can use it. If Yes is selected only listed users can use the thread.
(or if no usersnames are entered, it becomes a public thread (all the forum permissions apply)
2) User has an option to enter User Group name and/or Social Group name. In that case, all the members of social group will be able to reply to the thread.

Thank you! PM me what does it take to do it.

Downloaded > Installed > Rated 5> Nominated
Reply With Quote
  #45  
Old 04-28-2011, 06:35 PM
ProFifaLeagues's Avatar
ProFifaLeagues ProFifaLeagues is offline
 
Join Date: Aug 2009
Location: Uk
Posts: 1,191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod and something we will use heavly on our forum!
Is there anyway i can add some simple changes to offer some set Disputes ????

Ie we play Fifa and it could be used to arrange games that havent been played between members....
Reply With Quote
  #46  
Old 04-29-2011, 03:01 PM
mawby mawby is offline
 
Join Date: Jun 2004
Location: Wiltshire, England
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm going to be looking at all the requests made for this mod in the next couple of days so I can try and release the next version with all the features in that everyone have asked for.

Quote:
Originally Posted by rammieone View Post
Is there anyway i can add some simple changes to offer some set Disputes ????

Ie we play Fifa and it could be used to arrange games that havent been played between members....
I'm not sure I understand, can you provide an example of what you mean.
Reply With Quote
  #47  
Old 04-29-2011, 05:41 PM
ProFifaLeagues's Avatar
ProFifaLeagues ProFifaLeagues is offline
 
Join Date: Aug 2009
Location: Uk
Posts: 1,191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just some way of templete edits or other that can be set with options to enter info
For us some we would use being

Arrange game for IE time and date
Can you play IE Yes or No drop down box or just a reply space
Can play at this IE time and date (again some form of box or drop down to enter info
Reply With Quote
  #48  
Old 05-01-2011, 12:07 PM
mawby mawby is offline
 
Join Date: Jun 2004
Location: Wiltshire, England
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've updated the product. This latest update fixes/adds...

Quote:
Originally Posted by mawby View Post
The admin option still appears for all forums but if it's selected on a forum that doesn't have disputes turned on the user will get a friendly error message instead of an SQL error. When I get a bit more time I'll try and stop the menu option appearing at all when in a non-disputes forum.
Done. If you look at the instructions on the first post about editing the SHOWTHREAD template you'll see there are more lines to add now. For anyone upgrading simply do the following...

Code:
Find...
<li><label><input type="radio" name="do" value="LAM_DisputeResolution" tabindex="10" /> {vb:rawphrase LAM_DisputeResolution_Title}&hellip;</label></li>

Replace with...
<vb:if condition="$vboptions['LAM_DisputeResolution_GlobalEnable'] || in_array($threadinfo['forumid'], array($vboptions['LAM_DisputeResolution_DisputeForumIDs']))">
<li><label><input type="radio" name="do" value="LAM_DisputeResolution" tabindex="10" /> {vb:rawphrase LAM_DisputeResolution_Title}&hellip;</label></li>
</vb:if>
Quote:
Originally Posted by morrow View Post
1. I'd like to be able to enable this in any forum however, when enabling in a forum, you MUST enter user names otherwise it won't allow you to post. I'd like to simply add the usernames but only if I want to add them. The way it's currently set up, one has to ideally create a new forum.
Quote:
Originally Posted by reddyink View Post
1) When a user is posting a thread, they will have option of selecting "Disputed Thread" Yes or No.

If No is selected, it becomes a general thread where everyone can use it. If Yes is selected only listed users can use the thread.
(or if no usersnames are entered, it becomes a public thread (all the forum permissions apply)
Done. There is a new "Optional Disputes" setting that will skip the "You must enter the usernames of those you are disputing." test when enabled.

Quote:
Originally Posted by morrow View Post
2. The ability to simply enable this in all forums and/or by forum ID's rather than having to go into each forum and ticking the button would of course be a great option.
Done. You can now specify the forums this is enabled for as a comma separated list on the products settings page, and there is also a "Globally Enabled" option too.





On my to-do list when I next get a spare couple of hours...

Quote:
Originally Posted by morrow View Post
3. Now this one would really be cool... How about an option whereas you can input the users you DON'T want to see your new thread... For instance... UserA creates a new thread and doesn't want USER C, USER T and/or USERY to be able to read it and/or reply to it. However, ALL other users can do what the rules apply to.
I think this is out of scope of this product... however, I agree the product does lend itself well to such an idea so I will release a separate product based on the code of this one that can be used to ban a user from a thread. Being a separate product will allow me to add features that I'd find useful on my site like auto banning people on ignore lists and adding a quick ban from thread option to the postbit. I'll let you know when this is ready.

Quote:
Originally Posted by reddyink View Post
2) User has an option to enter User Group name and/or Social Group name. In that case, all the members of social group will be able to reply to the thread.
Would this be an additional field or replace the usernames list? (For example, would you want to be able to ban user x OR users in group Y, or ban user X AND anyone in user group Y)

Quote:
Originally Posted by rammieone View Post
Just some way of templete edits or other that can be set with options to enter info
So you simply want it to collect additional information and display it at the top of the thread? Or would this information be collected at post level instead of thread level? Either way this might also be out of scope of this product but I could release something to do the job as a separate product.
Reply With Quote
  #49  
Old 05-01-2011, 01:34 PM
ProFifaLeagues's Avatar
ProFifaLeagues ProFifaLeagues is offline
 
Join Date: Aug 2009
Location: Uk
Posts: 1,191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If the info could be collected at post level that would be superb Nhawk
Reply With Quote
  #50  
Old 05-04-2011, 09:57 PM
mawby mawby is offline
 
Join Date: Jun 2004
Location: Wiltshire, England
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mawby View Post
I think this is out of scope of this product... however, I agree the product does lend itself well to such an idea so I will release a separate product based on the code of this one that can be used to ban a user from a thread. Being a separate product will allow me to add features that I'd find useful on my site like auto banning people on ignore lists and adding a quick ban from thread option to the postbit. I'll let you know when this is ready.
As promised... https://vborg.vbsupport.ru/showthread.php?t=263142
Reply With Quote
  #51  
Old 05-10-2011, 05:16 PM
BLUSpy BLUSpy is offline
 
Join Date: Aug 2010
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am not sure if it is just my settings that are or wrong or something is wrong with this product.

Like mentioned up thread I am using this product so that members of my website can create private threads between each other for role-play.

When you click on their profile and then click "View all posts" (and subsequently do a search) people who are not apart of the dispute can view the messages in the dispute thread. I have my settings configured so that they should not be able to view the dispute threads at all.

I have in my settings "Private Disputes" set to Yes and "Extra Privacy" set to Yes.
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 05:28 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.06390 seconds
  • Memory Usage 2,381KB
  • 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_code
  • (12)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
  • (8)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