Any way to block posts from a certain usename?

News for this website will be posted here. Mostly Technical.
Forum rules
This forum is for technical discussion regarding the portal and vore itself.

Generally speaking, if you have something that needs moderator attention, you should simply Private message Eka. That includes any bug report, error report, violation report, outage report, suggestion, feature request. Etc.

Most topics will be locked as soon as they are acknowledged. Due to the nature that not many people can do anything regarding a technical issue. In that case, if you need something unlocked for any reason. Feel free to message Eka directly.

Re: Any way to block posts from a certain usename?

Postby WHTB » Thu Oct 20, 2016 7:57 pm

Altimos wrote:Is there any way possible for a script like this for hiding tags instead of users? For example, hiding posts with the tag "Hard Vore" or "M/M" just to name a couple?


I believe the site already supports that through the tag blacklisting feature.
User avatar
WHTB
Intermediate Vorarephile
 
Posts: 422
Joined: Thu Nov 10, 2005 12:00 am
Location: q3dm7

Re: Any way to block posts from a certain usename?

Postby WHTB » Thu Oct 20, 2016 8:10 pm

tigercloud wrote:Alright! Nice to know i will start to work on soon ;)

Yeah Javascript has some special "things"... ^^ I'm not a fan of this language at all

Edit: Forked and worked a little on it but it's not finished yet (For user the only visible change is a confirmation and that not on every page is "block buttons" like before)
Spoiler: show
example_block.jpg


Cool!

I'll have a look at the changes when I get home in a couple of hours.
User avatar
WHTB
Intermediate Vorarephile
 
Posts: 422
Joined: Thu Nov 10, 2005 12:00 am
Location: q3dm7

Re: Any way to block posts from a certain usename?

Postby tigercloud » Thu Oct 20, 2016 8:29 pm

Added more stuff:

List with ALL Blocked Users (with unblock buttons)
Feature to Show/Hide the Lists (Default they are hidden)

Spoiler: show
show_hide.jpg
Angel GTS Vore-Artist - My Gallery
---
Check out the Ekas Disinterest Filter
User avatar
tigercloud
Participator
 
Posts: 223
Joined: Tue Nov 12, 2013 4:39 pm
Location: Germany, Hamburg, Nettelnburg

Re: Any way to block posts from a certain usename?

Postby Altimos » Thu Oct 20, 2016 8:40 pm

WHTB wrote:
Altimos wrote:Is there any way possible for a script like this for hiding tags instead of users? For example, hiding posts with the tag "Hard Vore" or "M/M" just to name a couple?


I believe the site already supports that through the tag blacklisting feature.


Yeah, I looked into it... but I'm not sure where it is located at, and the only thing I can find was Eka' informing us that it is something that is still being worked on, as the blacklisting/whitelisting isn't exactly legit working properly...

by Eka » Tue Jun 02, 2015 5:52 pm *Regarding Blacklisting/Whitelisting*

Thanks for the suggestion. We are in the middle of working on other projects at the moment. When we have time we will revisit and consider feature enchantment.


So, any additional help is appreciated.

Altimos
Ancient Reckoning Chronicles

I also roleplay, but cannot find a site yet to display a good enough interpretation of my preferences. So... just ask me.
User avatar
Altimos
Somewhat familiar
 
Posts: 146
Joined: Wed Apr 11, 2012 10:41 pm
Location: USA

Re: Any way to block posts from a certain usename?

Postby tigercloud » Thu Oct 20, 2016 9:02 pm

The problem with Blacklisting is, that the stuff apears in your Messages

Example:
I want to see all from GTS - I added it to my Watch-List

And I don't want to see unbirth - So I blacklisted it

If there comes a Picture with GTS and Unbirth in Tags you might think it will not show in my messages bec. blacklist is excluding (higher prio) but it shows me the picture bec it has the GTS-Tag - which makes Blacklisting almost useless
But I can't write myself a script to exclude them from Messages bec. on the message site itself there aren't the tags to find for excluding but it helps a little on lastest updates and search
----
Btw you can find the Settings here: Tag-Settings (On Top where your Username is) -> Tags
Angel GTS Vore-Artist - My Gallery
---
Check out the Ekas Disinterest Filter
User avatar
tigercloud
Participator
 
