Welcome Guest ( Log In | Register )

4 Pages V « < 2 3 4  
Closed TopicStart new topic
> New/Improved Feature: Server-side profiles and profile switching, Cookies are overrated anyway

 
post Feb 11 2018, 17:48
Post #61
moonflow



Active Poster
*******
Group: Gold Star Club
Posts: 1,497
Joined: 17-September 06
Level 500 (Dovahkiin)


Away for some days and there were some neat changes, yay! Thanks, me like.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 11 2018, 22:05
Post #62
uareader



Critter
*********
Group: Catgirl Camarilla
Posts: 5,590
Joined: 1-September 14
Level 500 (Ponyslayer)


QUOTE(blue penguin @ Feb 11 2018, 14:55) *
You need to click "Apply" in the settings everywhere. We still have a pseudo-session-cookie that will link to a profile, per domain.
Actually, properly applying is what I tried yesterday.
Now, I just restarted my browser twice to try other things.

Previous way to get things working: visited the site to get logged in, tried to load bookmarked search, but didn't see the result as thumbnails (and other stuffs like tag flagging weren't visible either), visited the settings page without changing anything or applying, loaded again the bookmarked search and it worked.

Thing tried just now: visited the site to get logged in, tried to load bookmarked search, but didn't see the result as thumbnails (and other stuffs like tag flagging weren't visible either), loaded a gallery to see if settings were still not loaded, and for some reason, they were (because it was using large thumbnails), loaded again the bookmarked search and it worked.

Final test:
-load the bookmarked search a first time, causing login.
-load the bookmarked search a second time, this loaded the search without settings.
-load the bookmarked search a third time, this loaded the search without settings .
-load the bookmarked search a fourth time, this loaded the search without settings.
-load the bookmarked search a fifth time, this loaded the search without settings.

So it seems in the end, to get the settings loaded, I need to load either a gallery or the settings page, but for some reason, reloading the bookmarked search over and over again don't load it.
Is that really normal?

edit: Ok.Thanks for the explanation.

This post has been edited by uareader: Feb 12 2018, 12:50
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 12 2018, 00:08
Post #63
Tenboro

Admin




QUOTE(uareader @ Feb 11 2018, 21:05) *

Is that really normal?


If you clear your cookies, you currently have to visit a page that actually loads your user to reinitialize the session. This is because of how galleries piggybacks on the forum account system.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 13 2018, 01:46
Post #64
NerdNumber9



Newcomer
**
Group: Members
Posts: 93
Joined: 24-October 15


Awesome update but I can't seem to programmatically work with the new profile system:

Here is a sample CURL command that will launch a search request for this gallery: https://e-hentai.org/g/1184248/8d545d6dc5/ .
The search results are then passed through a grep command which will filter out most of the irrelevant HTML.
CODE

curl 'https://e-hentai.org/?f_search=%22+C93+Kougeki+Ootsuki+Wataru+Hashihime+Jougi+-Sou-+Touhou+Project+%22&f_apply=Apply+Filter' -H 'cookie: ipb_member_id=[REDACTED]; ipb_pass_hash=[REDACTED]; sp=2;' | grep -o "alt=\"(C93).*\" style=\"margin:"


You can see that I have defined the "sp" cookie as "2" in the "Cookie" header. My second profile also has the "Gallery Name Display" setting changed to: "Japanese Title".

When I run the command however, it gives the following output:
CODE
alt="(C93) [Kougeki (Ootsuki Wataru)] Hashihime Jougi -Sou- (Touhou Project)" style="margin:
. This clearly does not match the gallery's Japanese title: "(C93) [幸撃 (大月渉)] 橋姫情戯-総- (東方Project)" (IMG:[invalid] style_emoticons/default/sad.gif).

Am I missing something?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 13 2018, 02:03
Post #65
blue penguin



in umbra, igitur, pugnabimus
***********
Group: Gold Star Club
Posts: 10,046
Joined: 24-March 12
Level 500 (Godslayer)


^ You're quite right. I have tried adding ipb_session_id= to the Cookie headers and -H "User-Agent: Mozilla/5.0 " but neither allowed me to use my settings (I was testing against tag flags).

Will need more investigation I guess.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 13 2018, 03:02
Post #66
Tenboro

Admin




QUOTE(NerdNumber9 @ Feb 13 2018, 00:46) *

Am I missing something?


You need to pass both the "sk" and "sp" cookies. (The latter is optional if you want the default profile.)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 13 2018, 04:05
Post #67
NerdNumber9



Newcomer
**
Group: Members
Posts: 93
Joined: 24-October 15


QUOTE(Tenboro @ Feb 12 2018, 20:02) *

You need to pass both the "sk" and "sp" cookies. (The latter is optional if you want the default profile.)


Yep, that fixed things right up, thanks!
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 15 2018, 09:18
Post #68
Raddien



