barter.vg icon indicating copy to clipboard operation
barter.vg copied to clipboard

Stop automated offers per individual

Open Revadike opened this issue 6 years ago • 12 comments

Add option to stop automated offers coming from a certain individual. This helps stopping bad apples abusing automated offers and ruining it for the rest of us. I recommend setting the default check on "only from this person". Here is how it could look like: image This will also be more noticeable and prevent users from ignoring the trader, instead of blocking automated offers.

Source code:

<td>
<form action="#" method="POST"><div style="
    border: 1px solid #91b;
    border-radius: 4px;
    width: max-content;
    padding: 5px;
">
<button type="submit" class="addTo sborder failed" name="appSetting" value="-1" title="Stop receiving automated offers">Stop Automated Offers</button>
<input type="hidden" name="appID" value="2">
<input type="hidden" name="appType" value="1">
<br>
<input type="radio" id="person" name="for" value="1166" checked="true">
<label for="person">from just this person</label>
<br>
<input type="radio" id="app" name="for" value="0">
<label for="app">all from this app</label>
</div>
</form>
</td>

Then in the API, it will look like this:

{
    0: {
         .... opt in and outs for entire app
    },
    1166: {
        ... opt in and outs for just person with user id 1166 (me)
   }, 
  ... etc
}

Revadike avatar Jun 24 '19 13:06 Revadike

Maybe instead of this stop button. put it next to ignore (or both places). Like this: image

Revadike avatar Jul 08 '19 23:07 Revadike

Because this restructures all preferences, I think it requires a full reset or prompts to every user to review preferences.

Revadike avatar May 17 '20 19:05 Revadike

It sucks that a solution for this still has not implemented. Bad actors continue to ruin the potential for automated offers for everyone, because their actions right now, punishes everyone that uses it.

Revadike avatar Apr 07 '21 09:04 Revadike

The classic Dr. Frankenstein tale, in which the created turns on its creator.

bartervg avatar Apr 07 '21 13:04 bartervg

Uh, what?

Revadike avatar Apr 07 '21 13:04 Revadike

Victor Frankenstein (you) brings to life a creature (automated offers) and then comes to regret it when the creature seeks revenge (via an abundance of ignores).

bartervg avatar Apr 07 '21 14:04 bartervg

From where do you retrieve the ignore data?

bartervg avatar Apr 07 '21 20:04 bartervg

From where do you retrieve the ignore data?

https://barter.vg/app/2/settings/

Revadike avatar Apr 07 '21 21:04 Revadike

How would one change that JSON without breaking it for existing usages? To me, it doesn't look like there's flexibility to modify or extend it.

bartervg avatar Apr 07 '21 21:04 bartervg

New URL?

Revadike avatar Apr 07 '21 21:04 Revadike

468/1937 = 24.16% of active users have opted out of automated offers 😱

Revadike avatar Apr 07 '21 22:04 Revadike

Seems I accidentally adjusted my EB source code to prepare for this API change, a while back, resulting in automated offer op-outs to not work anyway. Oops.

Revadike avatar Apr 11 '21 12:04 Revadike