Posts: 223
Joined: Tue Nov 12, 2013 4:39 pm
Location: Germany, Hamburg, Nettelnburg

Re: Any way to block posts from a certain usename?

Postby WHTB » Thu Oct 20, 2016 9:31 pm

I'll merge the changes over so far, but I'm going to add an option to skip the confirmation for blocking a user and touch up a few things, so you might have to do a pull from my master branch afterwards and merge some stuff.

You might want to make a new branch for the pull requests in the future instead of just going straight off of your master branch, because it makes it a moving target to merge in while you're still modifying it. ^^
User avatar
WHTB
Intermediate Vorarephile
 
Posts: 422
Joined: Thu Nov 10, 2005 12:00 am
Location: q3dm7

Re: Any way to block posts from a certain usename?

Postby tigercloud » Thu Oct 20, 2016 9:40 pm

I have to check this "pull request" stuff - This was the first time to make a "Pull request" for me >.< Thanks for the tipps, was at first wondering why there is alltime the newest stuff :S So I have to inform me about this stuff...
Edit: Get it how to make this^^

Yeah you can add an option to turn it off, add it like the debug stuff or how you like it. Its a nice Idea, to have such a option.
If I have time again i will go on the next pages then^^
Angel GTS Vore-Artist - My Gallery
---
Check out the Ekas Disinterest Filter
User avatar
tigercloud
Participator
 
Posts: 223
Joined: Tue Nov 12, 2013 4:39 pm
Location: Germany, Hamburg, Nettelnburg

Re: Any way to block posts from a certain usename?

Postby Altimos » Thu Oct 20, 2016 10:59 pm

tigercloud wrote:The problem with Blacklisting is, that the stuff apears in your Messages

Example:
I want to see all from GTS - I added it to my Watch-List

And I don't want to see unbirth - So I blacklisted it

If there comes a Picture with GTS and Unbirth in Tags you might think it will not show in my messages bec. blacklist is excluding (higher prio) but it shows me the picture bec it has the GTS-Tag - which makes Blacklisting almost useless
But I can't write myself a script to exclude them from Messages bec. on the message site itself there aren't the tags to find for excluding but it helps a little on lastest updates and search
----
Btw you can find the Settings here: Tag-Settings (On Top where your Username is) -> Tags



Thanks, a good explanation and whereabouts...

Altimos
Ancient Reckoning Chronicles

I also roleplay, but cannot find a site yet to display a good enough interpretation of my preferences. So... just ask me.
User avatar
Altimos
Somewhat familiar
 
Posts: 146
Joined: Wed Apr 11, 2012 10:41 pm
Location: USA

Re: Any way to block posts from a certain usename?

Postby Schpadoinkle » Fri Oct 21, 2016 7:33 am

tigercloud wrote:The problem with Blacklisting is, that the stuff apears in your Messages

Example:
I want to see all from GTS - I added it to my Watch-List

And I don't want to see unbirth - So I blacklisted it

If there comes a Picture with GTS and Unbirth in Tags you might think it will not show in my messages bec. blacklist is excluding (higher prio) but it shows me the picture bec it has the GTS-Tag - which makes Blacklisting almost useless
But I can't write myself a script to exclude them from Messages bec. on the message site itself there aren't the tags to find for excluding but it helps a little on lastest updates and search


This. The blacklisting function on this site is next to useless because of this.

I occasionally get art in my watch list that contains tags I find actively disturbing, let alone kinks I just don't like.

I can understand not wanting to block certain things because not everyone likes the same stuff, but at least let users police their own watch list.
User avatar
Schpadoinkle
Intermediate Vorarephile
 
Posts: 613
Joined: Thu Jul 29, 2010 8:03 pm

Re: Any way to block posts from a certain usename?

Postby Altimos » Fri Oct 21, 2016 10:08 am