Casual Poster
***
Group: Members
Posts: 124
Joined: 17-November 13
Level 376 (Godslayer)


Get the roger ,sir!
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 15 2018, 23:11
Post #69
NVR105



Lurker
Group: Lurkers
Posts: 3
Joined: 28-November 13


I think this new feature need some tweak, because right now the language filter are broken sometime it just won't filter out the language that i checked. It's broken 15 mins ago but it back to normal right now when i make this post.
It just quite annoying when i saw 2/3 of the page are the language that i don't need tbh, i hope it will get fix soon.

Edit: Nope, it's not fine, i'm just watching the page that looks like fine. Right now i can still see the language that i don't need at the front page even i checked the filter box.

This post has been edited by NVR105: Feb 15 2018, 23:23
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 15 2018, 23:47
Post #70
Superlatanium



Dreaming of optimizing the system
**********
Group: Gold Star Club
Posts: 7,589
Joined: 27-November 13
Level 500 (Godslayer)


QUOTE(NVR105 @ Feb 15 2018, 21:11) *
...
Can you give a specific example of where it's not behaving the way you think it should?

Do note that it takes a bit of time for languages to get initially tagged on galleries, and from that, a bit more time to make its way into the search mechanism.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 16 2018, 12:01
Post #71
NVR105



Lurker
Group: Lurkers
Posts: 3
Joined: 28-November 13


QUOTE(Superlatanium @ Feb 16 2018, 05:47) *

Can you give a specific example of where it's not behaving the way you think it should?

Do note that it takes a bit of time for languages to get initially tagged on galleries, and from that, a bit more time to make its way into the search mechanism.

No no no the filter system is working fine past few years and i had no problem with it most of the time please don't get it wrong. It just become a little bit unreliable after the change.

For example i only saw two upload that's not filter correctly past 2 hours which is fine for me most of the time if the number of upload are not that much, however the time different between both of them to let the filter to get the job done are huge. One english upload took 2 hours to filter out (upload at 13:26 i saw the upload at 15:34)and the other spanish upload took almost 9 hours to filter out (upload at 07:29 saw the upload at 16:45). And i also click in it to make sure if have the tag or not because i always check all the language that i want to filter out except japanese, chinese, n/a and other.

It just start having this kind of problem after the change when live. Imagine what the page look like when there are multiple upload are happened. I hope i cleared out the problem and i'm sorry about the poor english i'm not that good at it.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 16 2018, 12:43
Post #72
frankmelody



Θ..Θ
*******
Group: Gold Star Club
Posts: 1,314
Joined: 9-January 11
Level 500 (Godslayer)


another great update, thanks.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 16 2018, 16:40
Post #73
raposazul



Casual Poster
***
Group: Members
Posts: 148
Joined: 10-November 09
Level 240 (Godslayer)


I just noticed that the page limit perks seem to have gotten reset by this update, it was showing a maximum of 5000 for me even though I had both the More Pages and the Lots of Pages hath perks. Buying the Too Many Pages perk bumped it up to 50000, so I assume that forcefully refreshing the amount fixes this problem, but it would be nice for everyone who doesn't have enough spare hath lying around if this got fixed properly.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 16 2018, 23:00
Post #74
blue penguin



in umbra, igitur, pugnabimus
***********
Group: Gold Star Club
Posts: 10,046
Joined: 24-March 12
Level 500 (Godslayer)


QUOTE(raposazul @ Feb 16 2018, 14:40) *
I just noticed that the page limit perks seem to have gotten reset by this update, it was showing a maximum of 5000 for me even though I had both the More Pages and the Lots of Pages hath perks. Buying the Too Many Pages perk bumped it up to 50000, so I assume that forcefully refreshing the amount fixes this problem, but it would be nice for everyone who doesn't have enough spare hath lying around if this got fixed properly.
Actually the number of pages is determined dynamically, based on the current load of the website. The page perks are a multiplier on top of this dynamic number.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 21 2018, 15:38
Post #75
nick321



Active Poster
*******
Group: Gold Star Club
Posts: 1,549
Joined: 24-May 08
Level 146 (Ascended)


Fantastic!

Good job!
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 1 2018, 11:52
Post #76
davie81



Lurker
Group: Lurkers
Posts: 3
Joined: 18-January 11


QUOTE(nyoppi @ Feb 9 2018, 14:57) *

With the deprecation of cookies, is there a way to view thumbnails in browse/search views without logging in?

Problem fixe?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 26 2018, 23:12
Post #77
TokenVelvet



Newcomer
*
Group: Members
Posts: 24
Joined: 22-August 15
Level 169 (Lord)


Thanks for not making the cookies necessary, admin. A definitely welcome improvement for us who doesn't use the same browser.

User is offlineProfile CardPM
Go to the top of the page
+Quote Post


4 Pages V « < 2 3 4
Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 


Lo-Fi Version Time is now: 12th March 2025 - 16:06