Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us $3,400 per month for bandwidth bills alone, and since we don't believe in shoving popup ads to our registered users, we try to make the money back through forum registrations.
«164 »
  • Post
  • Reply
pokeyman
Nov 26, 2006

That elephant ate my entire platoon.

Pillbug

The Bloop posted:

I didn't even realize this was a forums feature lmao


I mean I've only been here for 16 years

I don't think it is a forums feature, they just mean adding a browser bookmark to the post's URL.

Adbot
ADBOT LOVES YOU

TITTIEKISSER69
Mar 19, 2005

I'M JUST HERE TO KISS TITTIESS AND WIN FOOTBALL GAMES!
(AND GET EVERYBODY FIRED)


Pillbug

The forums feature being referred to is the # under your avatar.

LastInLine
Mar 15, 2006

Why stay in the Cape when you can be in the WAVE?




Fun Shoe

TITANKISSER69 posted:

The forums feature being referred to is the # under your avatar.

That's not really a forums feature either so much as link to the post's URL. The app already exposes this in the overflow menu on a post (Copy URL). The problem I'd see with trying to make a bookmark system for this would be how would you tag it so it makes any sense?

turd in my singlet
Jul 5, 2008

DO ALL DA WORK

WIT YA NECK

*heavy metal music playing*

Nap Ghost

i mean a basic system that seems like it wouldn't be too hard to implement i have no idea how programming works would just be a "bookmarked posts" tab accessible from the main app menu with an option to manually create folders and put individual bookmarks in them

LastInLine
Mar 15, 2006

Why stay in the Cape when you can be in the WAVE?




Fun Shoe

turd in my singlet posted:

i mean a basic system that seems like it wouldn't be too hard to implement i have no idea how programming works would just be a "bookmarked posts" tab accessible from the main app menu with an option to manually create folders and put individual bookmarks in them

So just a list of:

https://forums.somethingawful.com/s...3#post504678682
https://forums.somethingawful.com/s...3#post504676838
https://forums.somethingawful.com/s...3#post504668280
https://forums.somethingawful.com/s...3#post504666570

Chronojam
Feb 20, 2006

This is me on vacation in Amsterdam
Never be afraid of being yourself!




Thread name, poster name?

Captain Hygiene
Sep 17, 2007

We'll make diamonds from their ashes. Take them into battle with us.

Craft a Diamond Dog diamond?
Nah.   Let's do it!




College Slice

That is something I've occasionally thought would be kinda nice too, no idea what scale of work would be required to add it/convert the quote URLs into something useful though.

LastInLine
Mar 15, 2006

Why stay in the Cape when you can be in the WAVE?




Fun Shoe

Chronojam posted:

Thread name, poster name?

Awful.apk - I Can't Believe It's Not Beta!, LastInLine1
Awful.apk - I Can't Believe It's Not Beta!, LastInLine2
Awful.apk - I Can't Believe It's Not Beta!, LastInLine3
Awful.apk - I Can't Believe It's Not Beta!, LastInLine4

Of course you could always do thread title folder > poster name title too.

All of it seems like a lot of work for little reward to me but I'm neither the guy doing the work nor the one wanting the reward. If I were the sort who's not only into archiving individual posts but also ON THE MOVE I'd probably share the post URL to a note-taking app where I could curate them more effectively.

It'd be a lot nicer if the "Copy URL" in the post overflow menu was actually "Share URL" like the icon would indicate so that such a workflow was a two-step process. Then you could just tap Share to Keep List "Cool LastInLine posts" and markup that share item at your leisure.

Midjack
Dec 24, 2007






Biscuit Hider

Id probably just copy/ paste the post into a rtf and call it a day.

Malloc Voidstar
May 7, 2007

Fuck the cowboys. Unf. Fuck em hard.

App is basically unusable due to being logged out constantly, within like 30 minutes of logging in. Only started doing this fairly recently.

I'm a dumbass and somehow managed to disable autoupdates for Awful

Malloc Voidstar fucked around with this message at 20:33 on May 9, 2020

Hipster_Doofus
Dec 20, 2003

Lovin' every minute of it.

Malloc Voidstar posted:

App is basically unusable due to being logged out constantly, within like 30 minutes of logging in. Only started doing this fairly recently.

Go to page 159 (assuming 40 posts per page)

TheAardvark
Mar 3, 2019



I'm currently an IK in C-SPAM. I've been looking for a new Android hobby project. I am going to try and implement some rudimentary mod tools because I post 99% mobile.

Anyone familiar with the project able to give me an outline for how they could be implemented?

I.e. what class implements:

Deciding if you can select "edit" on a post or not? I think it'll work with mod buttons.

TheAardvark fucked around with this message at 04:29 on May 18, 2020

Jeffrey of YOSPOS
Dec 22, 2005

GET LOSE, YOU CAN'T COMPARE WITH MY POWERS


Floss Finder

The most important missing mod tool is making new threads

FWIW the app shows me the edit button on every post, does it not show it on C-SPAM posts for you?

TheAardvark
Mar 3, 2019



Jeffrey of YOSPOS posted:

The most important missing mod tool is making new threads

FWIW the app shows me the edit button on every post, does it not show it on C-SPAM posts for you?

It does show it. I'm trying to figure out a way to add 6ers to it. The fact I can hit "edit" on some posts means something is reading posts in a way that will read whether or not mod buttons are active.

I assume this is going to be a huge bitch of trial and error but I want a project and even 1 week of being a single thread IK made me want it, so I bet a lot of mods would be happy.

TheAardvark
Mar 3, 2019



also I'm motivated because I don't know how long I will have buttons, and I like having a bit of a deadline

KillHour
Oct 28, 2007




I will help you figure out how to add the buttons.

Unfortunately, I have no buttons to test with, so I will need someone to give me the buttons. For testing purposes.

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.

Pillbug

TheAardvark posted:

It does show it. I'm trying to figure out a way to add 6ers to it. The fact I can hit "edit" on some posts means something is reading posts in a way that will read whether or not mod buttons are active.

Maybe, maybe not. An editable post looks the same in markup no matter why you're allowed to edit it.

quote:

I assume this is going to be a huge bitch of trial and error but I want a project and even 1 week of being a single thread IK made me want it, so I bet a lot of mods would be happy.

You'll want to figure out what in markup (just html, not css or javascript) indicates that you can probate (web inspector can help, check network tab for initial response data). I think some of the mod menu is javascript but hopefully some part is in html? Once you have that, you know when to show a "probate 6h" button on posts.