Schpadoinkle wrote:
tigercloud wrote:The problem with Blacklisting is, that the stuff apears in your Messages

Example:
I want to see all from GTS - I added it to my Watch-List

And I don't want to see unbirth - So I blacklisted it

If there comes a Picture with GTS and Unbirth in Tags you might think it will not show in my messages bec. blacklist is excluding (higher prio) but it shows me the picture bec it has the GTS-Tag - which makes Blacklisting almost useless
But I can't write myself a script to exclude them from Messages bec. on the message site itself there aren't the tags to find for excluding but it helps a little on lastest updates and search


This. The blacklisting function on this site is next to useless because of this.

I occasionally get art in my watch list that contains tags I find actively disturbing, let alone kinks I just don't like.

I can understand not wanting to block certain things because not everyone likes the same stuff, but at least let users police their own watch list.


I would have to agree. The User Block script works on the "Latest Artwork" and "Latest Writing" sections, but it would be nice to use a similar script for Tags. As I'm still seeing Hard Vore, MLP, and M/M stuff... even though I put them under the blacklist section. I understand that it's really only for searching... I guess.

Altimos
Ancient Reckoning Chronicles

I also roleplay, but cannot find a site yet to display a good enough interpretation of my preferences. So... just ask me.
User avatar
Altimos
Somewhat familiar
 
Posts: 146
Joined: Wed Apr 11, 2012 10:41 pm
Location: USA

Re: Any way to block posts from a certain usename?

Postby tigercloud » Sat Oct 22, 2016 1:23 am

I'm done with the other pages, it was almost the same but sometimes i had to target a other class/Id^^

Its pretty the same Code, just a few changes... I guess I will optimize it bec. I don't like long code that repeats to often... (See changes on github)

Works now with:
Lastest Updates (Change also Color if the Userpage has an other color)
Messages (May I need to add a button, that removes blocked user posts)
Search
Tagged

On all sites you can block/unblock and view your global block list
On all pages except lastest updates I used a mouse-over function to display the button, because there was not much space to add a button...

Some Screens:
Spoiler: show
search.gif

messages.gif

tagged.jpg
Angel GTS Vore-Artist - My Gallery
---
Check out the Ekas Disinterest Filter
User avatar
tigercloud
Participator
 
Posts: 223
Joined: Tue Nov 12, 2013 4:39 pm
Location: Germany, Hamburg, Nettelnburg

Re: Any way to block posts from a certain usename?

Postby Altimos » Sat Oct 22, 2016 7:09 pm

tigercloud wrote:I'm done with the other pages, it was almost the same but sometimes i had to target a other class/Id^^

Its pretty the same Code, just a few changes... I guess I will optimize it bec. I don't like long code that repeats to often... (See changes on github)

Works now with:
Lastest Updates (Change also Color if the Userpage has an other color)
Messages (May I need to add a button, that removes blocked user posts)
Search
Tagged

On all sites you can block/unblock and view your global block list
On all pages except lastest updates I used a mouse-over function to display the button, because there was not much space to add a button...

Some Screens:
Spoiler: show
search.gif

messages.gif

tagged.jpg



When I put this in TamperMonkey, it says it's an invalid user script. There are a lot of warning icons (! in yellow triangles) and error icons (red circles with white X's in them). Not sure if the "-" or "+" is something I'm supposed to modify or am I supposed to do something else before I put the script in TamperMonkey...

Altimos
Ancient Reckoning Chronicles

I also roleplay, but cannot find a site yet to display a good enough interpretation of my preferences. So... just ask me.
User avatar
Altimos
Somewhat familiar
 
Posts: 146
Joined: Wed Apr 11, 2012 10:41 pm
Location: USA

Re: Any way to block posts from a certain usename?

Postby tigercloud » Sun Oct 23, 2016 12:51 am

I hope you're not using the script which shows the changes^^ If you take a look at the line numbers you will see that there are many holes^^ if you has + and - in your script its not a valid script, its the history of the script

You have to use the Original-Script (from WHTB), but It doesn't contain my changes right now.

