vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   New Posting Features - LAM - Dispute Resolution (https://vborg.vbsupport.ru/showthread.php?t=252472)

mawby 07-19-2011 03:48 PM

@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.

CheeSie 07-21-2011 12:20 PM

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

Cicada 08-17-2011 02:11 PM

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 :)

dmm2020 08-17-2011 05:31 PM

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 (Post 2222458)
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.


Cicada 08-17-2011 09:15 PM

Quote:

Originally Posted by mawby (Post 2222458)
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.

dvsDave 08-21-2011 01:59 AM

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

1UpMarketing 09-02-2011 04:38 AM

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)

20KingSize 10-20-2011 12:33 AM

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

vanquish.securi 10-20-2011 01:51 AM

Works great on vB 4.1.7 default style. Marked installed and 5 star. Thanks!

BadgerDog 11-14-2011 11:14 AM

1 Attachment(s)
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

dmm2020 11-14-2011 12:42 PM

Quote:

Originally Posted by BadgerDog (Post 2267804)
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

I asked this question earlier. I had to disable and uninstall this mod because the intended privacy was not there. Still haven't seen a fix to it.

stledger 12-08-2011 06:15 AM

This would be a perfect mod for me, is there a version for 4.0.8 though?

EDIT: it seems to work on 4.0.8 but will there be any problems? this is the perfect mod for me :)

sticky 12-27-2011 09:41 PM

Great mod but was hoping for a couple changes.

Could members choose to appoint a mediator or advocate for themselves? It would be nice to have the option to choose someone to mediate that both members agree on at the very least.

Also, could it be made so that the privacy option is chosen on a thread by thread basis? That is, not every thread is not viewable but some are? Just a checkbox when creating a thread would be great.

sticky 12-27-2011 09:51 PM

The ability to be able to mark disputes are resolved would be great as well.

A tally of how often someone is disputed might be great as well...

Successfulsteps 12-27-2011 10:17 PM

I would love to have this mod. Does anyone know if it works on VB Suite 4.1.9?

I have a real need for this, and before installing, I would like some feedback as things go badly when there are compatibility issues and I don't honestly know enough about vbulletin to insure that not only a mod is uninstalled, but all relevant files and database entries are gone. I also have a very active member base that does do well when those bad things happen :)

Thanks in advance for your reply!

~Deb

sticky 12-28-2011 02:04 AM

Quote:

Originally Posted by Successfulsteps (Post 2281506)
I would love to have this mod. Does anyone know if it works on VB Suite 4.1.9?

I have a real need for this, and before installing, I would like some feedback as things go badly when there are compatibility issues and I don't honestly know enough about vbulletin to insure that not only a mod is uninstalled, but all relevant files and database entries are gone. I also have a very active member base that does do well when those bad things happen :)

Thanks in advance for your reply!

~Deb

Running fine on a heavily modified 4.1.7 suite

Successfulsteps 12-28-2011 02:45 AM

Quote:

Originally Posted by sticky (Post 2281540)
Running fine on a heavily modified 4.1.7 suite

LOL @ heavily modified. I have coders telling me all the time not to have many mods due to how hard it is isolate a problem. But I find that I love the mods here. I had a SEO who came and worked on my site and he was not happy at all with all the plug-ins, he wanted to scrap them all. He said that all the developers here were not experienced and a lot of this stuff was just junk slowing down my forum. But I had no problems until he did upgrade, and I really didn't want to do the upgrade due to being worried about losing some important mods that both my members and staff have come to depend on.

So if it works on 4.1.7 does that mean it will work on 4.1.9? with vbseo? So many of the mods needs special rules for that vbseo. I sure hope all this is worth it for my forum, as things have been so stressful. That's why I ask in advance about these working.

Alan_SP 03-27-2012 08:20 PM

Just tried to edit dispute thread and received this error:

Database error in vBulletin 4.1.2:

Invalid SQL:
UPDATE thread SET LAM_DisputeResolution = '3034,3008,4534,3551,3009,108,2762', LAM_DisputeUserGroups = '' WHERE threadid =;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
Error Number : 1064

ProFifaLeagues 03-27-2012 09:04 PM

Quote:

Originally Posted by sticky (Post 2281498)
The ability to be able to mark disputes are resolved would be great as well.

A tally of how often someone is disputed might be great as well...


Do you think this Could be added on to the mod at all in a new release ???
Would be great to see who is causing issues if it could hold a record of the users in Disputes :up:

mawby 03-28-2012 06:10 AM

Quote:

Originally Posted by BadgerDog (Post 2267804)
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?

Did you manage to resolve this? One possible cause is an add-on like Tapatalk which will bypass the checks done by this product.

Quote:

Originally Posted by 20KingSize (Post 2259153)
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

It's an on-going problem. When I originally add the Extra Privacy option I hadn't anticipated just how many places I'd need to go and fix (otherwise I'd never have added it!). Some of those places cannot (could not, I've not checked recently) be done with plugins and I didn't want to go the route of getting people to modify code.

Quote:

Originally Posted by sticky (Post 2281495)
Could members choose to appoint a mediator or advocate for themselves? It would be nice to have the option to choose someone to mediate that both members agree on at the very least.

They kind-of can already, if the dispute creator adds another person to the disputed list. I know that's not a proper way of doing it but it would work for now.

Quote:

Originally Posted by sticky (Post 2281495)
Also, could it be made so that the privacy option is chosen on a thread by thread basis? That is, not every thread is not viewable but some are? Just a checkbox when creating a thread would be great.

The basic privacy option... maybe. The extra privacy option.... maybe if I ever get it working properly! :)