Then you need to check what happens when you click that button in the browser. Probably a POST request to some url with the thread/user/post ID as one parameter and the reason as another parameter (the web inspector's network tab helps here too). The app makes a bunch of similar requests already, so you can probably copy and paste one of those and tweak url/params to match what you see in browser.

I have no idea where in the app's code this all happens, so I can't point you anywhere specific, sorry.

Also holler when you figure it out and I'll see about adding it to the iOS app too.

Jeffrey of YOSPOS
Dec 22, 2005

GET LOSE, YOU CAN'T COMPARE WITH MY POWERS


Floss Finder

Yeah the probate button is added with javascript. Let me see if there's an element that only shows up if you're a mod. (Frankly if a post is not yours and has an edit button, it could show the probate button too. You won't be able to probate yourself but hey.)

Jeffrey of YOSPOS
Dec 22, 2005

GET LOSE, YOU CAN'T COMPARE WITH MY POWERS


Floss Finder

Try looking for the modqueue_ctl div, or even just the script line at the top that includes modqueue_ctl.js.

Kheldarn
Feb 17, 2011



Lipstick Apathy

Meanwhile, in current app news, it's not showing me a poster's rap sheet when I select it from the 3 dot menu of a post. I just get a blank screen with the back arrow in the top left corner. Tapping that takes me to the Leper Colony page.

Interestingly, it DOES work when I try it on Jeffrey Of YOSPOS, but nobody else, including when I first tried it on the mod named Jeffrey, who I saw probated in the Tech Issues Thread.

vyst
Aug 25, 2009





Kheldarn posted:

Meanwhile, in current app news, it's not showing me a poster's rap sheet when I select it from the 3 dot menu of a post. I just get a blank screen with the back arrow in the top left corner. Tapping that takes me to the Leper Colony page.

Interestingly, it DOES work when I try it on Jeffrey Of YOSPOS, but nobody else, including when I first tried it on the mod named Jeffrey, who I saw probated in the Tech Issues Thread.

Rap sheets work for me from the 3 dot menu in posts

Captain Hygiene
Sep 17, 2007

We'll make diamonds from their ashes. Take them into battle with us.

Craft a Diamond Dog diamond?
Nah.   Let's do it!




College Slice

Works for me too, every time some basic function like that breaks for me, it turns out that updating Chrome fixes it through the magic of [guesses at technological words in attempt to sound knowledgeable] shared libraries.

Kheldarn
Feb 17, 2011



Lipstick Apathy

Captain Hygiene posted:

Works for me too, every time some basic function like that breaks for me, it turns out that updating Chrome fixes it through the magic of [guesses at technological words in attempt to sound knowledgeable] shared libraries.

I don't have Chrome installed, and Webview is up to date.

Fortunately for me, it's not a big deal. I almost never look at them anyway.

baka kaba
Jul 19, 2003

PLEASE ASK ME, THE SELF-PROFESSED NO #1 PAUL CATTERMOLE FAN IN THE SOMETHING AWFUL S-CLUB 7 MEGATHREAD, TO NAME A SINGLE SONG BY HIS EXCELLENT NU-METAL SIDE PROJECT, SKUA, AND IF I CAN'T PLEASE TELL ME TO
EAT SHIT



TheAardvark posted:

It does show it. I'm trying to figure out a way to add 6ers to it. The fact I can hit "edit" on some posts means something is reading posts in a way that will read whether or not mod buttons are active.

I assume this is going to be a huge bitch of trial and error but I want a project and even 1 week of being a single thread IK made me want it, so I bet a lot of mods would be happy.

The menu's built in PostContextMenu, if you want to add more options you can stick in a new entry in the PostMenuAction enum and then handle it in the generateMenuItems and onActionClicked methods

Depending on what the things do you'll need to implement some UI for that, if it's just like a "probe this rear end" button that fires off a request then you'll just need to create an AwfulRequest to do that (just look at one of the subclasses like VoteRequest, there's not much to it if you're just pinging the server)



The app doesn't have a concept of you being a mod or admin or whatever (since none of us are) but it knows if you have plat - the post menu thing checks that status by looking at AwfulPreferences (so it can decide whether to show the PM option - also good luck if you've never looked at that class before lol)

So it would probly make the most sense to do the same for mod options - get that info from somewhere, stick it in AwfulPreferences (it's more of a prefs and state object really), and then check it when you're deciding whether to add a mod option to a thing. I'm guessing you'll need to scrape that info from a page at some point - Jeffrey's been doing a JSON endpoint thing with a lot of useful info in one place that would be great for querying every so often and updating the app state, unfortunately the app don't work like that and I haven't had time to even look at it for a while

baka kaba
Jul 19, 2003

PLEASE ASK ME, THE SELF-PROFESSED NO #1 PAUL CATTERMOLE FAN IN THE SOMETHING AWFUL S-CLUB 7 MEGATHREAD, TO NAME A SINGLE SONG BY HIS EXCELLENT NU-METAL SIDE PROJECT, SKUA, AND IF I CAN'T PLEASE TELL ME TO
EAT SHIT



Captain Hygiene posted:

Works for me too, every time some basic function like that breaks for me, it turns out that updating Chrome fixes it through the magic of [guesses at technological words in attempt to sound knowledgeable] shared libraries.

they're actually reverting it back to a separate component again lmao

Kheldarn posted:

Meanwhile, in current app news, it's not showing me a poster's rap sheet when I select it from the 3 dot menu of a post. I just get a blank screen with the back arrow in the top left corner. Tapping that takes me to the Leper Colony page.

Interestingly, it DOES work when I try it on Jeffrey Of YOSPOS, but nobody else, including when I first tried it on the mod named Jeffrey, who I saw probated in the Tech Issues Thread.

That mod doesn't have any raps, I guess the page should probably say something like that huh...

does it work for other people?

TheAardvark
Mar 3, 2019



baka kaba posted:

The menu's built in PostContextMenu, if you want to add more options you can stick in a new entry in the PostMenuAction enum and then handle it in the generateMenuItems and onActionClicked methods

Depending on what the things do you'll need to implement some UI for that, if it's just like a "probe this rear end" button that fires off a request then you'll just need to create an AwfulRequest to do that (just look at one of the subclasses like VoteRequest, there's not much to it if you're just pinging the server)



The app doesn't have a concept of you being a mod or admin or whatever (since none of us are) but it knows if you have plat - the post menu thing checks that status by looking at AwfulPreferences (so it can decide whether to show the PM option - also good luck if you've never looked at that class before lol)

So it would probly make the most sense to do the same for mod options - get that info from somewhere, stick it in AwfulPreferences (it's more of a prefs and state object really), and then check it when you're deciding whether to add a mod option to a thing. I'm guessing you'll need to scrape that info from a page at some point - Jeffrey's been doing a JSON endpoint thing with a lot of useful info in one place that would be great for querying every so often and updating the app state, unfortunately the app don't work like that and I haven't had time to even look at it for a while

Thanks for the directions.

For extra information, here's the link the mod tool button for probation actually generates:

https://forums.somethingawful.com/m...hreadid=3923839

That in turn presents you with a page containing this form:

code:
<form action="modqueue.php" method="post">
<input type="hidden" name="userid" value="40558">
<input type="hidden" name="postid" value="504938037">
<input type="hidden" name="act" value="2">
<input type="hidden" name="action" value="submitrequest">
<div class="standard">
<h2>ModQueue Probation Request</h2>
<div class="inner">
Request an admin to put a user on probation using the form below. Probation is a warning period during which the user is not allowed to post. All fields, including reason, are required. Requests by moderators will go into a queue awaiting administrator approval. Administrators requests will be processed immediately.<br>
<br>
<hr size=1>
<table>
<tr>
<td align="right" valign="top" nowrap><b>User:</b></td>
<td>Pocket_Pool</td>
<td rowspan=3><img src="//fi.somethingawful.com/images/probation.jpg" border=0 width=100 height=100></td>
</tr>
<tr>
<td align="right" valign="top" nowrap><b>History:</b></td>
<td>None</td>
</tr>
<tr>
<td colspan=2>
<b>Block posting for:</b>
<select name="data">
<option value=1>6 hours
<option value=2>12 hours
<option value=8>18 hours
<option value=3>1 day
<option value=4>3 days
<option value=5>1 week
<option value=9>2 weeks
<option value=6>1 month
<option value=7>100,000 hours
</select>
</td>
</tr>
</table>
<hr size=1>
<b>Reason for probation:</b> (visible to <b>ALL</b> forum members!)<br>Will be used as the warning reason in Leper's Colony. <span style="color:red;font-size:11px;font-weight: bold;"><blink>PLEASE capitalize the first letter of sentences and end them with a period or something!</blink></style><br>
<textarea name="reason" rows=6 cols=50></textarea><br>
<br>
<b>Moderator Notes:</b> (optional, visible only to mods and admins!)<br>Use this to leave private notes for other mods/admins about your request.<br>
<textarea name="notes" rows=6 cols=50></textarea><br>
<br>
<hr size=1>
<input type="submit" class="bginput" name="submit" value="Submit" accesskey="s">
</div>
</div>
</form>
Out of curiosity, I built a link manually using modqueue.php and tested it on a probation:

edited to remove link so some admin or c-spam mod doesn't accidentally probe that guy

Seems to have worked... except I created a probation without a link in the Leper's Colony lol

https://forums.somethingawful.com/banlist.php

TheAardvark fucked around with this message at 20:28 on May 20, 2020

Sereri
Sep 30, 2008

awwwrigami



TheAardvark posted:


Seems to have worked... except I created a probation without a link in the Leper's Colony lol

https://forums.somethingawful.com/banlist.php

There's an extra t before the postid parameter, maybe it's that

TheAardvark
Mar 3, 2019



Sereri posted:

There's an extra t before the postid parameter, maybe it's that

thats exactly what it is, I went specifically to test it and accidentally didn't change the one thing that I was testing because I changed the post ID/poster to someone else and forgot

I then ran it again with the t removed and the link it shows in the results page for the second "Queued" probation is correct. which is interesting, I guess any second action on the same post might default to requiring admin approval? sorry admins

also that "t" is there in the link to the probation request page

baka kaba
Jul 19, 2003

PLEASE ASK ME, THE SELF-PROFESSED NO #1 PAUL CATTERMOLE FAN IN THE SOMETHING AWFUL S-CLUB 7 MEGATHREAD, TO NAME A SINGLE SONG BY HIS EXCELLENT NU-METAL SIDE PROJECT, SKUA, AND IF I CAN'T PLEASE TELL ME TO
EAT SHIT



Hmm yeah you'll need to pop up some kind of dialog fragment - at a minimum with a text box to put a reason in, and have things like the 6hr length hardcoded in the request class (just a fyi if you didn't notice, the AwfulRequest constructor defaults to GET but has an option for POST, you add the params the same way)

Ideally you'd have a proper fragment with all the options, and ideally you'd get that page, parse out all the current options like the possible lengths, and kinda dynamically generate that stuff so if it's ever changed it Just Works

e- I guess this is the kind of thing where you need to be careful because if it goes wrong there could be extreme forums drama lol

TheAardvark
Mar 3, 2019



baka kaba posted:

Hmm yeah you'll need to pop up some kind of dialog fragment - at a minimum with a text box to put a reason in, and have things like the 6hr length hardcoded in the request class (just a fyi if you didn't notice, the AwfulRequest constructor defaults to GET but has an option for POST, you add the params the same way)

Ideally you'd have a proper fragment with all the options, and ideally you'd get that page, parse out all the current options like the possible lengths, and kinda dynamically generate that stuff so if it's ever changed it Just Works

e- I guess this is the kind of thing where you need to be careful because if it goes wrong there could be extreme forums drama lol

Right. For now I want to minimize any opportunity for causing real damage by just going as minimal as possible with a pop-up and POST request sent to modqueue.php. I think the danger is pretty low that way.

Thanks for tips. be on the lookout for me accidentally probating someone ten thousand times or something

Kheldarn
Feb 17, 2011



Lipstick Apathy

baka kaba posted:

That mod doesn't have any raps, I guess the page should probably say something like that huh...

does it work for other people?

Yeah, turns out that's a Jeffery Of YOSPOS alt for testing things, so the probe was cleared.

And it now seems to be working everywhere else in the app. :radium:

Jeffrey of YOSPOS
Dec 22, 2005

GET LOSE, YOU CAN'T COMPARE WITH MY POWERS


Floss Finder

Specifically I set the account to probated from the panel instead of going through the mod queue. Sorry if that's confusing. I was testing a change to show the "probated until" time in your local time zone.

liquidplumr
Mar 22, 2006


App isn't letting me browse any more. I get a login failed error message whenever I attempt to refresh or load any content. Tried clearing memory but no dice. Any idea what might be wrong?

Mr.Radar
Nov 5, 2005

You guys aren't going to believe this, but that guy is our games teacher.


Taco Defender

Feature request: override the size of text in Twitter embeds. It looks like Twitter is rolling out a new style of embed that has much larger text than the previous style. I set my font size for threads to 12 and it looks like Twitter is somewhere around 20 or 22 which is comically large in comparison:



Ideally the font size for the body of the Tweet and display name of the Tweeter would be the same as the font size of the thread text and the other text in the Tweet would maybe be a size or two down from that.

I've also posted this as an issue on Github but I'm copying it here for visibility.

Skarsnik
Oct 21, 2008

I...AM...RUUUDE!






Slippery Tilde

They appear to have gone back to normal again for me

Mr.Radar
Nov 5, 2005

You guys aren't going to believe this, but that guy is our games teacher.


Taco Defender

Yeah, they seem to be doing A/B testing or something with this rollout. Most of the time I get the "old" style but occasionally I get the "new" style.

Captain Hygiene
Sep 17, 2007

We'll make diamonds from their ashes. Take them into battle with us.

Craft a Diamond Dog diamond?
Nah.   Let's do it!




College Slice

I noticed a new bug while I was in cat jail earlier, the app's "on probation until..." message doesn't match the one in a browser. Now it updates to the current time every time you refresh. Something to do with the changes Jeffrey made to fix the server times not too long ago I guess.

baka kaba
Jul 19, 2003

PLEASE ASK ME, THE SELF-PROFESSED NO #1 PAUL CATTERMOLE FAN IN THE SOMETHING AWFUL S-CLUB 7 MEGATHREAD, TO NAME A SINGLE SONG BY HIS EXCELLENT NU-METAL SIDE PROJECT, SKUA, AND IF I CAN'T PLEASE TELL ME TO
EAT SHIT



^^^ yeah I know there's some stuff going on with probes and times right now, I'll add an issue and we can look at it (maybe when it's finalised on the site)
thanks!

Mr.Radar posted:

Feature request: override the size of text in Twitter embeds. It looks like Twitter is rolling out a new style of embed that has much larger text than the previous style. I set my font size for threads to 12 and it looks like Twitter is somewhere around 20 or 22 which is comically large in comparison:



Ideally the font size for the body of the Tweet and display name of the Tweeter would be the same as the font size of the thread text and the other text in the Tweet would maybe be a size or two down from that.

I've also posted this as an issue on Github but I'm copying it here for visibility.

oh hey thanks for the report

I replied in there but basically, it's probably not a good idea to go messing with embedded content, just because of the added complexity and chance for things to break. As far as I'm aware there's no easy way to force a maximum font size, so it would be something like running multiple passes over the page and targetting specific elements and rewriting them - and they could change things at any time

I haven't seen the big text for a while thought, is anyone still getting it? Maybe they gave up on that idea

Bourricot
Aug 7, 2016



baka kaba posted:

I haven't seen the big text for a while thought, is anyone still getting it? Maybe they gave up on that idea

I'm getting it now.

Adbot
ADBOT LOVES YOU

shame on an IGA
Apr 8, 2005



I'm sure it's come up somewhere in the misty past pages but is there any prospect of gang tags being added in the future?

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply
«164 »