If you want to test my changes you can copy the modified code from my forked repo, until WTHB merges my changes.
Angel GTS Vore-Artist - My Gallery
---
Check out the Ekas Disinterest Filter
User avatar
tigercloud
Participator
 
Posts: 223
Joined: Tue Nov 12, 2013 4:39 pm
Location: Germany, Hamburg, Nettelnburg

Re: Any way to block posts from a certain usename?

Postby Schpadoinkle » Sun Oct 23, 2016 10:46 am

tigercloud wrote:I'm done with the other pages, it was almost the same but sometimes i had to target a other class/Id^^

Its pretty the same Code, just a few changes... I guess I will optimize it bec. I don't like long code that repeats to often... (See changes on github)

Works now with:
Lastest Updates (Change also Color if the Userpage has an other color)
Messages (May I need to add a button, that removes blocked user posts)
Search
Tagged

On all sites you can block/unblock and view your global block list
On all pages except lastest updates I used a mouse-over function to display the button, because there was not much space to add a button...

Some Screens:
Spoiler: show
search.gif

messages.gif

tagged.jpg


This works great! Thank you so much!

Quick question though. Is it possible to use to block specific tags as well?
User avatar
Schpadoinkle
Intermediate Vorarephile
 
Posts: 613
Joined: Thu Jul 29, 2010 8:03 pm

Re: Any way to block posts from a certain usename?

Postby tigercloud » Mon Oct 24, 2016 8:57 am

It IS possible but that will only works on the same pages (Lastest Updates, Search & Tagged), where the existing Black-List system already works - so better use the implemented Black-List System (Settings -> Tags).

Sure it can be implemented for the Message Page, but it will cause a page request for every message, you have in you inbox because Tags for every Element are not listed here (only the main tag). So the script has in theory:
- Get the Element
- Request the Elements Page
- Search there for Blacklisted Tags

Its not good not for your browsers performance nor the Ekas-Site.
Because if you have 100 Messages like me in example it will cause 100 Page requests which is not nice. For the Message Black-List we have to wait for implementation of the real blacklist system.
Sure it will recommend to add a memory system for every message to reduce the page requests but i geuss its a little over to top
Angel GTS Vore-Artist - My Gallery
---
Check out the Ekas Disinterest Filter
User avatar
tigercloud
Participator
 
Posts: 223
Joined: Tue Nov 12, 2013 4:39 pm
Location: Germany, Hamburg, Nettelnburg

Re: Any way to block posts from a certain usename?

Postby WHTB » Mon Oct 24, 2016 1:20 pm

tigercloud wrote:Its not good not for your browsers performance nor the Ekas-Site.
Because if you have 100 Messages like me in example it will cause 100 Page requests which is not nice. For the Message Black-List we have to wait for implementation of the real blacklist system.
Sure it will recommend to add a memory system for every message to reduce the page requests but i geuss its a little over to top


I was thinking about how we could cache artist names and tags for each image in local storage. I absolutely want to avoid additional page requests. We shouldn't do anything that would give Eka a reason to shutdown this project, or ban discussion of it here.

We can cache that data any time it's incidentally available, on the "Latest Updates" page, the individual image pages, or even the iframe box that pops up when you hover over something on the main page, and then apply it as a filter anywhere that we can see the image's id number (which is part of the URL for it, so pretty much anywhere).
User avatar
WHTB
Intermediate Vorarephile
 
Posts: 422
Joined: Thu Nov 10, 2005 12:00 am
Location: q3dm7

Re: Any way to block posts from a certain usename?

Postby tigercloud » Mon Oct 24, 2016 3:05 pm

** Warning huge post ahead^^ **

The main problem on the Message.php Page is, that there are no tags to get from HTML-Code.
Example Search-Item look like this: You can get the Tag here within the title attribute
Code: Select all
<li class="gallery-item" id="365456" title="Angel, Non-Vore, Criss Rose">(...Element with username img etc...)</li>


But on the Message site the Elements look like this: There are no tags to search trough
Spoiler: show
Code: Select all
       <li class="gallery-item ui-selectee">
      <div class="context-icons" style="display: none;">
          <span alt="D" src="img/t14.gif" class="triicon14 icon-delete"></span>
      </div>
      <div>
          <a class="thumb" href="/g4/view/365602"><img src="//static.aryion.com/g4/thumb/365602-62224-thumb.auto.jpg" alt=""></a>          <p><input value="119419966" name="msg[]" type="checkbox"></p>
          <p class="item-title">Flutterbat Spelunking</p>
          <p class="g-small">By: <a class="user-link" href="/g4/user/PegaSUS">PegaSUS</a></p>
          <p class="g-small"><span class="pretty-date" title="Oct 23rd, 2016 11:28 PM">16 hours ago</span></p>
      </div>
       </li>


There is no possible solution to get Tags without requesting them (and may save them to memory for every element - for only 1 time request) but I guess its to hard to realize it. If there can be tags within the element it can be possible.

To avoid much load on Ekas side there are these solutions:
  • Sending a Hashed URL or ID to an External Server with a Database
    Technical:
    Spoiler: show
    • The Image-Link-URL or ID it can be hashed and send to a Server where the Tags are saved. IF there is not a record for this Hash, it will request the target Element 1 time and save the Tags on the Server assigned to the hashed URL/Id.
      • Of course we can add Search, Tagged and Lastest updates to this process for filling the Database bec it DOESN'T need an extra request and holding the Database up to date is easier.
    • To hold the Database (Tag changes) up to date, we can check all tags from Search, Tagged and Lastest updates sites and hashing a alphabetic sorted array to check if the tag hashes matches - if not update them - but only on Search, Tagged and Lastest updates bec it DOESN'T need an Page-Request. On Messages you may get old data from the server
    • To avoid much Server traffic and respecting User-Privacy the client has its own database and only request new Data from Server if:
      • A button is clicked (Sync Database)
      • A Hashed ID/Image URL is not in the local Database
      • Local tags has changed
        • Then also syncing if the server is up to date
    • May save the Date of the post and delete old ones bec. the database is more for messages and old messages never appear again in the inbox (maybe older that 6months will not saved to db or with an empty entry and return value that its old) it can help to upkeep the performance
      • Save them with Date and Hash and and extra value that show that its to old tags should be empty to save memory
      • Cleanup the database every week once
        • Last cleanup has to be saved^^ to do the next cleanup after 1 week on user request automaticly

    • Advantages:
      • Better results for ALL users (because every user get the results of every other user)
      • May better performance
      • Every time avialable to get the whole Database (if you changes browser and so on)
    • Disadvantages:
      • Complex to code
      • Needs an extra Server/place for a DB
      • User may worry about privacy (IP-Address from requests)
  • Tags can saved only Local
    Technical:
    Spoiler: show
    Basicly like the Server but without syncing and this stuff

    • Advantages:
      • Easy to code
      • User don't have to worry about their privacy because its local
      • Don't need an extra Server or such stuff
    • Disadvantages:
      • The results can be bad not so wide (because the user has to get all the stuff by himself browsing on lastest updates etc)
      • If the User switches the browser the local Database is gone
      • Maybe performance issues
  • Eka build in the missing info (Tags) on the message.php site and we only need to filter stuff out without a database - but i guess that will not happen


Its to hard to build it - it canbe done but a huge amount of work and just for some user I guess its to much work in comparision of the use =/ It would be funny to build such a system (Server or non-server one)
------

I absolutely want to avoid additional page requests. We shouldn't do anything that would give Eka a reason to shutdown this project, or ban discussion of it here.

Yeah I agree with that

We can cache that data any time it's incidentally available, on the "Latest Updates" page, the individual image pages, or even the iframe box that pops up when you hover over something on the main page, and then apply it as a filter anywhere that we can see the image's id number (which is part of the URL for it, so pretty much anywhere).