Quote:

Originally Posted by sticky (Post 2281498)
The ability to be able to mark disputes are resolved would be great as well.

It is a good idea...

Quote:

Originally Posted by sticky (Post 2281498)
A tally of how often someone is disputed might be great as well...

...as is that. I'm really struggling to find time to keep my own site up and running let alone add features to my mods here. I don't think that is going to change any time soon due to me work load, but I will try at some point this year :eek: to go and update/refresh all my products here.

If anyone posts a question or request and doesn't get a timely answer from me, please don't be offended or think I've abandon the product. There just aren't even hours in a day at the moment! (Can't complain really; work is work :))

Quote:

Originally Posted by Alan_SP (Post 2313993)
Invalid SQL:
UPDATE thread SET LAM_DisputeResolution = '3034,3008,4534,3551,3009,108,2762', LAM_DisputeUserGroups = '' WHERE threadid =;

I've just done a quick test and couldn't replicate this. The obvious error in the SQL is the missing threadid, although having quickly looked at the code I cannot see why this would happen. I know it's a pita but if you could try disabling all other mods quickly to see if the problem goes away, it will at least rule out a compatibility problem with another installed mod.

Alan_SP 03-28-2012 02:29 PM

Quote:

Originally Posted by mawby (Post 2314130)
I've just done a quick test and couldn't replicate this. The obvious error in the SQL is the missing threadid, although having quickly looked at the code I cannot see why this would happen. I know it's a pita but if you could try disabling all other mods quickly to see if the problem goes away, it will at least rule out a compatibility problem with another installed mod.

I tested it with another thread I created just for testing. There it worked without problems.

What's happened to this thread, I don't know. I'll try to play a bit more with it.

EDIT: Here's a more info. It seems that this is problem only with this thread. Other threads, AFAIK work ok. Also it is interesting that I could add some users, but some I couldn't. Then I created new thread, with all users from thread with problems and added those I couldn't add in this particular thread. New thread was created without problems.

It seems that something is messed with this particular thread. One of my admins was trying to add this particular user, maybe she did something that messed this thread. Anyway, very strange indeed. I think that she maybe tried to use old option, from administrative tools (I didn't removed it till now from template). Also I tried to use it, when it didn't worked, I come here to see instructions. Basically I'm probably guilty party. :(

EDIT2: I forgot to mention, when I copied first post of messed thread, new thread still had problems with adding users. Some information is lost, or changed, or added.

EDIT3: User created new thread, with more or less same first post (not exactly same and not copied). And forgot to add same user which caused problems in the beginning. Anyway, now it's impossible to add that same user. So, it makes me wander if it is something with mod? This user could be added at the beginning, at least I managed it with test thread.

Cicada 04-06-2012 02:26 PM

are mods/Admins exempt from the privacy rules?

Alan_SP 04-06-2012 04:05 PM

Yes, but when you say moderators, it means only moderators of particular forum where is thread. So it includes supermoderators and admins, as they moderate all forums they can see.

thunderclap82 04-14-2012 05:12 PM

Quote:

Originally Posted by mawby (Post 2187685)
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...

By uncommenting these lines do you mean that users will be able to see, but not post, to the dispute threads? If I leave them commented then the threads will remain hidden?

thunderclap82 04-30-2012 01:52 PM

Is this mod no longer being supported?

thunderclap82 05-10-2012 06:22 PM

I went ahead and just hid the dispute forum from Tapatalk. Simple workaround. However, I have noticed that threads in the Disbute forum are ignored by What's New. Anyway to have these threads shown, but only to those involved in the dispute?

thunderclap82 05-10-2012 08:59 PM

Disregard. Resolved.

Phaedrus 02-13-2013 03:54 AM

Quote:

Originally Posted by mawby (Post 2113123)
If anyone has any ideas of changes needed to make this product usable for anything other than dispute resolution, let me know and I'll try and incorporate it into the product.

It's already full phrased so it wouldn't take much effort to make this product appear like a basic ticketing system or private debates, etc.

Easily editable phrasing that allows different phrasing for different active forums.

"You have been challenged to a debate in "such and such" forum" would be something I would use. Activating it in more than one forum. As it stands I'll just edit the phrase for the PM to challenge them to a debate... then see if I can figure out how to make it tell them which forum it is in later.

Phaedrus 02-13-2013 04:28 AM

Quote:

Originally Posted by mawby (Post 2187685)
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;


This actually also fixed my "ban from thread" that Taptalk users were able to get around as well... Brilliant!

However reply topic doesn't exist anymore and the hooks are a bit different. It worked brilliantly for the ban from thread and forum mod though and I hope it will work for this one.

Zakalway 02-18-2013 06:14 PM

Does this work on 4.2.0 PL3?


All times are GMT. The time now is 10:38 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01466 seconds
  • Memory Usage 1,834KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (30)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete