Site future: Brainstorming phase

#21
Syne Offline
(Aug 19, 2020 03:16 AM)stryder Wrote: The "Mark Forum Read" button has been reinstated at the bottom of the page (below the statistics section)  It's possible that part of the update involved quashing various Xscript issues where "my_post_key" was being ignored.

Had to wait to find out, but I can't bookmark the "Mark Read" link, as the my_post_key is still dynamic. So the next day (?) the bookmark just gives this error:

Authorization code mismatch. Are you accessing this function correctly? Please go back and try again.
Reply
#22
stryder Offline
(Aug 20, 2020 02:29 AM)Syne Wrote: Had to wait to find out, but I can't bookmark the "Mark Read" link, as the my_post_key is still dynamic. So the next day (?) the bookmark just gives this error:

Authorization code mismatch. Are you accessing this function correctly? Please go back and try again.

Well, I'm trying to work out how to make that work. The main problem is that it's session related and it's based upon being logged in. The code is suppose to change so that it doesn't become stale and start effecting sessions it doesn't belong to. (Stalecode's are usually what allows captcha's to be negated)

The problem is you have to be logged for the link to work. I did consider re-writing it in Javascript, however it's still the same problem. The session needs to have been created for the code to work otherwise you'll be attempting to parse empty variables which in turn will cause the error.

Not really too sure how to work around it.
Reply
#23
Syne Offline
(Aug 20, 2020 03:37 AM)stryder Wrote:
(Aug 20, 2020 02:29 AM)Syne Wrote: Had to wait to find out, but I can't bookmark the "Mark Read" link, as the my_post_key is still dynamic. So the next day (?) the bookmark just gives this error:

Authorization code mismatch. Are you accessing this function correctly? Please go back and try again.

Well, I'm trying to work out how to make that work.  The main problem is that it's session related and it's based upon being logged in.  The code is suppose to change so that it doesn't become stale and start effecting sessions it doesn't belong to.  (Stalecode's are usually what allows captcha's to be negated)

The problem is you have to be logged for the link to work.  I did consider re-writing it in Javascript, however it's still the same problem.  The session needs to have been created for the code to work otherwise you'll be attempting to parse empty variables which in turn will cause the error.

Not really too sure how to work around it.

I wonder why it has worked all this time.

I only use it when logged in (I always stay logged in), so maybe if the my_post_key were associated with a member ID, instead of a session ID?

If nothing else, maybe get a Mark Forum Read link on the Today's Posts page too?
Reply
#24
stryder Offline
(Aug 20, 2020 05:26 AM)Syne Wrote:
(Aug 20, 2020 03:37 AM)stryder Wrote:
(Aug 20, 2020 02:29 AM)Syne Wrote: Had to wait to find out, but I can't bookmark the "Mark Read" link, as the my_post_key is still dynamic. So the next day (?) the bookmark just gives this error:

Authorization code mismatch. Are you accessing this function correctly? Please go back and try again.

Well, I'm trying to work out how to make that work.  The main problem is that it's session related and it's based upon being logged in.  The code is suppose to change so that it doesn't become stale and start effecting sessions it doesn't belong to.  (Stalecode's are usually what allows captcha's to be negated)

The problem is you have to be logged for the link to work.  I did consider re-writing it in Javascript, however it's still the same problem.  The session needs to have been created for the code to work otherwise you'll be attempting to parse empty variables which in turn will cause the error.

Not really too sure how to work around it.

I wonder why it has worked all this time.

I only use it when logged in (I always stay logged in), so maybe if the my_post_key were associated with a member ID, instead of a session ID?

If nothing else, maybe get a Mark Forum Read link on the Today's Posts page too?

I will see what I can do for you. It will take a little while though since I'm also trying to make some template changes for the better. (while I've been messing with them some of the results are a little.... well awkward)
Reply
#25
Syne Offline
(Aug 20, 2020 06:08 AM)stryder Wrote:
(Aug 20, 2020 05:26 AM)Syne Wrote: I wonder why it has worked all this time.

I only use it when logged in (I always stay logged in), so maybe if the my_post_key were associated with a member ID, instead of a session ID?

If nothing else, maybe get a Mark Forum Read link on the Today's Posts page too?

I will see what I can do for you.  It will take a little while though since I'm also trying to make some template changes for the better.  (while I've been messing with them some of the results are a little.... well awkward)

No hurry.
Reply
#26
stryder Offline
(Aug 20, 2020 06:32 AM)Syne Wrote:
(Aug 20, 2020 06:08 AM)stryder Wrote:
(Aug 20, 2020 05:26 AM)Syne Wrote: I wonder why it has worked all this time.

I only use it when logged in (I always stay logged in), so maybe if the my_post_key were associated with a member ID, instead of a session ID?

If nothing else, maybe get a Mark Forum Read link on the Today's Posts page too?

I will see what I can do for you.  It will take a little while though since I'm also trying to make some template changes for the better.  (while I've been messing with them some of the results are a little.... well awkward)

No hurry.

Okay I eventually came up with a rather messy looking work around.  Basically set your bookmark to Https://www.scivillage.com/wrapper.html.  The .html page uses Javascript and an iframe, it basically loads the index page, then pulls the url for the Mark Forums Read  before reloading using the Mark Forums Read script.  Doing this means that if you are accessing it while your browser still has cookies/session information, then the Forums will be Marked read (and you'll be loaded to the index  page in the full browser window.).  If you are not logged in, it will Mark the Forums read for the temporary session assigned to your access.  It shouldn't fail... (Well unless their is complications between browser standards, will have to check)
Reply
#27
Secular Sanity Offline
When you click on "Today’s Posts" it’s fine but "Recent activity" the font is terrible and way too big. Everything is overlapping on my iPhone and I'm still getting connection errors.
Reply
#28
Syne Offline
(Aug 20, 2020 09:56 AM)stryder Wrote: Okay I eventually came up with a rather messy looking work around.  Basically set your bookmark to Https://www.scivillage.com/wrapper.html.  The .html page uses Javascript and an iframe, it basically loads the index page, then pulls the url for the Mark Forums Read  before reloading using the Mark Forums Read script.  Doing this means that if you are accessing it while your browser still has cookies/session information, then the Forums will be Marked read (and you'll be loaded to the index  page in the full browser window.).  If you are not logged in, it will Mark the Forums read for the temporary session assigned to your access.  It shouldn't fail... (Well unless their is complications between browser standards, will have to check)

Messy or not, it seems to work. Thanks, Stryder!
Reply
#29
stryder Offline
(Aug 20, 2020 01:40 PM)Secular Sanity Wrote: When you click on "Today’s Posts" it’s fine but "Recent activity" the font is terrible and way too big. Everything is overlapping on my iPhone and I'm still getting connection errors.

Recent Activity is still in the process of being revamped a little. (I'd temporarily redone some bits but I need to go through it fully and clean it up.)

As for "connection errors". The sites been having a bit of bother over the past 12 or so hours. (Heck I even managed to get it to panic the SQL server which meant it got SQL error messages for about 10 minutes a while ago.)

The connection errors could be down to the webhost, which means I've got not direct solution (I'll try to work on a workaround) alternatively it's also possible that there might be network errors in your neck of the woods where downgrading bitrate etc has been necessary to keep everyone connected (although I'm not blaming that, that's just extra on top of the sites webhost issue)

I'll keep chipping away at it, Although I can't ETA it.
Reply
#30
stryder Offline
(Aug 20, 2020 06:31 PM)stryder Wrote:
(Aug 20, 2020 01:40 PM)Secular Sanity Wrote: When you click on "Today’s Posts" it’s fine but "Recent activity" the font is terrible and way too big. Everything is overlapping on my iPhone and I'm still getting connection errors.

Recent Activity is still in the process of being revamped a little.  (I'd temporarily redone some bits but I need to go through it fully and clean it up.)

As for "connection errors".  The sites been having a bit of bother over the past 12 or so hours.  (Heck I even managed to get it to panic the SQL server which meant it got SQL error messages for about 10 minutes a while ago.)

The connection errors could be down to the webhost, which means I've got not direct solution (I'll try to work on a workaround) alternatively it's also possible that there might be network errors in your neck of the woods where downgrading bitrate etc has been necessary to keep everyone connected (although I'm not blaming that, that's just extra on top of the sites webhost issue)

I'll keep chipping away at it, Although I can't ETA it.

Okay I've given portal a once over to try and fix the way Latest Threads are seen.

Latest Threads are listed at the bottom, they are placed based upon their last active post (so the lastpost in the thread is the latest). This means the link has been defaulted to the lastpost in those threads. I tried to uncluster the number of links (just encase somebody has stubby fingers and can't click the small links). The username for the poster I've attempted to "watermark" from the right side of the element. so the writing with bleed over each other, however I think the opacity level (should it work on your platform) allows it all to still be legible.

furthermore I've tried to deal with the text size issue. Basically the text is split between a dynamic size when the viewscreen is below 420px wide and a fixed size when it's above that. (That's why it can be a bit odd in regards to sizing).

If you spot elements that seem seriously out of place with their sizing, it would help if you pointed me at which one to look at. (It's difficult to see the site in action on different platforms)
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Posting on site using phone Leigha 4 73 Apr 12, 2021 12:23 PM
Last Post: Zinjanthropos
  Small site changes. stryder 0 382 Mar 7, 2019 01:48 PM
Last Post: stryder
  Site Downtime stryder 5 980 Sep 7, 2016 05:16 AM
Last Post: stryder
  site design redux stryder 4 1,003 Aug 28, 2016 05:08 PM
Last Post: stryder
  Site Design stryder 1 491 Jun 30, 2016 09:45 AM
Last Post: stryder
  Site Layout suggestions Mr Doodlebug 3 1,458 Oct 6, 2014 05:33 AM
Last Post: stryder



Users browsing this thread: 1 Guest(s)