Sure that can be made, but it work only for seen images if storaged local it has less effectivity, but you're right you can avoid some of the blacklisted tags with this method in you messages
That can made like the method with the server just without the Server. We can store them as objects like this: (Maybe save them within an SQLLite DB as json Data if possible or as array in local storage)
Spoiler: show
Code: Select all
PostObject {
   // Member
   private id:int;
   private tags:array;
   private hasBlacklistTags:bool; // Has to recheck if user add/remove tags from his list - has also to be checked if tag changes on this object - is a value for faster checking all object (presaved)

   //  Methods:
   public bool:hasTag(tag:string);
   private void:addTag(tag:string);
   private void:removeTag(tag:string);
   public bool:hasTagsChanged(array);
   private void:setTags(tags:array);
   public array:getTags();
   public string:getId();
   public void:setId();
   static public int:extractId(imageURL:string);
   static private string:tagsToTagHash(tags:array|null);
}


I'm not realy a JavaScript Geek, so what do you think? Can the local Database get performance issues if it gets to big? If yes how can we solve it?

Edit: Id can saved insteed of hashed url you're right^^

-------------------------------------------------
I've done many optimations on the code and
I've add a reshow button if you want for whatever reason to reshow the blocked content without unblocking everyone. By default blocked content will not be shown until you hit that button. And after a page refresh blocked content is gone again its only for checking it for whatever reason^^ See example:
Spoiler: show
twf387e6br324gh7865tr34.jpg


You can get the script here until/if WHTB merges the changes

Edit: Found a bug on the message page, will try to fix it at weekend - until then I don't have time for that - have work to do
Angel GTS Vore-Artist - My Gallery
---
Check out the Ekas Disinterest Filter
User avatar
tigercloud
Participator
 
Posts: 223
Joined: Tue Nov 12, 2013 4:39 pm
Location: Germany, Hamburg, Nettelnburg

Re: Any way to block posts from a certain usename?

Postby WHTB » Wed Oct 26, 2016 7:46 pm

tigercloud wrote:You can get the script here until/if WHTB merges the changes


Considering how much more work you're doing on it than I am right now, maybe we should just say your repository is the "official" one.
User avatar
WHTB
Intermediate Vorarephile
 
Posts: 422
Joined: Thu Nov 10, 2005 12:00 am
Location: q3dm7

Re: Any way to block posts from a certain usename?

Postby extremelydevious » Fri Oct 28, 2016 7:43 am

Theres a particular user who i wont name, who i really dislike seeking in the search results / latest updates.
I can appreciate underage pred/prey if its vore and in good taste, but, if its violent, dark , non-vore, essentially just ordinary non-vore affiliated pedophilia, i dont and dont see why i should see it. Also i just feel really bad whenever i see it, im not sure what the proper term is. Its like how you might get if you see a photo of a toddler with an injury of sorts and they are crying, you feel that sympathetic pain with them.

Anyway, point is im not a fan of rape/murder child porn comics.

Also a temporary per-search filter option for certain tags at least could be handy, theres certain things i just dont search for because of how much i have to sift through to find it.
User avatar
extremelydevious
Been posting for a bit
 
Posts: 39
Joined: Mon Jan 12, 2015 7:14 am

Re: Any way to block posts from a certain usename?

Postby KingKabal777 » Fri Oct 28, 2016 1:53 pm

Wish the site would be a bit like Sankaku Complex, which you could exclude tags and usernames.

Technically, tried to exclude a tag, but no avail, some options to refine are usually this:

Text search: Search my text in tags (Cannot exclude, try refining by username)
Tag search: You can search by tag, seperated by spaces, or check the box for no tags.
Type Search: Use to search specifically for specific media.
Owner search: Search by artist name specifically.

Search by date: Searches for pictures by a set date.

Unfortunately, if this site was more like sankaku complex, then it would be possible for me to exclude certain tags, but it is possible to add certain tags and maybe some users if they choose to add their username into the tags.

Try contacting Eka if there is a way to exclude tags or usernames, and see if there will be a way to do so.
User avatar
KingKabal777
Intermediate Vorarephile
 
Posts: 384
Joined: Mon Jul 29, 2013 12:07 pm

PreviousNext

Return to Technical stuff